@daytonaio/api-client 0.184.0 → 0.186.0
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/package.json +1 -1
- package/src/models/create-sandbox-snapshot.d.ts +4 -0
- package/src/models/runner-class.d.ts +1 -2
- package/src/models/runner-class.js +1 -2
- package/src/models/runner-class.js.map +1 -1
- package/src/models/runner-full.d.ts +2 -1
- package/src/models/runner.d.ts +2 -1
- package/src/models/sandbox-list-item.d.ts +2 -10
- package/src/models/sandbox-list-item.js +1 -8
- package/src/models/sandbox-list-item.js.map +1 -1
- package/src/models/sandbox-volume.d.ts +1 -1
package/package.json
CHANGED
|
@@ -14,4 +14,8 @@ export interface CreateSandboxSnapshot {
|
|
|
14
14
|
* Name for the new snapshot
|
|
15
15
|
*/
|
|
16
16
|
'name': string;
|
|
17
|
+
/**
|
|
18
|
+
* Include the VM\'s memory in the snapshot. VM sandboxes only. When true the sandbox must be STARTED; when false (default) VM sandboxes must be STOPPED. Container sandboxes do not support memory snapshots.
|
|
19
|
+
*/
|
|
20
|
+
'includeMemory'?: boolean;
|
|
17
21
|
}
|
|
@@ -10,11 +10,10 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* The class of the runner
|
|
13
|
+
* The class of the runner. Deprecated and always returns \"container\" for backward compatibility - use sandboxClass instead.
|
|
14
14
|
*/
|
|
15
15
|
export declare const RunnerClass: {
|
|
16
16
|
readonly CONTAINER: "container";
|
|
17
|
-
readonly VM: "vm";
|
|
18
17
|
readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
|
|
19
18
|
};
|
|
20
19
|
export type RunnerClass = typeof RunnerClass[keyof typeof RunnerClass];
|
|
@@ -15,11 +15,10 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.RunnerClass = void 0;
|
|
17
17
|
/**
|
|
18
|
-
* The class of the runner
|
|
18
|
+
* The class of the runner. Deprecated and always returns \"container\" for backward compatibility - use sandboxClass instead.
|
|
19
19
|
*/
|
|
20
20
|
exports.RunnerClass = {
|
|
21
21
|
CONTAINER: 'container',
|
|
22
|
-
VM: 'vm',
|
|
23
22
|
UNKNOWN_DEFAULT_OPEN_API: '11184809',
|
|
24
23
|
};
|
|
25
24
|
//# sourceMappingURL=runner-class.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runner-class.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/runner-class.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;GAEG;AAEU,QAAA,WAAW,GAAG;IACvB,SAAS,EAAE,WAAW;IACtB,
|
|
1
|
+
{"version":3,"file":"runner-class.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/runner-class.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;GAEG;AAEU,QAAA,WAAW,GAAG;IACvB,SAAS,EAAE,WAAW;IACtB,wBAAwB,EAAE,UAAU;CAC9B,CAAC"}
|
|
@@ -133,7 +133,8 @@ export interface RunnerFull {
|
|
|
133
133
|
*/
|
|
134
134
|
'apiVersion': string;
|
|
135
135
|
/**
|
|
136
|
-
* The class of the runner
|
|
136
|
+
* The class of the runner. Deprecated and always returns \"container\" for backward compatibility - use sandboxClass instead.
|
|
137
|
+
* @deprecated
|
|
137
138
|
*/
|
|
138
139
|
'runnerClass': RunnerClass;
|
|
139
140
|
/**
|
package/src/models/runner.d.ts
CHANGED
|
@@ -132,7 +132,8 @@ export interface Runner {
|
|
|
132
132
|
*/
|
|
133
133
|
'apiVersion': string;
|
|
134
134
|
/**
|
|
135
|
-
* The class of the runner
|
|
135
|
+
* The class of the runner. Deprecated and always returns \"container\" for backward compatibility - use sandboxClass instead.
|
|
136
|
+
* @deprecated
|
|
136
137
|
*/
|
|
137
138
|
'runnerClass': RunnerClass;
|
|
138
139
|
/**
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { GpuType } from './gpu-type';
|
|
13
|
+
import type { SandboxClass } from './sandbox-class';
|
|
13
14
|
import type { SandboxDesiredState } from './sandbox-desired-state';
|
|
14
15
|
import type { SandboxState } from './sandbox-state';
|
|
15
16
|
export interface SandboxListItem {
|
|
@@ -35,9 +36,8 @@ export interface SandboxListItem {
|
|
|
35
36
|
'runnerId'?: string;
|
|
36
37
|
/**
|
|
37
38
|
* The class of the sandbox
|
|
38
|
-
* @deprecated
|
|
39
39
|
*/
|
|
40
|
-
'sandboxClass'?:
|
|
40
|
+
'sandboxClass'?: SandboxClass;
|
|
41
41
|
/**
|
|
42
42
|
* The state of the sandbox
|
|
43
43
|
*/
|
|
@@ -129,14 +129,6 @@ export interface SandboxListItem {
|
|
|
129
129
|
*/
|
|
130
130
|
'toolboxProxyUrl': string;
|
|
131
131
|
}
|
|
132
|
-
export declare const SandboxListItemSandboxClassEnum: {
|
|
133
|
-
readonly LINUX_VM: "linux-vm";
|
|
134
|
-
readonly CONTAINER: "container";
|
|
135
|
-
readonly ANDROID: "android";
|
|
136
|
-
readonly WINDOWS: "windows";
|
|
137
|
-
readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
|
|
138
|
-
};
|
|
139
|
-
export type SandboxListItemSandboxClassEnum = typeof SandboxListItemSandboxClassEnum[keyof typeof SandboxListItemSandboxClassEnum];
|
|
140
132
|
export declare const SandboxListItemBackupStateEnum: {
|
|
141
133
|
readonly NONE: "None";
|
|
142
134
|
readonly PENDING: "Pending";
|
|
@@ -13,14 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.SandboxListItemBackupStateEnum =
|
|
17
|
-
exports.SandboxListItemSandboxClassEnum = {
|
|
18
|
-
LINUX_VM: 'linux-vm',
|
|
19
|
-
CONTAINER: 'container',
|
|
20
|
-
ANDROID: 'android',
|
|
21
|
-
WINDOWS: 'windows',
|
|
22
|
-
UNKNOWN_DEFAULT_OPEN_API: '11184809',
|
|
23
|
-
};
|
|
16
|
+
exports.SandboxListItemBackupStateEnum = void 0;
|
|
24
17
|
exports.SandboxListItemBackupStateEnum = {
|
|
25
18
|
NONE: 'None',
|
|
26
19
|
PENDING: 'Pending',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sandbox-list-item.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/sandbox-list-item.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"sandbox-list-item.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/sandbox-list-item.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAmIU,QAAA,8BAA8B,GAAG;IAC1C,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,YAAY;IACzB,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,OAAO;IACd,wBAAwB,EAAE,UAAU;CAC9B,CAAC"}
|