@archildata/api-types 0.0.17 → 0.0.18

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 +22 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -819,6 +819,27 @@ export interface components {
819
819
  * @description Deprecated. Use AddDiskUser after creation instead. When provided, suppresses the default auto-generated token user.
820
820
  */
821
821
  authMethods?: components["schemas"]["DiskUser"][];
822
+ rootAttrs?: components["schemas"]["RootAttrs"];
823
+ };
824
+ /** @description POSIX attributes for the disk's root directory, applied when the disk is created. Lets an unprivileged process own the mount root without a post-mount `chown`. Can only be set at creation; a later `chown`/`chmod` through a mount changes the live attributes as usual. Defaults to uid 0, gid 0, mode 0755. */
825
+ RootAttrs: {
826
+ /**
827
+ * Format: int64
828
+ * @description Owner user ID of the root directory. 4294967295 (the POSIX `chown(-1)` "unchanged" sentinel) is rejected.
829
+ * @example 1000
830
+ */
831
+ uid?: number;
832
+ /**
833
+ * Format: int64
834
+ * @description Owner group ID of the root directory. 4294967295 (the POSIX `chown(-1)` "unchanged" sentinel) is rejected.
835
+ * @example 1000
836
+ */
837
+ gid?: number;
838
+ /**
839
+ * @description Permission bits of the root directory, as a plain integer. Write it as an octal literal in your client (`0o750` in JavaScript/Python = 488): the JSON number is taken at decimal face value, so sending `750` or `444` does NOT mean octal 750/444 — `444` is `0o674`. Permission bits only — setuid/setgid/sticky are rejected.
840
+ * @example 493
841
+ */
842
+ mode?: number;
822
843
  };
823
844
  MountConfig: components["schemas"]["S3Mount"] | components["schemas"]["GCSMount"] | components["schemas"]["R2Mount"] | components["schemas"]["S3CompatibleMount"] | components["schemas"]["AzureBlobMount"];
824
845
  /**
@@ -1120,6 +1141,7 @@ export interface components {
1120
1141
  * ]
1121
1142
  */
1122
1143
  capabilities?: "checkpoints"[];
1144
+ rootAttrs?: components["schemas"]["RootAttrs"];
1123
1145
  };
1124
1146
  MountResponse: {
1125
1147
  /** @description Mount identifier */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@archildata/api-types",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "description": "API types for the Archil control plane",
5
5
  "type": "module",
6
6
  "types": "index.d.ts",