@uniformdev/files 20.66.5-alpha.3 → 20.66.6-alpha.13

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/index.d.mts CHANGED
@@ -39,6 +39,8 @@ interface paths {
39
39
  metadata?: unknown;
40
40
  size: number;
41
41
  sourceId?: string;
42
+ /** Format: date-time */
43
+ expiresAt?: string;
42
44
  };
43
45
  };
44
46
  };
@@ -80,6 +82,11 @@ interface paths {
80
82
  mediaType: string;
81
83
  width?: number;
82
84
  height?: number;
85
+ /**
86
+ * Format: date-time
87
+ * @description Optional expiry time for temporary uploads. If set, and the file is not attached to an asset at that time, it will be automatically deleted.
88
+ */
89
+ expiresAt?: string;
83
90
  };
84
91
  };
85
92
  };
@@ -198,6 +205,8 @@ interface paths {
198
205
  metadata?: unknown;
199
206
  size: number;
200
207
  sourceId?: string;
208
+ /** Format: date-time */
209
+ expiresAt?: string;
201
210
  /** Format: uuid */
202
211
  deletedReplacementFileId?: string;
203
212
  };
@@ -316,6 +325,7 @@ declare class FileClient extends ApiClient {
316
325
  metadata?: unknown;
317
326
  size: number;
318
327
  sourceId?: string;
328
+ expiresAt?: string;
319
329
  deletedReplacementFileId?: string;
320
330
  }>;
321
331
  }
package/dist/index.d.ts CHANGED
@@ -39,6 +39,8 @@ interface paths {
39
39
  metadata?: unknown;
40
40
  size: number;
41
41
  sourceId?: string;
42
+ /** Format: date-time */
43
+ expiresAt?: string;
42
44
  };
43
45
  };
44
46
  };
@@ -80,6 +82,11 @@ interface paths {
80
82
  mediaType: string;
81
83
  width?: number;
82
84
  height?: number;
85
+ /**
86
+ * Format: date-time
87
+ * @description Optional expiry time for temporary uploads. If set, and the file is not attached to an asset at that time, it will be automatically deleted.
88
+ */
89
+ expiresAt?: string;
83
90
  };
84
91
  };
85
92
  };
@@ -198,6 +205,8 @@ interface paths {
198
205
  metadata?: unknown;
199
206
  size: number;
200
207
  sourceId?: string;
208
+ /** Format: date-time */
209
+ expiresAt?: string;
201
210
  /** Format: uuid */
202
211
  deletedReplacementFileId?: string;
203
212
  };
@@ -316,6 +325,7 @@ declare class FileClient extends ApiClient {
316
325
  metadata?: unknown;
317
326
  size: number;
318
327
  sourceId?: string;
328
+ expiresAt?: string;
319
329
  deletedReplacementFileId?: string;
320
330
  }>;
321
331
  }
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@uniformdev/files",
3
- "version": "20.66.5-alpha.3+b7b53292c2",
3
+ "version": "20.66.6-alpha.13+fe28111153",
4
4
  "description": "Uniform Files helpers",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.esm.js",
8
8
  "exports": {
9
+ "source": "./src/index.ts",
9
10
  "import": {
10
11
  "types": "./dist/index.d.ts",
11
12
  "node": "./dist/index.mjs",
@@ -34,7 +35,7 @@
34
35
  "access": "public"
35
36
  },
36
37
  "dependencies": {
37
- "@uniformdev/context": "20.66.5-alpha.3+b7b53292c2"
38
+ "@uniformdev/context": "20.66.6-alpha.13+fe28111153"
38
39
  },
39
- "gitHead": "b7b53292c2920fc1b21e12c2f8aafc38f39b3ff3"
40
+ "gitHead": "fe28111153c9c1db9a7025cc18512fc4239c2b5c"
40
41
  }