@archildata/api-types 0.0.96 → 0.0.98
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 +57 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -684,6 +684,26 @@ export interface paths {
|
|
|
684
684
|
patch?: never;
|
|
685
685
|
trace?: never;
|
|
686
686
|
};
|
|
687
|
+
"/api/disks/{id}/revoke-all-delegations": {
|
|
688
|
+
parameters: {
|
|
689
|
+
query?: never;
|
|
690
|
+
header?: never;
|
|
691
|
+
path?: never;
|
|
692
|
+
cookie?: never;
|
|
693
|
+
};
|
|
694
|
+
get?: never;
|
|
695
|
+
put?: never;
|
|
696
|
+
/**
|
|
697
|
+
* Revoke all delegations
|
|
698
|
+
* @description Forcibly revokes all delegations on a disk, skipping pending delegations.
|
|
699
|
+
*/
|
|
700
|
+
post: operations["revokeAllDelegations"];
|
|
701
|
+
delete?: never;
|
|
702
|
+
options?: never;
|
|
703
|
+
head?: never;
|
|
704
|
+
patch?: never;
|
|
705
|
+
trace?: never;
|
|
706
|
+
};
|
|
687
707
|
"/api/disks/{id}/prefetch": {
|
|
688
708
|
parameters: {
|
|
689
709
|
query?: never;
|
|
@@ -3240,8 +3260,9 @@ export interface components {
|
|
|
3240
3260
|
ExecRequest: {
|
|
3241
3261
|
/**
|
|
3242
3262
|
* @description Map of relative path under `/mnt/archil` to the disk to mount
|
|
3243
|
-
* there.
|
|
3244
|
-
*
|
|
3263
|
+
* there. Relative paths must be non-empty, non-absolute, and contain
|
|
3264
|
+
* no `.` or `..` segments. Running without disks needs the
|
|
3265
|
+
* `sandbox:manage:create` permission.
|
|
3245
3266
|
*
|
|
3246
3267
|
* Each value is either a plain disk ID string (mounts the disk's
|
|
3247
3268
|
* root, read-write) or an object that additionally selects a
|
|
@@ -3262,7 +3283,7 @@ export interface components {
|
|
|
3262
3283
|
* }
|
|
3263
3284
|
* }
|
|
3264
3285
|
*/
|
|
3265
|
-
disks
|
|
3286
|
+
disks?: {
|
|
3266
3287
|
[key: string]: string | components["schemas"]["ExecMount"];
|
|
3267
3288
|
};
|
|
3268
3289
|
/**
|
|
@@ -5167,6 +5188,39 @@ export interface operations {
|
|
|
5167
5188
|
500: components["responses"]["InternalError"];
|
|
5168
5189
|
};
|
|
5169
5190
|
};
|
|
5191
|
+
revokeAllDelegations: {
|
|
5192
|
+
parameters: {
|
|
5193
|
+
query?: never;
|
|
5194
|
+
header?: never;
|
|
5195
|
+
path: {
|
|
5196
|
+
/** @description Disk ID (format `dsk-{16 hex chars}`) */
|
|
5197
|
+
id: components["parameters"]["DiskId"];
|
|
5198
|
+
};
|
|
5199
|
+
cookie?: never;
|
|
5200
|
+
};
|
|
5201
|
+
requestBody?: never;
|
|
5202
|
+
responses: {
|
|
5203
|
+
/** @description Delegations revoked */
|
|
5204
|
+
200: {
|
|
5205
|
+
headers: {
|
|
5206
|
+
[name: string]: unknown;
|
|
5207
|
+
};
|
|
5208
|
+
content: {
|
|
5209
|
+
"application/json": {
|
|
5210
|
+
success: boolean;
|
|
5211
|
+
data: {
|
|
5212
|
+
revokedCount: number;
|
|
5213
|
+
skippedPendingCount: number;
|
|
5214
|
+
};
|
|
5215
|
+
};
|
|
5216
|
+
};
|
|
5217
|
+
};
|
|
5218
|
+
400: components["responses"]["ValidationError"];
|
|
5219
|
+
401: components["responses"]["Unauthorized"];
|
|
5220
|
+
404: components["responses"]["NotFound"];
|
|
5221
|
+
500: components["responses"]["InternalError"];
|
|
5222
|
+
};
|
|
5223
|
+
};
|
|
5170
5224
|
prefetchDisk: {
|
|
5171
5225
|
parameters: {
|
|
5172
5226
|
query?: never;
|