drizzle-kit 0.20.17-a2979a1 → 0.20.17-ab24478

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. package/bin.cjs +34345 -27210
  2. package/index.d.mts +30 -60
  3. package/index.d.ts +30 -60
  4. package/package.json +5 -16
  5. package/payload.d.mts +1052 -18
  6. package/payload.d.ts +1052 -18
  7. package/payload.js +19123 -16808
  8. package/payload.mjs +19150 -16817
  9. package/utils-studio.js +41 -20
  10. package/utils-studio.mjs +41 -20
  11. package/utils.js +30 -14
  12. package/utils.mjs +30 -14
  13. package/@types/utils.d.ts +0 -12
  14. package/cli/commands/migrate.d.ts +0 -287
  15. package/cli/commands/mysqlIntrospect.d.ts +0 -50
  16. package/cli/commands/mysqlPushUtils.d.ts +0 -14
  17. package/cli/commands/pgIntrospect.d.ts +0 -59
  18. package/cli/commands/pgPushUtils.d.ts +0 -11
  19. package/cli/commands/sqliteIntrospect.d.ts +0 -103
  20. package/cli/commands/sqlitePushUtils.d.ts +0 -15
  21. package/cli/commands/utils.d.ts +0 -58
  22. package/cli/connections.d.ts +0 -13
  23. package/cli/selector-ui.d.ts +0 -13
  24. package/cli/utils.d.ts +0 -13
  25. package/cli/validations/cli.d.ts +0 -169
  26. package/cli/validations/common.d.ts +0 -214
  27. package/cli/validations/mysql.d.ts +0 -29
  28. package/cli/validations/outputs.d.ts +0 -42
  29. package/cli/validations/pg.d.ts +0 -46
  30. package/cli/validations/sqlite.d.ts +0 -22
  31. package/cli/views.d.ts +0 -63
  32. package/global.d.ts +0 -6
  33. package/introspect-sqlite.d.ts +0 -10
  34. package/jsonDiffer.d.ts +0 -61
  35. package/jsonStatements.d.ts +0 -376
  36. package/migrationPreparator.d.ts +0 -35
  37. package/schemaValidator.d.ts +0 -1316
  38. package/serializer/index.d.ts +0 -9
  39. package/serializer/mysqlImports.d.ts +0 -7
  40. package/serializer/mysqlSchema.d.ts +0 -4650
  41. package/serializer/mysqlSerializer.d.ts +0 -7
  42. package/serializer/pgImports.d.ts +0 -11
  43. package/serializer/pgSchema.d.ts +0 -4792
  44. package/serializer/pgSerializer.d.ts +0 -7
  45. package/serializer/schemaToDrizzle.d.ts +0 -7
  46. package/serializer/sqliteImports.d.ts +0 -7
  47. package/serializer/sqliteSchema.d.ts +0 -2801
  48. package/serializer/sqliteSerializer.d.ts +0 -6
  49. package/serializer/studio.d.ts +0 -51
  50. package/snapshotsDiffer.d.ts +0 -3937
  51. package/sqlgenerator.d.ts +0 -33
  52. package/utils/words.d.ts +0 -7
  53. package/utils-studio.d.mts +0 -4
  54. package/utils-studio.d.ts +0 -4
  55. package/utils.d.ts +0 -78
