@cirrobio/api-client 0.12.3 → 0.12.4
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.
- package/README.md +1 -1
- package/dist/esm/models/EntityType.d.ts +1 -0
- package/dist/esm/models/EntityType.js +1 -0
- package/dist/esm/models/WorkspaceInput.d.ts +6 -0
- package/dist/esm/models/WorkspaceInput.js +2 -0
- package/dist/models/EntityType.d.ts +1 -0
- package/dist/models/EntityType.js +1 -0
- package/dist/models/WorkspaceInput.d.ts +6 -0
- package/dist/models/WorkspaceInput.js +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,6 +25,7 @@ export var EntityType;
|
|
|
25
25
|
EntityType["Process"] = "PROCESS";
|
|
26
26
|
EntityType["Reference"] = "REFERENCE";
|
|
27
27
|
EntityType["Notebook"] = "NOTEBOOK";
|
|
28
|
+
EntityType["Workspace"] = "WORKSPACE";
|
|
28
29
|
EntityType["Sample"] = "SAMPLE";
|
|
29
30
|
EntityType["Share"] = "SHARE";
|
|
30
31
|
EntityType["Tag"] = "TAG";
|
|
@@ -54,6 +54,12 @@ export interface WorkspaceInput {
|
|
|
54
54
|
* @memberof WorkspaceInput
|
|
55
55
|
*/
|
|
56
56
|
sharingType: SharingType;
|
|
57
|
+
/**
|
|
58
|
+
* Time period (in hours) to automatically stop the workspace if running
|
|
59
|
+
* @type {number}
|
|
60
|
+
* @memberof WorkspaceInput
|
|
61
|
+
*/
|
|
62
|
+
autoStopTimeout?: number | null;
|
|
57
63
|
}
|
|
58
64
|
/**
|
|
59
65
|
* Check if a given object implements the WorkspaceInput interface.
|
|
@@ -40,6 +40,7 @@ export function WorkspaceInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'environmentId': !exists(json, 'environmentId') ? undefined : json['environmentId'],
|
|
41
41
|
'computeConfig': WorkspaceComputeConfigFromJSON(json['computeConfig']),
|
|
42
42
|
'sharingType': SharingTypeFromJSON(json['sharingType']),
|
|
43
|
+
'autoStopTimeout': !exists(json, 'autoStopTimeout') ? undefined : json['autoStopTimeout'],
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
46
|
export function WorkspaceInputToJSON(value) {
|
|
@@ -56,5 +57,6 @@ export function WorkspaceInputToJSON(value) {
|
|
|
56
57
|
'environmentId': value.environmentId,
|
|
57
58
|
'computeConfig': WorkspaceComputeConfigToJSON(value.computeConfig),
|
|
58
59
|
'sharingType': SharingTypeToJSON(value.sharingType),
|
|
60
|
+
'autoStopTimeout': value.autoStopTimeout,
|
|
59
61
|
};
|
|
60
62
|
}
|
|
@@ -28,6 +28,7 @@ var EntityType;
|
|
|
28
28
|
EntityType["Process"] = "PROCESS";
|
|
29
29
|
EntityType["Reference"] = "REFERENCE";
|
|
30
30
|
EntityType["Notebook"] = "NOTEBOOK";
|
|
31
|
+
EntityType["Workspace"] = "WORKSPACE";
|
|
31
32
|
EntityType["Sample"] = "SAMPLE";
|
|
32
33
|
EntityType["Share"] = "SHARE";
|
|
33
34
|
EntityType["Tag"] = "TAG";
|
|
@@ -54,6 +54,12 @@ export interface WorkspaceInput {
|
|
|
54
54
|
* @memberof WorkspaceInput
|
|
55
55
|
*/
|
|
56
56
|
sharingType: SharingType;
|
|
57
|
+
/**
|
|
58
|
+
* Time period (in hours) to automatically stop the workspace if running
|
|
59
|
+
* @type {number}
|
|
60
|
+
* @memberof WorkspaceInput
|
|
61
|
+
*/
|
|
62
|
+
autoStopTimeout?: number | null;
|
|
57
63
|
}
|
|
58
64
|
/**
|
|
59
65
|
* Check if a given object implements the WorkspaceInput interface.
|
|
@@ -45,6 +45,7 @@ function WorkspaceInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
'environmentId': !(0, runtime_1.exists)(json, 'environmentId') ? undefined : json['environmentId'],
|
|
46
46
|
'computeConfig': (0, WorkspaceComputeConfig_1.WorkspaceComputeConfigFromJSON)(json['computeConfig']),
|
|
47
47
|
'sharingType': (0, SharingType_1.SharingTypeFromJSON)(json['sharingType']),
|
|
48
|
+
'autoStopTimeout': !(0, runtime_1.exists)(json, 'autoStopTimeout') ? undefined : json['autoStopTimeout'],
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
51
|
exports.WorkspaceInputFromJSONTyped = WorkspaceInputFromJSONTyped;
|
|
@@ -62,6 +63,7 @@ function WorkspaceInputToJSON(value) {
|
|
|
62
63
|
'environmentId': value.environmentId,
|
|
63
64
|
'computeConfig': (0, WorkspaceComputeConfig_1.WorkspaceComputeConfigToJSON)(value.computeConfig),
|
|
64
65
|
'sharingType': (0, SharingType_1.SharingTypeToJSON)(value.sharingType),
|
|
66
|
+
'autoStopTimeout': value.autoStopTimeout,
|
|
65
67
|
};
|
|
66
68
|
}
|
|
67
69
|
exports.WorkspaceInputToJSON = WorkspaceInputToJSON;
|