Skip to content

Commit 9754ce4

Browse files
Merge pull request #10 from sfcompute/release-please--branches--main--changes--next--components--nodes-sdk-alpha
2 parents 05d40ba + 877f3bd commit 9754ce4

File tree

7 files changed

+18
-14
lines changed

7 files changed

+18
-14
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.3"
2+
".": "0.1.0-alpha.4"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 8
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/the-san-francisco-compute-company%2Fsfc-nodes-b800806859333bacc88fa4236eae35c8cdbec62970b7fb9ad440a330f24a1622.yml
3-
openapi_spec_hash: fa672b6ca8953a8059961a7559a607a9
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/the-san-francisco-compute-company%2Fsfc-nodes-73c29dd8765024819248125163d7c3e2d7dcdae819088fd7b1c3f0db5b3b89c0.yml
3+
openapi_spec_hash: 9a1923a47f368e9262d54060fe7f2a80
44
config_hash: eef7f1ef61a018bf17b996862a8c0e01

CHANGELOG.md

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

3+
## 0.1.0-alpha.4 (2025-07-22)
4+
5+
Full Changelog: [v0.1.0-alpha.3...v0.1.0-alpha.4](https://github.com/sfcompute/nodes-typescript/compare/v0.1.0-alpha.3...v0.1.0-alpha.4)
6+
7+
### Features
8+
9+
* **api:** api update ([de2fa56](https://github.com/sfcompute/nodes-typescript/commit/de2fa56c558d50bf6daee91440ac16ae1c52de2f))
10+
311
## 0.1.0-alpha.3 (2025-07-22)
412

513
Full Changelog: [v0.1.0-alpha.2...v0.1.0-alpha.3](https://github.com/sfcompute/nodes-typescript/compare/v0.1.0-alpha.2...v0.1.0-alpha.3)

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.3",
3+
"version": "0.1.0-alpha.4",
44
"description": "The official TypeScript library for the SFC Nodes API",
55
"author": "SFC Nodes <hello@sfcompute.com>",
66
"types": "dist/index.d.ts",

src/resources/nodes.ts

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,10 @@ export interface Node {
7272

7373
name: string;
7474

75-
node: string;
76-
7775
node_type: NodeType;
7876

7977
owner: string;
8078

81-
start_at: number;
82-
8379
status: 'Pending' | 'Running' | 'Terminated' | 'Failed' | 'Unknown';
8480

8581
created_at?: number | null;
@@ -92,17 +88,17 @@ export interface Node {
9288

9389
procurement_status?: 'Uninitialized' | 'Active' | 'Ended' | 'AwaitingCapacity' | null;
9490

91+
start_at?: number | null;
92+
9593
updated_at?: number | null;
9694

9795
/**
9896
* Possible zones to choose from when creating a node.
99-
*
100-
* TODO (ENG-1976): Support dynamic zones through an endpoint.
10197
*/
102-
zone?: 'HayesValley' | null;
98+
zone?: 'hayesvalley' | null;
10399
}
104100

105-
export type NodeType = 'OnDemand' | 'Reserved';
101+
export type NodeType = 'on_demand' | 'reserved';
106102

107103
export interface UpdateNode {
108104
node: Node;

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.3'; // x-release-please-version
1+
export const VERSION = '0.1.0-alpha.4'; // x-release-please-version

tests/api-resources/nodes.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ describe('resource nodes', () => {
2727
max_price_per_hour: 1000,
2828
end_at: 1640995200,
2929
names: ['string'],
30-
node_type: 'OnDemand',
30+
node_type: 'on_demand',
3131
start_at: 1640995200,
3232
zone: 'zone',
3333
});

0 commit comments

Comments
 (0)