@@ -1,2801 +0,0 @@
1
- import { TypeOf } from "zod";
2
- declare const index: import("zod").ZodObject<{
3
- name: import("zod").ZodString;
4
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
5
- where: import("zod").ZodOptional<import("zod").ZodString>;
6
- isUnique: import("zod").ZodBoolean;
7
- }, "strict", import("zod").ZodTypeAny, {
8
- name: string;
9
- columns: string[];
10
- isUnique: boolean;
11
- where?: string | undefined;
12
- }, {
13
- name: string;
14
- columns: string[];
15
- isUnique: boolean;
16
- where?: string | undefined;
17
- }>;
18
- declare const fk: import("zod").ZodObject<{
19
- name: import("zod").ZodString;
20
- tableFrom: import("zod").ZodString;
21
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
22
- tableTo: import("zod").ZodString;
23
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
24
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
25
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
26
- }, "strict", import("zod").ZodTypeAny, {
27
- name: string;
28
- tableFrom: string;
29
- columnsFrom: string[];
30
- tableTo: string;
31
- columnsTo: string[];
32
- onUpdate?: string | undefined;
33
- onDelete?: string | undefined;
34
- }, {
35
- name: string;
36
- tableFrom: string;
37
- columnsFrom: string[];
38
- tableTo: string;
39
- columnsTo: string[];
40
- onUpdate?: string | undefined;
41
- onDelete?: string | undefined;
42
- }>;
43
- declare const compositePK: import("zod").ZodObject<{
44
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
45
- name: import("zod").ZodOptional<import("zod").ZodString>;
46
- }, "strict", import("zod").ZodTypeAny, {
47
- columns: string[];
48
- name?: string | undefined;
49
- }, {
50
- columns: string[];
51
- name?: string | undefined;
52
- }>;
53
- declare const column: import("zod").ZodObject<{
54
- name: import("zod").ZodString;
55
- type: import("zod").ZodString;
56
- primaryKey: import("zod").ZodBoolean;
57
- notNull: import("zod").ZodBoolean;
58
- autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
59
- default: import("zod").ZodOptional<import("zod").ZodAny>;
60
- }, "strict", import("zod").ZodTypeAny, {
61
- name: string;
62
- type: string;
63
- primaryKey: boolean;
64
- notNull: boolean;
65
- default?: any;
66
- autoincrement?: boolean | undefined;
67
- }, {
68
- name: string;
69
- type: string;
70
- primaryKey: boolean;
71
- notNull: boolean;
72
- default?: any;
73
- autoincrement?: boolean | undefined;
74
- }>;
75
- declare const uniqueConstraint: import("zod").ZodObject<{
76
- name: import("zod").ZodString;
77
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
78
- }, "strict", import("zod").ZodTypeAny, {
79
- name: string;
80
- columns: string[];
81
- }, {
82
- name: string;
83
- columns: string[];
84
- }>;
85
- declare const table: import("zod").ZodObject<{
86
- name: import("zod").ZodString;
87
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
88
- name: import("zod").ZodString;
89
- type: import("zod").ZodString;
90
- primaryKey: import("zod").ZodBoolean;
91
- notNull: import("zod").ZodBoolean;
92
- autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
93
- default: import("zod").ZodOptional<import("zod").ZodAny>;
94
- }, "strict", import("zod").ZodTypeAny, {
95
- name: string;
96
- type: string;
97
- primaryKey: boolean;
98
- notNull: boolean;
99
- default?: any;
100
- autoincrement?: boolean | undefined;
101
- }, {
102
- name: string;
103
- type: string;
104
- primaryKey: boolean;
105
- notNull: boolean;
106
- default?: any;
107
- autoincrement?: boolean | undefined;
108
- }>>;
109
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
110
- name: import("zod").ZodString;
111
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
112
- where: import("zod").ZodOptional<import("zod").ZodString>;
113
- isUnique: import("zod").ZodBoolean;
114
- }, "strict", import("zod").ZodTypeAny, {
115
- name: string;
116
- columns: string[];
117
- isUnique: boolean;
118
- where?: string | undefined;
119
- }, {
120
- name: string;
121
- columns: string[];
122
- isUnique: boolean;
123
- where?: string | undefined;
124
- }>>;
125
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
126
- name: import("zod").ZodString;
127
- tableFrom: import("zod").ZodString;
128
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
129
- tableTo: import("zod").ZodString;
130
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
131
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
132
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
133
- }, "strict", import("zod").ZodTypeAny, {
134
- name: string;
135
- tableFrom: string;
136
- columnsFrom: string[];
137
- tableTo: string;
138
- columnsTo: string[];
139
- onUpdate?: string | undefined;
140
- onDelete?: string | undefined;
141
- }, {
142
- name: string;
143
- tableFrom: string;
144
- columnsFrom: string[];
145
- tableTo: string;
146
- columnsTo: string[];
147
- onUpdate?: string | undefined;
148
- onDelete?: string | undefined;
149
- }>>;
150
- compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
151
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
152
- name: import("zod").ZodOptional<import("zod").ZodString>;
153
- }, "strict", import("zod").ZodTypeAny, {
154
- columns: string[];
155
- name?: string | undefined;
156
- }, {
157
- columns: string[];
158
- name?: string | undefined;
159
- }>>;
160
- uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
161
- name: import("zod").ZodString;
162
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
163
- }, "strict", import("zod").ZodTypeAny, {
164
- name: string;
165
- columns: string[];
166
- }, {
167
- name: string;
168
- columns: string[];
169
- }>>>;
170
- }, "strict", import("zod").ZodTypeAny, {
171
- name: string;
172
- columns: Record<string, {
173
- name: string;
174
- type: string;
175
- primaryKey: boolean;
176
- notNull: boolean;
177
- default?: any;
178
- autoincrement?: boolean | undefined;
179
- }>;
180
- indexes: Record<string, {
181
- name: string;
182
- columns: string[];
183
- isUnique: boolean;
184
- where?: string | undefined;
185
- }>;
186
- foreignKeys: Record<string, {
187
- name: string;
188
- tableFrom: string;
189
- columnsFrom: string[];
190
- tableTo: string;
191
- columnsTo: string[];
192
- onUpdate?: string | undefined;
193
- onDelete?: string | undefined;
194
- }>;
195
- compositePrimaryKeys: Record<string, {
196
- columns: string[];
197
- name?: string | undefined;
198
- }>;
199
- uniqueConstraints: Record<string, {
200
- name: string;
201
- columns: string[];
202
- }>;
203
- }, {
204
- name: string;
205
- columns: Record<string, {
206
- name: string;
207
- type: string;
208
- primaryKey: boolean;
209
- notNull: boolean;
210
- default?: any;
211
- autoincrement?: boolean | undefined;
212
- }>;
213
- indexes: Record<string, {
214
- name: string;
215
- columns: string[];
216
- isUnique: boolean;
217
- where?: string | undefined;
218
- }>;
219
- foreignKeys: Record<string, {
220
- name: string;
221
- tableFrom: string;
222
- columnsFrom: string[];
223
- tableTo: string;
224
- columnsTo: string[];
225
- onUpdate?: string | undefined;
226
- onDelete?: string | undefined;
227
- }>;
228
- compositePrimaryKeys: Record<string, {
229
- columns: string[];
230
- name?: string | undefined;
231
- }>;
232
- uniqueConstraints?: Record<string, {
233
- name: string;
234
- columns: string[];
235
- }> | undefined;
236
- }>;
237
- declare const dialect: import("zod").ZodEnum<["sqlite"]>;
238
- export declare const schemaInternalV3: import("zod").ZodObject<{
239
- version: import("zod").ZodLiteral<"3">;
240
- dialect: import("zod").ZodEnum<["sqlite"]>;
241
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
242
- name: import("zod").ZodString;
243
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
244
- name: import("zod").ZodString;
245
- type: import("zod").ZodString;
246
- primaryKey: import("zod").ZodBoolean;
247
- notNull: import("zod").ZodBoolean;
248
- autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
249
- default: import("zod").ZodOptional<import("zod").ZodAny>;
250
- }, "strict", import("zod").ZodTypeAny, {
251
- name: string;
252
- type: string;
253
- primaryKey: boolean;
254
- notNull: boolean;
255
- default?: any;
256
- autoincrement?: boolean | undefined;
257
- }, {
258
- name: string;
259
- type: string;
260
- primaryKey: boolean;
261
- notNull: boolean;
262
- default?: any;
263
- autoincrement?: boolean | undefined;
264
- }>>;
265
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
266
- name: import("zod").ZodString;
267
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
268
- where: import("zod").ZodOptional<import("zod").ZodString>;
269
- isUnique: import("zod").ZodBoolean;
270
- }, "strict", import("zod").ZodTypeAny, {
271
- name: string;
272
- columns: string[];
273
- isUnique: boolean;
274
- where?: string | undefined;
275
- }, {
276
- name: string;
277
- columns: string[];
278
- isUnique: boolean;
279
- where?: string | undefined;
280
- }>>;
281
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
282
- name: import("zod").ZodString;
283
- tableFrom: import("zod").ZodString;
284
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
285
- tableTo: import("zod").ZodString;
286
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
287
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
288
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
289
- }, "strict", import("zod").ZodTypeAny, {
290
- name: string;
291
- tableFrom: string;
292
- columnsFrom: string[];
293
- tableTo: string;
294
- columnsTo: string[];
295
- onUpdate?: string | undefined;
296
- onDelete?: string | undefined;
297
- }, {
298
- name: string;
299
- tableFrom: string;
300
- columnsFrom: string[];
301
- tableTo: string;
302
- columnsTo: string[];
303
- onUpdate?: string | undefined;
304
- onDelete?: string | undefined;
305
- }>>;
306
- }, "strict", import("zod").ZodTypeAny, {
307
- name: string;
308
- columns: Record<string, {
309
- name: string;
310
- type: string;
311
- primaryKey: boolean;
312
- notNull: boolean;
313
- default?: any;
314
- autoincrement?: boolean | undefined;
315
- }>;
316
- indexes: Record<string, {
317
- name: string;
318
- columns: string[];
319
- isUnique: boolean;
320
- where?: string | undefined;
321
- }>;
322
- foreignKeys: Record<string, {
323
- name: string;
324
- tableFrom: string;
325
- columnsFrom: string[];
326
- tableTo: string;
327
- columnsTo: string[];
328
- onUpdate?: string | undefined;
329
- onDelete?: string | undefined;
330
- }>;
331
- }, {
332
- name: string;
333
- columns: Record<string, {
334
- name: string;
335
- type: string;
336
- primaryKey: boolean;
337
- notNull: boolean;
338
- default?: any;
339
- autoincrement?: boolean | undefined;
340
- }>;
341
- indexes: Record<string, {
342
- name: string;
343
- columns: string[];
344
- isUnique: boolean;
345
- where?: string | undefined;
346
- }>;
347
- foreignKeys: Record<string, {
348
- name: string;
349
- tableFrom: string;
350
- columnsFrom: string[];
351
- tableTo: string;
352
- columnsTo: string[];
353
- onUpdate?: string | undefined;
354
- onDelete?: string | undefined;
355
- }>;
356
- }>>;
357
- enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
358
- }, "strict", import("zod").ZodTypeAny, {
359
- tables: Record<string, {
360
- name: string;
361
- columns: Record<string, {
362
- name: string;
363
- type: string;
364
- primaryKey: boolean;
365
- notNull: boolean;
366
- default?: any;
367
- autoincrement?: boolean | undefined;
368
- }>;
369
- indexes: Record<string, {
370
- name: string;
371
- columns: string[];
372
- isUnique: boolean;
373
- where?: string | undefined;
374
- }>;
375
- foreignKeys: Record<string, {
376
- name: string;
377
- tableFrom: string;
378
- columnsFrom: string[];
379
- tableTo: string;
380
- columnsTo: string[];
381
- onUpdate?: string | undefined;
382
- onDelete?: string | undefined;
383
- }>;
384
- }>;
385
- version: "3";
386
- dialect: "sqlite";
387
- enums: {};
388
- }, {
389
- tables: Record<string, {
390
- name: string;
391
- columns: Record<string, {
392
- name: string;
393
- type: string;
394
- primaryKey: boolean;
395
- notNull: boolean;
396
- default?: any;
397
- autoincrement?: boolean | undefined;
398
- }>;
399
- indexes: Record<string, {
400
- name: string;
401
- columns: string[];
402
- isUnique: boolean;
403
- where?: string | undefined;
404
- }>;
405
- foreignKeys: Record<string, {
406
- name: string;
407
- tableFrom: string;
408
- columnsFrom: string[];
409
- tableTo: string;
410
- columnsTo: string[];
411
- onUpdate?: string | undefined;
412
- onDelete?: string | undefined;
413
- }>;
414
- }>;
415
- version: "3";
416
- dialect: "sqlite";
417
- enums: {};
418
- }>;
419
- export declare const schemaInternalV4: import("zod").ZodObject<{
420
- version: import("zod").ZodLiteral<"4">;
421
- dialect: import("zod").ZodEnum<["sqlite"]>;
422
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
423
- name: import("zod").ZodString;
424
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
425
- name: import("zod").ZodString;
426
- type: import("zod").ZodString;
427
- primaryKey: import("zod").ZodBoolean;
428
- notNull: import("zod").ZodBoolean;
429
- autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
430
- default: import("zod").ZodOptional<import("zod").ZodAny>;
431
- }, "strict", import("zod").ZodTypeAny, {
432
- name: string;
433
- type: string;
434
- primaryKey: boolean;
435
- notNull: boolean;
436
- default?: any;
437
- autoincrement?: boolean | undefined;
438
- }, {
439
- name: string;
440
- type: string;
441
- primaryKey: boolean;
442
- notNull: boolean;
443
- default?: any;
444
- autoincrement?: boolean | undefined;
445
- }>>;
446
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
447
- name: import("zod").ZodString;
448
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
449
- where: import("zod").ZodOptional<import("zod").ZodString>;
450
- isUnique: import("zod").ZodBoolean;
451
- }, "strict", import("zod").ZodTypeAny, {
452
- name: string;
453
- columns: string[];
454
- isUnique: boolean;
455
- where?: string | undefined;
456
- }, {
457
- name: string;
458
- columns: string[];
459
- isUnique: boolean;
460
- where?: string | undefined;
461
- }>>;
462
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
463
- name: import("zod").ZodString;
464
- tableFrom: import("zod").ZodString;
465
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
466
- tableTo: import("zod").ZodString;
467
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
468
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
469
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
470
- }, "strict", import("zod").ZodTypeAny, {
471
- name: string;
472
- tableFrom: string;
473
- columnsFrom: string[];
474
- tableTo: string;
475
- columnsTo: string[];
476
- onUpdate?: string | undefined;
477
- onDelete?: string | undefined;
478
- }, {
479
- name: string;
480
- tableFrom: string;
481
- columnsFrom: string[];
482
- tableTo: string;
483
- columnsTo: string[];
484
- onUpdate?: string | undefined;
485
- onDelete?: string | undefined;
486
- }>>;
487
- compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
488
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
489
- name: import("zod").ZodOptional<import("zod").ZodString>;
490
- }, "strict", import("zod").ZodTypeAny, {
491
- columns: string[];
492
- name?: string | undefined;
493
- }, {
494
- columns: string[];
495
- name?: string | undefined;
496
- }>>;
497
- uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
498
- name: import("zod").ZodString;
499
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
500
- }, "strict", import("zod").ZodTypeAny, {
501
- name: string;
502
- columns: string[];
503
- }, {
504
- name: string;
505
- columns: string[];
506
- }>>>;
507
- }, "strict", import("zod").ZodTypeAny, {
508
- name: string;
509
- columns: Record<string, {
510
- name: string;
511
- type: string;
512
- primaryKey: boolean;
513
- notNull: boolean;
514
- default?: any;
515
- autoincrement?: boolean | undefined;
516
- }>;
517
- indexes: Record<string, {
518
- name: string;
519
- columns: string[];
520
- isUnique: boolean;
521
- where?: string | undefined;
522
- }>;
523
- foreignKeys: Record<string, {
524
- name: string;
525
- tableFrom: string;
526
- columnsFrom: string[];
527
- tableTo: string;
528
- columnsTo: string[];
529
- onUpdate?: string | undefined;
530
- onDelete?: string | undefined;
531
- }>;
532
- compositePrimaryKeys: Record<string, {
533
- columns: string[];
534
- name?: string | undefined;
535
- }>;
536
- uniqueConstraints: Record<string, {
537
- name: string;
538
- columns: string[];
539
- }>;
540
- }, {
541
- name: string;
542
- columns: Record<string, {
543
- name: string;
544
- type: string;
545
- primaryKey: boolean;
546
- notNull: boolean;
547
- default?: any;
548
- autoincrement?: boolean | undefined;
549
- }>;
550
- indexes: Record<string, {
551
- name: string;
552
- columns: string[];
553
- isUnique: boolean;
554
- where?: string | undefined;
555
- }>;
556
- foreignKeys: Record<string, {
557
- name: string;
558
- tableFrom: string;
559
- columnsFrom: string[];
560
- tableTo: string;
561
- columnsTo: string[];
562
- onUpdate?: string | undefined;
563
- onDelete?: string | undefined;
564
- }>;
565
- compositePrimaryKeys: Record<string, {
566
- columns: string[];
567
- name?: string | undefined;
568
- }>;
569
- uniqueConstraints?: Record<string, {
570
- name: string;
571
- columns: string[];
572
- }> | undefined;
573
- }>>;
574
- enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
575
- }, "strict", import("zod").ZodTypeAny, {
576
- tables: Record<string, {
577
- name: string;
578
- columns: Record<string, {
579
- name: string;
580
- type: string;
581
- primaryKey: boolean;
582
- notNull: boolean;
583
- default?: any;
584
- autoincrement?: boolean | undefined;
585
- }>;
586
- indexes: Record<string, {
587
- name: string;
588
- columns: string[];
589
- isUnique: boolean;
590
- where?: string | undefined;
591
- }>;
592
- foreignKeys: Record<string, {
593
- name: string;
594
- tableFrom: string;
595
- columnsFrom: string[];
596
- tableTo: string;
597
- columnsTo: string[];
598
- onUpdate?: string | undefined;
599
- onDelete?: string | undefined;
600
- }>;
601
- compositePrimaryKeys: Record<string, {
602
- columns: string[];
603
- name?: string | undefined;
604
- }>;
605
- uniqueConstraints: Record<string, {
606
- name: string;
607
- columns: string[];
608
- }>;
609
- }>;
610
- version: "4";
611
- dialect: "sqlite";
612
- enums: {};
613
- }, {
614
- tables: Record<string, {
615
- name: string;
616
- columns: Record<string, {
617
- name: string;
618
- type: string;
619
- primaryKey: boolean;
620
- notNull: boolean;
621
- default?: any;
622
- autoincrement?: boolean | undefined;
623
- }>;
624
- indexes: Record<string, {
625
- name: string;
626
- columns: string[];
627
- isUnique: boolean;
628
- where?: string | undefined;
629
- }>;
630
- foreignKeys: Record<string, {
631
- name: string;
632
- tableFrom: string;
633
- columnsFrom: string[];
634
- tableTo: string;
635
- columnsTo: string[];
636
- onUpdate?: string | undefined;
637
- onDelete?: string | undefined;
638
- }>;
639
- compositePrimaryKeys: Record<string, {
640
- columns: string[];
641
- name?: string | undefined;
642
- }>;
643
- uniqueConstraints?: Record<string, {
644
- name: string;
645
- columns: string[];
646
- }> | undefined;
647
- }>;
648
- version: "4";
649
- dialect: "sqlite";
650
- enums: {};
651
- }>;
652
- export declare const schemaInternal: import("zod").ZodObject<{
653
- version: import("zod").ZodLiteral<"5">;
654
- dialect: import("zod").ZodEnum<["sqlite"]>;
655
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
656
- name: import("zod").ZodString;
657
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
658
- name: import("zod").ZodString;
659
- type: import("zod").ZodString;
660
- primaryKey: import("zod").ZodBoolean;
661
- notNull: import("zod").ZodBoolean;
662
- autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
663
- default: import("zod").ZodOptional<import("zod").ZodAny>;
664
- }, "strict", import("zod").ZodTypeAny, {
665
- name: string;
666
- type: string;
667
- primaryKey: boolean;
668
- notNull: boolean;
669
- default?: any;
670
- autoincrement?: boolean | undefined;
671
- }, {
672
- name: string;
673
- type: string;
674
- primaryKey: boolean;
675
- notNull: boolean;
676
- default?: any;
677
- autoincrement?: boolean | undefined;
678
- }>>;
679
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
680
- name: import("zod").ZodString;
681
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
682
- where: import("zod").ZodOptional<import("zod").ZodString>;
683
- isUnique: import("zod").ZodBoolean;
684
- }, "strict", import("zod").ZodTypeAny, {
685
- name: string;
686
- columns: string[];
687
- isUnique: boolean;
688
- where?: string | undefined;
689
- }, {
690
- name: string;
691
- columns: string[];
692
- isUnique: boolean;
693
- where?: string | undefined;
694
- }>>;
695
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
696
- name: import("zod").ZodString;
697
- tableFrom: import("zod").ZodString;
698
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
699
- tableTo: import("zod").ZodString;
700
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
701
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
702
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
703
- }, "strict", import("zod").ZodTypeAny, {
704
- name: string;
705
- tableFrom: string;
706
- columnsFrom: string[];
707
- tableTo: string;
708
- columnsTo: string[];
709
- onUpdate?: string | undefined;
710
- onDelete?: string | undefined;
711
- }, {
712
- name: string;
713
- tableFrom: string;
714
- columnsFrom: string[];
715
- tableTo: string;
716
- columnsTo: string[];
717
- onUpdate?: string | undefined;
718
- onDelete?: string | undefined;
719
- }>>;
720
- compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
721
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
722
- name: import("zod").ZodOptional<import("zod").ZodString>;
723
- }, "strict", import("zod").ZodTypeAny, {
724
- columns: string[];
725
- name?: string | undefined;
726
- }, {
727
- columns: string[];
728
- name?: string | undefined;
729
- }>>;
730
- uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
731
- name: import("zod").ZodString;
732
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
733
- }, "strict", import("zod").ZodTypeAny, {
734
- name: string;
735
- columns: string[];
736
- }, {
737
- name: string;
738
- columns: string[];
739
- }>>>;
740
- }, "strict", import("zod").ZodTypeAny, {
741
- name: string;
742
- columns: Record<string, {
743
- name: string;
744
- type: string;
745
- primaryKey: boolean;
746
- notNull: boolean;
747
- default?: any;
748
- autoincrement?: boolean | undefined;
749
- }>;
750
- indexes: Record<string, {
751
- name: string;
752
- columns: string[];
753
- isUnique: boolean;
754
- where?: string | undefined;
755
- }>;
756
- foreignKeys: Record<string, {
757
- name: string;
758
- tableFrom: string;
759
- columnsFrom: string[];
760
- tableTo: string;
761
- columnsTo: string[];
762
- onUpdate?: string | undefined;
763
- onDelete?: string | undefined;
764
- }>;
765
- compositePrimaryKeys: Record<string, {
766
- columns: string[];
767
- name?: string | undefined;
768
- }>;
769
- uniqueConstraints: Record<string, {
770
- name: string;
771
- columns: string[];
772
- }>;
773
- }, {
774
- name: string;
775
- columns: Record<string, {
776
- name: string;
777
- type: string;
778
- primaryKey: boolean;
779
- notNull: boolean;
780
- default?: any;
781
- autoincrement?: boolean | undefined;
782
- }>;
783
- indexes: Record<string, {
784
- name: string;
785
- columns: string[];
786
- isUnique: boolean;
787
- where?: string | undefined;
788
- }>;
789
- foreignKeys: Record<string, {
790
- name: string;
791
- tableFrom: string;
792
- columnsFrom: string[];
793
- tableTo: string;
794
- columnsTo: string[];
795
- onUpdate?: string | undefined;
796
- onDelete?: string | undefined;
797
- }>;
798
- compositePrimaryKeys: Record<string, {
799
- columns: string[];
800
- name?: string | undefined;
801
- }>;
802
- uniqueConstraints?: Record<string, {
803
- name: string;
804
- columns: string[];
805
- }> | undefined;
806
- }>>;
807
- enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
808
- _meta: import("zod").ZodObject<{
809
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
810
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
811
- }, "strip", import("zod").ZodTypeAny, {
812
- columns: Record<string, string>;
813
- tables: Record<string, string>;
814
- }, {
815
- columns: Record<string, string>;
816
- tables: Record<string, string>;
817
- }>;
818
- }, "strict", import("zod").ZodTypeAny, {
819
- tables: Record<string, {
820
- name: string;
821
- columns: Record<string, {
822
- name: string;
823
- type: string;
824
- primaryKey: boolean;
825
- notNull: boolean;
826
- default?: any;
827
- autoincrement?: boolean | undefined;
828
- }>;
829
- indexes: Record<string, {
830
- name: string;
831
- columns: string[];
832
- isUnique: boolean;
833
- where?: string | undefined;
834
- }>;
835
- foreignKeys: Record<string, {
836
- name: string;
837
- tableFrom: string;
838
- columnsFrom: string[];
839
- tableTo: string;
840
- columnsTo: string[];
841
- onUpdate?: string | undefined;
842
- onDelete?: string | undefined;
843
- }>;
844
- compositePrimaryKeys: Record<string, {
845
- columns: string[];
846
- name?: string | undefined;
847
- }>;
848
- uniqueConstraints: Record<string, {
849
- name: string;
850
- columns: string[];
851
- }>;
852
- }>;
853
- version: "5";
854
- dialect: "sqlite";
855
- _meta: {
856
- columns: Record<string, string>;
857
- tables: Record<string, string>;
858
- };
859
- enums: {};
860
- }, {
861
- tables: Record<string, {
862
- name: string;
863
- columns: Record<string, {
864
- name: string;
865
- type: string;
866
- primaryKey: boolean;
867
- notNull: boolean;
868
- default?: any;
869
- autoincrement?: boolean | undefined;
870
- }>;
871
- indexes: Record<string, {
872
- name: string;
873
- columns: string[];
874
- isUnique: boolean;
875
- where?: string | undefined;
876
- }>;
877
- foreignKeys: Record<string, {
878
- name: string;
879
- tableFrom: string;
880
- columnsFrom: string[];
881
- tableTo: string;
882
- columnsTo: string[];
883
- onUpdate?: string | undefined;
884
- onDelete?: string | undefined;
885
- }>;
886
- compositePrimaryKeys: Record<string, {
887
- columns: string[];
888
- name?: string | undefined;
889
- }>;
890
- uniqueConstraints?: Record<string, {
891
- name: string;
892
- columns: string[];
893
- }> | undefined;
894
- }>;
895
- version: "5";
896
- dialect: "sqlite";
897
- _meta: {
898
- columns: Record<string, string>;
899
- tables: Record<string, string>;
900
- };
901
- enums: {};
902
- }>;
903
- export declare const schemaV3: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
904
- version: import("zod").ZodLiteral<"3">;
905
- dialect: import("zod").ZodEnum<["sqlite"]>;
906
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
907
- name: import("zod").ZodString;
908
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
909
- name: import("zod").ZodString;
910
- type: import("zod").ZodString;
911
- primaryKey: import("zod").ZodBoolean;
912
- notNull: import("zod").ZodBoolean;
913
- autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
914
- default: import("zod").ZodOptional<import("zod").ZodAny>;
915
- }, "strict", import("zod").ZodTypeAny, {
916
- name: string;
917
- type: string;
918
- primaryKey: boolean;
919
- notNull: boolean;
920
- default?: any;
921
- autoincrement?: boolean | undefined;
922
- }, {
923
- name: string;
924
- type: string;
925
- primaryKey: boolean;
926
- notNull: boolean;
927
- default?: any;
928
- autoincrement?: boolean | undefined;
929
- }>>;
930
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
931
- name: import("zod").ZodString;
932
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
933
- where: import("zod").ZodOptional<import("zod").ZodString>;
934
- isUnique: import("zod").ZodBoolean;
935
- }, "strict", import("zod").ZodTypeAny, {
936
- name: string;
937
- columns: string[];
938
- isUnique: boolean;
939
- where?: string | undefined;
940
- }, {
941
- name: string;
942
- columns: string[];
943
- isUnique: boolean;
944
- where?: string | undefined;
945
- }>>;
946
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
947
- name: import("zod").ZodString;
948
- tableFrom: import("zod").ZodString;
949
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
950
- tableTo: import("zod").ZodString;
951
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
952
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
953
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
954
- }, "strict", import("zod").ZodTypeAny, {
955
- name: string;
956
- tableFrom: string;
957
- columnsFrom: string[];
958
- tableTo: string;
959
- columnsTo: string[];
960
- onUpdate?: string | undefined;
961
- onDelete?: string | undefined;
962
- }, {
963
- name: string;
964
- tableFrom: string;
965
- columnsFrom: string[];
966
- tableTo: string;
967
- columnsTo: string[];
968
- onUpdate?: string | undefined;
969
- onDelete?: string | undefined;
970
- }>>;
971
- }, "strict", import("zod").ZodTypeAny, {
972
- name: string;
973
- columns: Record<string, {
974
- name: string;
975
- type: string;
976
- primaryKey: boolean;
977
- notNull: boolean;
978
- default?: any;
979
- autoincrement?: boolean | undefined;
980
- }>;
981
- indexes: Record<string, {
982
- name: string;
983
- columns: string[];
984
- isUnique: boolean;
985
- where?: string | undefined;
986
- }>;
987
- foreignKeys: Record<string, {
988
- name: string;
989
- tableFrom: string;
990
- columnsFrom: string[];
991
- tableTo: string;
992
- columnsTo: string[];
993
- onUpdate?: string | undefined;
994
- onDelete?: string | undefined;
995
- }>;
996
- }, {
997
- name: string;
998
- columns: Record<string, {
999
- name: string;
1000
- type: string;
1001
- primaryKey: boolean;
1002
- notNull: boolean;
1003
- default?: any;
1004
- autoincrement?: boolean | undefined;
1005
- }>;
1006
- indexes: Record<string, {
1007
- name: string;
1008
- columns: string[];
1009
- isUnique: boolean;
1010
- where?: string | undefined;
1011
- }>;
1012
- foreignKeys: Record<string, {
1013
- name: string;
1014
- tableFrom: string;
1015
- columnsFrom: string[];
1016
- tableTo: string;
1017
- columnsTo: string[];
1018
- onUpdate?: string | undefined;
1019
- onDelete?: string | undefined;
1020
- }>;
1021
- }>>;
1022
- enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
1023
- }, {
1024
- id: import("zod").ZodString;
1025
- prevId: import("zod").ZodString;
1026
- }>, "strict", import("zod").ZodTypeAny, {
1027
- tables: Record<string, {
1028
- name: string;
1029
- columns: Record<string, {
1030
- name: string;
1031
- type: string;
1032
- primaryKey: boolean;
1033
- notNull: boolean;
1034
- default?: any;
1035
- autoincrement?: boolean | undefined;
1036
- }>;
1037
- indexes: Record<string, {
1038
- name: string;
1039
- columns: string[];
1040
- isUnique: boolean;
1041
- where?: string | undefined;
1042
- }>;
1043
- foreignKeys: Record<string, {
1044
- name: string;
1045
- tableFrom: string;
1046
- columnsFrom: string[];
1047
- tableTo: string;
1048
- columnsTo: string[];
1049
- onUpdate?: string | undefined;
1050
- onDelete?: string | undefined;
1051
- }>;
1052
- }>;
1053
- id: string;
1054
- prevId: string;
1055
- version: "3";
1056
- dialect: "sqlite";
1057
- enums: {};
1058
- }, {
1059
- tables: Record<string, {
1060
- name: string;
1061
- columns: Record<string, {
1062
- name: string;
1063
- type: string;
1064
- primaryKey: boolean;
1065
- notNull: boolean;
1066
- default?: any;
1067
- autoincrement?: boolean | undefined;
1068
- }>;
1069
- indexes: Record<string, {
1070
- name: string;
1071
- columns: string[];
1072
- isUnique: boolean;
1073
- where?: string | undefined;
1074
- }>;
1075
- foreignKeys: Record<string, {
1076
- name: string;
1077
- tableFrom: string;
1078
- columnsFrom: string[];
1079
- tableTo: string;
1080
- columnsTo: string[];
1081
- onUpdate?: string | undefined;
1082
- onDelete?: string | undefined;
1083
- }>;
1084
- }>;
1085
- id: string;
1086
- prevId: string;
1087
- version: "3";
1088
- dialect: "sqlite";
1089
- enums: {};
1090
- }>;
1091
- export declare const schemaV4: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
1092
- version: import("zod").ZodLiteral<"4">;
1093
- dialect: import("zod").ZodEnum<["sqlite"]>;
1094
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1095
- name: import("zod").ZodString;
1096
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1097
- name: import("zod").ZodString;
1098
- type: import("zod").ZodString;
1099
- primaryKey: import("zod").ZodBoolean;
1100
- notNull: import("zod").ZodBoolean;
1101
- autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
1102
- default: import("zod").ZodOptional<import("zod").ZodAny>;
1103
- }, "strict", import("zod").ZodTypeAny, {
1104
- name: string;
1105
- type: string;
1106
- primaryKey: boolean;
1107
- notNull: boolean;
1108
- default?: any;
1109
- autoincrement?: boolean | undefined;
1110
- }, {
1111
- name: string;
1112
- type: string;
1113
- primaryKey: boolean;
1114
- notNull: boolean;
1115
- default?: any;
1116
- autoincrement?: boolean | undefined;
1117
- }>>;
1118
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1119
- name: import("zod").ZodString;
1120
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
1121
- where: import("zod").ZodOptional<import("zod").ZodString>;
1122
- isUnique: import("zod").ZodBoolean;
1123
- }, "strict", import("zod").ZodTypeAny, {
1124
- name: string;
1125
- columns: string[];
1126
- isUnique: boolean;
1127
- where?: string | undefined;
1128
- }, {
1129
- name: string;
1130
- columns: string[];
1131
- isUnique: boolean;
1132
- where?: string | undefined;
1133
- }>>;
1134
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1135
- name: import("zod").ZodString;
1136
- tableFrom: import("zod").ZodString;
1137
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
1138
- tableTo: import("zod").ZodString;
1139
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
1140
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
1141
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
1142
- }, "strict", import("zod").ZodTypeAny, {
1143
- name: string;
1144
- tableFrom: string;
1145
- columnsFrom: string[];
1146
- tableTo: string;
1147
- columnsTo: string[];
1148
- onUpdate?: string | undefined;
1149
- onDelete?: string | undefined;
1150
- }, {
1151
- name: string;
1152
- tableFrom: string;
1153
- columnsFrom: string[];
1154
- tableTo: string;
1155
- columnsTo: string[];
1156
- onUpdate?: string | undefined;
1157
- onDelete?: string | undefined;
1158
- }>>;
1159
- compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1160
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
1161
- name: import("zod").ZodOptional<import("zod").ZodString>;
1162
- }, "strict", import("zod").ZodTypeAny, {
1163
- columns: string[];
1164
- name?: string | undefined;
1165
- }, {
1166
- columns: string[];
1167
- name?: string | undefined;
1168
- }>>;
1169
- uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1170
- name: import("zod").ZodString;
1171
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
1172
- }, "strict", import("zod").ZodTypeAny, {
1173
- name: string;
1174
- columns: string[];
1175
- }, {
1176
- name: string;
1177
- columns: string[];
1178
- }>>>;
1179
- }, "strict", import("zod").ZodTypeAny, {
1180
- name: string;
1181
- columns: Record<string, {
1182
- name: string;
1183
- type: string;
1184
- primaryKey: boolean;
1185
- notNull: boolean;
1186
- default?: any;
1187
- autoincrement?: boolean | undefined;
1188
- }>;
1189
- indexes: Record<string, {
1190
- name: string;
1191
- columns: string[];
1192
- isUnique: boolean;
1193
- where?: string | undefined;
1194
- }>;
1195
- foreignKeys: Record<string, {
1196
- name: string;
1197
- tableFrom: string;
1198
- columnsFrom: string[];
1199
- tableTo: string;
1200
- columnsTo: string[];
1201
- onUpdate?: string | undefined;
1202
- onDelete?: string | undefined;
1203
- }>;
1204
- compositePrimaryKeys: Record<string, {
1205
- columns: string[];
1206
- name?: string | undefined;
1207
- }>;
1208
- uniqueConstraints: Record<string, {
1209
- name: string;
1210
- columns: string[];
1211
- }>;
1212
- }, {
1213
- name: string;
1214
- columns: Record<string, {
1215
- name: string;
1216
- type: string;
1217
- primaryKey: boolean;
1218
- notNull: boolean;
1219
- default?: any;
1220
- autoincrement?: boolean | undefined;
1221
- }>;
1222
- indexes: Record<string, {
1223
- name: string;
1224
- columns: string[];
1225
- isUnique: boolean;
1226
- where?: string | undefined;
1227
- }>;
1228
- foreignKeys: Record<string, {
1229
- name: string;
1230
- tableFrom: string;
1231
- columnsFrom: string[];
1232
- tableTo: string;
1233
- columnsTo: string[];
1234
- onUpdate?: string | undefined;
1235
- onDelete?: string | undefined;
1236
- }>;
1237
- compositePrimaryKeys: Record<string, {
1238
- columns: string[];
1239
- name?: string | undefined;
1240
- }>;
1241
- uniqueConstraints?: Record<string, {
1242
- name: string;
1243
- columns: string[];
1244
- }> | undefined;
1245
- }>>;
1246
- enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
1247
- }, {
1248
- id: import("zod").ZodString;
1249
- prevId: import("zod").ZodString;
1250
- }>, "strict", import("zod").ZodTypeAny, {
1251
- tables: Record<string, {
1252
- name: string;
1253
- columns: Record<string, {
1254
- name: string;
1255
- type: string;
1256
- primaryKey: boolean;
1257
- notNull: boolean;
1258
- default?: any;
1259
- autoincrement?: boolean | undefined;
1260
- }>;
1261
- indexes: Record<string, {
1262
- name: string;
1263
- columns: string[];
1264
- isUnique: boolean;
1265
- where?: string | undefined;
1266
- }>;
1267
- foreignKeys: Record<string, {
1268
- name: string;
1269
- tableFrom: string;
1270
- columnsFrom: string[];
1271
- tableTo: string;
1272
- columnsTo: string[];
1273
- onUpdate?: string | undefined;
1274
- onDelete?: string | undefined;
1275
- }>;
1276
- compositePrimaryKeys: Record<string, {
1277
- columns: string[];
1278
- name?: string | undefined;
1279
- }>;
1280
- uniqueConstraints: Record<string, {
1281
- name: string;
1282
- columns: string[];
1283
- }>;
1284
- }>;
1285
- id: string;
1286
- prevId: string;
1287
- version: "4";
1288
- dialect: "sqlite";
1289
- enums: {};
1290
- }, {
1291
- tables: Record<string, {
1292
- name: string;
1293
- columns: Record<string, {
1294
- name: string;
1295
- type: string;
1296
- primaryKey: boolean;
1297
- notNull: boolean;
1298
- default?: any;
1299
- autoincrement?: boolean | undefined;
1300
- }>;
1301
- indexes: Record<string, {
1302
- name: string;
1303
- columns: string[];
1304
- isUnique: boolean;
1305
- where?: string | undefined;
1306
- }>;
1307
- foreignKeys: Record<string, {
1308
- name: string;
1309
- tableFrom: string;
1310
- columnsFrom: string[];
1311
- tableTo: string;
1312
- columnsTo: string[];
1313
- onUpdate?: string | undefined;
1314
- onDelete?: string | undefined;
1315
- }>;
1316
- compositePrimaryKeys: Record<string, {
1317
- columns: string[];
1318
- name?: string | undefined;
1319
- }>;
1320
- uniqueConstraints?: Record<string, {
1321
- name: string;
1322
- columns: string[];
1323
- }> | undefined;
1324
- }>;
1325
- id: string;
1326
- prevId: string;
1327
- version: "4";
1328
- dialect: "sqlite";
1329
- enums: {};
1330
- }>;
1331
- export declare const schema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
1332
- version: import("zod").ZodLiteral<"5">;
1333
- dialect: import("zod").ZodEnum<["sqlite"]>;
1334
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1335
- name: import("zod").ZodString;
1336
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1337
- name: import("zod").ZodString;
1338
- type: import("zod").ZodString;
1339
- primaryKey: import("zod").ZodBoolean;
1340
- notNull: import("zod").ZodBoolean;
1341
- autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
1342
- default: import("zod").ZodOptional<import("zod").ZodAny>;
1343
- }, "strict", import("zod").ZodTypeAny, {
1344
- name: string;
1345
- type: string;
1346
- primaryKey: boolean;
1347
- notNull: boolean;
1348
- default?: any;
1349
- autoincrement?: boolean | undefined;
1350
- }, {
1351
- name: string;
1352
- type: string;
1353
- primaryKey: boolean;
1354
- notNull: boolean;
1355
- default?: any;
1356
- autoincrement?: boolean | undefined;
1357
- }>>;
1358
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1359
- name: import("zod").ZodString;
1360
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
1361
- where: import("zod").ZodOptional<import("zod").ZodString>;
1362
- isUnique: import("zod").ZodBoolean;
1363
- }, "strict", import("zod").ZodTypeAny, {
1364
- name: string;
1365
- columns: string[];
1366
- isUnique: boolean;
1367
- where?: string | undefined;
1368
- }, {
1369
- name: string;
1370
- columns: string[];
1371
- isUnique: boolean;
1372
- where?: string | undefined;
1373
- }>>;
1374
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1375
- name: import("zod").ZodString;
1376
- tableFrom: import("zod").ZodString;
1377
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
1378
- tableTo: import("zod").ZodString;
1379
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
1380
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
1381
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
1382
- }, "strict", import("zod").ZodTypeAny, {
1383
- name: string;
1384
- tableFrom: string;
1385
- columnsFrom: string[];
1386
- tableTo: string;
1387
- columnsTo: string[];
1388
- onUpdate?: string | undefined;
1389
- onDelete?: string | undefined;
1390
- }, {
1391
- name: string;
1392
- tableFrom: string;
1393
- columnsFrom: string[];
1394
- tableTo: string;
1395
- columnsTo: string[];
1396
- onUpdate?: string | undefined;
1397
- onDelete?: string | undefined;
1398
- }>>;
1399
- compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1400
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
1401
- name: import("zod").ZodOptional<import("zod").ZodString>;
1402
- }, "strict", import("zod").ZodTypeAny, {
1403
- columns: string[];
1404
- name?: string | undefined;
1405
- }, {
1406
- columns: string[];
1407
- name?: string | undefined;
1408
- }>>;
1409
- uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1410
- name: import("zod").ZodString;
1411
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
1412
- }, "strict", import("zod").ZodTypeAny, {
1413
- name: string;
1414
- columns: string[];
1415
- }, {
1416
- name: string;
1417
- columns: string[];
1418
- }>>>;
1419
- }, "strict", import("zod").ZodTypeAny, {
1420
- name: string;
1421
- columns: Record<string, {
1422
- name: string;
1423
- type: string;
1424
- primaryKey: boolean;
1425
- notNull: boolean;
1426
- default?: any;
1427
- autoincrement?: boolean | undefined;
1428
- }>;
1429
- indexes: Record<string, {
1430
- name: string;
1431
- columns: string[];
1432
- isUnique: boolean;
1433
- where?: string | undefined;
1434
- }>;
1435
- foreignKeys: Record<string, {
1436
- name: string;
1437
- tableFrom: string;
1438
- columnsFrom: string[];
1439
- tableTo: string;
1440
- columnsTo: string[];
1441
- onUpdate?: string | undefined;
1442
- onDelete?: string | undefined;
1443
- }>;
1444
- compositePrimaryKeys: Record<string, {
1445
- columns: string[];
1446
- name?: string | undefined;
1447
- }>;
1448
- uniqueConstraints: Record<string, {
1449
- name: string;
1450
- columns: string[];
1451
- }>;
1452
- }, {
1453
- name: string;
1454
- columns: Record<string, {
1455
- name: string;
1456
- type: string;
1457
- primaryKey: boolean;
1458
- notNull: boolean;
1459
- default?: any;
1460
- autoincrement?: boolean | undefined;
1461
- }>;
1462
- indexes: Record<string, {
1463
- name: string;
1464
- columns: string[];
1465
- isUnique: boolean;
1466
- where?: string | undefined;
1467
- }>;
1468
- foreignKeys: Record<string, {
1469
- name: string;
1470
- tableFrom: string;
1471
- columnsFrom: string[];
1472
- tableTo: string;
1473
- columnsTo: string[];
1474
- onUpdate?: string | undefined;
1475
- onDelete?: string | undefined;
1476
- }>;
1477
- compositePrimaryKeys: Record<string, {
1478
- columns: string[];
1479
- name?: string | undefined;
1480
- }>;
1481
- uniqueConstraints?: Record<string, {
1482
- name: string;
1483
- columns: string[];
1484
- }> | undefined;
1485
- }>>;
1486
- enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
1487
- _meta: import("zod").ZodObject<{
1488
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1489
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1490
- }, "strip", import("zod").ZodTypeAny, {
1491
- columns: Record<string, string>;
1492
- tables: Record<string, string>;
1493
- }, {
1494
- columns: Record<string, string>;
1495
- tables: Record<string, string>;
1496
- }>;
1497
- }, {
1498
- id: import("zod").ZodString;
1499
- prevId: import("zod").ZodString;
1500
- }>, "strict", import("zod").ZodTypeAny, {
1501
- tables: Record<string, {
1502
- name: string;
1503
- columns: Record<string, {
1504
- name: string;
1505
- type: string;
1506
- primaryKey: boolean;
1507
- notNull: boolean;
1508
- default?: any;
1509
- autoincrement?: boolean | undefined;
1510
- }>;
1511
- indexes: Record<string, {
1512
- name: string;
1513
- columns: string[];
1514
- isUnique: boolean;
1515
- where?: string | undefined;
1516
- }>;
1517
- foreignKeys: Record<string, {
1518
- name: string;
1519
- tableFrom: string;
1520
- columnsFrom: string[];
1521
- tableTo: string;
1522
- columnsTo: string[];
1523
- onUpdate?: string | undefined;
1524
- onDelete?: string | undefined;
1525
- }>;
1526
- compositePrimaryKeys: Record<string, {
1527
- columns: string[];
1528
- name?: string | undefined;
1529
- }>;
1530
- uniqueConstraints: Record<string, {
1531
- name: string;
1532
- columns: string[];
1533
- }>;
1534
- }>;
1535
- id: string;
1536
- prevId: string;
1537
- version: "5";
1538
- dialect: "sqlite";
1539
- _meta: {
1540
- columns: Record<string, string>;
1541
- tables: Record<string, string>;
1542
- };
1543
- enums: {};
1544
- }, {
1545
- tables: Record<string, {
1546
- name: string;
1547
- columns: Record<string, {
1548
- name: string;
1549
- type: string;
1550
- primaryKey: boolean;
1551
- notNull: boolean;
1552
- default?: any;
1553
- autoincrement?: boolean | undefined;
1554
- }>;
1555
- indexes: Record<string, {
1556
- name: string;
1557
- columns: string[];
1558
- isUnique: boolean;
1559
- where?: string | undefined;
1560
- }>;
1561
- foreignKeys: Record<string, {
1562
- name: string;
1563
- tableFrom: string;
1564
- columnsFrom: string[];
1565
- tableTo: string;
1566
- columnsTo: string[];
1567
- onUpdate?: string | undefined;
1568
- onDelete?: string | undefined;
1569
- }>;
1570
- compositePrimaryKeys: Record<string, {
1571
- columns: string[];
1572
- name?: string | undefined;
1573
- }>;
1574
- uniqueConstraints?: Record<string, {
1575
- name: string;
1576
- columns: string[];
1577
- }> | undefined;
1578
- }>;
1579
- id: string;
1580
- prevId: string;
1581
- version: "5";
1582
- dialect: "sqlite";
1583
- _meta: {
1584
- columns: Record<string, string>;
1585
- tables: Record<string, string>;
1586
- };
1587
- enums: {};
1588
- }>;
1589
- export declare const schemaSquashed: import("zod").ZodObject<{
1590
- version: import("zod").ZodLiteral<"5">;
1591
- dialect: import("zod").ZodEnum<["sqlite"]>;
1592
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1593
- name: import("zod").ZodString;
1594
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1595
- name: import("zod").ZodString;
1596
- type: import("zod").ZodString;
1597
- primaryKey: import("zod").ZodBoolean;
1598
- notNull: import("zod").ZodBoolean;
1599
- autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
1600
- default: import("zod").ZodOptional<import("zod").ZodAny>;
1601
- }, "strict", import("zod").ZodTypeAny, {
1602
- name: string;
1603
- type: string;
1604
- primaryKey: boolean;
1605
- notNull: boolean;
1606
- default?: any;
1607
- autoincrement?: boolean | undefined;
1608
- }, {
1609
- name: string;
1610
- type: string;
1611
- primaryKey: boolean;
1612
- notNull: boolean;
1613
- default?: any;
1614
- autoincrement?: boolean | undefined;
1615
- }>>;
1616
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1617
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1618
- compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1619
- uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1620
- }, "strict", import("zod").ZodTypeAny, {
1621
- name: string;
1622
- columns: Record<string, {
1623
- name: string;
1624
- type: string;
1625
- primaryKey: boolean;
1626
- notNull: boolean;
1627
- default?: any;
1628
- autoincrement?: boolean | undefined;
1629
- }>;
1630
- indexes: Record<string, string>;
1631
- foreignKeys: Record<string, string>;
1632
- compositePrimaryKeys: Record<string, string>;
1633
- uniqueConstraints: Record<string, string>;
1634
- }, {
1635
- name: string;
1636
- columns: Record<string, {
1637
- name: string;
1638
- type: string;
1639
- primaryKey: boolean;
1640
- notNull: boolean;
1641
- default?: any;
1642
- autoincrement?: boolean | undefined;
1643
- }>;
1644
- indexes: Record<string, string>;
1645
- foreignKeys: Record<string, string>;
1646
- compositePrimaryKeys: Record<string, string>;
1647
- uniqueConstraints?: Record<string, string> | undefined;
1648
- }>>;
1649
- enums: import("zod").ZodAny;
1650
- }, "strict", import("zod").ZodTypeAny, {
1651
- tables: Record<string, {
1652
- name: string;
1653
- columns: Record<string, {
1654
- name: string;
1655
- type: string;
1656
- primaryKey: boolean;
1657
- notNull: boolean;
1658
- default?: any;
1659
- autoincrement?: boolean | undefined;
1660
- }>;
1661
- indexes: Record<string, string>;
1662
- foreignKeys: Record<string, string>;
1663
- compositePrimaryKeys: Record<string, string>;
1664
- uniqueConstraints: Record<string, string>;
1665
- }>;
1666
- version: "5";
1667
- dialect: "sqlite";
1668
- enums?: any;
1669
- }, {
1670
- tables: Record<string, {
1671
- name: string;
1672
- columns: Record<string, {
1673
- name: string;
1674
- type: string;
1675
- primaryKey: boolean;
1676
- notNull: boolean;
1677
- default?: any;
1678
- autoincrement?: boolean | undefined;
1679
- }>;
1680
- indexes: Record<string, string>;
1681
- foreignKeys: Record<string, string>;
1682
- compositePrimaryKeys: Record<string, string>;
1683
- uniqueConstraints?: Record<string, string> | undefined;
1684
- }>;
1685
- version: "5";
1686
- dialect: "sqlite";
1687
- enums?: any;
1688
- }>;
1689
- export type Dialect = TypeOf<typeof dialect>;
1690
- export type Column = TypeOf<typeof column>;
1691
- export type Table = TypeOf<typeof table>;
1692
- export type SQLiteSchema = TypeOf<typeof schema>;
1693
- export type SQLiteSchemaV3 = TypeOf<typeof schemaV3>;
1694
- export type SQLiteSchemaV4 = TypeOf<typeof schemaV4>;
1695
- export type SQLiteSchemaInternal = TypeOf<typeof schemaInternal>;
1696
- export type SQLiteSchemaSquashed = TypeOf<typeof schemaSquashed>;
1697
- export type Index = TypeOf<typeof index>;
1698
- export type ForeignKey = TypeOf<typeof fk>;
1699
- export type PrimaryKey = TypeOf<typeof compositePK>;
1700
- export type UniqueConstraint = TypeOf<typeof uniqueConstraint>;
1701
- export declare const SQLiteSquasher: {
1702
- squashIdx: (idx: Index) => string;
1703
- unsquashIdx: (input: string) => Index;
1704
- squashUnique: (unq: UniqueConstraint) => string;
1705
- unsquashUnique: (unq: string) => UniqueConstraint;
1706
- squashFK: (fk: ForeignKey) => string;
1707
- unsquashFK: (input: string) => ForeignKey;
1708
- squashPK: (pk: PrimaryKey) => string;
1709
- unsquashPK: (pk: string) => string[];
1710
- };
1711
- export declare const squashSqliteScheme: (json: SQLiteSchema | SQLiteSchemaV4) => SQLiteSchemaSquashed;
1712
- export declare const drySQLite: {
1713
- tables: Record<string, {
1714
- name: string;
1715
- columns: Record<string, {
1716
- name: string;
1717
- type: string;
1718
- primaryKey: boolean;
1719
- notNull: boolean;
1720
- default?: any;
1721
- autoincrement?: boolean | undefined;
1722
- }>;
1723
- indexes: Record<string, {
1724
- name: string;
1725
- columns: string[];
1726
- isUnique: boolean;
1727
- where?: string | undefined;
1728
- }>;
1729
- foreignKeys: Record<string, {
1730
- name: string;
1731
- tableFrom: string;
1732
- columnsFrom: string[];
1733
- tableTo: string;
1734
- columnsTo: string[];
1735
- onUpdate?: string | undefined;
1736
- onDelete?: string | undefined;
1737
- }>;
1738
- compositePrimaryKeys: Record<string, {
1739
- columns: string[];
1740
- name?: string | undefined;
1741
- }>;
1742
- uniqueConstraints: Record<string, {
1743
- name: string;
1744
- columns: string[];
1745
- }>;
1746
- }>;
1747
- id: string;
1748
- prevId: string;
1749
- version: "5";
1750
- dialect: "sqlite";
1751
- _meta: {
1752
- columns: Record<string, string>;
1753
- tables: Record<string, string>;
1754
- };
1755
- enums: {};
1756
- };
1757
- export declare const sqliteSchemaV3: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
1758
- version: import("zod").ZodLiteral<"3">;
1759
- dialect: import("zod").ZodEnum<["sqlite"]>;
1760
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1761
- name: import("zod").ZodString;
1762
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1763
- name: import("zod").ZodString;
1764
- type: import("zod").ZodString;
1765
- primaryKey: import("zod").ZodBoolean;
1766
- notNull: import("zod").ZodBoolean;
1767
- autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
1768
- default: import("zod").ZodOptional<import("zod").ZodAny>;
1769
- }, "strict", import("zod").ZodTypeAny, {
1770
- name: string;
1771
- type: string;
1772
- primaryKey: boolean;
1773
- notNull: boolean;
1774
- default?: any;
1775
- autoincrement?: boolean | undefined;
1776
- }, {
1777
- name: string;
1778
- type: string;
1779
- primaryKey: boolean;
1780
- notNull: boolean;
1781
- default?: any;
1782
- autoincrement?: boolean | undefined;
1783
- }>>;
1784
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1785
- name: import("zod").ZodString;
1786
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
1787
- where: import("zod").ZodOptional<import("zod").ZodString>;
1788
- isUnique: import("zod").ZodBoolean;
1789
- }, "strict", import("zod").ZodTypeAny, {
1790
- name: string;
1791
- columns: string[];
1792
- isUnique: boolean;
1793
- where?: string | undefined;
1794
- }, {
1795
- name: string;
1796
- columns: string[];
1797
- isUnique: boolean;
1798
- where?: string | undefined;
1799
- }>>;
1800
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1801
- name: import("zod").ZodString;
1802
- tableFrom: import("zod").ZodString;
1803
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
1804
- tableTo: import("zod").ZodString;
1805
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
1806
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
1807
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
1808
- }, "strict", import("zod").ZodTypeAny, {
1809
- name: string;
1810
- tableFrom: string;
1811
- columnsFrom: string[];
1812
- tableTo: string;
1813
- columnsTo: string[];
1814
- onUpdate?: string | undefined;
1815
- onDelete?: string | undefined;
1816
- }, {
1817
- name: string;
1818
- tableFrom: string;
1819
- columnsFrom: string[];
1820
- tableTo: string;
1821
- columnsTo: string[];
1822
- onUpdate?: string | undefined;
1823
- onDelete?: string | undefined;
1824
- }>>;
1825
- }, "strict", import("zod").ZodTypeAny, {
1826
- name: string;
1827
- columns: Record<string, {
1828
- name: string;
1829
- type: string;
1830
- primaryKey: boolean;
1831
- notNull: boolean;
1832
- default?: any;
1833
- autoincrement?: boolean | undefined;
1834
- }>;
1835
- indexes: Record<string, {
1836
- name: string;
1837
- columns: string[];
1838
- isUnique: boolean;
1839
- where?: string | undefined;
1840
- }>;
1841
- foreignKeys: Record<string, {
1842
- name: string;
1843
- tableFrom: string;
1844
- columnsFrom: string[];
1845
- tableTo: string;
1846
- columnsTo: string[];
1847
- onUpdate?: string | undefined;
1848
- onDelete?: string | undefined;
1849
- }>;
1850
- }, {
1851
- name: string;
1852
- columns: Record<string, {
1853
- name: string;
1854
- type: string;
1855
- primaryKey: boolean;
1856
- notNull: boolean;
1857
- default?: any;
1858
- autoincrement?: boolean | undefined;
1859
- }>;
1860
- indexes: Record<string, {
1861
- name: string;
1862
- columns: string[];
1863
- isUnique: boolean;
1864
- where?: string | undefined;
1865
- }>;
1866
- foreignKeys: Record<string, {
1867
- name: string;
1868
- tableFrom: string;
1869
- columnsFrom: string[];
1870
- tableTo: string;
1871
- columnsTo: string[];
1872
- onUpdate?: string | undefined;
1873
- onDelete?: string | undefined;
1874
- }>;
1875
- }>>;
1876
- enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
1877
- }, {
1878
- id: import("zod").ZodString;
1879
- prevId: import("zod").ZodString;
1880
- }>, "strict", import("zod").ZodTypeAny, {
1881
- tables: Record<string, {
1882
- name: string;
1883
- columns: Record<string, {
1884
- name: string;
1885
- type: string;
1886
- primaryKey: boolean;
1887
- notNull: boolean;
1888
- default?: any;
1889
- autoincrement?: boolean | undefined;
1890
- }>;
1891
- indexes: Record<string, {
1892
- name: string;
1893
- columns: string[];
1894
- isUnique: boolean;
1895
- where?: string | undefined;
1896
- }>;
1897
- foreignKeys: Record<string, {
1898
- name: string;
1899
- tableFrom: string;
1900
- columnsFrom: string[];
1901
- tableTo: string;
1902
- columnsTo: string[];
1903
- onUpdate?: string | undefined;
1904
- onDelete?: string | undefined;
1905
- }>;
1906
- }>;
1907
- id: string;
1908
- prevId: string;
1909
- version: "3";
1910
- dialect: "sqlite";
1911
- enums: {};
1912
- }, {
1913
- tables: Record<string, {
1914
- name: string;
1915
- columns: Record<string, {
1916
- name: string;
1917
- type: string;
1918
- primaryKey: boolean;
1919
- notNull: boolean;
1920
- default?: any;
1921
- autoincrement?: boolean | undefined;
1922
- }>;
1923
- indexes: Record<string, {
1924
- name: string;
1925
- columns: string[];
1926
- isUnique: boolean;
1927
- where?: string | undefined;
1928
- }>;
1929
- foreignKeys: Record<string, {
1930
- name: string;
1931
- tableFrom: string;
1932
- columnsFrom: string[];
1933
- tableTo: string;
1934
- columnsTo: string[];
1935
- onUpdate?: string | undefined;
1936
- onDelete?: string | undefined;
1937
- }>;
1938
- }>;
1939
- id: string;
1940
- prevId: string;
1941
- version: "3";
1942
- dialect: "sqlite";
1943
- enums: {};
1944
- }>;
1945
- export declare const sqliteSchemaV4: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
1946
- version: import("zod").ZodLiteral<"4">;
1947
- dialect: import("zod").ZodEnum<["sqlite"]>;
1948
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1949
- name: import("zod").ZodString;
1950
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1951
- name: import("zod").ZodString;
1952
- type: import("zod").ZodString;
1953
- primaryKey: import("zod").ZodBoolean;
1954
- notNull: import("zod").ZodBoolean;
1955
- autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
1956
- default: import("zod").ZodOptional<import("zod").ZodAny>;
1957
- }, "strict", import("zod").ZodTypeAny, {
1958
- name: string;
1959
- type: string;
1960
- primaryKey: boolean;
1961
- notNull: boolean;
1962
- default?: any;
1963
- autoincrement?: boolean | undefined;
1964
- }, {
1965
- name: string;
1966
- type: string;
1967
- primaryKey: boolean;
1968
- notNull: boolean;
1969
- default?: any;
1970
- autoincrement?: boolean | undefined;
1971
- }>>;
1972
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1973
- name: import("zod").ZodString;
1974
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
1975
- where: import("zod").ZodOptional<import("zod").ZodString>;
1976
- isUnique: import("zod").ZodBoolean;
1977
- }, "strict", import("zod").ZodTypeAny, {
1978
- name: string;
1979
- columns: string[];
1980
- isUnique: boolean;
1981
- where?: string | undefined;
1982
- }, {
1983
- name: string;
1984
- columns: string[];
1985
- isUnique: boolean;
1986
- where?: string | undefined;
1987
- }>>;
1988
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1989
- name: import("zod").ZodString;
1990
- tableFrom: import("zod").ZodString;
1991
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
1992
- tableTo: import("zod").ZodString;
1993
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
1994
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
1995
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
1996
- }, "strict", import("zod").ZodTypeAny, {
1997
- name: string;
1998
- tableFrom: string;
1999
- columnsFrom: string[];
2000
- tableTo: string;
2001
- columnsTo: string[];
2002
- onUpdate?: string | undefined;
2003
- onDelete?: string | undefined;
2004
- }, {
2005
- name: string;
2006
- tableFrom: string;
2007
- columnsFrom: string[];
2008
- tableTo: string;
2009
- columnsTo: string[];
2010
- onUpdate?: string | undefined;
2011
- onDelete?: string | undefined;
2012
- }>>;
2013
- compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2014
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
2015
- name: import("zod").ZodOptional<import("zod").ZodString>;
2016
- }, "strict", import("zod").ZodTypeAny, {
2017
- columns: string[];
2018
- name?: string | undefined;
2019
- }, {
2020
- columns: string[];
2021
- name?: string | undefined;
2022
- }>>;
2023
- uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2024
- name: import("zod").ZodString;
2025
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
2026
- }, "strict", import("zod").ZodTypeAny, {
2027
- name: string;
2028
- columns: string[];
2029
- }, {
2030
- name: string;
2031
- columns: string[];
2032
- }>>>;
2033
- }, "strict", import("zod").ZodTypeAny, {
2034
- name: string;
2035
- columns: Record<string, {
2036
- name: string;
2037
- type: string;
2038
- primaryKey: boolean;
2039
- notNull: boolean;
2040
- default?: any;
2041
- autoincrement?: boolean | undefined;
2042
- }>;
2043
- indexes: Record<string, {
2044
- name: string;
2045
- columns: string[];
2046
- isUnique: boolean;
2047
- where?: string | undefined;
2048
- }>;
2049
- foreignKeys: Record<string, {
2050
- name: string;
2051
- tableFrom: string;
2052
- columnsFrom: string[];
2053
- tableTo: string;
2054
- columnsTo: string[];
2055
- onUpdate?: string | undefined;
2056
- onDelete?: string | undefined;
2057
- }>;
2058
- compositePrimaryKeys: Record<string, {
2059
- columns: string[];
2060
- name?: string | undefined;
2061
- }>;
2062
- uniqueConstraints: Record<string, {
2063
- name: string;
2064
- columns: string[];
2065
- }>;
2066
- }, {
2067
- name: string;
2068
- columns: Record<string, {
2069
- name: string;
2070
- type: string;
2071
- primaryKey: boolean;
2072
- notNull: boolean;
2073
- default?: any;
2074
- autoincrement?: boolean | undefined;
2075
- }>;
2076
- indexes: Record<string, {
2077
- name: string;
2078
- columns: string[];
2079
- isUnique: boolean;
2080
- where?: string | undefined;
2081
- }>;
2082
- foreignKeys: Record<string, {
2083
- name: string;
2084
- tableFrom: string;
2085
- columnsFrom: string[];
2086
- tableTo: string;
2087
- columnsTo: string[];
2088
- onUpdate?: string | undefined;
2089
- onDelete?: string | undefined;
2090
- }>;
2091
- compositePrimaryKeys: Record<string, {
2092
- columns: string[];
2093
- name?: string | undefined;
2094
- }>;
2095
- uniqueConstraints?: Record<string, {
2096
- name: string;
2097
- columns: string[];
2098
- }> | undefined;
2099
- }>>;
2100
- enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
2101
- }, {
2102
- id: import("zod").ZodString;
2103
- prevId: import("zod").ZodString;
2104
- }>, "strict", import("zod").ZodTypeAny, {
2105
- tables: Record<string, {
2106
- name: string;
2107
- columns: Record<string, {
2108
- name: string;
2109
- type: string;
2110
- primaryKey: boolean;
2111
- notNull: boolean;
2112
- default?: any;
2113
- autoincrement?: boolean | undefined;
2114
- }>;
2115
- indexes: Record<string, {
2116
- name: string;
2117
- columns: string[];
2118
- isUnique: boolean;
2119
- where?: string | undefined;
2120
- }>;
2121
- foreignKeys: Record<string, {
2122
- name: string;
2123
- tableFrom: string;
2124
- columnsFrom: string[];
2125
- tableTo: string;
2126
- columnsTo: string[];
2127
- onUpdate?: string | undefined;
2128
- onDelete?: string | undefined;
2129
- }>;
2130
- compositePrimaryKeys: Record<string, {
2131
- columns: string[];
2132
- name?: string | undefined;
2133
- }>;
2134
- uniqueConstraints: Record<string, {
2135
- name: string;
2136
- columns: string[];
2137
- }>;
2138
- }>;
2139
- id: string;
2140
- prevId: string;
2141
- version: "4";
2142
- dialect: "sqlite";
2143
- enums: {};
2144
- }, {
2145
- tables: Record<string, {
2146
- name: string;
2147
- columns: Record<string, {
2148
- name: string;
2149
- type: string;
2150
- primaryKey: boolean;
2151
- notNull: boolean;
2152
- default?: any;
2153
- autoincrement?: boolean | undefined;
2154
- }>;
2155
- indexes: Record<string, {
2156
- name: string;
2157
- columns: string[];
2158
- isUnique: boolean;
2159
- where?: string | undefined;
2160
- }>;
2161
- foreignKeys: Record<string, {
2162
- name: string;
2163
- tableFrom: string;
2164
- columnsFrom: string[];
2165
- tableTo: string;
2166
- columnsTo: string[];
2167
- onUpdate?: string | undefined;
2168
- onDelete?: string | undefined;
2169
- }>;
2170
- compositePrimaryKeys: Record<string, {
2171
- columns: string[];
2172
- name?: string | undefined;
2173
- }>;
2174
- uniqueConstraints?: Record<string, {
2175
- name: string;
2176
- columns: string[];
2177
- }> | undefined;
2178
- }>;
2179
- id: string;
2180
- prevId: string;
2181
- version: "4";
2182
- dialect: "sqlite";
2183
- enums: {};
2184
- }>;
2185
- export declare const sqliteSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
2186
- version: import("zod").ZodLiteral<"5">;
2187
- dialect: import("zod").ZodEnum<["sqlite"]>;
2188
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2189
- name: import("zod").ZodString;
2190
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2191
- name: import("zod").ZodString;
2192
- type: import("zod").ZodString;
2193
- primaryKey: import("zod").ZodBoolean;
2194
- notNull: import("zod").ZodBoolean;
2195
- autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
2196
- default: import("zod").ZodOptional<import("zod").ZodAny>;
2197
- }, "strict", import("zod").ZodTypeAny, {
2198
- name: string;
2199
- type: string;
2200
- primaryKey: boolean;
2201
- notNull: boolean;
2202
- default?: any;
2203
- autoincrement?: boolean | undefined;
2204
- }, {
2205
- name: string;
2206
- type: string;
2207
- primaryKey: boolean;
2208
- notNull: boolean;
2209
- default?: any;
2210
- autoincrement?: boolean | undefined;
2211
- }>>;
2212
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2213
- name: import("zod").ZodString;
2214
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
2215
- where: import("zod").ZodOptional<import("zod").ZodString>;
2216
- isUnique: import("zod").ZodBoolean;
2217
- }, "strict", import("zod").ZodTypeAny, {
2218
- name: string;
2219
- columns: string[];
2220
- isUnique: boolean;
2221
- where?: string | undefined;
2222
- }, {
2223
- name: string;
2224
- columns: string[];
2225
- isUnique: boolean;
2226
- where?: string | undefined;
2227
- }>>;
2228
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2229
- name: import("zod").ZodString;
2230
- tableFrom: import("zod").ZodString;
2231
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
2232
- tableTo: import("zod").ZodString;
2233
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
2234
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
2235
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
2236
- }, "strict", import("zod").ZodTypeAny, {
2237
- name: string;
2238
- tableFrom: string;
2239
- columnsFrom: string[];
2240
- tableTo: string;
2241
- columnsTo: string[];
2242
- onUpdate?: string | undefined;
2243
- onDelete?: string | undefined;
2244
- }, {
2245
- name: string;
2246
- tableFrom: string;
2247
- columnsFrom: string[];
2248
- tableTo: string;
2249
- columnsTo: string[];
2250
- onUpdate?: string | undefined;
2251
- onDelete?: string | undefined;
2252
- }>>;
2253
- compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2254
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
2255
- name: import("zod").ZodOptional<import("zod").ZodString>;
2256
- }, "strict", import("zod").ZodTypeAny, {
2257
- columns: string[];
2258
- name?: string | undefined;
2259
- }, {
2260
- columns: string[];
2261
- name?: string | undefined;
2262
- }>>;
2263
- uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2264
- name: import("zod").ZodString;
2265
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
2266
- }, "strict", import("zod").ZodTypeAny, {
2267
- name: string;
2268
- columns: string[];
2269
- }, {
2270
- name: string;
2271
- columns: string[];
2272
- }>>>;
2273
- }, "strict", import("zod").ZodTypeAny, {
2274
- name: string;
2275
- columns: Record<string, {
2276
- name: string;
2277
- type: string;
2278
- primaryKey: boolean;
2279
- notNull: boolean;
2280
- default?: any;
2281
- autoincrement?: boolean | undefined;
2282
- }>;
2283
- indexes: Record<string, {
2284
- name: string;
2285
- columns: string[];
2286
- isUnique: boolean;
2287
- where?: string | undefined;
2288
- }>;
2289
- foreignKeys: Record<string, {
2290
- name: string;
2291
- tableFrom: string;
2292
- columnsFrom: string[];
2293
- tableTo: string;
2294
- columnsTo: string[];
2295
- onUpdate?: string | undefined;
2296
- onDelete?: string | undefined;
2297
- }>;
2298
- compositePrimaryKeys: Record<string, {
2299
- columns: string[];
2300
- name?: string | undefined;
2301
- }>;
2302
- uniqueConstraints: Record<string, {
2303
- name: string;
2304
- columns: string[];
2305
- }>;
2306
- }, {
2307
- name: string;
2308
- columns: Record<string, {
2309
- name: string;
2310
- type: string;
2311
- primaryKey: boolean;
2312
- notNull: boolean;
2313
- default?: any;
2314
- autoincrement?: boolean | undefined;
2315
- }>;
2316
- indexes: Record<string, {
2317
- name: string;
2318
- columns: string[];
2319
- isUnique: boolean;
2320
- where?: string | undefined;
2321
- }>;
2322
- foreignKeys: Record<string, {
2323
- name: string;
2324
- tableFrom: string;
2325
- columnsFrom: string[];
2326
- tableTo: string;
2327
- columnsTo: string[];
2328
- onUpdate?: string | undefined;
2329
- onDelete?: string | undefined;
2330
- }>;
2331
- compositePrimaryKeys: Record<string, {
2332
- columns: string[];
2333
- name?: string | undefined;
2334
- }>;
2335
- uniqueConstraints?: Record<string, {
2336
- name: string;
2337
- columns: string[];
2338
- }> | undefined;
2339
- }>>;
2340
- enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
2341
- _meta: import("zod").ZodObject<{
2342
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2343
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2344
- }, "strip", import("zod").ZodTypeAny, {
2345
- columns: Record<string, string>;
2346
- tables: Record<string, string>;
2347
- }, {
2348
- columns: Record<string, string>;
2349
- tables: Record<string, string>;
2350
- }>;
2351
- }, {
2352
- id: import("zod").ZodString;
2353
- prevId: import("zod").ZodString;
2354
- }>, "strict", import("zod").ZodTypeAny, {
2355
- tables: Record<string, {
2356
- name: string;
2357
- columns: Record<string, {
2358
- name: string;
2359
- type: string;
2360
- primaryKey: boolean;
2361
- notNull: boolean;
2362
- default?: any;
2363
- autoincrement?: boolean | undefined;
2364
- }>;
2365
- indexes: Record<string, {
2366
- name: string;
2367
- columns: string[];
2368
- isUnique: boolean;
2369
- where?: string | undefined;
2370
- }>;
2371
- foreignKeys: Record<string, {
2372
- name: string;
2373
- tableFrom: string;
2374
- columnsFrom: string[];
2375
- tableTo: string;
2376
- columnsTo: string[];
2377
- onUpdate?: string | undefined;
2378
- onDelete?: string | undefined;
2379
- }>;
2380
- compositePrimaryKeys: Record<string, {
2381
- columns: string[];
2382
- name?: string | undefined;
2383
- }>;
2384
- uniqueConstraints: Record<string, {
2385
- name: string;
2386
- columns: string[];
2387
- }>;
2388
- }>;
2389
- id: string;
2390
- prevId: string;
2391
- version: "5";
2392
- dialect: "sqlite";
2393
- _meta: {
2394
- columns: Record<string, string>;
2395
- tables: Record<string, string>;
2396
- };
2397
- enums: {};
2398
- }, {
2399
- tables: Record<string, {
2400
- name: string;
2401
- columns: Record<string, {
2402
- name: string;
2403
- type: string;
2404
- primaryKey: boolean;
2405
- notNull: boolean;
2406
- default?: any;
2407
- autoincrement?: boolean | undefined;
2408
- }>;
2409
- indexes: Record<string, {
2410
- name: string;
2411
- columns: string[];
2412
- isUnique: boolean;
2413
- where?: string | undefined;
2414
- }>;
2415
- foreignKeys: Record<string, {
2416
- name: string;
2417
- tableFrom: string;
2418
- columnsFrom: string[];
2419
- tableTo: string;
2420
- columnsTo: string[];
2421
- onUpdate?: string | undefined;
2422
- onDelete?: string | undefined;
2423
- }>;
2424
- compositePrimaryKeys: Record<string, {
2425
- columns: string[];
2426
- name?: string | undefined;
2427
- }>;
2428
- uniqueConstraints?: Record<string, {
2429
- name: string;
2430
- columns: string[];
2431
- }> | undefined;
2432
- }>;
2433
- id: string;
2434
- prevId: string;
2435
- version: "5";
2436
- dialect: "sqlite";
2437
- _meta: {
2438
- columns: Record<string, string>;
2439
- tables: Record<string, string>;
2440
- };
2441
- enums: {};
2442
- }>;
2443
- export declare const SQLiteSchemaSquashed: import("zod").ZodObject<{
2444
- version: import("zod").ZodLiteral<"5">;
2445
- dialect: import("zod").ZodEnum<["sqlite"]>;
2446
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2447
- name: import("zod").ZodString;
2448
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2449
- name: import("zod").ZodString;
2450
- type: import("zod").ZodString;
2451
- primaryKey: import("zod").ZodBoolean;
2452
- notNull: import("zod").ZodBoolean;
2453
- autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
2454
- default: import("zod").ZodOptional<import("zod").ZodAny>;
2455
- }, "strict", import("zod").ZodTypeAny, {
2456
- name: string;
2457
- type: string;
2458
- primaryKey: boolean;
2459
- notNull: boolean;
2460
- default?: any;
2461
- autoincrement?: boolean | undefined;
2462
- }, {
2463
- name: string;
2464
- type: string;
2465
- primaryKey: boolean;
2466
- notNull: boolean;
2467
- default?: any;
2468
- autoincrement?: boolean | undefined;
2469
- }>>;
2470
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2471
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2472
- compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2473
- uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
2474
- }, "strict", import("zod").ZodTypeAny, {
2475
- name: string;
2476
- columns: Record<string, {
2477
- name: string;
2478
- type: string;
2479
- primaryKey: boolean;
2480
- notNull: boolean;
2481
- default?: any;
2482
- autoincrement?: boolean | undefined;
2483
- }>;
2484
- indexes: Record<string, string>;
2485
- foreignKeys: Record<string, string>;
2486
- compositePrimaryKeys: Record<string, string>;
2487
- uniqueConstraints: Record<string, string>;
2488
- }, {
2489
- name: string;
2490
- columns: Record<string, {
2491
- name: string;
2492
- type: string;
2493
- primaryKey: boolean;
2494
- notNull: boolean;
2495
- default?: any;
2496
- autoincrement?: boolean | undefined;
2497
- }>;
2498
- indexes: Record<string, string>;
2499
- foreignKeys: Record<string, string>;
2500
- compositePrimaryKeys: Record<string, string>;
2501
- uniqueConstraints?: Record<string, string> | undefined;
2502
- }>>;
2503
- enums: import("zod").ZodAny;
2504
- }, "strict", import("zod").ZodTypeAny, {
2505
- tables: Record<string, {
2506
- name: string;
2507
- columns: Record<string, {
2508
- name: string;
2509
- type: string;
2510
- primaryKey: boolean;
2511
- notNull: boolean;
2512
- default?: any;
2513
- autoincrement?: boolean | undefined;
2514
- }>;
2515
- indexes: Record<string, string>;
2516
- foreignKeys: Record<string, string>;
2517
- compositePrimaryKeys: Record<string, string>;
2518
- uniqueConstraints: Record<string, string>;
2519
- }>;
2520
- version: "5";
2521
- dialect: "sqlite";
2522
- enums?: any;
2523
- }, {
2524
- tables: Record<string, {
2525
- name: string;
2526
- columns: Record<string, {
2527
- name: string;
2528
- type: string;
2529
- primaryKey: boolean;
2530
- notNull: boolean;
2531
- default?: any;
2532
- autoincrement?: boolean | undefined;
2533
- }>;
2534
- indexes: Record<string, string>;
2535
- foreignKeys: Record<string, string>;
2536
- compositePrimaryKeys: Record<string, string>;
2537
- uniqueConstraints?: Record<string, string> | undefined;
2538
- }>;
2539
- version: "5";
2540
- dialect: "sqlite";
2541
- enums?: any;
2542
- }>;
2543
- export declare const backwardCompatibleSqliteSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
2544
- version: import("zod").ZodLiteral<"5">;
2545
- dialect: import("zod").ZodEnum<["sqlite"]>;
2546
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2547
- name: import("zod").ZodString;
2548
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2549
- name: import("zod").ZodString;
2550
- type: import("zod").ZodString;
2551
- primaryKey: import("zod").ZodBoolean;
2552
- notNull: import("zod").ZodBoolean;
2553
- autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
2554
- default: import("zod").ZodOptional<import("zod").ZodAny>;
2555
- }, "strict", import("zod").ZodTypeAny, {
2556
- name: string;
2557
- type: string;
2558
- primaryKey: boolean;
2559
- notNull: boolean;
2560
- default?: any;
2561
- autoincrement?: boolean | undefined;
2562
- }, {
2563
- name: string;
2564
- type: string;
2565
- primaryKey: boolean;
2566
- notNull: boolean;
2567
- default?: any;
2568
- autoincrement?: boolean | undefined;
2569
- }>>;
2570
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2571
- name: import("zod").ZodString;
2572
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
2573
- where: import("zod").ZodOptional<import("zod").ZodString>;
2574
- isUnique: import("zod").ZodBoolean;
2575
- }, "strict", import("zod").ZodTypeAny, {
2576
- name: string;
2577
- columns: string[];
2578
- isUnique: boolean;
2579
- where?: string | undefined;
2580
- }, {
2581
- name: string;
2582
- columns: string[];
2583
- isUnique: boolean;
2584
- where?: string | undefined;
2585
- }>>;
2586
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2587
- name: import("zod").ZodString;
2588
- tableFrom: import("zod").ZodString;
2589
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
2590
- tableTo: import("zod").ZodString;
2591
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
2592
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
2593
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
2594
- }, "strict", import("zod").ZodTypeAny, {
2595
- name: string;
2596
- tableFrom: string;
2597
- columnsFrom: string[];
2598
- tableTo: string;
2599
- columnsTo: string[];
2600
- onUpdate?: string | undefined;
2601
- onDelete?: string | undefined;
2602
- }, {
2603
- name: string;
2604
- tableFrom: string;
2605
- columnsFrom: string[];
2606
- tableTo: string;
2607
- columnsTo: string[];
2608
- onUpdate?: string | undefined;
2609
- onDelete?: string | undefined;
2610
- }>>;
2611
- compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2612
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
2613
- name: import("zod").ZodOptional<import("zod").ZodString>;
2614
- }, "strict", import("zod").ZodTypeAny, {
2615
- columns: string[];
2616
- name?: string | undefined;
2617
- }, {
2618
- columns: string[];
2619
- name?: string | undefined;
2620
- }>>;
2621
- uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2622
- name: import("zod").ZodString;
2623
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
2624
- }, "strict", import("zod").ZodTypeAny, {
2625
- name: string;
2626
- columns: string[];
2627
- }, {
2628
- name: string;
2629
- columns: string[];
2630
- }>>>;
2631
- }, "strict", import("zod").ZodTypeAny, {
2632
- name: string;
2633
- columns: Record<string, {
2634
- name: string;
2635
- type: string;
2636
- primaryKey: boolean;
2637
- notNull: boolean;
2638
- default?: any;
2639
- autoincrement?: boolean | undefined;
2640
- }>;
2641
- indexes: Record<string, {
2642
- name: string;
2643
- columns: string[];
2644
- isUnique: boolean;
2645
- where?: string | undefined;
2646
- }>;
2647
- foreignKeys: Record<string, {
2648
- name: string;
2649
- tableFrom: string;
2650
- columnsFrom: string[];
2651
- tableTo: string;
2652
- columnsTo: string[];
2653
- onUpdate?: string | undefined;
2654
- onDelete?: string | undefined;
2655
- }>;
2656
- compositePrimaryKeys: Record<string, {
2657
- columns: string[];
2658
- name?: string | undefined;
2659
- }>;
2660
- uniqueConstraints: Record<string, {
2661
- name: string;
2662
- columns: string[];
2663
- }>;
2664
- }, {
2665
- name: string;
2666
- columns: Record<string, {
2667
- name: string;
2668
- type: string;
2669
- primaryKey: boolean;
2670
- notNull: boolean;
2671
- default?: any;
2672
- autoincrement?: boolean | undefined;
2673
- }>;
2674
- indexes: Record<string, {
2675
- name: string;
2676
- columns: string[];
2677
- isUnique: boolean;
2678
- where?: string | undefined;
2679
- }>;
2680
- foreignKeys: Record<string, {
2681
- name: string;
2682
- tableFrom: string;
2683
- columnsFrom: string[];
2684
- tableTo: string;
2685
- columnsTo: string[];
2686
- onUpdate?: string | undefined;
2687
- onDelete?: string | undefined;
2688
- }>;
2689
- compositePrimaryKeys: Record<string, {
2690
- columns: string[];
2691
- name?: string | undefined;
2692
- }>;
2693
- uniqueConstraints?: Record<string, {
2694
- name: string;
2695
- columns: string[];
2696
- }> | undefined;
2697
- }>>;
2698
- enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
2699
- _meta: import("zod").ZodObject<{
2700
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2701
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2702
- }, "strip", import("zod").ZodTypeAny, {
2703
- columns: Record<string, string>;
2704
- tables: Record<string, string>;
2705
- }, {
2706
- columns: Record<string, string>;
2707
- tables: Record<string, string>;
2708
- }>;
2709
- }, {
2710
- id: import("zod").ZodString;
2711
- prevId: import("zod").ZodString;
2712
- }>, "strict", import("zod").ZodTypeAny, {
2713
- tables: Record<string, {
2714
- name: string;
2715
- columns: Record<string, {
2716
- name: string;
2717
- type: string;
2718
- primaryKey: boolean;
2719
- notNull: boolean;
2720
- default?: any;
2721
- autoincrement?: boolean | undefined;
2722
- }>;
2723
- indexes: Record<string, {
2724
- name: string;
2725
- columns: string[];
2726
- isUnique: boolean;
2727
- where?: string | undefined;
2728
- }>;
2729
- foreignKeys: Record<string, {
2730
- name: string;
2731
- tableFrom: string;
2732
- columnsFrom: string[];
2733
- tableTo: string;
2734
- columnsTo: string[];
2735
- onUpdate?: string | undefined;
2736
- onDelete?: string | undefined;
2737
- }>;
2738
- compositePrimaryKeys: Record<string, {
2739
- columns: string[];
2740
- name?: string | undefined;
2741
- }>;
2742
- uniqueConstraints: Record<string, {
2743
- name: string;
2744
- columns: string[];
2745
- }>;
2746
- }>;
2747
- id: string;
2748
- prevId: string;
2749
- version: "5";
2750
- dialect: "sqlite";
2751
- _meta: {
2752
- columns: Record<string, string>;
2753
- tables: Record<string, string>;
2754
- };
2755
- enums: {};
2756
- }, {
2757
- tables: Record<string, {
2758
- name: string;
2759
- columns: Record<string, {
2760
- name: string;
2761
- type: string;
2762
- primaryKey: boolean;
2763
- notNull: boolean;
2764
- default?: any;
2765
- autoincrement?: boolean | undefined;
2766
- }>;
2767
- indexes: Record<string, {
2768
- name: string;
2769
- columns: string[];
2770
- isUnique: boolean;
2771
- where?: string | undefined;
2772
- }>;
2773
- foreignKeys: Record<string, {
2774
- name: string;
2775
- tableFrom: string;
2776
- columnsFrom: string[];
2777
- tableTo: string;
2778
- columnsTo: string[];
2779
- onUpdate?: string | undefined;
2780
- onDelete?: string | undefined;
2781
- }>;
2782
- compositePrimaryKeys: Record<string, {
2783
- columns: string[];
2784
- name?: string | undefined;
2785
- }>;
2786
- uniqueConstraints?: Record<string, {
2787
- name: string;
2788
- columns: string[];
2789
- }> | undefined;
2790
- }>;
2791
- id: string;
2792
- prevId: string;
2793
- version: "5";
2794
- dialect: "sqlite";
2795
- _meta: {
2796
- columns: Record<string, string>;
2797
- tables: Record<string, string>;
2798
- };
2799
- enums: {};
2800
- }>;
2801
- export {};