@scaleway/sdk-datalab 1.8.0 → 1.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,19 @@
1
+ import type { DatalabStatus, ListClusterVersionsRequestOrderBy, ListDatalabsRequestOrderBy, ListNodeTypesRequestOrderBy, ListNodeTypesRequestResourceType, ListNotebookVersionsRequestOrderBy, NodeTypeStock, NodeTypeTarget, VolumeType } from './types.gen.js';
2
+ /** Lists all values of the enum {@link DatalabStatus}. */
3
+ export declare const DATALAB_STATUSES: DatalabStatus[];
4
+ /** Lists all values of the enum {@link ListClusterVersionsRequestOrderBy}. */
5
+ export declare const LIST_CLUSTER_VERSIONS_REQUEST_ORDER_BIES: ListClusterVersionsRequestOrderBy[];
6
+ /** Lists all values of the enum {@link ListDatalabsRequestOrderBy}. */
7
+ export declare const LIST_DATALABS_REQUEST_ORDER_BIES: ListDatalabsRequestOrderBy[];
8
+ /** Lists all values of the enum {@link ListNodeTypesRequestOrderBy}. */
9
+ export declare const LIST_NODE_TYPES_REQUEST_ORDER_BIES: ListNodeTypesRequestOrderBy[];
10
+ /** Lists all values of the enum {@link ListNodeTypesRequestResourceType}. */
11
+ export declare const LIST_NODE_TYPES_REQUEST_RESOURCE_TYPES: ListNodeTypesRequestResourceType[];
12
+ /** Lists all values of the enum {@link ListNotebookVersionsRequestOrderBy}. */
13
+ export declare const LIST_NOTEBOOK_VERSIONS_REQUEST_ORDER_BIES: ListNotebookVersionsRequestOrderBy[];
14
+ /** Lists all values of the enum {@link NodeTypeStock}. */
15
+ export declare const NODE_TYPE_STOCKS: NodeTypeStock[];
16
+ /** Lists all values of the enum {@link NodeTypeTarget}. */
17
+ export declare const NODE_TYPE_TARGETS: NodeTypeTarget[];
18
+ /** Lists all values of the enum {@link VolumeType}. */
19
+ export declare const VOLUME_TYPES: VolumeType[];
@@ -0,0 +1,61 @@
1
+ //#region src/v1beta1/constants.gen.ts
2
+ /** Lists all values of the enum {@link DatalabStatus}. */
3
+ const DATALAB_STATUSES = [
4
+ "unknown_status",
5
+ "creating",
6
+ "updating",
7
+ "ready",
8
+ "error",
9
+ "deleting",
10
+ "locked",
11
+ "deleted"
12
+ ];
13
+ /** Lists all values of the enum {@link ListClusterVersionsRequestOrderBy}. */
14
+ const LIST_CLUSTER_VERSIONS_REQUEST_ORDER_BIES = ["name_asc", "name_desc"];
15
+ /** Lists all values of the enum {@link ListDatalabsRequestOrderBy}. */
16
+ const LIST_DATALABS_REQUEST_ORDER_BIES = [
17
+ "name_asc",
18
+ "name_desc",
19
+ "created_at_asc",
20
+ "created_at_desc",
21
+ "updated_at_asc",
22
+ "updated_at_desc"
23
+ ];
24
+ /** Lists all values of the enum {@link ListNodeTypesRequestOrderBy}. */
25
+ const LIST_NODE_TYPES_REQUEST_ORDER_BIES = [
26
+ "name_asc",
27
+ "name_desc",
28
+ "vcpus_asc",
29
+ "vcpus_desc",
30
+ "memory_gigabytes_asc",
31
+ "memory_gigabytes_desc",
32
+ "vram_bytes_asc",
33
+ "vram_bytes_desc",
34
+ "gpus_asc",
35
+ "gpus_desc"
36
+ ];
37
+ /** Lists all values of the enum {@link ListNodeTypesRequestResourceType}. */
38
+ const LIST_NODE_TYPES_REQUEST_RESOURCE_TYPES = [
39
+ "all",
40
+ "gpu",
41
+ "cpu"
42
+ ];
43
+ /** Lists all values of the enum {@link ListNotebookVersionsRequestOrderBy}. */
44
+ const LIST_NOTEBOOK_VERSIONS_REQUEST_ORDER_BIES = ["name_asc", "name_desc"];
45
+ /** Lists all values of the enum {@link NodeTypeStock}. */
46
+ const NODE_TYPE_STOCKS = [
47
+ "unknown_stock",
48
+ "low_stock",
49
+ "out_of_stock",
50
+ "available"
51
+ ];
52
+ /** Lists all values of the enum {@link NodeTypeTarget}. */
53
+ const NODE_TYPE_TARGETS = [
54
+ "unknown_target",
55
+ "notebook",
56
+ "worker"
57
+ ];
58
+ /** Lists all values of the enum {@link VolumeType}. */
59
+ const VOLUME_TYPES = ["unknown_type", "sbs_5k"];
60
+ //#endregion
61
+ export { DATALAB_STATUSES, LIST_CLUSTER_VERSIONS_REQUEST_ORDER_BIES, LIST_DATALABS_REQUEST_ORDER_BIES, LIST_NODE_TYPES_REQUEST_ORDER_BIES, LIST_NODE_TYPES_REQUEST_RESOURCE_TYPES, LIST_NOTEBOOK_VERSIONS_REQUEST_ORDER_BIES, NODE_TYPE_STOCKS, NODE_TYPE_TARGETS, VOLUME_TYPES };
@@ -1,5 +1,6 @@
1
1
  export { API, } from './api.gen.js';
