drizzle-kit 0.20.17-c347d7b → 0.20.17-d1b2821
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.
- package/bin.cjs +14976 -16094
- package/cli/commands/migrate.d.ts +39 -39
- package/cli/commands/mysqlIntrospect.d.ts +8 -8
- package/cli/commands/pgIntrospect.d.ts +7 -7
- package/cli/commands/sqliteIntrospect.d.ts +12 -12
- package/cli/commands/utils.d.ts +1 -123
- package/cli/connections.d.ts +2 -7
- package/cli/validations/cli.d.ts +51 -51
- package/cli/validations/common.d.ts +32 -32
- package/cli/validations/mysql.d.ts +4 -4
- package/cli/validations/pg.d.ts +4 -4
- package/cli/views.d.ts +0 -6
- package/index.d.mts +3 -5
- package/index.d.ts +3 -5
- package/package.json +2 -2
- package/payload.js +430 -1096
- package/payload.mjs +233 -899
- package/schemaValidator.d.ts +215 -215
- package/serializer/mysqlSchema.d.ts +890 -890
- package/serializer/pgSchema.d.ts +734 -734
- package/serializer/sqliteSchema.d.ts +457 -457
- package/serializer/studio.d.ts +1 -3
- package/snapshotsDiffer.d.ts +314 -314
- package/utils-studio.js +837 -945
- package/utils-studio.mjs +810 -918
- package/utils.js +214 -839
- package/utils.mjs +189 -814
- package/cli/validations/studio.d.ts +0 -92
package/cli/validations/cli.d.ts
CHANGED
|
@@ -8,18 +8,18 @@ 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;
|
|
14
11
|
name?: string | undefined;
|
|
15
12
|
schema?: string | string[] | undefined;
|
|
16
|
-
dialect?: "
|
|
13
|
+
dialect?: "mysql" | "postgresql" | "sqlite" | undefined;
|
|
17
14
|
config?: string | undefined;
|
|
15
|
+
custom: boolean;
|
|
16
|
+
out: string;
|
|
17
|
+
breakpoints: boolean;
|
|
18
18
|
}, {
|
|
19
19
|
name?: string | undefined;
|
|
20
20
|
custom?: boolean | undefined;
|
|
21
21
|
schema?: string | string[] | undefined;
|
|
22
|
-
dialect?: "
|
|
22
|
+
dialect?: "mysql" | "postgresql" | "sqlite" | undefined;
|
|
23
23
|
config?: string | undefined;
|
|
24
24
|
out?: string | undefined;
|
|
25
25
|
breakpoints?: boolean | undefined;
|
|
@@ -44,8 +44,6 @@ 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: "postgresql" | "mysql" | "sqlite";
|
|
48
|
-
schemaFilter: string | string[];
|
|
49
47
|
strict?: boolean | undefined;
|
|
50
48
|
schema?: string | string[] | undefined;
|
|
51
49
|
url?: string | undefined;
|
|
@@ -61,8 +59,9 @@ export declare const pushParams: import("zod").ZodObject<{
|
|
|
61
59
|
authToken?: string | undefined;
|
|
62
60
|
tablesFilter?: string | string[] | undefined;
|
|
63
61
|
verbose?: boolean | undefined;
|
|
62
|
+
dialect: "mysql" | "postgresql" | "sqlite";
|
|
63
|
+
schemaFilter: string | string[];
|
|
64
64
|
}, {
|
|
65
|
-
dialect: "postgresql" | "mysql" | "sqlite";
|
|
66
65
|
strict?: boolean | undefined;
|
|
67
66
|
schema?: string | string[] | undefined;
|
|
68
67
|
url?: string | undefined;
|
|
@@ -79,6 +78,7 @@ export declare const pushParams: import("zod").ZodObject<{
|
|
|
79
78
|
tablesFilter?: string | string[] | undefined;
|
|
80
79
|
schemaFilter?: string | string[] | undefined;
|
|
81
80
|
verbose?: boolean | undefined;
|
|
81
|
+
dialect: "mysql" | "postgresql" | "sqlite";
|
|
82
82
|
}>;
|
|
83
83
|
export type PushParams = TypeOf<typeof pushParams>;
|
|
84
84
|
export declare const pullParams: import("zod").ZodObject<{
|
|
@@ -100,54 +100,54 @@ 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,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
uri
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
},
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
uri
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
}
|
|
103
|
+
}, "passthrough", import("zod").ZodTypeAny, {
|
|
104
|
+
dialect?: "mysql" | "postgresql" | "sqlite" | undefined;
|
|
105
|
+
url?: string | undefined;
|
|
106
|
+
host?: string | undefined;
|
|
107
|
+
port?: string | undefined;
|
|
108
|
+
user?: string | undefined;
|
|
109
|
+
password?: string | undefined;
|
|
110
|
+
database?: string | undefined;
|
|
111
|
+
uri?: string | undefined;
|
|
112
|
+
driver?: string | undefined;
|
|
113
|
+
connectionString?: string | undefined;
|
|
114
|
+
ssl?: string | undefined;
|
|
115
|
+
authToken?: string | undefined;
|
|
116
|
+
config?: string | undefined;
|
|
117
|
+
tablesFilter?: string | string[] | undefined;
|
|
118
|
+
out: string;
|
|
119
|
+
breakpoints: boolean;
|
|
120
|
+
schemaFilter: string | string[];
|
|
121
|
+
introspectCasing: "camel" | "preserve";
|
|
122
|
+
}, {
|
|
123
|
+
dialect?: "mysql" | "postgresql" | "sqlite" | undefined;
|
|
124
|
+
url?: string | undefined;
|
|
125
|
+
host?: string | undefined;
|
|
126
|
+
port?: string | undefined;
|
|
127
|
+
user?: string | undefined;
|
|
128
|
+
password?: string | undefined;
|
|
129
|
+
database?: string | undefined;
|
|
130
|
+
uri?: string | undefined;
|
|
131
|
+
driver?: string | undefined;
|
|
132
|
+
connectionString?: string | undefined;
|
|
133
|
+
ssl?: string | undefined;
|
|
134
|
+
authToken?: string | undefined;
|
|
135
|
+
config?: string | undefined;
|
|
136
|
+
out?: string | undefined;
|
|
137
|
+
breakpoints?: boolean | undefined;
|
|
138
|
+
tablesFilter?: string | string[] | undefined;
|
|
139
|
+
schemaFilter?: string | string[] | undefined;
|
|
140
|
+
introspectCasing?: "camel" | "preserve" | undefined;
|
|
141
|
+
}>;
|
|
142
142
|
export type PullParams = TypeOf<typeof pullParams>;
|
|
143
143
|
export declare const configCheck: import("zod").ZodObject<{
|
|
144
144
|
dialect: import("zod").ZodOptional<import("zod").ZodEnum<["postgresql", "mysql", "sqlite"]>>;
|
|
145
145
|
out: import("zod").ZodOptional<import("zod").ZodString>;
|
|
146
146
|
}, "strip", import("zod").ZodTypeAny, {
|
|
147
|
-
dialect?: "
|
|
147
|
+
dialect?: "mysql" | "postgresql" | "sqlite" | undefined;
|
|
148
148
|
out?: string | undefined;
|
|
149
149
|
}, {
|
|
150
|
-
dialect?: "
|
|
150
|
+
dialect?: "mysql" | "postgresql" | "sqlite" | undefined;
|
|
151
151
|
out?: string | undefined;
|
|
152
152
|
}>;
|
|
153
153
|
export declare const cliConfigCheck: import("zod").ZodIntersection<import("zod").ZodObject<{
|
|
@@ -160,10 +160,10 @@ export declare const cliConfigCheck: import("zod").ZodIntersection<import("zod")
|
|
|
160
160
|
dialect: import("zod").ZodOptional<import("zod").ZodEnum<["postgresql", "mysql", "sqlite"]>>;
|
|
161
161
|
out: import("zod").ZodOptional<import("zod").ZodString>;
|
|
162
162
|
}, "strip", import("zod").ZodTypeAny, {
|
|
163
|
-
dialect?: "
|
|
163
|
+
dialect?: "mysql" | "postgresql" | "sqlite" | undefined;
|
|
164
164
|
out?: string | undefined;
|
|
165
165
|
}, {
|
|
166
|
-
dialect?: "
|
|
166
|
+
dialect?: "mysql" | "postgresql" | "sqlite" | undefined;
|
|
167
167
|
out?: string | undefined;
|
|
168
168
|
}>>;
|
|
169
169
|
export type CliCheckConfig = TypeOf<typeof cliConfigCheck>;
|
|
@@ -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;
|
|
23
26
|
schema: string | string[];
|
|
24
|
-
dialect: "
|
|
27
|
+
dialect: "mysql" | "postgresql" | "sqlite";
|
|
25
28
|
breakpoints: boolean;
|
|
26
29
|
schemaFilter: string | string[];
|
|
27
|
-
driver?: "turso" | "expo" | "pg" | "mysql2" | "libsql" | "better-sqlite" | "d1" | undefined;
|
|
28
|
-
out?: string | undefined;
|
|
29
|
-
tablesFilter?: string | string[] | undefined;
|
|
30
30
|
}, {
|
|
31
|
-
|
|
32
|
-
dialect: "postgresql" | "mysql" | "sqlite";
|
|
33
|
-
driver?: "turso" | "expo" | "pg" | "mysql2" | "libsql" | "better-sqlite" | "d1" | undefined;
|
|
31
|
+
driver?: "pg" | "turso" | "expo" | "mysql2" | "libsql" | "better-sqlite" | "d1" | undefined;
|
|
34
32
|
out?: string | undefined;
|
|
35
33
|
breakpoints?: boolean | undefined;
|
|
36
34
|
tablesFilter?: string | string[] | undefined;
|
|
37
35
|
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;
|
|
54
56
|
introspect: {
|
|
55
57
|
casing: "camel" | "preserve";
|
|
56
58
|
};
|
|
57
59
|
out: string;
|
|
58
60
|
breakpoints: boolean;
|
|
59
61
|
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;
|
|
82
84
|
out: string;
|
|
83
85
|
breakpoints: boolean;
|
|
84
86
|
schemaFilter: string | string[];
|
|
85
87
|
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[];
|
|
106
105
|
out?: string | undefined;
|
|
107
106
|
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;
|
|
119
121
|
strict: boolean;
|
|
120
122
|
schema: string | string[];
|
|
121
|
-
dialect: "
|
|
123
|
+
dialect: "mysql" | "postgresql" | "sqlite";
|
|
122
124
|
schemaFilter: string | string[];
|
|
123
125
|
verbose: boolean;
|
|
124
|
-
out?: string | undefined;
|
|
125
|
-
tablesFilter?: string | string[] | undefined;
|
|
126
126
|
}, {
|
|
127
|
-
schema: string | string[];
|
|
128
|
-
dialect: "postgresql" | "mysql" | "sqlite";
|
|
129
127
|
strict?: boolean | undefined;
|
|
130
128
|
out?: string | undefined;
|
|
131
129
|
tablesFilter?: string | string[] | undefined;
|
|
132
130
|
schemaFilter?: string | string[] | undefined;
|
|
133
131
|
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
|
-
host: string;
|
|
143
|
-
user: string;
|
|
144
|
-
database: string;
|
|
145
142
|
port?: number | undefined;
|
|
146
143
|
password?: string | undefined;
|
|
147
|
-
}, {
|
|
148
144
|
host: string;
|
|
145
|
+
user: string;
|
|
149
146
|
database: string;
|
|
147
|
+
}, {
|
|
150
148
|
port?: number | undefined;
|
|
151
149
|
user?: string | undefined;
|
|
152
150
|
password?: string | undefined;
|
|
151
|
+
host: string;
|
|
152
|
+
database: string;
|
|
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;
|
|
169
172
|
schema: string | string[];
|
|
170
|
-
dialect: "
|
|
173
|
+
dialect: "mysql" | "postgresql" | "sqlite";
|
|
171
174
|
breakpoints: boolean;
|
|
172
175
|
schemaFilter: string | string[];
|
|
173
|
-
driver?: "turso" | "expo" | "pg" | "mysql2" | "libsql" | "better-sqlite" | "d1" | undefined;
|
|
174
|
-
out?: string | undefined;
|
|
175
|
-
tablesFilter?: string | string[] | undefined;
|
|
176
176
|
}, {
|
|
177
|
-
|
|
178
|
-
dialect: "postgresql" | "mysql" | "sqlite";
|
|
179
|
-
driver?: "turso" | "expo" | "pg" | "mysql2" | "libsql" | "better-sqlite" | "d1" | undefined;
|
|
177
|
+
driver?: "pg" | "turso" | "expo" | "mysql2" | "libsql" | "better-sqlite" | "d1" | undefined;
|
|
180
178
|
out?: string | undefined;
|
|
181
179
|
breakpoints?: boolean | undefined;
|
|
182
180
|
tablesFilter?: string | string[] | undefined;
|
|
183
181
|
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
|
-
host: string;
|
|
192
|
-
user: string;
|
|
193
|
-
database: string;
|
|
194
191
|
port?: number | undefined;
|
|
195
192
|
password?: string | undefined;
|
|
196
|
-
}, {
|
|
197
193
|
host: string;
|
|
194
|
+
user: string;
|
|
198
195
|
database: string;
|
|
196
|
+
}, {
|
|
199
197
|
port?: number | undefined;
|
|
200
198
|
user?: string | undefined;
|
|
201
199
|
password?: string | undefined;
|
|
200
|
+
host: string;
|
|
201
|
+
database: string;
|
|
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
|
-
host: string;
|
|
10
|
-
user: string;
|
|
11
|
-
database: string;
|
|
12
9
|
port?: number | undefined;
|
|
13
10
|
password?: string | undefined;
|
|
14
|
-
}, {
|
|
15
11
|
host: string;
|
|
12
|
+
user: string;
|
|
16
13
|
database: string;
|
|
14
|
+
}, {
|
|
17
15
|
port?: number | undefined;
|
|
18
16
|
user?: string | undefined;
|
|
19
17
|
password?: string | undefined;
|
|
18
|
+
host: string;
|
|
19
|
+
database: string;
|
|
20
20
|
}>, import("zod").ZodObject<{
|
|
21
21
|
url: import("zod").ZodString;
|
|
22
22
|
}, "strip", import("zod").ZodTypeAny, {
|
package/cli/validations/pg.d.ts
CHANGED
|
@@ -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;
|
|
13
10
|
port?: number | undefined;
|
|
14
11
|
password?: string | undefined;
|
|
15
12
|
ssl?: boolean | undefined;
|
|
16
|
-
}, {
|
|
17
13
|
host: string;
|
|
14
|
+
user: string;
|
|
18
15
|
database: string;
|
|
16
|
+
}, {
|
|
19
17
|
port?: number | undefined;
|
|
20
18
|
user?: string | undefined;
|
|
21
19
|
password?: string | undefined;
|
|
22
20
|
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/cli/views.d.ts
CHANGED
|
@@ -48,12 +48,6 @@ export declare class IntrospectProgress extends TaskView {
|
|
|
48
48
|
private statusText;
|
|
49
49
|
render(): string;
|
|
50
50
|
}
|
|
51
|
-
export declare class MigrateProgress extends TaskView {
|
|
52
|
-
private readonly spinner;
|
|
53
|
-
private timeout;
|
|
54
|
-
constructor();
|
|
55
|
-
render(status: "pending" | "done"): string;
|
|
56
|
-
}
|
|
57
51
|
export declare class DropMigrationView<T extends {
|
|
58
52
|
tag: string;
|
|
59
53
|
}> extends Prompt<T> {
|
package/index.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { Dialect } from "./schemaValidator";
|
|
1
2
|
export type Config = {
|
|
2
|
-
dialect:
|
|
3
|
+
dialect: Dialect;
|
|
3
4
|
out?: string;
|
|
4
5
|
breakpoints?: boolean;
|
|
5
6
|
tablesFilter?: string | string[];
|
|
@@ -7,10 +8,7 @@ export type Config = {
|
|
|
7
8
|
schema?: string | string[];
|
|
8
9
|
verbose?: boolean;
|
|
9
10
|
strict?: boolean;
|
|
10
|
-
|
|
11
|
-
table?: string;
|
|
12
|
-
schema?: string;
|
|
13
|
-
};
|
|
11
|
+
} & {
|
|
14
12
|
introspect?: {
|
|
15
13
|
casing: "camel" | "preserve";
|
|
16
14
|
};
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { Dialect } from "./schemaValidator";
|
|
1
2
|
export type Config = {
|
|
2
|
-
dialect:
|
|
3
|
+
dialect: Dialect;
|
|
3
4
|
out?: string;
|
|
4
5
|
breakpoints?: boolean;
|
|
5
6
|
tablesFilter?: string | string[];
|
|
@@ -7,10 +8,7 @@ export type Config = {
|
|
|
7
8
|
schema?: string | string[];
|
|
8
9
|
verbose?: boolean;
|
|
9
10
|
strict?: boolean;
|
|
10
|
-
|
|
11
|
-
table?: string;
|
|
12
|
-
schema?: string;
|
|
13
|
-
};
|
|
11
|
+
} & {
|
|
14
12
|
introspect?: {
|
|
15
13
|
casing: "camel" | "preserve";
|
|
16
14
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "drizzle-kit",
|
|
3
|
-
"version": "0.20.17-
|
|
3
|
+
"version": "0.20.17-d1b2821",
|
|
4
4
|
"repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
|
|
5
5
|
"author": "Drizzle Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"dockerode": "^3.3.4",
|
|
68
68
|
"dotenv": "^16.0.3",
|
|
69
69
|
"drizzle-kit": "0.20.14",
|
|
70
|
-
"drizzle-orm": "0.30.
|
|
70
|
+
"drizzle-orm": "0.30.5-ab9feb7",
|
|
71
71
|
"esbuild-node-externals": "^1.9.0",
|
|
72
72
|
"eslint": "^8.57.0",
|
|
73
73
|
"eslint-config-prettier": "^9.1.0",
|