@openworkers/api-types 1.1.2 → 1.1.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +6 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openworkers/api-types",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "private": false,
package/types.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * Auto-generated TypeScript types from Zod schemas
3
3
  * DO NOT EDIT THIS FILE MANUALLY
4
- * Generated on: 2025-12-29T13:48:29.642Z
4
+ * Generated on: 2025-12-29T15:46:00.897Z
5
5
  * Repository: https://github.com/openworkers/openworkers-api.git
6
- * Version: 1.1.2
7
- * Build: 5950fcee0c5c74e8ee9731dd318b4899ba147c4d
6
+ * Version: 1.1.3
7
+ * Build: ec8336e879ca8f276d60d629a4dca5cda6cd79d6
8
8
  */
9
9
 
10
10
  // Global types
@@ -211,7 +211,7 @@ export type IStorageConfig = {
211
211
  id: string;
212
212
  name: string;
213
213
  desc?: (string | null) | undefined;
214
- mode: 'shared' | 'custom';
214
+ provider: 'platform' | 's3';
215
215
  bucket?: string | undefined;
216
216
  prefix?: (string | null) | undefined;
217
217
  accessKeyId?: string | undefined;
@@ -222,11 +222,11 @@ export type IStorageConfig = {
222
222
  };
223
223
 
224
224
  export type IStorageConfigCreateInput =
225
- | { name: string; desc?: string | undefined; mode: 'shared' }
225
+ | { name: string; desc?: string | undefined; provider: 'platform' }
226
226
  | {
227
227
  name: string;
228
228
  desc?: string | undefined;
229
- mode: 'custom';
229
+ provider: 's3';
230
230
  bucket: string;
231
231
  prefix?: string | undefined;
232
232
  accessKeyId: string;