@archildata/api-types 0.0.4 → 0.0.5
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/index.d.ts +10 -18
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -335,10 +335,11 @@ export interface paths {
|
|
|
335
335
|
put?: never;
|
|
336
336
|
/**
|
|
337
337
|
* Create a sandbox
|
|
338
|
-
* @description Provisions a sandbox VM with the requested shape and
|
|
339
|
-
*
|
|
340
|
-
* accepts the start. Set `wait=true` to hold for `running`; if
|
|
341
|
-
* budget expires, the response remains `pending` and startup
|
|
338
|
+
* @description Provisions a sandbox VM with the requested shape and a dedicated,
|
|
339
|
+
* persistent Archil disk. By default the response reports `pending` after
|
|
340
|
+
* the runtime accepts the start. Set `wait=true` to hold for `running`; if
|
|
341
|
+
* the wait budget expires, the response remains `pending` and startup
|
|
342
|
+
* continues.
|
|
342
343
|
*/
|
|
343
344
|
post: operations["createSandbox"];
|
|
344
345
|
delete?: never;
|
|
@@ -582,24 +583,15 @@ export interface components {
|
|
|
582
583
|
/** Format: date-time */
|
|
583
584
|
finished_at?: string;
|
|
584
585
|
};
|
|
585
|
-
SandboxMount: {
|
|
586
|
-
disk_id: string;
|
|
587
|
-
/** @description Mount point relative to the sandbox's archil root. May be omitted when the sandbox mounts a single disk. */
|
|
588
|
-
relative_path?: string;
|
|
589
|
-
/** @description Expose this subdirectory of the disk instead of its root */
|
|
590
|
-
subdirectory?: string;
|
|
591
|
-
/** @description Writes against the mountpoint fail with EROFS */
|
|
592
|
-
read_only?: boolean;
|
|
593
|
-
/** @description Mount in shared mode, allowing concurrent writers on other clients. Defaults to true. */
|
|
594
|
-
shared?: boolean;
|
|
595
|
-
region?: string;
|
|
596
|
-
};
|
|
597
586
|
CreateSandboxRequest: {
|
|
598
587
|
vcpu_count?: number;
|
|
599
588
|
mem_size_mib?: number;
|
|
600
589
|
kernel?: string;
|
|
601
|
-
|
|
602
|
-
|
|
590
|
+
/**
|
|
591
|
+
* @description Base image for the sandbox root. Currently only `ubuntu:26.04` is supported.
|
|
592
|
+
* @default ubuntu:26.04
|
|
593
|
+
*/
|
|
594
|
+
base_image: string;
|
|
603
595
|
port_mappings?: components["schemas"]["SandboxPortMapping"][];
|
|
604
596
|
/** @description Environment variables applied to every exec */
|
|
605
597
|
env?: {
|