drizzle-kit 0.20.17-cab52ad → 0.20.17-d71f2ee

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. package/@types/utils.d.ts +13 -0
  2. package/bin.cjs +372 -7335
  3. package/cli/commands/migrate.d.ts +287 -0
  4. package/cli/commands/mysqlIntrospect.d.ts +50 -0
  5. package/cli/commands/mysqlPushUtils.d.ts +14 -0
  6. package/cli/commands/pgIntrospect.d.ts +59 -0
  7. package/cli/commands/pgPushUtils.d.ts +11 -0
  8. package/cli/commands/sqliteIntrospect.d.ts +103 -0
  9. package/cli/commands/sqlitePushUtils.d.ts +15 -0
  10. package/cli/commands/utils.d.ts +180 -0
  11. package/cli/connections.d.ts +18 -0
  12. package/cli/selector-ui.d.ts +13 -0
  13. package/cli/utils.d.ts +13 -0
  14. package/cli/validations/cli.d.ts +169 -0
  15. package/cli/validations/common.d.ts +214 -0
  16. package/cli/validations/mysql.d.ts +29 -0
  17. package/cli/validations/outputs.d.ts +41 -0
  18. package/cli/validations/pg.d.ts +46 -0
  19. package/cli/validations/sqlite.d.ts +22 -0
  20. package/cli/validations/studio.d.ts +92 -0
  21. package/cli/views.d.ts +70 -0
  22. package/global.d.ts +6 -0
  23. package/index.d.mts +6 -14
  24. package/index.d.ts +6 -14
  25. package/introspect-sqlite.d.ts +10 -0
  26. package/jsonDiffer.d.ts +61 -0
  27. package/jsonStatements.d.ts +376 -0
  28. package/migrationPreparator.d.ts +35 -0
  29. package/package.json +16 -5
  30. package/payload.d.mts +18 -987
  31. package/payload.d.ts +18 -987
  32. package/payload.js +16831 -19058
  33. package/payload.mjs +16827 -19079
  34. package/schemaValidator.d.ts +1316 -0
  35. package/serializer/index.d.ts +9 -0
  36. package/serializer/mysqlImports.d.ts +7 -0
  37. package/serializer/mysqlSchema.d.ts +4650 -0
  38. package/serializer/mysqlSerializer.d.ts +7 -0
  39. package/serializer/pgImports.d.ts +11 -0
  40. package/serializer/pgSchema.d.ts +4792 -0
  41. package/serializer/pgSerializer.d.ts +7 -0
  42. package/serializer/schemaToDrizzle.d.ts +7 -0
  43. package/serializer/sqliteImports.d.ts +7 -0
  44. package/serializer/sqliteSchema.d.ts +2801 -0
  45. package/serializer/sqliteSerializer.d.ts +6 -0
  46. package/serializer/studio.d.ts +53 -0
  47. package/snapshotsDiffer.d.ts +3936 -0
  48. package/sqlgenerator.d.ts +33 -0
  49. package/utils/words.d.ts +7 -0
  50. package/utils-studio.d.mts +4 -0
  51. package/utils-studio.d.ts +4 -0
  52. package/utils.d.ts +78 -0