2
2
  export * from './content.gen.js';
3
+ export * from './constants.gen.js';
3
4
  export * from './marshalling.gen.js';
4
5
  export type { Cluster, ClusterVersion, CreateDatalabRequest, CreateDatalabRequestSparkMain, CreateDatalabRequestSparkWorker, Datalab, DatalabSparkMain, DatalabSparkWorker, DatalabStatus, DeleteDatalabRequest, GetDatalabRequest, ListClusterVersionsRequest, ListClusterVersionsRequestOrderBy, ListClusterVersionsResponse, ListDatalabsRequest, ListDatalabsRequestOrderBy, ListDatalabsResponse, ListNodeTypesRequest, ListNodeTypesRequestOrderBy, ListNodeTypesRequestResourceType, ListNodeTypesResponse, ListNotebookVersionsRequest, ListNotebookVersionsRequestOrderBy, ListNotebookVersionsResponse, NodeType, NodeTypeStock, NodeTypeTarget, Notebook, NotebookVersion, UpdateDatalabRequest, Volume, VolumeType, } from './types.gen.js';
5
6
  export * as ValidationRules from './validation-rules.gen.js';
@@ -2,11 +2,21 @@ import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
2
  import { DATALAB_TRANSIENT_STATUSES } from "./content.gen.js";
3
3
  import { marshalCreateDatalabRequest, marshalUpdateDatalabRequest, unmarshalDatalab, unmarshalListClusterVersionsResponse, unmarshalListDatalabsResponse, unmarshalListNodeTypesResponse, unmarshalListNotebookVersionsResponse } from "./marshalling.gen.js";
4
4
  import { API } from "./api.gen.js";
5
+ import { DATALAB_STATUSES, LIST_CLUSTER_VERSIONS_REQUEST_ORDER_BIES, LIST_DATALABS_REQUEST_ORDER_BIES, LIST_NODE_TYPES_REQUEST_ORDER_BIES, LIST_NODE_TYPES_REQUEST_RESOURCE_TYPES, LIST_NOTEBOOK_VERSIONS_REQUEST_ORDER_BIES, NODE_TYPE_STOCKS, NODE_TYPE_TARGETS, VOLUME_TYPES } from "./constants.gen.js";
5
6
  import { validation_rules_gen_exports } from "./validation-rules.gen.js";
