drizzle-kit 0.20.18 → 0.21.0-178d0dc

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. package/bin.cjs +104692 -56730
  2. package/index.d.mts +232 -68
  3. package/index.d.ts +232 -68
  4. package/index.js +1 -0
  5. package/package.json +44 -72
  6. package/payload.d.mts +1052 -18
  7. package/payload.d.ts +1052 -18
  8. package/payload.js +22129 -34534
  9. package/payload.mjs +22174 -34562
  10. package/utils-studio.js +4580 -805
  11. package/utils-studio.mjs +4556 -784
  12. package/utils.js +4410 -6940
  13. package/utils.mjs +4852 -7382
  14. package/@types/utils.d.ts +0 -12
  15. package/cli/commands/migrate.d.ts +0 -270
  16. package/cli/commands/mysqlIntrospect.d.ts +0 -119
  17. package/cli/commands/mysqlPushUtils.d.ts +0 -18
  18. package/cli/commands/mysqlUp.d.ts +0 -4
  19. package/cli/commands/pgConnect.d.ts +0 -5
  20. package/cli/commands/pgIntrospect.d.ts +0 -123
  21. package/cli/commands/pgPushUtils.d.ts +0 -14
  22. package/cli/commands/pgUp.d.ts +0 -4
  23. package/cli/commands/sqliteIntrospect.d.ts +0 -107
  24. package/cli/commands/sqlitePushUtils.d.ts +0 -21
  25. package/cli/commands/sqliteUtils.d.ts +0 -162
  26. package/cli/commands/upFolders.d.ts +0 -27
  27. package/cli/commands/utils.d.ts +0 -274
  28. package/cli/selector-ui.d.ts +0 -13
  29. package/cli/validations/common.d.ts +0 -13
  30. package/cli/validations/mysql.d.ts +0 -365
  31. package/cli/validations/outputs.d.ts +0 -40
  32. package/cli/validations/pg.d.ts +0 -438
  33. package/cli/views.d.ts +0 -61
  34. package/drivers/index.d.ts +0 -39
  35. package/global.d.ts +0 -4
  36. package/introspect-mysql.d.ts +0 -9
  37. package/introspect-pg.d.ts +0 -12
  38. package/introspect-sqlite.d.ts +0 -10
  39. package/jsonDiffer.d.ts +0 -76
  40. package/jsonStatements.d.ts +0 -349
  41. package/migrationPreparator.d.ts +0 -35
  42. package/schemaValidator.d.ts +0 -1313
  43. package/serializer/index.d.ts +0 -9
  44. package/serializer/mysqlImports.d.ts +0 -11
  45. package/serializer/mysqlSchema.d.ts +0 -3833
  46. package/serializer/mysqlSerializer.d.ts +0 -7
  47. package/serializer/pgImports.d.ts +0 -11
  48. package/serializer/pgSchema.d.ts +0 -4333
  49. package/serializer/pgSerializer.d.ts +0 -7
  50. package/serializer/schemaToDrizzle.d.ts +0 -7
  51. package/serializer/sqliteImports.d.ts +0 -9
  52. package/serializer/sqliteSchema.d.ts +0 -3227
  53. package/serializer/sqliteSerializer.d.ts +0 -6
  54. package/snapshotsDiffer.d.ts +0 -2660
  55. package/sqlgenerator.d.ts +0 -33
  56. package/utils/words.d.ts +0 -7
  57. package/utils-studio.d.mts +0 -5
  58. package/utils-studio.d.ts +0 -5
  59. package/utils.d.ts +0 -199
