drizzle-kit 0.25.0-1f15bfd → 0.25.0-20acc2f

Sign up to get free protection for your applications and to get access to all the features.
package/api.d.mts CHANGED
@@ -120,6 +120,16 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
120
120
  name: string;
121
121
  columns: string[];
122
122
  }>>>;
123
+ checkConstraint: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
124
+ name: zod.ZodString;
125
+ value: zod.ZodString;
126
+ }, "strict", zod.ZodTypeAny, {
127
+ name: string;
128
+ value: string;
129
+ }, {
130
+ name: string;
131
+ value: string;
132
+ }>>>;
123
133
  }, "strict", zod.ZodTypeAny, {
124
134
  name: string;
125
135
  columns: Record<string, {
@@ -160,6 +170,10 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
160
170
  name: string;
161
171
  columns: string[];
162
172
  }>;
173
+ checkConstraint: Record<string, {
174
+ name: string;
175
+ value: string;
176
+ }>;
163
177
  }, {
164
178
  name: string;
165
179
  columns: Record<string, {
@@ -200,6 +214,10 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
200
214
  name: string;
201
215
  columns: string[];
202
216
  }> | undefined;
217
+ checkConstraint?: Record<string, {
218
+ name: string;
219
+ value: string;
220
+ }> | undefined;
203
221
  }>>;
204
222
  _meta: zod.ZodObject<{
205
223
  tables: zod.ZodRecord<zod.ZodString, zod.ZodString>;
@@ -313,6 +331,10 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
313
331
  name: string;
314
332
  columns: string[];
315
333
  }>;
334
+ checkConstraint: Record<string, {
335
+ name: string;
336
+ value: string;
337
+ }>;
316
338
  }>;
317
339
  id: string;
318
340
  prevId: string;
@@ -375,6 +397,10 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
375
397
  name: string;
376
398
  columns: string[];
377
399
  }> | undefined;
400
+ checkConstraint?: Record<string, {
401
+ name: string;
402
+ value: string;
403
+ }> | undefined;
378
404
  }>;
379
405
  id: string;
380
406
  prevId: string;
@@ -614,6 +640,16 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
614
640
  columns: string[];
615
641
  nullsNotDistinct: boolean;
616
642
  }>>>;
643
+ checkConstraints: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
644
+ name: zod.ZodString;
645
+ value: zod.ZodString;
646
+ }, "strict", zod.ZodTypeAny, {
647
+ name: string;
648
+ value: string;
649
+ }, {
650
+ name: string;
651
+ value: string;
652
+ }>>>;
617
653
  }, "strict", zod.ZodTypeAny, {
618
654
  name: string;
619
655
  columns: Record<string, {
@@ -677,6 +713,10 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
677
713
  columns: string[];
678
714
  nullsNotDistinct: boolean;
679
715
  }>;
716
+ checkConstraints: Record<string, {
717
+ name: string;
718
+ value: string;
719
+ }>;
680
720
  }, {
681
721
  name: string;
682
722
  columns: Record<string, {
@@ -740,6 +780,10 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
740
780
  columns: string[];
741
781
  nullsNotDistinct: boolean;
742
782
  }> | undefined;
783
+ checkConstraints?: Record<string, {
784
+ name: string;
785
+ value: string;
786
+ }> | undefined;
743
787
  }>>;
744
788
  enums: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
745
789
  name: zod.ZodString;
@@ -915,6 +959,10 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
915
959
  columns: string[];
916
960
  nullsNotDistinct: boolean;
917
961
  }>;
962
+ checkConstraints: Record<string, {
963
+ name: string;
964
+ value: string;
965
+ }>;
918
966
  }>;
919
967
  id: string;
920
968
  prevId: string;
@@ -1015,6 +1063,10 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1015
1063
  columns: string[];
1016
1064
  nullsNotDistinct: boolean;
1017
1065
  }> | undefined;
1066
+ checkConstraints?: Record<string, {
1067
+ name: string;
1068
+ value: string;
1069
+ }> | undefined;
1018
1070
  }>;
1019
1071
  id: string;
1020
1072
  prevId: string;
@@ -1160,6 +1212,16 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
1160
1212
  name: string;
1161
1213
  columns: string[];
1162
1214
  }>>>;
