drizzle-kit 0.20.8 → 0.20.9-1dc10f5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin.cjs +663 -693
- package/cli/commands/pgIntrospect.d.ts +2 -0
- package/package.json +4 -3
- package/schemaValidator.d.ts +7 -0
- package/serializer/pgSchema.d.ts +89 -0
- package/serializer/pgSerializer.d.ts +0 -2
- package/serializer/schemaToDrizzle.d.ts +7 -0
- package/serializer/sqliteSerializer.d.ts +0 -2
- package/serializer/studioUtils.d.ts +4 -4
- package/utils-studio.d.mts +2 -2
- package/utils-studio.d.ts +2 -2
- package/utils-studio.js +953 -944
- package/utils-studio.mjs +631 -622
- package/utils.d.ts +2 -0
- package/utils.js +209 -190
package/serializer/pgSchema.d.ts
CHANGED
@@ -367,6 +367,7 @@ declare const fk: import("zod").ZodObject<{
|
|
367
367
|
tableFrom: import("zod").ZodString;
|
368
368
|
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
369
369
|
tableTo: import("zod").ZodString;
|
370
|
+
schemaTo: import("zod").ZodString;
|
370
371
|
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
371
372
|
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
372
373
|
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -378,6 +379,7 @@ declare const fk: import("zod").ZodObject<{
|
|
378
379
|
columnsFrom: string[];
|
379
380
|
tableTo: string;
|
380
381
|
columnsTo: string[];
|
382
|
+
schemaTo: string;
|
381
383
|
}, {
|
382
384
|
onUpdate?: string | undefined;
|
383
385
|
onDelete?: string | undefined;
|
@@ -386,6 +388,7 @@ declare const fk: import("zod").ZodObject<{
|
|
386
388
|
columnsFrom: string[];
|
387
389
|
tableTo: string;
|
388
390
|
columnsTo: string[];
|
391
|
+
schemaTo: string;
|
389
392
|
}>;
|
390
393
|
declare const column: import("zod").ZodObject<{
|
391
394
|
name: import("zod").ZodString;
|
@@ -463,6 +466,7 @@ declare const tableV3: import("zod").ZodObject<{
|
|
463
466
|
tableFrom: import("zod").ZodString;
|
464
467
|
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
465
468
|
tableTo: import("zod").ZodString;
|
469
|
+
schemaTo: import("zod").ZodString;
|
466
470
|
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
467
471
|
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
468
472
|
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -474,6 +478,7 @@ declare const tableV3: import("zod").ZodObject<{
|
|
474
478
|
columnsFrom: string[];
|
475
479
|
tableTo: string;
|
476
480
|
columnsTo: string[];
|
481
|
+
schemaTo: string;
|
477
482
|
}, {
|
478
483
|
onUpdate?: string | undefined;
|
479
484
|
onDelete?: string | undefined;
|
@@ -482,6 +487,7 @@ declare const tableV3: import("zod").ZodObject<{
|
|
482
487
|
columnsFrom: string[];
|
483
488
|
tableTo: string;
|
484
489
|
columnsTo: string[];
|
490
|
+
schemaTo: string;
|
485
491
|
}>>;
|
486
492
|
}, "strict", import("zod").ZodTypeAny, {
|
487
493
|
name: string;
|
@@ -508,6 +514,7 @@ declare const tableV3: import("zod").ZodObject<{
|
|
508
514
|
columnsFrom: string[];
|
509
515
|
tableTo: string;
|
510
516
|
columnsTo: string[];
|
517
|
+
schemaTo: string;
|
511
518
|
}>;
|
512
519
|
}, {
|
513
520
|
name: string;
|
@@ -534,6 +541,7 @@ declare const tableV3: import("zod").ZodObject<{
|
|
534
541
|
columnsFrom: string[];
|
535
542
|
tableTo: string;
|
536
543
|
columnsTo: string[];
|
544
|
+
schemaTo: string;
|
537
545
|
}>;
|
538
546
|
}>;
|
539
547
|
declare const compositePK: import("zod").ZodObject<{
|
@@ -608,6 +616,7 @@ declare const tableV4: import("zod").ZodObject<{
|
|
608
616
|
tableFrom: import("zod").ZodString;
|
609
617
|
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
610
618
|
tableTo: import("zod").ZodString;
|
619
|
+
schemaTo: import("zod").ZodString;
|
611
620
|
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
612
621
|
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
613
622
|
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -619,6 +628,7 @@ declare const tableV4: import("zod").ZodObject<{
|
|
619
628
|
columnsFrom: string[];
|
620
629
|
tableTo: string;
|
621
630
|
columnsTo: string[];
|
631
|
+
schemaTo: string;
|
622
632
|
}, {
|
623
633
|
onUpdate?: string | undefined;
|
624
634
|
onDelete?: string | undefined;
|
@@ -627,6 +637,7 @@ declare const tableV4: import("zod").ZodObject<{
|
|
627
637
|
columnsFrom: string[];
|
628
638
|
tableTo: string;
|
629
639
|
columnsTo: string[];
|
640
|
+
schemaTo: string;
|
630
641
|
}>>;
|
631
642
|
}, "strict", import("zod").ZodTypeAny, {
|
632
643
|
name: string;
|
@@ -653,6 +664,7 @@ declare const tableV4: import("zod").ZodObject<{
|
|
653
664
|
columnsFrom: string[];
|
654
665
|
tableTo: string;
|
655
666
|
columnsTo: string[];
|
667
|
+
schemaTo: string;
|
656
668
|
}>;
|
657
669
|
schema: string;
|
658
670
|
}, {
|
@@ -680,6 +692,7 @@ declare const tableV4: import("zod").ZodObject<{
|
|
680
692
|
columnsFrom: string[];
|
681
693
|
tableTo: string;
|
682
694
|
columnsTo: string[];
|
695
|
+
schemaTo: string;
|
683
696
|
}>;
|
684
697
|
schema: string;
|
685
698
|
}>;
|
@@ -732,6 +745,7 @@ declare const table: import("zod").ZodObject<{
|
|
732
745
|
tableFrom: import("zod").ZodString;
|
733
746
|
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
734
747
|
tableTo: import("zod").ZodString;
|
748
|
+
schemaTo: import("zod").ZodString;
|
735
749
|
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
736
750
|
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
737
751
|
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -743,6 +757,7 @@ declare const table: import("zod").ZodObject<{
|
|
743
757
|
columnsFrom: string[];
|
744
758
|
tableTo: string;
|
745
759
|
columnsTo: string[];
|
760
|
+
schemaTo: string;
|
746
761
|
}, {
|
747
762
|
onUpdate?: string | undefined;
|
748
763
|
onDelete?: string | undefined;
|
@@ -751,6 +766,7 @@ declare const table: import("zod").ZodObject<{
|
|
751
766
|
columnsFrom: string[];
|
752
767
|
tableTo: string;
|
753
768
|
columnsTo: string[];
|
769
|
+
schemaTo: string;
|
754
770
|
}>>;
|
755
771
|
compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
756
772
|
name: import("zod").ZodString;
|
@@ -800,6 +816,7 @@ declare const table: import("zod").ZodObject<{
|
|
800
816
|
columnsFrom: string[];
|
801
817
|
tableTo: string;
|
802
818
|
columnsTo: string[];
|
819
|
+
schemaTo: string;
|
803
820
|
}>;
|
804
821
|
schema: string;
|
805
822
|
compositePrimaryKeys: Record<string, {
|
@@ -841,6 +858,7 @@ declare const table: import("zod").ZodObject<{
|
|
841
858
|
columnsFrom: string[];
|
842
859
|
tableTo: string;
|
843
860
|
columnsTo: string[];
|
861
|
+
schemaTo: string;
|
844
862
|
}>;
|
845
863
|
schema: string;
|
846
864
|
compositePrimaryKeys: Record<string, {
|
@@ -899,6 +917,7 @@ export declare const pgSchemaInternalV3: import("zod").ZodObject<{
|
|
899
917
|
tableFrom: import("zod").ZodString;
|
900
918
|
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
901
919
|
tableTo: import("zod").ZodString;
|
920
|
+
schemaTo: import("zod").ZodString;
|
902
921
|
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
903
922
|
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
904
923
|
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -910,6 +929,7 @@ export declare const pgSchemaInternalV3: import("zod").ZodObject<{
|
|
910
929
|
columnsFrom: string[];
|
911
930
|
tableTo: string;
|
912
931
|
columnsTo: string[];
|
932
|
+
schemaTo: string;
|
913
933
|
}, {
|
914
934
|
onUpdate?: string | undefined;
|
915
935
|
onDelete?: string | undefined;
|
@@ -918,6 +938,7 @@ export declare const pgSchemaInternalV3: import("zod").ZodObject<{
|
|
918
938
|
columnsFrom: string[];
|
919
939
|
tableTo: string;
|
920
940
|
columnsTo: string[];
|
941
|
+
schemaTo: string;
|
921
942
|
}>>;
|
922
943
|
}, "strict", import("zod").ZodTypeAny, {
|
923
944
|
name: string;
|
@@ -944,6 +965,7 @@ export declare const pgSchemaInternalV3: import("zod").ZodObject<{
|
|
944
965
|
columnsFrom: string[];
|
945
966
|
tableTo: string;
|
946
967
|
columnsTo: string[];
|
968
|
+
schemaTo: string;
|
947
969
|
}>;
|
948
970
|
}, {
|
949
971
|
name: string;
|
@@ -970,6 +992,7 @@ export declare const pgSchemaInternalV3: import("zod").ZodObject<{
|
|
970
992
|
columnsFrom: string[];
|
971
993
|
tableTo: string;
|
972
994
|
columnsTo: string[];
|
995
|
+
schemaTo: string;
|
973
996
|
}>;
|
974
997
|
}>>;
|
975
998
|
enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
@@ -1010,6 +1033,7 @@ export declare const pgSchemaInternalV3: import("zod").ZodObject<{
|
|
1010
1033
|
columnsFrom: string[];
|
1011
1034
|
tableTo: string;
|
1012
1035
|
columnsTo: string[];
|
1036
|
+
schemaTo: string;
|
1013
1037
|
}>;
|
1014
1038
|
}>;
|
1015
1039
|
enums: Record<string, {
|
@@ -1044,6 +1068,7 @@ export declare const pgSchemaInternalV3: import("zod").ZodObject<{
|
|
1044
1068
|
columnsFrom: string[];
|
1045
1069
|
tableTo: string;
|
1046
1070
|
columnsTo: string[];
|
1071
|
+
schemaTo: string;
|
1047
1072
|
}>;
|
1048
1073
|
}>;
|
1049
1074
|
enums: Record<string, {
|
@@ -1103,6 +1128,7 @@ export declare const pgSchemaInternalV4: import("zod").ZodObject<{
|
|
1103
1128
|
tableFrom: import("zod").ZodString;
|
1104
1129
|
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
1105
1130
|
tableTo: import("zod").ZodString;
|
1131
|
+
schemaTo: import("zod").ZodString;
|
1106
1132
|
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
1107
1133
|
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
1108
1134
|
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -1114,6 +1140,7 @@ export declare const pgSchemaInternalV4: import("zod").ZodObject<{
|
|
1114
1140
|
columnsFrom: string[];
|
1115
1141
|
tableTo: string;
|
1116
1142
|
columnsTo: string[];
|
1143
|
+
schemaTo: string;
|
1117
1144
|
}, {
|
1118
1145
|
onUpdate?: string | undefined;
|
1119
1146
|
onDelete?: string | undefined;
|
@@ -1122,6 +1149,7 @@ export declare const pgSchemaInternalV4: import("zod").ZodObject<{
|
|
1122
1149
|
columnsFrom: string[];
|
1123
1150
|
tableTo: string;
|
1124
1151
|
columnsTo: string[];
|
1152
|
+
schemaTo: string;
|
1125
1153
|
}>>;
|
1126
1154
|
}, "strict", import("zod").ZodTypeAny, {
|
1127
1155
|
name: string;
|
@@ -1148,6 +1176,7 @@ export declare const pgSchemaInternalV4: import("zod").ZodObject<{
|
|
1148
1176
|
columnsFrom: string[];
|
1149
1177
|
tableTo: string;
|
1150
1178
|
columnsTo: string[];
|
1179
|
+
schemaTo: string;
|
1151
1180
|
}>;
|
1152
1181
|
schema: string;
|
1153
1182
|
}, {
|
@@ -1175,6 +1204,7 @@ export declare const pgSchemaInternalV4: import("zod").ZodObject<{
|
|
1175
1204
|
columnsFrom: string[];
|
1176
1205
|
tableTo: string;
|
1177
1206
|
columnsTo: string[];
|
1207
|
+
schemaTo: string;
|
1178
1208
|
}>;
|
1179
1209
|
schema: string;
|
1180
1210
|
}>>;
|
@@ -1217,6 +1247,7 @@ export declare const pgSchemaInternalV4: import("zod").ZodObject<{
|
|
1217
1247
|
columnsFrom: string[];
|
1218
1248
|
tableTo: string;
|
1219
1249
|
columnsTo: string[];
|
1250
|
+
schemaTo: string;
|
1220
1251
|
}>;
|
1221
1252
|
schema: string;
|
1222
1253
|
}>;
|
@@ -1253,6 +1284,7 @@ export declare const pgSchemaInternalV4: import("zod").ZodObject<{
|
|
1253
1284
|
columnsFrom: string[];
|
1254
1285
|
tableTo: string;
|
1255
1286
|
columnsTo: string[];
|
1287
|
+
schemaTo: string;
|
1256
1288
|
}>;
|
1257
1289
|
schema: string;
|
1258
1290
|
}>;
|
@@ -1314,6 +1346,7 @@ export declare const pgSchemaExternal: import("zod").ZodObject<{
|
|
1314
1346
|
tableFrom: import("zod").ZodString;
|
1315
1347
|
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
1316
1348
|
tableTo: import("zod").ZodString;
|
1349
|
+
schemaTo: import("zod").ZodString;
|
1317
1350
|
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
1318
1351
|
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
1319
1352
|
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -1325,6 +1358,7 @@ export declare const pgSchemaExternal: import("zod").ZodObject<{
|
|
1325
1358
|
columnsFrom: string[];
|
1326
1359
|
tableTo: string;
|
1327
1360
|
columnsTo: string[];
|
1361
|
+
schemaTo: string;
|
1328
1362
|
}, {
|
1329
1363
|
onUpdate?: string | undefined;
|
1330
1364
|
onDelete?: string | undefined;
|
@@ -1333,6 +1367,7 @@ export declare const pgSchemaExternal: import("zod").ZodObject<{
|
|
1333
1367
|
columnsFrom: string[];
|
1334
1368
|
tableTo: string;
|
1335
1369
|
columnsTo: string[];
|
1370
|
+
schemaTo: string;
|
1336
1371
|
}>>;
|
1337
1372
|
compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
1338
1373
|
name: import("zod").ZodString;
|
@@ -1382,6 +1417,7 @@ export declare const pgSchemaExternal: import("zod").ZodObject<{
|
|
1382
1417
|
columnsFrom: string[];
|
1383
1418
|
tableTo: string;
|
1384
1419
|
columnsTo: string[];
|
1420
|
+
schemaTo: string;
|
1385
1421
|
}>;
|
1386
1422
|
schema: string;
|
1387
1423
|
compositePrimaryKeys: Record<string, {
|
@@ -1423,6 +1459,7 @@ export declare const pgSchemaExternal: import("zod").ZodObject<{
|
|
1423
1459
|
columnsFrom: string[];
|
1424
1460
|
tableTo: string;
|
1425
1461
|
columnsTo: string[];
|
1462
|
+
schemaTo: string;
|
1426
1463
|
}>;
|
1427
1464
|
schema: string;
|
1428
1465
|
compositePrimaryKeys: Record<string, {
|
@@ -1488,6 +1525,7 @@ export declare const pgSchemaExternal: import("zod").ZodObject<{
|
|
1488
1525
|
columnsFrom: string[];
|
1489
1526
|
tableTo: string;
|
1490
1527
|
columnsTo: string[];
|
1528
|
+
schemaTo: string;
|
1491
1529
|
}>;
|
1492
1530
|
schema: string;
|
1493
1531
|
compositePrimaryKeys: Record<string, {
|
@@ -1545,6 +1583,7 @@ export declare const pgSchemaExternal: import("zod").ZodObject<{
|
|
1545
1583
|
columnsFrom: string[];
|
1546
1584
|
tableTo: string;
|
1547
1585
|
columnsTo: string[];
|
1586
|
+
schemaTo: string;
|
1548
1587
|
}>;
|
1549
1588
|
schema: string;
|
1550
1589
|
compositePrimaryKeys: Record<string, {
|
@@ -1662,6 +1701,7 @@ export declare const pgSchemaInternal: import("zod").ZodObject<{
|
|
1662
1701
|
tableFrom: import("zod").ZodString;
|
1663
1702
|
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
1664
1703
|
tableTo: import("zod").ZodString;
|
1704
|
+
schemaTo: import("zod").ZodString;
|
1665
1705
|
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
1666
1706
|
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
1667
1707
|
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -1673,6 +1713,7 @@ export declare const pgSchemaInternal: import("zod").ZodObject<{
|
|
1673
1713
|
columnsFrom: string[];
|
1674
1714
|
tableTo: string;
|
1675
1715
|
columnsTo: string[];
|
1716
|
+
schemaTo: string;
|
1676
1717
|
}, {
|
1677
1718
|
onUpdate?: string | undefined;
|
1678
1719
|
onDelete?: string | undefined;
|
@@ -1681,6 +1722,7 @@ export declare const pgSchemaInternal: import("zod").ZodObject<{
|
|
1681
1722
|
columnsFrom: string[];
|
1682
1723
|
tableTo: string;
|
1683
1724
|
columnsTo: string[];
|
1725
|
+
schemaTo: string;
|
1684
1726
|
}>>;
|
1685
1727
|
compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
1686
1728
|
name: import("zod").ZodString;
|
@@ -1730,6 +1772,7 @@ export declare const pgSchemaInternal: import("zod").ZodObject<{
|
|
1730
1772
|
columnsFrom: string[];
|
1731
1773
|
tableTo: string;
|
1732
1774
|
columnsTo: string[];
|
1775
|
+
schemaTo: string;
|
1733
1776
|
}>;
|
1734
1777
|
schema: string;
|
1735
1778
|
compositePrimaryKeys: Record<string, {
|
@@ -1771,6 +1814,7 @@ export declare const pgSchemaInternal: import("zod").ZodObject<{
|
|
1771
1814
|
columnsFrom: string[];
|
1772
1815
|
tableTo: string;
|
1773
1816
|
columnsTo: string[];
|
1817
|
+
schemaTo: string;
|
1774
1818
|
}>;
|
1775
1819
|
schema: string;
|
1776
1820
|
compositePrimaryKeys: Record<string, {
|
@@ -1884,6 +1928,7 @@ export declare const pgSchemaInternal: import("zod").ZodObject<{
|
|
1884
1928
|
columnsFrom: string[];
|
1885
1929
|
tableTo: string;
|
1886
1930
|
columnsTo: string[];
|
1931
|
+
schemaTo: string;
|
1887
1932
|
}>;
|
1888
1933
|
schema: string;
|
1889
1934
|
compositePrimaryKeys: Record<string, {
|
@@ -1948,6 +1993,7 @@ export declare const pgSchemaInternal: import("zod").ZodObject<{
|
|
1948
1993
|
columnsFrom: string[];
|
1949
1994
|
tableTo: string;
|
1950
1995
|
columnsTo: string[];
|
1996
|
+
schemaTo: string;
|
1951
1997
|
}>;
|
1952
1998
|
schema: string;
|
1953
1999
|
compositePrimaryKeys: Record<string, {
|
@@ -2281,6 +2327,7 @@ export declare const pgSchemaV3: import("zod").ZodObject<import("zod").extendSha
|
|
2281
2327
|
tableFrom: import("zod").ZodString;
|
2282
2328
|
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2283
2329
|
tableTo: import("zod").ZodString;
|
2330
|
+
schemaTo: import("zod").ZodString;
|
2284
2331
|
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2285
2332
|
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
2286
2333
|
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -2292,6 +2339,7 @@ export declare const pgSchemaV3: import("zod").ZodObject<import("zod").extendSha
|
|
2292
2339
|
columnsFrom: string[];
|
2293
2340
|
tableTo: string;
|
2294
2341
|
columnsTo: string[];
|
2342
|
+
schemaTo: string;
|
2295
2343
|
}, {
|
2296
2344
|
onUpdate?: string | undefined;
|
2297
2345
|
onDelete?: string | undefined;
|
@@ -2300,6 +2348,7 @@ export declare const pgSchemaV3: import("zod").ZodObject<import("zod").extendSha
|
|
2300
2348
|
columnsFrom: string[];
|
2301
2349
|
tableTo: string;
|
2302
2350
|
columnsTo: string[];
|
2351
|
+
schemaTo: string;
|
2303
2352
|
}>>;
|
2304
2353
|
}, "strict", import("zod").ZodTypeAny, {
|
2305
2354
|
name: string;
|
@@ -2326,6 +2375,7 @@ export declare const pgSchemaV3: import("zod").ZodObject<import("zod").extendSha
|
|
2326
2375
|
columnsFrom: string[];
|
2327
2376
|
tableTo: string;
|
2328
2377
|
columnsTo: string[];
|
2378
|
+
schemaTo: string;
|
2329
2379
|
}>;
|
2330
2380
|
}, {
|
2331
2381
|
name: string;
|
@@ -2352,6 +2402,7 @@ export declare const pgSchemaV3: import("zod").ZodObject<import("zod").extendSha
|
|
2352
2402
|
columnsFrom: string[];
|
2353
2403
|
tableTo: string;
|
2354
2404
|
columnsTo: string[];
|
2405
|
+
schemaTo: string;
|
2355
2406
|
}>;
|
2356
2407
|
}>>;
|
2357
2408
|
enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
@@ -2397,6 +2448,7 @@ export declare const pgSchemaV3: import("zod").ZodObject<import("zod").extendSha
|
|
2397
2448
|
columnsFrom: string[];
|
2398
2449
|
tableTo: string;
|
2399
2450
|
columnsTo: string[];
|
2451
|
+
schemaTo: string;
|
2400
2452
|
}>;
|
2401
2453
|
}>;
|
2402
2454
|
enums: Record<string, {
|
@@ -2433,6 +2485,7 @@ export declare const pgSchemaV3: import("zod").ZodObject<import("zod").extendSha
|
|
2433
2485
|
columnsFrom: string[];
|
2434
2486
|
tableTo: string;
|
2435
2487
|
columnsTo: string[];
|
2488
|
+
schemaTo: string;
|
2436
2489
|
}>;
|
2437
2490
|
}>;
|
2438
2491
|
enums: Record<string, {
|
@@ -2492,6 +2545,7 @@ export declare const pgSchemaV4: import("zod").ZodObject<import("zod").extendSha
|
|
2492
2545
|
tableFrom: import("zod").ZodString;
|
2493
2546
|
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2494
2547
|
tableTo: import("zod").ZodString;
|
2548
|
+
schemaTo: import("zod").ZodString;
|
2495
2549
|
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2496
2550
|
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
2497
2551
|
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -2503,6 +2557,7 @@ export declare const pgSchemaV4: import("zod").ZodObject<import("zod").extendSha
|
|
2503
2557
|
columnsFrom: string[];
|
2504
2558
|
tableTo: string;
|
2505
2559
|
columnsTo: string[];
|
2560
|
+
schemaTo: string;
|
2506
2561
|
}, {
|
2507
2562
|
onUpdate?: string | undefined;
|
2508
2563
|
onDelete?: string | undefined;
|
@@ -2511,6 +2566,7 @@ export declare const pgSchemaV4: import("zod").ZodObject<import("zod").extendSha
|
|
2511
2566
|
columnsFrom: string[];
|
2512
2567
|
tableTo: string;
|
2513
2568
|
columnsTo: string[];
|
2569
|
+
schemaTo: string;
|
2514
2570
|
}>>;
|
2515
2571
|
}, "strict", import("zod").ZodTypeAny, {
|
2516
2572
|
name: string;
|
@@ -2537,6 +2593,7 @@ export declare const pgSchemaV4: import("zod").ZodObject<import("zod").extendSha
|
|
2537
2593
|
columnsFrom: string[];
|
2538
2594
|
tableTo: string;
|
2539
2595
|
columnsTo: string[];
|
2596
|
+
schemaTo: string;
|
2540
2597
|
}>;
|
2541
2598
|
schema: string;
|
2542
2599
|
}, {
|
@@ -2564,6 +2621,7 @@ export declare const pgSchemaV4: import("zod").ZodObject<import("zod").extendSha
|
|
2564
2621
|
columnsFrom: string[];
|
2565
2622
|
tableTo: string;
|
2566
2623
|
columnsTo: string[];
|
2624
|
+
schemaTo: string;
|
2567
2625
|
}>;
|
2568
2626
|
schema: string;
|
2569
2627
|
}>>;
|
@@ -2611,6 +2669,7 @@ export declare const pgSchemaV4: import("zod").ZodObject<import("zod").extendSha
|
|
2611
2669
|
columnsFrom: string[];
|
2612
2670
|
tableTo: string;
|
2613
2671
|
columnsTo: string[];
|
2672
|
+
schemaTo: string;
|
2614
2673
|
}>;
|
2615
2674
|
schema: string;
|
2616
2675
|
}>;
|
@@ -2649,6 +2708,7 @@ export declare const pgSchemaV4: import("zod").ZodObject<import("zod").extendSha
|
|
2649
2708
|
columnsFrom: string[];
|
2650
2709
|
tableTo: string;
|
2651
2710
|
columnsTo: string[];
|
2711
|
+
schemaTo: string;
|
2652
2712
|
}>;
|
2653
2713
|
schema: string;
|
2654
2714
|
}>;
|
@@ -2710,6 +2770,7 @@ export declare const pgSchema: import("zod").ZodObject<import("zod").extendShape
|
|
2710
2770
|
tableFrom: import("zod").ZodString;
|
2711
2771
|
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2712
2772
|
tableTo: import("zod").ZodString;
|
2773
|
+
schemaTo: import("zod").ZodString;
|
2713
2774
|
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2714
2775
|
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
2715
2776
|
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -2721,6 +2782,7 @@ export declare const pgSchema: import("zod").ZodObject<import("zod").extendShape
|
|
2721
2782
|
columnsFrom: string[];
|
2722
2783
|
tableTo: string;
|
2723
2784
|
columnsTo: string[];
|
2785
|
+
schemaTo: string;
|
2724
2786
|
}, {
|
2725
2787
|
onUpdate?: string | undefined;
|
2726
2788
|
onDelete?: string | undefined;
|
@@ -2729,6 +2791,7 @@ export declare const pgSchema: import("zod").ZodObject<import("zod").extendShape
|
|
2729
2791
|
columnsFrom: string[];
|
2730
2792
|
tableTo: string;
|
2731
2793
|
columnsTo: string[];
|
2794
|
+
schemaTo: string;
|
2732
2795
|
}>>;
|
2733
2796
|
compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2734
2797
|
name: import("zod").ZodString;
|
@@ -2778,6 +2841,7 @@ export declare const pgSchema: import("zod").ZodObject<import("zod").extendShape
|
|
2778
2841
|
columnsFrom: string[];
|
2779
2842
|
tableTo: string;
|
2780
2843
|
columnsTo: string[];
|
2844
|
+
schemaTo: string;
|
2781
2845
|
}>;
|
2782
2846
|
schema: string;
|
2783
2847
|
compositePrimaryKeys: Record<string, {
|
@@ -2819,6 +2883,7 @@ export declare const pgSchema: import("zod").ZodObject<import("zod").extendShape
|
|
2819
2883
|
columnsFrom: string[];
|
2820
2884
|
tableTo: string;
|
2821
2885
|
columnsTo: string[];
|
2886
|
+
schemaTo: string;
|
2822
2887
|
}>;
|
2823
2888
|
schema: string;
|
2824
2889
|
compositePrimaryKeys: Record<string, {
|
@@ -2937,6 +3002,7 @@ export declare const pgSchema: import("zod").ZodObject<import("zod").extendShape
|
|
2937
3002
|
columnsFrom: string[];
|
2938
3003
|
tableTo: string;
|
2939
3004
|
columnsTo: string[];
|
3005
|
+
schemaTo: string;
|
2940
3006
|
}>;
|
2941
3007
|
schema: string;
|
2942
3008
|
compositePrimaryKeys: Record<string, {
|
@@ -3003,6 +3069,7 @@ export declare const pgSchema: import("zod").ZodObject<import("zod").extendShape
|
|
3003
3069
|
columnsFrom: string[];
|
3004
3070
|
tableTo: string;
|
3005
3071
|
columnsTo: string[];
|
3072
|
+
schemaTo: string;
|
3006
3073
|
}>;
|
3007
3074
|
schema: string;
|
3008
3075
|
compositePrimaryKeys: Record<string, {
|
@@ -3429,6 +3496,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
|
|
3429
3496
|
tableFrom: import("zod").ZodString;
|
3430
3497
|
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
3431
3498
|
tableTo: import("zod").ZodString;
|
3499
|
+
schemaTo: import("zod").ZodString;
|
3432
3500
|
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
3433
3501
|
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
3434
3502
|
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -3440,6 +3508,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
|
|
3440
3508
|
columnsFrom: string[];
|
3441
3509
|
tableTo: string;
|
3442
3510
|
columnsTo: string[];
|
3511
|
+
schemaTo: string;
|
3443
3512
|
}, {
|
3444
3513
|
onUpdate?: string | undefined;
|
3445
3514
|
onDelete?: string | undefined;
|
@@ -3448,6 +3517,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
|
|
3448
3517
|
columnsFrom: string[];
|
3449
3518
|
tableTo: string;
|
3450
3519
|
columnsTo: string[];
|
3520
|
+
schemaTo: string;
|
3451
3521
|
}>>;
|
3452
3522
|
}, "strict", import("zod").ZodTypeAny, {
|
3453
3523
|
name: string;
|
@@ -3474,6 +3544,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
|
|
3474
3544
|
columnsFrom: string[];
|
3475
3545
|
tableTo: string;
|
3476
3546
|
columnsTo: string[];
|
3547
|
+
schemaTo: string;
|
3477
3548
|
}>;
|
3478
3549
|
}, {
|
3479
3550
|
name: string;
|
@@ -3500,6 +3571,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
|
|
3500
3571
|
columnsFrom: string[];
|
3501
3572
|
tableTo: string;
|
3502
3573
|
columnsTo: string[];
|
3574
|
+
schemaTo: string;
|
3503
3575
|
}>;
|
3504
3576
|
}>>;
|
3505
3577
|
enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
@@ -3545,6 +3617,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
|
|
3545
3617
|
columnsFrom: string[];
|
3546
3618
|
tableTo: string;
|
3547
3619
|
columnsTo: string[];
|
3620
|
+
schemaTo: string;
|
3548
3621
|
}>;
|
3549
3622
|
}>;
|
3550
3623
|
enums: Record<string, {
|
@@ -3581,6 +3654,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
|
|
3581
3654
|
columnsFrom: string[];
|
3582
3655
|
tableTo: string;
|
3583
3656
|
columnsTo: string[];
|
3657
|
+
schemaTo: string;
|
3584
3658
|
}>;
|
3585
3659
|
}>;
|
3586
3660
|
enums: Record<string, {
|
@@ -3639,6 +3713,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
|
|
3639
3713
|
tableFrom: import("zod").ZodString;
|
3640
3714
|
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
3641
3715
|
tableTo: import("zod").ZodString;
|
3716
|
+
schemaTo: import("zod").ZodString;
|
3642
3717
|
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
3643
3718
|
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
3644
3719
|
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -3650,6 +3725,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
|
|
3650
3725
|
columnsFrom: string[];
|
3651
3726
|
tableTo: string;
|
3652
3727
|
columnsTo: string[];
|
3728
|
+
schemaTo: string;
|
3653
3729
|
}, {
|
3654
3730
|
onUpdate?: string | undefined;
|
3655
3731
|
onDelete?: string | undefined;
|
@@ -3658,6 +3734,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
|
|
3658
3734
|
columnsFrom: string[];
|
3659
3735
|
tableTo: string;
|
3660
3736
|
columnsTo: string[];
|
3737
|
+
schemaTo: string;
|
3661
3738
|
}>>;
|
3662
3739
|
}, "strict", import("zod").ZodTypeAny, {
|
3663
3740
|
name: string;
|
@@ -3684,6 +3761,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
|
|
3684
3761
|
columnsFrom: string[];
|
3685
3762
|
tableTo: string;
|
3686
3763
|
columnsTo: string[];
|
3764
|
+
schemaTo: string;
|
3687
3765
|
}>;
|
3688
3766
|
schema: string;
|
3689
3767
|
}, {
|
@@ -3711,6 +3789,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
|
|
3711
3789
|
columnsFrom: string[];
|
3712
3790
|
tableTo: string;
|
3713
3791
|
columnsTo: string[];
|
3792
|
+
schemaTo: string;
|
3714
3793
|
}>;
|
3715
3794
|
schema: string;
|
3716
3795
|
}>>;
|
@@ -3758,6 +3837,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
|
|
3758
3837
|
columnsFrom: string[];
|
3759
3838
|
tableTo: string;
|
3760
3839
|
columnsTo: string[];
|
3840
|
+
schemaTo: string;
|
3761
3841
|
}>;
|
3762
3842
|
schema: string;
|
3763
3843
|
}>;
|
@@ -3796,6 +3876,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
|
|
3796
3876
|
columnsFrom: string[];
|
3797
3877
|
tableTo: string;
|
3798
3878
|
columnsTo: string[];
|
3879
|
+
schemaTo: string;
|
3799
3880
|
}>;
|
3800
3881
|
schema: string;
|
3801
3882
|
}>;
|
@@ -3856,6 +3937,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
|
|
3856
3937
|
tableFrom: import("zod").ZodString;
|
3857
3938
|
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
3858
3939
|
tableTo: import("zod").ZodString;
|
3940
|
+
schemaTo: import("zod").ZodString;
|
3859
3941
|
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
3860
3942
|
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
3861
3943
|
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -3867,6 +3949,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
|
|
3867
3949
|
columnsFrom: string[];
|
3868
3950
|
tableTo: string;
|
3869
3951
|
columnsTo: string[];
|
3952
|
+
schemaTo: string;
|
3870
3953
|
}, {
|
3871
3954
|
onUpdate?: string | undefined;
|
3872
3955
|
onDelete?: string | undefined;
|
@@ -3875,6 +3958,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
|
|
3875
3958
|
columnsFrom: string[];
|
3876
3959
|
tableTo: string;
|
3877
3960
|
columnsTo: string[];
|
3961
|
+
schemaTo: string;
|
3878
3962
|
}>>;
|
3879
3963
|
compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
3880
3964
|
name: import("zod").ZodString;
|
@@ -3924,6 +4008,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
|
|
3924
4008
|
columnsFrom: string[];
|
3925
4009
|
tableTo: string;
|
3926
4010
|
columnsTo: string[];
|
4011
|
+
schemaTo: string;
|
3927
4012
|
}>;
|
3928
4013
|
schema: string;
|
3929
4014
|
compositePrimaryKeys: Record<string, {
|
@@ -3965,6 +4050,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
|
|
3965
4050
|
columnsFrom: string[];
|
3966
4051
|
tableTo: string;
|
3967
4052
|
columnsTo: string[];
|
4053
|
+
schemaTo: string;
|
3968
4054
|
}>;
|
3969
4055
|
schema: string;
|
3970
4056
|
compositePrimaryKeys: Record<string, {
|
@@ -4083,6 +4169,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
|
|
4083
4169
|
columnsFrom: string[];
|
4084
4170
|
tableTo: string;
|
4085
4171
|
columnsTo: string[];
|
4172
|
+
schemaTo: string;
|
4086
4173
|
}>;
|
4087
4174
|
schema: string;
|
4088
4175
|
compositePrimaryKeys: Record<string, {
|
@@ -4149,6 +4236,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
|
|
4149
4236
|
columnsFrom: string[];
|
4150
4237
|
tableTo: string;
|
4151
4238
|
columnsTo: string[];
|
4239
|
+
schemaTo: string;
|
4152
4240
|
}>;
|
4153
4241
|
schema: string;
|
4154
4242
|
compositePrimaryKeys: Record<string, {
|
@@ -4218,6 +4306,7 @@ export declare const dryPg: {
|
|
4218
4306
|
columnsFrom: string[];
|
4219
4307
|
tableTo: string;
|
4220
4308
|
columnsTo: string[];
|
4309
|
+
schemaTo: string;
|
4221
4310
|
}>;
|
4222
4311
|
schema: string;
|
4223
4312
|
compositePrimaryKeys: Record<string, {
|