drizzle-kit 0.19.14-039355d → 0.20.0-5198fb7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. package/@types/utils.d.ts +12 -0
  2. package/cli/commands/migrate.d.ts +260 -0
  3. package/cli/commands/mysqlUp.d.ts +4 -0
  4. package/cli/commands/pgIntrospect.d.ts +118 -0
  5. package/cli/commands/pgPushUtils.d.ts +14 -0
  6. package/cli/commands/pgUp.d.ts +4 -0
  7. package/cli/commands/sqliteIntrospect.d.ts +102 -0
  8. package/cli/commands/sqliteUtils.d.ts +162 -0
  9. package/cli/commands/upFolders.d.ts +27 -0
  10. package/cli/commands/utils.d.ts +265 -0
  11. package/cli/selector-ui.d.ts +13 -0
  12. package/cli/validations/common.d.ts +13 -0
  13. package/cli/validations/mysql.d.ts +414 -0
  14. package/cli/validations/outputs.d.ts +40 -0
  15. package/cli/validations/pg.d.ts +438 -0
  16. package/cli/validations/sqlite.d.ts +220 -0
  17. package/cli/validations/studio.d.ts +548 -0
  18. package/cli/views.d.ts +61 -0
  19. package/drivers/index.d.ts +25 -0
  20. package/global.d.ts +2 -0
  21. package/index.cjs +28813 -37075
  22. package/index.d.ts +47 -0
  23. package/introspect.d.ts +4 -0
  24. package/jsonDiffer.d.ts +76 -0
  25. package/jsonStatements.d.ts +349 -0
  26. package/migrationPreparator.d.ts +35 -0
  27. package/orm-extenstions/d1-driver/driver.d.ts +8 -0
  28. package/orm-extenstions/d1-driver/session.d.ts +52 -0
  29. package/orm-extenstions/d1-driver/wrangler-client.d.ts +3 -0
  30. package/package.json +4 -3
  31. package/schemaValidator.d.ts +1306 -0
  32. package/serializer/index.d.ts +9 -0
  33. package/serializer/mysqlImports.d.ts +6 -0
  34. package/serializer/mysqlSchema.d.ts +3833 -0
  35. package/serializer/mysqlSerializer.d.ts +7 -0
  36. package/serializer/pgImports.d.ts +11 -0
  37. package/serializer/pgSchema.d.ts +4244 -0
  38. package/serializer/pgSerializer.d.ts +7 -0
  39. package/serializer/sqliteImports.d.ts +5 -0
  40. package/serializer/sqliteSchema.d.ts +3227 -0
  41. package/serializer/sqliteSerializer.d.ts +8 -0
  42. package/serializer/studioUtils.d.ts +35 -0
  43. package/snapshotsDiffer.d.ts +2660 -0
  44. package/sqlgenerator.d.ts +33 -0
  45. package/sqlite-introspect.d.ts +5 -0
  46. package/utils/words.d.ts +7 -0
  47. package/utils.d.ts +33 -0
  48. package/utils.js +51597 -11732
  49. package/utilsR.d.ts +232 -0
