drizzle-kit 0.24.2-ff1dcd9 → 0.25.0-178591
Sign up to get free protection for your applications and to get access to all the features.
- package/api.d.mts +82 -0
- package/api.d.ts +82 -0
- package/api.js +88561 -14064
- package/api.mjs +88558 -14064
- package/bin.cjs +2948 -4419
- package/package.json +2 -1
- package/utils.js +24 -6
- package/utils.mjs +24 -6
package/api.d.mts
CHANGED
@@ -119,6 +119,16 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
119
119
|
name: string;
|
120
120
|
columns: string[];
|
121
121
|
}>>>;
|
122
|
+
checkConstraint: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
123
|
+
name: zod.ZodString;
|
124
|
+
value: zod.ZodString;
|
125
|
+
}, "strict", zod.ZodTypeAny, {
|
126
|
+
name: string;
|
127
|
+
value: string;
|
128
|
+
}, {
|
129
|
+
name: string;
|
130
|
+
value: string;
|
131
|
+
}>>>;
|
122
132
|
}, "strict", zod.ZodTypeAny, {
|
123
133
|
name: string;
|
124
134
|
columns: Record<string, {
|
@@ -159,6 +169,10 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
159
169
|
name: string;
|
160
170
|
columns: string[];
|
161
171
|
}>;
|
172
|
+
checkConstraint: Record<string, {
|
173
|
+
name: string;
|
174
|
+
value: string;
|
175
|
+
}>;
|
162
176
|
}, {
|
163
177
|
name: string;
|
164
178
|
columns: Record<string, {
|
@@ -199,6 +213,10 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
199
213
|
name: string;
|
200
214
|
columns: string[];
|
201
215
|
}> | undefined;
|
216
|
+
checkConstraint?: Record<string, {
|
217
|
+
name: string;
|
218
|
+
value: string;
|
219
|
+
}> | undefined;
|
202
220
|
}>>;
|
203
221
|
_meta: zod.ZodObject<{
|
204
222
|
tables: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
@@ -312,6 +330,10 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
312
330
|
name: string;
|
313
331
|
columns: string[];
|
314
332
|
}>;
|
333
|
+
checkConstraint: Record<string, {
|
334
|
+
name: string;
|
335
|
+
value: string;
|
336
|
+
}>;
|
315
337
|
}>;
|
316
338
|
id: string;
|
317
339
|
prevId: string;
|
@@ -374,6 +396,10 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
374
396
|
name: string;
|
375
397
|
columns: string[];
|
376
398
|
}> | undefined;
|
399
|
+
checkConstraint?: Record<string, {
|
400
|
+
name: string;
|
401
|
+
value: string;
|
402
|
+
}> | undefined;
|
377
403
|
}>;
|
378
404
|
id: string;
|
379
405
|
prevId: string;
|
@@ -613,6 +639,16 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
613
639
|
columns: string[];
|
614
640
|
nullsNotDistinct: boolean;
|
615
641
|
}>>>;
|
642
|
+
checkConstraints: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
643
|
+
name: zod.ZodString;
|
644
|
+
value: zod.ZodString;
|
645
|
+
}, "strict", zod.ZodTypeAny, {
|
646
|
+
name: string;
|
647
|
+
value: string;
|
648
|
+
}, {
|
649
|
+
name: string;
|
650
|
+
value: string;
|
651
|
+
}>>>;
|
616
652
|
}, "strict", zod.ZodTypeAny, {
|
617
653
|
name: string;
|
618
654
|
columns: Record<string, {
|
@@ -676,6 +712,10 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
676
712
|
columns: string[];
|
677
713
|
nullsNotDistinct: boolean;
|
678
714
|
}>;
|
715
|
+
checkConstraints: Record<string, {
|
716
|
+
name: string;
|
717
|
+
value: string;
|
718
|
+
}>;
|
679
719
|
}, {
|
680
720
|
name: string;
|
681
721
|
columns: Record<string, {
|
@@ -739,6 +779,10 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
739
779
|
columns: string[];
|
740
780
|
nullsNotDistinct: boolean;
|
741
781
|
}> | undefined;
|
782
|
+
checkConstraints?: Record<string, {
|
783
|
+
name: string;
|
784
|
+
value: string;
|
785
|
+
}> | undefined;
|
742
786
|
}>>;
|
743
787
|
enums: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
744
788
|
name: zod.ZodString;
|
@@ -914,6 +958,10 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
914
958
|
columns: string[];
|
915
959
|
nullsNotDistinct: boolean;
|
916
960
|
}>;
|
961
|
+
checkConstraints: Record<string, {
|
962
|
+
name: string;
|
963
|
+
value: string;
|
964
|
+
}>;
|
917
965
|
}>;
|
918
966
|
id: string;
|
919
967
|
prevId: string;
|
@@ -1014,6 +1062,10 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1014
1062
|
columns: string[];
|
1015
1063
|
nullsNotDistinct: boolean;
|
1016
1064
|
}> | undefined;
|
1065
|
+
checkConstraints?: Record<string, {
|
1066
|
+
name: string;
|
1067
|
+
value: string;
|
1068
|
+
}> | undefined;
|
1017
1069
|
}>;
|
1018
1070
|
id: string;
|
1019
1071
|
prevId: string;
|
@@ -1159,6 +1211,16 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1159
1211
|
name: string;
|
1160
1212
|
columns: string[];
|
1161
1213
|
}>>>;
|
1214
|
+
checkConstraints: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
1215
|
+
name: zod.ZodString;
|
1216
|
+
value: zod.ZodString;
|
1217
|
+
}, "strict", zod.ZodTypeAny, {
|
1218
|
+
name: string;
|
1219
|
+
value: string;
|
1220
|
+
}, {
|
1221
|
+
name: string;
|
1222
|
+
value: string;
|
1223
|
+
}>>>;
|
1162
1224
|
}, "strict", zod.ZodTypeAny, {
|
1163
1225
|
name: string;
|
1164
1226
|
columns: Record<string, {
|
@@ -1196,6 +1258,10 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1196
1258
|
name: string;
|
1197
1259
|
columns: string[];
|
1198
1260
|
}>;
|
1261
|
+
checkConstraints: Record<string, {
|
1262
|
+
name: string;
|
1263
|
+
value: string;
|
1264
|
+
}>;
|
1199
1265
|
}, {
|
1200
1266
|
name: string;
|
1201
1267
|
columns: Record<string, {
|
@@ -1233,6 +1299,10 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1233
1299
|
name: string;
|
1234
1300
|
columns: string[];
|
1235
1301
|
}> | undefined;
|
1302
|
+
checkConstraints?: Record<string, {
|
1303
|
+
name: string;
|
1304
|
+
value: string;
|
1305
|
+
}> | undefined;
|
1236
1306
|
}>>;
|
1237
1307
|
enums: zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>;
|
1238
1308
|
_meta: zod.ZodObject<{
|
@@ -1317,6 +1387,10 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1317
1387
|
name: string;
|
1318
1388
|
columns: string[];
|
1319
1389
|
}>;
|
1390
|
+
checkConstraints: Record<string, {
|
1391
|
+
name: string;
|
1392
|
+
value: string;
|
1393
|
+
}>;
|
1320
1394
|
}>;
|
1321
1395
|
id: string;
|
1322
1396
|
prevId: string;
|
@@ -1372,6 +1446,10 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1372
1446
|
name: string;
|
1373
1447
|
columns: string[];
|
1374
1448
|
}> | undefined;
|
1449
|
+
checkConstraints?: Record<string, {
|
1450
|
+
name: string;
|
1451
|
+
value: string;
|
1452
|
+
}> | undefined;
|
1375
1453
|
}>;
|
1376
1454
|
id: string;
|
1377
1455
|
prevId: string;
|
@@ -1485,6 +1563,10 @@ declare const upPgSnapshot: (snapshot: Record<string, unknown>) => {
|
|
1485
1563
|
columns: string[];
|
1486
1564
|
nullsNotDistinct: boolean;
|
1487
1565
|
}>;
|
1566
|
+
checkConstraints: Record<string, {
|
1567
|
+
value: string;
|
1568
|
+
name: string;
|
1569
|
+
}>;
|
1488
1570
|
}>;
|
1489
1571
|
enums: Record<string, {
|
1490
1572
|
values: string[];
|
package/api.d.ts
CHANGED
@@ -119,6 +119,16 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
119
119
|
name: string;
|
120
120
|
columns: string[];
|
121
121
|
}>>>;
|
122
|
+
checkConstraint: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
123
|
+
name: zod.ZodString;
|
124
|
+
value: zod.ZodString;
|
125
|
+
}, "strict", zod.ZodTypeAny, {
|
126
|
+
name: string;
|
127
|
+
value: string;
|
128
|
+
}, {
|
129
|
+
name: string;
|
130
|
+
value: string;
|
131
|
+
}>>>;
|
122
132
|
}, "strict", zod.ZodTypeAny, {
|
123
133
|
name: string;
|
124
134
|
columns: Record<string, {
|
@@ -159,6 +169,10 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
159
169
|
name: string;
|
160
170
|
columns: string[];
|
161
171
|
}>;
|
172
|
+
checkConstraint: Record<string, {
|
173
|
+
name: string;
|
174
|
+
value: string;
|
175
|
+
}>;
|
162
176
|
}, {
|
163
177
|
name: string;
|
164
178
|
columns: Record<string, {
|
@@ -199,6 +213,10 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
199
213
|
name: string;
|
200
214
|
columns: string[];
|
201
215
|
}> | undefined;
|
216
|
+
checkConstraint?: Record<string, {
|
217
|
+
name: string;
|
218
|
+
value: string;
|
219
|
+
}> | undefined;
|
202
220
|
}>>;
|
203
221
|
_meta: zod.ZodObject<{
|
204
222
|
tables: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
@@ -312,6 +330,10 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
312
330
|
name: string;
|
313
331
|
columns: string[];
|
314
332
|
}>;
|
333
|
+
checkConstraint: Record<string, {
|
334
|
+
name: string;
|
335
|
+
value: string;
|
336
|
+
}>;
|
315
337
|
}>;
|
316
338
|
id: string;
|
317
339
|
prevId: string;
|
@@ -374,6 +396,10 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
374
396
|
name: string;
|
375
397
|
columns: string[];
|
376
398
|
}> | undefined;
|
399
|
+
checkConstraint?: Record<string, {
|
400
|
+
name: string;
|
401
|
+
value: string;
|
402
|
+
}> | undefined;
|
377
403
|
}>;
|
378
404
|
id: string;
|
379
405
|
prevId: string;
|
@@ -613,6 +639,16 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
613
639
|
columns: string[];
|
614
640
|
nullsNotDistinct: boolean;
|
615
641
|
}>>>;
|
642
|
+
checkConstraints: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
643
|
+
name: zod.ZodString;
|
644
|
+
value: zod.ZodString;
|
645
|
+
}, "strict", zod.ZodTypeAny, {
|
646
|
+
name: string;
|
647
|
+
value: string;
|
648
|
+
}, {
|
649
|
+
name: string;
|
650
|
+
value: string;
|
651
|
+
}>>>;
|
616
652
|
}, "strict", zod.ZodTypeAny, {
|
617
653
|
name: string;
|
618
654
|
columns: Record<string, {
|
@@ -676,6 +712,10 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
676
712
|
columns: string[];
|
677
713
|
nullsNotDistinct: boolean;
|
678
714
|
}>;
|
715
|
+
checkConstraints: Record<string, {
|
716
|
+
name: string;
|
717
|
+
value: string;
|
718
|
+
}>;
|
679
719
|
}, {
|
680
720
|
name: string;
|
681
721
|
columns: Record<string, {
|
@@ -739,6 +779,10 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
739
779
|
columns: string[];
|
740
780
|
nullsNotDistinct: boolean;
|
741
781
|
}> | undefined;
|
782
|
+
checkConstraints?: Record<string, {
|
783
|
+
name: string;
|
784
|
+
value: string;
|
785
|
+
}> | undefined;
|
742
786
|
}>>;
|
743
787
|
enums: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
744
788
|
name: zod.ZodString;
|
@@ -914,6 +958,10 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
914
958
|
columns: string[];
|
915
959
|
nullsNotDistinct: boolean;
|
916
960
|
}>;
|
961
|
+
checkConstraints: Record<string, {
|
962
|
+
name: string;
|
963
|
+
value: string;
|
964
|
+
}>;
|
917
965
|
}>;
|
918
966
|
id: string;
|
919
967
|
prevId: string;
|
@@ -1014,6 +1062,10 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1014
1062
|
columns: string[];
|
1015
1063
|
nullsNotDistinct: boolean;
|
1016
1064
|
}> | undefined;
|
1065
|
+
checkConstraints?: Record<string, {
|
1066
|
+
name: string;
|
1067
|
+
value: string;
|
1068
|
+
}> | undefined;
|
1017
1069
|
}>;
|
1018
1070
|
id: string;
|
1019
1071
|
prevId: string;
|
@@ -1159,6 +1211,16 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1159
1211
|
name: string;
|
1160
1212
|
columns: string[];
|
1161
1213
|
}>>>;
|
1214
|
+
checkConstraints: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
1215
|
+
name: zod.ZodString;
|
1216
|
+
value: zod.ZodString;
|
1217
|
+
}, "strict", zod.ZodTypeAny, {
|
1218
|
+
name: string;
|
1219
|
+
value: string;
|
1220
|
+
}, {
|
1221
|
+
name: string;
|
1222
|
+
value: string;
|
1223
|
+
}>>>;
|
1162
1224
|
}, "strict", zod.ZodTypeAny, {
|
1163
1225
|
name: string;
|
1164
1226
|
columns: Record<string, {
|
@@ -1196,6 +1258,10 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1196
1258
|
name: string;
|
1197
1259
|
columns: string[];
|
1198
1260
|
}>;
|
1261
|
+
checkConstraints: Record<string, {
|
1262
|
+
name: string;
|
1263
|
+
value: string;
|
1264
|
+
}>;
|
1199
1265
|
}, {
|
1200
1266
|
name: string;
|
1201
1267
|
columns: Record<string, {
|
@@ -1233,6 +1299,10 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1233
1299
|
name: string;
|
1234
1300
|
columns: string[];
|
1235
1301
|
}> | undefined;
|
1302
|
+
checkConstraints?: Record<string, {
|
1303
|
+
name: string;
|
1304
|
+
value: string;
|
1305
|
+
}> | undefined;
|
1236
1306
|
}>>;
|
1237
1307
|
enums: zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>;
|
1238
1308
|
_meta: zod.ZodObject<{
|
@@ -1317,6 +1387,10 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1317
1387
|
name: string;
|
1318
1388
|
columns: string[];
|
1319
1389
|
}>;
|
1390
|
+
checkConstraints: Record<string, {
|
1391
|
+
name: string;
|
1392
|
+
value: string;
|
1393
|
+
}>;
|
1320
1394
|
}>;
|
1321
1395
|
id: string;
|
1322
1396
|
prevId: string;
|
@@ -1372,6 +1446,10 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1372
1446
|
name: string;
|
1373
1447
|
columns: string[];
|
1374
1448
|
}> | undefined;
|
1449
|
+
checkConstraints?: Record<string, {
|
1450
|
+
name: string;
|
1451
|
+
value: string;
|
1452
|
+
}> | undefined;
|
1375
1453
|
}>;
|
1376
1454
|
id: string;
|
1377
1455
|
prevId: string;
|
@@ -1485,6 +1563,10 @@ declare const upPgSnapshot: (snapshot: Record<string, unknown>) => {
|
|
1485
1563
|
columns: string[];
|
1486
1564
|
nullsNotDistinct: boolean;
|
1487
1565
|
}>;
|
1566
|
+
checkConstraints: Record<string, {
|
1567
|
+
value: string;
|
1568
|
+
name: string;
|
1569
|
+
}>;
|
1488
1570
|
}>;
|
1489
1571
|
enums: Record<string, {
|
1490
1572
|
values: string[];
|