drizzle-kit 0.20.14-d8f1e46 → 0.20.14-e8e7ed6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. package/bin.cjs +21878 -21519
  2. package/cli/commands/migrate.d.ts +121 -97
  3. package/cli/commands/mysqlIntrospect.d.ts +8 -14
  4. package/cli/commands/mysqlPushUtils.d.ts +2 -2
  5. package/cli/commands/pgConnect.d.ts +1 -1
  6. package/cli/commands/pgIntrospect.d.ts +18 -11
  7. package/cli/commands/pgPushUtils.d.ts +2 -2
  8. package/cli/commands/sqliteIntrospect.d.ts +9 -9
  9. package/cli/commands/sqlitePushUtils.d.ts +3 -3
  10. package/cli/commands/utils.d.ts +15 -259
  11. package/cli/validations/cli.d.ts +107 -0
  12. package/cli/validations/common.d.ts +205 -7
  13. package/cli/validations/mysql.d.ts +6 -1
  14. package/cli/validations/pg.d.ts +6 -1
  15. package/cli/validations/sqlite.d.ts +382 -0
  16. package/cli/views.d.ts +7 -5
  17. package/global.d.ts +3 -1
  18. package/index.d.mts +8 -6
  19. package/index.d.ts +8 -6
  20. package/index.js +1 -0
  21. package/introspect-mysql.d.ts +1 -1
  22. package/introspect-pg.d.ts +5 -2
  23. package/introspect-sqlite.d.ts +1 -1
  24. package/jsonDiffer.d.ts +14 -29
  25. package/jsonStatements.d.ts +38 -11
  26. package/package.json +18 -51
  27. package/payload.d.mts +18 -988
  28. package/payload.d.ts +18 -988
  29. package/payload.js +18030 -7175
  30. package/payload.mjs +9020 -9305
  31. package/schemaValidator.d.ts +73 -70
  32. package/serializer/mysqlImports.d.ts +3 -7
  33. package/serializer/mysqlSchema.d.ts +1624 -493
  34. package/serializer/mysqlSerializer.d.ts +4 -4
  35. package/serializer/pgImports.d.ts +2 -2
  36. package/serializer/pgSchema.d.ts +1260 -801
  37. package/serializer/sqliteImports.d.ts +2 -4
  38. package/serializer/sqliteSchema.d.ts +144 -570
  39. package/serializer/sqliteSerializer.d.ts +3 -3
  40. package/snapshotsDiffer.d.ts +1908 -1050
  41. package/utils/words.d.ts +1 -1
  42. package/utils-studio.js +4147 -83
  43. package/utils-studio.mjs +4147 -83
  44. package/utils.d.ts +6 -140
  45. package/utils.js +3903 -7064
  46. package/utils.mjs +3982 -7143
  47. package/cli/commands/mysqlUp.d.ts +0 -4
  48. package/cli/commands/pgUp.d.ts +0 -4
  49. package/cli/commands/sqliteUtils.d.ts +0 -162
  50. package/cli/commands/upFolders.d.ts +0 -27
@@ -1,13 +1,16 @@
1
1
  import { TypeOf } from "zod";
2
2
  declare const enumSchema: import("zod").ZodObject<{
3
3
  name: import("zod").ZodString;
4
- values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
4
+ schema: import("zod").ZodString;
5
+ values: import("zod").ZodArray<import("zod").ZodString, "many">;
5
6
  }, "strict", import("zod").ZodTypeAny, {
6
7
  name: string;
7
- values: Record<string, string>;
8
+ values: string[];
9
+ schema: string;
8
10
  }, {
9
11
  name: string;
10
- values: Record<string, string>;
12
+ values: string[];
13
+ schema: string;
11
14
  }>;