@@ -0,0 +1,1306 @@
1
+ import { TypeOf } from "zod";
2
+ declare const dialect: import("zod").ZodEnum<["pg", "mysql", "sqlite"]>;
3
+ export type Dialect = TypeOf<typeof dialect>;
4
+ declare const commonSquashedSchema: import("zod").ZodUnion<[import("zod").ZodObject<{
5
+ version: import("zod").ZodLiteral<"5">;
6
+ dialect: import("zod").ZodEnum<["pg"]>;
7
+ tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
8
+ name: import("zod").ZodString;
9
+ schema: import("zod").ZodString;
10
+ columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
11
+ name: import("zod").ZodString;
12
+ type: import("zod").ZodString;
13
+ primaryKey: import("zod").ZodBoolean;
14
+ notNull: import("zod").ZodBoolean;
15
+ default: import("zod").ZodOptional<import("zod").ZodAny>;
16
+ isUnique: import("zod").ZodOptional<import("zod").ZodAny>;
17
+ uniqueName: import("zod").ZodOptional<import("zod").ZodString>;
18
+ nullsNotDistinct: import("zod").ZodOptional<import("zod").ZodBoolean>;
19
+ }, "strict", import("zod").ZodTypeAny, {
20
+ isUnique?: any;
21
+ default?: any;
22
+ uniqueName?: string | undefined;
23
+ nullsNotDistinct?: boolean | undefined;
24
+ name: string;
25
+ type: string;
26
+ primaryKey: boolean;
27
+ notNull: boolean;
28
+ }, {
29
+ isUnique?: any;
30
+ default?: any;
31
+ uniqueName?: string | undefined;
32
+ nullsNotDistinct?: boolean | undefined;
33
+ name: string;
34
+ type: string;
35
+ primaryKey: boolean;
36
+ notNull: boolean;
37
+ }>>;
38
+ indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
39
+ foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
40
+ compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
41
+ uniqueConstraints: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
42
+ }, "strict", import("zod").ZodTypeAny, {
43
+ name: string;
44
+ columns: Record<string, {
45
+ isUnique?: any;
46
+ default?: any;
47
+ uniqueName?: string | undefined;
48
+ nullsNotDistinct?: boolean | undefined;
49
+ name: string;
50
+ type: string;
51
+ primaryKey: boolean;
52
+ notNull: boolean;
53
+ }>;
54
+ indexes: Record<string, string>;
55
+ foreignKeys: Record<string, string>;
56
+ schema: string;
57
+ compositePrimaryKeys: Record<string, string>;
58
+ uniqueConstraints: Record<string, string>;
59
+ }, {
60
+ name: string;
61
+ columns: Record<string, {
62
+ isUnique?: any;
63
+ default?: any;
64
+ uniqueName?: string | undefined;
65
+ nullsNotDistinct?: boolean | undefined;
66
+ name: string;
67
+ type: string;
68
+ primaryKey: boolean;
69
+ notNull: boolean;
70
+ }>;
71
+ indexes: Record<string, string>;
72
+ foreignKeys: Record<string, string>;
73
+ schema: string;
74
+ compositePrimaryKeys: Record<string, string>;
75
+ uniqueConstraints: Record<string, string>;
76
+ }>>;
77
+ enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
78
+ name: import("zod").ZodString;
79
+ values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
80
+ }, "strict", import("zod").ZodTypeAny, {
81
+ name: string;
82
+ values: Record<string, string>;
83
+ }, {
84
+ name: string;
85
+ values: Record<string, string>;
86
+ }>>;
87
+ schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
88
+ }, "strict", import("zod").ZodTypeAny, {
89
+ version: "5";
90
+ dialect: "pg";
91
+ tables: Record<string, {
92
+ name: string;
93
+ columns: Record<string, {
94
+ isUnique?: any;
95
+ default?: any;
96
+ uniqueName?: string | undefined;
97
+ nullsNotDistinct?: boolean | undefined;
98
+ name: string;
99
+ type: string;
100
+ primaryKey: boolean;
101
+ notNull: boolean;
102
+ }>;
103
+ indexes: Record<string, string>;
104
+ foreignKeys: Record<string, string>;
105
+ schema: string;
106
+ compositePrimaryKeys: Record<string, string>;
107
+ uniqueConstraints: Record<string, string>;
108
+ }>;
109
+ schemas: Record<string, string>;
110
+ enums: Record<string, {
111
+ name: string;
112
+ values: Record<string, string>;
113
+ }>;
114
+ }, {
115
+ version: "5";
116
+ dialect: "pg";
117
+ tables: Record<string, {
118
+ name: string;
119
+ columns: Record<string, {
120
+ isUnique?: any;
121
+ default?: any;
122
+ uniqueName?: string | undefined;
123
+ nullsNotDistinct?: boolean | undefined;
124
+ name: string;
125
+ type: string;
126
+ primaryKey: boolean;
127
+ notNull: boolean;
128
+ }>;
129
+ indexes: Record<string, string>;
130
+ foreignKeys: Record<string, string>;
131
+ schema: string;
132
+ compositePrimaryKeys: Record<string, string>;
133
+ uniqueConstraints: Record<string, string>;
134
+ }>;
135
+ schemas: Record<string, string>;
136
+ enums: Record<string, {
137
+ name: string;
138
+ values: Record<string, string>;
139
+ }>;
140
+ }>, import("zod").ZodObject<{
141
+ version: import("zod").ZodLiteral<"5">;
142
+ dialect: import("zod").ZodLiteral<"mysql">;
143
+ tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
144
+ name: import("zod").ZodString;
145
+ schema: import("zod").ZodOptional<import("zod").ZodString>;
146
+ columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
147
+ name: import("zod").ZodString;
148
+ type: import("zod").ZodString;
149
+ primaryKey: import("zod").ZodBoolean;
150
+ notNull: import("zod").ZodBoolean;
151
+ autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
152
+ default: import("zod").ZodOptional<import("zod").ZodAny>;
153
+ onUpdate: import("zod").ZodOptional<import("zod").ZodAny>;
154
+ }, "strict", import("zod").ZodTypeAny, {
155
+ default?: any;
156
+ onUpdate?: any;
157
+ autoincrement?: boolean | undefined;
158
+ name: string;
159
+ type: string;
160
+ primaryKey: boolean;
161
+ notNull: boolean;
162
+ }, {
163
+ default?: any;
164
+ onUpdate?: any;
165
+ autoincrement?: boolean | undefined;
166
+ name: string;
167
+ type: string;
168
+ primaryKey: boolean;
169
+ notNull: boolean;
170
+ }>>;
171
+ indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
172
+ foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
173
+ compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
174
+ uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
175
+ }, "strict", import("zod").ZodTypeAny, {
176
+ schema?: string | undefined;
177
+ name: string;
178
+ columns: Record<string, {
179
+ default?: any;
180
+ onUpdate?: any;
181
+ autoincrement?: boolean | undefined;
182
+ name: string;
183
+ type: string;
184
+ primaryKey: boolean;
185
+ notNull: boolean;
186
+ }>;
187
+ indexes: Record<string, string>;
188
+ foreignKeys: Record<string, string>;
189
+ compositePrimaryKeys: Record<string, string>;
190
+ uniqueConstraints: Record<string, string>;
191
+ }, {
192
+ schema?: string | undefined;
193
+ uniqueConstraints?: Record<string, string> | undefined;
194
+ name: string;
195
+ columns: Record<string, {
196
+ default?: any;
197
+ onUpdate?: any;
198
+ autoincrement?: boolean | undefined;
199
+ name: string;
200
+ type: string;
201
+ primaryKey: boolean;
202
+ notNull: boolean;
203
+ }>;
204
+ indexes: Record<string, string>;
205
+ foreignKeys: Record<string, string>;
206
+ compositePrimaryKeys: Record<string, string>;
207
+ }>>;
208
+ schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
209
+ }, "strict", import("zod").ZodTypeAny, {
210
+ version: "5";
211
+ dialect: "mysql";
212
+ tables: Record<string, {
213
+ schema?: string | undefined;
214
+ name: string;
215
+ columns: Record<string, {
216
+ default?: any;
217
+ onUpdate?: any;
218
+ autoincrement?: boolean | undefined;
219
+ name: string;
220
+ type: string;
221
+ primaryKey: boolean;
222
+ notNull: boolean;
223
+ }>;
224
+ indexes: Record<string, string>;
225
+ foreignKeys: Record<string, string>;
226
+ compositePrimaryKeys: Record<string, string>;
227
+ uniqueConstraints: Record<string, string>;
228
+ }>;
229
+ schemas: Record<string, string>;
230
+ }, {
231
+ version: "5";
232
+ dialect: "mysql";
233
+ tables: Record<string, {
234
+ schema?: string | undefined;
235
+ uniqueConstraints?: Record<string, string> | undefined;
236
+ name: string;
237
+ columns: Record<string, {
238
+ default?: any;
239
+ onUpdate?: any;
240
+ autoincrement?: boolean | undefined;
241
+ name: string;
242
+ type: string;
243
+ primaryKey: boolean;
244
+ notNull: boolean;
245
+ }>;
246
+ indexes: Record<string, string>;
247
+ foreignKeys: Record<string, string>;
248
+ compositePrimaryKeys: Record<string, string>;
249
+ }>;
250
+ schemas: Record<string, string>;
251
+ }>, import("zod").ZodObject<{
252
+ version: import("zod").ZodLiteral<"5">;
253
+ dialect: import("zod").ZodEnum<["sqlite"]>;
254
+ tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
255
+ name: import("zod").ZodString;
256
+ columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
257
+ name: import("zod").ZodString;
258
+ type: import("zod").ZodString;
259
+ primaryKey: import("zod").ZodBoolean;
260
+ notNull: import("zod").ZodBoolean;
261
+ autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
262
+ default: import("zod").ZodOptional<import("zod").ZodAny>;
263
+ }, "strict", import("zod").ZodTypeAny, {
264
+ default?: any;
265
+ autoincrement?: boolean | undefined;
266
+ name: string;
267
+ type: string;
268
+ primaryKey: boolean;
269
+ notNull: boolean;
270
+ }, {
271
+ default?: any;
272
+ autoincrement?: boolean | undefined;
273
+ name: string;
274
+ type: string;
275
+ primaryKey: boolean;
276
+ notNull: boolean;
277
+ }>>;
278
+ indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
279
+ foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
280
+ compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
281
+ uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
282
+ }, "strict", import("zod").ZodTypeAny, {
283
+ name: string;
284
+ columns: Record<string, {
285
+ default?: any;
286
+ autoincrement?: boolean | undefined;
287
+ name: string;
288
+ type: string;
289
+ primaryKey: boolean;
290
+ notNull: boolean;
291
+ }>;
292
+ indexes: Record<string, string>;
293
+ foreignKeys: Record<string, string>;
294
+ compositePrimaryKeys: Record<string, string>;
295
+ uniqueConstraints: Record<string, string>;
296
+ }, {
297
+ uniqueConstraints?: Record<string, string> | undefined;
298
+ name: string;
299
+ columns: Record<string, {
300
+ default?: any;
301
+ autoincrement?: boolean | undefined;
302
+ name: string;
303
+ type: string;
304
+ primaryKey: boolean;
305
+ notNull: boolean;
306
+ }>;
307
+ indexes: Record<string, string>;
308
+ foreignKeys: Record<string, string>;
309
+ compositePrimaryKeys: Record<string, string>;
310
+ }>>;
311
+ enums: import("zod").ZodAny;
312
+ }, "strict", import("zod").ZodTypeAny, {
313
+ enums?: any;
314
+ version: "5";
315
+ dialect: "sqlite";
316
+ tables: Record<string, {
317
+ name: string;
318
+ columns: Record<string, {
319
+ default?: any;
320
+ autoincrement?: boolean | undefined;
321
+ name: string;
322
+ type: string;
323
+ primaryKey: boolean;
324
+ notNull: boolean;
325
+ }>;
326
+ indexes: Record<string, string>;
327
+ foreignKeys: Record<string, string>;
328
+ compositePrimaryKeys: Record<string, string>;
329
+ uniqueConstraints: Record<string, string>;
330
+ }>;
331
+ }, {
332
+ enums?: any;
333
+ version: "5";
334
+ dialect: "sqlite";
335
+ tables: Record<string, {
336
+ uniqueConstraints?: Record<string, string> | undefined;
337
+ name: string;
338
+ columns: Record<string, {
339
+ default?: any;
340
+ autoincrement?: boolean | undefined;
341
+ name: string;
342
+ type: string;
343
+ primaryKey: boolean;
344
+ notNull: boolean;
345
+ }>;
346
+ indexes: Record<string, string>;
347
+ foreignKeys: Record<string, string>;
348
+ compositePrimaryKeys: Record<string, string>;
349
+ }>;
350
+ }>]>;
351
+ declare const commonSchema: import("zod").ZodUnion<[import("zod").ZodObject<import("zod").extendShape<{
352
+ version: import("zod").ZodLiteral<"5">;
353
+ dialect: import("zod").ZodLiteral<"pg">;
354
+ tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
355
+ name: import("zod").ZodString;
356
+ schema: import("zod").ZodString;
357
+ columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
358
+ name: import("zod").ZodString;
359
+ type: import("zod").ZodString;
360
+ primaryKey: import("zod").ZodBoolean;
361
+ notNull: import("zod").ZodBoolean;
362
+ default: import("zod").ZodOptional<import("zod").ZodAny>;
363
+ isUnique: import("zod").ZodOptional<import("zod").ZodAny>;
364
+ uniqueName: import("zod").ZodOptional<import("zod").ZodString>;
365
+ nullsNotDistinct: import("zod").ZodOptional<import("zod").ZodBoolean>;
366
+ }, "strict", import("zod").ZodTypeAny, {
367
+ isUnique?: any;
368
+ default?: any;
369
+ uniqueName?: string | undefined;
370
+ nullsNotDistinct?: boolean | undefined;
371
+ name: string;
372
+ type: string;
373
+ primaryKey: boolean;
374
+ notNull: boolean;
375
+ }, {
376
+ isUnique?: any;
377
+ default?: any;
378
+ uniqueName?: string | undefined;
379
+ nullsNotDistinct?: boolean | undefined;
380
+ name: string;
381
+ type: string;
382
+ primaryKey: boolean;
383
+ notNull: boolean;
384
+ }>>;
385
+ indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
386
+ name: import("zod").ZodString;
387
+ columns: import("zod").ZodArray<import("zod").ZodString, "many">;
388
+ isUnique: import("zod").ZodBoolean;
389
+ }, "strict", import("zod").ZodTypeAny, {
390
+ name: string;
391
+ columns: string[];
392
+ isUnique: boolean;
393
+ }, {
394
+ name: string;
395
+ columns: string[];
396
+ isUnique: boolean;
397
+ }>>;
398
+ foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
399
+ name: import("zod").ZodString;
400
+ tableFrom: import("zod").ZodString;
401
+ columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
402
+ tableTo: import("zod").ZodString;
403
+ columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
404
+ onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
405
+ onDelete: import("zod").ZodOptional<import("zod").ZodString>;
406
+ }, "strict", import("zod").ZodTypeAny, {
407
+ onUpdate?: string | undefined;
408
+ onDelete?: string | undefined;
409
+ name: string;
410
+ tableFrom: string;
411
+ columnsFrom: string[];
412
+ tableTo: string;
413
+ columnsTo: string[];
414
+ }, {
415
+ onUpdate?: string | undefined;
416
+ onDelete?: string | undefined;
417
+ name: string;
418
+ tableFrom: string;
419
+ columnsFrom: string[];
420
+ tableTo: string;
421
+ columnsTo: string[];
422
+ }>>;
423
+ compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
424
+ name: import("zod").ZodString;
425
+ columns: import("zod").ZodArray<import("zod").ZodString, "many">;
426
+ }, "strict", import("zod").ZodTypeAny, {
427
+ name: string;
428
+ columns: string[];
429
+ }, {
430
+ name: string;
431
+ columns: string[];
432
+ }>>;
433
+ uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
434
+ name: import("zod").ZodString;
435
+ columns: import("zod").ZodArray<import("zod").ZodString, "many">;
436
+ nullsNotDistinct: import("zod").ZodBoolean;
437
+ }, "strict", import("zod").ZodTypeAny, {
438
+ name: string;
439
+ columns: string[];
440
+ nullsNotDistinct: boolean;
441
+ }, {
442
+ name: string;
443
+ columns: string[];
444
+ nullsNotDistinct: boolean;
445
+ }>>>;
446
+ }, "strict", import("zod").ZodTypeAny, {
447
+ name: string;
448
+ columns: Record<string, {
449
+ isUnique?: any;
450
+ default?: any;
451
+ uniqueName?: string | undefined;
452
+ nullsNotDistinct?: boolean | undefined;
453
+ name: string;
454
+ type: string;
455
+ primaryKey: boolean;
456
+ notNull: boolean;
457
+ }>;
458
+ indexes: Record<string, {
459
+ name: string;
460
+ columns: string[];
461
+ isUnique: boolean;
462
+ }>;
463
+ foreignKeys: Record<string, {
464
+ onUpdate?: string | undefined;
465
+ onDelete?: string | undefined;
466
+ name: string;
467
+ tableFrom: string;
468
+ columnsFrom: string[];
469
+ tableTo: string;
470
+ columnsTo: string[];
471
+ }>;
472
+ schema: string;
473
+ compositePrimaryKeys: Record<string, {
474
+ name: string;
475
+ columns: string[];
476
+ }>;
477
+ uniqueConstraints: Record<string, {
478
+ name: string;
479
+ columns: string[];
480
+ nullsNotDistinct: boolean;
481
+ }>;
482
+ }, {
483
+ uniqueConstraints?: Record<string, {
484
+ name: string;
485
+ columns: string[];
486
+ nullsNotDistinct: boolean;
487
+ }> | undefined;
488
+ name: string;
489
+ columns: Record<string, {
490
+ isUnique?: any;
491
+ default?: any;
492
+ uniqueName?: string | undefined;
493
+ nullsNotDistinct?: boolean | undefined;
494
+ name: string;
495
+ type: string;
496
+ primaryKey: boolean;
497
+ notNull: boolean;
498
+ }>;
499
+ indexes: Record<string, {
500
+ name: string;
501
+ columns: string[];
502
+ isUnique: boolean;
503
+ }>;
504
+ foreignKeys: Record<string, {
505
+ onUpdate?: string | undefined;
506
+ onDelete?: string | undefined;
507
+ name: string;
508
+ tableFrom: string;
509
+ columnsFrom: string[];
510
+ tableTo: string;
511
+ columnsTo: string[];
512
+ }>;
513
+ schema: string;
514
+ compositePrimaryKeys: Record<string, {
515
+ name: string;
516
+ columns: string[];
517
+ }>;
518
+ }>>;
519
+ enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
520
+ name: import("zod").ZodString;
521
+ values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
522
+ }, "strict", import("zod").ZodTypeAny, {
523
+ name: string;
524
+ values: Record<string, string>;
525
+ }, {
526
+ name: string;
527
+ values: Record<string, string>;
528
+ }>>;
529
+ schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
530
+ _meta: import("zod").ZodObject<{
531
+ schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
532
+ tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
533
+ columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
534
+ }, "strip", import("zod").ZodTypeAny, {
535
+ columns: Record<string, string>;
536
+ tables: Record<string, string>;
537
+ schemas: Record<string, string>;
538
+ }, {
539
+ columns: Record<string, string>;
540
+ tables: Record<string, string>;
541
+ schemas: Record<string, string>;
542
+ }>;
543
+ internal: import("zod").ZodOptional<import("zod").ZodObject<{
544
+ tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodObject<{
545
+ columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodObject<{
546
+ isArray: import("zod").ZodOptional<import("zod").ZodBoolean>;
547
+ dimensions: import("zod").ZodOptional<import("zod").ZodNumber>;
548
+ rawType: import("zod").ZodOptional<import("zod").ZodString>;
549
+ }, "strip", import("zod").ZodTypeAny, {
550
+ isArray?: boolean | undefined;
551
+ dimensions?: number | undefined;
552
+ rawType?: string | undefined;
553
+ }, {
554
+ isArray?: boolean | undefined;
555
+ dimensions?: number | undefined;
556
+ rawType?: string | undefined;
557
+ }>>>;
558
+ }, "strip", import("zod").ZodTypeAny, {
559
+ columns: Record<string, {
560
+ isArray?: boolean | undefined;
561
+ dimensions?: number | undefined;
562
+ rawType?: string | undefined;
563
+ } | undefined>;
564
+ }, {
565
+ columns: Record<string, {
566
+ isArray?: boolean | undefined;
567
+ dimensions?: number | undefined;
568
+ rawType?: string | undefined;
569
+ } | undefined>;
570
+ }>>>;
571
+ }, "strip", import("zod").ZodTypeAny, {
572
+ tables: Record<string, {
573
+ columns: Record<string, {
574
+ isArray?: boolean | undefined;
575
+ dimensions?: number | undefined;
576
+ rawType?: string | undefined;
577
+ } | undefined>;
578
+ } | undefined>;
579
+ }, {
580
+ tables: Record<string, {
581
+ columns: Record<string, {
582
+ isArray?: boolean | undefined;
583
+ dimensions?: number | undefined;
584
+ rawType?: string | undefined;
585
+ } | undefined>;
586
+ } | undefined>;
587
+ }>>;
588
+ }, {
589
+ id: import("zod").ZodString;
590
+ prevId: import("zod").ZodString;
591
+ }>, "strip", import("zod").ZodTypeAny, {
592
+ internal?: {
593
+ tables: Record<string, {
594
+ columns: Record<string, {
595
+ isArray?: boolean | undefined;
596
+ dimensions?: number | undefined;
597
+ rawType?: string | undefined;
598
+ } | undefined>;
599
+ } | undefined>;
600
+ } | undefined;
601
+ id: string;
602
+ prevId: string;
603
+ version: "5";
604
+ dialect: "pg";
605
+ tables: Record<string, {
606
+ name: string;
607
+ columns: Record<string, {
608
+ isUnique?: any;
609
+ default?: any;
610
+ uniqueName?: string | undefined;
611
+ nullsNotDistinct?: boolean | undefined;
612
+ name: string;
613
+ type: string;
614
+ primaryKey: boolean;
615
+ notNull: boolean;
616
+ }>;
617
+ indexes: Record<string, {
618
+ name: string;
619
+ columns: string[];
620
+ isUnique: boolean;
621
+ }>;
622
+ foreignKeys: Record<string, {
623
+ onUpdate?: string | undefined;
624
+ onDelete?: string | undefined;
625
+ name: string;
626
+ tableFrom: string;
627
+ columnsFrom: string[];
628
+ tableTo: string;
629
+ columnsTo: string[];
630
+ }>;
631
+ schema: string;
632
+ compositePrimaryKeys: Record<string, {
633
+ name: string;
634
+ columns: string[];
635
+ }>;
636
+ uniqueConstraints: Record<string, {
637
+ name: string;
638
+ columns: string[];
639
+ nullsNotDistinct: boolean;
640
+ }>;
641
+ }>;
642
+ schemas: Record<string, string>;
643
+ _meta: {
644
+ columns: Record<string, string>;
645
+ tables: Record<string, string>;
646
+ schemas: Record<string, string>;
647
+ };
648
+ enums: Record<string, {
649
+ name: string;
650
+ values: Record<string, string>;
651
+ }>;
652
+ }, {
653
+ internal?: {
654
+ tables: Record<string, {
655
+ columns: Record<string, {
656
+ isArray?: boolean | undefined;
657
+ dimensions?: number | undefined;
658
+ rawType?: string | undefined;
659
+ } | undefined>;
660
+ } | undefined>;
661
+ } | undefined;
662
+ id: string;
663
+ prevId: string;
664
+ version: "5";
665
+ dialect: "pg";
666
+ tables: Record<string, {
667
+ uniqueConstraints?: Record<string, {
668
+ name: string;
669
+ columns: string[];
670
+ nullsNotDistinct: boolean;
671
+ }> | undefined;
672
+ name: string;
673
+ columns: Record<string, {
674
+ isUnique?: any;
675
+ default?: any;
676
+ uniqueName?: string | undefined;
677
+ nullsNotDistinct?: boolean | undefined;
678
+ name: string;
679
+ type: string;
680
+ primaryKey: boolean;
681
+ notNull: boolean;
682
+ }>;
683
+ indexes: Record<string, {
684
+ name: string;
685
+ columns: string[];
686
+ isUnique: boolean;
687
+ }>;
688
+ foreignKeys: Record<string, {
689
+ onUpdate?: string | undefined;
690
+ onDelete?: string | undefined;
691
+ name: string;
692
+ tableFrom: string;
693
+ columnsFrom: string[];
694
+ tableTo: string;
695
+ columnsTo: string[];
696
+ }>;
697
+ schema: string;
698
+ compositePrimaryKeys: Record<string, {
699
+ name: string;
700
+ columns: string[];
701
+ }>;
702
+ }>;
703
+ schemas: Record<string, string>;
704
+ _meta: {
705
+ columns: Record<string, string>;
706
+ tables: Record<string, string>;
707
+ schemas: Record<string, string>;
708
+ };
709
+ enums: Record<string, {
710
+ name: string;
711
+ values: Record<string, string>;
712
+ }>;
713
+ }>, import("zod").ZodObject<import("zod").extendShape<{
714
+ version: import("zod").ZodLiteral<"5">;
715
+ dialect: import("zod").ZodLiteral<"mysql">;
716
+ tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
717
+ name: import("zod").ZodString;
718
+ schema: import("zod").ZodOptional<import("zod").ZodString>;
719
+ columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
720
+ name: import("zod").ZodString;
721
+ type: import("zod").ZodString;
722
+ primaryKey: import("zod").ZodBoolean;
723
+ notNull: import("zod").ZodBoolean;
724
+ autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
725
+ default: import("zod").ZodOptional<import("zod").ZodAny>;
726
+ onUpdate: import("zod").ZodOptional<import("zod").ZodAny>;
727
+ }, "strict", import("zod").ZodTypeAny, {
728
+ default?: any;
729
+ onUpdate?: any;
730
+ autoincrement?: boolean | undefined;
731
+ name: string;
732
+ type: string;
733
+ primaryKey: boolean;
734
+ notNull: boolean;
735
+ }, {
736
+ default?: any;
737
+ onUpdate?: any;
738
+ autoincrement?: boolean | undefined;
739
+ name: string;
740
+ type: string;
741
+ primaryKey: boolean;
742
+ notNull: boolean;
743
+ }>>;
744
+ indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
745
+ name: import("zod").ZodString;
746
+ columns: import("zod").ZodArray<import("zod").ZodString, "many">;
747
+ isUnique: import("zod").ZodBoolean;
748
+ using: import("zod").ZodOptional<import("zod").ZodEnum<["btree", "hash"]>>;
749
+ algorithm: import("zod").ZodOptional<import("zod").ZodEnum<["default", "inplace", "copy"]>>;
750
+ lock: import("zod").ZodOptional<import("zod").ZodEnum<["default", "none", "shared", "exclusive"]>>;
751
+ }, "strict", import("zod").ZodTypeAny, {
752
+ using?: "btree" | "hash" | undefined;
753
+ algorithm?: "default" | "inplace" | "copy" | undefined;
754
+ lock?: "default" | "none" | "shared" | "exclusive" | undefined;
755
+ name: string;
756
+ columns: string[];
757
+ isUnique: boolean;
758
+ }, {
759
+ using?: "btree" | "hash" | undefined;
760
+ algorithm?: "default" | "inplace" | "copy" | undefined;
761
+ lock?: "default" | "none" | "shared" | "exclusive" | undefined;
762
+ name: string;
763
+ columns: string[];
764
+ isUnique: boolean;
765
+ }>>;
766
+ foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
767
+ name: import("zod").ZodString;
768
+ tableFrom: import("zod").ZodString;
769
+ columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
770
+ tableTo: import("zod").ZodString;
771
+ columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
772
+ onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
773
+ onDelete: import("zod").ZodOptional<import("zod").ZodString>;
774
+ }, "strict", import("zod").ZodTypeAny, {
775
+ onUpdate?: string | undefined;
776
+ onDelete?: string | undefined;
777
+ name: string;
778
+ tableFrom: string;
779
+ columnsFrom: string[];
780
+ tableTo: string;
781
+ columnsTo: string[];
782
+ }, {
783
+ onUpdate?: string | undefined;
784
+ onDelete?: string | undefined;
785
+ name: string;
786
+ tableFrom: string;
787
+ columnsFrom: string[];
788
+ tableTo: string;
789
+ columnsTo: string[];
790
+ }>>;
791
+ compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
792
+ name: import("zod").ZodString;
793
+ columns: import("zod").ZodArray<import("zod").ZodString, "many">;
794
+ }, "strict", import("zod").ZodTypeAny, {
795
+ name: string;
796
+ columns: string[];
797
+ }, {
798
+ name: string;
799
+ columns: string[];
800
+ }>>;
801
+ uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
802
+ name: import("zod").ZodString;
803
+ columns: import("zod").ZodArray<import("zod").ZodString, "many">;
804
+ }, "strict", import("zod").ZodTypeAny, {
805
+ name: string;
806
+ columns: string[];
807
+ }, {
808
+ name: string;
809
+ columns: string[];
810
+ }>>>;
811
+ }, "strict", import("zod").ZodTypeAny, {
812
+ schema?: string | undefined;
813
+ name: string;
814
+ columns: Record<string, {
815
+ default?: any;
816
+ onUpdate?: any;
817
+ autoincrement?: boolean | undefined;
818
+ name: string;
819
+ type: string;
820
+ primaryKey: boolean;
821
+ notNull: boolean;
822
+ }>;
823
+ indexes: Record<string, {
824
+ using?: "btree" | "hash" | undefined;
825
+ algorithm?: "default" | "inplace" | "copy" | undefined;
826
+ lock?: "default" | "none" | "shared" | "exclusive" | undefined;
827
+ name: string;
828
+ columns: string[];
829
+ isUnique: boolean;
830
+ }>;
831
+ foreignKeys: Record<string, {
832
+ onUpdate?: string | undefined;
833
+ onDelete?: string | undefined;
834
+ name: string;
835
+ tableFrom: string;
836
+ columnsFrom: string[];
837
+ tableTo: string;
838
+ columnsTo: string[];
839
+ }>;
840
+ compositePrimaryKeys: Record<string, {
841
+ name: string;
842
+ columns: string[];
843
+ }>;
844
+ uniqueConstraints: Record<string, {
845
+ name: string;
846
+ columns: string[];
847
+ }>;
848
+ }, {
849
+ schema?: string | undefined;
850
+ uniqueConstraints?: Record<string, {
851
+ name: string;
852
+ columns: string[];
853
+ }> | undefined;
854
+ name: string;
855
+ columns: Record<string, {
856
+ default?: any;
857
+ onUpdate?: any;
858
+ autoincrement?: boolean | undefined;
859
+ name: string;
860
+ type: string;
861
+ primaryKey: boolean;
862
+ notNull: boolean;
863
+ }>;
864
+ indexes: Record<string, {
865
+ using?: "btree" | "hash" | undefined;
866
+ algorithm?: "default" | "inplace" | "copy" | undefined;
867
+ lock?: "default" | "none" | "shared" | "exclusive" | undefined;
868
+ name: string;
869
+ columns: string[];
870
+ isUnique: boolean;
871
+ }>;
872
+ foreignKeys: Record<string, {
873
+ onUpdate?: string | undefined;
874
+ onDelete?: string | undefined;
875
+ name: string;
876
+ tableFrom: string;
877
+ columnsFrom: string[];
878
+ tableTo: string;
879
+ columnsTo: string[];
880
+ }>;
881
+ compositePrimaryKeys: Record<string, {
882
+ name: string;
883
+ columns: string[];
884
+ }>;
885
+ }>>;
886
+ schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
887
+ _meta: import("zod").ZodObject<{
888
+ schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
889
+ tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
890
+ columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
891
+ }, "strip", import("zod").ZodTypeAny, {
892
+ columns: Record<string, string>;
893
+ tables: Record<string, string>;
894
+ schemas: Record<string, string>;
895
+ }, {
896
+ columns: Record<string, string>;
897
+ tables: Record<string, string>;
898
+ schemas: Record<string, string>;
899
+ }>;
900
+ internal: import("zod").ZodOptional<import("zod").ZodObject<{
901
+ tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodObject<{
902
+ columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodObject<{
903
+ isDefaultAnExpression: import("zod").ZodOptional<import("zod").ZodBoolean>;
904
+ }, "strip", import("zod").ZodTypeAny, {
905
+ isDefaultAnExpression?: boolean | undefined;
906
+ }, {
907
+ isDefaultAnExpression?: boolean | undefined;
908
+ }>>>;
909
+ }, "strip", import("zod").ZodTypeAny, {
910
+ columns: Record<string, {
911
+ isDefaultAnExpression?: boolean | undefined;
912
+ } | undefined>;
913
+ }, {
914
+ columns: Record<string, {
915
+ isDefaultAnExpression?: boolean | undefined;
916
+ } | undefined>;
917
+ }>>>;
918
+ }, "strip", import("zod").ZodTypeAny, {
919
+ tables: Record<string, {
920
+ columns: Record<string, {
921
+ isDefaultAnExpression?: boolean | undefined;
922
+ } | undefined>;
923
+ } | undefined>;
924
+ }, {
925
+ tables: Record<string, {
926
+ columns: Record<string, {
927
+ isDefaultAnExpression?: boolean | undefined;
928
+ } | undefined>;
929
+ } | undefined>;
930
+ }>>;
931
+ }, {
932
+ id: import("zod").ZodString;
933
+ prevId: import("zod").ZodString;
934
+ }>, "strip", import("zod").ZodTypeAny, {
935
+ internal?: {
936
+ tables: Record<string, {
937
+ columns: Record<string, {
938
+ isDefaultAnExpression?: boolean | undefined;
939
+ } | undefined>;
940
+ } | undefined>;
941
+ } | undefined;
942
+ id: string;
943
+ prevId: string;
944
+ version: "5";
945
+ dialect: "mysql";
946
+ tables: Record<string, {
947
+ schema?: string | undefined;
948
+ name: string;
949
+ columns: Record<string, {
950
+ default?: any;
951
+ onUpdate?: any;
952
+ autoincrement?: boolean | undefined;
953
+ name: string;
954
+ type: string;
955
+ primaryKey: boolean;
956
+ notNull: boolean;
957
+ }>;
958
+ indexes: Record<string, {
959
+ using?: "btree" | "hash" | undefined;
960
+ algorithm?: "default" | "inplace" | "copy" | undefined;
961
+ lock?: "default" | "none" | "shared" | "exclusive" | undefined;
962
+ name: string;
963
+ columns: string[];
964
+ isUnique: boolean;
965
+ }>;
966
+ foreignKeys: Record<string, {
967
+ onUpdate?: string | undefined;
968
+ onDelete?: string | undefined;
969
+ name: string;
970
+ tableFrom: string;
971
+ columnsFrom: string[];
972
+ tableTo: string;
973
+ columnsTo: string[];
974
+ }>;
975
+ compositePrimaryKeys: Record<string, {
976
+ name: string;
977
+ columns: string[];
978
+ }>;
979
+ uniqueConstraints: Record<string, {
980
+ name: string;
981
+ columns: string[];
982
+ }>;
983
+ }>;
984
+ schemas: Record<string, string>;
985
+ _meta: {
986
+ columns: Record<string, string>;
987
+ tables: Record<string, string>;
988
+ schemas: Record<string, string>;
989
+ };
990
+ }, {
991
+ internal?: {
992
+ tables: Record<string, {
993
+ columns: Record<string, {
994
+ isDefaultAnExpression?: boolean | undefined;
995
+ } | undefined>;
996
+ } | undefined>;
997
+ } | undefined;
998
+ id: string;
999
+ prevId: string;
1000
+ version: "5";
1001
+ dialect: "mysql";
1002
+ tables: Record<string, {
1003
+ schema?: string | undefined;
1004
+ uniqueConstraints?: Record<string, {
1005
+ name: string;
1006
+ columns: string[];
1007
+ }> | undefined;
1008
+ name: string;
1009
+ columns: Record<string, {
1010
+ default?: any;
1011
+ onUpdate?: any;
1012
+ autoincrement?: boolean | undefined;
1013
+ name: string;
1014
+ type: string;
1015
+ primaryKey: boolean;
1016
+ notNull: boolean;
1017
+ }>;
1018
+ indexes: Record<string, {
1019
+ using?: "btree" | "hash" | undefined;
1020
+ algorithm?: "default" | "inplace" | "copy" | undefined;
1021
+ lock?: "default" | "none" | "shared" | "exclusive" | undefined;
1022
+ name: string;
1023
+ columns: string[];
1024
+ isUnique: boolean;
1025
+ }>;
1026
+ foreignKeys: Record<string, {
1027
+ onUpdate?: string | undefined;
1028
+ onDelete?: string | undefined;
1029
+ name: string;
1030
+ tableFrom: string;
1031
+ columnsFrom: string[];
1032
+ tableTo: string;
1033
+ columnsTo: string[];
1034
+ }>;
1035
+ compositePrimaryKeys: Record<string, {
1036
+ name: string;
1037
+ columns: string[];
1038
+ }>;
1039
+ }>;
1040
+ schemas: Record<string, string>;
1041
+ _meta: {
1042
+ columns: Record<string, string>;
1043
+ tables: Record<string, string>;
1044
+ schemas: Record<string, string>;
1045
+ };
1046
+ }>, import("zod").ZodObject<import("zod").extendShape<{
1047
+ version: import("zod").ZodLiteral<"5">;
1048
+ dialect: import("zod").ZodEnum<["sqlite"]>;
1049
+ tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1050
+ name: import("zod").ZodString;
1051
+ columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1052
+ name: import("zod").ZodString;
1053
+ type: import("zod").ZodString;
1054
+ primaryKey: import("zod").ZodBoolean;
1055
+ notNull: import("zod").ZodBoolean;
1056
+ autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
1057
+ default: import("zod").ZodOptional<import("zod").ZodAny>;
1058
+ }, "strict", import("zod").ZodTypeAny, {
1059
+ default?: any;
1060
+ autoincrement?: boolean | undefined;
1061
+ name: string;
1062
+ type: string;
1063
+ primaryKey: boolean;
1064
+ notNull: boolean;
1065
+ }, {
1066
+ default?: any;
1067
+ autoincrement?: boolean | undefined;
1068
+ name: string;
1069
+ type: string;
1070
+ primaryKey: boolean;
1071
+ notNull: boolean;
1072
+ }>>;
1073
+ indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1074
+ name: import("zod").ZodString;
1075
+ columns: import("zod").ZodArray<import("zod").ZodString, "many">;
1076
+ where: import("zod").ZodOptional<import("zod").ZodString>;
1077
+ isUnique: import("zod").ZodBoolean;
1078
+ }, "strict", import("zod").ZodTypeAny, {
1079
+ where?: string | undefined;
1080
+ name: string;
1081
+ columns: string[];
1082
+ isUnique: boolean;
1083
+ }, {
1084
+ where?: string | undefined;
1085
+ name: string;
1086
+ columns: string[];
1087
+ isUnique: boolean;
1088
+ }>>;
1089
+ foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1090
+ name: import("zod").ZodString;
1091
+ tableFrom: import("zod").ZodString;
1092
+ columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
1093
+ tableTo: import("zod").ZodString;
1094
+ columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
1095
+ onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
1096
+ onDelete: import("zod").ZodOptional<import("zod").ZodString>;
1097
+ }, "strict", import("zod").ZodTypeAny, {
1098
+ onUpdate?: string | undefined;
1099
+ onDelete?: string | undefined;
1100
+ name: string;
1101
+ tableFrom: string;
1102
+ columnsFrom: string[];
1103
+ tableTo: string;
1104
+ columnsTo: string[];
1105
+ }, {
1106
+ onUpdate?: string | undefined;
1107
+ onDelete?: string | undefined;
1108
+ name: string;
1109
+ tableFrom: string;
1110
+ columnsFrom: string[];
1111
+ tableTo: string;
1112
+ columnsTo: string[];
1113
+ }>>;
1114
+ compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1115
+ columns: import("zod").ZodArray<import("zod").ZodString, "many">;
1116
+ name: import("zod").ZodString;
1117
+ }, "strict", import("zod").ZodTypeAny, {
1118
+ name: string;
1119
+ columns: string[];
1120
+ }, {
1121
+ name: string;
1122
+ columns: string[];
1123
+ }>>;
1124
+ uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1125
+ name: import("zod").ZodString;
1126
+ columns: import("zod").ZodArray<import("zod").ZodString, "many">;
1127
+ }, "strict", import("zod").ZodTypeAny, {
1128
+ name: string;
1129
+ columns: string[];
1130
+ }, {
1131
+ name: string;
1132
+ columns: string[];
1133
+ }>>>;
1134
+ }, "strict", import("zod").ZodTypeAny, {
1135
+ name: string;
1136
+ columns: Record<string, {
1137
+ default?: any;
1138
+ autoincrement?: boolean | undefined;
1139
+ name: string;
1140
+ type: string;
1141
+ primaryKey: boolean;
1142
+ notNull: boolean;
1143
+ }>;
1144
+ indexes: Record<string, {
1145
+ where?: string | undefined;
1146
+ name: string;
1147
+ columns: string[];
1148
+ isUnique: boolean;
1149
+ }>;
1150
+ foreignKeys: Record<string, {
1151
+ onUpdate?: string | undefined;
1152
+ onDelete?: string | undefined;
1153
+ name: string;
1154
+ tableFrom: string;
1155
+ columnsFrom: string[];
1156
+ tableTo: string;
1157
+ columnsTo: string[];
1158
+ }>;
1159
+ compositePrimaryKeys: Record<string, {
1160
+ name: string;
1161
+ columns: string[];
1162
+ }>;
1163
+ uniqueConstraints: Record<string, {
1164
+ name: string;
1165
+ columns: string[];
1166
+ }>;
1167
+ }, {
1168
+ uniqueConstraints?: Record<string, {
1169
+ name: string;
1170
+ columns: string[];
1171
+ }> | undefined;
1172
+ name: string;
1173
+ columns: Record<string, {
1174
+ default?: any;
1175
+ autoincrement?: boolean | undefined;
1176
+ name: string;
1177
+ type: string;
1178
+ primaryKey: boolean;
1179
+ notNull: boolean;
1180
+ }>;
1181
+ indexes: Record<string, {
1182
+ where?: string | undefined;
1183
+ name: string;
1184
+ columns: string[];
1185
+ isUnique: boolean;
1186
+ }>;
1187
+ foreignKeys: Record<string, {
1188
+ onUpdate?: string | undefined;
1189
+ onDelete?: string | undefined;
1190
+ name: string;
1191
+ tableFrom: string;
1192
+ columnsFrom: string[];
1193
+ tableTo: string;
1194
+ columnsTo: string[];
1195
+ }>;
1196
+ compositePrimaryKeys: Record<string, {
1197
+ name: string;
1198
+ columns: string[];
1199
+ }>;
1200
+ }>>;
1201
+ enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
1202
+ _meta: import("zod").ZodObject<{
1203
+ tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1204
+ columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1205
+ }, "strip", import("zod").ZodTypeAny, {
1206
+ columns: Record<string, string>;
1207
+ tables: Record<string, string>;
1208
+ }, {
1209
+ columns: Record<string, string>;
1210
+ tables: Record<string, string>;
1211
+ }>;
1212
+ }, {
1213
+ id: import("zod").ZodString;
1214
+ prevId: import("zod").ZodString;
1215
+ }>, "strict", import("zod").ZodTypeAny, {
1216
+ id: string;
1217
+ prevId: string;
1218
+ version: "5";
1219
+ dialect: "sqlite";
1220
+ tables: Record<string, {
1221
+ name: string;
1222
+ columns: Record<string, {
1223
+ default?: any;
1224
+ autoincrement?: boolean | undefined;
1225
+ name: string;
1226
+ type: string;
1227
+ primaryKey: boolean;
1228
+ notNull: boolean;
1229
+ }>;
1230
+ indexes: Record<string, {
1231
+ where?: string | undefined;
1232
+ name: string;
1233
+ columns: string[];
1234
+ isUnique: boolean;
1235
+ }>;
1236
+ foreignKeys: Record<string, {
1237
+ onUpdate?: string | undefined;
1238
+ onDelete?: string | undefined;
1239
+ name: string;
1240
+ tableFrom: string;
1241
+ columnsFrom: string[];
1242
+ tableTo: string;
1243
+ columnsTo: string[];
1244
+ }>;
1245
+ compositePrimaryKeys: Record<string, {
1246
+ name: string;
1247
+ columns: string[];
1248
+ }>;
1249
+ uniqueConstraints: Record<string, {
1250
+ name: string;
1251
+ columns: string[];
1252
+ }>;
1253
+ }>;
1254
+ _meta: {
1255
+ columns: Record<string, string>;
1256
+ tables: Record<string, string>;
1257
+ };
1258
+ enums: {};
1259
+ }, {
1260
+ id: string;
1261
+ prevId: string;
1262
+ version: "5";
1263
+ dialect: "sqlite";
1264
+ tables: Record<string, {
1265
+ uniqueConstraints?: Record<string, {
1266
+ name: string;
1267
+ columns: string[];
1268
+ }> | undefined;
1269
+ name: string;
1270
+ columns: Record<string, {
1271
+ default?: any;
1272
+ autoincrement?: boolean | undefined;
1273
+ name: string;
1274
+ type: string;
1275
+ primaryKey: boolean;
1276
+ notNull: boolean;
1277
+ }>;
1278
+ indexes: Record<string, {
1279
+ where?: string | undefined;
1280
+ name: string;
1281
+ columns: string[];
1282
+ isUnique: boolean;
1283
+ }>;
1284
+ foreignKeys: Record<string, {
1285
+ onUpdate?: string | undefined;
1286
+ onDelete?: string | undefined;
1287
+ name: string;
1288
+ tableFrom: string;
1289
+ columnsFrom: string[];
1290
+ tableTo: string;
1291
+ columnsTo: string[];
1292
+ }>;
1293
+ compositePrimaryKeys: Record<string, {
1294
+ name: string;
1295
+ columns: string[];
1296
+ }>;
1297
+ }>;
1298
+ _meta: {
1299
+ columns: Record<string, string>;
1300
+ tables: Record<string, string>;
1301
+ };
1302
+ enums: {};
1303
+ }>]>;
1304
+ export type CommonSquashedSchema = TypeOf<typeof commonSquashedSchema>;
1305
+ export type CommonSchema = TypeOf<typeof commonSchema>;
1306
+ export {};