drizzle-kit 0.22.0-12a1bf8 → 0.22.0-25da1e6
Sign up to get free protection for your applications and to get access to all the features.
- package/bin.cjs +443 -230
- package/index.d.mts +1 -8
- package/index.d.ts +1 -8
- package/package.json +1 -1
- package/payload.d.mts +100 -18
- package/payload.d.ts +100 -18
- package/payload.js +299 -186
- package/payload.mjs +312 -197
- package/utils-studio.js +122 -8
- package/utils-studio.mjs +122 -8
- package/utils.js +23 -2
- package/utils.mjs +23 -2
package/index.d.mts
CHANGED
@@ -3,7 +3,7 @@ import * as zod from 'zod';
|
|
3
3
|
import { TypeOf } from 'zod';
|
4
4
|
import { ConnectionOptions } from 'tls';
|
5
5
|
|
6
|
-
declare const driver: zod.ZodUnion<[zod.ZodUnion<[zod.ZodLiteral<"
|
6
|
+
declare const driver: zod.ZodUnion<[zod.ZodUnion<readonly [zod.ZodLiteral<"turso">, zod.ZodLiteral<"d1-http">, zod.ZodLiteral<"expo">]>, zod.ZodLiteral<"aws-data-api">, zod.ZodLiteral<"mysql2">]>;
|
7
7
|
type Driver = TypeOf<typeof driver>;
|
8
8
|
|
9
9
|
declare const dialect: zod.ZodEnum<["postgresql", "mysql", "sqlite"]>;
|
@@ -164,13 +164,6 @@ type Config = {
|
|
164
164
|
} | {
|
165
165
|
url: string;
|
166
166
|
};
|
167
|
-
} | {
|
168
|
-
dialect: Verify<Dialect, "sqlite">;
|
169
|
-
driver: Verify<Driver, "d1">;
|
170
|
-
dbCredentials: {
|
171
|
-
wranglerConfigPath: string;
|
172
|
-
dbName: string;
|
173
|
-
};
|
174
167
|
} | {
|
175
168
|
dialect: Verify<Dialect, "sqlite">;
|
176
169
|
driver: Verify<Driver, "d1-http">;
|
package/index.d.ts
CHANGED
@@ -3,7 +3,7 @@ import * as zod from 'zod';
|
|
3
3
|
import { TypeOf } from 'zod';
|
4
4
|
import { ConnectionOptions } from 'tls';
|
5
5
|
|
6
|
-
declare const driver: zod.ZodUnion<[zod.ZodUnion<[zod.ZodLiteral<"
|
6
|
+
declare const driver: zod.ZodUnion<[zod.ZodUnion<readonly [zod.ZodLiteral<"turso">, zod.ZodLiteral<"d1-http">, zod.ZodLiteral<"expo">]>, zod.ZodLiteral<"aws-data-api">, zod.ZodLiteral<"mysql2">]>;
|
7
7
|
type Driver = TypeOf<typeof driver>;
|
8
8
|
|
9
9
|
declare const dialect: zod.ZodEnum<["postgresql", "mysql", "sqlite"]>;
|
@@ -164,13 +164,6 @@ type Config = {
|
|
164
164
|
} | {
|
165
165
|
url: string;
|
166
166
|
};
|
167
|
-
} | {
|
168
|
-
dialect: Verify<Dialect, "sqlite">;
|
169
|
-
driver: Verify<Driver, "d1">;
|
170
|
-
dbCredentials: {
|
171
|
-
wranglerConfigPath: string;
|
172
|
-
dbName: string;
|
173
|
-
};
|
174
167
|
} | {
|
175
168
|
dialect: Verify<Dialect, "sqlite">;
|
176
169
|
driver: Verify<Driver, "d1-http">;
|
package/package.json
CHANGED
package/payload.d.mts
CHANGED
@@ -50,14 +50,14 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
50
50
|
nulls: zod.ZodOptional<zod.ZodString>;
|
51
51
|
opclass: zod.ZodOptional<zod.ZodString>;
|
52
52
|
}, "strip", zod.ZodTypeAny, {
|
53
|
-
expression: string;
|
54
53
|
isExpression: boolean;
|
54
|
+
expression: string;
|
55
55
|
asc: boolean;
|
56
56
|
nulls?: string | undefined;
|
57
57
|
opclass?: string | undefined;
|
58
58
|
}, {
|
59
|
-
expression: string;
|
60
59
|
isExpression: boolean;
|
60
|
+
expression: string;
|
61
61
|
asc: boolean;
|
62
62
|
nulls?: string | undefined;
|
63
63
|
opclass?: string | undefined;
|
@@ -70,8 +70,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
70
70
|
}, "strict", zod.ZodTypeAny, {
|
71
71
|
name: string;
|
72
72
|
columns: {
|
73
|
-
expression: string;
|
74
73
|
isExpression: boolean;
|
74
|
+
expression: string;
|
75
75
|
asc: boolean;
|
76
76
|
nulls?: string | undefined;
|
77
77
|
opclass?: string | undefined;
|
@@ -84,8 +84,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
84
84
|
}, {
|
85
85
|
name: string;
|
86
86
|
columns: {
|
87
|
-
expression: string;
|
88
87
|
isExpression: boolean;
|
88
|
+
expression: string;
|
89
89
|
asc: boolean;
|
90
90
|
nulls?: string | undefined;
|
91
91
|
opclass?: string | undefined;
|
@@ -163,8 +163,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
163
163
|
indexes: Record<string, {
|
164
164
|
name: string;
|
165
165
|
columns: {
|
166
|
-
expression: string;
|
167
166
|
isExpression: boolean;
|
167
|
+
expression: string;
|
168
168
|
asc: boolean;
|
169
169
|
nulls?: string | undefined;
|
170
170
|
opclass?: string | undefined;
|
@@ -211,8 +211,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
211
211
|
indexes: Record<string, {
|
212
212
|
name: string;
|
213
213
|
columns: {
|
214
|
-
expression: string;
|
215
214
|
isExpression: boolean;
|
215
|
+
expression: string;
|
216
216
|
asc: boolean;
|
217
217
|
nulls?: string | undefined;
|
218
218
|
opclass?: string | undefined;
|
@@ -336,8 +336,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
336
336
|
indexes: Record<string, {
|
337
337
|
name: string;
|
338
338
|
columns: {
|
339
|
-
expression: string;
|
340
339
|
isExpression: boolean;
|
340
|
+
expression: string;
|
341
341
|
asc: boolean;
|
342
342
|
nulls?: string | undefined;
|
343
343
|
opclass?: string | undefined;
|
@@ -410,8 +410,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
410
410
|
indexes: Record<string, {
|
411
411
|
name: string;
|
412
412
|
columns: {
|
413
|
-
expression: string;
|
414
413
|
isExpression: boolean;
|
414
|
+
expression: string;
|
415
415
|
asc: boolean;
|
416
416
|
nulls?: string | undefined;
|
417
417
|
opclass?: string | undefined;
|
@@ -636,6 +636,37 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
636
636
|
columns: Record<string, string>;
|
637
637
|
tables: Record<string, string>;
|
638
638
|
}>;
|
639
|
+
internal: zod.ZodOptional<zod.ZodObject<{
|
640
|
+
indexes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
641
|
+
columns: zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
642
|
+
isExpression: zod.ZodOptional<zod.ZodBoolean>;
|
643
|
+
}, "strip", zod.ZodTypeAny, {
|
644
|
+
isExpression?: boolean | undefined;
|
645
|
+
}, {
|
646
|
+
isExpression?: boolean | undefined;
|
647
|
+
}>>>;
|
648
|
+
}, "strip", zod.ZodTypeAny, {
|
649
|
+
columns: Record<string, {
|
650
|
+
isExpression?: boolean | undefined;
|
651
|
+
} | undefined>;
|
652
|
+
}, {
|
653
|
+
columns: Record<string, {
|
654
|
+
isExpression?: boolean | undefined;
|
655
|
+
} | undefined>;
|
656
|
+
}>>>>;
|
657
|
+
}, "strip", zod.ZodTypeAny, {
|
658
|
+
indexes?: Record<string, {
|
659
|
+
columns: Record<string, {
|
660
|
+
isExpression?: boolean | undefined;
|
661
|
+
} | undefined>;
|
662
|
+
} | undefined> | undefined;
|
663
|
+
}, {
|
664
|
+
indexes?: Record<string, {
|
665
|
+
columns: Record<string, {
|
666
|
+
isExpression?: boolean | undefined;
|
667
|
+
} | undefined>;
|
668
|
+
} | undefined> | undefined;
|
669
|
+
}>>;
|
639
670
|
}, {
|
640
671
|
id: zod.ZodString;
|
641
672
|
prevId: zod.ZodString;
|
@@ -683,6 +714,13 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
683
714
|
tables: Record<string, string>;
|
684
715
|
};
|
685
716
|
enums: {};
|
717
|
+
internal?: {
|
718
|
+
indexes?: Record<string, {
|
719
|
+
columns: Record<string, {
|
720
|
+
isExpression?: boolean | undefined;
|
721
|
+
} | undefined>;
|
722
|
+
} | undefined> | undefined;
|
723
|
+
} | undefined;
|
686
724
|
}, {
|
687
725
|
tables: Record<string, {
|
688
726
|
name: string;
|
@@ -727,6 +765,13 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
727
765
|
tables: Record<string, string>;
|
728
766
|
};
|
729
767
|
enums: {};
|
768
|
+
internal?: {
|
769
|
+
indexes?: Record<string, {
|
770
|
+
columns: Record<string, {
|
771
|
+
isExpression?: boolean | undefined;
|
772
|
+
} | undefined>;
|
773
|
+
} | undefined> | undefined;
|
774
|
+
} | undefined;
|
730
775
|
}>;
|
731
776
|
type SQLiteSchema = TypeOf<typeof schema$1>;
|
732
777
|
|
@@ -911,7 +956,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
911
956
|
tables: Record<string, string>;
|
912
957
|
}>;
|
913
958
|
internal: zod.ZodOptional<zod.ZodObject<{
|
914
|
-
tables: zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
959
|
+
tables: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
915
960
|
columns: zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
916
961
|
isDefaultAnExpression: zod.ZodOptional<zod.ZodBoolean>;
|
917
962
|
}, "strip", zod.ZodTypeAny, {
|
@@ -927,19 +972,46 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
927
972
|
columns: Record<string, {
|
928
973
|
isDefaultAnExpression?: boolean | undefined;
|
929
974
|
} | undefined>;
|
930
|
-
}
|
975
|
+
}>>>>;
|
976
|
+
indexes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
977
|
+
columns: zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
978
|
+
isExpression: zod.ZodOptional<zod.ZodBoolean>;
|
979
|
+
}, "strip", zod.ZodTypeAny, {
|
980
|
+
isExpression?: boolean | undefined;
|
981
|
+
}, {
|
982
|
+
isExpression?: boolean | undefined;
|
983
|
+
}>>>;
|
984
|
+
}, "strip", zod.ZodTypeAny, {
|
985
|
+
columns: Record<string, {
|
986
|
+
isExpression?: boolean | undefined;
|
987
|
+
} | undefined>;
|
988
|
+
}, {
|
989
|
+
columns: Record<string, {
|
990
|
+
isExpression?: boolean | undefined;
|
991
|
+
} | undefined>;
|
992
|
+
}>>>>;
|
931
993
|
}, "strip", zod.ZodTypeAny, {
|
932
|
-
|
994
|
+
indexes?: Record<string, {
|
995
|
+
columns: Record<string, {
|
996
|
+
isExpression?: boolean | undefined;
|
997
|
+
} | undefined>;
|
998
|
+
} | undefined> | undefined;
|
999
|
+
tables?: Record<string, {
|
933
1000
|
columns: Record<string, {
|
934
1001
|
isDefaultAnExpression?: boolean | undefined;
|
935
1002
|
} | undefined>;
|
936
|
-
} | undefined
|
1003
|
+
} | undefined> | undefined;
|
937
1004
|
}, {
|
938
|
-
|
1005
|
+
indexes?: Record<string, {
|
1006
|
+
columns: Record<string, {
|
1007
|
+
isExpression?: boolean | undefined;
|
1008
|
+
} | undefined>;
|
1009
|
+
} | undefined> | undefined;
|
1010
|
+
tables?: Record<string, {
|
939
1011
|
columns: Record<string, {
|
940
1012
|
isDefaultAnExpression?: boolean | undefined;
|
941
1013
|
} | undefined>;
|
942
|
-
} | undefined
|
1014
|
+
} | undefined> | undefined;
|
943
1015
|
}>>;
|
944
1016
|
}, {
|
945
1017
|
id: zod.ZodString;
|
@@ -991,11 +1063,16 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
991
1063
|
tables: Record<string, string>;
|
992
1064
|
};
|
993
1065
|
internal?: {
|
994
|
-
|
1066
|
+
indexes?: Record<string, {
|
1067
|
+
columns: Record<string, {
|
1068
|
+
isExpression?: boolean | undefined;
|
1069
|
+
} | undefined>;
|
1070
|
+
} | undefined> | undefined;
|
1071
|
+
tables?: Record<string, {
|
995
1072
|
columns: Record<string, {
|
996
1073
|
isDefaultAnExpression?: boolean | undefined;
|
997
1074
|
} | undefined>;
|
998
|
-
} | undefined
|
1075
|
+
} | undefined> | undefined;
|
999
1076
|
} | undefined;
|
1000
1077
|
}, {
|
1001
1078
|
tables: Record<string, {
|
@@ -1044,11 +1121,16 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1044
1121
|
tables: Record<string, string>;
|
1045
1122
|
};
|
1046
1123
|
internal?: {
|
1047
|
-
|
1124
|
+
indexes?: Record<string, {
|
1125
|
+
columns: Record<string, {
|
1126
|
+
isExpression?: boolean | undefined;
|
1127
|
+
} | undefined>;
|
1128
|
+
} | undefined> | undefined;
|
1129
|
+
tables?: Record<string, {
|
1048
1130
|
columns: Record<string, {
|
1049
1131
|
isDefaultAnExpression?: boolean | undefined;
|
1050
1132
|
} | undefined>;
|
1051
|
-
} | undefined
|
1133
|
+
} | undefined> | undefined;
|
1052
1134
|
} | undefined;
|
1053
1135
|
}>;
|
1054
1136
|
type MySqlSchema = TypeOf<typeof schema>;
|
package/payload.d.ts
CHANGED
@@ -50,14 +50,14 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
50
50
|
nulls: zod.ZodOptional<zod.ZodString>;
|
51
51
|
opclass: zod.ZodOptional<zod.ZodString>;
|
52
52
|
}, "strip", zod.ZodTypeAny, {
|
53
|
-
expression: string;
|
54
53
|
isExpression: boolean;
|
54
|
+
expression: string;
|
55
55
|
asc: boolean;
|
56
56
|
nulls?: string | undefined;
|
57
57
|
opclass?: string | undefined;
|
58
58
|
}, {
|
59
|
-
expression: string;
|
60
59
|
isExpression: boolean;
|
60
|
+
expression: string;
|
61
61
|
asc: boolean;
|
62
62
|
nulls?: string | undefined;
|
63
63
|
opclass?: string | undefined;
|
@@ -70,8 +70,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
70
70
|
}, "strict", zod.ZodTypeAny, {
|
71
71
|
name: string;
|
72
72
|
columns: {
|
73
|
-
expression: string;
|
74
73
|
isExpression: boolean;
|
74
|
+
expression: string;
|
75
75
|
asc: boolean;
|
76
76
|
nulls?: string | undefined;
|
77
77
|
opclass?: string | undefined;
|
@@ -84,8 +84,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
84
84
|
}, {
|
85
85
|
name: string;
|
86
86
|
columns: {
|
87
|
-
expression: string;
|
88
87
|
isExpression: boolean;
|
88
|
+
expression: string;
|
89
89
|
asc: boolean;
|
90
90
|
nulls?: string | undefined;
|
91
91
|
opclass?: string | undefined;
|
@@ -163,8 +163,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
163
163
|
indexes: Record<string, {
|
164
164
|
name: string;
|
165
165
|
columns: {
|
166
|
-
expression: string;
|
167
166
|
isExpression: boolean;
|
167
|
+
expression: string;
|
168
168
|
asc: boolean;
|
169
169
|
nulls?: string | undefined;
|
170
170
|
opclass?: string | undefined;
|
@@ -211,8 +211,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
211
211
|
indexes: Record<string, {
|
212
212
|
name: string;
|
213
213
|
columns: {
|
214
|
-
expression: string;
|
215
214
|
isExpression: boolean;
|
215
|
+
expression: string;
|
216
216
|
asc: boolean;
|
217
217
|
nulls?: string | undefined;
|
218
218
|
opclass?: string | undefined;
|
@@ -336,8 +336,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
336
336
|
indexes: Record<string, {
|
337
337
|
name: string;
|
338
338
|
columns: {
|
339
|
-
expression: string;
|
340
339
|
isExpression: boolean;
|
340
|
+
expression: string;
|
341
341
|
asc: boolean;
|
342
342
|
nulls?: string | undefined;
|
343
343
|
opclass?: string | undefined;
|
@@ -410,8 +410,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
410
410
|
indexes: Record<string, {
|
411
411
|
name: string;
|
412
412
|
columns: {
|
413
|
-
expression: string;
|
414
413
|
isExpression: boolean;
|
414
|
+
expression: string;
|
415
415
|
asc: boolean;
|
416
416
|
nulls?: string | undefined;
|
417
417
|
opclass?: string | undefined;
|
@@ -636,6 +636,37 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
636
636
|
columns: Record<string, string>;
|
637
637
|
tables: Record<string, string>;
|
638
638
|
}>;
|
639
|
+
internal: zod.ZodOptional<zod.ZodObject<{
|
640
|
+
indexes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
641
|
+
columns: zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
642
|
+
isExpression: zod.ZodOptional<zod.ZodBoolean>;
|
643
|
+
}, "strip", zod.ZodTypeAny, {
|
644
|
+
isExpression?: boolean | undefined;
|
645
|
+
}, {
|
646
|
+
isExpression?: boolean | undefined;
|
647
|
+
}>>>;
|
648
|
+
}, "strip", zod.ZodTypeAny, {
|
649
|
+
columns: Record<string, {
|
650
|
+
isExpression?: boolean | undefined;
|
651
|
+
} | undefined>;
|
652
|
+
}, {
|
653
|
+
columns: Record<string, {
|
654
|
+
isExpression?: boolean | undefined;
|
655
|
+
} | undefined>;
|
656
|
+
}>>>>;
|
657
|
+
}, "strip", zod.ZodTypeAny, {
|
658
|
+
indexes?: Record<string, {
|
659
|
+
columns: Record<string, {
|
660
|
+
isExpression?: boolean | undefined;
|
661
|
+
} | undefined>;
|
662
|
+
} | undefined> | undefined;
|
663
|
+
}, {
|
664
|
+
indexes?: Record<string, {
|
665
|
+
columns: Record<string, {
|
666
|
+
isExpression?: boolean | undefined;
|
667
|
+
} | undefined>;
|
668
|
+
} | undefined> | undefined;
|
669
|
+
}>>;
|
639
670
|
}, {
|
640
671
|
id: zod.ZodString;
|
641
672
|
prevId: zod.ZodString;
|
@@ -683,6 +714,13 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
683
714
|
tables: Record<string, string>;
|
684
715
|
};
|
685
716
|
enums: {};
|
717
|
+
internal?: {
|
718
|
+
indexes?: Record<string, {
|
719
|
+
columns: Record<string, {
|
720
|
+
isExpression?: boolean | undefined;
|
721
|
+
} | undefined>;
|
722
|
+
} | undefined> | undefined;
|
723
|
+
} | undefined;
|
686
724
|
}, {
|
687
725
|
tables: Record<string, {
|
688
726
|
name: string;
|
@@ -727,6 +765,13 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
727
765
|
tables: Record<string, string>;
|
728
766
|
};
|
729
767
|
enums: {};
|
768
|
+
internal?: {
|
769
|
+
indexes?: Record<string, {
|
770
|
+
columns: Record<string, {
|
771
|
+
isExpression?: boolean | undefined;
|
772
|
+
} | undefined>;
|
773
|
+
} | undefined> | undefined;
|
774
|
+
} | undefined;
|
730
775
|
}>;
|
731
776
|
type SQLiteSchema = TypeOf<typeof schema$1>;
|
732
777
|
|
@@ -911,7 +956,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
911
956
|
tables: Record<string, string>;
|
912
957
|
}>;
|
913
958
|
internal: zod.ZodOptional<zod.ZodObject<{
|
914
|
-
tables: zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
959
|
+
tables: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
915
960
|
columns: zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
916
961
|
isDefaultAnExpression: zod.ZodOptional<zod.ZodBoolean>;
|
917
962
|
}, "strip", zod.ZodTypeAny, {
|
@@ -927,19 +972,46 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
927
972
|
columns: Record<string, {
|
928
973
|
isDefaultAnExpression?: boolean | undefined;
|
929
974
|
} | undefined>;
|
930
|
-
}
|
975
|
+
}>>>>;
|
976
|
+
indexes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
977
|
+
columns: zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
978
|
+
isExpression: zod.ZodOptional<zod.ZodBoolean>;
|
979
|
+
}, "strip", zod.ZodTypeAny, {
|
980
|
+
isExpression?: boolean | undefined;
|
981
|
+
}, {
|
982
|
+
isExpression?: boolean | undefined;
|
983
|
+
}>>>;
|
984
|
+
}, "strip", zod.ZodTypeAny, {
|
985
|
+
columns: Record<string, {
|
986
|
+
isExpression?: boolean | undefined;
|
987
|
+
} | undefined>;
|
988
|
+
}, {
|
989
|
+
columns: Record<string, {
|
990
|
+
isExpression?: boolean | undefined;
|
991
|
+
} | undefined>;
|
992
|
+
}>>>>;
|
931
993
|
}, "strip", zod.ZodTypeAny, {
|
932
|
-
|
994
|
+
indexes?: Record<string, {
|
995
|
+
columns: Record<string, {
|
996
|
+
isExpression?: boolean | undefined;
|
997
|
+
} | undefined>;
|
998
|
+
} | undefined> | undefined;
|
999
|
+
tables?: Record<string, {
|
933
1000
|
columns: Record<string, {
|
934
1001
|
isDefaultAnExpression?: boolean | undefined;
|
935
1002
|
} | undefined>;
|
936
|
-
} | undefined
|
1003
|
+
} | undefined> | undefined;
|
937
1004
|
}, {
|
938
|
-
|
1005
|
+
indexes?: Record<string, {
|
1006
|
+
columns: Record<string, {
|
1007
|
+
isExpression?: boolean | undefined;
|
1008
|
+
} | undefined>;
|
1009
|
+
} | undefined> | undefined;
|
1010
|
+
tables?: Record<string, {
|
939
1011
|
columns: Record<string, {
|
940
1012
|
isDefaultAnExpression?: boolean | undefined;
|
941
1013
|
} | undefined>;
|
942
|
-
} | undefined
|
1014
|
+
} | undefined> | undefined;
|
943
1015
|
}>>;
|
944
1016
|
}, {
|
945
1017
|
id: zod.ZodString;
|
@@ -991,11 +1063,16 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
991
1063
|
tables: Record<string, string>;
|
992
1064
|
};
|
993
1065
|
internal?: {
|
994
|
-
|
1066
|
+
indexes?: Record<string, {
|
1067
|
+
columns: Record<string, {
|
1068
|
+
isExpression?: boolean | undefined;
|
1069
|
+
} | undefined>;
|
1070
|
+
} | undefined> | undefined;
|
1071
|
+
tables?: Record<string, {
|
995
1072
|
columns: Record<string, {
|
996
1073
|
isDefaultAnExpression?: boolean | undefined;
|
997
1074
|
} | undefined>;
|
998
|
-
} | undefined
|
1075
|
+
} | undefined> | undefined;
|
999
1076
|
} | undefined;
|
1000
1077
|
}, {
|
1001
1078
|
tables: Record<string, {
|
@@ -1044,11 +1121,16 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1044
1121
|
tables: Record<string, string>;
|
1045
1122
|
};
|
1046
1123
|
internal?: {
|
1047
|
-
|
1124
|
+
indexes?: Record<string, {
|
1125
|
+
columns: Record<string, {
|
1126
|
+
isExpression?: boolean | undefined;
|
1127
|
+
} | undefined>;
|
1128
|
+
} | undefined> | undefined;
|
1129
|
+
tables?: Record<string, {
|
1048
1130
|
columns: Record<string, {
|
1049
1131
|
isDefaultAnExpression?: boolean | undefined;
|
1050
1132
|
} | undefined>;
|
1051
|
-
} | undefined
|
1133
|
+
} | undefined> | undefined;
|
1052
1134
|
} | undefined;
|
1053
1135
|
}>;
|
1054
1136
|
type MySqlSchema = TypeOf<typeof schema>;
|