@archildata/api-types 0.0.36 → 0.0.38

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 +7 -4
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -197,7 +197,8 @@ export interface paths {
197
197
  * Execute a command on a disk
198
198
  * @description Launches a container with the specified disk mounted, runs the given
199
199
  * command to completion, shuts down the container, and returns the command
200
- * result.
200
+ * result. Caller-actionable mount failures, including delegation conflicts
201
+ * and delegation queue expiry, return 400 with their safe error message.
201
202
  */
202
203
  post: operations["execDisk"];
203
204
  delete?: never;
@@ -283,7 +284,9 @@ export interface paths {
283
284
  * @description Launches a container with the supplied set of disks each mounted at its
284
285
  * own relative path under `/mnt/archil`, runs the command to completion,
285
286
  * and shuts down the container. Activation is atomic: every disk mounts
286
- * or none of them do.
287
+ * or none of them do. Caller-actionable mount failures, including
288
+ * delegation conflicts and delegation queue expiry, return 400 with their
289
+ * safe error message.
287
290
  *
288
291
  * Relative paths must be non-empty, non-absolute, and contain no `.` /
289
292
  * `..` segments. Mounting two disks at the same relative path is an
@@ -321,7 +324,7 @@ export interface paths {
321
324
  patch?: never;
322
325
  trace?: never;
323
326
  };
324
- "/api/tokens/{id}": {
327
+ "/api/tokens/{tokenId}": {
325
328
  parameters: {
326
329
  query?: never;
327
330
  header?: never;
@@ -2320,7 +2323,7 @@ export interface operations {
2320
2323
  header?: never;
2321
2324
  path: {
2322
2325
  /** @description The token ID (hash) */
2323
- id: string;
2326
+ tokenId: string;
2324
2327
  };
2325
2328
  cookie?: never;
2326
2329
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@archildata/api-types",
3
- "version": "0.0.36",
3
+ "version": "0.0.38",
4
4
  "description": "API types for the Archil control plane",
5
5
  "type": "module",
6
6
  "types": "index.d.ts",