Skip to content

Commit 16a7822

Browse files
release: 0.1.0-alpha.15 (#26)
Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 6a040a5 commit 16a7822

File tree

8 files changed

+35
-5
lines changed

8 files changed

+35
-5
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.1.0-alpha.14"
2+
".": "0.1.0-alpha.15"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 11
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/the-san-francisco-compute-company%2Fsfc-nodes-d5d15d4df56a6c1e77d55525d24d75df3c5ab585819f9be1c26a03a380ff839d.yml
3-
openapi_spec_hash: f7147fc2c5803781aedef7f290085690
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/the-san-francisco-compute-company%2Fsfc-nodes-feb1170aeff2603be5b81d5e47a3687b0c4374d6383f159a4e7600ae82006215.yml
3+
openapi_spec_hash: adefd0c6fbc8ed30486a87b110e03d34
44
config_hash: f29ebc32a45fc14e903cc9881565fcd2

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 0.1.0-alpha.15 (2025-09-12)
4+
5+
Full Changelog: [v0.1.0-alpha.14...v0.1.0-alpha.15](https://github.com/sfcompute/nodes-typescript/compare/v0.1.0-alpha.14...v0.1.0-alpha.15)
6+
7+
### Features
8+
9+
* **api:** api update ([609a443](https://github.com/sfcompute/nodes-typescript/commit/609a443f37cf3a11c600e0817f2e83d9f8799778))
10+
* **api:** api update ([3d9908e](https://github.com/sfcompute/nodes-typescript/commit/3d9908efddd84293e2fcfe7b26e7b3ad86464b40))
11+
312
## 0.1.0-alpha.14 (2025-09-10)
413

514
Full Changelog: [v0.1.0-alpha.13...v0.1.0-alpha.14](https://github.com/sfcompute/nodes-typescript/compare/v0.1.0-alpha.13...v0.1.0-alpha.14)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sfcompute/nodes-sdk-alpha",
3-
"version": "0.1.0-alpha.14",
3+
"version": "0.1.0-alpha.15",
44
"description": "The official TypeScript library for the SFC Nodes API",
55
"author": "SFC Nodes <[email protected]>",
66
"types": "dist/index.d.ts",

src/resources/nodes.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@ export interface CreateNodesRequest {
105105
*/
106106
end_at?: number | null;
107107

108+
/**
109+
* Custom image ID to use for the VM instances
110+
*/
111+
image_id?: string;
112+
108113
/**
109114
* Custom node names. Names cannot follow the vm\_{alpha_numeric_chars} as this is
110115
* reserved for system-generated IDs. Names cannot be numeric strings.
@@ -384,6 +389,11 @@ export interface NodeCreateParams {
384389
*/
385390
end_at?: number | null;
386391

392+
/**
393+
* Custom image ID to use for the VM instances
394+
*/
395+
image_id?: string;
396+
387397
/**
388398
* Custom node names. Names cannot follow the vm\_{alpha_numeric_chars} as this is
389399
* reserved for system-generated IDs. Names cannot be numeric strings.

src/resources/vms/images.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ export namespace ImageListResponse {
5858
* Upload status of the image
5959
*/
6060
upload_status: string;
61+
62+
/**
63+
* SHA256 hash of the image file for integrity verification
64+
*/
65+
sha256_hash?: string | null;
6166
}
6267
}
6368

@@ -86,6 +91,11 @@ export interface ImageGetResponse {
8691
name: string;
8792

8893
object: 'image';
94+
95+
/**
96+
* SHA256 hash of the image file for integrity verification
97+
*/
98+
sha256_hash: string;
8999
}
90100

91101
export declare namespace Images {

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '0.1.0-alpha.14'; // x-release-please-version
1+
export const VERSION = '0.1.0-alpha.15'; // x-release-please-version

tests/api-resources/nodes.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ describe('resource nodes', () => {
3232
zone: 'hayesvalley',
3333
cloud_init_user_data: [0],
3434
end_at: 0,
35+
image_id: 'vmi_1234567890abcdef',
3536
names: ['cuda-crunch'],
3637
node_type: 'autoreserved',
3738
start_at: 1640995200,

0 commit comments

Comments
 (0)