drizzle-kit 0.20.17-b08243d → 0.20.17-b4f119e

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,15 +24,15 @@ export declare const preparePgPush: (schemaPath: string | string[], snapshot: Pg
24
24
  tables: Record<string, {
25
25
  name: string;
26
26
  columns: Record<string, {
27
+ name: string;
28
+ type: string;
29
+ primaryKey: boolean;
30
+ notNull: boolean;
27
31
  isUnique?: any;
28
32
  default?: any;
29
33
  typeSchema?: string | undefined;
30
34
  uniqueName?: string | undefined;
31
35
  nullsNotDistinct?: boolean | undefined;
32
- name: string;
33
- type: string;
34
- primaryKey: boolean;
35
- notNull: boolean;
36
36
  }>;
37
37
  indexes: Record<string, string>;
38
38
  foreignKeys: Record<string, string>;
@@ -53,15 +53,15 @@ export declare const preparePgPush: (schemaPath: string | string[], snapshot: Pg
53
53
  tables: Record<string, {
54
54
  name: string;
55
55
  columns: Record<string, {
56
+ name: string;
57
+ type: string;
58
+ primaryKey: boolean;
59
+ notNull: boolean;
56
60
  isUnique?: any;
57
61
  default?: any;
58
62
  typeSchema?: string | undefined;
59
63
  uniqueName?: string | undefined;
60
64
  nullsNotDistinct?: boolean | undefined;
61
- name: string;
62
- type: string;
63
- primaryKey: boolean;
64
- notNull: boolean;
65
65
  }>;
66
66
  indexes: Record<string, string>;
67
67
  foreignKeys: Record<string, string>;
@@ -83,40 +83,33 @@ export declare const prepareMySQLPush: (schemaPath: string | string[], snapshot:
83
83
  sqlStatements: string[];
84
84
  statements: import("../../jsonStatements").JsonStatement[];
85
85
  validatedCur: {
86
- internal?: {
87
- tables: Record<string, {
88
- columns: Record<string, {
89
- isDefaultAnExpression?: boolean | undefined;
90
- } | undefined>;
91
- } | undefined>;
92
- } | undefined;
93
86
  tables: Record<string, {
94
87
  name: string;
95
88
  columns: Record<string, {
96
- default?: any;
97
- onUpdate?: any;
98
- autoincrement?: boolean | undefined;
99
89
  name: string;
100
90
  type: string;
101
91
  primaryKey: boolean;
102
92
  notNull: boolean;
93
+ default?: any;
94
+ onUpdate?: any;
95
+ autoincrement?: boolean | undefined;
103
96
  }>;
104
97
  indexes: Record<string, {
105
- using?: "btree" | "hash" | undefined;
106
- algorithm?: "default" | "inplace" | "copy" | undefined;
107
- lock?: "default" | "none" | "shared" | "exclusive" | undefined;
108
98
  name: string;
109
99
  columns: string[];
110
100
  isUnique: boolean;
101
+ using?: "btree" | "hash" | undefined;
102
+ algorithm?: "default" | "inplace" | "copy" | undefined;
103
+ lock?: "default" | "none" | "shared" | "exclusive" | undefined;
111
104
  }>;
112
105
  foreignKeys: Record<string, {
113
- onUpdate?: string | undefined;
114
- onDelete?: string | undefined;
115
106
  name: string;
116
107
  tableFrom: string;
117
108
  columnsFrom: string[];
118
109
  tableTo: string;
119
110
  columnsTo: string[];
111
+ onUpdate?: string | undefined;
112
+ onDelete?: string | undefined;
120
113
  }>;
121
114
  compositePrimaryKeys: Record<string, {
122
115
  name: string;
@@ -135,8 +128,6 @@ export declare const prepareMySQLPush: (schemaPath: string | string[], snapshot:
135
128
  columns: Record<string, string>;
136
129
  tables: Record<string, string>;
137
130
  };
138
- };
139
- validatedPrev: {
140
131
  internal?: {
141
132
  tables: Record<string, {
142
133
  columns: Record<string, {
@@ -144,33 +135,35 @@ export declare const prepareMySQLPush: (schemaPath: string | string[], snapshot:
144
135
  } | undefined>;
145
136
  } | undefined>;
146
137
  } | undefined;
138
+ };
139
+ validatedPrev: {
147
140
  tables: Record<string, {
148
141
  name: string;
149
142
  columns: Record<string, {
150
- default?: any;
151
- onUpdate?: any;
152
- autoincrement?: boolean | undefined;
153
143
  name: string;
154
144
  type: string;
155
145
  primaryKey: boolean;
156
146
  notNull: boolean;
147
+ default?: any;
148
+ onUpdate?: any;
149
+ autoincrement?: boolean | undefined;
157
150
  }>;
158
151
  indexes: Record<string, {
159
- using?: "btree" | "hash" | undefined;
160
- algorithm?: "default" | "inplace" | "copy" | undefined;
161
- lock?: "default" | "none" | "shared" | "exclusive" | undefined;
162
152
  name: string;
163
153
  columns: string[];
164
154
  isUnique: boolean;
155
+ using?: "btree" | "hash" | undefined;
156
+ algorithm?: "default" | "inplace" | "copy" | undefined;
157
+ lock?: "default" | "none" | "shared" | "exclusive" | undefined;
165
158
  }>;
166
159
  foreignKeys: Record<string, {
167
- onUpdate?: string | undefined;
168
- onDelete?: string | undefined;
169
160
  name: string;
170
161
  tableFrom: string;
171
162
  columnsFrom: string[];
172
163
  tableTo: string;
173
164
  columnsTo: string[];
165
+ onUpdate?: string | undefined;
166
+ onDelete?: string | undefined;
174
167
  }>;
175
168
  compositePrimaryKeys: Record<string, {
176
169
  name: string;
@@ -189,6 +182,13 @@ export declare const prepareMySQLPush: (schemaPath: string | string[], snapshot:
189
182
  columns: Record<string, string>;
190
183
  tables: Record<string, string>;
191
184
  };
185
+ internal?: {
186
+ tables: Record<string, {
187
+ columns: Record<string, {
188
+ isDefaultAnExpression?: boolean | undefined;
189
+ } | undefined>;
190
+ } | undefined>;
191
+ } | undefined;
192
192
  };
193
193
  }>;
194
194
  export declare const prepareAndMigrateMysql: (config: GenerateConfig) => Promise<void>;
@@ -197,16 +197,15 @@ export declare const prepareSQLitePush: (schemaPath: string | string[], snapshot
197
197
  sqlStatements: string[];
198
198
  statements: import("../../jsonStatements").JsonStatement[];
199
199
  squashedPrev: {
200
- enums?: any;
201
200
  tables: Record<string, {
202
201
  name: string;
203
202
  columns: Record<string, {
204
- default?: any;
205
- autoincrement?: boolean | undefined;
206
203
  name: string;
207
204
  type: string;
208
205
  primaryKey: boolean;
209
206
  notNull: boolean;
207
+ default?: any;
208
+ autoincrement?: boolean | undefined;
210
209
  }>;
211
210
  indexes: Record<string, string>;
212
211
  foreignKeys: Record<string, string>;
@@ -215,18 +214,18 @@ export declare const prepareSQLitePush: (schemaPath: string | string[], snapshot
215
214
  }>;
216
215
  version: "5";
217
216
  dialect: "sqlite";
217
+ enums?: any;
218
218
  };
219
219
  squashedCur: {
220
- enums?: any;
221
220
  tables: Record<string, {
222
221
  name: string;
223
222
  columns: Record<string, {
224
- default?: any;
225
- autoincrement?: boolean | undefined;
226
223
  name: string;
227
224
  type: string;
228
225
  primaryKey: boolean;
229
226
  notNull: boolean;
227
+ default?: any;
228
+ autoincrement?: boolean | undefined;
230
229
  }>;
231
230
  indexes: Record<string, string>;
232
231
  foreignKeys: Record<string, string>;
@@ -235,6 +234,7 @@ export declare const prepareSQLitePush: (schemaPath: string | string[], snapshot
235
234
  }>;
236
235
  version: "5";
237
236
  dialect: "sqlite";
237
+ enums?: any;
238
238
  };
239
239
  meta: {
240
240
  schemas: {};
@@ -4,30 +4,30 @@ export declare const mysqlPushIntrospect: (db: DB, databaseName: string, filters
4
4
  tables: Record<string, {
5
5
  name: string;
6
6
  columns: Record<string, {
7
- default?: any;
8
- onUpdate?: any;
9
- autoincrement?: boolean | undefined;
10
7
  name: string;
11
8
  type: string;
12
9
  primaryKey: boolean;
13
10
  notNull: boolean;
11
+ default?: any;
12
+ onUpdate?: any;
13
+ autoincrement?: boolean | undefined;
14
14
  }>;
15
15
  indexes: Record<string, {
16
- using?: "btree" | "hash" | undefined;
17
- algorithm?: "default" | "inplace" | "copy" | undefined;
18
- lock?: "default" | "none" | "shared" | "exclusive" | undefined;
19
16
  name: string;
20
17
  columns: string[];
21
18
  isUnique: boolean;
19
+ using?: "btree" | "hash" | undefined;
20
+ algorithm?: "default" | "inplace" | "copy" | undefined;
21
+ lock?: "default" | "none" | "shared" | "exclusive" | undefined;
22
22
  }>;
23
23
  foreignKeys: Record<string, {
24
- onUpdate?: string | undefined;
25
- onDelete?: string | undefined;
26
24
  name: string;
27
25
  tableFrom: string;
28
26
  columnsFrom: string[];
29
27
  tableTo: string;
30
28
  columnsTo: string[];
29
+ onUpdate?: string | undefined;
30
+ onDelete?: string | undefined;
31
31
  }>;
32
32
  compositePrimaryKeys: Record<string, {
33
33
  name: string;
@@ -4,15 +4,15 @@ export declare const pgPushIntrospect: (db: DB, filters: string[], schemaFilters
4
4
  tables: Record<string, {
5
5
  name: string;
6
6
  columns: Record<string, {
7
+ name: string;
8
+ type: string;
9
+ primaryKey: boolean;
10
+ notNull: boolean;
7
11
  isUnique?: any;
8
12
  default?: any;
9
13
  typeSchema?: string | undefined;
10
14
  uniqueName?: string | undefined;
11
15
  nullsNotDistinct?: boolean | undefined;
12
- name: string;
13
- type: string;
14
- primaryKey: boolean;
15
- notNull: boolean;
16
16
  }>;
17
17
  indexes: Record<string, {
18
18
  name: string;
@@ -20,14 +20,14 @@ export declare const pgPushIntrospect: (db: DB, filters: string[], schemaFilters
20
20
  isUnique: boolean;
21
21
  }>;
22
22
  foreignKeys: Record<string, {
23
- onUpdate?: string | undefined;
24
- onDelete?: string | undefined;
25
- schemaTo?: string | undefined;
26
23
  name: string;
27
24
  tableFrom: string;
28
25
  columnsFrom: string[];
29
26
  tableTo: string;
30
27
  columnsTo: string[];
28
+ onUpdate?: string | undefined;
29
+ onDelete?: string | undefined;
30
+ schemaTo?: string | undefined;
31
31
  }>;
32
32
  schema: string;
33
33
  compositePrimaryKeys: Record<string, {
@@ -6,31 +6,31 @@ export declare const sqliteIntrospect: (credentials: SqliteCredentials, filters:
6
6
  tables: Record<string, {
7
7
  name: string;
8
8
  columns: Record<string, {
9
- default?: any;
10
- autoincrement?: boolean | undefined;
11
9
  name: string;
12
10
  type: string;
13
11
  primaryKey: boolean;
14
12
  notNull: boolean;
13
+ default?: any;
14
+ autoincrement?: boolean | undefined;
15
15
  }>;
16
16
  indexes: Record<string, {
17
- where?: string | undefined;
18
17
  name: string;
19
18
  columns: string[];
20
19
  isUnique: boolean;
20
+ where?: string | undefined;
21
21
  }>;
22
22
  foreignKeys: Record<string, {
23
- onUpdate?: string | undefined;
24
- onDelete?: string | undefined;
25
23
  name: string;
26
24
  tableFrom: string;
27
25
  columnsFrom: string[];
28
26
  tableTo: string;
29
27
  columnsTo: string[];
28
+ onUpdate?: string | undefined;
29
+ onDelete?: string | undefined;
30
30
  }>;
31
31
  compositePrimaryKeys: Record<string, {
32
- name?: string | undefined;
33
32
  columns: string[];
33
+ name?: string | undefined;
34
34
  }>;
35
35
  uniqueConstraints: Record<string, {
36
36
  name: string;
@@ -59,31 +59,31 @@ export declare const sqlitePushIntrospect: (db: SQLiteDB, filters: string[]) =>
59
59
  tables: Record<string, {
60
60
  name: string;
61
61
  columns: Record<string, {
62
- default?: any;
63
- autoincrement?: boolean | undefined;
64
62
  name: string;
65
63
  type: string;
66
64
  primaryKey: boolean;
67
65
  notNull: boolean;
66
+ default?: any;
67
+ autoincrement?: boolean | undefined;
68
68
  }>;
69
69
  indexes: Record<string, {
70
- where?: string | undefined;
71
70
  name: string;
72
71
  columns: string[];
73
72
  isUnique: boolean;
73
+ where?: string | undefined;
74
74
  }>;
75
75
  foreignKeys: Record<string, {
76
- onUpdate?: string | undefined;
77
- onDelete?: string | undefined;
78
76
  name: string;
79
77
  tableFrom: string;
80
78
  columnsFrom: string[];
81
79
  tableTo: string;
82
80
  columnsTo: string[];
81
+ onUpdate?: string | undefined;
82
+ onDelete?: string | undefined;
83
83
  }>;
84
84
  compositePrimaryKeys: Record<string, {
85
- name?: string | undefined;
86
85
  columns: string[];
86
+ name?: string | undefined;
87
87
  }>;
88
88
  uniqueConstraints: Record<string, {
89
89
  name: string;
@@ -8,13 +8,13 @@ export declare const cliConfigGenerate: import("zod").ZodObject<{
8
8
  breakpoints: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
9
9
  custom: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
10
10
  }, "strict", import("zod").ZodTypeAny, {
11
+ custom: boolean;
12
+ out: string;
13
+ breakpoints: boolean;
11
14
  name?: string | undefined;
12
15
  schema?: string | string[] | undefined;
13
16
  dialect?: "mysql" | "postgresql" | "sqlite" | undefined;
14
17
  config?: string | undefined;
15
- custom: boolean;
16
- out: string;
17
- breakpoints: boolean;
18
18
  }, {
19
19
  name?: string | undefined;
20
20
  custom?: boolean | undefined;
@@ -29,7 +29,7 @@ export declare const pushParams: import("zod").ZodObject<{
29
29
  dialect: import("zod").ZodEnum<["postgresql", "mysql", "sqlite"]>;
30
30
  schema: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
31
31
  tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
32
- schemaFilter: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
32
+ schemaFilters: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
33
33
  driver: import("zod").ZodOptional<import("zod").ZodString>;
34
34
  connectionString: import("zod").ZodOptional<import("zod").ZodString>;
35
35
  uri: import("zod").ZodOptional<import("zod").ZodString>;
@@ -44,6 +44,8 @@ export declare const pushParams: import("zod").ZodObject<{
44
44
  verbose: import("zod").ZodOptional<import("zod").ZodBoolean>;
45
45
  strict: import("zod").ZodOptional<import("zod").ZodBoolean>;
46
46
  }, "strip", import("zod").ZodTypeAny, {
47
+ dialect: "mysql" | "postgresql" | "sqlite";
48
+ schemaFilters: string | string[];
47
49
  strict?: boolean | undefined;
48
50
  schema?: string | string[] | undefined;
49
51
  url?: string | undefined;
@@ -59,9 +61,8 @@ export declare const pushParams: import("zod").ZodObject<{
59
61
  authToken?: string | undefined;
60
62
  tablesFilter?: string | string[] | undefined;
61
63
  verbose?: boolean | undefined;
62
- dialect: "mysql" | "postgresql" | "sqlite";
63
- schemaFilter: string | string[];
64
64
  }, {
65
+ dialect: "mysql" | "postgresql" | "sqlite";
65
66
  strict?: boolean | undefined;
66
67
  schema?: string | string[] | undefined;
67
68
  url?: string | undefined;
@@ -76,9 +77,8 @@ export declare const pushParams: import("zod").ZodObject<{
76
77
  ssl?: string | undefined;
77
78
  authToken?: string | undefined;
78
79
  tablesFilter?: string | string[] | undefined;
79
- schemaFilter?: string | string[] | undefined;
80
80
  verbose?: boolean | undefined;
81
- dialect: "mysql" | "postgresql" | "sqlite";
81
+ schemaFilters?: string | string[] | undefined;
82
82
  }>;
83
83
  export type PushParams = TypeOf<typeof pushParams>;
84
84
  export declare const pullParams: import("zod").ZodObject<{
@@ -100,7 +100,11 @@ export declare const pullParams: import("zod").ZodObject<{
100
100
  authToken: import("zod").ZodOptional<import("zod").ZodString>;
101
101
  introspectCasing: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"camel">, import("zod").ZodLiteral<"preserve">]>>;
102
102
  breakpoints: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
103
- }, "passthrough", import("zod").ZodTypeAny, {
103
+ }, "strip", import("zod").ZodTypeAny, {
104
+ out: string;
105
+ breakpoints: boolean;
106
+ schemaFilter: string | string[];
107
+ introspectCasing: "camel" | "preserve";
104
108
  dialect?: "mysql" | "postgresql" | "sqlite" | undefined;
105
109
  url?: string | undefined;
106
110
  host?: string | undefined;
@@ -115,10 +119,6 @@ export declare const pullParams: import("zod").ZodObject<{
115
119
  authToken?: string | undefined;
116
120
  config?: string | undefined;
117
121
  tablesFilter?: string | string[] | undefined;
118
- out: string;
119
- breakpoints: boolean;
120
- schemaFilter: string | string[];
121
- introspectCasing: "camel" | "preserve";
122
122
  }, {
123
123
  dialect?: "mysql" | "postgresql" | "sqlite" | undefined;
124
124
  url?: string | undefined;
@@ -20,21 +20,21 @@ export declare const configCommonSchema: import("zod").ZodObject<{
20
20
  tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
21
21
  schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
22
22
  }, "strip", import("zod").ZodTypeAny, {
23
- driver?: "pg" | "turso" | "expo" | "mysql2" | "libsql" | "better-sqlite" | "d1" | undefined;
24
- out?: string | undefined;
25
- tablesFilter?: string | string[] | undefined;
26
23
  schema: string | string[];
27
24
  dialect: "mysql" | "postgresql" | "sqlite";
28
25
  breakpoints: boolean;
29
26
  schemaFilter: string | string[];
27
+ driver?: "pg" | "turso" | "expo" | "mysql2" | "libsql" | "better-sqlite" | "d1" | undefined;
28
+ out?: string | undefined;
29
+ tablesFilter?: string | string[] | undefined;
30
30
  }, {
31
+ schema: string | string[];
32
+ dialect: "mysql" | "postgresql" | "sqlite";
31
33
  driver?: "pg" | "turso" | "expo" | "mysql2" | "libsql" | "better-sqlite" | "d1" | undefined;
32
34
  out?: string | undefined;
33
35
  breakpoints?: boolean | undefined;
34
36
  tablesFilter?: string | string[] | undefined;
35
37
  schemaFilter?: string | string[] | undefined;
36
- schema: string | string[];
37
- dialect: "mysql" | "postgresql" | "sqlite";
38
38
  }>;
39
39
  export declare const casing: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"camel">, import("zod").ZodLiteral<"preserve">]>>;
40
40
  export declare const introspectParams: import("zod").ZodObject<{
@@ -51,14 +51,14 @@ export declare const introspectParams: import("zod").ZodObject<{
51
51
  casing?: "camel" | "preserve" | undefined;
52
52
  }>>;
53
53
  }, "strip", import("zod").ZodTypeAny, {
54
- schema?: string | string[] | undefined;
55
- tablesFilter?: string | string[] | undefined;
56
54
  introspect: {
57
55
  casing: "camel" | "preserve";
58
56
  };
59
57
  out: string;
60
58
  breakpoints: boolean;
61
59
  schemaFilter: string | string[];
60
+ schema?: string | string[] | undefined;
61
+ tablesFilter?: string | string[] | undefined;
62
62
  }, {
63
63
  schema?: string | string[] | undefined;
64
64
  introspect?: {
@@ -79,12 +79,12 @@ export declare const configIntrospectCliSchema: import("zod").ZodObject<{
79
79
  schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
80
80
  introspectCasing: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"camel">, import("zod").ZodLiteral<"preserve">]>>;
81
81
  }, "strip", import("zod").ZodTypeAny, {
82
- schema?: string | string[] | undefined;
83
- tablesFilter?: string | string[] | undefined;
84
82
  out: string;
85
83
  breakpoints: boolean;
86
84
  schemaFilter: string | string[];
87
85
  introspectCasing: "camel" | "preserve";
86
+ schema?: string | string[] | undefined;
87
+ tablesFilter?: string | string[] | undefined;
88
88
  }, {
89
89
  schema?: string | string[] | undefined;
90
90
  out?: string | undefined;
@@ -102,9 +102,9 @@ export declare const configGenerateSchema: import("zod").ZodObject<{
102
102
  out: string;
103
103
  breakpoints: boolean;
104
104
  }, {
105
+ schema: string | string[];
105
106
  out?: string | undefined;
106
107
  breakpoints?: boolean | undefined;
107
- schema: string | string[];
108
108
  }>;
109
109
  export type GenerateSchema = TypeOf<typeof configGenerateSchema>;
110
110
  export declare const configPushSchema: import("zod").ZodObject<{
@@ -116,21 +116,21 @@ export declare const configPushSchema: import("zod").ZodObject<{
116
116
  strict: import("zod").ZodDefault<import("zod").ZodBoolean>;
117
117
  out: import("zod").ZodOptional<import("zod").ZodString>;
118
118
  }, "strip", import("zod").ZodTypeAny, {
119
- out?: string | undefined;
120
- tablesFilter?: string | string[] | undefined;
121
119
  strict: boolean;
122
120
  schema: string | string[];
123
121
  dialect: "mysql" | "postgresql" | "sqlite";
124
122
  schemaFilter: string | string[];
125
123
  verbose: boolean;
124
+ out?: string | undefined;
125
+ tablesFilter?: string | string[] | undefined;
126
126
  }, {
127
+ schema: string | string[];
128
+ dialect: "mysql" | "postgresql" | "sqlite";
127
129
  strict?: boolean | undefined;
128
130
  out?: string | undefined;
129
131
  tablesFilter?: string | string[] | undefined;
130
132
  schemaFilter?: string | string[] | undefined;
131
133
  verbose?: boolean | undefined;
132
- schema: string | string[];
133
- dialect: "mysql" | "postgresql" | "sqlite";
134
134
  }>;
135
135
  export declare const mysqlConnectionSchema: import("zod").ZodUnion<[import("zod").ZodObject<{
136
136
  host: import("zod").ZodString;
@@ -139,17 +139,17 @@ export declare const mysqlConnectionSchema: import("zod").ZodUnion<[import("zod"
139
139
  password: import("zod").ZodOptional<import("zod").ZodString>;
140
140
  database: import("zod").ZodString;
141
141
  }, "strip", import("zod").ZodTypeAny, {
142
- port?: number | undefined;
143
- password?: string | undefined;
144
142
  host: string;
145
143
  user: string;
146
144
  database: string;
147
- }, {
148
145
  port?: number | undefined;
149
- user?: string | undefined;
150
146
  password?: string | undefined;
147
+ }, {
151
148
  host: string;
152
149
  database: string;
150
+ port?: number | undefined;
151
+ user?: string | undefined;
152
+ password?: string | undefined;
153
153
  }>, import("zod").ZodObject<{
154
154
  connectionString: import("zod").ZodString;
155
155
  }, "strip", import("zod").ZodTypeAny, {
@@ -166,21 +166,21 @@ export declare const mySqlCliConfigSchema: import("zod").ZodIntersection<import(
166
166
  tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
167
167
  schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
168
168
  }, "strip", import("zod").ZodTypeAny, {
169
- driver?: "pg" | "turso" | "expo" | "mysql2" | "libsql" | "better-sqlite" | "d1" | undefined;
170
- out?: string | undefined;
171
- tablesFilter?: string | string[] | undefined;
172
169
  schema: string | string[];
173
170
  dialect: "mysql" | "postgresql" | "sqlite";
174
171
  breakpoints: boolean;
175
172
  schemaFilter: string | string[];
173
+ driver?: "pg" | "turso" | "expo" | "mysql2" | "libsql" | "better-sqlite" | "d1" | undefined;
174
+ out?: string | undefined;
175
+ tablesFilter?: string | string[] | undefined;
176
176
  }, {
177
+ schema: string | string[];
178
+ dialect: "mysql" | "postgresql" | "sqlite";
177
179
  driver?: "pg" | "turso" | "expo" | "mysql2" | "libsql" | "better-sqlite" | "d1" | undefined;
178
180
  out?: string | undefined;
179
181
  breakpoints?: boolean | undefined;
180
182
  tablesFilter?: string | string[] | undefined;
181
183
  schemaFilter?: string | string[] | undefined;
182
- schema: string | string[];
183
- dialect: "mysql" | "postgresql" | "sqlite";
184
184
  }>, import("zod").ZodUnion<[import("zod").ZodObject<{
185
185
  host: import("zod").ZodString;
186
186
  port: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -188,17 +188,17 @@ export declare const mySqlCliConfigSchema: import("zod").ZodIntersection<import(
188
188
  password: import("zod").ZodOptional<import("zod").ZodString>;
189
189
  database: import("zod").ZodString;
190
190
  }, "strip", import("zod").ZodTypeAny, {
191
- port?: number | undefined;
192
- password?: string | undefined;
193
191
  host: string;
194
192
  user: string;
195
193
  database: string;
196
- }, {
197
194
  port?: number | undefined;
198
- user?: string | undefined;
199
195
  password?: string | undefined;
196
+ }, {
200
197
  host: string;
201
198
  database: string;
199
+ port?: number | undefined;
200
+ user?: string | undefined;
201
+ password?: string | undefined;
202
202
  }>, import("zod").ZodObject<{
203
203
  connectionString: import("zod").ZodString;
204
204
  }, "strip", import("zod").ZodTypeAny, {
@@ -6,17 +6,17 @@ export declare const mysqlCredentials: import("zod").ZodUnion<[import("zod").Zod
6
6
  password: import("zod").ZodOptional<import("zod").ZodString>;
7
7
  database: import("zod").ZodString;
8
8
  }, "strip", import("zod").ZodTypeAny, {
9
- port?: number | undefined;
10
- password?: string | undefined;
11
9
  host: string;
12
10
  user: string;
13
11
  database: string;
14
- }, {
15
12
  port?: number | undefined;
16
- user?: string | undefined;
17
13
  password?: string | undefined;
14
+ }, {
18
15
  host: string;
19
16
  database: string;
17
+ port?: number | undefined;
18
+ user?: string | undefined;
19
+ password?: string | undefined;
20
20
  }>, import("zod").ZodObject<{
21
21
  url: import("zod").ZodString;
22
22
  }, "strip", import("zod").ZodTypeAny, {
@@ -4,7 +4,6 @@ export declare const withStyle: {
4
4
  errorWarning: (str: string) => string;
5
5
  fullWarning: (str: string) => string;
6
6
  suggestion: (str: string) => string;
7
- info: (str: string) => string;
8
7
  };
9
8
  export declare const outputs: {
10
9
  studio: {
@@ -7,19 +7,19 @@ export declare const postgresCredentials: import("zod").ZodUnion<[import("zod").
7
7
  database: import("zod").ZodString;
8
8
  ssl: import("zod").ZodOptional<import("zod").ZodBoolean>;
9
9
  }, "strip", import("zod").ZodTypeAny, {
10
+ host: string;
11
+ user: string;
12
+ database: string;
10
13
  port?: number | undefined;
11
14
  password?: string | undefined;
12
15
  ssl?: boolean | undefined;
16
+ }, {
13
17
  host: string;
14
- user: string;
15
18
  database: string;
16
- }, {
17
19
  port?: number | undefined;
18
20
  user?: string | undefined;
19
21
  password?: string | undefined;
20
22
  ssl?: boolean | undefined;
21
- host: string;
22
- database: string;
23
23
  }>, import("zod").ZodObject<{
24
24
  url: import("zod").ZodString;
25
25
  }, "strip", import("zod").ZodTypeAny, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.20.17-b08243d",
3
+ "version": "0.20.17-b4f119e",
4
4
  "repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
5
5
  "author": "Drizzle Team",
6
6
  "license": "MIT",