1215
+ checkConstraints: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
1216
+ name: zod.ZodString;
1217
+ value: zod.ZodString;
1218
+ }, "strict", zod.ZodTypeAny, {
1219
+ name: string;
1220
+ value: string;
1221
+ }, {
1222
+ name: string;
1223
+ value: string;
1224
+ }>>>;
1163
1225
  }, "strict", zod.ZodTypeAny, {
1164
1226
  name: string;
1165
1227
  columns: Record<string, {
@@ -1197,6 +1259,10 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
1197
1259
  name: string;
1198
1260
  columns: string[];
1199
1261
  }>;
1262
+ checkConstraints: Record<string, {
1263
+ name: string;
1264
+ value: string;
1265
+ }>;
1200
1266
  }, {
1201
1267
  name: string;
1202
1268
  columns: Record<string, {
@@ -1234,6 +1300,10 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
1234
1300
  name: string;
1235
1301
  columns: string[];
1236
1302
  }> | undefined;
1303
+ checkConstraints?: Record<string, {
1304
+ name: string;
1305
+ value: string;
1306
+ }> | undefined;
1237
1307
  }>>;
1238
1308
  enums: zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>;
1239
1309
  _meta: zod.ZodObject<{
@@ -1318,6 +1388,10 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
1318
1388
  name: string;
1319
1389
  columns: string[];
1320
1390
  }>;
1391
+ checkConstraints: Record<string, {
1392
+ name: string;
1393
+ value: string;
1394
+ }>;
1321
1395
  }>;
1322
1396
  id: string;
1323
1397
  prevId: string;
@@ -1373,6 +1447,10 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
1373
1447
  name: string;
1374
1448
  columns: string[];
1375
1449
  }> | undefined;
1450
+ checkConstraints?: Record<string, {
1451
+ name: string;
1452
+ value: string;
1453
+ }> | undefined;
1376
1454
  }>;
1377
1455
  id: string;
1378
1456
  prevId: string;
@@ -1486,6 +1564,10 @@ declare const upPgSnapshot: (snapshot: Record<string, unknown>) => {
1486
1564
  columns: string[];
1487
1565
  nullsNotDistinct: boolean;
1488
1566
  }>;
1567
+ checkConstraints: Record<string, {
1568
+ value: string;
1569
+ name: string;
1570
+ }>;
1489
1571
  }>;
1490
1572
  enums: Record<string, {
1491
1573
  values: string[];
package/api.d.ts CHANGED
@@ -120,6 +120,16 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
120
120
  name: string;
121
121
  columns: string[];
122
122
  }>>>;
123
+ checkConstraint: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
124
+ name: zod.ZodString;
125
+ value: zod.ZodString;
126
+ }, "strict", zod.ZodTypeAny, {
127
+ name: string;
128
+ value: string;
129
+ }, {
130
+ name: string;
131
+ value: string;
132
+ }>>>;
123
133
  }, "strict", zod.ZodTypeAny, {
124
134
  name: string;
125
135
  columns: Record<string, {
@@ -160,6 +170,10 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
160
170
  name: string;
161
171
  columns: string[];
162
172
  }>;
173
+ checkConstraint: Record<string, {
174
+ name: string;
175
+ value: string;
176
+ }>;
163
177
  }, {
164
178
  name: string;
165
179
  columns: Record<string, {
@@ -200,6 +214,10 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
200
214
  name: string;
201
215
  columns: string[];
202
216
  }> | undefined;
217
+ checkConstraint?: Record<string, {
218
+ name: string;
219
+ value: string;
220
+ }> | undefined;
203
221
  }>>;
204
222
  _meta: zod.ZodObject<{
205
223
  tables: zod.ZodRecord<zod.ZodString, zod.ZodString>;
@@ -313,6 +331,10 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
313
331
  name: string;
314
332
  columns: string[];
315
333
  }>;
334
+ checkConstraint: Record<string, {
335
+ name: string;
336
+ value: string;
337
+ }>;
316
338
  }>;
317
339
  id: string;
318
340
  prevId: string;
@@ -375,6 +397,10 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
375
397
  name: string;
376
398
  columns: string[];
377
399
  }> | undefined;
400
+ checkConstraint?: Record<string, {
401
+ name: string;
402
+ value: string;
403
+ }> | undefined;
378
404
  }>;
379
405
  id: string;
380
406
  prevId: string;
@@ -614,6 +640,16 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
614
640
  columns: string[];
615
641
  nullsNotDistinct: boolean;
616
642
  }>>>;
