sandbox0 0.10.6 → 0.10.7
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.
|
@@ -22,6 +22,12 @@ export interface SandboxAppServiceRuntime {
|
|
|
22
22
|
* @memberof SandboxAppServiceRuntime
|
|
23
23
|
*/
|
|
24
24
|
type: SandboxAppServiceRuntimeTypeEnum;
|
|
25
|
+
/**
|
|
26
|
+
* For type service, the ID of a different cmd service in the same sandbox whose supervised runtime is shared. References cannot override command, cwd, env_vars or function, and cannot form chains.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SandboxAppServiceRuntime
|
|
29
|
+
*/
|
|
30
|
+
serviceId?: string;
|
|
25
31
|
/**
|
|
26
32
|
* Process argv used when type is cmd.
|
|
27
33
|
* @type {Array<string>}
|
|
@@ -56,6 +62,7 @@ export declare const SandboxAppServiceRuntimeTypeEnum: {
|
|
|
56
62
|
readonly Cmd: "cmd";
|
|
57
63
|
readonly Manual: "manual";
|
|
58
64
|
readonly Function: "function";
|
|
65
|
+
readonly Service: "service";
|
|
59
66
|
};
|
|
60
67
|
export type SandboxAppServiceRuntimeTypeEnum = typeof SandboxAppServiceRuntimeTypeEnum[keyof typeof SandboxAppServiceRuntimeTypeEnum];
|
|
61
68
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxAppServiceRuntime.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxAppServiceRuntime.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAQzD;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,IAAI,EAAE,gCAAgC,CAAC;IACvC;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC;CAC/B;AAGD;;GAEG;AACH,eAAO,MAAM,gCAAgC
|
|
1
|
+
{"version":3,"file":"SandboxAppServiceRuntime.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxAppServiceRuntime.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAQzD;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,IAAI,EAAE,gCAAgC,CAAC;IACvC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC;CAC/B;AAGD;;GAEG;AACH,eAAO,MAAM,gCAAgC;;;;;CAKnC,CAAC;AACX,MAAM,MAAM,gCAAgC,GAAG,OAAO,gCAAgC,CAAC,MAAM,OAAO,gCAAgC,CAAC,CAAC;AAGtI;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,wBAAwB,CAGnG;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAavH;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAElF;AAED,wBAAgB,mCAAmC,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CActI"}
|
|
@@ -18,7 +18,8 @@ import { SandboxFunctionFromJSON, SandboxFunctionToJSON, } from './SandboxFuncti
|
|
|
18
18
|
export const SandboxAppServiceRuntimeTypeEnum = {
|
|
19
19
|
Cmd: 'cmd',
|
|
20
20
|
Manual: 'manual',
|
|
21
|
-
Function: 'function'
|
|
21
|
+
Function: 'function',
|
|
22
|
+
Service: 'service'
|
|
22
23
|
};
|
|
23
24
|
/**
|
|
24
25
|
* Check if a given object implements the SandboxAppServiceRuntime interface.
|
|
@@ -37,6 +38,7 @@ export function SandboxAppServiceRuntimeFromJSONTyped(json, ignoreDiscriminator)
|
|
|
37
38
|
}
|
|
38
39
|
return {
|
|
39
40
|
'type': json['type'],
|
|
41
|
+
'serviceId': json['service_id'] == null ? undefined : json['service_id'],
|
|
40
42
|
'command': json['command'] == null ? undefined : json['command'],
|
|
41
43
|
'cwd': json['cwd'] == null ? undefined : json['cwd'],
|
|
42
44
|
'envVars': json['env_vars'] == null ? undefined : json['env_vars'],
|
|
@@ -52,6 +54,7 @@ export function SandboxAppServiceRuntimeToJSONTyped(value, ignoreDiscriminator =
|
|
|
52
54
|
}
|
|
53
55
|
return {
|
|
54
56
|
'type': value['type'],
|
|
57
|
+
'service_id': value['serviceId'],
|
|
55
58
|
'command': value['command'],
|
|
56
59
|
'cwd': value['cwd'],
|
|
57
60
|
'env_vars': value['envVars'],
|