File tree Expand file tree Collapse file tree 3 files changed +7
-11
lines changed
Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 11configured_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
44config_hash : eef7f1ef61a018bf17b996862a8c0e01
Original file line number Diff line number Diff 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
107103export interface UpdateNode {
108104 node : Node ;
Original file line number Diff line number Diff 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 } ) ;
You can’t perform that action at this time.
0 commit comments