@@ -1,4333 +0,0 @@
1
- import { TypeOf } from "zod";
2
- declare const enumSchema: import("zod").ZodObject<{
3
- name: import("zod").ZodString;
4
- values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
5
- }, "strict", import("zod").ZodTypeAny, {
6
- name: string;
7
- values: Record<string, string>;
8
- }, {
9
- name: string;
10
- values: Record<string, string>;
11
- }>;
12
- export declare const pgSchemaV2: import("zod").ZodObject<{
13
- version: import("zod").ZodLiteral<"2">;
14
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
15
- name: import("zod").ZodString;
16
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
17
- name: import("zod").ZodString;
18
- type: import("zod").ZodString;
19
- primaryKey: import("zod").ZodBoolean;
20
- notNull: import("zod").ZodBoolean;
21
- default: import("zod").ZodOptional<import("zod").ZodAny>;
22
- references: import("zod").ZodOptional<import("zod").ZodString>;
23
- }, "strict", import("zod").ZodTypeAny, {
24
- default?: any;
25
- references?: string | undefined;
26
- name: string;
27
- type: string;
28
- primaryKey: boolean;
29
- notNull: boolean;
30
- }, {
31
- default?: any;
32
- references?: string | undefined;
33
- name: string;
34
- type: string;
35
- primaryKey: boolean;
36
- notNull: boolean;
37
- }>>;
38
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
39
- name: import("zod").ZodString;
40
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
41
- name: import("zod").ZodString;
42
- }, "strip", import("zod").ZodTypeAny, {
43
- name: string;
44
- }, {
45
- name: string;
46
- }>>;
47
- isUnique: import("zod").ZodBoolean;
48
- }, "strict", import("zod").ZodTypeAny, {
49
- name: string;
50
- columns: Record<string, {
51
- name: string;
52
- }>;
53
- isUnique: boolean;
54
- }, {
55
- name: string;
56
- columns: Record<string, {
57
- name: string;
58
- }>;
59
- isUnique: boolean;
60
- }>>;
61
- }, "strict", import("zod").ZodTypeAny, {
62
- name: string;
63
- columns: Record<string, {
64
- default?: any;
65
- references?: string | undefined;
66
- name: string;
67
- type: string;
68
- primaryKey: boolean;
69
- notNull: boolean;
70
- }>;
71
- indexes: Record<string, {
72
- name: string;
73
- columns: Record<string, {
74
- name: string;
75
- }>;
76
- isUnique: boolean;
77
- }>;
78
- }, {
79
- name: string;
80
- columns: Record<string, {
81
- default?: any;
82
- references?: string | undefined;
83
- name: string;
84
- type: string;
85
- primaryKey: boolean;
86
- notNull: boolean;
87
- }>;
88
- indexes: Record<string, {
89
- name: string;
90
- columns: Record<string, {
91
- name: string;
92
- }>;
93
- isUnique: boolean;
94
- }>;
95
- }>>;
96
- enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
97
- name: import("zod").ZodString;
98
- values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
99
- }, "strict", import("zod").ZodTypeAny, {
100
- name: string;
101
- values: Record<string, string>;
102
- }, {
103
- name: string;
104
- values: Record<string, string>;
105
- }>>;
106
- }, "strict", import("zod").ZodTypeAny, {
107
- version: "2";
108
- tables: Record<string, {
109
- name: string;
110
- columns: Record<string, {
111
- default?: any;
112
- references?: string | undefined;
113
- name: string;
114
- type: string;
115
- primaryKey: boolean;
116
- notNull: boolean;
117
- }>;
118
- indexes: Record<string, {
119
- name: string;
120
- columns: Record<string, {
121
- name: string;
122
- }>;
123
- isUnique: boolean;
124
- }>;
125
- }>;
126
- enums: Record<string, {
127
- name: string;
128
- values: Record<string, string>;
129
- }>;
130
- }, {
131
- version: "2";
132
- tables: Record<string, {
133
- name: string;
134
- columns: Record<string, {
135
- default?: any;
136
- references?: string | undefined;
137
- name: string;
138
- type: string;
139
- primaryKey: boolean;
140
- notNull: boolean;
141
- }>;
142
- indexes: Record<string, {
143
- name: string;
144
- columns: Record<string, {
145
- name: string;
146
- }>;
147
- isUnique: boolean;
148
- }>;
149
- }>;
150
- enums: Record<string, {
151
- name: string;
152
- values: Record<string, string>;
153
- }>;
154
- }>;
155
- export declare const pgSchemaV1: import("zod").ZodObject<{
156
- version: import("zod").ZodLiteral<"1">;
157
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
158
- name: import("zod").ZodString;
159
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
160
- name: import("zod").ZodString;
161
- type: import("zod").ZodString;
162
- primaryKey: import("zod").ZodBoolean;
163
- notNull: import("zod").ZodBoolean;
164
- default: import("zod").ZodOptional<import("zod").ZodAny>;
165
- references: import("zod").ZodOptional<import("zod").ZodObject<{
166
- foreignKeyName: import("zod").ZodString;
167
- table: import("zod").ZodString;
168
- column: import("zod").ZodString;
169
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
170
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
171
- }, "strict", import("zod").ZodTypeAny, {
172
- onUpdate?: string | undefined;
173
- onDelete?: string | undefined;
174
- foreignKeyName: string;
175
- table: string;
176
- column: string;
177
- }, {
178
- onUpdate?: string | undefined;
179
- onDelete?: string | undefined;
180
- foreignKeyName: string;
181
- table: string;
182
- column: string;
183
- }>>;
184
- }, "strict", import("zod").ZodTypeAny, {
185
- default?: any;
186
- references?: {
187
- onUpdate?: string | undefined;
188
- onDelete?: string | undefined;
189
- foreignKeyName: string;
190
- table: string;
191
- column: string;
192
- } | undefined;
193
- name: string;
194
- type: string;
195
- primaryKey: boolean;
196
- notNull: boolean;
197
- }, {
198
- default?: any;
199
- references?: {
200
- onUpdate?: string | undefined;
201
- onDelete?: string | undefined;
202
- foreignKeyName: string;
203
- table: string;
204
- column: string;
205
- } | undefined;
206
- name: string;
207
- type: string;
208
- primaryKey: boolean;
209
- notNull: boolean;
210
- }>>;
211
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
212
- name: import("zod").ZodString;
213
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
214
- name: import("zod").ZodString;
215
- }, "strip", import("zod").ZodTypeAny, {
216
- name: string;
217
- }, {
218
- name: string;
219
- }>>;
220
- isUnique: import("zod").ZodBoolean;
221
- }, "strict", import("zod").ZodTypeAny, {
222
- name: string;
223
- columns: Record<string, {
224
- name: string;
225
- }>;
226
- isUnique: boolean;
227
- }, {
228
- name: string;
229
- columns: Record<string, {
230
- name: string;
231
- }>;
232
- isUnique: boolean;
233
- }>>;
234
- }, "strict", import("zod").ZodTypeAny, {
235
- name: string;
236
- columns: Record<string, {
237
- default?: any;
238
- references?: {
239
- onUpdate?: string | undefined;
240
- onDelete?: string | undefined;
241
- foreignKeyName: string;
242
- table: string;
243
- column: string;
244
- } | undefined;
245
- name: string;
246
- type: string;
247
- primaryKey: boolean;
248
- notNull: boolean;
249
- }>;
250
- indexes: Record<string, {
251
- name: string;
252
- columns: Record<string, {
253
- name: string;
254
- }>;
255
- isUnique: boolean;
256
- }>;
257
- }, {
258
- name: string;
259
- columns: Record<string, {
260
- default?: any;
261
- references?: {
262
- onUpdate?: string | undefined;
263
- onDelete?: string | undefined;
264
- foreignKeyName: string;
265
- table: string;
266
- column: string;
267
- } | undefined;
268
- name: string;
269
- type: string;
270
- primaryKey: boolean;
271
- notNull: boolean;
272
- }>;
273
- indexes: Record<string, {
274
- name: string;
275
- columns: Record<string, {
276
- name: string;
277
- }>;
278
- isUnique: boolean;
279
- }>;
280
- }>>;
281
- enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
282
- name: import("zod").ZodString;
283
- values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
284
- }, "strict", import("zod").ZodTypeAny, {
285
- name: string;
286
- values: Record<string, string>;
287
- }, {
288
- name: string;
289
- values: Record<string, string>;
290
- }>>;
291
- }, "strict", import("zod").ZodTypeAny, {
292
- version: "1";
293
- tables: Record<string, {
294
- name: string;
295
- columns: Record<string, {
296
- default?: any;
297
- references?: {
298
- onUpdate?: string | undefined;
299
- onDelete?: string | undefined;
300
- foreignKeyName: string;
301
- table: string;
302
- column: string;
303
- } | undefined;
304
- name: string;
305
- type: string;
306
- primaryKey: boolean;
307
- notNull: boolean;
308
- }>;
309
- indexes: Record<string, {
310
- name: string;
311
- columns: Record<string, {
312
- name: string;
313
- }>;
314
- isUnique: boolean;
315
- }>;
316
- }>;
317
- enums: Record<string, {
318
- name: string;
319
- values: Record<string, string>;
320
- }>;
321
- }, {
322
- version: "1";
323
- tables: Record<string, {
324
- name: string;
325
- columns: Record<string, {
326
- default?: any;
327
- references?: {
328
- onUpdate?: string | undefined;
329
- onDelete?: string | undefined;
330
- foreignKeyName: string;
331
- table: string;
332
- column: string;
333
- } | undefined;
334
- name: string;
335
- type: string;
336
- primaryKey: boolean;
337
- notNull: boolean;
338
- }>;
339
- indexes: Record<string, {
340
- name: string;
341
- columns: Record<string, {
342
- name: string;
343
- }>;
344
- isUnique: boolean;
345
- }>;
346
- }>;
347
- enums: Record<string, {
348
- name: string;
349
- values: Record<string, string>;
350
- }>;
351
- }>;
352
- declare const index: import("zod").ZodObject<{
353
- name: import("zod").ZodString;
354
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
355
- isUnique: import("zod").ZodBoolean;
356
- }, "strict", import("zod").ZodTypeAny, {
357
- name: string;
358
- columns: string[];
359
- isUnique: boolean;
360
- }, {
361
- name: string;
362
- columns: string[];
363
- isUnique: boolean;
364
- }>;
365
- declare const fk: import("zod").ZodObject<{
366
- name: import("zod").ZodString;
367
- tableFrom: import("zod").ZodString;
368
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
369
- tableTo: import("zod").ZodString;
370
- schemaTo: import("zod").ZodOptional<import("zod").ZodString>;
371
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
372
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
373
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
374
- }, "strict", import("zod").ZodTypeAny, {
375
- onUpdate?: string | undefined;
376
- onDelete?: string | undefined;
377
- schemaTo?: string | undefined;
378
- name: string;
379
- tableFrom: string;
380
- columnsFrom: string[];
381
- tableTo: string;
382
- columnsTo: string[];
383
- }, {
384
- onUpdate?: string | undefined;
385
- onDelete?: string | undefined;
386
- schemaTo?: string | undefined;
387
- name: string;
388
- tableFrom: string;
389
- columnsFrom: string[];
390
- tableTo: string;
391
- columnsTo: string[];
392
- }>;
393
- declare const column: import("zod").ZodObject<{
394
- name: import("zod").ZodString;
395
- type: import("zod").ZodString;
396
- primaryKey: import("zod").ZodBoolean;
397
- notNull: import("zod").ZodBoolean;
398
- default: import("zod").ZodOptional<import("zod").ZodAny>;
399
- isUnique: import("zod").ZodOptional<import("zod").ZodAny>;
400
- uniqueName: import("zod").ZodOptional<import("zod").ZodString>;
401
- nullsNotDistinct: import("zod").ZodOptional<import("zod").ZodBoolean>;
402
- }, "strict", import("zod").ZodTypeAny, {
403
- isUnique?: any;
404
- default?: any;
405
- uniqueName?: string | undefined;
406
- nullsNotDistinct?: boolean | undefined;
407
- name: string;
408
- type: string;
409
- primaryKey: boolean;
410
- notNull: boolean;
411
- }, {
412
- isUnique?: any;
413
- default?: any;
414
- uniqueName?: string | undefined;
415
- nullsNotDistinct?: boolean | undefined;
416
- name: string;
417
- type: string;
418
- primaryKey: boolean;
419
- notNull: boolean;
420
- }>;
421
- declare const tableV3: import("zod").ZodObject<{
422
- name: import("zod").ZodString;
423
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
424
- name: import("zod").ZodString;
425
- type: import("zod").ZodString;
426
- primaryKey: import("zod").ZodBoolean;
427
- notNull: import("zod").ZodBoolean;
428
- default: import("zod").ZodOptional<import("zod").ZodAny>;
429
- isUnique: import("zod").ZodOptional<import("zod").ZodAny>;
430
- uniqueName: import("zod").ZodOptional<import("zod").ZodString>;
431
- nullsNotDistinct: import("zod").ZodOptional<import("zod").ZodBoolean>;
432
- }, "strict", import("zod").ZodTypeAny, {
433
- isUnique?: any;
434
- default?: any;
435
- uniqueName?: string | undefined;
436
- nullsNotDistinct?: boolean | undefined;
437
- name: string;
438
- type: string;
439
- primaryKey: boolean;
440
- notNull: boolean;
441
- }, {
442
- isUnique?: any;
443
- default?: any;
444
- uniqueName?: string | undefined;
445
- nullsNotDistinct?: boolean | undefined;
446
- name: string;
447
- type: string;
448
- primaryKey: boolean;
449
- notNull: boolean;
450
- }>>;
451
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
452
- name: import("zod").ZodString;
453
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
454
- isUnique: import("zod").ZodBoolean;
455
- }, "strict", import("zod").ZodTypeAny, {
456
- name: string;
457
- columns: string[];
458
- isUnique: boolean;
459
- }, {
460
- name: string;
461
- columns: string[];
462
- isUnique: boolean;
463
- }>>;
464
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
465
- name: import("zod").ZodString;
466
- tableFrom: import("zod").ZodString;
467
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
468
- tableTo: import("zod").ZodString;
469
- schemaTo: import("zod").ZodOptional<import("zod").ZodString>;
470
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
471
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
472
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
473
- }, "strict", import("zod").ZodTypeAny, {
474
- onUpdate?: string | undefined;
475
- onDelete?: string | undefined;
476
- schemaTo?: string | undefined;
477
- name: string;
478
- tableFrom: string;
479
- columnsFrom: string[];
480
- tableTo: string;
481
- columnsTo: string[];
482
- }, {
483
- onUpdate?: string | undefined;
484
- onDelete?: string | undefined;
485
- schemaTo?: string | undefined;
486
- name: string;
487
- tableFrom: string;
488
- columnsFrom: string[];
489
- tableTo: string;
490
- columnsTo: string[];
491
- }>>;
492
- }, "strict", import("zod").ZodTypeAny, {
493
- name: string;
494
- columns: Record<string, {
495
- isUnique?: any;
496
- default?: any;
497
- uniqueName?: string | undefined;
498
- nullsNotDistinct?: boolean | undefined;
499
- name: string;
500
- type: string;
501
- primaryKey: boolean;
502
- notNull: boolean;
503
- }>;
504
- indexes: Record<string, {
505
- name: string;
506
- columns: string[];
507
- isUnique: boolean;
508
- }>;
509
- foreignKeys: Record<string, {
510
- onUpdate?: string | undefined;
511
- onDelete?: string | undefined;
512
- schemaTo?: string | undefined;
513
- name: string;
514
- tableFrom: string;
515
- columnsFrom: string[];
516
- tableTo: string;
517
- columnsTo: string[];
518
- }>;
519
- }, {
520
- name: string;
521
- columns: Record<string, {
522
- isUnique?: any;
523
- default?: any;
524
- uniqueName?: string | undefined;
525
- nullsNotDistinct?: boolean | undefined;
526
- name: string;
527
- type: string;
528
- primaryKey: boolean;
529
- notNull: boolean;
530
- }>;
531
- indexes: Record<string, {
532
- name: string;
533
- columns: string[];
534
- isUnique: boolean;
535
- }>;
536
- foreignKeys: Record<string, {
537
- onUpdate?: string | undefined;
538
- onDelete?: string | undefined;
539
- schemaTo?: string | undefined;
540
- name: string;
541
- tableFrom: string;
542
- columnsFrom: string[];
543
- tableTo: string;
544
- columnsTo: string[];
545
- }>;
546
- }>;
547
- declare const compositePK: import("zod").ZodObject<{
548
- name: import("zod").ZodString;
549
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
550
- }, "strict", import("zod").ZodTypeAny, {
551
- name: string;
552
- columns: string[];
553
- }, {
554
- name: string;
555
- columns: string[];
556
- }>;
557
- declare const uniqueConstraint: import("zod").ZodObject<{
558
- name: import("zod").ZodString;
559
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
560
- nullsNotDistinct: import("zod").ZodBoolean;
561
- }, "strict", import("zod").ZodTypeAny, {
562
- name: string;
563
- columns: string[];
564
- nullsNotDistinct: boolean;
565
- }, {
566
- name: string;
567
- columns: string[];
568
- nullsNotDistinct: boolean;
569
- }>;
570
- declare const tableV4: import("zod").ZodObject<{
571
- name: import("zod").ZodString;
572
- schema: import("zod").ZodString;
573
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
574
- name: import("zod").ZodString;
575
- type: import("zod").ZodString;
576
- primaryKey: import("zod").ZodBoolean;
577
- notNull: import("zod").ZodBoolean;
578
- default: import("zod").ZodOptional<import("zod").ZodAny>;
579
- isUnique: import("zod").ZodOptional<import("zod").ZodAny>;
580
- uniqueName: import("zod").ZodOptional<import("zod").ZodString>;
581
- nullsNotDistinct: import("zod").ZodOptional<import("zod").ZodBoolean>;
582
- }, "strict", import("zod").ZodTypeAny, {
583
- isUnique?: any;
584
- default?: any;
585
- uniqueName?: string | undefined;
586
- nullsNotDistinct?: boolean | undefined;
587
- name: string;
588
- type: string;
589
- primaryKey: boolean;
590
- notNull: boolean;
591
- }, {
592
- isUnique?: any;
593
- default?: any;
594
- uniqueName?: string | undefined;
595
- nullsNotDistinct?: boolean | undefined;
596
- name: string;
597
- type: string;
598
- primaryKey: boolean;
599
- notNull: boolean;
600
- }>>;
601
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
602
- name: import("zod").ZodString;
603
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
604
- isUnique: import("zod").ZodBoolean;
605
- }, "strict", import("zod").ZodTypeAny, {
606
- name: string;
607
- columns: string[];
608
- isUnique: boolean;
609
- }, {
610
- name: string;
611
- columns: string[];
612
- isUnique: boolean;
613
- }>>;
614
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
615
- name: import("zod").ZodString;
616
- tableFrom: import("zod").ZodString;
617
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
618
- tableTo: import("zod").ZodString;
619
- schemaTo: import("zod").ZodOptional<import("zod").ZodString>;
620
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
621
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
622
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
623
- }, "strict", import("zod").ZodTypeAny, {
624
- onUpdate?: string | undefined;
625
- onDelete?: string | undefined;
626
- schemaTo?: string | undefined;
627
- name: string;
628
- tableFrom: string;
629
- columnsFrom: string[];
630
- tableTo: string;
631
- columnsTo: string[];
632
- }, {
633
- onUpdate?: string | undefined;
634
- onDelete?: string | undefined;
635
- schemaTo?: string | undefined;
636
- name: string;
637
- tableFrom: string;
638
- columnsFrom: string[];
639
- tableTo: string;
640
- columnsTo: string[];
641
- }>>;
642
- }, "strict", import("zod").ZodTypeAny, {
643
- name: string;
644
- columns: Record<string, {
645
- isUnique?: any;
646
- default?: any;
647
- uniqueName?: string | undefined;
648
- nullsNotDistinct?: boolean | undefined;
649
- name: string;
650
- type: string;
651
- primaryKey: boolean;
652
- notNull: boolean;
653
- }>;
654
- indexes: Record<string, {
655
- name: string;
656
- columns: string[];
657
- isUnique: boolean;
658
- }>;
659
- foreignKeys: Record<string, {
660
- onUpdate?: string | undefined;
661
- onDelete?: string | undefined;
662
- schemaTo?: string | undefined;
663
- name: string;
664
- tableFrom: string;
665
- columnsFrom: string[];
666
- tableTo: string;
667
- columnsTo: string[];
668
- }>;
669
- schema: string;
670
- }, {
671
- name: string;
672
- columns: Record<string, {
673
- isUnique?: any;
674
- default?: any;
675
- uniqueName?: string | undefined;
676
- nullsNotDistinct?: boolean | undefined;
677
- name: string;
678
- type: string;
679
- primaryKey: boolean;
680
- notNull: boolean;
681
- }>;
682
- indexes: Record<string, {
683
- name: string;
684
- columns: string[];
685
- isUnique: boolean;
686
- }>;
687
- foreignKeys: Record<string, {
688
- onUpdate?: string | undefined;
689
- onDelete?: string | undefined;
690
- schemaTo?: string | undefined;
691
- name: string;
692
- tableFrom: string;
693
- columnsFrom: string[];
694
- tableTo: string;
695
- columnsTo: string[];
696
- }>;
697
- schema: string;
698
- }>;
699
- declare const table: import("zod").ZodObject<{
700
- name: import("zod").ZodString;
701
- schema: import("zod").ZodString;
702
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
703
- name: import("zod").ZodString;
704
- type: import("zod").ZodString;
705
- primaryKey: import("zod").ZodBoolean;
706
- notNull: import("zod").ZodBoolean;
707
- default: import("zod").ZodOptional<import("zod").ZodAny>;
708
- isUnique: import("zod").ZodOptional<import("zod").ZodAny>;
709
- uniqueName: import("zod").ZodOptional<import("zod").ZodString>;
710
- nullsNotDistinct: import("zod").ZodOptional<import("zod").ZodBoolean>;
711
- }, "strict", import("zod").ZodTypeAny, {
712
- isUnique?: any;
713
- default?: any;
714
- uniqueName?: string | undefined;
715
- nullsNotDistinct?: boolean | undefined;
716
- name: string;
717
- type: string;
718
- primaryKey: boolean;
719
- notNull: boolean;
720
- }, {
721
- isUnique?: any;
722
- default?: any;
723
- uniqueName?: string | undefined;
724
- nullsNotDistinct?: boolean | undefined;
725
- name: string;
726
- type: string;
727
- primaryKey: boolean;
728
- notNull: boolean;
729
- }>>;
730
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
731
- name: import("zod").ZodString;
732
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
733
- isUnique: import("zod").ZodBoolean;
734
- }, "strict", import("zod").ZodTypeAny, {
735
- name: string;
736
- columns: string[];
737
- isUnique: boolean;
738
- }, {
739
- name: string;
740
- columns: string[];
741
- isUnique: boolean;
742
- }>>;
743
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
744
- name: import("zod").ZodString;
745
- tableFrom: import("zod").ZodString;
746
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
747
- tableTo: import("zod").ZodString;
748
- schemaTo: import("zod").ZodOptional<import("zod").ZodString>;
749
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
750
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
751
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
752
- }, "strict", import("zod").ZodTypeAny, {
753
- onUpdate?: string | undefined;
754
- onDelete?: string | undefined;
755
- schemaTo?: string | undefined;
756
- name: string;
757
- tableFrom: string;
758
- columnsFrom: string[];
759
- tableTo: string;
760
- columnsTo: string[];
761
- }, {
762
- onUpdate?: string | undefined;
763
- onDelete?: string | undefined;
764
- schemaTo?: string | undefined;
765
- name: string;
766
- tableFrom: string;
767
- columnsFrom: string[];
768
- tableTo: string;
769
- columnsTo: string[];
770
- }>>;
771
- compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
772
- name: import("zod").ZodString;
773
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
774
- }, "strict", import("zod").ZodTypeAny, {
775
- name: string;
776
- columns: string[];
777
- }, {
778
- name: string;
779
- columns: string[];
780
- }>>;
781
- uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
782
- name: import("zod").ZodString;
783
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
784
- nullsNotDistinct: import("zod").ZodBoolean;
785
- }, "strict", import("zod").ZodTypeAny, {
786
- name: string;
787
- columns: string[];
788
- nullsNotDistinct: boolean;
789
- }, {
790
- name: string;
791
- columns: string[];
792
- nullsNotDistinct: boolean;
793
- }>>>;
794
- }, "strict", import("zod").ZodTypeAny, {
795
- name: string;
796
- columns: Record<string, {
797
- isUnique?: any;
798
- default?: any;
799
- uniqueName?: string | undefined;
800
- nullsNotDistinct?: boolean | undefined;
801
- name: string;
802
- type: string;
803
- primaryKey: boolean;
804
- notNull: boolean;
805
- }>;
806
- indexes: Record<string, {
807
- name: string;
808
- columns: string[];
809
- isUnique: boolean;
810
- }>;
811
- foreignKeys: Record<string, {
812
- onUpdate?: string | undefined;
813
- onDelete?: string | undefined;
814
- schemaTo?: string | undefined;
815
- name: string;
816
- tableFrom: string;
817
- columnsFrom: string[];
818
- tableTo: string;
819
- columnsTo: string[];
820
- }>;
821
- schema: string;
822
- compositePrimaryKeys: Record<string, {
823
- name: string;
824
- columns: string[];
825
- }>;
826
- uniqueConstraints: Record<string, {
827
- name: string;
828
- columns: string[];
829
- nullsNotDistinct: boolean;
830
- }>;
831
- }, {
832
- uniqueConstraints?: Record<string, {
833
- name: string;
834
- columns: string[];
835
- nullsNotDistinct: boolean;
836
- }> | undefined;
837
- name: string;
838
- columns: Record<string, {
839
- isUnique?: any;
840
- default?: any;
841
- uniqueName?: string | undefined;
842
- nullsNotDistinct?: boolean | undefined;
843
- name: string;
844
- type: string;
845
- primaryKey: boolean;
846
- notNull: boolean;
847
- }>;
848
- indexes: Record<string, {
849
- name: string;
850
- columns: string[];
851
- isUnique: boolean;
852
- }>;
853
- foreignKeys: Record<string, {
854
- onUpdate?: string | undefined;
855
- onDelete?: string | undefined;
856
- schemaTo?: string | undefined;
857
- name: string;
858
- tableFrom: string;
859
- columnsFrom: string[];
860
- tableTo: string;
861
- columnsTo: string[];
862
- }>;
863
- schema: string;
864
- compositePrimaryKeys: Record<string, {
865
- name: string;
866
- columns: string[];
867
- }>;
868
- }>;
869
- export declare const pgSchemaInternalV3: import("zod").ZodObject<{
870
- version: import("zod").ZodLiteral<"3">;
871
- dialect: import("zod").ZodLiteral<"pg">;
872
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
873
- name: import("zod").ZodString;
874
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
875
- name: import("zod").ZodString;
876
- type: import("zod").ZodString;
877
- primaryKey: import("zod").ZodBoolean;
878
- notNull: import("zod").ZodBoolean;
879
- default: import("zod").ZodOptional<import("zod").ZodAny>;
880
- isUnique: import("zod").ZodOptional<import("zod").ZodAny>;
881
- uniqueName: import("zod").ZodOptional<import("zod").ZodString>;
882
- nullsNotDistinct: import("zod").ZodOptional<import("zod").ZodBoolean>;
883
- }, "strict", import("zod").ZodTypeAny, {
884
- isUnique?: any;
885
- default?: any;
886
- uniqueName?: string | undefined;
887
- nullsNotDistinct?: boolean | undefined;
888
- name: string;
889
- type: string;
890
- primaryKey: boolean;
891
- notNull: boolean;
892
- }, {
893
- isUnique?: any;
894
- default?: any;
895
- uniqueName?: string | undefined;
896
- nullsNotDistinct?: boolean | undefined;
897
- name: string;
898
- type: string;
899
- primaryKey: boolean;
900
- notNull: boolean;
901
- }>>;
902
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
903
- name: import("zod").ZodString;
904
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
905
- isUnique: import("zod").ZodBoolean;
906
- }, "strict", import("zod").ZodTypeAny, {
907
- name: string;
908
- columns: string[];
909
- isUnique: boolean;
910
- }, {
911
- name: string;
912
- columns: string[];
913
- isUnique: boolean;
914
- }>>;
915
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
916
- name: import("zod").ZodString;
917
- tableFrom: import("zod").ZodString;
918
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
919
- tableTo: import("zod").ZodString;
920
- schemaTo: import("zod").ZodOptional<import("zod").ZodString>;
921
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
922
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
923
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
924
- }, "strict", import("zod").ZodTypeAny, {
925
- onUpdate?: string | undefined;
926
- onDelete?: string | undefined;
927
- schemaTo?: string | undefined;
928
- name: string;
929
- tableFrom: string;
930
- columnsFrom: string[];
931
- tableTo: string;
932
- columnsTo: string[];
933
- }, {
934
- onUpdate?: string | undefined;
935
- onDelete?: string | undefined;
936
- schemaTo?: string | undefined;
937
- name: string;
938
- tableFrom: string;
939
- columnsFrom: string[];
940
- tableTo: string;
941
- columnsTo: string[];
942
- }>>;
943
- }, "strict", import("zod").ZodTypeAny, {
944
- name: string;
945
- columns: Record<string, {
946
- isUnique?: any;
947
- default?: any;
948
- uniqueName?: string | undefined;
949
- nullsNotDistinct?: boolean | undefined;
950
- name: string;
951
- type: string;
952
- primaryKey: boolean;
953
- notNull: boolean;
954
- }>;
955
- indexes: Record<string, {
956
- name: string;
957
- columns: string[];
958
- isUnique: boolean;
959
- }>;
960
- foreignKeys: Record<string, {
961
- onUpdate?: string | undefined;
962
- onDelete?: string | undefined;
963
- schemaTo?: string | undefined;
964
- name: string;
965
- tableFrom: string;
966
- columnsFrom: string[];
967
- tableTo: string;
968
- columnsTo: string[];
969
- }>;
970
- }, {
971
- name: string;
972
- columns: Record<string, {
973
- isUnique?: any;
974
- default?: any;
975
- uniqueName?: string | undefined;
976
- nullsNotDistinct?: boolean | undefined;
977
- name: string;
978
- type: string;
979
- primaryKey: boolean;
980
- notNull: boolean;
981
- }>;
982
- indexes: Record<string, {
983
- name: string;
984
- columns: string[];
985
- isUnique: boolean;
986
- }>;
987
- foreignKeys: Record<string, {
988
- onUpdate?: string | undefined;
989
- onDelete?: string | undefined;
990
- schemaTo?: string | undefined;
991
- name: string;
992
- tableFrom: string;
993
- columnsFrom: string[];
994
- tableTo: string;
995
- columnsTo: string[];
996
- }>;
997
- }>>;
998
- enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
999
- name: import("zod").ZodString;
1000
- values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1001
- }, "strict", import("zod").ZodTypeAny, {
1002
- name: string;
1003
- values: Record<string, string>;
1004
- }, {
1005
- name: string;
1006
- values: Record<string, string>;
1007
- }>>;
1008
- }, "strict", import("zod").ZodTypeAny, {
1009
- version: "3";
1010
- dialect: "pg";
1011
- tables: Record<string, {
1012
- name: string;
1013
- columns: Record<string, {
1014
- isUnique?: any;
1015
- default?: any;
1016
- uniqueName?: string | undefined;
1017
- nullsNotDistinct?: boolean | undefined;
1018
- name: string;
1019
- type: string;
1020
- primaryKey: boolean;
1021
- notNull: boolean;
1022
- }>;
1023
- indexes: Record<string, {
1024
- name: string;
1025
- columns: string[];
1026
- isUnique: boolean;
1027
- }>;
1028
- foreignKeys: Record<string, {
1029
- onUpdate?: string | undefined;
1030
- onDelete?: string | undefined;
1031
- schemaTo?: string | undefined;
1032
- name: string;
1033
- tableFrom: string;
1034
- columnsFrom: string[];
1035
- tableTo: string;
1036
- columnsTo: string[];
1037
- }>;
1038
- }>;
1039
- enums: Record<string, {
1040
- name: string;
1041
- values: Record<string, string>;
1042
- }>;
1043
- }, {
1044
- version: "3";
1045
- dialect: "pg";
1046
- tables: Record<string, {
1047
- name: string;
1048
- columns: Record<string, {
1049
- isUnique?: any;
1050
- default?: any;
1051
- uniqueName?: string | undefined;
1052
- nullsNotDistinct?: boolean | undefined;
1053
- name: string;
1054
- type: string;
1055
- primaryKey: boolean;
1056
- notNull: boolean;
1057
- }>;
1058
- indexes: Record<string, {
1059
- name: string;
1060
- columns: string[];
1061
- isUnique: boolean;
1062
- }>;
1063
- foreignKeys: Record<string, {
1064
- onUpdate?: string | undefined;
1065
- onDelete?: string | undefined;
1066
- schemaTo?: string | undefined;
1067
- name: string;
1068
- tableFrom: string;
1069
- columnsFrom: string[];
1070
- tableTo: string;
1071
- columnsTo: string[];
1072
- }>;
1073
- }>;
1074
- enums: Record<string, {
1075
- name: string;
1076
- values: Record<string, string>;
1077
- }>;
1078
- }>;
1079
- export declare const pgSchemaInternalV4: import("zod").ZodObject<{
1080
- version: import("zod").ZodLiteral<"4">;
1081
- dialect: import("zod").ZodLiteral<"pg">;
1082
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1083
- name: import("zod").ZodString;
1084
- schema: import("zod").ZodString;
1085
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1086
- name: import("zod").ZodString;
1087
- type: import("zod").ZodString;
1088
- primaryKey: import("zod").ZodBoolean;
1089
- notNull: import("zod").ZodBoolean;
1090
- default: import("zod").ZodOptional<import("zod").ZodAny>;
1091
- isUnique: import("zod").ZodOptional<import("zod").ZodAny>;
1092
- uniqueName: import("zod").ZodOptional<import("zod").ZodString>;
1093
- nullsNotDistinct: import("zod").ZodOptional<import("zod").ZodBoolean>;
1094
- }, "strict", import("zod").ZodTypeAny, {
1095
- isUnique?: any;
1096
- default?: any;
1097
- uniqueName?: string | undefined;
1098
- nullsNotDistinct?: boolean | undefined;
1099
- name: string;
1100
- type: string;
1101
- primaryKey: boolean;
1102
- notNull: boolean;
1103
- }, {
1104
- isUnique?: any;
1105
- default?: any;
1106
- uniqueName?: string | undefined;
1107
- nullsNotDistinct?: boolean | undefined;
1108
- name: string;
1109
- type: string;
1110
- primaryKey: boolean;
1111
- notNull: boolean;
1112
- }>>;
1113
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1114
- name: import("zod").ZodString;
1115
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
1116
- isUnique: import("zod").ZodBoolean;
1117
- }, "strict", import("zod").ZodTypeAny, {
1118
- name: string;
1119
- columns: string[];
1120
- isUnique: boolean;
1121
- }, {
1122
- name: string;
1123
- columns: string[];
1124
- isUnique: boolean;
1125
- }>>;
1126
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1127
- name: import("zod").ZodString;
1128
- tableFrom: import("zod").ZodString;
1129
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
1130
- tableTo: import("zod").ZodString;
1131
- schemaTo: import("zod").ZodOptional<import("zod").ZodString>;
1132
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
1133
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
1134
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
1135
- }, "strict", import("zod").ZodTypeAny, {
1136
- onUpdate?: string | undefined;
1137
- onDelete?: string | undefined;
1138
- schemaTo?: string | undefined;
1139
- name: string;
1140
- tableFrom: string;
1141
- columnsFrom: string[];
1142
- tableTo: string;
1143
- columnsTo: string[];
1144
- }, {
1145
- onUpdate?: string | undefined;
1146
- onDelete?: string | undefined;
1147
- schemaTo?: string | undefined;
1148
- name: string;
1149
- tableFrom: string;
1150
- columnsFrom: string[];
1151
- tableTo: string;
1152
- columnsTo: string[];
1153
- }>>;
1154
- }, "strict", import("zod").ZodTypeAny, {
1155
- name: string;
1156
- columns: Record<string, {
1157
- isUnique?: any;
1158
- default?: any;
1159
- uniqueName?: string | undefined;
1160
- nullsNotDistinct?: boolean | undefined;
1161
- name: string;
1162
- type: string;
1163
- primaryKey: boolean;
1164
- notNull: boolean;
1165
- }>;
1166
- indexes: Record<string, {
1167
- name: string;
1168
- columns: string[];
1169
- isUnique: boolean;
1170
- }>;
1171
- foreignKeys: Record<string, {
1172
- onUpdate?: string | undefined;
1173
- onDelete?: string | undefined;
1174
- schemaTo?: string | undefined;
1175
- name: string;
1176
- tableFrom: string;
1177
- columnsFrom: string[];
1178
- tableTo: string;
1179
- columnsTo: string[];
1180
- }>;
1181
- schema: string;
1182
- }, {
1183
- name: string;
1184
- columns: Record<string, {
1185
- isUnique?: any;
1186
- default?: any;
1187
- uniqueName?: string | undefined;
1188
- nullsNotDistinct?: boolean | undefined;
1189
- name: string;
1190
- type: string;
1191
- primaryKey: boolean;
1192
- notNull: boolean;
1193
- }>;
1194
- indexes: Record<string, {
1195
- name: string;
1196
- columns: string[];
1197
- isUnique: boolean;
1198
- }>;
1199
- foreignKeys: Record<string, {
1200
- onUpdate?: string | undefined;
1201
- onDelete?: string | undefined;
1202
- schemaTo?: string | undefined;
1203
- name: string;
1204
- tableFrom: string;
1205
- columnsFrom: string[];
1206
- tableTo: string;
1207
- columnsTo: string[];
1208
- }>;
1209
- schema: string;
1210
- }>>;
1211
- enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1212
- name: import("zod").ZodString;
1213
- values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1214
- }, "strict", import("zod").ZodTypeAny, {
1215
- name: string;
1216
- values: Record<string, string>;
1217
- }, {
1218
- name: string;
1219
- values: Record<string, string>;
1220
- }>>;
1221
- schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1222
- }, "strict", import("zod").ZodTypeAny, {
1223
- version: "4";
1224
- dialect: "pg";
1225
- tables: Record<string, {
1226
- name: string;
1227
- columns: Record<string, {
1228
- isUnique?: any;
1229
- default?: any;
1230
- uniqueName?: string | undefined;
1231
- nullsNotDistinct?: boolean | undefined;
1232
- name: string;
1233
- type: string;
1234
- primaryKey: boolean;
1235
- notNull: boolean;
1236
- }>;
1237
- indexes: Record<string, {
1238
- name: string;
1239
- columns: string[];
1240
- isUnique: boolean;
1241
- }>;
1242
- foreignKeys: Record<string, {
1243
- onUpdate?: string | undefined;
1244
- onDelete?: string | undefined;
1245
- schemaTo?: string | undefined;
1246
- name: string;
1247
- tableFrom: string;
1248
- columnsFrom: string[];
1249
- tableTo: string;
1250
- columnsTo: string[];
1251
- }>;
1252
- schema: string;
1253
- }>;
1254
- schemas: Record<string, string>;
1255
- enums: Record<string, {
1256
- name: string;
1257
- values: Record<string, string>;
1258
- }>;
1259
- }, {
1260
- version: "4";
1261
- dialect: "pg";
1262
- tables: Record<string, {
1263
- name: string;
1264
- columns: Record<string, {
1265
- isUnique?: any;
1266
- default?: any;
1267
- uniqueName?: string | undefined;
1268
- nullsNotDistinct?: boolean | undefined;
1269
- name: string;
1270
- type: string;
1271
- primaryKey: boolean;
1272
- notNull: boolean;
1273
- }>;
1274
- indexes: Record<string, {
1275
- name: string;
1276
- columns: string[];
1277
- isUnique: boolean;
1278
- }>;
1279
- foreignKeys: Record<string, {
1280
- onUpdate?: string | undefined;
1281
- onDelete?: string | undefined;
1282
- schemaTo?: string | undefined;
1283
- name: string;
1284
- tableFrom: string;
1285
- columnsFrom: string[];
1286
- tableTo: string;
1287
- columnsTo: string[];
1288
- }>;
1289
- schema: string;
1290
- }>;
1291
- schemas: Record<string, string>;
1292
- enums: Record<string, {
1293
- name: string;
1294
- values: Record<string, string>;
1295
- }>;
1296
- }>;
1297
- export declare const pgSchemaExternal: import("zod").ZodObject<{
1298
- version: import("zod").ZodLiteral<"5">;
1299
- dialect: import("zod").ZodLiteral<"pg">;
1300
- tables: import("zod").ZodArray<import("zod").ZodObject<{
1301
- name: import("zod").ZodString;
1302
- schema: import("zod").ZodString;
1303
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1304
- name: import("zod").ZodString;
1305
- type: import("zod").ZodString;
1306
- primaryKey: import("zod").ZodBoolean;
1307
- notNull: import("zod").ZodBoolean;
1308
- default: import("zod").ZodOptional<import("zod").ZodAny>;
1309
- isUnique: import("zod").ZodOptional<import("zod").ZodAny>;
1310
- uniqueName: import("zod").ZodOptional<import("zod").ZodString>;
1311
- nullsNotDistinct: import("zod").ZodOptional<import("zod").ZodBoolean>;
1312
- }, "strict", import("zod").ZodTypeAny, {
1313
- isUnique?: any;
1314
- default?: any;
1315
- uniqueName?: string | undefined;
1316
- nullsNotDistinct?: boolean | undefined;
1317
- name: string;
1318
- type: string;
1319
- primaryKey: boolean;
1320
- notNull: boolean;
1321
- }, {
1322
- isUnique?: any;
1323
- default?: any;
1324
- uniqueName?: string | undefined;
1325
- nullsNotDistinct?: boolean | undefined;
1326
- name: string;
1327
- type: string;
1328
- primaryKey: boolean;
1329
- notNull: boolean;
1330
- }>>;
1331
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1332
- name: import("zod").ZodString;
1333
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
1334
- isUnique: import("zod").ZodBoolean;
1335
- }, "strict", import("zod").ZodTypeAny, {
1336
- name: string;
1337
- columns: string[];
1338
- isUnique: boolean;
1339
- }, {
1340
- name: string;
1341
- columns: string[];
1342
- isUnique: boolean;
1343
- }>>;
1344
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1345
- name: import("zod").ZodString;
1346
- tableFrom: import("zod").ZodString;
1347
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
1348
- tableTo: import("zod").ZodString;
1349
- schemaTo: import("zod").ZodOptional<import("zod").ZodString>;
1350
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
1351
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
1352
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
1353
- }, "strict", import("zod").ZodTypeAny, {
1354
- onUpdate?: string | undefined;
1355
- onDelete?: string | undefined;
1356
- schemaTo?: string | undefined;
1357
- name: string;
1358
- tableFrom: string;
1359
- columnsFrom: string[];
1360
- tableTo: string;
1361
- columnsTo: string[];
1362
- }, {
1363
- onUpdate?: string | undefined;
1364
- onDelete?: string | undefined;
1365
- schemaTo?: string | undefined;
1366
- name: string;
1367
- tableFrom: string;
1368
- columnsFrom: string[];
1369
- tableTo: string;
1370
- columnsTo: string[];
1371
- }>>;
1372
- compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1373
- name: import("zod").ZodString;
1374
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
1375
- }, "strict", import("zod").ZodTypeAny, {
1376
- name: string;
1377
- columns: string[];
1378
- }, {
1379
- name: string;
1380
- columns: string[];
1381
- }>>;
1382
- uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1383
- name: import("zod").ZodString;
1384
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
1385
- nullsNotDistinct: import("zod").ZodBoolean;
1386
- }, "strict", import("zod").ZodTypeAny, {
1387
- name: string;
1388
- columns: string[];
1389
- nullsNotDistinct: boolean;
1390
- }, {
1391
- name: string;
1392
- columns: string[];
1393
- nullsNotDistinct: boolean;
1394
- }>>>;
1395
- }, "strict", import("zod").ZodTypeAny, {
1396
- name: string;
1397
- columns: Record<string, {
1398
- isUnique?: any;
1399
- default?: any;
1400
- uniqueName?: string | undefined;
1401
- nullsNotDistinct?: boolean | undefined;
1402
- name: string;
1403
- type: string;
1404
- primaryKey: boolean;
1405
- notNull: boolean;
1406
- }>;
1407
- indexes: Record<string, {
1408
- name: string;
1409
- columns: string[];
1410
- isUnique: boolean;
1411
- }>;
1412
- foreignKeys: Record<string, {
1413
- onUpdate?: string | undefined;
1414
- onDelete?: string | undefined;
1415
- schemaTo?: string | undefined;
1416
- name: string;
1417
- tableFrom: string;
1418
- columnsFrom: string[];
1419
- tableTo: string;
1420
- columnsTo: string[];
1421
- }>;
1422
- schema: string;
1423
- compositePrimaryKeys: Record<string, {
1424
- name: string;
1425
- columns: string[];
1426
- }>;
1427
- uniqueConstraints: Record<string, {
1428
- name: string;
1429
- columns: string[];
1430
- nullsNotDistinct: boolean;
1431
- }>;
1432
- }, {
1433
- uniqueConstraints?: Record<string, {
1434
- name: string;
1435
- columns: string[];
1436
- nullsNotDistinct: boolean;
1437
- }> | undefined;
1438
- name: string;
1439
- columns: Record<string, {
1440
- isUnique?: any;
1441
- default?: any;
1442
- uniqueName?: string | undefined;
1443
- nullsNotDistinct?: boolean | undefined;
1444
- name: string;
1445
- type: string;
1446
- primaryKey: boolean;
1447
- notNull: boolean;
1448
- }>;
1449
- indexes: Record<string, {
1450
- name: string;
1451
- columns: string[];
1452
- isUnique: boolean;
1453
- }>;
1454
- foreignKeys: Record<string, {
1455
- onUpdate?: string | undefined;
1456
- onDelete?: string | undefined;
1457
- schemaTo?: string | undefined;
1458
- name: string;
1459
- tableFrom: string;
1460
- columnsFrom: string[];
1461
- tableTo: string;
1462
- columnsTo: string[];
1463
- }>;
1464
- schema: string;
1465
- compositePrimaryKeys: Record<string, {
1466
- name: string;
1467
- columns: string[];
1468
- }>;
1469
- }>, "many">;
1470
- enums: import("zod").ZodArray<import("zod").ZodObject<{
1471
- name: import("zod").ZodString;
1472
- values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1473
- }, "strict", import("zod").ZodTypeAny, {
1474
- name: string;
1475
- values: Record<string, string>;
1476
- }, {
1477
- name: string;
1478
- values: Record<string, string>;
1479
- }>, "many">;
1480
- schemas: import("zod").ZodArray<import("zod").ZodObject<{
1481
- name: import("zod").ZodString;
1482
- }, "strip", import("zod").ZodTypeAny, {
1483
- name: string;
1484
- }, {
1485
- name: string;
1486
- }>, "many">;
1487
- _meta: import("zod").ZodObject<{
1488
- schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1489
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1490
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1491
- }, "strip", import("zod").ZodTypeAny, {
1492
- columns: Record<string, string>;
1493
- tables: Record<string, string>;
1494
- schemas: Record<string, string>;
1495
- }, {
1496
- columns: Record<string, string>;
1497
- tables: Record<string, string>;
1498
- schemas: Record<string, string>;
1499
- }>;
1500
- }, "strict", import("zod").ZodTypeAny, {
1501
- version: "5";
1502
- dialect: "pg";
1503
- tables: {
1504
- name: string;
1505
- columns: Record<string, {
1506
- isUnique?: any;
1507
- default?: any;
1508
- uniqueName?: string | undefined;
1509
- nullsNotDistinct?: boolean | undefined;
1510
- name: string;
1511
- type: string;
1512
- primaryKey: boolean;
1513
- notNull: boolean;
1514
- }>;
1515
- indexes: Record<string, {
1516
- name: string;
1517
- columns: string[];
1518
- isUnique: boolean;
1519
- }>;
1520
- foreignKeys: Record<string, {
1521
- onUpdate?: string | undefined;
1522
- onDelete?: string | undefined;
1523
- schemaTo?: string | undefined;
1524
- name: string;
1525
- tableFrom: string;
1526
- columnsFrom: string[];
1527
- tableTo: string;
1528
- columnsTo: string[];
1529
- }>;
1530
- schema: string;
1531
- compositePrimaryKeys: Record<string, {
1532
- name: string;
1533
- columns: string[];
1534
- }>;
1535
- uniqueConstraints: Record<string, {
1536
- name: string;
1537
- columns: string[];
1538
- nullsNotDistinct: boolean;
1539
- }>;
1540
- }[];
1541
- schemas: {
1542
- name: string;
1543
- }[];
1544
- _meta: {
1545
- columns: Record<string, string>;
1546
- tables: Record<string, string>;
1547
- schemas: Record<string, string>;
1548
- };
1549
- enums: {
1550
- name: string;
1551
- values: Record<string, string>;
1552
- }[];
1553
- }, {
1554
- version: "5";
1555
- dialect: "pg";
1556
- tables: {
1557
- uniqueConstraints?: Record<string, {
1558
- name: string;
1559
- columns: string[];
1560
- nullsNotDistinct: boolean;
1561
- }> | undefined;
1562
- name: string;
1563
- columns: Record<string, {
1564
- isUnique?: any;
1565
- default?: any;
1566
- uniqueName?: string | undefined;
1567
- nullsNotDistinct?: boolean | undefined;
1568
- name: string;
1569
- type: string;
1570
- primaryKey: boolean;
1571
- notNull: boolean;
1572
- }>;
1573
- indexes: Record<string, {
1574
- name: string;
1575
- columns: string[];
1576
- isUnique: boolean;
1577
- }>;
1578
- foreignKeys: Record<string, {
1579
- onUpdate?: string | undefined;
1580
- onDelete?: string | undefined;
1581
- schemaTo?: string | undefined;
1582
- name: string;
1583
- tableFrom: string;
1584
- columnsFrom: string[];
1585
- tableTo: string;
1586
- columnsTo: string[];
1587
- }>;
1588
- schema: string;
1589
- compositePrimaryKeys: Record<string, {
1590
- name: string;
1591
- columns: string[];
1592
- }>;
1593
- }[];
1594
- schemas: {
1595
- name: string;
1596
- }[];
1597
- _meta: {
1598
- columns: Record<string, string>;
1599
- tables: Record<string, string>;
1600
- schemas: Record<string, string>;
1601
- };
1602
- enums: {
1603
- name: string;
1604
- values: Record<string, string>;
1605
- }[];
1606
- }>;
1607
- export declare const kitInternals: import("zod").ZodOptional<import("zod").ZodObject<{
1608
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodObject<{
1609
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodObject<{
1610
- isArray: import("zod").ZodOptional<import("zod").ZodBoolean>;
1611
- dimensions: import("zod").ZodOptional<import("zod").ZodNumber>;
1612
- rawType: import("zod").ZodOptional<import("zod").ZodString>;
1613
- }, "strip", import("zod").ZodTypeAny, {
1614
- isArray?: boolean | undefined;
1615
- dimensions?: number | undefined;
1616
- rawType?: string | undefined;
1617
- }, {
1618
- isArray?: boolean | undefined;
1619
- dimensions?: number | undefined;
1620
- rawType?: string | undefined;
1621
- }>>>;
1622
- }, "strip", import("zod").ZodTypeAny, {
1623
- columns: Record<string, {
1624
- isArray?: boolean | undefined;
1625
- dimensions?: number | undefined;
1626
- rawType?: string | undefined;
1627
- } | undefined>;
1628
- }, {
1629
- columns: Record<string, {
1630
- isArray?: boolean | undefined;
1631
- dimensions?: number | undefined;
1632
- rawType?: string | undefined;
1633
- } | undefined>;
1634
- }>>>;
1635
- }, "strip", import("zod").ZodTypeAny, {
1636
- tables: Record<string, {
1637
- columns: Record<string, {
1638
- isArray?: boolean | undefined;
1639
- dimensions?: number | undefined;
1640
- rawType?: string | undefined;
1641
- } | undefined>;
1642
- } | undefined>;
1643
- }, {
1644
- tables: Record<string, {
1645
- columns: Record<string, {
1646
- isArray?: boolean | undefined;
1647
- dimensions?: number | undefined;
1648
- rawType?: string | undefined;
1649
- } | undefined>;
1650
- } | undefined>;
1651
- }>>;
1652
- export declare const pgSchemaInternal: import("zod").ZodObject<{
1653
- version: import("zod").ZodLiteral<"5">;
1654
- dialect: import("zod").ZodLiteral<"pg">;
1655
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1656
- name: import("zod").ZodString;
1657
- schema: import("zod").ZodString;
1658
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1659
- name: import("zod").ZodString;
1660
- type: import("zod").ZodString;
1661
- primaryKey: import("zod").ZodBoolean;
1662
- notNull: import("zod").ZodBoolean;
1663
- default: import("zod").ZodOptional<import("zod").ZodAny>;
1664
- isUnique: import("zod").ZodOptional<import("zod").ZodAny>;
1665
- uniqueName: import("zod").ZodOptional<import("zod").ZodString>;
1666
- nullsNotDistinct: import("zod").ZodOptional<import("zod").ZodBoolean>;
1667
- }, "strict", import("zod").ZodTypeAny, {
1668
- isUnique?: any;
1669
- default?: any;
1670
- uniqueName?: string | undefined;
1671
- nullsNotDistinct?: boolean | undefined;
1672
- name: string;
1673
- type: string;
1674
- primaryKey: boolean;
1675
- notNull: boolean;
1676
- }, {
1677
- isUnique?: any;
1678
- default?: any;
1679
- uniqueName?: string | undefined;
1680
- nullsNotDistinct?: boolean | undefined;
1681
- name: string;
1682
- type: string;
1683
- primaryKey: boolean;
1684
- notNull: boolean;
1685
- }>>;
1686
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1687
- name: import("zod").ZodString;
1688
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
1689
- isUnique: import("zod").ZodBoolean;
1690
- }, "strict", import("zod").ZodTypeAny, {
1691
- name: string;
1692
- columns: string[];
1693
- isUnique: boolean;
1694
- }, {
1695
- name: string;
1696
- columns: string[];
1697
- isUnique: boolean;
1698
- }>>;
1699
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1700
- name: import("zod").ZodString;
1701
- tableFrom: import("zod").ZodString;
1702
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
1703
- tableTo: import("zod").ZodString;
1704
- schemaTo: import("zod").ZodOptional<import("zod").ZodString>;
1705
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
1706
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
1707
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
1708
- }, "strict", import("zod").ZodTypeAny, {
1709
- onUpdate?: string | undefined;
1710
- onDelete?: string | undefined;
1711
- schemaTo?: string | undefined;
1712
- name: string;
1713
- tableFrom: string;
1714
- columnsFrom: string[];
1715
- tableTo: string;
1716
- columnsTo: string[];
1717
- }, {
1718
- onUpdate?: string | undefined;
1719
- onDelete?: string | undefined;
1720
- schemaTo?: string | undefined;
1721
- name: string;
1722
- tableFrom: string;
1723
- columnsFrom: string[];
1724
- tableTo: string;
1725
- columnsTo: string[];
1726
- }>>;
1727
- compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1728
- name: import("zod").ZodString;
1729
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
1730
- }, "strict", import("zod").ZodTypeAny, {
1731
- name: string;
1732
- columns: string[];
1733
- }, {
1734
- name: string;
1735
- columns: string[];
1736
- }>>;
1737
- uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1738
- name: import("zod").ZodString;
1739
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
1740
- nullsNotDistinct: import("zod").ZodBoolean;
1741
- }, "strict", import("zod").ZodTypeAny, {
1742
- name: string;
1743
- columns: string[];
1744
- nullsNotDistinct: boolean;
1745
- }, {
1746
- name: string;
1747
- columns: string[];
1748
- nullsNotDistinct: boolean;
1749
- }>>>;
1750
- }, "strict", import("zod").ZodTypeAny, {
1751
- name: string;
1752
- columns: Record<string, {
1753
- isUnique?: any;
1754
- default?: any;
1755
- uniqueName?: string | undefined;
1756
- nullsNotDistinct?: boolean | undefined;
1757
- name: string;
1758
- type: string;
1759
- primaryKey: boolean;
1760
- notNull: boolean;
1761
- }>;
1762
- indexes: Record<string, {
1763
- name: string;
1764
- columns: string[];
1765
- isUnique: boolean;
1766
- }>;
1767
- foreignKeys: Record<string, {
1768
- onUpdate?: string | undefined;
1769
- onDelete?: string | undefined;
1770
- schemaTo?: string | undefined;
1771
- name: string;
1772
- tableFrom: string;
1773
- columnsFrom: string[];
1774
- tableTo: string;
1775
- columnsTo: string[];
1776
- }>;
1777
- schema: string;
1778
- compositePrimaryKeys: Record<string, {
1779
- name: string;
1780
- columns: string[];
1781
- }>;
1782
- uniqueConstraints: Record<string, {
1783
- name: string;
1784
- columns: string[];
1785
- nullsNotDistinct: boolean;
1786
- }>;
1787
- }, {
1788
- uniqueConstraints?: Record<string, {
1789
- name: string;
1790
- columns: string[];
1791
- nullsNotDistinct: boolean;
1792
- }> | undefined;
1793
- name: string;
1794
- columns: Record<string, {
1795
- isUnique?: any;
1796
- default?: any;
1797
- uniqueName?: string | undefined;
1798
- nullsNotDistinct?: boolean | undefined;
1799
- name: string;
1800
- type: string;
1801
- primaryKey: boolean;
1802
- notNull: boolean;
1803
- }>;
1804
- indexes: Record<string, {
1805
- name: string;
1806
- columns: string[];
1807
- isUnique: boolean;
1808
- }>;
1809
- foreignKeys: Record<string, {
1810
- onUpdate?: string | undefined;
1811
- onDelete?: string | undefined;
1812
- schemaTo?: string | undefined;
1813
- name: string;
1814
- tableFrom: string;
1815
- columnsFrom: string[];
1816
- tableTo: string;
1817
- columnsTo: string[];
1818
- }>;
1819
- schema: string;
1820
- compositePrimaryKeys: Record<string, {
1821
- name: string;
1822
- columns: string[];
1823
- }>;
1824
- }>>;
1825
- enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1826
- name: import("zod").ZodString;
1827
- values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1828
- }, "strict", import("zod").ZodTypeAny, {
1829
- name: string;
1830
- values: Record<string, string>;
1831
- }, {
1832
- name: string;
1833
- values: Record<string, string>;
1834
- }>>;
1835
- schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1836
- _meta: import("zod").ZodObject<{
1837
- schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1838
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1839
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1840
- }, "strip", import("zod").ZodTypeAny, {
1841
- columns: Record<string, string>;
1842
- tables: Record<string, string>;
1843
- schemas: Record<string, string>;
1844
- }, {
1845
- columns: Record<string, string>;
1846
- tables: Record<string, string>;
1847
- schemas: Record<string, string>;
1848
- }>;
1849
- internal: import("zod").ZodOptional<import("zod").ZodObject<{
1850
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodObject<{
1851
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodObject<{
1852
- isArray: import("zod").ZodOptional<import("zod").ZodBoolean>;
1853
- dimensions: import("zod").ZodOptional<import("zod").ZodNumber>;
1854
- rawType: import("zod").ZodOptional<import("zod").ZodString>;
1855
- }, "strip", import("zod").ZodTypeAny, {
1856
- isArray?: boolean | undefined;
1857
- dimensions?: number | undefined;
1858
- rawType?: string | undefined;
1859
- }, {
1860
- isArray?: boolean | undefined;
1861
- dimensions?: number | undefined;
1862
- rawType?: string | undefined;
1863
- }>>>;
1864
- }, "strip", import("zod").ZodTypeAny, {
1865
- columns: Record<string, {
1866
- isArray?: boolean | undefined;
1867
- dimensions?: number | undefined;
1868
- rawType?: string | undefined;
1869
- } | undefined>;
1870
- }, {
1871
- columns: Record<string, {
1872
- isArray?: boolean | undefined;
1873
- dimensions?: number | undefined;
1874
- rawType?: string | undefined;
1875
- } | undefined>;
1876
- }>>>;
1877
- }, "strip", import("zod").ZodTypeAny, {
1878
- tables: Record<string, {
1879
- columns: Record<string, {
1880
- isArray?: boolean | undefined;
1881
- dimensions?: number | undefined;
1882
- rawType?: string | undefined;
1883
- } | undefined>;
1884
- } | undefined>;
1885
- }, {
1886
- tables: Record<string, {
1887
- columns: Record<string, {
1888
- isArray?: boolean | undefined;
1889
- dimensions?: number | undefined;
1890
- rawType?: string | undefined;
1891
- } | undefined>;
1892
- } | undefined>;
1893
- }>>;
1894
- }, "strict", import("zod").ZodTypeAny, {
1895
- internal?: {
1896
- tables: Record<string, {
1897
- columns: Record<string, {
1898
- isArray?: boolean | undefined;
1899
- dimensions?: number | undefined;
1900
- rawType?: string | undefined;
1901
- } | undefined>;
1902
- } | undefined>;
1903
- } | undefined;
1904
- version: "5";
1905
- dialect: "pg";
1906
- tables: Record<string, {
1907
- name: string;
1908
- columns: Record<string, {
1909
- isUnique?: any;
1910
- default?: any;
1911
- uniqueName?: string | undefined;
1912
- nullsNotDistinct?: boolean | undefined;
1913
- name: string;
1914
- type: string;
1915
- primaryKey: boolean;
1916
- notNull: boolean;
1917
- }>;
1918
- indexes: Record<string, {
1919
- name: string;
1920
- columns: string[];
1921
- isUnique: boolean;
1922
- }>;
1923
- foreignKeys: Record<string, {
1924
- onUpdate?: string | undefined;
1925
- onDelete?: string | undefined;
1926
- schemaTo?: string | undefined;
1927
- name: string;
1928
- tableFrom: string;
1929
- columnsFrom: string[];
1930
- tableTo: string;
1931
- columnsTo: string[];
1932
- }>;
1933
- schema: string;
1934
- compositePrimaryKeys: Record<string, {
1935
- name: string;
1936
- columns: string[];
1937
- }>;
1938
- uniqueConstraints: Record<string, {
1939
- name: string;
1940
- columns: string[];
1941
- nullsNotDistinct: boolean;
1942
- }>;
1943
- }>;
1944
- schemas: Record<string, string>;
1945
- _meta: {
1946
- columns: Record<string, string>;
1947
- tables: Record<string, string>;
1948
- schemas: Record<string, string>;
1949
- };
1950
- enums: Record<string, {
1951
- name: string;
1952
- values: Record<string, string>;
1953
- }>;
1954
- }, {
1955
- internal?: {
1956
- tables: Record<string, {
1957
- columns: Record<string, {
1958
- isArray?: boolean | undefined;
1959
- dimensions?: number | undefined;
1960
- rawType?: string | undefined;
1961
- } | undefined>;
1962
- } | undefined>;
1963
- } | undefined;
1964
- version: "5";
1965
- dialect: "pg";
1966
- tables: Record<string, {
1967
- uniqueConstraints?: Record<string, {
1968
- name: string;
1969
- columns: string[];
1970
- nullsNotDistinct: boolean;
1971
- }> | undefined;
1972
- name: string;
1973
- columns: Record<string, {
1974
- isUnique?: any;
1975
- default?: any;
1976
- uniqueName?: string | undefined;
1977
- nullsNotDistinct?: boolean | undefined;
1978
- name: string;
1979
- type: string;
1980
- primaryKey: boolean;
1981
- notNull: boolean;
1982
- }>;
1983
- indexes: Record<string, {
1984
- name: string;
1985
- columns: string[];
1986
- isUnique: boolean;
1987
- }>;
1988
- foreignKeys: Record<string, {
1989
- onUpdate?: string | undefined;
1990
- onDelete?: string | undefined;
1991
- schemaTo?: string | undefined;
1992
- name: string;
1993
- tableFrom: string;
1994
- columnsFrom: string[];
1995
- tableTo: string;
1996
- columnsTo: string[];
1997
- }>;
1998
- schema: string;
1999
- compositePrimaryKeys: Record<string, {
2000
- name: string;
2001
- columns: string[];
2002
- }>;
2003
- }>;
2004
- schemas: Record<string, string>;
2005
- _meta: {
2006
- columns: Record<string, string>;
2007
- tables: Record<string, string>;
2008
- schemas: Record<string, string>;
2009
- };
2010
- enums: Record<string, {
2011
- name: string;
2012
- values: Record<string, string>;
2013
- }>;
2014
- }>;
2015
- export declare const pgSchemaSquashedV4: import("zod").ZodObject<{
2016
- version: import("zod").ZodLiteral<"4">;
2017
- dialect: import("zod").ZodEnum<["pg"]>;
2018
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2019
- name: import("zod").ZodString;
2020
- schema: import("zod").ZodString;
2021
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2022
- name: import("zod").ZodString;
2023
- type: import("zod").ZodString;
2024
- primaryKey: import("zod").ZodBoolean;
2025
- notNull: import("zod").ZodBoolean;
2026
- default: import("zod").ZodOptional<import("zod").ZodAny>;
2027
- isUnique: import("zod").ZodOptional<import("zod").ZodAny>;
2028
- uniqueName: import("zod").ZodOptional<import("zod").ZodString>;
2029
- nullsNotDistinct: import("zod").ZodOptional<import("zod").ZodBoolean>;
2030
- }, "strict", import("zod").ZodTypeAny, {
2031
- isUnique?: any;
2032
- default?: any;
2033
- uniqueName?: string | undefined;
2034
- nullsNotDistinct?: boolean | undefined;
2035
- name: string;
2036
- type: string;
2037
- primaryKey: boolean;
2038
- notNull: boolean;
2039
- }, {
2040
- isUnique?: any;
2041
- default?: any;
2042
- uniqueName?: string | undefined;
2043
- nullsNotDistinct?: boolean | undefined;
2044
- name: string;
2045
- type: string;
2046
- primaryKey: boolean;
2047
- notNull: boolean;
2048
- }>>;
2049
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2050
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2051
- }, "strict", import("zod").ZodTypeAny, {
2052
- name: string;
2053
- columns: Record<string, {
2054
- isUnique?: any;
2055
- default?: any;
2056
- uniqueName?: string | undefined;
2057
- nullsNotDistinct?: boolean | undefined;
2058
- name: string;
2059
- type: string;
2060
- primaryKey: boolean;
2061
- notNull: boolean;
2062
- }>;
2063
- indexes: Record<string, string>;
2064
- foreignKeys: Record<string, string>;
2065
- schema: string;
2066
- }, {
2067
- name: string;
2068
- columns: Record<string, {
2069
- isUnique?: any;
2070
- default?: any;
2071
- uniqueName?: string | undefined;
2072
- nullsNotDistinct?: boolean | undefined;
2073
- name: string;
2074
- type: string;
2075
- primaryKey: boolean;
2076
- notNull: boolean;
2077
- }>;
2078
- indexes: Record<string, string>;
2079
- foreignKeys: Record<string, string>;
2080
- schema: string;
2081
- }>>;
2082
- enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2083
- name: import("zod").ZodString;
2084
- values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2085
- }, "strict", import("zod").ZodTypeAny, {
2086
- name: string;
2087
- values: Record<string, string>;
2088
- }, {
2089
- name: string;
2090
- values: Record<string, string>;
2091
- }>>;
2092
- schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2093
- }, "strict", import("zod").ZodTypeAny, {
2094
- version: "4";
2095
- dialect: "pg";
2096
- tables: Record<string, {
2097
- name: string;
2098
- columns: Record<string, {
2099
- isUnique?: any;
2100
- default?: any;
2101
- uniqueName?: string | undefined;
2102
- nullsNotDistinct?: boolean | undefined;
2103
- name: string;
2104
- type: string;
2105
- primaryKey: boolean;
2106
- notNull: boolean;
2107
- }>;
2108
- indexes: Record<string, string>;
2109
- foreignKeys: Record<string, string>;
2110
- schema: string;
2111
- }>;
2112
- schemas: Record<string, string>;
2113
- enums: Record<string, {
2114
- name: string;
2115
- values: Record<string, string>;
2116
- }>;
2117
- }, {
2118
- version: "4";
2119
- dialect: "pg";
2120
- tables: Record<string, {
2121
- name: string;
2122
- columns: Record<string, {
2123
- isUnique?: any;
2124
- default?: any;
2125
- uniqueName?: string | undefined;
2126
- nullsNotDistinct?: boolean | undefined;
2127
- name: string;
2128
- type: string;
2129
- primaryKey: boolean;
2130
- notNull: boolean;
2131
- }>;
2132
- indexes: Record<string, string>;
2133
- foreignKeys: Record<string, string>;
2134
- schema: string;
2135
- }>;
2136
- schemas: Record<string, string>;
2137
- enums: Record<string, {
2138
- name: string;
2139
- values: Record<string, string>;
2140
- }>;
2141
- }>;
2142
- export declare const pgSchemaSquashed: import("zod").ZodObject<{
2143
- version: import("zod").ZodLiteral<"5">;
2144
- dialect: import("zod").ZodEnum<["pg"]>;
2145
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2146
- name: import("zod").ZodString;
2147
- schema: import("zod").ZodString;
2148
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2149
- name: import("zod").ZodString;
2150
- type: import("zod").ZodString;
2151
- primaryKey: import("zod").ZodBoolean;
2152
- notNull: import("zod").ZodBoolean;
2153
- default: import("zod").ZodOptional<import("zod").ZodAny>;
2154
- isUnique: import("zod").ZodOptional<import("zod").ZodAny>;
2155
- uniqueName: import("zod").ZodOptional<import("zod").ZodString>;
2156
- nullsNotDistinct: import("zod").ZodOptional<import("zod").ZodBoolean>;
2157
- }, "strict", import("zod").ZodTypeAny, {
2158
- isUnique?: any;
2159
- default?: any;
2160
- uniqueName?: string | undefined;
2161
- nullsNotDistinct?: boolean | undefined;
2162
- name: string;
2163
- type: string;
2164
- primaryKey: boolean;
2165
- notNull: boolean;
2166
- }, {
2167
- isUnique?: any;
2168
- default?: any;
2169
- uniqueName?: string | undefined;
2170
- nullsNotDistinct?: boolean | undefined;
2171
- name: string;
2172
- type: string;
2173
- primaryKey: boolean;
2174
- notNull: boolean;
2175
- }>>;
2176
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2177
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2178
- compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2179
- uniqueConstraints: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2180
- }, "strict", import("zod").ZodTypeAny, {
2181
- name: string;
2182
- columns: Record<string, {
2183
- isUnique?: any;
2184
- default?: any;
2185
- uniqueName?: string | undefined;
2186
- nullsNotDistinct?: boolean | undefined;
2187
- name: string;
2188
- type: string;
2189
- primaryKey: boolean;
2190
- notNull: boolean;
2191
- }>;
2192
- indexes: Record<string, string>;
2193
- foreignKeys: Record<string, string>;
2194
- schema: string;
2195
- compositePrimaryKeys: Record<string, string>;
2196
- uniqueConstraints: Record<string, string>;
2197
- }, {
2198
- name: string;
2199
- columns: Record<string, {
2200
- isUnique?: any;
2201
- default?: any;
2202
- uniqueName?: string | undefined;
2203
- nullsNotDistinct?: boolean | undefined;
2204
- name: string;
2205
- type: string;
2206
- primaryKey: boolean;
2207
- notNull: boolean;
2208
- }>;
2209
- indexes: Record<string, string>;
2210
- foreignKeys: Record<string, string>;
2211
- schema: string;
2212
- compositePrimaryKeys: Record<string, string>;
2213
- uniqueConstraints: Record<string, string>;
2214
- }>>;
2215
- enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2216
- name: import("zod").ZodString;
2217
- values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2218
- }, "strict", import("zod").ZodTypeAny, {
2219
- name: string;
2220
- values: Record<string, string>;
2221
- }, {
2222
- name: string;
2223
- values: Record<string, string>;
2224
- }>>;
2225
- schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2226
- }, "strict", import("zod").ZodTypeAny, {
2227
- version: "5";
2228
- dialect: "pg";
2229
- tables: Record<string, {
2230
- name: string;
2231
- columns: Record<string, {
2232
- isUnique?: any;
2233
- default?: any;
2234
- uniqueName?: string | undefined;
2235
- nullsNotDistinct?: boolean | undefined;
2236
- name: string;
2237
- type: string;
2238
- primaryKey: boolean;
2239
- notNull: boolean;
2240
- }>;
2241
- indexes: Record<string, string>;
2242
- foreignKeys: Record<string, string>;
2243
- schema: string;
2244
- compositePrimaryKeys: Record<string, string>;
2245
- uniqueConstraints: Record<string, string>;
2246
- }>;
2247
- schemas: Record<string, string>;
2248
- enums: Record<string, {
2249
- name: string;
2250
- values: Record<string, string>;
2251
- }>;
2252
- }, {
2253
- version: "5";
2254
- dialect: "pg";
2255
- tables: Record<string, {
2256
- name: string;
2257
- columns: Record<string, {
2258
- isUnique?: any;
2259
- default?: any;
2260
- uniqueName?: string | undefined;
2261
- nullsNotDistinct?: boolean | undefined;
2262
- name: string;
2263
- type: string;
2264
- primaryKey: boolean;
2265
- notNull: boolean;
2266
- }>;
2267
- indexes: Record<string, string>;
2268
- foreignKeys: Record<string, string>;
2269
- schema: string;
2270
- compositePrimaryKeys: Record<string, string>;
2271
- uniqueConstraints: Record<string, string>;
2272
- }>;
2273
- schemas: Record<string, string>;
2274
- enums: Record<string, {
2275
- name: string;
2276
- values: Record<string, string>;
2277
- }>;
2278
- }>;
2279
- export declare const pgSchemaV3: import("zod").ZodObject<import("zod").extendShape<{
2280
- version: import("zod").ZodLiteral<"3">;
2281
- dialect: import("zod").ZodLiteral<"pg">;
2282
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2283
- name: import("zod").ZodString;
2284
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2285
- name: import("zod").ZodString;
2286
- type: import("zod").ZodString;
2287
- primaryKey: import("zod").ZodBoolean;
2288
- notNull: import("zod").ZodBoolean;
2289
- default: import("zod").ZodOptional<import("zod").ZodAny>;
2290
- isUnique: import("zod").ZodOptional<import("zod").ZodAny>;
2291
- uniqueName: import("zod").ZodOptional<import("zod").ZodString>;
2292
- nullsNotDistinct: import("zod").ZodOptional<import("zod").ZodBoolean>;
2293
- }, "strict", import("zod").ZodTypeAny, {
2294
- isUnique?: any;
2295
- default?: any;
2296
- uniqueName?: string | undefined;
2297
- nullsNotDistinct?: boolean | undefined;
2298
- name: string;
2299
- type: string;
2300
- primaryKey: boolean;
2301
- notNull: boolean;
2302
- }, {
2303
- isUnique?: any;
2304
- default?: any;
2305
- uniqueName?: string | undefined;
2306
- nullsNotDistinct?: boolean | undefined;
2307
- name: string;
2308
- type: string;
2309
- primaryKey: boolean;
2310
- notNull: boolean;
2311
- }>>;
2312
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2313
- name: import("zod").ZodString;
2314
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
2315
- isUnique: import("zod").ZodBoolean;
2316
- }, "strict", import("zod").ZodTypeAny, {
2317
- name: string;
2318
- columns: string[];
2319
- isUnique: boolean;
2320
- }, {
2321
- name: string;
2322
- columns: string[];
2323
- isUnique: boolean;
2324
- }>>;
2325
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2326
- name: import("zod").ZodString;
2327
- tableFrom: import("zod").ZodString;
2328
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
2329
- tableTo: import("zod").ZodString;
2330
- schemaTo: import("zod").ZodOptional<import("zod").ZodString>;
2331
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
2332
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
2333
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
2334
- }, "strict", import("zod").ZodTypeAny, {
2335
- onUpdate?: string | undefined;
2336
- onDelete?: string | undefined;
2337
- schemaTo?: string | undefined;
2338
- name: string;
2339
- tableFrom: string;
2340
- columnsFrom: string[];
2341
- tableTo: string;
2342
- columnsTo: string[];
2343
- }, {
2344
- onUpdate?: string | undefined;
2345
- onDelete?: string | undefined;
2346
- schemaTo?: string | undefined;
2347
- name: string;
2348
- tableFrom: string;
2349
- columnsFrom: string[];
2350
- tableTo: string;
2351
- columnsTo: string[];
2352
- }>>;
2353
- }, "strict", import("zod").ZodTypeAny, {
2354
- name: string;
2355
- columns: Record<string, {
2356
- isUnique?: any;
2357
- default?: any;
2358
- uniqueName?: string | undefined;
2359
- nullsNotDistinct?: boolean | undefined;
2360
- name: string;
2361
- type: string;
2362
- primaryKey: boolean;
2363
- notNull: boolean;
2364
- }>;
2365
- indexes: Record<string, {
2366
- name: string;
2367
- columns: string[];
2368
- isUnique: boolean;
2369
- }>;
2370
- foreignKeys: Record<string, {
2371
- onUpdate?: string | undefined;
2372
- onDelete?: string | undefined;
2373
- schemaTo?: string | undefined;
2374
- name: string;
2375
- tableFrom: string;
2376
- columnsFrom: string[];
2377
- tableTo: string;
2378
- columnsTo: string[];
2379
- }>;
2380
- }, {
2381
- name: string;
2382
- columns: Record<string, {
2383
- isUnique?: any;
2384
- default?: any;
2385
- uniqueName?: string | undefined;
2386
- nullsNotDistinct?: boolean | undefined;
2387
- name: string;
2388
- type: string;
2389
- primaryKey: boolean;
2390
- notNull: boolean;
2391
- }>;
2392
- indexes: Record<string, {
2393
- name: string;
2394
- columns: string[];
2395
- isUnique: boolean;
2396
- }>;
2397
- foreignKeys: Record<string, {
2398
- onUpdate?: string | undefined;
2399
- onDelete?: string | undefined;
2400
- schemaTo?: string | undefined;
2401
- name: string;
2402
- tableFrom: string;
2403
- columnsFrom: string[];
2404
- tableTo: string;
2405
- columnsTo: string[];
2406
- }>;
2407
- }>>;
2408
- enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2409
- name: import("zod").ZodString;
2410
- values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2411
- }, "strict", import("zod").ZodTypeAny, {
2412
- name: string;
2413
- values: Record<string, string>;
2414
- }, {
2415
- name: string;
2416
- values: Record<string, string>;
2417
- }>>;
2418
- }, {
2419
- id: import("zod").ZodString;
2420
- prevId: import("zod").ZodString;
2421
- }>, "strip", import("zod").ZodTypeAny, {
2422
- id: string;
2423
- prevId: string;
2424
- version: "3";
2425
- dialect: "pg";
2426
- tables: Record<string, {
2427
- name: string;
2428
- columns: Record<string, {
2429
- isUnique?: any;
2430
- default?: any;
2431
- uniqueName?: string | undefined;
2432
- nullsNotDistinct?: boolean | undefined;
2433
- name: string;
2434
- type: string;
2435
- primaryKey: boolean;
2436
- notNull: boolean;
2437
- }>;
2438
- indexes: Record<string, {
2439
- name: string;
2440
- columns: string[];
2441
- isUnique: boolean;
2442
- }>;
2443
- foreignKeys: Record<string, {
2444
- onUpdate?: string | undefined;
2445
- onDelete?: string | undefined;
2446
- schemaTo?: string | undefined;
2447
- name: string;
2448
- tableFrom: string;
2449
- columnsFrom: string[];
2450
- tableTo: string;
2451
- columnsTo: string[];
2452
- }>;
2453
- }>;
2454
- enums: Record<string, {
2455
- name: string;
2456
- values: Record<string, string>;
2457
- }>;
2458
- }, {
2459
- id: string;
2460
- prevId: string;
2461
- version: "3";
2462
- dialect: "pg";
2463
- tables: Record<string, {
2464
- name: string;
2465
- columns: Record<string, {
2466
- isUnique?: any;
2467
- default?: any;
2468
- uniqueName?: string | undefined;
2469
- nullsNotDistinct?: boolean | undefined;
2470
- name: string;
2471
- type: string;
2472
- primaryKey: boolean;
2473
- notNull: boolean;
2474
- }>;
2475
- indexes: Record<string, {
2476
- name: string;
2477
- columns: string[];
2478
- isUnique: boolean;
2479
- }>;
2480
- foreignKeys: Record<string, {
2481
- onUpdate?: string | undefined;
2482
- onDelete?: string | undefined;
2483
- schemaTo?: string | undefined;
2484
- name: string;
2485
- tableFrom: string;
2486
- columnsFrom: string[];
2487
- tableTo: string;
2488
- columnsTo: string[];
2489
- }>;
2490
- }>;
2491
- enums: Record<string, {
2492
- name: string;
2493
- values: Record<string, string>;
2494
- }>;
2495
- }>;
2496
- export declare const pgSchemaV4: import("zod").ZodObject<import("zod").extendShape<{
2497
- version: import("zod").ZodLiteral<"4">;
2498
- dialect: import("zod").ZodLiteral<"pg">;
2499
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2500
- name: import("zod").ZodString;
2501
- schema: import("zod").ZodString;
2502
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2503
- name: import("zod").ZodString;
2504
- type: import("zod").ZodString;
2505
- primaryKey: import("zod").ZodBoolean;
2506
- notNull: import("zod").ZodBoolean;
2507
- default: import("zod").ZodOptional<import("zod").ZodAny>;
2508
- isUnique: import("zod").ZodOptional<import("zod").ZodAny>;
2509
- uniqueName: import("zod").ZodOptional<import("zod").ZodString>;
2510
- nullsNotDistinct: import("zod").ZodOptional<import("zod").ZodBoolean>;
2511
- }, "strict", import("zod").ZodTypeAny, {
2512
- isUnique?: any;
2513
- default?: any;
2514
- uniqueName?: string | undefined;
2515
- nullsNotDistinct?: boolean | undefined;
2516
- name: string;
2517
- type: string;
2518
- primaryKey: boolean;
2519
- notNull: boolean;
2520
- }, {
2521
- isUnique?: any;
2522
- default?: any;
2523
- uniqueName?: string | undefined;
2524
- nullsNotDistinct?: boolean | undefined;
2525
- name: string;
2526
- type: string;
2527
- primaryKey: boolean;
2528
- notNull: boolean;
2529
- }>>;
2530
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2531
- name: import("zod").ZodString;
2532
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
2533
- isUnique: import("zod").ZodBoolean;
2534
- }, "strict", import("zod").ZodTypeAny, {
2535
- name: string;
2536
- columns: string[];
2537
- isUnique: boolean;
2538
- }, {
2539
- name: string;
2540
- columns: string[];
2541
- isUnique: boolean;
2542
- }>>;
2543
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2544
- name: import("zod").ZodString;
2545
- tableFrom: import("zod").ZodString;
2546
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
2547
- tableTo: import("zod").ZodString;
2548
- schemaTo: import("zod").ZodOptional<import("zod").ZodString>;
2549
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
2550
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
2551
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
2552
- }, "strict", import("zod").ZodTypeAny, {
2553
- onUpdate?: string | undefined;
2554
- onDelete?: string | undefined;
2555
- schemaTo?: string | undefined;
2556
- name: string;
2557
- tableFrom: string;
2558
- columnsFrom: string[];
2559
- tableTo: string;
2560
- columnsTo: string[];
2561
- }, {
2562
- onUpdate?: string | undefined;
2563
- onDelete?: string | undefined;
2564
- schemaTo?: string | undefined;
2565
- name: string;
2566
- tableFrom: string;
2567
- columnsFrom: string[];
2568
- tableTo: string;
2569
- columnsTo: string[];
2570
- }>>;
2571
- }, "strict", import("zod").ZodTypeAny, {
2572
- name: string;
2573
- columns: Record<string, {
2574
- isUnique?: any;
2575
- default?: any;
2576
- uniqueName?: string | undefined;
2577
- nullsNotDistinct?: boolean | undefined;
2578
- name: string;
2579
- type: string;
2580
- primaryKey: boolean;
2581
- notNull: boolean;
2582
- }>;
2583
- indexes: Record<string, {
2584
- name: string;
2585
- columns: string[];
2586
- isUnique: boolean;
2587
- }>;
2588
- foreignKeys: Record<string, {
2589
- onUpdate?: string | undefined;
2590
- onDelete?: string | undefined;
2591
- schemaTo?: string | undefined;
2592
- name: string;
2593
- tableFrom: string;
2594
- columnsFrom: string[];
2595
- tableTo: string;
2596
- columnsTo: string[];
2597
- }>;
2598
- schema: string;
2599
- }, {
2600
- name: string;
2601
- columns: Record<string, {
2602
- isUnique?: any;
2603
- default?: any;
2604
- uniqueName?: string | undefined;
2605
- nullsNotDistinct?: boolean | undefined;
2606
- name: string;
2607
- type: string;
2608
- primaryKey: boolean;
2609
- notNull: boolean;
2610
- }>;
2611
- indexes: Record<string, {
2612
- name: string;
2613
- columns: string[];
2614
- isUnique: boolean;
2615
- }>;
2616
- foreignKeys: Record<string, {
2617
- onUpdate?: string | undefined;
2618
- onDelete?: string | undefined;
2619
- schemaTo?: string | undefined;
2620
- name: string;
2621
- tableFrom: string;
2622
- columnsFrom: string[];
2623
- tableTo: string;
2624
- columnsTo: string[];
2625
- }>;
2626
- schema: string;
2627
- }>>;
2628
- enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2629
- name: import("zod").ZodString;
2630
- values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2631
- }, "strict", import("zod").ZodTypeAny, {
2632
- name: string;
2633
- values: Record<string, string>;
2634
- }, {
2635
- name: string;
2636
- values: Record<string, string>;
2637
- }>>;
2638
- schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2639
- }, {
2640
- id: import("zod").ZodString;
2641
- prevId: import("zod").ZodString;
2642
- }>, "strip", import("zod").ZodTypeAny, {
2643
- id: string;
2644
- prevId: string;
2645
- version: "4";
2646
- dialect: "pg";
2647
- tables: Record<string, {
2648
- name: string;
2649
- columns: Record<string, {
2650
- isUnique?: any;
2651
- default?: any;
2652
- uniqueName?: string | undefined;
2653
- nullsNotDistinct?: boolean | undefined;
2654
- name: string;
2655
- type: string;
2656
- primaryKey: boolean;
2657
- notNull: boolean;
2658
- }>;
2659
- indexes: Record<string, {
2660
- name: string;
2661
- columns: string[];
2662
- isUnique: boolean;
2663
- }>;
2664
- foreignKeys: Record<string, {
2665
- onUpdate?: string | undefined;
2666
- onDelete?: string | undefined;
2667
- schemaTo?: string | undefined;
2668
- name: string;
2669
- tableFrom: string;
2670
- columnsFrom: string[];
2671
- tableTo: string;
2672
- columnsTo: string[];
2673
- }>;
2674
- schema: string;
2675
- }>;
2676
- schemas: Record<string, string>;
2677
- enums: Record<string, {
2678
- name: string;
2679
- values: Record<string, string>;
2680
- }>;
2681
- }, {
2682
- id: string;
2683
- prevId: string;
2684
- version: "4";
2685
- dialect: "pg";
2686
- tables: Record<string, {
2687
- name: string;
2688
- columns: Record<string, {
2689
- isUnique?: any;
2690
- default?: any;
2691
- uniqueName?: string | undefined;
2692
- nullsNotDistinct?: boolean | undefined;
2693
- name: string;
2694
- type: string;
2695
- primaryKey: boolean;
2696
- notNull: boolean;
2697
- }>;
2698
- indexes: Record<string, {
2699
- name: string;
2700
- columns: string[];
2701
- isUnique: boolean;
2702
- }>;
2703
- foreignKeys: Record<string, {
2704
- onUpdate?: string | undefined;
2705
- onDelete?: string | undefined;
2706
- schemaTo?: string | undefined;
2707
- name: string;
2708
- tableFrom: string;
2709
- columnsFrom: string[];
2710
- tableTo: string;
2711
- columnsTo: string[];
2712
- }>;
2713
- schema: string;
2714
- }>;
2715
- schemas: Record<string, string>;
2716
- enums: Record<string, {
2717
- name: string;
2718
- values: Record<string, string>;
2719
- }>;
2720
- }>;
2721
- export declare const pgSchema: import("zod").ZodObject<import("zod").extendShape<{
2722
- version: import("zod").ZodLiteral<"5">;
2723
- dialect: import("zod").ZodLiteral<"pg">;
2724
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2725
- name: import("zod").ZodString;
2726
- schema: import("zod").ZodString;
2727
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2728
- name: import("zod").ZodString;
2729
- type: import("zod").ZodString;
2730
- primaryKey: import("zod").ZodBoolean;
2731
- notNull: import("zod").ZodBoolean;
2732
- default: import("zod").ZodOptional<import("zod").ZodAny>;
2733
- isUnique: import("zod").ZodOptional<import("zod").ZodAny>;
2734
- uniqueName: import("zod").ZodOptional<import("zod").ZodString>;
2735
- nullsNotDistinct: import("zod").ZodOptional<import("zod").ZodBoolean>;
2736
- }, "strict", import("zod").ZodTypeAny, {
2737
- isUnique?: any;
2738
- default?: any;
2739
- uniqueName?: string | undefined;
2740
- nullsNotDistinct?: boolean | undefined;
2741
- name: string;
2742
- type: string;
2743
- primaryKey: boolean;
2744
- notNull: boolean;
2745
- }, {
2746
- isUnique?: any;
2747
- default?: any;
2748
- uniqueName?: string | undefined;
2749
- nullsNotDistinct?: boolean | undefined;
2750
- name: string;
2751
- type: string;
2752
- primaryKey: boolean;
2753
- notNull: boolean;
2754
- }>>;
2755
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2756
- name: import("zod").ZodString;
2757
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
2758
- isUnique: import("zod").ZodBoolean;
2759
- }, "strict", import("zod").ZodTypeAny, {
2760
- name: string;
2761
- columns: string[];
2762
- isUnique: boolean;
2763
- }, {
2764
- name: string;
2765
- columns: string[];
2766
- isUnique: boolean;
2767
- }>>;
2768
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2769
- name: import("zod").ZodString;
2770
- tableFrom: import("zod").ZodString;
2771
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
2772
- tableTo: import("zod").ZodString;
2773
- schemaTo: import("zod").ZodOptional<import("zod").ZodString>;
2774
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
2775
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
2776
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
2777
- }, "strict", import("zod").ZodTypeAny, {
2778
- onUpdate?: string | undefined;
2779
- onDelete?: string | undefined;
2780
- schemaTo?: string | undefined;
2781
- name: string;
2782
- tableFrom: string;
2783
- columnsFrom: string[];
2784
- tableTo: string;
2785
- columnsTo: string[];
2786
- }, {
2787
- onUpdate?: string | undefined;
2788
- onDelete?: string | undefined;
2789
- schemaTo?: string | undefined;
2790
- name: string;
2791
- tableFrom: string;
2792
- columnsFrom: string[];
2793
- tableTo: string;
2794
- columnsTo: string[];
2795
- }>>;
2796
- compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2797
- name: import("zod").ZodString;
2798
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
2799
- }, "strict", import("zod").ZodTypeAny, {
2800
- name: string;
2801
- columns: string[];
2802
- }, {
2803
- name: string;
2804
- columns: string[];
2805
- }>>;
2806
- uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2807
- name: import("zod").ZodString;
2808
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
2809
- nullsNotDistinct: import("zod").ZodBoolean;
2810
- }, "strict", import("zod").ZodTypeAny, {
2811
- name: string;
2812
- columns: string[];
2813
- nullsNotDistinct: boolean;
2814
- }, {
2815
- name: string;
2816
- columns: string[];
2817
- nullsNotDistinct: boolean;
2818
- }>>>;
2819
- }, "strict", import("zod").ZodTypeAny, {
2820
- name: string;
2821
- columns: Record<string, {
2822
- isUnique?: any;
2823
- default?: any;
2824
- uniqueName?: string | undefined;
2825
- nullsNotDistinct?: boolean | undefined;
2826
- name: string;
2827
- type: string;
2828
- primaryKey: boolean;
2829
- notNull: boolean;
2830
- }>;
2831
- indexes: Record<string, {
2832
- name: string;
2833
- columns: string[];
2834
- isUnique: boolean;
2835
- }>;
2836
- foreignKeys: Record<string, {
2837
- onUpdate?: string | undefined;
2838
- onDelete?: string | undefined;
2839
- schemaTo?: string | undefined;
2840
- name: string;
2841
- tableFrom: string;
2842
- columnsFrom: string[];
2843
- tableTo: string;
2844
- columnsTo: string[];
2845
- }>;
2846
- schema: string;
2847
- compositePrimaryKeys: Record<string, {
2848
- name: string;
2849
- columns: string[];
2850
- }>;
2851
- uniqueConstraints: Record<string, {
2852
- name: string;
2853
- columns: string[];
2854
- nullsNotDistinct: boolean;
2855
- }>;
2856
- }, {
2857
- uniqueConstraints?: Record<string, {
2858
- name: string;
2859
- columns: string[];
2860
- nullsNotDistinct: boolean;
2861
- }> | undefined;
2862
- name: string;
2863
- columns: Record<string, {
2864
- isUnique?: any;
2865
- default?: any;
2866
- uniqueName?: string | undefined;
2867
- nullsNotDistinct?: boolean | undefined;
2868
- name: string;
2869
- type: string;
2870
- primaryKey: boolean;
2871
- notNull: boolean;
2872
- }>;
2873
- indexes: Record<string, {
2874
- name: string;
2875
- columns: string[];
2876
- isUnique: boolean;
2877
- }>;
2878
- foreignKeys: Record<string, {
2879
- onUpdate?: string | undefined;
2880
- onDelete?: string | undefined;
2881
- schemaTo?: string | undefined;
2882
- name: string;
2883
- tableFrom: string;
2884
- columnsFrom: string[];
2885
- tableTo: string;
2886
- columnsTo: string[];
2887
- }>;
2888
- schema: string;
2889
- compositePrimaryKeys: Record<string, {
2890
- name: string;
2891
- columns: string[];
2892
- }>;
2893
- }>>;
2894
- enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2895
- name: import("zod").ZodString;
2896
- values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2897
- }, "strict", import("zod").ZodTypeAny, {
2898
- name: string;
2899
- values: Record<string, string>;
2900
- }, {
2901
- name: string;
2902
- values: Record<string, string>;
2903
- }>>;
2904
- schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2905
- _meta: import("zod").ZodObject<{
2906
- schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2907
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2908
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2909
- }, "strip", import("zod").ZodTypeAny, {
2910
- columns: Record<string, string>;
2911
- tables: Record<string, string>;
2912
- schemas: Record<string, string>;
2913
- }, {
2914
- columns: Record<string, string>;
2915
- tables: Record<string, string>;
2916
- schemas: Record<string, string>;
2917
- }>;
2918
- internal: import("zod").ZodOptional<import("zod").ZodObject<{
2919
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodObject<{
2920
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodObject<{
2921
- isArray: import("zod").ZodOptional<import("zod").ZodBoolean>;
2922
- dimensions: import("zod").ZodOptional<import("zod").ZodNumber>;
2923
- rawType: import("zod").ZodOptional<import("zod").ZodString>;
2924
- }, "strip", import("zod").ZodTypeAny, {
2925
- isArray?: boolean | undefined;
2926
- dimensions?: number | undefined;
2927
- rawType?: string | undefined;
2928
- }, {
2929
- isArray?: boolean | undefined;
2930
- dimensions?: number | undefined;
2931
- rawType?: string | undefined;
2932
- }>>>;
2933
- }, "strip", import("zod").ZodTypeAny, {
2934
- columns: Record<string, {
2935
- isArray?: boolean | undefined;
2936
- dimensions?: number | undefined;
2937
- rawType?: string | undefined;
2938
- } | undefined>;
2939
- }, {
2940
- columns: Record<string, {
2941
- isArray?: boolean | undefined;
2942
- dimensions?: number | undefined;
2943
- rawType?: string | undefined;
2944
- } | undefined>;
2945
- }>>>;
2946
- }, "strip", import("zod").ZodTypeAny, {
2947
- tables: Record<string, {
2948
- columns: Record<string, {
2949
- isArray?: boolean | undefined;
2950
- dimensions?: number | undefined;
2951
- rawType?: string | undefined;
2952
- } | undefined>;
2953
- } | undefined>;
2954
- }, {
2955
- tables: Record<string, {
2956
- columns: Record<string, {
2957
- isArray?: boolean | undefined;
2958
- dimensions?: number | undefined;
2959
- rawType?: string | undefined;
2960
- } | undefined>;
2961
- } | undefined>;
2962
- }>>;
2963
- }, {
2964
- id: import("zod").ZodString;
2965
- prevId: import("zod").ZodString;
2966
- }>, "strip", import("zod").ZodTypeAny, {
2967
- internal?: {
2968
- tables: Record<string, {
2969
- columns: Record<string, {
2970
- isArray?: boolean | undefined;
2971
- dimensions?: number | undefined;
2972
- rawType?: string | undefined;
2973
- } | undefined>;
2974
- } | undefined>;
2975
- } | undefined;
2976
- id: string;
2977
- prevId: string;
2978
- version: "5";
2979
- dialect: "pg";
2980
- tables: Record<string, {
2981
- name: string;
2982
- columns: Record<string, {
2983
- isUnique?: any;
2984
- default?: any;
2985
- uniqueName?: string | undefined;
2986
- nullsNotDistinct?: boolean | undefined;
2987
- name: string;
2988
- type: string;
2989
- primaryKey: boolean;
2990
- notNull: boolean;
2991
- }>;
2992
- indexes: Record<string, {
2993
- name: string;
2994
- columns: string[];
2995
- isUnique: boolean;
2996
- }>;
2997
- foreignKeys: Record<string, {
2998
- onUpdate?: string | undefined;
2999
- onDelete?: string | undefined;
3000
- schemaTo?: string | undefined;
3001
- name: string;
3002
- tableFrom: string;
3003
- columnsFrom: string[];
3004
- tableTo: string;
3005
- columnsTo: string[];
3006
- }>;
3007
- schema: string;
3008
- compositePrimaryKeys: Record<string, {
3009
- name: string;
3010
- columns: string[];
3011
- }>;
3012
- uniqueConstraints: Record<string, {
3013
- name: string;
3014
- columns: string[];
3015
- nullsNotDistinct: boolean;
3016
- }>;
3017
- }>;
3018
- schemas: Record<string, string>;
3019
- _meta: {
3020
- columns: Record<string, string>;
3021
- tables: Record<string, string>;
3022
- schemas: Record<string, string>;
3023
- };
3024
- enums: Record<string, {
3025
- name: string;
3026
- values: Record<string, string>;
3027
- }>;
3028
- }, {
3029
- internal?: {
3030
- tables: Record<string, {
3031
- columns: Record<string, {
3032
- isArray?: boolean | undefined;
3033
- dimensions?: number | undefined;
3034
- rawType?: string | undefined;
3035
- } | undefined>;
3036
- } | undefined>;
3037
- } | undefined;
3038
- id: string;
3039
- prevId: string;
3040
- version: "5";
3041
- dialect: "pg";
3042
- tables: Record<string, {
3043
- uniqueConstraints?: Record<string, {
3044
- name: string;
3045
- columns: string[];
3046
- nullsNotDistinct: boolean;
3047
- }> | undefined;
3048
- name: string;
3049
- columns: Record<string, {
3050
- isUnique?: any;
3051
- default?: any;
3052
- uniqueName?: string | undefined;
3053
- nullsNotDistinct?: boolean | undefined;
3054
- name: string;
3055
- type: string;
3056
- primaryKey: boolean;
3057
- notNull: boolean;
3058
- }>;
3059
- indexes: Record<string, {
3060
- name: string;
3061
- columns: string[];
3062
- isUnique: boolean;
3063
- }>;
3064
- foreignKeys: Record<string, {
3065
- onUpdate?: string | undefined;
3066
- onDelete?: string | undefined;
3067
- schemaTo?: string | undefined;
3068
- name: string;
3069
- tableFrom: string;
3070
- columnsFrom: string[];
3071
- tableTo: string;
3072
- columnsTo: string[];
3073
- }>;
3074
- schema: string;
3075
- compositePrimaryKeys: Record<string, {
3076
- name: string;
3077
- columns: string[];
3078
- }>;
3079
- }>;
3080
- schemas: Record<string, string>;
3081
- _meta: {
3082
- columns: Record<string, string>;
3083
- tables: Record<string, string>;
3084
- schemas: Record<string, string>;
3085
- };
3086
- enums: Record<string, {
3087
- name: string;
3088
- values: Record<string, string>;
3089
- }>;
3090
- }>;
3091
- export type Enum = TypeOf<typeof enumSchema>;
3092
- export type Column = TypeOf<typeof column>;
3093
- export type TableV3 = TypeOf<typeof tableV3>;
3094
- export type TableV4 = TypeOf<typeof tableV4>;
3095
- export type Table = TypeOf<typeof table>;
3096
- export type PgSchema = TypeOf<typeof pgSchema>;
3097
- export type PgSchemaInternal = TypeOf<typeof pgSchemaInternal>;
3098
- export type PgSchemaExternal = TypeOf<typeof pgSchemaExternal>;
3099
- export type PgSchemaSquashed = TypeOf<typeof pgSchemaSquashed>;
3100
- export type PgSchemaSquashedV4 = TypeOf<typeof pgSchemaSquashedV4>;
3101
- export type Index = TypeOf<typeof index>;
3102
- export type ForeignKey = TypeOf<typeof fk>;
3103
- export type PrimaryKey = TypeOf<typeof compositePK>;
3104
- export type UniqueConstraint = TypeOf<typeof uniqueConstraint>;
3105
- export type PgKitInternals = TypeOf<typeof kitInternals>;
3106
- export type PgSchemaV1 = TypeOf<typeof pgSchemaV1>;
3107
- export type PgSchemaV2 = TypeOf<typeof pgSchemaV2>;
3108
- export type PgSchemaV3 = TypeOf<typeof pgSchemaV3>;
3109
- export type PgSchemaV4 = TypeOf<typeof pgSchemaV4>;
3110
- export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import("zod").ZodObject<{
3111
- version: import("zod").ZodLiteral<"1">;
3112
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3113
- name: import("zod").ZodString;
3114
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3115
- name: import("zod").ZodString;
3116
- type: import("zod").ZodString;
3117
- primaryKey: import("zod").ZodBoolean;
3118
- notNull: import("zod").ZodBoolean;
3119
- default: import("zod").ZodOptional<import("zod").ZodAny>;
3120
- references: import("zod").ZodOptional<import("zod").ZodObject<{
3121
- foreignKeyName: import("zod").ZodString;
3122
- table: import("zod").ZodString;
3123
- column: import("zod").ZodString;
3124
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
3125
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
3126
- }, "strict", import("zod").ZodTypeAny, {
3127
- onUpdate?: string | undefined;
3128
- onDelete?: string | undefined;
3129
- foreignKeyName: string;
3130
- table: string;
3131
- column: string;
3132
- }, {
3133
- onUpdate?: string | undefined;
3134
- onDelete?: string | undefined;
3135
- foreignKeyName: string;
3136
- table: string;
3137
- column: string;
3138
- }>>;
3139
- }, "strict", import("zod").ZodTypeAny, {
3140
- default?: any;
3141
- references?: {
3142
- onUpdate?: string | undefined;
3143
- onDelete?: string | undefined;
3144
- foreignKeyName: string;
3145
- table: string;
3146
- column: string;
3147
- } | undefined;
3148
- name: string;
3149
- type: string;
3150
- primaryKey: boolean;
3151
- notNull: boolean;
3152
- }, {
3153
- default?: any;
3154
- references?: {
3155
- onUpdate?: string | undefined;
3156
- onDelete?: string | undefined;
3157
- foreignKeyName: string;
3158
- table: string;
3159
- column: string;
3160
- } | undefined;
3161
- name: string;
3162
- type: string;
3163
- primaryKey: boolean;
3164
- notNull: boolean;
3165
- }>>;
3166
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3167
- name: import("zod").ZodString;
3168
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3169
- name: import("zod").ZodString;
3170
- }, "strip", import("zod").ZodTypeAny, {
3171
- name: string;
3172
- }, {
3173
- name: string;
3174
- }>>;
3175
- isUnique: import("zod").ZodBoolean;
3176
- }, "strict", import("zod").ZodTypeAny, {
3177
- name: string;
3178
- columns: Record<string, {
3179
- name: string;
3180
- }>;
3181
- isUnique: boolean;
3182
- }, {
3183
- name: string;
3184
- columns: Record<string, {
3185
- name: string;
3186
- }>;
3187
- isUnique: boolean;
3188
- }>>;
3189
- }, "strict", import("zod").ZodTypeAny, {
3190
- name: string;
3191
- columns: Record<string, {
3192
- default?: any;
3193
- references?: {
3194
- onUpdate?: string | undefined;
3195
- onDelete?: string | undefined;
3196
- foreignKeyName: string;
3197
- table: string;
3198
- column: string;
3199
- } | undefined;
3200
- name: string;
3201
- type: string;
3202
- primaryKey: boolean;
3203
- notNull: boolean;
3204
- }>;
3205
- indexes: Record<string, {
3206
- name: string;
3207
- columns: Record<string, {
3208
- name: string;
3209
- }>;
3210
- isUnique: boolean;
3211
- }>;
3212
- }, {
3213
- name: string;
3214
- columns: Record<string, {
3215
- default?: any;
3216
- references?: {
3217
- onUpdate?: string | undefined;
3218
- onDelete?: string | undefined;
3219
- foreignKeyName: string;
3220
- table: string;
3221
- column: string;
3222
- } | undefined;
3223
- name: string;
3224
- type: string;
3225
- primaryKey: boolean;
3226
- notNull: boolean;
3227
- }>;
3228
- indexes: Record<string, {
3229
- name: string;
3230
- columns: Record<string, {
3231
- name: string;
3232
- }>;
3233
- isUnique: boolean;
3234
- }>;
3235
- }>>;
3236
- enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3237
- name: import("zod").ZodString;
3238
- values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
3239
- }, "strict", import("zod").ZodTypeAny, {
3240
- name: string;
3241
- values: Record<string, string>;
3242
- }, {
3243
- name: string;
3244
- values: Record<string, string>;
3245
- }>>;
3246
- }, "strict", import("zod").ZodTypeAny, {
3247
- version: "1";
3248
- tables: Record<string, {
3249
- name: string;
3250
- columns: Record<string, {
3251
- default?: any;
3252
- references?: {
3253
- onUpdate?: string | undefined;
3254
- onDelete?: string | undefined;
3255
- foreignKeyName: string;
3256
- table: string;
3257
- column: string;
3258
- } | undefined;
3259
- name: string;
3260
- type: string;
3261
- primaryKey: boolean;
3262
- notNull: boolean;
3263
- }>;
3264
- indexes: Record<string, {
3265
- name: string;
3266
- columns: Record<string, {
3267
- name: string;
3268
- }>;
3269
- isUnique: boolean;
3270
- }>;
3271
- }>;
3272
- enums: Record<string, {
3273
- name: string;
3274
- values: Record<string, string>;
3275
- }>;
3276
- }, {
3277
- version: "1";
3278
- tables: Record<string, {
3279
- name: string;
3280
- columns: Record<string, {
3281
- default?: any;
3282
- references?: {
3283
- onUpdate?: string | undefined;
3284
- onDelete?: string | undefined;
3285
- foreignKeyName: string;
3286
- table: string;
3287
- column: string;
3288
- } | undefined;
3289
- name: string;
3290
- type: string;
3291
- primaryKey: boolean;
3292
- notNull: boolean;
3293
- }>;
3294
- indexes: Record<string, {
3295
- name: string;
3296
- columns: Record<string, {
3297
- name: string;
3298
- }>;
3299
- isUnique: boolean;
3300
- }>;
3301
- }>;
3302
- enums: Record<string, {
3303
- name: string;
3304
- values: Record<string, string>;
3305
- }>;
3306
- }>, import("zod").ZodObject<{
3307
- version: import("zod").ZodLiteral<"2">;
3308
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3309
- name: import("zod").ZodString;
3310
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3311
- name: import("zod").ZodString;
3312
- type: import("zod").ZodString;
3313
- primaryKey: import("zod").ZodBoolean;
3314
- notNull: import("zod").ZodBoolean;
3315
- default: import("zod").ZodOptional<import("zod").ZodAny>;
3316
- references: import("zod").ZodOptional<import("zod").ZodString>;
3317
- }, "strict", import("zod").ZodTypeAny, {
3318
- default?: any;
3319
- references?: string | undefined;
3320
- name: string;
3321
- type: string;
3322
- primaryKey: boolean;
3323
- notNull: boolean;
3324
- }, {
3325
- default?: any;
3326
- references?: string | undefined;
3327
- name: string;
3328
- type: string;
3329
- primaryKey: boolean;
3330
- notNull: boolean;
3331
- }>>;
3332
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3333
- name: import("zod").ZodString;
3334
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3335
- name: import("zod").ZodString;
3336
- }, "strip", import("zod").ZodTypeAny, {
3337
- name: string;
3338
- }, {
3339
- name: string;
3340
- }>>;
3341
- isUnique: import("zod").ZodBoolean;
3342
- }, "strict", import("zod").ZodTypeAny, {
3343
- name: string;
3344
- columns: Record<string, {
3345
- name: string;
3346
- }>;
3347
- isUnique: boolean;
3348
- }, {
3349
- name: string;
3350
- columns: Record<string, {
3351
- name: string;
3352
- }>;
3353
- isUnique: boolean;
3354
- }>>;
3355
- }, "strict", import("zod").ZodTypeAny, {
3356
- name: string;
3357
- columns: Record<string, {
3358
- default?: any;
3359
- references?: string | undefined;
3360
- name: string;
3361
- type: string;
3362
- primaryKey: boolean;
3363
- notNull: boolean;
3364
- }>;
3365
- indexes: Record<string, {
3366
- name: string;
3367
- columns: Record<string, {
3368
- name: string;
3369
- }>;
3370
- isUnique: boolean;
3371
- }>;
3372
- }, {
3373
- name: string;
3374
- columns: Record<string, {
3375
- default?: any;
3376
- references?: string | undefined;
3377
- name: string;
3378
- type: string;
3379
- primaryKey: boolean;
3380
- notNull: boolean;
3381
- }>;
3382
- indexes: Record<string, {
3383
- name: string;
3384
- columns: Record<string, {
3385
- name: string;
3386
- }>;
3387
- isUnique: boolean;
3388
- }>;
3389
- }>>;
3390
- enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3391
- name: import("zod").ZodString;
3392
- values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
3393
- }, "strict", import("zod").ZodTypeAny, {
3394
- name: string;
3395
- values: Record<string, string>;
3396
- }, {
3397
- name: string;
3398
- values: Record<string, string>;
3399
- }>>;
3400
- }, "strict", import("zod").ZodTypeAny, {
3401
- version: "2";
3402
- tables: Record<string, {
3403
- name: string;
3404
- columns: Record<string, {
3405
- default?: any;
3406
- references?: string | undefined;
3407
- name: string;
3408
- type: string;
3409
- primaryKey: boolean;
3410
- notNull: boolean;
3411
- }>;
3412
- indexes: Record<string, {
3413
- name: string;
3414
- columns: Record<string, {
3415
- name: string;
3416
- }>;
3417
- isUnique: boolean;
3418
- }>;
3419
- }>;
3420
- enums: Record<string, {
3421
- name: string;
3422
- values: Record<string, string>;
3423
- }>;
3424
- }, {
3425
- version: "2";
3426
- tables: Record<string, {
3427
- name: string;
3428
- columns: Record<string, {
3429
- default?: any;
3430
- references?: string | undefined;
3431
- name: string;
3432
- type: string;
3433
- primaryKey: boolean;
3434
- notNull: boolean;
3435
- }>;
3436
- indexes: Record<string, {
3437
- name: string;
3438
- columns: Record<string, {
3439
- name: string;
3440
- }>;
3441
- isUnique: boolean;
3442
- }>;
3443
- }>;
3444
- enums: Record<string, {
3445
- name: string;
3446
- values: Record<string, string>;
3447
- }>;
3448
- }>, import("zod").ZodObject<import("zod").extendShape<{
3449
- version: import("zod").ZodLiteral<"3">;
3450
- dialect: import("zod").ZodLiteral<"pg">;
3451
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3452
- name: import("zod").ZodString;
3453
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3454
- name: import("zod").ZodString;
3455
- type: import("zod").ZodString;
3456
- primaryKey: import("zod").ZodBoolean;
3457
- notNull: import("zod").ZodBoolean;
3458
- default: import("zod").ZodOptional<import("zod").ZodAny>;
3459
- isUnique: import("zod").ZodOptional<import("zod").ZodAny>;
3460
- uniqueName: import("zod").ZodOptional<import("zod").ZodString>;
3461
- nullsNotDistinct: import("zod").ZodOptional<import("zod").ZodBoolean>;
3462
- }, "strict", import("zod").ZodTypeAny, {
3463
- isUnique?: any;
3464
- default?: any;
3465
- uniqueName?: string | undefined;
3466
- nullsNotDistinct?: boolean | undefined;
3467
- name: string;
3468
- type: string;
3469
- primaryKey: boolean;
3470
- notNull: boolean;
3471
- }, {
3472
- isUnique?: any;
3473
- default?: any;
3474
- uniqueName?: string | undefined;
3475
- nullsNotDistinct?: boolean | undefined;
3476
- name: string;
3477
- type: string;
3478
- primaryKey: boolean;
3479
- notNull: boolean;
3480
- }>>;
3481
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3482
- name: import("zod").ZodString;
3483
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
3484
- isUnique: import("zod").ZodBoolean;
3485
- }, "strict", import("zod").ZodTypeAny, {
3486
- name: string;
3487
- columns: string[];
3488
- isUnique: boolean;
3489
- }, {
3490
- name: string;
3491
- columns: string[];
3492
- isUnique: boolean;
3493
- }>>;
3494
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3495
- name: import("zod").ZodString;
3496
- tableFrom: import("zod").ZodString;
3497
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
3498
- tableTo: import("zod").ZodString;
3499
- schemaTo: import("zod").ZodOptional<import("zod").ZodString>;
3500
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
3501
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
3502
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
3503
- }, "strict", import("zod").ZodTypeAny, {
3504
- onUpdate?: string | undefined;
3505
- onDelete?: string | undefined;
3506
- schemaTo?: string | undefined;
3507
- name: string;
3508
- tableFrom: string;
3509
- columnsFrom: string[];
3510
- tableTo: string;
3511
- columnsTo: string[];
3512
- }, {
3513
- onUpdate?: string | undefined;
3514
- onDelete?: string | undefined;
3515
- schemaTo?: string | undefined;
3516
- name: string;
3517
- tableFrom: string;
3518
- columnsFrom: string[];
3519
- tableTo: string;
3520
- columnsTo: string[];
3521
- }>>;
3522
- }, "strict", import("zod").ZodTypeAny, {
3523
- name: string;
3524
- columns: Record<string, {
3525
- isUnique?: any;
3526
- default?: any;
3527
- uniqueName?: string | undefined;
3528
- nullsNotDistinct?: boolean | undefined;
3529
- name: string;
3530
- type: string;
3531
- primaryKey: boolean;
3532
- notNull: boolean;
3533
- }>;
3534
- indexes: Record<string, {
3535
- name: string;
3536
- columns: string[];
3537
- isUnique: boolean;
3538
- }>;
3539
- foreignKeys: Record<string, {
3540
- onUpdate?: string | undefined;
3541
- onDelete?: string | undefined;
3542
- schemaTo?: string | undefined;
3543
- name: string;
3544
- tableFrom: string;
3545
- columnsFrom: string[];
3546
- tableTo: string;
3547
- columnsTo: string[];
3548
- }>;
3549
- }, {
3550
- name: string;
3551
- columns: Record<string, {
3552
- isUnique?: any;
3553
- default?: any;
3554
- uniqueName?: string | undefined;
3555
- nullsNotDistinct?: boolean | undefined;
3556
- name: string;
3557
- type: string;
3558
- primaryKey: boolean;
3559
- notNull: boolean;
3560
- }>;
3561
- indexes: Record<string, {
3562
- name: string;
3563
- columns: string[];
3564
- isUnique: boolean;
3565
- }>;
3566
- foreignKeys: Record<string, {
3567
- onUpdate?: string | undefined;
3568
- onDelete?: string | undefined;
3569
- schemaTo?: string | undefined;
3570
- name: string;
3571
- tableFrom: string;
3572
- columnsFrom: string[];
3573
- tableTo: string;
3574
- columnsTo: string[];
3575
- }>;
3576
- }>>;
3577
- enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3578
- name: import("zod").ZodString;
3579
- values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
3580
- }, "strict", import("zod").ZodTypeAny, {
3581
- name: string;
3582
- values: Record<string, string>;
3583
- }, {
3584
- name: string;
3585
- values: Record<string, string>;
3586
- }>>;
3587
- }, {
3588
- id: import("zod").ZodString;
3589
- prevId: import("zod").ZodString;
3590
- }>, "strip", import("zod").ZodTypeAny, {
3591
- id: string;
3592
- prevId: string;
3593
- version: "3";
3594
- dialect: "pg";
3595
- tables: Record<string, {
3596
- name: string;
3597
- columns: Record<string, {
3598
- isUnique?: any;
3599
- default?: any;
3600
- uniqueName?: string | undefined;
3601
- nullsNotDistinct?: boolean | undefined;
3602
- name: string;
3603
- type: string;
3604
- primaryKey: boolean;
3605
- notNull: boolean;
3606
- }>;
3607
- indexes: Record<string, {
3608
- name: string;
3609
- columns: string[];
3610
- isUnique: boolean;
3611
- }>;
3612
- foreignKeys: Record<string, {
3613
- onUpdate?: string | undefined;
3614
- onDelete?: string | undefined;
3615
- schemaTo?: string | undefined;
3616
- name: string;
3617
- tableFrom: string;
3618
- columnsFrom: string[];
3619
- tableTo: string;
3620
- columnsTo: string[];
3621
- }>;
3622
- }>;
3623
- enums: Record<string, {
3624
- name: string;
3625
- values: Record<string, string>;
3626
- }>;
3627
- }, {
3628
- id: string;
3629
- prevId: string;
3630
- version: "3";
3631
- dialect: "pg";
3632
- tables: Record<string, {
3633
- name: string;
3634
- columns: Record<string, {
3635
- isUnique?: any;
3636
- default?: any;
3637
- uniqueName?: string | undefined;
3638
- nullsNotDistinct?: boolean | undefined;
3639
- name: string;
3640
- type: string;
3641
- primaryKey: boolean;
3642
- notNull: boolean;
3643
- }>;
3644
- indexes: Record<string, {
3645
- name: string;
3646
- columns: string[];
3647
- isUnique: boolean;
3648
- }>;
3649
- foreignKeys: Record<string, {
3650
- onUpdate?: string | undefined;
3651
- onDelete?: string | undefined;
3652
- schemaTo?: string | undefined;
3653
- name: string;
3654
- tableFrom: string;
3655
- columnsFrom: string[];
3656
- tableTo: string;
3657
- columnsTo: string[];
3658
- }>;
3659
- }>;
3660
- enums: Record<string, {
3661
- name: string;
3662
- values: Record<string, string>;
3663
- }>;
3664
- }>, import("zod").ZodObject<import("zod").extendShape<{
3665
- version: import("zod").ZodLiteral<"4">;
3666
- dialect: import("zod").ZodLiteral<"pg">;
3667
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3668
- name: import("zod").ZodString;
3669
- schema: import("zod").ZodString;
3670
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3671
- name: import("zod").ZodString;
3672
- type: import("zod").ZodString;
3673
- primaryKey: import("zod").ZodBoolean;
3674
- notNull: import("zod").ZodBoolean;
3675
- default: import("zod").ZodOptional<import("zod").ZodAny>;
3676
- isUnique: import("zod").ZodOptional<import("zod").ZodAny>;
3677
- uniqueName: import("zod").ZodOptional<import("zod").ZodString>;
3678
- nullsNotDistinct: import("zod").ZodOptional<import("zod").ZodBoolean>;
3679
- }, "strict", import("zod").ZodTypeAny, {
3680
- isUnique?: any;
3681
- default?: any;
3682
- uniqueName?: string | undefined;
3683
- nullsNotDistinct?: boolean | undefined;
3684
- name: string;
3685
- type: string;
3686
- primaryKey: boolean;
3687
- notNull: boolean;
3688
- }, {
3689
- isUnique?: any;
3690
- default?: any;
3691
- uniqueName?: string | undefined;
3692
- nullsNotDistinct?: boolean | undefined;
3693
- name: string;
3694
- type: string;
3695
- primaryKey: boolean;
3696
- notNull: boolean;
3697
- }>>;
3698
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3699
- name: import("zod").ZodString;
3700
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
3701
- isUnique: import("zod").ZodBoolean;
3702
- }, "strict", import("zod").ZodTypeAny, {
3703
- name: string;
3704
- columns: string[];
3705
- isUnique: boolean;
3706
- }, {
3707
- name: string;
3708
- columns: string[];
3709
- isUnique: boolean;
3710
- }>>;
3711
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3712
- name: import("zod").ZodString;
3713
- tableFrom: import("zod").ZodString;
3714
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
3715
- tableTo: import("zod").ZodString;
3716
- schemaTo: import("zod").ZodOptional<import("zod").ZodString>;
3717
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
3718
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
3719
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
3720
- }, "strict", import("zod").ZodTypeAny, {
3721
- onUpdate?: string | undefined;
3722
- onDelete?: string | undefined;
3723
- schemaTo?: string | undefined;
3724
- name: string;
3725
- tableFrom: string;
3726
- columnsFrom: string[];
3727
- tableTo: string;
3728
- columnsTo: string[];
3729
- }, {
3730
- onUpdate?: string | undefined;
3731
- onDelete?: string | undefined;
3732
- schemaTo?: string | undefined;
3733
- name: string;
3734
- tableFrom: string;
3735
- columnsFrom: string[];
3736
- tableTo: string;
3737
- columnsTo: string[];
3738
- }>>;
3739
- }, "strict", import("zod").ZodTypeAny, {
3740
- name: string;
3741
- columns: Record<string, {
3742
- isUnique?: any;
3743
- default?: any;
3744
- uniqueName?: string | undefined;
3745
- nullsNotDistinct?: boolean | undefined;
3746
- name: string;
3747
- type: string;
3748
- primaryKey: boolean;
3749
- notNull: boolean;
3750
- }>;
3751
- indexes: Record<string, {
3752
- name: string;
3753
- columns: string[];
3754
- isUnique: boolean;
3755
- }>;
3756
- foreignKeys: Record<string, {
3757
- onUpdate?: string | undefined;
3758
- onDelete?: string | undefined;
3759
- schemaTo?: string | undefined;
3760
- name: string;
3761
- tableFrom: string;
3762
- columnsFrom: string[];
3763
- tableTo: string;
3764
- columnsTo: string[];
3765
- }>;
3766
- schema: string;
3767
- }, {
3768
- name: string;
3769
- columns: Record<string, {
3770
- isUnique?: any;
3771
- default?: any;
3772
- uniqueName?: string | undefined;
3773
- nullsNotDistinct?: boolean | undefined;
3774
- name: string;
3775
- type: string;
3776
- primaryKey: boolean;
3777
- notNull: boolean;
3778
- }>;
3779
- indexes: Record<string, {
3780
- name: string;
3781
- columns: string[];
3782
- isUnique: boolean;
3783
- }>;
3784
- foreignKeys: Record<string, {
3785
- onUpdate?: string | undefined;
3786
- onDelete?: string | undefined;
3787
- schemaTo?: string | undefined;
3788
- name: string;
3789
- tableFrom: string;
3790
- columnsFrom: string[];
3791
- tableTo: string;
3792
- columnsTo: string[];
3793
- }>;
3794
- schema: string;
3795
- }>>;
3796
- enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3797
- name: import("zod").ZodString;
3798
- values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
3799
- }, "strict", import("zod").ZodTypeAny, {
3800
- name: string;
3801
- values: Record<string, string>;
3802
- }, {
3803
- name: string;
3804
- values: Record<string, string>;
3805
- }>>;
3806
- schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
3807
- }, {
3808
- id: import("zod").ZodString;
3809
- prevId: import("zod").ZodString;
3810
- }>, "strip", import("zod").ZodTypeAny, {
3811
- id: string;
3812
- prevId: string;
3813
- version: "4";
3814
- dialect: "pg";
3815
- tables: Record<string, {
3816
- name: string;
3817
- columns: Record<string, {
3818
- isUnique?: any;
3819
- default?: any;
3820
- uniqueName?: string | undefined;
3821
- nullsNotDistinct?: boolean | undefined;
3822
- name: string;
3823
- type: string;
3824
- primaryKey: boolean;
3825
- notNull: boolean;
3826
- }>;
3827
- indexes: Record<string, {
3828
- name: string;
3829
- columns: string[];
3830
- isUnique: boolean;
3831
- }>;
3832
- foreignKeys: Record<string, {
3833
- onUpdate?: string | undefined;
3834
- onDelete?: string | undefined;
3835
- schemaTo?: string | undefined;
3836
- name: string;
3837
- tableFrom: string;
3838
- columnsFrom: string[];
3839
- tableTo: string;
3840
- columnsTo: string[];
3841
- }>;
3842
- schema: string;
3843
- }>;
3844
- schemas: Record<string, string>;
3845
- enums: Record<string, {
3846
- name: string;
3847
- values: Record<string, string>;
3848
- }>;
3849
- }, {
3850
- id: string;
3851
- prevId: string;
3852
- version: "4";
3853
- dialect: "pg";
3854
- tables: Record<string, {
3855
- name: string;
3856
- columns: Record<string, {
3857
- isUnique?: any;
3858
- default?: any;
3859
- uniqueName?: string | undefined;
3860
- nullsNotDistinct?: boolean | undefined;
3861
- name: string;
3862
- type: string;
3863
- primaryKey: boolean;
3864
- notNull: boolean;
3865
- }>;
3866
- indexes: Record<string, {
3867
- name: string;
3868
- columns: string[];
3869
- isUnique: boolean;
3870
- }>;
3871
- foreignKeys: Record<string, {
3872
- onUpdate?: string | undefined;
3873
- onDelete?: string | undefined;
3874
- schemaTo?: string | undefined;
3875
- name: string;
3876
- tableFrom: string;
3877
- columnsFrom: string[];
3878
- tableTo: string;
3879
- columnsTo: string[];
3880
- }>;
3881
- schema: string;
3882
- }>;
3883
- schemas: Record<string, string>;
3884
- enums: Record<string, {
3885
- name: string;
3886
- values: Record<string, string>;
3887
- }>;
3888
- }>, import("zod").ZodObject<import("zod").extendShape<{
3889
- version: import("zod").ZodLiteral<"5">;
3890
- dialect: import("zod").ZodLiteral<"pg">;
3891
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3892
- name: import("zod").ZodString;
3893
- schema: import("zod").ZodString;
3894
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3895
- name: import("zod").ZodString;
3896
- type: import("zod").ZodString;
3897
- primaryKey: import("zod").ZodBoolean;
3898
- notNull: import("zod").ZodBoolean;
3899
- default: import("zod").ZodOptional<import("zod").ZodAny>;
3900
- isUnique: import("zod").ZodOptional<import("zod").ZodAny>;
3901
- uniqueName: import("zod").ZodOptional<import("zod").ZodString>;
3902
- nullsNotDistinct: import("zod").ZodOptional<import("zod").ZodBoolean>;
3903
- }, "strict", import("zod").ZodTypeAny, {
3904
- isUnique?: any;
3905
- default?: any;
3906
- uniqueName?: string | undefined;
3907
- nullsNotDistinct?: boolean | undefined;
3908
- name: string;
3909
- type: string;
3910
- primaryKey: boolean;
3911
- notNull: boolean;
3912
- }, {
3913
- isUnique?: any;
3914
- default?: any;
3915
- uniqueName?: string | undefined;
3916
- nullsNotDistinct?: boolean | undefined;
3917
- name: string;
3918
- type: string;
3919
- primaryKey: boolean;
3920
- notNull: boolean;
3921
- }>>;
3922
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3923
- name: import("zod").ZodString;
3924
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
3925
- isUnique: import("zod").ZodBoolean;
3926
- }, "strict", import("zod").ZodTypeAny, {
3927
- name: string;
3928
- columns: string[];
3929
- isUnique: boolean;
3930
- }, {
3931
- name: string;
3932
- columns: string[];
3933
- isUnique: boolean;
3934
- }>>;
3935
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3936
- name: import("zod").ZodString;
3937
- tableFrom: import("zod").ZodString;
3938
- columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
3939
- tableTo: import("zod").ZodString;
3940
- schemaTo: import("zod").ZodOptional<import("zod").ZodString>;
3941
- columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
3942
- onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
3943
- onDelete: import("zod").ZodOptional<import("zod").ZodString>;
3944
- }, "strict", import("zod").ZodTypeAny, {
3945
- onUpdate?: string | undefined;
3946
- onDelete?: string | undefined;
3947
- schemaTo?: string | undefined;
3948
- name: string;
3949
- tableFrom: string;
3950
- columnsFrom: string[];
3951
- tableTo: string;
3952
- columnsTo: string[];
3953
- }, {
3954
- onUpdate?: string | undefined;
3955
- onDelete?: string | undefined;
3956
- schemaTo?: string | undefined;
3957
- name: string;
3958
- tableFrom: string;
3959
- columnsFrom: string[];
3960
- tableTo: string;
3961
- columnsTo: string[];
3962
- }>>;
3963
- compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3964
- name: import("zod").ZodString;
3965
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
3966
- }, "strict", import("zod").ZodTypeAny, {
3967
- name: string;
3968
- columns: string[];
3969
- }, {
3970
- name: string;
3971
- columns: string[];
3972
- }>>;
3973
- uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3974
- name: import("zod").ZodString;
3975
- columns: import("zod").ZodArray<import("zod").ZodString, "many">;
3976
- nullsNotDistinct: import("zod").ZodBoolean;
3977
- }, "strict", import("zod").ZodTypeAny, {
3978
- name: string;
3979
- columns: string[];
3980
- nullsNotDistinct: boolean;
3981
- }, {
3982
- name: string;
3983
- columns: string[];
3984
- nullsNotDistinct: boolean;
3985
- }>>>;
3986
- }, "strict", import("zod").ZodTypeAny, {
3987
- name: string;
3988
- columns: Record<string, {
3989
- isUnique?: any;
3990
- default?: any;
3991
- uniqueName?: string | undefined;
3992
- nullsNotDistinct?: boolean | undefined;
3993
- name: string;
3994
- type: string;
3995
- primaryKey: boolean;
3996
- notNull: boolean;
3997
- }>;
3998
- indexes: Record<string, {
3999
- name: string;
4000
- columns: string[];
4001
- isUnique: boolean;
4002
- }>;
4003
- foreignKeys: Record<string, {
4004
- onUpdate?: string | undefined;
4005
- onDelete?: string | undefined;
4006
- schemaTo?: string | undefined;
4007
- name: string;
4008
- tableFrom: string;
4009
- columnsFrom: string[];
4010
- tableTo: string;
4011
- columnsTo: string[];
4012
- }>;
4013
- schema: string;
4014
- compositePrimaryKeys: Record<string, {
4015
- name: string;
4016
- columns: string[];
4017
- }>;
4018
- uniqueConstraints: Record<string, {
4019
- name: string;
4020
- columns: string[];
4021
- nullsNotDistinct: boolean;
4022
- }>;
4023
- }, {
4024
- uniqueConstraints?: Record<string, {
4025
- name: string;
4026
- columns: string[];
4027
- nullsNotDistinct: boolean;
4028
- }> | undefined;
4029
- name: string;
4030
- columns: Record<string, {
4031
- isUnique?: any;
4032
- default?: any;
4033
- uniqueName?: string | undefined;
4034
- nullsNotDistinct?: boolean | undefined;
4035
- name: string;
4036
- type: string;
4037
- primaryKey: boolean;
4038
- notNull: boolean;
4039
- }>;
4040
- indexes: Record<string, {
4041
- name: string;
4042
- columns: string[];
4043
- isUnique: boolean;
4044
- }>;
4045
- foreignKeys: Record<string, {
4046
- onUpdate?: string | undefined;
4047
- onDelete?: string | undefined;
4048
- schemaTo?: string | undefined;
4049
- name: string;
4050
- tableFrom: string;
4051
- columnsFrom: string[];
4052
- tableTo: string;
4053
- columnsTo: string[];
4054
- }>;
4055
- schema: string;
4056
- compositePrimaryKeys: Record<string, {
4057
- name: string;
4058
- columns: string[];
4059
- }>;
4060
- }>>;
4061
- enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
4062
- name: import("zod").ZodString;
4063
- values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
4064
- }, "strict", import("zod").ZodTypeAny, {
4065
- name: string;
4066
- values: Record<string, string>;
4067
- }, {
4068
- name: string;
4069
- values: Record<string, string>;
4070
- }>>;
4071
- schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
4072
- _meta: import("zod").ZodObject<{
4073
- schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
4074
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
4075
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
4076
- }, "strip", import("zod").ZodTypeAny, {
4077
- columns: Record<string, string>;
4078
- tables: Record<string, string>;
4079
- schemas: Record<string, string>;
4080
- }, {
4081
- columns: Record<string, string>;
4082
- tables: Record<string, string>;
4083
- schemas: Record<string, string>;
4084
- }>;
4085
- internal: import("zod").ZodOptional<import("zod").ZodObject<{
4086
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodObject<{
4087
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodObject<{
4088
- isArray: import("zod").ZodOptional<import("zod").ZodBoolean>;
4089
- dimensions: import("zod").ZodOptional<import("zod").ZodNumber>;
4090
- rawType: import("zod").ZodOptional<import("zod").ZodString>;
4091
- }, "strip", import("zod").ZodTypeAny, {
4092
- isArray?: boolean | undefined;
4093
- dimensions?: number | undefined;
4094
- rawType?: string | undefined;
4095
- }, {
4096
- isArray?: boolean | undefined;
4097
- dimensions?: number | undefined;
4098
- rawType?: string | undefined;
4099
- }>>>;
4100
- }, "strip", import("zod").ZodTypeAny, {
4101
- columns: Record<string, {
4102
- isArray?: boolean | undefined;
4103
- dimensions?: number | undefined;
4104
- rawType?: string | undefined;
4105
- } | undefined>;
4106
- }, {
4107
- columns: Record<string, {
4108
- isArray?: boolean | undefined;
4109
- dimensions?: number | undefined;
4110
- rawType?: string | undefined;
4111
- } | undefined>;
4112
- }>>>;
4113
- }, "strip", import("zod").ZodTypeAny, {
4114
- tables: Record<string, {
4115
- columns: Record<string, {
4116
- isArray?: boolean | undefined;
4117
- dimensions?: number | undefined;
4118
- rawType?: string | undefined;
4119
- } | undefined>;
4120
- } | undefined>;
4121
- }, {
4122
- tables: Record<string, {
4123
- columns: Record<string, {
4124
- isArray?: boolean | undefined;
4125
- dimensions?: number | undefined;
4126
- rawType?: string | undefined;
4127
- } | undefined>;
4128
- } | undefined>;
4129
- }>>;
4130
- }, {
4131
- id: import("zod").ZodString;
4132
- prevId: import("zod").ZodString;
4133
- }>, "strip", import("zod").ZodTypeAny, {
4134
- internal?: {
4135
- tables: Record<string, {
4136
- columns: Record<string, {
4137
- isArray?: boolean | undefined;
4138
- dimensions?: number | undefined;
4139
- rawType?: string | undefined;
4140
- } | undefined>;
4141
- } | undefined>;
4142
- } | undefined;
4143
- id: string;
4144
- prevId: string;
4145
- version: "5";
4146
- dialect: "pg";
4147
- tables: Record<string, {
4148
- name: string;
4149
- columns: Record<string, {
4150
- isUnique?: any;
4151
- default?: any;
4152
- uniqueName?: string | undefined;
4153
- nullsNotDistinct?: boolean | undefined;
4154
- name: string;
4155
- type: string;
4156
- primaryKey: boolean;
4157
- notNull: boolean;
4158
- }>;
4159
- indexes: Record<string, {
4160
- name: string;
4161
- columns: string[];
4162
- isUnique: boolean;
4163
- }>;
4164
- foreignKeys: Record<string, {
4165
- onUpdate?: string | undefined;
4166
- onDelete?: string | undefined;
4167
- schemaTo?: string | undefined;
4168
- name: string;
4169
- tableFrom: string;
4170
- columnsFrom: string[];
4171
- tableTo: string;
4172
- columnsTo: string[];
4173
- }>;
4174
- schema: string;
4175
- compositePrimaryKeys: Record<string, {
4176
- name: string;
4177
- columns: string[];
4178
- }>;
4179
- uniqueConstraints: Record<string, {
4180
- name: string;
4181
- columns: string[];
4182
- nullsNotDistinct: boolean;
4183
- }>;
4184
- }>;
4185
- schemas: Record<string, string>;
4186
- _meta: {
4187
- columns: Record<string, string>;
4188
- tables: Record<string, string>;
4189
- schemas: Record<string, string>;
4190
- };
4191
- enums: Record<string, {
4192
- name: string;
4193
- values: Record<string, string>;
4194
- }>;
4195
- }, {
4196
- internal?: {
4197
- tables: Record<string, {
4198
- columns: Record<string, {
4199
- isArray?: boolean | undefined;
4200
- dimensions?: number | undefined;
4201
- rawType?: string | undefined;
4202
- } | undefined>;
4203
- } | undefined>;
4204
- } | undefined;
4205
- id: string;
4206
- prevId: string;
4207
- version: "5";
4208
- dialect: "pg";
4209
- tables: Record<string, {
4210
- uniqueConstraints?: Record<string, {
4211
- name: string;
4212
- columns: string[];
4213
- nullsNotDistinct: boolean;
4214
- }> | undefined;
4215
- name: string;
4216
- columns: Record<string, {
4217
- isUnique?: any;
4218
- default?: any;
4219
- uniqueName?: string | undefined;
4220
- nullsNotDistinct?: boolean | undefined;
4221
- name: string;
4222
- type: string;
4223
- primaryKey: boolean;
4224
- notNull: boolean;
4225
- }>;
4226
- indexes: Record<string, {
4227
- name: string;
4228
- columns: string[];
4229
- isUnique: boolean;
4230
- }>;
4231
- foreignKeys: Record<string, {
4232
- onUpdate?: string | undefined;
4233
- onDelete?: string | undefined;
4234
- schemaTo?: string | undefined;
4235
- name: string;
4236
- tableFrom: string;
4237
- columnsFrom: string[];
4238
- tableTo: string;
4239
- columnsTo: string[];
4240
- }>;
4241
- schema: string;
4242
- compositePrimaryKeys: Record<string, {
4243
- name: string;
4244
- columns: string[];
4245
- }>;
4246
- }>;
4247
- schemas: Record<string, string>;
4248
- _meta: {
4249
- columns: Record<string, string>;
4250
- tables: Record<string, string>;
4251
- schemas: Record<string, string>;
4252
- };
4253
- enums: Record<string, {
4254
- name: string;
4255
- values: Record<string, string>;
4256
- }>;
4257
- }>]>;
4258
- export declare const PgSquasher: {
4259
- squashIdx: (idx: Index) => string;
4260
- unsquashIdx: (input: string) => Index;
4261
- squashFK: (fk: ForeignKey) => string;
4262
- squashPK: (pk: PrimaryKey) => string;
4263
- unsquashPK: (pk: string) => PrimaryKey;
4264
- squashUnique: (unq: UniqueConstraint) => string;
4265
- unsquashUnique: (unq: string) => UniqueConstraint;
4266
- unsquashFK: (input: string) => ForeignKey;
4267
- };
4268
- export declare const squashPgSchemeV4: (json: PgSchemaV4) => PgSchemaSquashedV4;
4269
- export declare const squashPgScheme: (json: PgSchema) => PgSchemaSquashed;
4270
- export declare const dryPg: {
4271
- internal?: {
4272
- tables: Record<string, {
4273
- columns: Record<string, {
4274
- isArray?: boolean | undefined;
4275
- dimensions?: number | undefined;
4276
- rawType?: string | undefined;
4277
- } | undefined>;
4278
- } | undefined>;
4279
- } | undefined;
4280
- id: string;
4281
- prevId: string;
4282
- version: "5";
4283
- dialect: "pg";
4284
- tables: Record<string, {
4285
- name: string;
4286
- columns: Record<string, {
4287
- isUnique?: any;
4288
- default?: any;
4289
- uniqueName?: string | undefined;
4290
- nullsNotDistinct?: boolean | undefined;
4291
- name: string;
4292
- type: string;
4293
- primaryKey: boolean;
4294
- notNull: boolean;
4295
- }>;
4296
- indexes: Record<string, {
4297
- name: string;
4298
- columns: string[];
4299
- isUnique: boolean;
4300
- }>;
4301
- foreignKeys: Record<string, {
4302
- onUpdate?: string | undefined;
4303
- onDelete?: string | undefined;
4304
- schemaTo?: string | undefined;
4305
- name: string;
4306
- tableFrom: string;
4307
- columnsFrom: string[];
4308
- tableTo: string;
4309
- columnsTo: string[];
4310
- }>;
4311
- schema: string;
4312
- compositePrimaryKeys: Record<string, {
4313
- name: string;
4314
- columns: string[];
4315
- }>;
4316
- uniqueConstraints: Record<string, {
4317
- name: string;
4318
- columns: string[];
4319
- nullsNotDistinct: boolean;
4320
- }>;
4321
- }>;
4322
- schemas: Record<string, string>;
4323
- _meta: {
4324
- columns: Record<string, string>;
4325
- tables: Record<string, string>;
4326
- schemas: Record<string, string>;
4327
- };
4328
- enums: Record<string, {
4329
- name: string;
4330
- values: Record<string, string>;
4331
- }>;
4332
- };
4333
- export {};