@@ -0,0 +1,376 @@
1
+ import { CommonSquashedSchema } from "./schemaValidator";
2
+ import { MySqlSchema } from "./serializer/mysqlSchema";
3
+ import { PgSchema } from "./serializer/pgSchema";
4
+ import { AlteredColumn, Column, Table } from "./snapshotsDiffer";
5
+ export interface JsonSqliteCreateTableStatement {
6
+ type: "sqlite_create_table";
7
+ tableName: string;
8
+ columns: Column[];
9
+ referenceData: string[];
10
+ compositePKs: string[][];
11
+ uniqueConstraints?: string[];
12
+ }
13
+ export interface JsonCreateTableStatement {
14
+ type: "create_table";
15
+ tableName: string;
16
+ schema: string;
17
+ columns: Column[];
18
+ compositePKs: string[];
19
+ compositePkName?: string;
20
+ uniqueConstraints?: string[];
21
+ }
22
+ export interface JsonDropTableStatement {
23
+ type: "drop_table";
24
+ tableName: string;
25
+ schema: string;
26
+ }
27
+ export interface JsonRenameTableStatement {
28
+ type: "rename_table";
29
+ fromSchema: string;
30
+ toSchema: string;
31
+ tableNameFrom: string;
32
+ tableNameTo: string;
33
+ }
34
+ export interface JsonCreateEnumStatement {
35
+ type: "create_type_enum";
36
+ name: string;
37
+ schema: string;
38
+ values: string[];
39
+ }
40
+ export interface JsonDropEnumStatement {
41
+ type: "drop_type_enum";
42
+ name: string;
43
+ schema: string;
44
+ }
45
+ export interface JsonMoveEnumStatement {
46
+ type: "move_type_enum";
47
+ name: string;
48
+ schemaFrom: string;
49
+ schemaTo: string;
50
+ }
51
+ export interface JsonRenameEnumStatement {
52
+ type: "rename_type_enum";
53
+ nameFrom: string;
54
+ nameTo: string;
55
+ schema: string;
56
+ }
57
+ export interface JsonAddValueToEnumStatement {
58
+ type: "alter_type_add_value";
59
+ name: string;
60
+ schema: string;
61
+ value: string;
62
+ before: string;
63
+ }
64
+ export interface JsonDropColumnStatement {
65
+ type: "alter_table_drop_column";
66
+ tableName: string;
67
+ columnName: string;
68
+ schema: string;
69
+ }
70
+ export interface JsonAddColumnStatement {
71
+ type: "alter_table_add_column";
72
+ tableName: string;
73
+ column: Column;
74
+ schema: string;
75
+ }
76
+ export interface JsonSqliteAddColumnStatement {
77
+ type: "sqlite_alter_table_add_column";
78
+ tableName: string;
79
+ column: Column;
80
+ referenceData?: string;
81
+ }
82
+ export interface JsonCreateIndexStatement {
83
+ type: "create_index";
84
+ tableName: string;
85
+ data: string;
86
+ schema: string;
87
+ }
88
+ export interface JsonReferenceStatement {
89
+ type: "create_reference" | "alter_reference" | "delete_reference";
90
+ data: string;
91
+ schema: string;
92
+ tableName: string;
93
+ }
94
+ export interface JsonCreateUniqueConstraint {
95
+ type: "create_unique_constraint";
96
+ tableName: string;
97
+ data: string;
98
+ schema?: string;
99
+ constraintName?: string;
100
+ }
101
+ export interface JsonDeleteUniqueConstraint {
102
+ type: "delete_unique_constraint";
103
+ tableName: string;
104
+ data: string;
105
+ schema?: string;
106
+ constraintName?: string;
107
+ }
108
+ export interface JsonAlterUniqueConstraint {
109
+ type: "alter_unique_constraint";
110
+ tableName: string;
111
+ old: string;
112
+ new: string;
113
+ schema?: string;
114
+ oldConstraintName?: string;
115
+ newConstraintName?: string;
116
+ }
117
+ export interface JsonCreateCompositePK {
118
+ type: "create_composite_pk";
119
+ tableName: string;
120
+ data: string;
121
+ schema?: string;
122
+ constraintName?: string;
123
+ }
124
+ export interface JsonDeleteCompositePK {
125
+ type: "delete_composite_pk";
126
+ tableName: string;
127
+ data: string;
128
+ schema?: string;
129
+ constraintName?: string;
130
+ }
131
+ export interface JsonAlterCompositePK {
132
+ type: "alter_composite_pk";
133
+ tableName: string;
134
+ old: string;
135
+ new: string;
136
+ schema?: string;
137
+ oldConstraintName?: string;
138
+ newConstraintName?: string;
139
+ }
140
+ export interface JsonAlterTableSetSchema {
141
+ type: "alter_table_set_schema";
142
+ tableName: string;
143
+ schemaFrom: string;
144
+ schemaTo: string;
145
+ }
146
+ export interface JsonAlterTableRemoveFromSchema {
147
+ type: "alter_table_remove_from_schema";
148
+ tableName: string;
149
+ schema: string;
150
+ }
151
+ export interface JsonAlterTableSetNewSchema {
152
+ type: "alter_table_set_new_schema";
153
+ tableName: string;
154
+ from: string;
155
+ to: string;
156
+ }
157
+ export interface JsonCreateReferenceStatement extends JsonReferenceStatement {
158
+ type: "create_reference";
159
+ }
160
+ export interface JsonAlterReferenceStatement extends JsonReferenceStatement {
161
+ type: "alter_reference";
162
+ oldFkey: string;
163
+ }
164
+ export interface JsonDeleteReferenceStatement extends JsonReferenceStatement {
165
+ type: "delete_reference";
166
+ }
167
+ export interface JsonDropIndexStatement {
168
+ type: "drop_index";
169
+ tableName: string;
170
+ data: string;
171
+ schema: string;
172
+ }
173
+ export interface JsonRenameColumnStatement {
174
+ type: "alter_table_rename_column";
175
+ tableName: string;
176
+ oldColumnName: string;
177
+ newColumnName: string;
178
+ schema: string;
179
+ }
180
+ export interface JsonAlterColumnTypeStatement {
181
+ type: "alter_table_alter_column_set_type";
182
+ tableName: string;
183
+ columnName: string;
184
+ newDataType: string;
185
+ oldDataType: string;
186
+ schema: string;
187
+ columnDefault: string;
188
+ columnOnUpdate: boolean;
189
+ columnNotNull: boolean;
190
+ columnAutoIncrement: boolean;
191
+ columnPk: boolean;
192
+ }
193
+ export interface JsonAlterColumnSetPrimaryKeyStatement {
194
+ type: "alter_table_alter_column_set_pk";
195
+ tableName: string;
196
+ schema: string;
197
+ columnName: string;
198
+ }
199
+ export interface JsonAlterColumnDropPrimaryKeyStatement {
200
+ type: "alter_table_alter_column_drop_pk";
201
+ tableName: string;
202
+ columnName: string;
203
+ schema: string;
204
+ }
205
+ export interface JsonAlterColumnSetDefaultStatement {
206
+ type: "alter_table_alter_column_set_default";
207
+ tableName: string;
208
+ columnName: string;
209
+ newDefaultValue: any;
210
+ oldDefaultValue?: any;
211
+ schema: string;
212
+ newDataType: string;
213
+ columnOnUpdate: boolean;
214
+ columnNotNull: boolean;
215
+ columnAutoIncrement: boolean;
216
+ columnPk: boolean;
217
+ }
218
+ export interface JsonAlterColumnDropDefaultStatement {
219
+ type: "alter_table_alter_column_drop_default";
220
+ tableName: string;
221
+ columnName: string;
222
+ schema: string;
223
+ newDataType: string;
224
+ columnDefault: string;
225
+ columnOnUpdate: boolean;
226
+ columnNotNull: boolean;
227
+ columnAutoIncrement: boolean;
228
+ columnPk: boolean;
229
+ }
230
+ export interface JsonAlterColumnSetNotNullStatement {
231
+ type: "alter_table_alter_column_set_notnull";
232
+ tableName: string;
233
+ columnName: string;
234
+ schema: string;
235
+ newDataType: string;
236
+ columnDefault: string;
237
+ columnOnUpdate: boolean;
238
+ columnNotNull: boolean;
239
+ columnAutoIncrement: boolean;
240
+ columnPk: boolean;
241
+ }
242
+ export interface JsonAlterColumnDropNotNullStatement {
243
+ type: "alter_table_alter_column_drop_notnull";
244
+ tableName: string;
245
+ columnName: string;
246
+ schema: string;
247
+ newDataType: string;
248
+ columnDefault: string;
249
+ columnOnUpdate: boolean;
250
+ columnNotNull: boolean;
251
+ columnAutoIncrement: boolean;
252
+ columnPk: boolean;
253
+ }
254
+ export interface JsonAlterColumnSetOnUpdateStatement {
255
+ type: "alter_table_alter_column_set_on_update";
256
+ tableName: string;
257
+ columnName: string;
258
+ schema: string;
259
+ newDataType: string;
260
+ columnDefault: string;
261
+ columnOnUpdate: boolean;
262
+ columnNotNull: boolean;
263
+ columnAutoIncrement: boolean;
264
+ columnPk: boolean;
265
+ }
266
+ export interface JsonAlterColumnDropOnUpdateStatement {
267
+ type: "alter_table_alter_column_drop_on_update";
268
+ tableName: string;
269
+ columnName: string;
270
+ schema: string;
271
+ newDataType: string;
272
+ columnDefault: string;
273
+ columnOnUpdate: boolean;
274
+ columnNotNull: boolean;
275
+ columnAutoIncrement: boolean;
276
+ columnPk: boolean;
277
+ }
278
+ export interface JsonAlterColumnSetAutoincrementStatement {
279
+ type: "alter_table_alter_column_set_autoincrement";
280
+ tableName: string;
281
+ columnName: string;
282
+ schema: string;
283
+ newDataType: string;
284
+ columnDefault: string;
285
+ columnOnUpdate: boolean;
286
+ columnNotNull: boolean;
287
+ columnAutoIncrement: boolean;
288
+ columnPk: boolean;
289
+ }
290
+ export interface JsonAlterColumnDropAutoincrementStatement {
291
+ type: "alter_table_alter_column_drop_autoincrement";
292
+ tableName: string;
293
+ columnName: string;
294
+ schema: string;
295
+ newDataType: string;
296
+ columnDefault: string;
297
+ columnOnUpdate: boolean;
298
+ columnNotNull: boolean;
299
+ columnAutoIncrement: boolean;
300
+ columnPk: boolean;
301
+ }
302
+ export interface JsonCreateSchema {
303
+ type: "create_schema";
304
+ name: string;
305
+ }
306
+ export interface JsonDropSchema {
307
+ type: "drop_schema";
308
+ name: string;
309
+ }
310
+ export interface JsonRenameSchema {
311
+ type: "rename_schema";
312
+ from: string;
313
+ to: string;
314
+ }
315
+ export type JsonAlterColumnStatement = JsonRenameColumnStatement | JsonAlterColumnTypeStatement | JsonAlterColumnSetDefaultStatement | JsonAlterColumnDropDefaultStatement | JsonAlterColumnSetNotNullStatement | JsonAlterColumnDropNotNullStatement | JsonAlterColumnDropOnUpdateStatement | JsonAlterColumnSetOnUpdateStatement | JsonAlterColumnDropAutoincrementStatement | JsonAlterColumnSetAutoincrementStatement | JsonAlterColumnSetPrimaryKeyStatement | JsonAlterColumnDropPrimaryKeyStatement;
316
+ export type JsonStatement = JsonAlterColumnStatement | JsonCreateTableStatement | JsonDropTableStatement | JsonRenameTableStatement | JsonCreateEnumStatement | JsonDropEnumStatement | JsonMoveEnumStatement | JsonRenameEnumStatement | JsonAddValueToEnumStatement | JsonDropColumnStatement | JsonAddColumnStatement | JsonCreateIndexStatement | JsonCreateReferenceStatement | JsonAlterReferenceStatement | JsonDeleteReferenceStatement | JsonDropIndexStatement | JsonReferenceStatement | JsonSqliteCreateTableStatement | JsonSqliteAddColumnStatement | JsonCreateCompositePK | JsonDeleteCompositePK | JsonAlterCompositePK | JsonCreateUniqueConstraint | JsonDeleteUniqueConstraint | JsonAlterUniqueConstraint | JsonCreateSchema | JsonDropSchema | JsonRenameSchema | JsonAlterTableSetSchema | JsonAlterTableRemoveFromSchema | JsonAlterTableSetNewSchema;
317
+ export declare const preparePgCreateTableJson: (table: Table, json2: PgSchema) => JsonCreateTableStatement;
318
+ export declare const prepareMySqlCreateTableJson: (table: Table, json2: MySqlSchema) => JsonCreateTableStatement;
319
+ export declare const prepareSQLiteCreateTable: (table: Table) => JsonSqliteCreateTableStatement;
320
+ export declare const prepareDropTableJson: (table: Table) => JsonDropTableStatement;
321
+ export declare const prepareRenameTableJson: (tableFrom: Table, tableTo: Table) => JsonRenameTableStatement;
322
+ export declare const prepareCreateEnumJson: (name: string, schema: string, values: string[]) => JsonCreateEnumStatement;
323
+ export declare const prepareAddValuesToEnumJson: (name: string, schema: string, values: {
324
+ value: string;
325
+ before: string;
326
+ }[]) => JsonAddValueToEnumStatement[];
327
+ export declare const prepareDropEnumJson: (name: string, schema: string) => JsonDropEnumStatement;
328
+ export declare const prepareMoveEnumJson: (name: string, schemaFrom: string, schemaTo: string) => JsonMoveEnumStatement;
329
+ export declare const prepareRenameEnumJson: (nameFrom: string, nameTo: string, schema: string) => JsonRenameEnumStatement;
330
+ export declare const prepareCreateSchemasJson: (values: string[]) => JsonCreateSchema[];
331
+ export declare const prepareRenameSchemasJson: (values: {
332
+ from: string;
333
+ to: string;
334
+ }[]) => JsonRenameSchema[];
335
+ export declare const prepareDeleteSchemasJson: (values: string[]) => JsonDropSchema[];
336
+ export declare const prepareRenameColumns: (tableName: string, schema: string, pairs: {
337
+ from: Column;
338
+ to: Column;
339
+ }[]) => JsonRenameColumnStatement[];
340
+ export declare const _prepareDropColumns: (taleName: string, schema: string, columns: Column[]) => JsonDropColumnStatement[];
341
+ export declare const _prepareAddColumns: (tableName: string, schema: string, columns: Column[]) => JsonAddColumnStatement[];
342
+ export declare const prepareAlterColumnsMysql: (tableName: string, schema: string, columns: AlteredColumn[], json2: CommonSquashedSchema) => JsonAlterColumnStatement[];
343
+ export declare const preparePgAlterColumns: (_tableName: string, schema: string, columns: AlteredColumn[], json2: CommonSquashedSchema) => JsonAlterColumnStatement[];
344
+ export declare const prepareSqliteAlterColumns: (tableName: string, schema: string, columns: AlteredColumn[], json2: CommonSquashedSchema) => JsonAlterColumnStatement[];
345
+ export declare const prepareCreateIndexesJson: (tableName: string, schema: string, indexes: Record<string, string>) => JsonCreateIndexStatement[];
346
+ export declare const prepareCreateReferencesJson: (tableName: string, schema: string, foreignKeys: Record<string, string>) => JsonCreateReferenceStatement[];
347
+ export declare const prepareDropReferencesJson: (tableName: string, schema: string, foreignKeys: Record<string, string>) => JsonDeleteReferenceStatement[];
348
+ export declare const prepareAlterReferencesJson: (tableName: string, schema: string, foreignKeys: Record<string, {
349
+ __old: string;
350
+ __new: string;
351
+ }>) => JsonReferenceStatement[];
352
+ export declare const prepareDropIndexesJson: (tableName: string, schema: string, indexes: Record<string, string>) => JsonDropIndexStatement[];
353
+ export declare const prepareAddCompositePrimaryKeySqlite: (tableName: string, pks: Record<string, string>) => JsonCreateCompositePK[];
354
+ export declare const prepareDeleteCompositePrimaryKeySqlite: (tableName: string, pks: Record<string, string>) => JsonDeleteCompositePK[];
355
+ export declare const prepareAlterCompositePrimaryKeySqlite: (tableName: string, pks: Record<string, {
356
+ __old: string;
357
+ __new: string;
358
+ }>) => JsonAlterCompositePK[];
359
+ export declare const prepareAddCompositePrimaryKeyPg: (tableName: string, schema: string, pks: Record<string, string>, json2: PgSchema) => JsonCreateCompositePK[];
360
+ export declare const prepareDeleteCompositePrimaryKeyPg: (tableName: string, schema: string, pks: Record<string, string>, json1: PgSchema) => JsonDeleteCompositePK[];
361
+ export declare const prepareAlterCompositePrimaryKeyPg: (tableName: string, schema: string, pks: Record<string, {
362
+ __old: string;
363
+ __new: string;
364
+ }>, json1: PgSchema, json2: PgSchema) => JsonAlterCompositePK[];
365
+ export declare const prepareAddUniqueConstraintPg: (tableName: string, schema: string, unqs: Record<string, string>) => JsonCreateUniqueConstraint[];
366
+ export declare const prepareDeleteUniqueConstraintPg: (tableName: string, schema: string, unqs: Record<string, string>) => JsonDeleteUniqueConstraint[];
367
+ export declare const prepareAlterUniqueConstraintPg: (tableName: string, schema: string, unqs: Record<string, {
368
+ __old: string;
369
+ __new: string;
370
+ }>) => JsonAlterUniqueConstraint[];
371
+ export declare const prepareAddCompositePrimaryKeyMySql: (tableName: string, pks: Record<string, string>, json1: MySqlSchema, json2: MySqlSchema) => JsonCreateCompositePK[];
372
+ export declare const prepareDeleteCompositePrimaryKeyMySql: (tableName: string, pks: Record<string, string>, json1: MySqlSchema) => JsonDeleteCompositePK[];
373
+ export declare const prepareAlterCompositePrimaryKeyMySql: (tableName: string, pks: Record<string, {
374
+ __old: string;
375
+ __new: string;
376
+ }>, json1: MySqlSchema, json2: MySqlSchema) => JsonAlterCompositePK[];
@@ -0,0 +1,35 @@
1
+ import { PgSchema, PgSchemaInternal } from "./serializer/pgSchema";
2
+ import { SQLiteSchema } from "./serializer/sqliteSchema";
3
+ import { MySqlSchema } from "./serializer/mysqlSchema";
4
+ export declare const prepareMySqlDbPushSnapshot: (prev: MySqlSchema, schemaPath: string | string[]) => Promise<{
5
+ prev: MySqlSchema;
6
+ cur: MySqlSchema;
7
+ }>;
8
+ export declare const prepareSQLiteDbPushSnapshot: (prev: SQLiteSchema, schemaPath: string | string[]) => Promise<{
9
+ prev: SQLiteSchema;
10
+ cur: SQLiteSchema;
11
+ }>;
12
+ export declare const preparePgDbPushSnapshot: (prev: PgSchema, schemaPath: string | string[], schemaFilter?: string[]) => Promise<{
13
+ prev: PgSchema;
14
+ cur: PgSchema;
15
+ }>;
16
+ export declare const prepareMySqlMigrationSnapshot: (migrationFolders: string[], schemaPath: string | string[]) => Promise<{
17
+ prev: MySqlSchema;
18
+ cur: MySqlSchema;
19
+ custom: MySqlSchema;
20
+ }>;
21
+ export declare const prepareSqliteMigrationSnapshot: (snapshots: string[], schemaPath: string | string[]) => Promise<{
22
+ prev: SQLiteSchema;
23
+ cur: SQLiteSchema;
24
+ custom: SQLiteSchema;
25
+ }>;
26
+ export declare const fillPgSnapshot: ({ serialized, id, idPrev, }: {
27
+ serialized: PgSchemaInternal;
28
+ id: string;
29
+ idPrev: string;
30
+ }) => PgSchema;
31
+ export declare const preparePgMigrationSnapshot: (snapshots: string[], schemaPath: string | string[]) => Promise<{
32
+ prev: PgSchema;
33
+ cur: PgSchema;
34
+ custom: PgSchema;
35
+ }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.20.17-cab52ad",
3
+ "version": "0.20.17-d71f2ee",
4
4
  "repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
