drizzle-kit 0.22.0-3b0ba5f → 0.22.0-3c62a84

Sign up to get free protection for your applications and to get access to all the features.
package/index.d.mts CHANGED
@@ -1,8 +1,9 @@
1
1
  import { SslOptions } from 'mysql2';
2
2
  import * as zod from 'zod';
3
3
  import { TypeOf } from 'zod';
4
+ import { ConnectionOptions } from 'tls';
4
5
 
5
- declare const driver: zod.ZodUnion<[zod.ZodUnion<[zod.ZodLiteral<"better-sqlite">, zod.ZodLiteral<"turso">, zod.ZodLiteral<"libsql">, zod.ZodLiteral<"d1">, zod.ZodLiteral<"expo">]>, zod.ZodLiteral<"aws-data-api">, zod.ZodLiteral<"mysql2">]>;
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">]>;
6
7
  type Driver = TypeOf<typeof driver>;
7
8
 
8
9
  declare const dialect: zod.ZodEnum<["postgresql", "mysql", "sqlite"]>;
@@ -107,6 +108,7 @@ type Config = {
107
108
  out?: string;
108
109
  breakpoints?: boolean;
109
110
  tablesFilter?: string | string[];
111
+ extensionsFilters?: "postgis"[];
110
112
  schemaFilter?: string | string[];
111
113
  schema?: string | string[];
112
114
  verbose?: boolean;
@@ -132,14 +134,14 @@ type Config = {
132
134
  };
133
135
  } | {
134
136
  dialect: Verify<Dialect, "postgresql">;
135
- dbCredentials: {
137
+ dbCredentials: ({
136
138
  host: string;
137
139
  port?: number;
138
140
  user?: string;
139
141
  password?: string;
140
142
  database: string;
141
- ssl?: boolean;
142
- } | {
143
+ ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | ConnectionOptions;
144
+ } & {}) | {
143
145
  url: string;
144
146
  };
145
147
  } | {
@@ -164,10 +166,11 @@ type Config = {
164
166
  };
165
167
  } | {
166
168
  dialect: Verify<Dialect, "sqlite">;
167
- driver: Verify<Driver, "d1">;
169
+ driver: Verify<Driver, "d1-http">;
168
170
  dbCredentials: {
169
- wranglerConfigPath: string;
170
- dbName: string;
171
+ accountId: string;
172
+ databaseId: string;
173
+ token: string;
171
174
  };
172
175
  } | {
173
176
  dialect: Verify<Dialect, "sqlite">;
package/index.d.ts CHANGED
@@ -1,8 +1,9 @@
1
1
  import { SslOptions } from 'mysql2';
2
2
  import * as zod from 'zod';
3
3
  import { TypeOf } from 'zod';
4
+ import { ConnectionOptions } from 'tls';
4
5
 
5
- declare const driver: zod.ZodUnion<[zod.ZodUnion<[zod.ZodLiteral<"better-sqlite">, zod.ZodLiteral<"turso">, zod.ZodLiteral<"libsql">, zod.ZodLiteral<"d1">, zod.ZodLiteral<"expo">]>, zod.ZodLiteral<"aws-data-api">, zod.ZodLiteral<"mysql2">]>;
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">]>;
6
7
  type Driver = TypeOf<typeof driver>;
7
8
 
8
9
  declare const dialect: zod.ZodEnum<["postgresql", "mysql", "sqlite"]>;
@@ -107,6 +108,7 @@ type Config = {
107
108
  out?: string;
108
109
  breakpoints?: boolean;
109
110
  tablesFilter?: string | string[];
111
+ extensionsFilters?: "postgis"[];
110
112
  schemaFilter?: string | string[];
111
113
  schema?: string | string[];
112
114
  verbose?: boolean;
@@ -132,14 +134,14 @@ type Config = {
132
134
  };
133
135
  } | {
134
136
  dialect: Verify<Dialect, "postgresql">;
135
- dbCredentials: {
137
+ dbCredentials: ({
136
138
  host: string;
137
139
  port?: number;
138
140
  user?: string;
139
141
  password?: string;
140
142
  database: string;
141
- ssl?: boolean;
142
- } | {
143
+ ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | ConnectionOptions;
144
+ } & {}) | {
143
145
  url: string;
144
146
  };
145
147
  } | {
@@ -164,10 +166,11 @@ type Config = {
164
166
  };
165
167
  } | {
166
168
  dialect: Verify<Dialect, "sqlite">;
167
- driver: Verify<Driver, "d1">;
169
+ driver: Verify<Driver, "d1-http">;
168
170
  dbCredentials: {
169
- wranglerConfigPath: string;
170
- dbName: string;
171
+ accountId: string;
172
+ databaseId: string;
173
+ token: string;
171
174
  };
172
175
  } | {
173
176
  dialect: Verify<Dialect, "sqlite">;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.22.0-3b0ba5f",
3
+ "version": "0.22.0-3c62a84",
4
4
  "repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
5
5
  "author": "Drizzle Team",
6
6
  "license": "MIT",
@@ -61,7 +61,7 @@
61
61
  "dockerode": "^3.3.4",
62
62
  "dotenv": "^16.0.3",
63
63
  "drizzle-kit": "0.21.2",
64
- "drizzle-orm": "0.31.0-e64a96d",
64
+ "drizzle-orm": "0.31.0-6df4b83",
65
65
  "esbuild-node-externals": "^1.9.0",
66
66
  "eslint": "^8.57.0",
67
67
  "eslint-config-prettier": "^9.1.0",
@@ -70,7 +70,8 @@
70
70
  "hono": "^4.1.5",
71
71
  "minimatch": "^7.4.3",
72
72
  "mysql2": "2.3.3",
73
- "pg": "^8.11.3",
73
+ "node-fetch": "^3.3.2",
74
+ "pg": "^8.11.5",
74
75
  "pluralize": "^8.0.0",
75
76
  "postgres": "^3.4.4",
76
77
  "prettier": "^2.8.1",
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
- tables: Record<string, {
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
- tables: Record<string, {
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
- tables: Record<string, {
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
- tables: Record<string, {
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
- tables: Record<string, {
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
- tables: Record<string, {
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
- tables: Record<string, {
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
- tables: Record<string, {
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>;