@openworkers/api-types 1.1.7 → 1.2.1
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 +30 -3
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: 2026-01-
|
|
4
|
+
* Generated on: 2026-01-02T21:18:24.270Z
|
|
5
5
|
* Repository: https://github.com/openworkers/openworkers-api.git
|
|
6
|
-
* Version: 1.1
|
|
7
|
-
* Build:
|
|
6
|
+
* Version: 1.2.1
|
|
7
|
+
* Build: b4436a1021033579cbda60c28e02834c046b584f
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
// Global types
|
|
@@ -263,3 +263,30 @@ export type IStorageConfigUpdateInput = {
|
|
|
263
263
|
region?: (string | null) | undefined;
|
|
264
264
|
publicUrl?: (string | null) | undefined;
|
|
265
265
|
};
|
|
266
|
+
|
|
267
|
+
export type IApiKey = {
|
|
268
|
+
id: string;
|
|
269
|
+
name: string;
|
|
270
|
+
desc?: (string | null) | undefined;
|
|
271
|
+
tokenPrefix: string;
|
|
272
|
+
lastUsedAt: Date | null;
|
|
273
|
+
expiresAt: Date | null;
|
|
274
|
+
createdAt: Date;
|
|
275
|
+
};
|
|
276
|
+
|
|
277
|
+
export type IApiKeyCreateInput = {
|
|
278
|
+
name: string;
|
|
279
|
+
desc?: string | undefined;
|
|
280
|
+
expiresAt?: string | undefined;
|
|
281
|
+
};
|
|
282
|
+
|
|
283
|
+
export type IApiKeyCreateResponse = {
|
|
284
|
+
id: string;
|
|
285
|
+
name: string;
|
|
286
|
+
desc?: (string | null) | undefined;
|
|
287
|
+
tokenPrefix: string;
|
|
288
|
+
lastUsedAt: Date | null;
|
|
289
|
+
expiresAt: Date | null;
|
|
290
|
+
createdAt: Date;
|
|
291
|
+
token: string;
|
|
292
|
+
};
|