12
15
  export declare const pgSchemaV2: import("zod").ZodObject<{
13
16
  version: import("zod").ZodLiteral<"2">;
@@ -104,7 +107,6 @@ export declare const pgSchemaV2: import("zod").ZodObject<{
104
107
  values: Record<string, string>;
105
108
  }>>;
106
109
  }, "strict", import("zod").ZodTypeAny, {
107
- version: "2";
108
110
  tables: Record<string, {
109
111
  name: string;
110
112
  columns: Record<string, {
@@ -123,12 +125,12 @@ export declare const pgSchemaV2: import("zod").ZodObject<{
123
125
  isUnique: boolean;
124
126
  }>;
125
127
  }>;
128
+ version: "2";
126
129
  enums: Record<string, {
127
130
  name: string;
128
131
  values: Record<string, string>;
129
132
  }>;
130
133
  }, {
131
- version: "2";
132
134
  tables: Record<string, {
133
135
  name: string;
134
136
  columns: Record<string, {
@@ -147,6 +149,7 @@ export declare const pgSchemaV2: import("zod").ZodObject<{
147
149
  isUnique: boolean;
148
150
  }>;
149
151
  }>;
152
+ version: "2";
150
153
  enums: Record<string, {
151
154
  name: string;
152
155
  values: Record<string, string>;
@@ -289,7 +292,6 @@ export declare const pgSchemaV1: import("zod").ZodObject<{
289
292
  values: Record<string, string>;
290
293
  }>>;
291
294
  }, "strict", import("zod").ZodTypeAny, {
292
- version: "1";
293
295
  tables: Record<string, {
294
296
  name: string;
295
297
  columns: Record<string, {
@@ -314,12 +316,12 @@ export declare const pgSchemaV1: import("zod").ZodObject<{
314
316
  isUnique: boolean;
315
317
  }>;
316
318
  }>;
319
+ version: "1";
317
320
  enums: Record<string, {
318
321
  name: string;
319
322
  values: Record<string, string>;
320
323
  }>;
321
324
  }, {
322
- version: "1";
323
325
  tables: Record<string, {
324
326
  name: string;
325
327
  columns: Record<string, {
@@ -344,6 +346,7 @@ export declare const pgSchemaV1: import("zod").ZodObject<{
344
346
  isUnique: boolean;
345
347
  }>;
346
348
  }>;
349
+ version: "1";
347
350
  enums: Record<string, {
348
351
  name: string;
349
352
  values: Record<string, string>;
@@ -393,6 +396,7 @@ declare const fk: import("zod").ZodObject<{
393
396
  declare const column: import("zod").ZodObject<{
394
397
  name: import("zod").ZodString;
395
398
  type: import("zod").ZodString;
399
+ typeSchema: import("zod").ZodOptional<import("zod").ZodString>;
396
400
  primaryKey: import("zod").ZodBoolean;
397
401
  notNull: import("zod").ZodBoolean;
398
402
  default: import("zod").ZodOptional<import("zod").ZodAny>;
@@ -402,6 +406,7 @@ declare const column: import("zod").ZodObject<{
402
406
  }, "strict", import("zod").ZodTypeAny, {
403
407
  isUnique?: any;
404
408
  default?: any;
409
+ typeSchema?: string | undefined;
405
410
  uniqueName?: string | undefined;
406
411
  nullsNotDistinct?: boolean | undefined;
407
412
  name: string;
@@ -411,6 +416,7 @@ declare const column: import("zod").ZodObject<{
411
416
  }, {
412
417
  isUnique?: any;
413
418
  default?: any;
419
+ typeSchema?: string | undefined;
414
420
  uniqueName?: string | undefined;
415
421
  nullsNotDistinct?: boolean | undefined;
416
422
  name: string;
@@ -423,6 +429,7 @@ declare const tableV3: import("zod").ZodObject<{
423
429
  columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
424
430
  name: import("zod").ZodString;
425
431
  type: import("zod").ZodString;
432
+ typeSchema: import("zod").ZodOptional<import("zod").ZodString>;
426
433
  primaryKey: import("zod").ZodBoolean;
427
434
  notNull: import("zod").ZodBoolean;
428
435
  default: import("zod").ZodOptional<import("zod").ZodAny>;
@@ -432,6 +439,7 @@ declare const tableV3: import("zod").ZodObject<{
432
439
  }, "strict", import("zod").ZodTypeAny, {
433
440
  isUnique?: any;
434
441
  default?: any;
442
+ typeSchema?: string | undefined;
435
443
  uniqueName?: string | undefined;
436
444
  nullsNotDistinct?: boolean | undefined;
437
445
  name: string;
@@ -441,6 +449,7 @@ declare const tableV3: import("zod").ZodObject<{
441
449
  }, {
442
450
  isUnique?: any;
443
451
  default?: any;
452
+ typeSchema?: string | undefined;
444
453
  uniqueName?: string | undefined;
445
454
  nullsNotDistinct?: boolean | undefined;
446
455
  name: string;
@@ -494,6 +503,7 @@ declare const tableV3: import("zod").ZodObject<{
494
503
  columns: Record<string, {
495
504
  isUnique?: any;
496
505
  default?: any;
506
+ typeSchema?: string | undefined;
497
507
  uniqueName?: string | undefined;
498
508
  nullsNotDistinct?: boolean | undefined;
499
509
  name: string;
@@ -521,6 +531,7 @@ declare const tableV3: import("zod").ZodObject<{
521
531
  columns: Record<string, {
522
532
  isUnique?: any;
523
533
  default?: any;
534
+ typeSchema?: string | undefined;
524
535
  uniqueName?: string | undefined;
525
536
  nullsNotDistinct?: boolean | undefined;
526
537
  name: string;
@@ -573,6 +584,7 @@ declare const tableV4: import("zod").ZodObject<{
573
584
  columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
574
585
  name: import("zod").ZodString;
575
586
  type: import("zod").ZodString;
587
+ typeSchema: import("zod").ZodOptional<import("zod").ZodString>;
576
588
  primaryKey: import("zod").ZodBoolean;
577
589
  notNull: import("zod").ZodBoolean;
578
590
  default: import("zod").ZodOptional<import("zod").ZodAny>;
@@ -582,6 +594,7 @@ declare const tableV4: import("zod").ZodObject<{
582
594
  }, "strict", import("zod").ZodTypeAny, {
583
595
  isUnique?: any;
584
596
  default?: any;
597
+ typeSchema?: string | undefined;
585
598
  uniqueName?: string | undefined;
586
599
  nullsNotDistinct?: boolean | undefined;
587
600
  name: string;
@@ -591,6 +604,7 @@ declare const tableV4: import("zod").ZodObject<{
591
604
  }, {
592
605
  isUnique?: any;
593
606
  default?: any;
607
+ typeSchema?: string | undefined;
594
608
  uniqueName?: string | undefined;
595
609
  nullsNotDistinct?: boolean | undefined;
596
610
  name: string;
@@ -644,6 +658,7 @@ declare const tableV4: import("zod").ZodObject<{
644
658
  columns: Record<string, {
645
659
  isUnique?: any;
646
660
  default?: any;
661
+ typeSchema?: string | undefined;
647
662
  uniqueName?: string | undefined;
648
663
  nullsNotDistinct?: boolean | undefined;
649
664
  name: string;
@@ -672,6 +687,7 @@ declare const tableV4: import("zod").ZodObject<{
672
687
  columns: Record<string, {
673
688
  isUnique?: any;
674
689
  default?: any;
690
+ typeSchema?: string | undefined;
675
691
  uniqueName?: string | undefined;
676
692
  nullsNotDistinct?: boolean | undefined;
677
693
  name: string;
@@ -702,6 +718,7 @@ declare const table: import("zod").ZodObject<{
702
718
  columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
703
719
  name: import("zod").ZodString;
704
720
  type: import("zod").ZodString;
721
+ typeSchema: import("zod").ZodOptional<import("zod").ZodString>;
705
722
  primaryKey: import("zod").ZodBoolean;
706
723
  notNull: import("zod").ZodBoolean;
707
724
  default: import("zod").ZodOptional<import("zod").ZodAny>;
@@ -711,6 +728,7 @@ declare const table: import("zod").ZodObject<{
711
728
  }, "strict", import("zod").ZodTypeAny, {
712
729
  isUnique?: any;
713
730
  default?: any;
731
+ typeSchema?: string | undefined;
714
732
  uniqueName?: string | undefined;
715
733
  nullsNotDistinct?: boolean | undefined;
716
734
  name: string;
@@ -720,6 +738,7 @@ declare const table: import("zod").ZodObject<{
720
738
  }, {
721
739
  isUnique?: any;
722
740
  default?: any;
741
+ typeSchema?: string | undefined;
723
742
  uniqueName?: string | undefined;
724
743
  nullsNotDistinct?: boolean | undefined;
725
744
  name: string;
@@ -796,6 +815,7 @@ declare const table: import("zod").ZodObject<{
796
815
  columns: Record<string, {
797
816
  isUnique?: any;
798
817
  default?: any;
818
+ typeSchema?: string | undefined;
799
819
  uniqueName?: string | undefined;
800
820
  nullsNotDistinct?: boolean | undefined;
801
821
  name: string;
@@ -838,6 +858,7 @@ declare const table: import("zod").ZodObject<{
838
858
  columns: Record<string, {
839
859
  isUnique?: any;
840
860
  default?: any;
861
+ typeSchema?: string | undefined;
841
862
  uniqueName?: string | undefined;
842
863
  nullsNotDistinct?: boolean | undefined;
843
864
  name: string;
@@ -866,6 +887,51 @@ declare const table: import("zod").ZodObject<{
866
887
  columns: string[];
867
888
  }>;
868
889
  }>;
890
+ export declare const kitInternals: import("zod").ZodOptional<import("zod").ZodObject<{
891
+ tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodObject<{
892
+ columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodObject<{
893
+ isArray: import("zod").ZodOptional<import("zod").ZodBoolean>;
894
+ dimensions: import("zod").ZodOptional<import("zod").ZodNumber>;
895
+ rawType: import("zod").ZodOptional<import("zod").ZodString>;
896
+ }, "strip", import("zod").ZodTypeAny, {
897
+ isArray?: boolean | undefined;
898
+ dimensions?: number | undefined;
899
+ rawType?: string | undefined;
900
+ }, {
901
+ isArray?: boolean | undefined;
902
+ dimensions?: number | undefined;
903
+ rawType?: string | undefined;
904
+ }>>>;
905
+ }, "strip", import("zod").ZodTypeAny, {
906
+ columns: Record<string, {
907
+ isArray?: boolean | undefined;
908
+ dimensions?: number | undefined;
909
+ rawType?: string | undefined;
910
+ } | undefined>;
911
+ }, {
912
+ columns: Record<string, {
913
+ isArray?: boolean | undefined;
914
+ dimensions?: number | undefined;
915
+ rawType?: string | undefined;
916
+ } | undefined>;
917
+ }>>>;
918
+ }, "strip", import("zod").ZodTypeAny, {
919
+ tables: Record<string, {
920
+ columns: Record<string, {
921
+ isArray?: boolean | undefined;
922
+ dimensions?: number | undefined;
923
+ rawType?: string | undefined;
924
+ } | undefined>;
925
+ } | undefined>;
926
+ }, {
927
+ tables: Record<string, {
928
+ columns: Record<string, {
929
+ isArray?: boolean | undefined;
930
+ dimensions?: number | undefined;
931
+ rawType?: string | undefined;
932
+ } | undefined>;
933
+ } | undefined>;
934
+ }>>;
869
935
  export declare const pgSchemaInternalV3: import("zod").ZodObject<{
870
936
  version: import("zod").ZodLiteral<"3">;
871
937
  dialect: import("zod").ZodLiteral<"pg">;
@@ -874,6 +940,7 @@ export declare const pgSchemaInternalV3: import("zod").ZodObject<{
874
940
  columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
875
941
  name: import("zod").ZodString;
876
942
  type: import("zod").ZodString;
943
+ typeSchema: import("zod").ZodOptional<import("zod").ZodString>;
877
944
  primaryKey: import("zod").ZodBoolean;
878
945
  notNull: import("zod").ZodBoolean;
879
946
  default: import("zod").ZodOptional<import("zod").ZodAny>;
@@ -883,6 +950,7 @@ export declare const pgSchemaInternalV3: import("zod").ZodObject<{
883
950
  }, "strict", import("zod").ZodTypeAny, {
884
951
  isUnique?: any;
885
952
  default?: any;
953
+ typeSchema?: string | undefined;
886
954
  uniqueName?: string | undefined;
887
955
  nullsNotDistinct?: boolean | undefined;
888
956
  name: string;
@@ -892,6 +960,7 @@ export declare const pgSchemaInternalV3: import("zod").ZodObject<{
892
960
  }, {
893
961
  isUnique?: any;
894
962
  default?: any;
963
+ typeSchema?: string | undefined;
895
964
  uniqueName?: string | undefined;
896
965
  nullsNotDistinct?: boolean | undefined;
897
966
  name: string;
@@ -945,6 +1014,7 @@ export declare const pgSchemaInternalV3: import("zod").ZodObject<{
945
1014
  columns: Record<string, {
946
1015
  isUnique?: any;
947
1016
  default?: any;
1017
+ typeSchema?: string | undefined;
948
1018
  uniqueName?: string | undefined;
949
1019
  nullsNotDistinct?: boolean | undefined;
950
1020
  name: string;
@@ -972,6 +1042,7 @@ export declare const pgSchemaInternalV3: import("zod").ZodObject<{
972
1042
  columns: Record<string, {
973
1043
  isUnique?: any;
974
1044
  default?: any;
1045
+ typeSchema?: string | undefined;
975
1046
  uniqueName?: string | undefined;
976
1047
  nullsNotDistinct?: boolean | undefined;
977
1048
  name: string;
@@ -1006,13 +1077,12 @@ export declare const pgSchemaInternalV3: import("zod").ZodObject<{
1006
1077
  values: Record<string, string>;
1007
1078
  }>>;
1008
1079
  }, "strict", import("zod").ZodTypeAny, {
1009
- version: "3";
1010
- dialect: "pg";
1011
1080
  tables: Record<string, {
1012
1081
  name: string;
1013
1082
  columns: Record<string, {
1014
1083
  isUnique?: any;
1015
1084
  default?: any;
1085
+ typeSchema?: string | undefined;
1016
1086
  uniqueName?: string | undefined;
1017
1087
  nullsNotDistinct?: boolean | undefined;
1018
1088
  name: string;
@@ -1036,18 +1106,19 @@ export declare const pgSchemaInternalV3: import("zod").ZodObject<{
1036
1106
  columnsTo: string[];
1037
1107
  }>;
1038
1108
  }>;
1109
+ version: "3";
1110
+ dialect: "pg";
1039
1111
  enums: Record<string, {
1040
1112
  name: string;
1041
1113
  values: Record<string, string>;
1042
1114
  }>;
1043
1115
  }, {
1044
- version: "3";
1045
- dialect: "pg";
1046
1116
  tables: Record<string, {
1047
1117
  name: string;
1048
1118
  columns: Record<string, {
1049
1119
  isUnique?: any;
1050
1120
  default?: any;
1121
+ typeSchema?: string | undefined;
1051
1122
  uniqueName?: string | undefined;
1052
1123
  nullsNotDistinct?: boolean | undefined;
1053
1124
  name: string;
@@ -1071,6 +1142,8 @@ export declare const pgSchemaInternalV3: import("zod").ZodObject<{
1071
1142
  columnsTo: string[];
1072
1143
  }>;
1073
1144
  }>;
1145
+ version: "3";
1146
+ dialect: "pg";
1074
1147
  enums: Record<string, {
1075
1148
  name: string;
1076
1149
  values: Record<string, string>;
@@ -1085,6 +1158,7 @@ export declare const pgSchemaInternalV4: import("zod").ZodObject<{
1085
1158
  columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1086
1159
  name: import("zod").ZodString;
1087
1160
  type: import("zod").ZodString;
1161
+ typeSchema: import("zod").ZodOptional<import("zod").ZodString>;
1088
1162
  primaryKey: import("zod").ZodBoolean;
1089
1163
  notNull: import("zod").ZodBoolean;
1090
1164
  default: import("zod").ZodOptional<import("zod").ZodAny>;
@@ -1094,6 +1168,7 @@ export declare const pgSchemaInternalV4: import("zod").ZodObject<{
1094
1168
  }, "strict", import("zod").ZodTypeAny, {
1095
1169
  isUnique?: any;
1096
1170
  default?: any;
1171
+ typeSchema?: string | undefined;
1097
1172
  uniqueName?: string | undefined;
1098
1173
  nullsNotDistinct?: boolean | undefined;
1099
1174
  name: string;
@@ -1103,6 +1178,7 @@ export declare const pgSchemaInternalV4: import("zod").ZodObject<{
1103
1178
  }, {
1104
1179
  isUnique?: any;
1105
1180
  default?: any;
1181
+ typeSchema?: string | undefined;
1106
1182
  uniqueName?: string | undefined;
1107
1183
  nullsNotDistinct?: boolean | undefined;
1108
1184
  name: string;
@@ -1156,6 +1232,7 @@ export declare const pgSchemaInternalV4: import("zod").ZodObject<{
1156
1232
  columns: Record<string, {
1157
1233
  isUnique?: any;
1158
1234
  default?: any;
1235
+ typeSchema?: string | undefined;
1159
1236
  uniqueName?: string | undefined;
1160
1237
  nullsNotDistinct?: boolean | undefined;
1161
1238
  name: string;
@@ -1184,6 +1261,7 @@ export declare const pgSchemaInternalV4: import("zod").ZodObject<{
1184
1261
  columns: Record<string, {
1185
1262
  isUnique?: any;
1186
1263
  default?: any;
1264
+ typeSchema?: string | undefined;
1187
1265
  uniqueName?: string | undefined;
1188
1266
  nullsNotDistinct?: boolean | undefined;
1189
1267
  name: string;
@@ -1220,13 +1298,12 @@ export declare const pgSchemaInternalV4: import("zod").ZodObject<{
1220
1298
  }>>;
1221
1299
  schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1222
1300
  }, "strict", import("zod").ZodTypeAny, {
1223
- version: "4";
1224
- dialect: "pg";
1225
1301
  tables: Record<string, {
1226
1302
  name: string;
1227
1303
  columns: Record<string, {
1228
1304
  isUnique?: any;
1229
1305
  default?: any;
1306
+ typeSchema?: string | undefined;
1230
1307
  uniqueName?: string | undefined;
1231
1308
  nullsNotDistinct?: boolean | undefined;
1232
1309
  name: string;
@@ -1251,19 +1328,20 @@ export declare const pgSchemaInternalV4: import("zod").ZodObject<{
1251
1328
  }>;
1252
1329
  schema: string;
1253
1330
  }>;
1331
+ version: "4";
1332
+ dialect: "pg";
1254
1333
  schemas: Record<string, string>;
1255
1334
  enums: Record<string, {
1256
1335
  name: string;
1257
1336
  values: Record<string, string>;
1258
1337
  }>;
1259
1338
  }, {
1260
- version: "4";
1261
- dialect: "pg";
1262
1339
  tables: Record<string, {
1263
1340
  name: string;
1264
1341
  columns: Record<string, {
1265
1342
  isUnique?: any;
1266
1343
  default?: any;
1344
+ typeSchema?: string | undefined;
1267
1345
  uniqueName?: string | undefined;
1268
1346
  nullsNotDistinct?: boolean | undefined;
1269
1347
  name: string;
@@ -1288,21 +1366,24 @@ export declare const pgSchemaInternalV4: import("zod").ZodObject<{
1288
1366
  }>;
1289
1367
  schema: string;
1290
1368
  }>;
1369
+ version: "4";
1370
+ dialect: "pg";
1291
1371
  schemas: Record<string, string>;
1292
1372
  enums: Record<string, {
1293
1373
  name: string;
1294
1374
  values: Record<string, string>;
1295
1375
  }>;
1296
1376
  }>;
1297
- export declare const pgSchemaExternal: import("zod").ZodObject<{
1377
+ export declare const pgSchemaInternalV5: import("zod").ZodObject<{
1298
1378
  version: import("zod").ZodLiteral<"5">;
1299
1379
  dialect: import("zod").ZodLiteral<"pg">;
1300
- tables: import("zod").ZodArray<import("zod").ZodObject<{
1380
+ tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1301
1381
  name: import("zod").ZodString;
1302
1382
  schema: import("zod").ZodString;
1303
1383
  columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1304
1384
  name: import("zod").ZodString;
1305
1385
  type: import("zod").ZodString;
1386
+ typeSchema: import("zod").ZodOptional<import("zod").ZodString>;
1306
1387
  primaryKey: import("zod").ZodBoolean;
1307
1388
  notNull: import("zod").ZodBoolean;
1308
1389
  default: import("zod").ZodOptional<import("zod").ZodAny>;
@@ -1312,6 +1393,7 @@ export declare const pgSchemaExternal: import("zod").ZodObject<{
1312
1393
  }, "strict", import("zod").ZodTypeAny, {
1313
1394
  isUnique?: any;
1314
1395
  default?: any;
1396
+ typeSchema?: string | undefined;
1315
1397
  uniqueName?: string | undefined;
1316
1398
  nullsNotDistinct?: boolean | undefined;
1317
1399
  name: string;
@@ -1321,6 +1403,7 @@ export declare const pgSchemaExternal: import("zod").ZodObject<{
1321
1403
  }, {
1322
1404
  isUnique?: any;
1323
1405
  default?: any;
1406
+ typeSchema?: string | undefined;
1324
1407
  uniqueName?: string | undefined;
1325
1408
  nullsNotDistinct?: boolean | undefined;
1326
1409
  name: string;
@@ -1397,6 +1480,7 @@ export declare const pgSchemaExternal: import("zod").ZodObject<{
1397
1480
  columns: Record<string, {
1398
1481
  isUnique?: any;
1399
1482
  default?: any;
1483
+ typeSchema?: string | undefined;
1400
1484
  uniqueName?: string | undefined;
1401
1485
  nullsNotDistinct?: boolean | undefined;
1402
1486
  name: string;
@@ -1439,6 +1523,7 @@ export declare const pgSchemaExternal: import("zod").ZodObject<{
1439
1523
  columns: Record<string, {
1440
1524
  isUnique?: any;
1441
1525
  default?: any;
1526
+ typeSchema?: string | undefined;
1442
1527
  uniqueName?: string | undefined;
1443
1528
  nullsNotDistinct?: boolean | undefined;
1444
1529
  name: string;
@@ -1466,8 +1551,8 @@ export declare const pgSchemaExternal: import("zod").ZodObject<{
1466
1551
  name: string;
1467
1552
  columns: string[];
1468
1553
  }>;
1469
- }>, "many">;
1470
- enums: import("zod").ZodArray<import("zod").ZodObject<{
1554
+ }>>;
1555
+ enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1471
1556
  name: import("zod").ZodString;
1472
1557
  values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1473
1558
  }, "strict", import("zod").ZodTypeAny, {
@@ -1476,14 +1561,8 @@ export declare const pgSchemaExternal: import("zod").ZodObject<{
1476
1561
  }, {
1477
1562
  name: string;
1478
1563
  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">;
1564
+ }>>;
1565
+ schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1487
1566
  _meta: import("zod").ZodObject<{
1488
1567
  schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1489
1568
  tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
@@ -1497,14 +1576,67 @@ export declare const pgSchemaExternal: import("zod").ZodObject<{
1497
1576
  tables: Record<string, string>;
1498
1577
  schemas: Record<string, string>;
1499
1578
  }>;
1579
+ internal: import("zod").ZodOptional<import("zod").ZodObject<{
1580
+ tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodObject<{
1581
+ columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodObject<{
1582
+ isArray: import("zod").ZodOptional<import("zod").ZodBoolean>;
1583
+ dimensions: import("zod").ZodOptional<import("zod").ZodNumber>;
1584
+ rawType: import("zod").ZodOptional<import("zod").ZodString>;
1585
+ }, "strip", import("zod").ZodTypeAny, {
1586
+ isArray?: boolean | undefined;
1587
+ dimensions?: number | undefined;
1588
+ rawType?: string | undefined;
1589
+ }, {
1590
+ isArray?: boolean | undefined;
1591
+ dimensions?: number | undefined;
1592
+ rawType?: string | undefined;
1593
+ }>>>;
1594
+ }, "strip", import("zod").ZodTypeAny, {
1595
+ columns: Record<string, {
1596
+ isArray?: boolean | undefined;
1597
+ dimensions?: number | undefined;
1598
+ rawType?: string | undefined;
1599
+ } | undefined>;
1600
+ }, {
1601
+ columns: Record<string, {
1602
+ isArray?: boolean | undefined;
1603
+ dimensions?: number | undefined;
1604
+ rawType?: string | undefined;
1605
+ } | undefined>;
1606
+ }>>>;
1607
+ }, "strip", import("zod").ZodTypeAny, {
1608
+ tables: Record<string, {
1609
+ columns: Record<string, {
1610
+ isArray?: boolean | undefined;
1611
+ dimensions?: number | undefined;
1612
+ rawType?: string | undefined;
1613
+ } | undefined>;
1614
+ } | undefined>;
1615
+ }, {
1616
+ tables: Record<string, {
1617
+ columns: Record<string, {
1618
+ isArray?: boolean | undefined;
1619
+ dimensions?: number | undefined;
1620
+ rawType?: string | undefined;
1621
+ } | undefined>;
1622
+ } | undefined>;
1623
+ }>>;
1500
1624
  }, "strict", import("zod").ZodTypeAny, {
1501
- version: "5";
1502
- dialect: "pg";
1503
- tables: {
1625
+ internal?: {
1626
+ tables: Record<string, {
1627
+ columns: Record<string, {
1628
+ isArray?: boolean | undefined;
1629
+ dimensions?: number | undefined;
1630
+ rawType?: string | undefined;
1631
+ } | undefined>;
1632
+ } | undefined>;
1633
+ } | undefined;
1634
+ tables: Record<string, {
1504
1635
  name: string;
1505
1636
  columns: Record<string, {
1506
1637
  isUnique?: any;
1507
1638
  default?: any;
1639
+ typeSchema?: string | undefined;
1508
1640
  uniqueName?: string | undefined;
1509
1641
  nullsNotDistinct?: boolean | undefined;
1510
1642
  name: string;
@@ -1537,23 +1669,30 @@ export declare const pgSchemaExternal: import("zod").ZodObject<{
1537
1669
  columns: string[];
1538
1670
  nullsNotDistinct: boolean;
1539
1671
  }>;
1540
- }[];
1541
- schemas: {
1542
- name: string;
1543
- }[];
1672
+ }>;
1673
+ version: "5";
1674
+ dialect: "pg";
1675
+ schemas: Record<string, string>;
1544
1676
  _meta: {
1545
1677
  columns: Record<string, string>;
1546
1678
  tables: Record<string, string>;
1547
1679
  schemas: Record<string, string>;
1548
1680
  };
1549
- enums: {
1681
+ enums: Record<string, {
1550
1682
  name: string;
1551
1683
  values: Record<string, string>;
1552
- }[];
1684
+ }>;
1553
1685
  }, {
1554
- version: "5";
1555
- dialect: "pg";
1556
- tables: {
1686
+ internal?: {
1687
+ tables: Record<string, {
1688
+ columns: Record<string, {
1689
+ isArray?: boolean | undefined;
1690
+ dimensions?: number | undefined;
1691
+ rawType?: string | undefined;
1692
+ } | undefined>;
1693
+ } | undefined>;
1694
+ } | undefined;
1695
+ tables: Record<string, {
1557
1696
  uniqueConstraints?: Record<string, {
1558
1697
  name: string;
1559
1698
  columns: string[];
@@ -1563,6 +1702,7 @@ export declare const pgSchemaExternal: import("zod").ZodObject<{
1563
1702
  columns: Record<string, {
1564
1703
  isUnique?: any;
1565
1704
  default?: any;
1705
+ typeSchema?: string | undefined;
1566
1706
  uniqueName?: string | undefined;
1567
1707
  nullsNotDistinct?: boolean | undefined;
1568
1708
  name: string;
@@ -1590,74 +1730,30 @@ export declare const pgSchemaExternal: import("zod").ZodObject<{
1590
1730
  name: string;
1591
1731
  columns: string[];
1592
1732
  }>;
1593
- }[];
1594
- schemas: {
1595
- name: string;
1596
- }[];
1733
+ }>;
1734
+ version: "5";
1735
+ dialect: "pg";
1736
+ schemas: Record<string, string>;
1597
1737
  _meta: {
1598
1738
  columns: Record<string, string>;
1599
1739
  tables: Record<string, string>;
1600
1740
  schemas: Record<string, string>;
1601
1741
  };
1602
- enums: {
1742
+ enums: Record<string, {
1603
1743
  name: string;
1604
1744
  values: Record<string, string>;
1605
- }[];
1745
+ }>;
1606
1746
  }>;
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<{
1747
+ export declare const pgSchemaExternal: import("zod").ZodObject<{
1653
1748
  version: import("zod").ZodLiteral<"5">;
1654
1749
  dialect: import("zod").ZodLiteral<"pg">;
1655
- tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1750
+ tables: import("zod").ZodArray<import("zod").ZodObject<{
1656
1751
  name: import("zod").ZodString;
1657
1752
  schema: import("zod").ZodString;
1658
1753
  columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1659
1754
  name: import("zod").ZodString;
1660
1755
  type: import("zod").ZodString;
1756
+ typeSchema: import("zod").ZodOptional<import("zod").ZodString>;
1661
1757
  primaryKey: import("zod").ZodBoolean;
1662
1758
  notNull: import("zod").ZodBoolean;
1663
1759
  default: import("zod").ZodOptional<import("zod").ZodAny>;
@@ -1667,6 +1763,7 @@ export declare const pgSchemaInternal: import("zod").ZodObject<{
1667
1763
  }, "strict", import("zod").ZodTypeAny, {
1668
1764
  isUnique?: any;
1669
1765
  default?: any;
1766
+ typeSchema?: string | undefined;
1670
1767
  uniqueName?: string | undefined;
1671
1768
  nullsNotDistinct?: boolean | undefined;
1672
1769
  name: string;
@@ -1676,6 +1773,7 @@ export declare const pgSchemaInternal: import("zod").ZodObject<{
1676
1773
  }, {
1677
1774
  isUnique?: any;
1678
1775
  default?: any;
1776
+ typeSchema?: string | undefined;
1679
1777
  uniqueName?: string | undefined;
1680
1778
  nullsNotDistinct?: boolean | undefined;
1681
1779
  name: string;
@@ -1752,6 +1850,7 @@ export declare const pgSchemaInternal: import("zod").ZodObject<{
1752
1850
  columns: Record<string, {
1753
1851
  isUnique?: any;
1754
1852
  default?: any;
1853
+ typeSchema?: string | undefined;
1755
1854
  uniqueName?: string | undefined;
1756
1855
  nullsNotDistinct?: boolean | undefined;
1757
1856
  name: string;
@@ -1794,6 +1893,7 @@ export declare const pgSchemaInternal: import("zod").ZodObject<{
1794
1893
  columns: Record<string, {
1795
1894
  isUnique?: any;
1796
1895
  default?: any;
1896
+ typeSchema?: string | undefined;
1797
1897
  uniqueName?: string | undefined;
1798
1898
  nullsNotDistinct?: boolean | undefined;
1799
1899
  name: string;
@@ -1821,8 +1921,8 @@ export declare const pgSchemaInternal: import("zod").ZodObject<{
1821
1921
  name: string;
1822
1922
  columns: string[];
1823
1923
  }>;
1824
- }>>;
1825
- enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1924
+ }>, "many">;
1925
+ enums: import("zod").ZodArray<import("zod").ZodObject<{
1826
1926
  name: import("zod").ZodString;
1827
1927
  values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1828
1928
  }, "strict", import("zod").ZodTypeAny, {
@@ -1831,8 +1931,14 @@ export declare const pgSchemaInternal: import("zod").ZodObject<{
1831
1931
  }, {
1832
1932
  name: string;
1833
1933
  values: Record<string, string>;
1834
- }>>;
1835
- schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1934
+ }>, "many">;
1935
+ schemas: import("zod").ZodArray<import("zod").ZodObject<{
1936
+ name: import("zod").ZodString;
1937
+ }, "strip", import("zod").ZodTypeAny, {
1938
+ name: string;
1939
+ }, {
1940
+ name: string;
1941
+ }>, "many">;
1836
1942
  _meta: import("zod").ZodObject<{
1837
1943
  schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1838
1944
  tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
@@ -1846,68 +1952,13 @@ export declare const pgSchemaInternal: import("zod").ZodObject<{
1846
1952
  tables: Record<string, string>;
1847
1953
  schemas: Record<string, string>;
1848
1954
  }>;
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
1955
  }, "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, {
1956
+ tables: {
1907
1957
  name: string;
1908
1958
  columns: Record<string, {
1909
1959
  isUnique?: any;
1910
1960
  default?: any;
1961
+ typeSchema?: string | undefined;
1911
1962
  uniqueName?: string | undefined;
1912
1963
  nullsNotDistinct?: boolean | undefined;
1913
1964
  name: string;
@@ -1940,30 +1991,23 @@ export declare const pgSchemaInternal: import("zod").ZodObject<{
1940
1991
  columns: string[];
1941
1992
  nullsNotDistinct: boolean;
1942
1993
  }>;
1943
- }>;
1944
- schemas: Record<string, string>;
1994
+ }[];
1995
+ version: "5";
1996
+ dialect: "pg";
1997
+ schemas: {
1998
+ name: string;
1999
+ }[];
1945
2000
  _meta: {
1946
2001
  columns: Record<string, string>;
1947
2002
  tables: Record<string, string>;
1948
2003
  schemas: Record<string, string>;
1949
2004
  };
1950
- enums: Record<string, {
2005
+ enums: {
1951
2006
  name: string;
1952
2007
  values: Record<string, string>;
1953
- }>;
2008
+ }[];
1954
2009
  }, {
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, {
2010
+ tables: {
1967
2011
  uniqueConstraints?: Record<string, {
1968
2012
  name: string;
1969
2013
  columns: string[];
@@ -1973,6 +2017,7 @@ export declare const pgSchemaInternal: import("zod").ZodObject<{
1973
2017
  columns: Record<string, {
1974
2018
  isUnique?: any;
1975
2019
  default?: any;
2020
+ typeSchema?: string | undefined;
1976
2021
  uniqueName?: string | undefined;
1977
2022
  nullsNotDistinct?: boolean | undefined;
1978
2023
  name: string;
@@ -2000,27 +2045,32 @@ export declare const pgSchemaInternal: import("zod").ZodObject<{
2000
2045
  name: string;
2001
2046
  columns: string[];
2002
2047
  }>;
2003
- }>;
2004
- schemas: Record<string, string>;
2048
+ }[];
2049
+ version: "5";
2050
+ dialect: "pg";
2051
+ schemas: {
2052
+ name: string;
2053
+ }[];
2005
2054
  _meta: {
2006
2055
  columns: Record<string, string>;
2007
2056
  tables: Record<string, string>;
2008
2057
  schemas: Record<string, string>;
2009
2058
  };
2010
- enums: Record<string, {
2059
+ enums: {
2011
2060
  name: string;
2012
2061
  values: Record<string, string>;
2013
- }>;
2062
+ }[];
2014
2063
  }>;
2015
- export declare const pgSchemaSquashedV4: import("zod").ZodObject<{
2016
- version: import("zod").ZodLiteral<"4">;
2017
- dialect: import("zod").ZodEnum<["pg"]>;
2064
+ export declare const pgSchemaInternal: import("zod").ZodObject<{
2065
+ version: import("zod").ZodLiteral<"6">;
2066
+ dialect: import("zod").ZodLiteral<"pg">;
2018
2067
  tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2019
2068
  name: import("zod").ZodString;
2020
2069
  schema: import("zod").ZodString;
2021
2070
  columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2022
2071
  name: import("zod").ZodString;
2023
2072
  type: import("zod").ZodString;
2073
+ typeSchema: import("zod").ZodOptional<import("zod").ZodString>;
2024
2074
  primaryKey: import("zod").ZodBoolean;
2025
2075
  notNull: import("zod").ZodBoolean;
2026
2076
  default: import("zod").ZodOptional<import("zod").ZodAny>;
@@ -2030,6 +2080,7 @@ export declare const pgSchemaSquashedV4: import("zod").ZodObject<{
2030
2080
  }, "strict", import("zod").ZodTypeAny, {
2031
2081
  isUnique?: any;
2032
2082
  default?: any;
2083
+ typeSchema?: string | undefined;
2033
2084
  uniqueName?: string | undefined;
2034
2085
  nullsNotDistinct?: boolean | undefined;
2035
2086
  name: string;
@@ -2039,6 +2090,7 @@ export declare const pgSchemaSquashedV4: import("zod").ZodObject<{
2039
2090
  }, {
2040
2091
  isUnique?: any;
2041
2092
  default?: any;
2093
+ typeSchema?: string | undefined;
2042
2094
  uniqueName?: string | undefined;
2043
2095
  nullsNotDistinct?: boolean | undefined;
2044
2096
  name: string;
@@ -2046,13 +2098,76 @@ export declare const pgSchemaSquashedV4: import("zod").ZodObject<{
2046
2098
  primaryKey: boolean;
2047
2099
  notNull: boolean;
2048
2100
  }>>;
2049
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2050
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2101
+ indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2102
+ name: import("zod").ZodString;
2103
+ columns: import("zod").ZodArray<import("zod").ZodString, "many">;
2104
+ isUnique: import("zod").ZodBoolean;
2105
+ }, "strict", import("zod").ZodTypeAny, {
2106
+ name: string;
2107
+ columns: string[];
2108
+ isUnique: boolean;
2109
+ }, {
2110
+ name: string;
2111
+ columns: string[];
2112
+ isUnique: boolean;
2113
+ }>>;
2114
+ foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2115
+ name: import("zod").ZodString;
2116
+ tableFrom: import("zod").ZodString;
2117
+ columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
2118
+ tableTo: import("zod").ZodString;
2119
+ schemaTo: import("zod").ZodOptional<import("zod").ZodString>;
2120
+ columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
2121
+ onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
2122
+ onDelete: import("zod").ZodOptional<import("zod").ZodString>;
2123
+ }, "strict", import("zod").ZodTypeAny, {
2124
+ onUpdate?: string | undefined;
2125
+ onDelete?: string | undefined;
2126
+ schemaTo?: string | undefined;
2127
+ name: string;
2128
+ tableFrom: string;
2129
+ columnsFrom: string[];
2130
+ tableTo: string;
2131
+ columnsTo: string[];
2132
+ }, {
2133
+ onUpdate?: string | undefined;
2134
+ onDelete?: string | undefined;
2135
+ schemaTo?: string | undefined;
2136
+ name: string;
2137
+ tableFrom: string;
2138
+ columnsFrom: string[];
2139
+ tableTo: string;
2140
+ columnsTo: string[];
2141
+ }>>;
2142
+ compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2143
+ name: import("zod").ZodString;
2144
+ columns: import("zod").ZodArray<import("zod").ZodString, "many">;
2145
+ }, "strict", import("zod").ZodTypeAny, {
2146
+ name: string;
2147
+ columns: string[];
2148
+ }, {
2149
+ name: string;
2150
+ columns: string[];
2151
+ }>>;
2152
+ uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2153
+ name: import("zod").ZodString;
2154
+ columns: import("zod").ZodArray<import("zod").ZodString, "many">;
2155
+ nullsNotDistinct: import("zod").ZodBoolean;
2156
+ }, "strict", import("zod").ZodTypeAny, {
2157
+ name: string;
2158
+ columns: string[];
2159
+ nullsNotDistinct: boolean;
2160
+ }, {
2161
+ name: string;
2162
+ columns: string[];
2163
+ nullsNotDistinct: boolean;
2164
+ }>>>;
2051
2165
  }, "strict", import("zod").ZodTypeAny, {
2052
2166
  name: string;
2053
2167
  columns: Record<string, {
2054
2168
  isUnique?: any;
2055
2169
  default?: any;
2170
+ typeSchema?: string | undefined;
2056
2171
  uniqueName?: string | undefined;
2057
2172
  nullsNotDistinct?: boolean | undefined;
2058
2173
  name: string;
@@ -2060,14 +2175,42 @@ export declare const pgSchemaSquashedV4: import("zod").ZodObject<{
2060
2175
  primaryKey: boolean;
2061
2176
  notNull: boolean;
2062
2177
  }>;
2063
- indexes: Record<string, string>;
2064
- foreignKeys: Record<string, string>;
2178
+ indexes: Record<string, {
2179
+ name: string;
2180
+ columns: string[];
2181
+ isUnique: boolean;
2182
+ }>;
2183
+ foreignKeys: Record<string, {
2184
+ onUpdate?: string | undefined;
2185
+ onDelete?: string | undefined;
2186
+ schemaTo?: string | undefined;
2187
+ name: string;
2188
+ tableFrom: string;
2189
+ columnsFrom: string[];
2190
+ tableTo: string;
2191
+ columnsTo: string[];
2192
+ }>;
2065
2193
  schema: string;
2194
+ compositePrimaryKeys: Record<string, {
2195
+ name: string;
2196
+ columns: string[];
2197
+ }>;
2198
+ uniqueConstraints: Record<string, {
2199
+ name: string;
2200
+ columns: string[];
2201
+ nullsNotDistinct: boolean;
2202
+ }>;
2066
2203
  }, {
2204
+ uniqueConstraints?: Record<string, {
2205
+ name: string;
2206
+ columns: string[];
2207
+ nullsNotDistinct: boolean;
2208
+ }> | undefined;
2067
2209
  name: string;
2068
2210
  columns: Record<string, {
2069
2211
  isUnique?: any;
2070
2212
  default?: any;
2213
+ typeSchema?: string | undefined;
2071
2214
  uniqueName?: string | undefined;
2072
2215
  nullsNotDistinct?: boolean | undefined;
2073
2216
  name: string;
@@ -2075,53 +2218,115 @@ export declare const pgSchemaSquashedV4: import("zod").ZodObject<{
2075
2218
  primaryKey: boolean;
2076
2219
  notNull: boolean;
2077
2220
  }>;
2078
- indexes: Record<string, string>;
2079
- foreignKeys: Record<string, string>;
2221
+ indexes: Record<string, {
2222
+ name: string;
2223
+ columns: string[];
2224
+ isUnique: boolean;
2225
+ }>;
2226
+ foreignKeys: Record<string, {
2227
+ onUpdate?: string | undefined;
2228
+ onDelete?: string | undefined;
2229
+ schemaTo?: string | undefined;
2230
+ name: string;
2231
+ tableFrom: string;
2232
+ columnsFrom: string[];
2233
+ tableTo: string;
2234
+ columnsTo: string[];
2235
+ }>;
2080
2236
  schema: string;
2237
+ compositePrimaryKeys: Record<string, {
2238
+ name: string;
2239
+ columns: string[];
2240
+ }>;
2081
2241
  }>>;
2082
2242
  enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2083
2243
  name: import("zod").ZodString;
2084
- values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2244
+ schema: import("zod").ZodString;
2245
+ values: import("zod").ZodArray<import("zod").ZodString, "many">;
2085
2246
  }, "strict", import("zod").ZodTypeAny, {
2086
2247
  name: string;
2087
- values: Record<string, string>;
2248
+ values: string[];
2249
+ schema: string;
2088
2250
  }, {
2089
2251
  name: string;
2090
- values: Record<string, string>;
2252
+ values: string[];
2253
+ schema: string;
2091
2254
  }>>;
2092
2255
  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>;
2256
+ _meta: import("zod").ZodObject<{
2257
+ schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2258
+ tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2259
+ columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2260
+ }, "strip", import("zod").ZodTypeAny, {
2261
+ columns: Record<string, string>;
2262
+ tables: Record<string, string>;
2263
+ schemas: Record<string, string>;
2264
+ }, {
2265
+ columns: Record<string, string>;
2266
+ tables: Record<string, string>;
2267
+ schemas: Record<string, string>;
2116
2268
  }>;
2117
- }, {
2118
- version: "4";
2119
- dialect: "pg";
2120
- tables: Record<string, {
2121
- name: string;
2122
- columns: Record<string, {
2269
+ internal: import("zod").ZodOptional<import("zod").ZodObject<{
2270
+ tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodObject<{
2271
+ columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodObject<{
2272
+ isArray: import("zod").ZodOptional<import("zod").ZodBoolean>;
2273
+ dimensions: import("zod").ZodOptional<import("zod").ZodNumber>;
2274
+ rawType: import("zod").ZodOptional<import("zod").ZodString>;
2275
+ }, "strip", import("zod").ZodTypeAny, {
2276
+ isArray?: boolean | undefined;
2277
+ dimensions?: number | undefined;
2278
+ rawType?: string | undefined;
2279
+ }, {
2280
+ isArray?: boolean | undefined;
2281
+ dimensions?: number | undefined;
2282
+ rawType?: string | undefined;
2283
+ }>>>;
2284
+ }, "strip", import("zod").ZodTypeAny, {
2285
+ columns: Record<string, {
2286
+ isArray?: boolean | undefined;
2287
+ dimensions?: number | undefined;
2288
+ rawType?: string | undefined;
2289
+ } | undefined>;
2290
+ }, {
2291
+ columns: Record<string, {
2292
+ isArray?: boolean | undefined;
2293
+ dimensions?: number | undefined;
2294
+ rawType?: string | undefined;
2295
+ } | undefined>;
2296
+ }>>>;
2297
+ }, "strip", import("zod").ZodTypeAny, {
2298
+ tables: Record<string, {
2299
+ columns: Record<string, {
2300
+ isArray?: boolean | undefined;
2301
+ dimensions?: number | undefined;
2302
+ rawType?: string | undefined;
2303
+ } | undefined>;
2304
+ } | undefined>;
2305
+ }, {
2306
+ tables: Record<string, {
2307
+ columns: Record<string, {
2308
+ isArray?: boolean | undefined;
2309
+ dimensions?: number | undefined;
2310
+ rawType?: string | undefined;
2311
+ } | undefined>;
2312
+ } | undefined>;
2313
+ }>>;
2314
+ }, "strict", import("zod").ZodTypeAny, {
2315
+ internal?: {
2316
+ tables: Record<string, {
2317
+ columns: Record<string, {
2318
+ isArray?: boolean | undefined;
2319
+ dimensions?: number | undefined;
2320
+ rawType?: string | undefined;
2321
+ } | undefined>;
2322
+ } | undefined>;
2323
+ } | undefined;
2324
+ tables: Record<string, {
2325
+ name: string;
2326
+ columns: Record<string, {
2123
2327
  isUnique?: any;
2124
2328
  default?: any;
2329
+ typeSchema?: string | undefined;
2125
2330
  uniqueName?: string | undefined;
2126
2331
  nullsNotDistinct?: boolean | undefined;
2127
2332
  name: string;
@@ -2129,18 +2334,110 @@ export declare const pgSchemaSquashedV4: import("zod").ZodObject<{
2129
2334
  primaryKey: boolean;
2130
2335
  notNull: boolean;
2131
2336
  }>;
2132
- indexes: Record<string, string>;
2133
- foreignKeys: Record<string, string>;
2337
+ indexes: Record<string, {
2338
+ name: string;
2339
+ columns: string[];
2340
+ isUnique: boolean;
2341
+ }>;
2342
+ foreignKeys: Record<string, {
2343
+ onUpdate?: string | undefined;
2344
+ onDelete?: string | undefined;
2345
+ schemaTo?: string | undefined;
2346
+ name: string;
2347
+ tableFrom: string;
2348
+ columnsFrom: string[];
2349
+ tableTo: string;
2350
+ columnsTo: string[];
2351
+ }>;
2134
2352
  schema: string;
2353
+ compositePrimaryKeys: Record<string, {
2354
+ name: string;
2355
+ columns: string[];
2356
+ }>;
2357
+ uniqueConstraints: Record<string, {
2358
+ name: string;
2359
+ columns: string[];
2360
+ nullsNotDistinct: boolean;
2361
+ }>;
2135
2362
  }>;
2363
+ version: "6";
2364
+ dialect: "pg";
2136
2365
  schemas: Record<string, string>;
2366
+ _meta: {
2367
+ columns: Record<string, string>;
2368
+ tables: Record<string, string>;
2369
+ schemas: Record<string, string>;
2370
+ };
2137
2371
  enums: Record<string, {
2138
2372
  name: string;
2139
- values: Record<string, string>;
2373
+ values: string[];
2374
+ schema: string;
2375
+ }>;
2376
+ }, {
2377
+ internal?: {
2378
+ tables: Record<string, {
2379
+ columns: Record<string, {
2380
+ isArray?: boolean | undefined;
2381
+ dimensions?: number | undefined;
2382
+ rawType?: string | undefined;
2383
+ } | undefined>;
2384
+ } | undefined>;
2385
+ } | undefined;
2386
+ tables: Record<string, {
2387
+ uniqueConstraints?: Record<string, {
2388
+ name: string;
2389
+ columns: string[];
2390
+ nullsNotDistinct: boolean;
2391
+ }> | undefined;
2392
+ name: string;
2393
+ columns: Record<string, {
2394
+ isUnique?: any;
2395
+ default?: any;
2396
+ typeSchema?: string | undefined;
2397
+ uniqueName?: string | undefined;
2398
+ nullsNotDistinct?: boolean | undefined;
2399
+ name: string;
2400
+ type: string;
2401
+ primaryKey: boolean;
2402
+ notNull: boolean;
2403
+ }>;
2404
+ indexes: Record<string, {
2405
+ name: string;
2406
+ columns: string[];
2407
+ isUnique: boolean;
2408
+ }>;
2409
+ foreignKeys: Record<string, {
2410
+ onUpdate?: string | undefined;
2411
+ onDelete?: string | undefined;
2412
+ schemaTo?: string | undefined;
2413
+ name: string;
2414
+ tableFrom: string;
2415
+ columnsFrom: string[];
2416
+ tableTo: string;
2417
+ columnsTo: string[];
2418
+ }>;
2419
+ schema: string;
2420
+ compositePrimaryKeys: Record<string, {
2421
+ name: string;
2422
+ columns: string[];
2423
+ }>;
2424
+ }>;
2425
+ version: "6";
2426
+ dialect: "pg";
2427
+ schemas: Record<string, string>;
2428
+ _meta: {
2429
+ columns: Record<string, string>;
2430
+ tables: Record<string, string>;
2431
+ schemas: Record<string, string>;
2432
+ };
2433
+ enums: Record<string, {
2434
+ name: string;
2435
+ values: string[];
2436
+ schema: string;
2140
2437
  }>;
2141
2438
  }>;
2142
- export declare const pgSchemaSquashed: import("zod").ZodObject<{
2143
- version: import("zod").ZodLiteral<"5">;
2439
+ export declare const pgSchemaSquashedV4: import("zod").ZodObject<{
2440
+ version: import("zod").ZodLiteral<"4">;
2144
2441
  dialect: import("zod").ZodEnum<["pg"]>;
2145
2442
  tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2146
2443
  name: import("zod").ZodString;
@@ -2148,6 +2445,7 @@ export declare const pgSchemaSquashed: import("zod").ZodObject<{
2148
2445
  columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2149
2446
  name: import("zod").ZodString;
2150
2447
  type: import("zod").ZodString;
2448
+ typeSchema: import("zod").ZodOptional<import("zod").ZodString>;
2151
2449
  primaryKey: import("zod").ZodBoolean;
2152
2450
  notNull: import("zod").ZodBoolean;
2153
2451
  default: import("zod").ZodOptional<import("zod").ZodAny>;
@@ -2157,6 +2455,7 @@ export declare const pgSchemaSquashed: import("zod").ZodObject<{
2157
2455
  }, "strict", import("zod").ZodTypeAny, {
2158
2456
  isUnique?: any;
2159
2457
  default?: any;
2458
+ typeSchema?: string | undefined;
2160
2459
  uniqueName?: string | undefined;
2161
2460
  nullsNotDistinct?: boolean | undefined;
2162
2461
  name: string;
@@ -2166,6 +2465,7 @@ export declare const pgSchemaSquashed: import("zod").ZodObject<{
2166
2465
  }, {
2167
2466
  isUnique?: any;
2168
2467
  default?: any;
2468
+ typeSchema?: string | undefined;
2169
2469
  uniqueName?: string | undefined;
2170
2470
  nullsNotDistinct?: boolean | undefined;
2171
2471
  name: string;
@@ -2175,13 +2475,12 @@ export declare const pgSchemaSquashed: import("zod").ZodObject<{
2175
2475
  }>>;
2176
2476
  indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2177
2477
  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
2478
  }, "strict", import("zod").ZodTypeAny, {
2181
2479
  name: string;
2182
2480
  columns: Record<string, {
2183
2481
  isUnique?: any;
2184
2482
  default?: any;
2483
+ typeSchema?: string | undefined;
2185
2484
  uniqueName?: string | undefined;
2186
2485
  nullsNotDistinct?: boolean | undefined;
2187
2486
  name: string;
@@ -2192,13 +2491,12 @@ export declare const pgSchemaSquashed: import("zod").ZodObject<{
2192
2491
  indexes: Record<string, string>;
2193
2492
  foreignKeys: Record<string, string>;
2194
2493
  schema: string;
2195
- compositePrimaryKeys: Record<string, string>;
2196
- uniqueConstraints: Record<string, string>;
2197
2494
  }, {
2198
2495
  name: string;
2199
2496
  columns: Record<string, {
2200
2497
  isUnique?: any;
2201
2498
  default?: any;
2499
+ typeSchema?: string | undefined;
2202
2500
  uniqueName?: string | undefined;
2203
2501
  nullsNotDistinct?: boolean | undefined;
2204
2502
  name: string;
@@ -2209,8 +2507,6 @@ export declare const pgSchemaSquashed: import("zod").ZodObject<{
2209
2507
  indexes: Record<string, string>;
2210
2508
  foreignKeys: Record<string, string>;
2211
2509
  schema: string;
2212
- compositePrimaryKeys: Record<string, string>;
2213
- uniqueConstraints: Record<string, string>;
2214
2510
  }>>;
2215
2511
  enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2216
2512
  name: import("zod").ZodString;
@@ -2224,13 +2520,12 @@ export declare const pgSchemaSquashed: import("zod").ZodObject<{
2224
2520
  }>>;
2225
2521
  schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2226
2522
  }, "strict", import("zod").ZodTypeAny, {
2227
- version: "5";
2228
- dialect: "pg";
2229
2523
  tables: Record<string, {
2230
2524
  name: string;
2231
2525
  columns: Record<string, {
2232
2526
  isUnique?: any;
2233
2527
  default?: any;
2528
+ typeSchema?: string | undefined;
2234
2529
  uniqueName?: string | undefined;
2235
2530
  nullsNotDistinct?: boolean | undefined;
2236
2531
  name: string;
@@ -2241,22 +2536,21 @@ export declare const pgSchemaSquashed: import("zod").ZodObject<{
2241
2536
  indexes: Record<string, string>;
2242
2537
  foreignKeys: Record<string, string>;
2243
2538
  schema: string;
2244
- compositePrimaryKeys: Record<string, string>;
2245
- uniqueConstraints: Record<string, string>;
2246
2539
  }>;
2540
+ version: "4";
2541
+ dialect: "pg";
2247
2542
  schemas: Record<string, string>;
2248
2543
  enums: Record<string, {
2249
2544
  name: string;
2250
2545
  values: Record<string, string>;
2251
2546
  }>;
2252
2547
  }, {
2253
- version: "5";
2254
- dialect: "pg";
2255
2548
  tables: Record<string, {
2256
2549
  name: string;
2257
2550
  columns: Record<string, {
2258
2551
  isUnique?: any;
2259
2552
  default?: any;
2553
+ typeSchema?: string | undefined;
2260
2554
  uniqueName?: string | undefined;
2261
2555
  nullsNotDistinct?: boolean | undefined;
2262
2556
  name: string;
@@ -2267,23 +2561,25 @@ export declare const pgSchemaSquashed: import("zod").ZodObject<{
2267
2561
  indexes: Record<string, string>;
2268
2562
  foreignKeys: Record<string, string>;
2269
2563
  schema: string;
2270
- compositePrimaryKeys: Record<string, string>;
2271
- uniqueConstraints: Record<string, string>;
2272
2564
  }>;
2565
+ version: "4";
2566
+ dialect: "pg";
2273
2567
  schemas: Record<string, string>;
2274
2568
  enums: Record<string, {
2275
2569
  name: string;
2276
2570
  values: Record<string, string>;
2277
2571
  }>;
2278
2572
  }>;
2279
- export declare const pgSchemaV3: import("zod").ZodObject<import("zod").extendShape<{
2280
- version: import("zod").ZodLiteral<"3">;
2281
- dialect: import("zod").ZodLiteral<"pg">;
2573
+ export declare const pgSchemaSquashed: import("zod").ZodObject<{
2574
+ version: import("zod").ZodLiteral<"6">;
2575
+ dialect: import("zod").ZodEnum<["pg"]>;
2282
2576
  tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2283
2577
  name: import("zod").ZodString;
2578
+ schema: import("zod").ZodString;
2284
2579
  columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2285
2580
  name: import("zod").ZodString;
2286
2581
  type: import("zod").ZodString;
2582
+ typeSchema: import("zod").ZodOptional<import("zod").ZodString>;
2287
2583
  primaryKey: import("zod").ZodBoolean;
2288
2584
  notNull: import("zod").ZodBoolean;
2289
2585
  default: import("zod").ZodOptional<import("zod").ZodAny>;
@@ -2293,6 +2589,7 @@ export declare const pgSchemaV3: import("zod").ZodObject<import("zod").extendSha
2293
2589
  }, "strict", import("zod").ZodTypeAny, {
2294
2590
  isUnique?: any;
2295
2591
  default?: any;
2592
+ typeSchema?: string | undefined;
2296
2593
  uniqueName?: string | undefined;
2297
2594
  nullsNotDistinct?: boolean | undefined;
2298
2595
  name: string;
@@ -2302,6 +2599,7 @@ export declare const pgSchemaV3: import("zod").ZodObject<import("zod").extendSha
2302
2599
  }, {
2303
2600
  isUnique?: any;
2304
2601
  default?: any;
2602
+ typeSchema?: string | undefined;
2305
2603
  uniqueName?: string | undefined;
2306
2604
  nullsNotDistinct?: boolean | undefined;
2307
2605
  name: string;
@@ -2309,52 +2607,16 @@ export declare const pgSchemaV3: import("zod").ZodObject<import("zod").extendSha
2309
2607
  primaryKey: boolean;
2310
2608
  notNull: boolean;
2311
2609
  }>>;
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
- }>>;
2610
+ indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2611
+ foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2612
+ compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2613
+ uniqueConstraints: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2353
2614
  }, "strict", import("zod").ZodTypeAny, {
2354
2615
  name: string;
2355
2616
  columns: Record<string, {
2356
2617
  isUnique?: any;
2357
2618
  default?: any;
2619
+ typeSchema?: string | undefined;
2358
2620
  uniqueName?: string | undefined;
2359
2621
  nullsNotDistinct?: boolean | undefined;
2360
2622
  name: string;
@@ -2362,26 +2624,17 @@ export declare const pgSchemaV3: import("zod").ZodObject<import("zod").extendSha
2362
2624
  primaryKey: boolean;
2363
2625
  notNull: boolean;
2364
2626
  }>;
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
- }>;
2627
+ indexes: Record<string, string>;
2628
+ foreignKeys: Record<string, string>;
2629
+ schema: string;
2630
+ compositePrimaryKeys: Record<string, string>;
2631
+ uniqueConstraints: Record<string, string>;
2380
2632
  }, {
2381
2633
  name: string;
2382
2634
  columns: Record<string, {
2383
2635
  isUnique?: any;
2384
2636
  default?: any;
2637
+ typeSchema?: string | undefined;
2385
2638
  uniqueName?: string | undefined;
2386
2639
  nullsNotDistinct?: boolean | undefined;
2387
2640
  name: string;
@@ -2389,18 +2642,213 @@ export declare const pgSchemaV3: import("zod").ZodObject<import("zod").extendSha
2389
2642
  primaryKey: boolean;
2390
2643
  notNull: boolean;
2391
2644
  }>;
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[];
2645
+ indexes: Record<string, string>;
2646
+ foreignKeys: Record<string, string>;
2647
+ schema: string;
2648
+ compositePrimaryKeys: Record<string, string>;
2649
+ uniqueConstraints: Record<string, string>;
2650
+ }>>;
2651
+ enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2652
+ name: import("zod").ZodString;
2653
+ schema: import("zod").ZodString;
2654
+ values: import("zod").ZodArray<import("zod").ZodString, "many">;
2655
+ }, "strict", import("zod").ZodTypeAny, {
2656
+ name: string;
2657
+ values: string[];
2658
+ schema: string;
2659
+ }, {
2660
+ name: string;
2661
+ values: string[];
2662
+ schema: string;
2663
+ }>>;
2664
+ schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2665
+ }, "strict", import("zod").ZodTypeAny, {
2666
+ tables: Record<string, {
2667
+ name: string;
2668
+ columns: Record<string, {
2669
+ isUnique?: any;
2670
+ default?: any;
2671
+ typeSchema?: string | undefined;
2672
+ uniqueName?: string | undefined;
2673
+ nullsNotDistinct?: boolean | undefined;
2674
+ name: string;
2675
+ type: string;
2676
+ primaryKey: boolean;
2677
+ notNull: boolean;
2678
+ }>;
2679
+ indexes: Record<string, string>;
2680
+ foreignKeys: Record<string, string>;
2681
+ schema: string;
2682
+ compositePrimaryKeys: Record<string, string>;
2683
+ uniqueConstraints: Record<string, string>;
2684
+ }>;
2685
+ version: "6";
2686
+ dialect: "pg";
2687
+ schemas: Record<string, string>;
2688
+ enums: Record<string, {
2689
+ name: string;
2690
+ values: string[];
2691
+ schema: string;
2692
+ }>;
2693
+ }, {
2694
+ tables: Record<string, {
2695
+ name: string;
2696
+ columns: Record<string, {
2697
+ isUnique?: any;
2698
+ default?: any;
2699
+ typeSchema?: string | undefined;
2700
+ uniqueName?: string | undefined;
2701
+ nullsNotDistinct?: boolean | undefined;
2702
+ name: string;
2703
+ type: string;
2704
+ primaryKey: boolean;
2705
+ notNull: boolean;
2706
+ }>;
2707
+ indexes: Record<string, string>;
2708
+ foreignKeys: Record<string, string>;
2709
+ schema: string;
2710
+ compositePrimaryKeys: Record<string, string>;
2711
+ uniqueConstraints: Record<string, string>;
2712
+ }>;
2713
+ version: "6";
2714
+ dialect: "pg";
2715
+ schemas: Record<string, string>;
2716
+ enums: Record<string, {
2717
+ name: string;
2718
+ values: string[];
2719
+ schema: string;
2720
+ }>;
2721
+ }>;
2722
+ export declare const pgSchemaV3: import("zod").ZodObject<import("zod").extendShape<{
2723
+ version: import("zod").ZodLiteral<"3">;
2724
+ dialect: import("zod").ZodLiteral<"pg">;
2725
+ tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2726
+ name: 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
+ typeSchema: import("zod").ZodOptional<import("zod").ZodString>;
2731
+ primaryKey: import("zod").ZodBoolean;
2732
+ notNull: import("zod").ZodBoolean;
2733
+ default: import("zod").ZodOptional<import("zod").ZodAny>;
2734
+ isUnique: import("zod").ZodOptional<import("zod").ZodAny>;
2735
+ uniqueName: import("zod").ZodOptional<import("zod").ZodString>;
2736
+ nullsNotDistinct: import("zod").ZodOptional<import("zod").ZodBoolean>;
2737
+ }, "strict", import("zod").ZodTypeAny, {
2738
+ isUnique?: any;
2739
+ default?: any;
2740
+ typeSchema?: string | undefined;
2741
+ uniqueName?: string | undefined;
2742
+ nullsNotDistinct?: boolean | undefined;
2743
+ name: string;
2744
+ type: string;
2745
+ primaryKey: boolean;
2746
+ notNull: boolean;
2747
+ }, {
2748
+ isUnique?: any;
2749
+ default?: any;
2750
+ typeSchema?: string | undefined;
2751
+ uniqueName?: string | undefined;
2752
+ nullsNotDistinct?: boolean | undefined;
2753
+ name: string;
2754
+ type: string;
2755
+ primaryKey: boolean;
2756
+ notNull: boolean;
2757
+ }>>;
2758
+ indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2759
+ name: import("zod").ZodString;
2760
+ columns: import("zod").ZodArray<import("zod").ZodString, "many">;
2761
+ isUnique: import("zod").ZodBoolean;
2762
+ }, "strict", import("zod").ZodTypeAny, {
2763
+ name: string;
2764
+ columns: string[];
2765
+ isUnique: boolean;
2766
+ }, {
2767
+ name: string;
2768
+ columns: string[];
2769
+ isUnique: boolean;
2770
+ }>>;
2771
+ foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2772
+ name: import("zod").ZodString;
2773
+ tableFrom: import("zod").ZodString;
2774
+ columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
2775
+ tableTo: import("zod").ZodString;
2776
+ schemaTo: import("zod").ZodOptional<import("zod").ZodString>;
2777
+ columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
2778
+ onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
2779
+ onDelete: import("zod").ZodOptional<import("zod").ZodString>;
2780
+ }, "strict", import("zod").ZodTypeAny, {
2781
+ onUpdate?: string | undefined;
2782
+ onDelete?: string | undefined;
2783
+ schemaTo?: string | undefined;
2784
+ name: string;
2785
+ tableFrom: string;
2786
+ columnsFrom: string[];
2787
+ tableTo: string;
2788
+ columnsTo: string[];
2789
+ }, {
2790
+ onUpdate?: string | undefined;
2791
+ onDelete?: string | undefined;
2792
+ schemaTo?: string | undefined;
2793
+ name: string;
2794
+ tableFrom: string;
2795
+ columnsFrom: string[];
2796
+ tableTo: string;
2797
+ columnsTo: string[];
2798
+ }>>;
2799
+ }, "strict", import("zod").ZodTypeAny, {
2800
+ name: string;
2801
+ columns: Record<string, {
2802
+ isUnique?: any;
2803
+ default?: any;
2804
+ typeSchema?: string | undefined;
2805
+ uniqueName?: string | undefined;
2806
+ nullsNotDistinct?: boolean | undefined;
2807
+ name: string;
2808
+ type: string;
2809
+ primaryKey: boolean;
2810
+ notNull: boolean;
2811
+ }>;
2812
+ indexes: Record<string, {
2813
+ name: string;
2814
+ columns: string[];
2815
+ isUnique: boolean;
2816
+ }>;
2817
+ foreignKeys: Record<string, {
2818
+ onUpdate?: string | undefined;
2819
+ onDelete?: string | undefined;
2820
+ schemaTo?: string | undefined;
2821
+ name: string;
2822
+ tableFrom: string;
2823
+ columnsFrom: string[];
2824
+ tableTo: string;
2825
+ columnsTo: string[];
2826
+ }>;
2827
+ }, {
2828
+ name: string;
2829
+ columns: Record<string, {
2830
+ isUnique?: any;
2831
+ default?: any;
2832
+ typeSchema?: string | undefined;
2833
+ uniqueName?: string | undefined;
2834
+ nullsNotDistinct?: boolean | undefined;
2835
+ name: string;
2836
+ type: string;
2837
+ primaryKey: boolean;
2838
+ notNull: boolean;
2839
+ }>;
2840
+ indexes: Record<string, {
2841
+ name: string;
2842
+ columns: string[];
2843
+ isUnique: boolean;
2844
+ }>;
2845
+ foreignKeys: Record<string, {
2846
+ onUpdate?: string | undefined;
2847
+ onDelete?: string | undefined;
2848
+ schemaTo?: string | undefined;
2849
+ name: string;
2850
+ tableFrom: string;
2851
+ columnsFrom: string[];
2404
2852
  tableTo: string;
2405
2853
  columnsTo: string[];
2406
2854
  }>;
@@ -2419,15 +2867,12 @@ export declare const pgSchemaV3: import("zod").ZodObject<import("zod").extendSha
2419
2867
  id: import("zod").ZodString;
2420
2868
  prevId: import("zod").ZodString;
2421
2869
  }>, "strip", import("zod").ZodTypeAny, {
2422
- id: string;
2423
- prevId: string;
2424
- version: "3";
2425
- dialect: "pg";
2426
2870
  tables: Record<string, {
2427
2871
  name: string;
2428
2872
  columns: Record<string, {
2429
2873
  isUnique?: any;
2430
2874
  default?: any;
2875
+ typeSchema?: string | undefined;
2431
2876
  uniqueName?: string | undefined;
2432
2877
  nullsNotDistinct?: boolean | undefined;
2433
2878
  name: string;
@@ -2451,20 +2896,21 @@ export declare const pgSchemaV3: import("zod").ZodObject<import("zod").extendSha
2451
2896
  columnsTo: string[];
2452
2897
  }>;
2453
2898
  }>;
2899
+ id: string;
2900
+ prevId: string;
2901
+ version: "3";
2902
+ dialect: "pg";
2454
2903
  enums: Record<string, {
2455
2904
  name: string;
2456
2905
  values: Record<string, string>;
2457
2906
  }>;
2458
2907
  }, {
2459
- id: string;
2460
- prevId: string;
2461
- version: "3";
2462
- dialect: "pg";
2463
2908
  tables: Record<string, {
2464
2909
  name: string;
2465
2910
  columns: Record<string, {
2466
2911
  isUnique?: any;
2467
2912
  default?: any;
2913
+ typeSchema?: string | undefined;
2468
2914
  uniqueName?: string | undefined;
2469
2915
  nullsNotDistinct?: boolean | undefined;
2470
2916
  name: string;
@@ -2488,6 +2934,10 @@ export declare const pgSchemaV3: import("zod").ZodObject<import("zod").extendSha
2488
2934
  columnsTo: string[];
2489
2935
  }>;
2490
2936
  }>;
2937
+ id: string;
2938
+ prevId: string;
2939
+ version: "3";
2940
+ dialect: "pg";
2491
2941
  enums: Record<string, {
2492
2942
  name: string;
2493
2943
  values: Record<string, string>;
@@ -2502,6 +2952,7 @@ export declare const pgSchemaV4: import("zod").ZodObject<import("zod").extendSha
2502
2952
  columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2503
2953
  name: import("zod").ZodString;
2504
2954
  type: import("zod").ZodString;
2955
+ typeSchema: import("zod").ZodOptional<import("zod").ZodString>;
2505
2956
  primaryKey: import("zod").ZodBoolean;
2506
2957
  notNull: import("zod").ZodBoolean;
2507
2958
  default: import("zod").ZodOptional<import("zod").ZodAny>;
@@ -2511,6 +2962,7 @@ export declare const pgSchemaV4: import("zod").ZodObject<import("zod").extendSha
2511
2962
  }, "strict", import("zod").ZodTypeAny, {
2512
2963
  isUnique?: any;
2513
2964
  default?: any;
2965
+ typeSchema?: string | undefined;
2514
2966
  uniqueName?: string | undefined;
2515
2967
  nullsNotDistinct?: boolean | undefined;
2516
2968
  name: string;
@@ -2520,6 +2972,7 @@ export declare const pgSchemaV4: import("zod").ZodObject<import("zod").extendSha
2520
2972
  }, {
2521
2973
  isUnique?: any;
2522
2974
  default?: any;
2975
+ typeSchema?: string | undefined;
2523
2976
  uniqueName?: string | undefined;
2524
2977
  nullsNotDistinct?: boolean | undefined;
2525
2978
  name: string;
@@ -2573,6 +3026,7 @@ export declare const pgSchemaV4: import("zod").ZodObject<import("zod").extendSha
2573
3026
  columns: Record<string, {
2574
3027
  isUnique?: any;
2575
3028
  default?: any;
3029
+ typeSchema?: string | undefined;
2576
3030
  uniqueName?: string | undefined;
2577
3031
  nullsNotDistinct?: boolean | undefined;
2578
3032
  name: string;
@@ -2601,6 +3055,7 @@ export declare const pgSchemaV4: import("zod").ZodObject<import("zod").extendSha
2601
3055
  columns: Record<string, {
2602
3056
  isUnique?: any;
2603
3057
  default?: any;
3058
+ typeSchema?: string | undefined;
2604
3059
  uniqueName?: string | undefined;
2605
3060
  nullsNotDistinct?: boolean | undefined;
2606
3061
  name: string;
@@ -2640,15 +3095,12 @@ export declare const pgSchemaV4: import("zod").ZodObject<import("zod").extendSha
2640
3095
  id: import("zod").ZodString;
2641
3096
  prevId: import("zod").ZodString;
2642
3097
  }>, "strip", import("zod").ZodTypeAny, {
2643
- id: string;
2644
- prevId: string;
2645
- version: "4";
2646
- dialect: "pg";
2647
3098
  tables: Record<string, {
2648
3099
  name: string;
2649
3100
  columns: Record<string, {
2650
3101
  isUnique?: any;
2651
3102
  default?: any;
3103
+ typeSchema?: string | undefined;
2652
3104
  uniqueName?: string | undefined;
2653
3105
  nullsNotDistinct?: boolean | undefined;
2654
3106
  name: string;
@@ -2673,21 +3125,22 @@ export declare const pgSchemaV4: import("zod").ZodObject<import("zod").extendSha
2673
3125
  }>;
2674
3126
  schema: string;
2675
3127
  }>;
3128
+ id: string;
3129
+ prevId: string;
3130
+ version: "4";
3131
+ dialect: "pg";
2676
3132
  schemas: Record<string, string>;
2677
3133
  enums: Record<string, {
2678
3134
  name: string;
2679
3135
  values: Record<string, string>;
2680
3136
  }>;
2681
3137
  }, {
2682
- id: string;
2683
- prevId: string;
2684
- version: "4";
2685
- dialect: "pg";
2686
3138
  tables: Record<string, {
2687
3139
  name: string;
2688
3140
  columns: Record<string, {
2689
3141
  isUnique?: any;
2690
3142
  default?: any;
3143
+ typeSchema?: string | undefined;
2691
3144
  uniqueName?: string | undefined;
2692
3145
  nullsNotDistinct?: boolean | undefined;
2693
3146
  name: string;
@@ -2712,13 +3165,17 @@ export declare const pgSchemaV4: import("zod").ZodObject<import("zod").extendSha
2712
3165
  }>;
2713
3166
  schema: string;
2714
3167
  }>;
3168
+ id: string;
3169
+ prevId: string;
3170
+ version: "4";
3171
+ dialect: "pg";
2715
3172
  schemas: Record<string, string>;
2716
3173
  enums: Record<string, {
2717
3174
  name: string;
2718
3175
  values: Record<string, string>;
2719
3176
  }>;
2720
3177
  }>;
2721
- export declare const pgSchema: import("zod").ZodObject<import("zod").extendShape<{
3178
+ export declare const pgSchemaV5: import("zod").ZodObject<import("zod").extendShape<{
2722
3179
  version: import("zod").ZodLiteral<"5">;
2723
3180
  dialect: import("zod").ZodLiteral<"pg">;
2724
3181
  tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
@@ -2727,6 +3184,7 @@ export declare const pgSchema: import("zod").ZodObject<import("zod").extendShape
2727
3184
  columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2728
3185
  name: import("zod").ZodString;
2729
3186
  type: import("zod").ZodString;
3187
+ typeSchema: import("zod").ZodOptional<import("zod").ZodString>;
2730
3188
  primaryKey: import("zod").ZodBoolean;
2731
3189
  notNull: import("zod").ZodBoolean;
2732
3190
  default: import("zod").ZodOptional<import("zod").ZodAny>;
@@ -2736,6 +3194,7 @@ export declare const pgSchema: import("zod").ZodObject<import("zod").extendShape
2736
3194
  }, "strict", import("zod").ZodTypeAny, {
2737
3195
  isUnique?: any;
2738
3196
  default?: any;
3197
+ typeSchema?: string | undefined;
2739
3198
  uniqueName?: string | undefined;
2740
3199
  nullsNotDistinct?: boolean | undefined;
2741
3200
  name: string;
@@ -2745,6 +3204,7 @@ export declare const pgSchema: import("zod").ZodObject<import("zod").extendShape
2745
3204
  }, {
2746
3205
  isUnique?: any;
2747
3206
  default?: any;
3207
+ typeSchema?: string | undefined;
2748
3208
  uniqueName?: string | undefined;
2749
3209
  nullsNotDistinct?: boolean | undefined;
2750
3210
  name: string;
@@ -2821,6 +3281,7 @@ export declare const pgSchema: import("zod").ZodObject<import("zod").extendShape
2821
3281
  columns: Record<string, {
2822
3282
  isUnique?: any;
2823
3283
  default?: any;
3284
+ typeSchema?: string | undefined;
2824
3285
  uniqueName?: string | undefined;
2825
3286
  nullsNotDistinct?: boolean | undefined;
2826
3287
  name: string;
@@ -2863,6 +3324,7 @@ export declare const pgSchema: import("zod").ZodObject<import("zod").extendShape
2863
3324
  columns: Record<string, {
2864
3325
  isUnique?: any;
2865
3326
  default?: any;
3327
+ typeSchema?: string | undefined;
2866
3328
  uniqueName?: string | undefined;
2867
3329
  nullsNotDistinct?: boolean | undefined;
2868
3330
  name: string;
@@ -2969,411 +3431,18 @@ export declare const pgSchema: import("zod").ZodObject<import("zod").extendShape
2969
3431
  columns: Record<string, {
2970
3432
  isArray?: boolean | undefined;
2971
3433
  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
- }, {
3434
+ rawType?: string | undefined;
3435
+ } | undefined>;
3436
+ } | undefined>;
3437
+ } | undefined;
3438
+ tables: Record<string, {
3373
3439
  name: string;
3374
3440
  columns: Record<string, {
3441
+ isUnique?: any;
3375
3442
  default?: any;
3376
- references?: string | undefined;
3443
+ typeSchema?: string | undefined;
3444
+ uniqueName?: string | undefined;
3445
+ nullsNotDistinct?: boolean | undefined;
3377
3446
  name: string;
3378
3447
  type: string;
3379
3448
  primaryKey: boolean;
@@ -3381,53 +3450,67 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
3381
3450
  }>;
3382
3451
  indexes: Record<string, {
3383
3452
  name: string;
3384
- columns: Record<string, {
3385
- name: string;
3386
- }>;
3453
+ columns: string[];
3387
3454
  isUnique: boolean;
3388
3455
  }>;
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;
3456
+ foreignKeys: Record<string, {
3457
+ onUpdate?: string | undefined;
3458
+ onDelete?: string | undefined;
3459
+ schemaTo?: string | undefined;
3407
3460
  name: string;
3408
- type: string;
3409
- primaryKey: boolean;
3410
- notNull: boolean;
3461
+ tableFrom: string;
3462
+ columnsFrom: string[];
3463
+ tableTo: string;
3464
+ columnsTo: string[];
3411
3465
  }>;
3412
- indexes: Record<string, {
3466
+ schema: string;
3467
+ compositePrimaryKeys: Record<string, {
3413
3468
  name: string;
3414
- columns: Record<string, {
3415
- name: string;
3416
- }>;
3417
- isUnique: boolean;
3469
+ columns: string[];
3470
+ }>;
3471
+ uniqueConstraints: Record<string, {
3472
+ name: string;
3473
+ columns: string[];
3474
+ nullsNotDistinct: boolean;
3418
3475
  }>;
3419
3476
  }>;
3477
+ id: string;
3478
+ prevId: string;
3479
+ version: "5";
3480
+ dialect: "pg";
3481
+ schemas: Record<string, string>;
3482
+ _meta: {
3483
+ columns: Record<string, string>;
3484
+ tables: Record<string, string>;
3485
+ schemas: Record<string, string>;
3486
+ };
3420
3487
  enums: Record<string, {
3421
3488
  name: string;
3422
3489
  values: Record<string, string>;
3423
3490
  }>;
3424
3491
  }, {
3425
- version: "2";
3492
+ internal?: {
3493
+ tables: Record<string, {
3494
+ columns: Record<string, {
3495
+ isArray?: boolean | undefined;
3496
+ dimensions?: number | undefined;
3497
+ rawType?: string | undefined;
3498
+ } | undefined>;
3499
+ } | undefined>;
3500
+ } | undefined;
3426
3501
  tables: Record<string, {
3502
+ uniqueConstraints?: Record<string, {
3503
+ name: string;
3504
+ columns: string[];
3505
+ nullsNotDistinct: boolean;
3506
+ }> | undefined;
3427
3507
  name: string;
3428
3508
  columns: Record<string, {
3509
+ isUnique?: any;
3429
3510
  default?: any;
3430
- references?: string | undefined;
3511
+ typeSchema?: string | undefined;
3512
+ uniqueName?: string | undefined;
3513
+ nullsNotDistinct?: boolean | undefined;
3431
3514
  name: string;
3432
3515
  type: string;
3433
3516
  primaryKey: boolean;
@@ -3435,24 +3518,50 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
3435
3518
  }>;
3436
3519
  indexes: Record<string, {
3437
3520
  name: string;
3438
- columns: Record<string, {
3439
- name: string;
3440
- }>;
3521
+ columns: string[];
3441
3522
  isUnique: boolean;
3442
3523
  }>;
3524
+ foreignKeys: Record<string, {
3525
+ onUpdate?: string | undefined;
3526
+ onDelete?: string | undefined;
3527
+ schemaTo?: string | undefined;
3528
+ name: string;
3529
+ tableFrom: string;
3530
+ columnsFrom: string[];
3531
+ tableTo: string;
3532
+ columnsTo: string[];
3533
+ }>;
3534
+ schema: string;
3535
+ compositePrimaryKeys: Record<string, {
3536
+ name: string;
3537
+ columns: string[];
3538
+ }>;
3443
3539
  }>;
3540
+ id: string;
3541
+ prevId: string;
3542
+ version: "5";
3543
+ dialect: "pg";
3544
+ schemas: Record<string, string>;
3545
+ _meta: {
3546
+ columns: Record<string, string>;
3547
+ tables: Record<string, string>;
3548
+ schemas: Record<string, string>;
3549
+ };
3444
3550
  enums: Record<string, {
3445
3551
  name: string;
3446
3552
  values: Record<string, string>;
3447
3553
  }>;
3448
- }>, import("zod").ZodObject<import("zod").extendShape<{
3449
- version: import("zod").ZodLiteral<"3">;
3554
+ }>;
3555
+ export declare const pgSchema: import("zod").ZodObject<import("zod").extendShape<{
3556
+ version: import("zod").ZodLiteral<"6">;
3450
3557
  dialect: import("zod").ZodLiteral<"pg">;
3451
3558
  tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3452
3559
  name: import("zod").ZodString;
3560
+ schema: import("zod").ZodString;
3453
3561
  columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3454
3562
  name: import("zod").ZodString;
3455
3563
  type: import("zod").ZodString;
3564
+ typeSchema: import("zod").ZodOptional<import("zod").ZodString>;
3456
3565
  primaryKey: import("zod").ZodBoolean;
3457
3566
  notNull: import("zod").ZodBoolean;
3458
3567
  default: import("zod").ZodOptional<import("zod").ZodAny>;
@@ -3462,6 +3571,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
3462
3571
  }, "strict", import("zod").ZodTypeAny, {
3463
3572
  isUnique?: any;
3464
3573
  default?: any;
3574
+ typeSchema?: string | undefined;
3465
3575
  uniqueName?: string | undefined;
3466
3576
  nullsNotDistinct?: boolean | undefined;
3467
3577
  name: string;
@@ -3471,6 +3581,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
3471
3581
  }, {
3472
3582
  isUnique?: any;
3473
3583
  default?: any;
3584
+ typeSchema?: string | undefined;
3474
3585
  uniqueName?: string | undefined;
3475
3586
  nullsNotDistinct?: boolean | undefined;
3476
3587
  name: string;
@@ -3519,11 +3630,35 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
3519
3630
  tableTo: string;
3520
3631
  columnsTo: string[];
3521
3632
  }>>;
3633
+ compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3634
+ name: import("zod").ZodString;
3635
+ columns: import("zod").ZodArray<import("zod").ZodString, "many">;
3636
+ }, "strict", import("zod").ZodTypeAny, {
3637
+ name: string;
3638
+ columns: string[];
3639
+ }, {
3640
+ name: string;
3641
+ columns: string[];
3642
+ }>>;
3643
+ uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3644
+ name: import("zod").ZodString;
3645
+ columns: import("zod").ZodArray<import("zod").ZodString, "many">;
3646
+ nullsNotDistinct: import("zod").ZodBoolean;
3647
+ }, "strict", import("zod").ZodTypeAny, {
3648
+ name: string;
3649
+ columns: string[];
3650
+ nullsNotDistinct: boolean;
3651
+ }, {
3652
+ name: string;
3653
+ columns: string[];
3654
+ nullsNotDistinct: boolean;
3655
+ }>>>;
3522
3656
  }, "strict", import("zod").ZodTypeAny, {
3523
3657
  name: string;
3524
3658
  columns: Record<string, {
3525
3659
  isUnique?: any;
3526
3660
  default?: any;
3661
+ typeSchema?: string | undefined;
3527
3662
  uniqueName?: string | undefined;
3528
3663
  nullsNotDistinct?: boolean | undefined;
3529
3664
  name: string;
@@ -3546,11 +3681,27 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
3546
3681
  tableTo: string;
3547
3682
  columnsTo: string[];
3548
3683
  }>;
3684
+ schema: string;
3685
+ compositePrimaryKeys: Record<string, {
3686
+ name: string;
3687
+ columns: string[];
3688
+ }>;
3689
+ uniqueConstraints: Record<string, {
3690
+ name: string;
3691
+ columns: string[];
3692
+ nullsNotDistinct: boolean;
3693
+ }>;
3549
3694
  }, {
3695
+ uniqueConstraints?: Record<string, {
3696
+ name: string;
3697
+ columns: string[];
3698
+ nullsNotDistinct: boolean;
3699
+ }> | undefined;
3550
3700
  name: string;
3551
3701
  columns: Record<string, {
3552
3702
  isUnique?: any;
3553
3703
  default?: any;
3704
+ typeSchema?: string | undefined;
3554
3705
  uniqueName?: string | undefined;
3555
3706
  nullsNotDistinct?: boolean | undefined;
3556
3707
  name: string;
@@ -3573,30 +3724,103 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
3573
3724
  tableTo: string;
3574
3725
  columnsTo: string[];
3575
3726
  }>;
3727
+ schema: string;
3728
+ compositePrimaryKeys: Record<string, {
3729
+ name: string;
3730
+ columns: string[];
3731
+ }>;
3576
3732
  }>>;
3577
3733
  enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3578
3734
  name: import("zod").ZodString;
3579
- values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
3735
+ schema: import("zod").ZodString;
3736
+ values: import("zod").ZodArray<import("zod").ZodString, "many">;
3580
3737
  }, "strict", import("zod").ZodTypeAny, {
3581
3738
  name: string;
3582
- values: Record<string, string>;
3739
+ values: string[];
3740
+ schema: string;
3583
3741
  }, {
3584
3742
  name: string;
3585
- values: Record<string, string>;
3743
+ values: string[];
3744
+ schema: string;
3745
+ }>>;
3746
+ schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
3747
+ _meta: import("zod").ZodObject<{
3748
+ schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
3749
+ tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
3750
+ columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
3751
+ }, "strip", import("zod").ZodTypeAny, {
3752
+ columns: Record<string, string>;
3753
+ tables: Record<string, string>;
3754
+ schemas: Record<string, string>;
3755
+ }, {
3756
+ columns: Record<string, string>;
3757
+ tables: Record<string, string>;
3758
+ schemas: Record<string, string>;
3759
+ }>;
3760
+ internal: import("zod").ZodOptional<import("zod").ZodObject<{
3761
+ tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodObject<{
3762
+ columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodObject<{
3763
+ isArray: import("zod").ZodOptional<import("zod").ZodBoolean>;
3764
+ dimensions: import("zod").ZodOptional<import("zod").ZodNumber>;
3765
+ rawType: import("zod").ZodOptional<import("zod").ZodString>;
3766
+ }, "strip", import("zod").ZodTypeAny, {
3767
+ isArray?: boolean | undefined;
3768
+ dimensions?: number | undefined;
3769
+ rawType?: string | undefined;
3770
+ }, {
3771
+ isArray?: boolean | undefined;
3772
+ dimensions?: number | undefined;
3773
+ rawType?: string | undefined;
3774
+ }>>>;
3775
+ }, "strip", import("zod").ZodTypeAny, {
3776
+ columns: Record<string, {
3777
+ isArray?: boolean | undefined;
3778
+ dimensions?: number | undefined;
3779
+ rawType?: string | undefined;
3780
+ } | undefined>;
3781
+ }, {
3782
+ columns: Record<string, {
3783
+ isArray?: boolean | undefined;
3784
+ dimensions?: number | undefined;
3785
+ rawType?: string | undefined;
3786
+ } | undefined>;
3787
+ }>>>;
3788
+ }, "strip", import("zod").ZodTypeAny, {
3789
+ tables: Record<string, {
3790
+ columns: Record<string, {
3791
+ isArray?: boolean | undefined;
3792
+ dimensions?: number | undefined;
3793
+ rawType?: string | undefined;
3794
+ } | undefined>;
3795
+ } | undefined>;
3796
+ }, {
3797
+ tables: Record<string, {
3798
+ columns: Record<string, {
3799
+ isArray?: boolean | undefined;
3800
+ dimensions?: number | undefined;
3801
+ rawType?: string | undefined;
3802
+ } | undefined>;
3803
+ } | undefined>;
3586
3804
  }>>;
3587
3805
  }, {
3588
3806
  id: import("zod").ZodString;
3589
3807
  prevId: import("zod").ZodString;
3590
3808
  }>, "strip", import("zod").ZodTypeAny, {
3591
- id: string;
3592
- prevId: string;
3593
- version: "3";
3594
- dialect: "pg";
3809
+ internal?: {
3810
+ tables: Record<string, {
3811
+ columns: Record<string, {
3812
+ isArray?: boolean | undefined;
3813
+ dimensions?: number | undefined;
3814
+ rawType?: string | undefined;
3815
+ } | undefined>;
3816
+ } | undefined>;
3817
+ } | undefined;
3595
3818
  tables: Record<string, {
3596
3819
  name: string;
3597
3820
  columns: Record<string, {
3598
3821
  isUnique?: any;
3599
3822
  default?: any;
3823
+ typeSchema?: string | undefined;
3600
3824
  uniqueName?: string | undefined;
3601
3825
  nullsNotDistinct?: boolean | undefined;
3602
3826
  name: string;
@@ -3619,21 +3843,53 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
3619
3843
  tableTo: string;
3620
3844
  columnsTo: string[];
3621
3845
  }>;
3846
+ schema: string;
3847
+ compositePrimaryKeys: Record<string, {
3848
+ name: string;
3849
+ columns: string[];
3850
+ }>;
3851
+ uniqueConstraints: Record<string, {
3852
+ name: string;
3853
+ columns: string[];
3854
+ nullsNotDistinct: boolean;
3855
+ }>;
3622
3856
  }>;
3857
+ id: string;
3858
+ prevId: string;
3859
+ version: "6";
3860
+ dialect: "pg";
3861
+ schemas: Record<string, string>;
3862
+ _meta: {
3863
+ columns: Record<string, string>;
3864
+ tables: Record<string, string>;
3865
+ schemas: Record<string, string>;
3866
+ };
3623
3867
  enums: Record<string, {
3624
3868
  name: string;
3625
- values: Record<string, string>;
3869
+ values: string[];
3870
+ schema: string;
3626
3871
  }>;
3627
3872
  }, {
3628
- id: string;
3629
- prevId: string;
3630
- version: "3";
3631
- dialect: "pg";
3873
+ internal?: {
3874
+ tables: Record<string, {
3875
+ columns: Record<string, {
3876
+ isArray?: boolean | undefined;
3877
+ dimensions?: number | undefined;
3878
+ rawType?: string | undefined;
3879
+ } | undefined>;
3880
+ } | undefined>;
3881
+ } | undefined;
3632
3882
  tables: Record<string, {
3883
+ uniqueConstraints?: Record<string, {
3884
+ name: string;
3885
+ columns: string[];
3886
+ nullsNotDistinct: boolean;
3887
+ }> | undefined;
3633
3888
  name: string;
3634
3889
  columns: Record<string, {
3635
3890
  isUnique?: any;
3636
3891
  default?: any;
3892
+ typeSchema?: string | undefined;
3637
3893
  uniqueName?: string | undefined;
3638
3894
  nullsNotDistinct?: boolean | undefined;
3639
3895
  name: string;
@@ -3656,13 +3912,50 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
3656
3912
  tableTo: string;
3657
3913
  columnsTo: string[];
3658
3914
  }>;
3915
+ schema: string;
3916
+ compositePrimaryKeys: Record<string, {
3917
+ name: string;
3918
+ columns: string[];
3919
+ }>;
3659
3920
  }>;
3921
+ id: string;
3922
+ prevId: string;
3923
+ version: "6";
3924
+ dialect: "pg";
3925
+ schemas: Record<string, string>;
3926
+ _meta: {
3927
+ columns: Record<string, string>;
3928
+ tables: Record<string, string>;
3929
+ schemas: Record<string, string>;
3930
+ };
3660
3931
  enums: Record<string, {
3661
3932
  name: string;
3662
- values: Record<string, string>;
3933
+ values: string[];
3934
+ schema: string;
3663
3935
  }>;
3664
- }>, import("zod").ZodObject<import("zod").extendShape<{
3665
- version: import("zod").ZodLiteral<"4">;
3936
+ }>;
3937
+ export type Enum = TypeOf<typeof enumSchema>;
3938
+ export type Column = TypeOf<typeof column>;
3939
+ export type TableV3 = TypeOf<typeof tableV3>;
3940
+ export type TableV4 = TypeOf<typeof tableV4>;
3941
+ export type Table = TypeOf<typeof table>;
3942
+ export type PgSchema = TypeOf<typeof pgSchema>;
3943
+ export type PgSchemaInternal = TypeOf<typeof pgSchemaInternal>;
3944
+ export type PgSchemaExternal = TypeOf<typeof pgSchemaExternal>;
3945
+ export type PgSchemaSquashed = TypeOf<typeof pgSchemaSquashed>;
3946
+ export type PgSchemaSquashedV4 = TypeOf<typeof pgSchemaSquashedV4>;
3947
+ export type Index = TypeOf<typeof index>;
3948
+ export type ForeignKey = TypeOf<typeof fk>;
3949
+ export type PrimaryKey = TypeOf<typeof compositePK>;
3950
+ export type UniqueConstraint = TypeOf<typeof uniqueConstraint>;
3951
+ export type PgKitInternals = TypeOf<typeof kitInternals>;
3952
+ export type PgSchemaV1 = TypeOf<typeof pgSchemaV1>;
3953
+ export type PgSchemaV2 = TypeOf<typeof pgSchemaV2>;
3954
+ export type PgSchemaV3 = TypeOf<typeof pgSchemaV3>;
3955
+ export type PgSchemaV4 = TypeOf<typeof pgSchemaV4>;
3956
+ export type PgSchemaV5 = TypeOf<typeof pgSchemaV5>;
3957
+ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import("zod").ZodObject<import("zod").extendShape<{
3958
+ version: import("zod").ZodLiteral<"5">;
3666
3959
  dialect: import("zod").ZodLiteral<"pg">;
3667
3960
  tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3668
3961
  name: import("zod").ZodString;
@@ -3670,6 +3963,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
3670
3963
  columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3671
3964
  name: import("zod").ZodString;
3672
3965
  type: import("zod").ZodString;
3966
+ typeSchema: import("zod").ZodOptional<import("zod").ZodString>;
3673
3967
  primaryKey: import("zod").ZodBoolean;
3674
3968
  notNull: import("zod").ZodBoolean;
3675
3969
  default: import("zod").ZodOptional<import("zod").ZodAny>;
@@ -3679,6 +3973,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
3679
3973
  }, "strict", import("zod").ZodTypeAny, {
3680
3974
  isUnique?: any;
3681
3975
  default?: any;
3976
+ typeSchema?: string | undefined;
3682
3977
  uniqueName?: string | undefined;
3683
3978
  nullsNotDistinct?: boolean | undefined;
3684
3979
  name: string;
@@ -3688,6 +3983,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
3688
3983
  }, {
3689
3984
  isUnique?: any;
3690
3985
  default?: any;
3986
+ typeSchema?: string | undefined;
3691
3987
  uniqueName?: string | undefined;
3692
3988
  nullsNotDistinct?: boolean | undefined;
3693
3989
  name: string;
@@ -3736,11 +4032,35 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
3736
4032
  tableTo: string;
3737
4033
  columnsTo: string[];
3738
4034
  }>>;
4035
+ compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
4036
+ name: import("zod").ZodString;
4037
+ columns: import("zod").ZodArray<import("zod").ZodString, "many">;
4038
+ }, "strict", import("zod").ZodTypeAny, {
4039
+ name: string;
4040
+ columns: string[];
4041
+ }, {
4042
+ name: string;
4043
+ columns: string[];
4044
+ }>>;
4045
+ uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
4046
+ name: import("zod").ZodString;
4047
+ columns: import("zod").ZodArray<import("zod").ZodString, "many">;
4048
+ nullsNotDistinct: import("zod").ZodBoolean;
4049
+ }, "strict", import("zod").ZodTypeAny, {
4050
+ name: string;
4051
+ columns: string[];
4052
+ nullsNotDistinct: boolean;
4053
+ }, {
4054
+ name: string;
4055
+ columns: string[];
4056
+ nullsNotDistinct: boolean;
4057
+ }>>>;
3739
4058
  }, "strict", import("zod").ZodTypeAny, {
3740
4059
  name: string;
3741
4060
  columns: Record<string, {
3742
4061
  isUnique?: any;
3743
4062
  default?: any;
4063
+ typeSchema?: string | undefined;
3744
4064
  uniqueName?: string | undefined;
3745
4065
  nullsNotDistinct?: boolean | undefined;
3746
4066
  name: string;
@@ -3764,11 +4084,26 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
3764
4084
  columnsTo: string[];
3765
4085
  }>;
3766
4086
  schema: string;
4087
+ compositePrimaryKeys: Record<string, {
4088
+ name: string;
4089
+ columns: string[];
4090
+ }>;
4091
+ uniqueConstraints: Record<string, {
4092
+ name: string;
4093
+ columns: string[];
4094
+ nullsNotDistinct: boolean;
4095
+ }>;
3767
4096
  }, {
4097
+ uniqueConstraints?: Record<string, {
4098
+ name: string;
4099
+ columns: string[];
4100
+ nullsNotDistinct: boolean;
4101
+ }> | undefined;
3768
4102
  name: string;
3769
4103
  columns: Record<string, {
3770
4104
  isUnique?: any;
3771
4105
  default?: any;
4106
+ typeSchema?: string | undefined;
3772
4107
  uniqueName?: string | undefined;
3773
4108
  nullsNotDistinct?: boolean | undefined;
3774
4109
  name: string;
@@ -3792,6 +4127,10 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
3792
4127
  columnsTo: string[];
3793
4128
  }>;
3794
4129
  schema: string;
4130
+ compositePrimaryKeys: Record<string, {
4131
+ name: string;
4132
+ columns: string[];
4133
+ }>;
3795
4134
  }>>;
3796
4135
  enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3797
4136
  name: import("zod").ZodString;
@@ -3804,19 +4143,83 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
3804
4143
  values: Record<string, string>;
3805
4144
  }>>;
3806
4145
  schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
4146
+ _meta: import("zod").ZodObject<{
4147
+ schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
4148
+ tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
4149
+ columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
4150
+ }, "strip", import("zod").ZodTypeAny, {
4151
+ columns: Record<string, string>;
4152
+ tables: Record<string, string>;
4153
+ schemas: Record<string, string>;
4154
+ }, {
4155
+ columns: Record<string, string>;
4156
+ tables: Record<string, string>;
4157
+ schemas: Record<string, string>;
4158
+ }>;
4159
+ internal: import("zod").ZodOptional<import("zod").ZodObject<{
4160
+ tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodObject<{
4161
+ columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodObject<{
4162
+ isArray: import("zod").ZodOptional<import("zod").ZodBoolean>;
4163
+ dimensions: import("zod").ZodOptional<import("zod").ZodNumber>;
4164
+ rawType: import("zod").ZodOptional<import("zod").ZodString>;
4165
+ }, "strip", import("zod").ZodTypeAny, {
4166
+ isArray?: boolean | undefined;
4167
+ dimensions?: number | undefined;
4168
+ rawType?: string | undefined;
4169
+ }, {
4170
+ isArray?: boolean | undefined;
4171
+ dimensions?: number | undefined;
4172
+ rawType?: string | undefined;
4173
+ }>>>;
4174
+ }, "strip", import("zod").ZodTypeAny, {
4175
+ columns: Record<string, {
4176
+ isArray?: boolean | undefined;
4177
+ dimensions?: number | undefined;
4178
+ rawType?: string | undefined;
4179
+ } | undefined>;
4180
+ }, {
4181
+ columns: Record<string, {
4182
+ isArray?: boolean | undefined;
4183
+ dimensions?: number | undefined;
4184
+ rawType?: string | undefined;
4185
+ } | undefined>;
4186
+ }>>>;
4187
+ }, "strip", import("zod").ZodTypeAny, {
4188
+ tables: Record<string, {
4189
+ columns: Record<string, {
4190
+ isArray?: boolean | undefined;
4191
+ dimensions?: number | undefined;
4192
+ rawType?: string | undefined;
4193
+ } | undefined>;
4194
+ } | undefined>;
4195
+ }, {
4196
+ tables: Record<string, {
4197
+ columns: Record<string, {
4198
+ isArray?: boolean | undefined;
4199
+ dimensions?: number | undefined;
4200
+ rawType?: string | undefined;
4201
+ } | undefined>;
4202
+ } | undefined>;
4203
+ }>>;
3807
4204
  }, {
3808
4205
  id: import("zod").ZodString;
3809
4206
  prevId: import("zod").ZodString;
3810
4207
  }>, "strip", import("zod").ZodTypeAny, {
3811
- id: string;
3812
- prevId: string;
3813
- version: "4";
3814
- dialect: "pg";
4208
+ internal?: {
4209
+ tables: Record<string, {
4210
+ columns: Record<string, {
4211
+ isArray?: boolean | undefined;
4212
+ dimensions?: number | undefined;
4213
+ rawType?: string | undefined;
4214
+ } | undefined>;
4215
+ } | undefined>;
4216
+ } | undefined;
3815
4217
  tables: Record<string, {
3816
4218
  name: string;
3817
4219
  columns: Record<string, {
3818
4220
  isUnique?: any;
3819
4221
  default?: any;
4222
+ typeSchema?: string | undefined;
3820
4223
  uniqueName?: string | undefined;
3821
4224
  nullsNotDistinct?: boolean | undefined;
3822
4225
  name: string;
@@ -3840,22 +4243,51 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
3840
4243
  columnsTo: string[];
3841
4244
  }>;
3842
4245
  schema: string;
4246
+ compositePrimaryKeys: Record<string, {
4247
+ name: string;
4248
+ columns: string[];
4249
+ }>;
4250
+ uniqueConstraints: Record<string, {
4251
+ name: string;
4252
+ columns: string[];
4253
+ nullsNotDistinct: boolean;
4254
+ }>;
3843
4255
  }>;
4256
+ id: string;
4257
+ prevId: string;
4258
+ version: "5";
4259
+ dialect: "pg";
3844
4260
  schemas: Record<string, string>;
4261
+ _meta: {
4262
+ columns: Record<string, string>;
4263
+ tables: Record<string, string>;
4264
+ schemas: Record<string, string>;
4265
+ };
3845
4266
  enums: Record<string, {
3846
4267
  name: string;
3847
4268
  values: Record<string, string>;
3848
4269
  }>;
3849
4270
  }, {
3850
- id: string;
3851
- prevId: string;
3852
- version: "4";
3853
- dialect: "pg";
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;
3854
4280
  tables: Record<string, {
4281
+ uniqueConstraints?: Record<string, {
4282
+ name: string;
4283
+ columns: string[];
4284
+ nullsNotDistinct: boolean;
4285
+ }> | undefined;
3855
4286
  name: string;
3856
4287
  columns: Record<string, {
3857
4288
  isUnique?: any;
3858
4289
  default?: any;
4290
+ typeSchema?: string | undefined;
3859
4291
  uniqueName?: string | undefined;
3860
4292
  nullsNotDistinct?: boolean | undefined;
3861
4293
  name: string;
@@ -3879,14 +4311,27 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
3879
4311
  columnsTo: string[];
3880
4312
  }>;
3881
4313
  schema: string;
4314
+ compositePrimaryKeys: Record<string, {
4315
+ name: string;
4316
+ columns: string[];
4317
+ }>;
3882
4318
  }>;
4319
+ id: string;
4320
+ prevId: string;
4321
+ version: "5";
4322
+ dialect: "pg";
3883
4323
  schemas: Record<string, string>;
4324
+ _meta: {
4325
+ columns: Record<string, string>;
4326
+ tables: Record<string, string>;
4327
+ schemas: Record<string, string>;
4328
+ };
3884
4329
  enums: Record<string, {
3885
4330
  name: string;
3886
4331
  values: Record<string, string>;
3887
4332
  }>;
3888
4333
  }>, import("zod").ZodObject<import("zod").extendShape<{
3889
- version: import("zod").ZodLiteral<"5">;
4334
+ version: import("zod").ZodLiteral<"6">;
3890
4335
  dialect: import("zod").ZodLiteral<"pg">;
3891
4336
  tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3892
4337
  name: import("zod").ZodString;
@@ -3894,6 +4339,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
3894
4339
  columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3895
4340
  name: import("zod").ZodString;
3896
4341
  type: import("zod").ZodString;
4342
+ typeSchema: import("zod").ZodOptional<import("zod").ZodString>;
3897
4343
  primaryKey: import("zod").ZodBoolean;
3898
4344
  notNull: import("zod").ZodBoolean;
3899
4345
  default: import("zod").ZodOptional<import("zod").ZodAny>;
@@ -3903,6 +4349,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
3903
4349
  }, "strict", import("zod").ZodTypeAny, {
3904
4350
  isUnique?: any;
3905
4351
  default?: any;
4352
+ typeSchema?: string | undefined;
3906
4353
  uniqueName?: string | undefined;
3907
4354
  nullsNotDistinct?: boolean | undefined;
3908
4355
  name: string;
@@ -3912,6 +4359,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
3912
4359
  }, {
3913
4360
  isUnique?: any;
3914
4361
  default?: any;
4362
+ typeSchema?: string | undefined;
3915
4363
  uniqueName?: string | undefined;
3916
4364
  nullsNotDistinct?: boolean | undefined;
3917
4365
  name: string;
@@ -3988,6 +4436,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
3988
4436
  columns: Record<string, {
3989
4437
  isUnique?: any;
3990
4438
  default?: any;
4439
+ typeSchema?: string | undefined;
3991
4440
  uniqueName?: string | undefined;
3992
4441
  nullsNotDistinct?: boolean | undefined;
3993
4442
  name: string;
@@ -4030,6 +4479,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
4030
4479
  columns: Record<string, {
4031
4480
  isUnique?: any;
4032
4481
  default?: any;
4482
+ typeSchema?: string | undefined;
4033
4483
  uniqueName?: string | undefined;
4034
4484
  nullsNotDistinct?: boolean | undefined;
4035
4485
  name: string;
@@ -4060,13 +4510,16 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
4060
4510
  }>>;
4061
4511
  enums: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
4062
4512
  name: import("zod").ZodString;
4063
- values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
4513
+ schema: import("zod").ZodString;
4514
+ values: import("zod").ZodArray<import("zod").ZodString, "many">;
4064
4515
  }, "strict", import("zod").ZodTypeAny, {
4065
4516
  name: string;
4066
- values: Record<string, string>;
4517
+ values: string[];
4518
+ schema: string;
4067
4519
  }, {
4068
4520
  name: string;
4069
- values: Record<string, string>;
4521
+ values: string[];
4522
+ schema: string;
4070
4523
  }>>;
4071
4524
  schemas: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
4072
4525
  _meta: import("zod").ZodObject<{
@@ -4140,15 +4593,12 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
4140
4593
  } | undefined>;
4141
4594
  } | undefined>;
4142
4595
  } | undefined;
4143
- id: string;
4144
- prevId: string;
4145
- version: "5";
4146
- dialect: "pg";
4147
4596
  tables: Record<string, {
4148
4597
  name: string;
4149
4598
  columns: Record<string, {
4150
4599
  isUnique?: any;
4151
4600
  default?: any;
4601
+ typeSchema?: string | undefined;
4152
4602
  uniqueName?: string | undefined;
4153
4603
  nullsNotDistinct?: boolean | undefined;
4154
4604
  name: string;
@@ -4182,6 +4632,10 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
4182
4632
  nullsNotDistinct: boolean;
4183
4633
  }>;
4184
4634
  }>;
4635
+ id: string;
4636
+ prevId: string;
4637
+ version: "6";
4638
+ dialect: "pg";
4185
4639
  schemas: Record<string, string>;
4186
4640
  _meta: {
4187
4641
  columns: Record<string, string>;
@@ -4190,7 +4644,8 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
4190
4644
  };
4191
4645
  enums: Record<string, {
4192
4646
  name: string;
4193
- values: Record<string, string>;
4647
+ values: string[];
4648
+ schema: string;
4194
4649
  }>;
4195
4650
  }, {
4196
4651
  internal?: {
@@ -4202,10 +4657,6 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
4202
4657
  } | undefined>;
4203
4658
  } | undefined>;
4204
4659
  } | undefined;
4205
- id: string;
4206
- prevId: string;
4207
- version: "5";
4208
- dialect: "pg";
4209
4660
  tables: Record<string, {
4210
4661
  uniqueConstraints?: Record<string, {
4211
4662
  name: string;
@@ -4216,6 +4667,7 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
4216
4667
  columns: Record<string, {
4217
4668
  isUnique?: any;
4218
4669
  default?: any;
4670
+ typeSchema?: string | undefined;
4219
4671
  uniqueName?: string | undefined;
4220
4672
  nullsNotDistinct?: boolean | undefined;
4221
4673
  name: string;
@@ -4244,6 +4696,10 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
4244
4696
  columns: string[];
4245
4697
  }>;
4246
4698
  }>;
4699
+ id: string;
4700
+ prevId: string;
4701
+ version: "6";
4702
+ dialect: "pg";
4247
4703
  schemas: Record<string, string>;
4248
4704
  _meta: {
4249
4705
  columns: Record<string, string>;
@@ -4252,7 +4708,8 @@ export declare const backwardCompatiblePgSchema: import("zod").ZodUnion<[import(
4252
4708
  };
4253
4709
  enums: Record<string, {
4254
4710
  name: string;
4255
- values: Record<string, string>;
4711
+ values: string[];
4712
+ schema: string;
4256
4713
  }>;
4257
4714
  }>]>;
4258
4715
  export declare const PgSquasher: {
@@ -4277,15 +4734,12 @@ export declare const dryPg: {
4277
4734
  } | undefined>;
4278
4735
  } | undefined>;
4279
4736
  } | undefined;
4280
- id: string;
4281
- prevId: string;
4282
- version: "5";
4283
- dialect: "pg";
4284
4737
  tables: Record<string, {
4285
4738
  name: string;
4286
4739
  columns: Record<string, {
4287
4740
  isUnique?: any;
4288
4741
  default?: any;
4742
+ typeSchema?: string | undefined;
4289
4743
  uniqueName?: string | undefined;
4290
4744
  nullsNotDistinct?: boolean | undefined;
4291
4745
  name: string;
@@ -4319,6 +4773,10 @@ export declare const dryPg: {
4319
4773
  nullsNotDistinct: boolean;
4320
4774
  }>;
4321
4775
  }>;
4776
+ id: string;
4777
+ prevId: string;
4778
+ version: "6";
4779
+ dialect: "pg";
4322
4780
  schemas: Record<string, string>;
4323
4781
  _meta: {
4324
4782
  columns: Record<string, string>;
@@ -4327,7 +4785,8 @@ export declare const dryPg: {
4327
4785
  };
4328
4786
  enums: Record<string, {
4329
4787
  name: string;
4330
- values: Record<string, string>;
4788
+ values: string[];
4789
+ schema: string;
4331
4790
  }>;
4332
4791
  };
4333
4792
  export {};