@openworkers/api-types 1.7.1 → 1.8.0

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 +15 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openworkers/api-types",
3
- "version": "1.7.1",
3
+ "version": "1.8.0",
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: 2026-02-21T19:52:51.453Z
4
+ * Generated on: 2026-02-24T13:18:47.638Z
5
5
  * Repository: https://github.com/openworkers/openworkers-api.git
6
- * Version: 1.7.1
7
- * Build: d34e48f8aff0a1402e53f420a56a8743df11c213
6
+ * Version: 1.8.0
7
+ * Build: 4ef4589544c00d71f0d79b997d2ce0bde4dca306
8
8
  */
9
9
 
10
10
  // Global types
@@ -166,7 +166,7 @@ export type IDatabase = {
166
166
  id: string;
167
167
  name: string;
168
168
  desc?: (string | null) | undefined;
169
- provider: 'platform' | 'postgres';
169
+ provider: 'platform' | 'postgres' | 'planetscale';
170
170
  maxRows: number;
171
171
  timeoutSeconds: number;
172
172
  };
@@ -186,6 +186,17 @@ export type IDatabaseCreateInput =
186
186
  connectionString: string;
187
187
  maxRows: number;
188
188
  timeoutSeconds: number;
189
+ }
190
+ | {
191
+ name: string;
192
+ desc?: string | undefined;
193
+ provider: 'planetscale';
194
+ org: string;
195
+ database: string;
196
+ branch: string;
197
+ dbName: string;
198
+ maxRows: number;
199
+ timeoutSeconds: number;
189
200
  };
190
201
 
191
202
  export type IColumnDefinition = {