@archildata/api-types 0.0.92 → 0.0.93

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.
Files changed (2) hide show
  1. package/index.d.ts +8 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -2185,6 +2185,7 @@ export interface components {
2185
2185
  sandbox_id: string;
2186
2186
  /** @description Sandbox name. */
2187
2187
  name: string;
2188
+ labels?: components["schemas"]["SandboxLabels"];
2188
2189
  status: components["schemas"]["SandboxState"];
2189
2190
  vcpu_count: number;
2190
2191
  mem_size_mib: number;
@@ -2229,6 +2230,10 @@ export interface components {
2229
2230
  */
2230
2231
  checkpoint?: string;
2231
2232
  };
2233
+ /** @description Key-value labels set when the sandbox is created or forked, for finding it later. Keys and values are 1-63 letters, numbers, `.`, `_`, or `-`; keys starting with `archil.`, in any case, are reserved. */
2234
+ SandboxLabels: {
2235
+ [key: string]: string;
2236
+ };
2232
2237
  SandboxMount: {
2233
2238
  disk_id: string;
2234
2239
  /** @description Absolute guest directory to mount at. Required when more than one disk is mounted; a sole mount defaults to /mnt/archil. Guest system directories (/usr, /etc, /var, /opt, ...) are reserved, and a disk can be mounted once per sandbox. */
@@ -2453,6 +2458,7 @@ export interface components {
2453
2458
  env?: {
2454
2459
  [key: string]: string;
2455
2460
  };
2461
+ labels?: components["schemas"]["SandboxLabels"];
2456
2462
  network?: components["schemas"]["SandboxNetwork"];
2457
2463
  /** @description Archil disks mounted inside the guest for the first session; `start` can replace them for later sessions. Inherited by forks. A sandbox with mounts must be stopped before it can be forked. */
2458
2464
  mounts?: components["schemas"]["SandboxMount"][];
@@ -2481,6 +2487,8 @@ export interface components {
2481
2487
  ForkSandboxRequest: {
2482
2488
  /** @description Name for the fork. A random word-list name is generated when omitted. */
2483
2489
  name?: string;
2490
+ /** @description Labels for the fork. Omit to keep the source's labels; an empty object clears them. */
2491
+ labels?: components["schemas"]["SandboxLabels"];
2484
2492
  /**
2485
2493
  * @description Fork this checkpoint of the source, as returned by pause, stop, or
2486
2494
  * describe, instead of the source's live state. The source is neither
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@archildata/api-types",
3
- "version": "0.0.92",
3
+ "version": "0.0.93",
4
4
  "description": "Public API types for Archil",
5
5
  "type": "module",
6
6
  "types": "index.d.ts",