@epilot/file-client 1.16.0-alpha.1 → 1.16.0-alpha.3

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/dist/openapi.d.ts CHANGED
@@ -322,34 +322,34 @@ declare namespace Components {
322
322
  export type FileEntityId = string;
323
323
  export interface FileFolderAttributes {
324
324
  /**
325
- * Name of the file folder
325
+ * Name of the folder
326
326
  */
327
327
  name?: string;
328
328
  /**
329
- * Optional parent folder slug. If not provided, the folder will be created at the top level
329
+ * Array of parent folder slugs, empty array if top-level folder
330
330
  */
331
- parent?: string;
331
+ parents?: string[];
332
332
  /**
333
- * Array of file IDs in this folder
333
+ * Whether the folder is starred / favorited
334
334
  */
335
- files?: string /* uuid */[];
335
+ starred?: boolean;
336
336
  }
337
337
  /**
338
338
  * Request body for creating a file folder
339
339
  */
340
340
  export interface FileFolderCreateRequest {
341
341
  /**
342
- * Name of the file folder
342
+ * Name of the folder
343
343
  */
344
344
  name: string;
345
345
  /**
346
- * Optional parent folder slug. If not provided, the folder will be created at the top level
346
+ * Array of parent folder slugs, empty array if top-level folder
347
347
  */
348
- parent?: string;
348
+ parents?: string[];
349
349
  /**
350
- * Array of file IDs in this folder
350
+ * Whether the folder is starred / favorited
351
351
  */
352
- files?: string /* uuid */[];
352
+ starred?: boolean;
353
353
  }
354
354
  /**
355
355
  * Generated uuid for a file folder
package/dist/openapi.json CHANGED
@@ -1971,22 +1971,21 @@
1971
1971
  "properties": {
1972
1972
  "name": {
1973
1973
  "type": "string",
1974
- "description": "Name of the file folder"
1974
+ "description": "Name of the folder"
1975
1975
  },
1976
- "parent": {
1977
- "type": "string",
1978
- "description": "Optional parent folder slug. If not provided, the folder will be created at the top level"
1979
- },
1980
- "files": {
1976
+ "parents": {
1981
1977
  "type": "array",
1982
- "description": "Array of file IDs in this folder",
1978
+ "description": "Array of parent folder slugs, empty array if top-level folder",
1983
1979
  "items": {
1984
- "type": "string",
1985
- "format": "uuid"
1980
+ "type": "string"
1986
1981
  }
1982
+ },
1983
+ "starred": {
1984
+ "type": "boolean",
1985
+ "description": "Whether the folder is starred / favorited",
1986
+ "default": false
1987
1987
  }
1988
- },
1989
- "additionalProperties": false
1988
+ }
1990
1989
  },
1991
1990
  "FileFolderCreateRequest": {
1992
1991
  "description": "Request body for creating a file folder",
@@ -1996,6 +1995,7 @@
1996
1995
  },
1997
1996
  {
1998
1997
  "type": "object",
1998
+ "additionalProperties": false,
1999
1999
  "required": [
2000
2000
  "name"
2001
2001
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/file-client",
3
- "version": "1.16.0-alpha.1",
3
+ "version": "1.16.0-alpha.3",
4
4
  "description": "Client library for the epilot File API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",