5
5
  "author": "Drizzle Team",
6
6
  "license": "MIT",
@@ -12,7 +12,8 @@
12
12
  "migrate:old": "drizzle-kit generate:mysql",
13
13
  "cli": "tsx ./src/cli/index.ts",
14
14
  "test": "vitest",
15
- "build": "rm -rf ./dist && tsx build.ts && cp package.json dist/ && attw --pack dist",
15
+ "mts": "cp dist/index.d.ts dist/index.d.mts && cp dist/utils-studio.d.ts dist/utils-studio.d.mts && cp dist/payload.d.ts dist/payload.d.mts",
16
+ "build": "rm -rf ./dist && tsc -p tsconfig.cli-types.json && pnpm mts && tsx build.ts",
16
17
  "build:dev": "rm -rf ./dist && tsx build.dev.ts && tsc -p tsconfig.cli-types.json && chmod +x ./dist/index.cjs",
17
18
  "packit": "pnpm build && cp package.json dist/ && cd dist && pnpm pack",
18
19
  "tsc": "tsc -p tsconfig.build.json",
@@ -41,7 +42,6 @@
41
42
  "zod": "^3.20.2"
42
43
  },
43
44
  "devDependencies": {
44
- "@arethetypeswrong/cli": "^0.15.3",
45
45
  "@aws-sdk/client-rds-data": "^3.556.0",
46
46
  "@cloudflare/workers-types": "^4.20230518.0",
47
47
  "@electric-sql/pglite": "^0.1.3",
@@ -67,7 +67,7 @@
67
67
  "dockerode": "^3.3.4",
68
68
  "dotenv": "^16.0.3",
69
69
  "drizzle-kit": "0.20.14",
70
- "drizzle-orm": "0.30.9-f9be0ab",
70
+ "drizzle-orm": "0.30.9",
71
71
  "esbuild-node-externals": "^1.9.0",
72
72
  "eslint": "^8.57.0",
73
73
  "eslint-config-prettier": "^9.1.0",
@@ -77,7 +77,6 @@
77
77
  "pg": "^8.11.3",
78
78
  "postgres": "^3.4.4",
79
79
  "prettier": "^2.8.1",
80
- "tsup": "^8.0.2",
81
80
  "tsx": "^3.12.1",
82
81
  "typescript": "^5.4.3",
83
82
  "uuid": "^9.0.1",
@@ -99,6 +98,18 @@
99
98
  "types": "./index.d.mts",
100
99
  "default": "./index.mjs"
101
100
  },
101
+ "./utils-studio": {
102
+ "import": {
103
+ "types": "./utils-studio.d.mts",
104
+ "default": "./utils-studio.mjs"
105
+ },
106
+ "require": {
107
+ "types": "./utils-studio.d.ts",
108
+ "default": "./utils-studio.js"
109
+ },
110
+ "types": "./utils-studio.d.mts",
111
+ "default": "./utils-studio.mjs"
112
+ },
102
113
  "./payload": {
103
114
  "import": {
104
115
  "types": "./payload.d.mts",