643
+ checkConstraints: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
644
+ name: zod.ZodString;
645
+ value: zod.ZodString;
646
+ }, "strict", zod.ZodTypeAny, {
647
+ name: string;
648
+ value: string;
649
+ }, {
650
+ name: string;
651
+ value: string;
652
+ }>>>;
617
653
  }, "strict", zod.ZodTypeAny, {
618
654
  name: string;
619
655
  columns: Record<string, {
@@ -677,6 +713,10 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
677
713
  columns: string[];
678
714
  nullsNotDistinct: boolean;
679
715
  }>;
716
+ checkConstraints: Record<string, {
717
+ name: string;
718
+ value: string;
719
+ }>;
680
720
  }, {
681
721
  name: string;
682
722
  columns: Record<string, {
@@ -740,6 +780,10 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
740
780
  columns: string[];
741
781
  nullsNotDistinct: boolean;
742
782
  }> | undefined;
783
+ checkConstraints?: Record<string, {
784
+ name: string;
785
+ value: string;
786
+ }> | undefined;
743
787
  }>>;
744
788
  enums: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
745
789
  name: zod.ZodString;
@@ -915,6 +959,10 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
915
959
  columns: string[];
916
960
  nullsNotDistinct: boolean;
917
961
  }>;
962
+ checkConstraints: Record<string, {
963
+ name: string;
964
+ value: string;
965
+ }>;
918
966
  }>;
919
967
  id: string;
920
968
  prevId: string;
@@ -1015,6 +1063,10 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1015
1063
  columns: string[];
1016
1064
  nullsNotDistinct: boolean;
1017
1065
  }> | undefined;
1066
+ checkConstraints?: Record<string, {
1067
+ name: string;
1068
+ value: string;
1069
+ }> | undefined;
1018
1070
  }>;
1019
1071
  id: string;
1020
1072
  prevId: string;
@@ -1160,6 +1212,16 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
1160
1212
  name: string;
1161
1213
  columns: string[];
1162
1214
  }>>>;
1215
+ checkConstraints: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
1216
+ name: zod.ZodString;
1217
+ value: zod.ZodString;
1218
+ }, "strict", zod.ZodTypeAny, {
1219
+ name: string;
1220
+ value: string;
1221
+ }, {
1222
+ name: string;
1223
+ value: string;
1224
+ }>>>;
1163
1225
  }, "strict", zod.ZodTypeAny, {
1164
1226
  name: string;
1165
1227
  columns: Record<string, {
@@ -1197,6 +1259,10 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
1197
1259
  name: string;
1198
1260
  columns: string[];
1199
1261
  }>;
1262
+ checkConstraints: Record<string, {
1263
+ name: string;
1264
+ value: string;
1265
+ }>;
1200
1266
  }, {
1201
1267
  name: string;
1202
1268
  columns: Record<string, {
@@ -1234,6 +1300,10 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
1234
1300
  name: string;
1235
1301
  columns: string[];
1236
1302
  }> | undefined;
1303
+ checkConstraints?: Record<string, {
1304
+ name: string;
1305
+ value: string;
1306
+ }> | undefined;
1237
1307
  }>>;
1238
1308
  enums: zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>;
1239
1309
  _meta: zod.ZodObject<{
@@ -1318,6 +1388,10 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
1318
1388
  name: string;
1319
1389
  columns: string[];
1320
1390
  }>;
1391
+ checkConstraints: Record<string, {
1392
+ name: string;
1393
+ value: string;
1394
+ }>;
1321
1395
  }>;
1322
1396
  id: string;
1323
1397
  prevId: string;
@@ -1373,6 +1447,10 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
1373
1447
  name: string;
1374
1448
  columns: string[];
1375
1449
  }> | undefined;
1450
+ checkConstraints?: Record<string, {
1451
+ name: string;
1452
+ value: string;
1453
+ }> | undefined;
1376
1454
  }>;
1377
1455
  id: string;
1378
1456
  prevId: string;
@@ -1486,6 +1564,10 @@ declare const upPgSnapshot: (snapshot: Record<string, unknown>) => {
1486
1564
  columns: string[];
1487
1565
  nullsNotDistinct: boolean;
1488
1566
  }>;
1567
+ checkConstraints: Record<string, {
1568
+ value: string;
1569
+ name: string;
1570
+ }>;
1489
1571
  }>;
1490
1572
  enums: Record<string, {
1491
1573
  values: string[];