@openworkers/api-types 1.1.2 → 1.1.4
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/package.json +1 -1
- package/types.d.ts +25 -9
package/package.json
CHANGED
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-
|
|
4
|
+
* Generated on: 2025-12-30T00:04:08.646Z
|
|
5
5
|
* Repository: https://github.com/openworkers/openworkers-api.git
|
|
6
|
-
* Version: 1.1.
|
|
7
|
-
* Build:
|
|
6
|
+
* Version: 1.1.4
|
|
7
|
+
* Build: 2a8bb9949da002301aee65d23239e469a1f9d928
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
// Global types
|
|
@@ -67,7 +67,7 @@ export type IEnvironmentValue = {
|
|
|
67
67
|
id: string;
|
|
68
68
|
key: string;
|
|
69
69
|
value: string;
|
|
70
|
-
type: 'var' | 'secret' | 'assets' | 'storage' | 'kv' | 'database';
|
|
70
|
+
type: 'var' | 'secret' | 'assets' | 'storage' | 'kv' | 'database' | 'worker';
|
|
71
71
|
};
|
|
72
72
|
|
|
73
73
|
export type IEnvironmentValueUpdateInput =
|
|
@@ -76,7 +76,15 @@ export type IEnvironmentValueUpdateInput =
|
|
|
76
76
|
key?: string | undefined;
|
|
77
77
|
value?: (string | null) | undefined;
|
|
78
78
|
type?:
|
|
79
|
-
| (
|
|
79
|
+
| (
|
|
80
|
+
| 'var'
|
|
81
|
+
| 'secret'
|
|
82
|
+
| 'assets'
|
|
83
|
+
| 'storage'
|
|
84
|
+
| 'kv'
|
|
85
|
+
| 'database'
|
|
86
|
+
| 'worker'
|
|
87
|
+
)
|
|
80
88
|
| undefined;
|
|
81
89
|
}
|
|
82
90
|
| {
|
|
@@ -84,7 +92,15 @@ export type IEnvironmentValueUpdateInput =
|
|
|
84
92
|
key: string;
|
|
85
93
|
value: string;
|
|
86
94
|
type:
|
|
87
|
-
| (
|
|
95
|
+
| (
|
|
96
|
+
| 'var'
|
|
97
|
+
| 'secret'
|
|
98
|
+
| 'assets'
|
|
99
|
+
| 'storage'
|
|
100
|
+
| 'kv'
|
|
101
|
+
| 'database'
|
|
102
|
+
| 'worker'
|
|
103
|
+
)
|
|
88
104
|
| undefined;
|
|
89
105
|
};
|
|
90
106
|
|
|
@@ -211,7 +227,7 @@ export type IStorageConfig = {
|
|
|
211
227
|
id: string;
|
|
212
228
|
name: string;
|
|
213
229
|
desc?: (string | null) | undefined;
|
|
214
|
-
|
|
230
|
+
provider: 'platform' | 's3';
|
|
215
231
|
bucket?: string | undefined;
|
|
216
232
|
prefix?: (string | null) | undefined;
|
|
217
233
|
accessKeyId?: string | undefined;
|
|
@@ -222,11 +238,11 @@ export type IStorageConfig = {
|
|
|
222
238
|
};
|
|
223
239
|
|
|
224
240
|
export type IStorageConfigCreateInput =
|
|
225
|
-
| { name: string; desc?: string | undefined;
|
|
241
|
+
| { name: string; desc?: string | undefined; provider: 'platform' }
|
|
226
242
|
| {
|
|
227
243
|
name: string;
|
|
228
244
|
desc?: string | undefined;
|
|
229
|
-
|
|
245
|
+
provider: 's3';
|
|
230
246
|
bucket: string;
|
|
231
247
|
prefix?: string | undefined;
|
|
232
248
|
accessKeyId: string;
|