6
7
  //#region src/v1beta1/index.gen.ts
7
8
  var index_gen_exports = /* @__PURE__ */ __exportAll({
8
9
  API: () => API,
10
+ DATALAB_STATUSES: () => DATALAB_STATUSES,
9
11
  DATALAB_TRANSIENT_STATUSES: () => DATALAB_TRANSIENT_STATUSES,
12
+ LIST_CLUSTER_VERSIONS_REQUEST_ORDER_BIES: () => LIST_CLUSTER_VERSIONS_REQUEST_ORDER_BIES,
13
+ LIST_DATALABS_REQUEST_ORDER_BIES: () => LIST_DATALABS_REQUEST_ORDER_BIES,
14
+ LIST_NODE_TYPES_REQUEST_ORDER_BIES: () => LIST_NODE_TYPES_REQUEST_ORDER_BIES,
15
+ LIST_NODE_TYPES_REQUEST_RESOURCE_TYPES: () => LIST_NODE_TYPES_REQUEST_RESOURCE_TYPES,
16
+ LIST_NOTEBOOK_VERSIONS_REQUEST_ORDER_BIES: () => LIST_NOTEBOOK_VERSIONS_REQUEST_ORDER_BIES,
17
+ NODE_TYPE_STOCKS: () => NODE_TYPE_STOCKS,
18
+ NODE_TYPE_TARGETS: () => NODE_TYPE_TARGETS,
19
+ VOLUME_TYPES: () => VOLUME_TYPES,
10
20
  ValidationRules: () => validation_rules_gen_exports,
11
21
  marshalCreateDatalabRequest: () => marshalCreateDatalabRequest,
12
22
  marshalUpdateDatalabRequest: () => marshalUpdateDatalabRequest,
@@ -17,4 +27,4 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
17
27
  unmarshalListNotebookVersionsResponse: () => unmarshalListNotebookVersionsResponse
18
28
  });
19
29
  //#endregion
20
- export { API, DATALAB_TRANSIENT_STATUSES, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalCreateDatalabRequest, marshalUpdateDatalabRequest, unmarshalDatalab, unmarshalListClusterVersionsResponse, unmarshalListDatalabsResponse, unmarshalListNodeTypesResponse, unmarshalListNotebookVersionsResponse };
30
+ export { API, DATALAB_STATUSES, DATALAB_TRANSIENT_STATUSES, LIST_CLUSTER_VERSIONS_REQUEST_ORDER_BIES, LIST_DATALABS_REQUEST_ORDER_BIES, LIST_NODE_TYPES_REQUEST_ORDER_BIES, LIST_NODE_TYPES_REQUEST_RESOURCE_TYPES, LIST_NOTEBOOK_VERSIONS_REQUEST_ORDER_BIES, NODE_TYPE_STOCKS, NODE_TYPE_TARGETS, VOLUME_TYPES, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalCreateDatalabRequest, marshalUpdateDatalabRequest, unmarshalDatalab, unmarshalListClusterVersionsResponse, unmarshalListDatalabsResponse, unmarshalListNodeTypesResponse, unmarshalListNotebookVersionsResponse };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-datalab",
3
- "version": "1.8.0",
3
+ "version": "1.9.1",
4
4
  "description": "Scaleway SDK datalab",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -33,14 +33,14 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@scaleway/random-name": "6.0.2",
36
- "@scaleway/sdk-std": "2.6.0"
36
+ "@scaleway/sdk-std": "2.7.1"
37
37
  },
38
38
  "devDependencies": {
39
- "@repo/configs": "^0.1.1",
40
- "@scaleway/sdk-client": "^2.6.0"
39
+ "@scaleway/sdk-client": "^2.7.0",
40
+ "@repo/configs": "^0.1.1"
41
41
  },
42
42
  "peerDependencies": {
43
- "@scaleway/sdk-client": "^2.6.0"
43
+ "@scaleway/sdk-client": "^2.7.0"
44
44
  },
45
45
  "engines": {
46
46
  "node": ">=20.20.2"