drizzle-kit 0.20.14-1f99bf7 → 0.20.14-3ab22ec
Sign up to get free protection for your applications and to get access to all the features.
- package/bin.cjs +36859 -33936
- package/cli/commands/migrate.d.ts +24 -24
- package/cli/commands/mysqlIntrospect.d.ts +8 -8
- package/cli/commands/mysqlPushUtils.d.ts +2 -2
- package/cli/commands/mysqlUp.d.ts +2 -2
- package/cli/commands/pgConnect.d.ts +1 -1
- package/cli/commands/pgIntrospect.d.ts +9 -9
- package/cli/commands/pgPushUtils.d.ts +2 -2
- package/cli/commands/pgUp.d.ts +2 -2
- package/cli/commands/sqliteIntrospect.d.ts +9 -9
- package/cli/commands/sqlitePushUtils.d.ts +3 -3
- package/cli/commands/sqliteUtils.d.ts +162 -0
- package/cli/commands/upFolders.d.ts +1 -1
- package/cli/commands/utils.d.ts +259 -14
- package/cli/validations/common.d.ts +7 -205
- package/cli/validations/mysql.d.ts +1 -6
- package/cli/validations/pg.d.ts +1 -6
- package/cli/views.d.ts +1 -1
- package/global.d.ts +1 -1
- package/index.d.mts +6 -8
- package/index.d.ts +6 -8
- package/index.js +0 -1
- package/introspect-mysql.d.ts +1 -1
- package/introspect-pg.d.ts +1 -1
- package/introspect-sqlite.d.ts +1 -1
- package/jsonStatements.d.ts +1 -1
- package/package.json +8 -5
- package/payload.js +1527 -1841
- package/payload.mjs +1531 -1844
- package/schemaValidator.d.ts +40 -40
- package/serializer/mysqlSchema.d.ts +616 -1854
- package/serializer/mysqlSerializer.d.ts +2 -2
- package/serializer/pgSchema.d.ts +684 -1009
- package/serializer/sqliteSchema.d.ts +570 -144
- package/serializer/sqliteSerializer.d.ts +2 -2
- package/snapshotsDiffer.d.ts +20 -24
- package/utils-studio.js +8 -21
- package/utils-studio.mjs +8 -20
- package/utils.d.ts +12 -12
- package/utils.js +735 -849
- package/utils.mjs +736 -849
- package/cli/validations/cli.d.ts +0 -104
- package/cli/validations/sqlite.d.ts +0 -382
package/cli/commands/utils.d.ts
CHANGED
@@ -1,29 +1,274 @@
|
|
1
|
-
import {
|
2
|
-
import { PgPushConfig } from "../validations/pg";
|
3
|
-
import { SQLitePushConfig } from "../validations/sqlite";
|
4
|
-
import { CliConfig } from "../validations/common";
|
5
|
-
import { Dialect } from "src/schemaValidator";
|
6
|
-
import { CliCheckConfig, CliConfigGenerate, CliParamsPush } from "../validations/cli";
|
1
|
+
import { TypeOf } from "zod";
|
7
2
|
export declare const safeRegister: () => Promise<{
|
8
3
|
unregister: () => void;
|
9
4
|
}>;
|
10
5
|
export type GenerateConfig = {
|
11
|
-
dialect: Dialect;
|
12
6
|
schema: string | string[];
|
13
7
|
out: string;
|
14
8
|
breakpoints: boolean;
|
15
9
|
custom: boolean;
|
16
10
|
bundle: boolean;
|
17
11
|
};
|
18
|
-
export declare const prepareGenerateConfig: (options:
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
12
|
+
export declare const prepareGenerateConfig: (options: {
|
13
|
+
schema?: string | string[];
|
14
|
+
out?: string;
|
15
|
+
config?: string;
|
16
|
+
breakpoints: boolean;
|
17
|
+
custom: boolean;
|
18
|
+
}) => Promise<GenerateConfig>;
|
19
|
+
export declare const assertOutFolder: (it: {
|
20
|
+
config?: string;
|
21
|
+
} | {
|
22
|
+
out: string;
|
23
|
+
}) => Promise<string>;
|
24
|
+
export declare const driver: import("zod").ZodUnion<[import("zod").ZodLiteral<"better-sqlite">, import("zod").ZodLiteral<"turso">, import("zod").ZodLiteral<"libsql">, import("zod").ZodLiteral<"d1">, import("zod").ZodLiteral<"expo">, import("zod").ZodLiteral<"pg">, import("zod").ZodLiteral<"mysql2">]>;
|
25
|
+
export declare const configCommonSchema: import("zod").ZodObject<{
|
26
|
+
schema: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
27
|
+
out: import("zod").ZodOptional<import("zod").ZodString>;
|
28
|
+
breakpoints: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
29
|
+
driver: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"better-sqlite">, import("zod").ZodLiteral<"turso">, import("zod").ZodLiteral<"libsql">, import("zod").ZodLiteral<"d1">, import("zod").ZodLiteral<"expo">, import("zod").ZodLiteral<"pg">, import("zod").ZodLiteral<"mysql2">]>>;
|
30
|
+
tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
31
|
+
schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
32
|
+
}, "strip", import("zod").ZodTypeAny, {
|
33
|
+
out?: string | undefined;
|
34
|
+
driver?: "turso" | "better-sqlite" | "libsql" | "d1" | "pg" | "mysql2" | "expo" | undefined;
|
35
|
+
tablesFilter?: string | string[] | undefined;
|
36
|
+
schema: string | string[];
|
37
|
+
breakpoints: boolean;
|
38
|
+
schemaFilter: string | string[];
|
39
|
+
}, {
|
40
|
+
out?: string | undefined;
|
41
|
+
breakpoints?: boolean | undefined;
|
42
|
+
driver?: "turso" | "better-sqlite" | "libsql" | "d1" | "pg" | "mysql2" | "expo" | undefined;
|
43
|
+
tablesFilter?: string | string[] | undefined;
|
44
|
+
schemaFilter?: string | string[] | undefined;
|
45
|
+
schema: string | string[];
|
23
46
|
}>;
|
24
|
-
export declare const
|
47
|
+
export declare const introspectCasing: import("zod").ZodDefault<import("zod").ZodObject<{
|
48
|
+
casing: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"camel">, import("zod").ZodLiteral<"preserve">]>>;
|
49
|
+
}, "strip", import("zod").ZodTypeAny, {
|
50
|
+
casing: "camel" | "preserve";
|
51
|
+
}, {
|
52
|
+
casing?: "camel" | "preserve" | undefined;
|
53
|
+
}>>;
|
54
|
+
export declare const configIntrospectSchema: import("zod").ZodObject<{
|
55
|
+
schema: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
56
|
+
out: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
|
57
|
+
breakpoints: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
58
|
+
tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
59
|
+
schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
60
|
+
introspect: import("zod").ZodDefault<import("zod").ZodObject<{
|
61
|
+
casing: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"camel">, import("zod").ZodLiteral<"preserve">]>>;
|
62
|
+
}, "strip", import("zod").ZodTypeAny, {
|
63
|
+
casing: "camel" | "preserve";
|
64
|
+
}, {
|
65
|
+
casing?: "camel" | "preserve" | undefined;
|
66
|
+
}>>;
|
67
|
+
}, "strip", import("zod").ZodTypeAny, {
|
68
|
+
schema?: string | string[] | undefined;
|
69
|
+
tablesFilter?: string | string[] | undefined;
|
25
70
|
out: string;
|
26
|
-
|
71
|
+
breakpoints: boolean;
|
72
|
+
schemaFilter: string | string[];
|
73
|
+
introspect: {
|
74
|
+
casing: "camel" | "preserve";
|
75
|
+
};
|
76
|
+
}, {
|
77
|
+
schema?: string | string[] | undefined;
|
78
|
+
out?: string | undefined;
|
79
|
+
breakpoints?: boolean | undefined;
|
80
|
+
tablesFilter?: string | string[] | undefined;
|
81
|
+
schemaFilter?: string | string[] | undefined;
|
82
|
+
introspect?: {
|
83
|
+
casing?: "camel" | "preserve" | undefined;
|
84
|
+
} | undefined;
|
85
|
+
}>;
|
86
|
+
export type ConfigIntrospectSchema = TypeOf<typeof configIntrospectSchema>;
|
87
|
+
export type ConfigIntrospectCasing = TypeOf<typeof introspectCasing>;
|
88
|
+
export declare const configIntrospectCliSchema: import("zod").ZodObject<{
|
89
|
+
schema: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
90
|
+
out: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
|
91
|
+
breakpoints: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
92
|
+
tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
93
|
+
schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
94
|
+
introspectCasing: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"camel">, import("zod").ZodLiteral<"preserve">]>>;
|
95
|
+
}, "strip", import("zod").ZodTypeAny, {
|
96
|
+
schema?: string | string[] | undefined;
|
97
|
+
tablesFilter?: string | string[] | undefined;
|
98
|
+
out: string;
|
99
|
+
breakpoints: boolean;
|
100
|
+
schemaFilter: string | string[];
|
101
|
+
introspectCasing: "camel" | "preserve";
|
102
|
+
}, {
|
103
|
+
schema?: string | string[] | undefined;
|
104
|
+
out?: string | undefined;
|
105
|
+
breakpoints?: boolean | undefined;
|
106
|
+
tablesFilter?: string | string[] | undefined;
|
107
|
+
schemaFilter?: string | string[] | undefined;
|
108
|
+
introspectCasing?: "camel" | "preserve" | undefined;
|
27
109
|
}>;
|
110
|
+
export declare const configGenerateSchema: import("zod").ZodObject<{
|
111
|
+
schema: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
112
|
+
out: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
|
113
|
+
breakpoints: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
114
|
+
}, "strip", import("zod").ZodTypeAny, {
|
115
|
+
schema: string | string[];
|
116
|
+
out: string;
|
117
|
+
breakpoints: boolean;
|
118
|
+
}, {
|
119
|
+
out?: string | undefined;
|
120
|
+
breakpoints?: boolean | undefined;
|
121
|
+
schema: string | string[];
|
122
|
+
}>;
|
123
|
+
export type GenerateSchema = TypeOf<typeof configGenerateSchema>;
|
124
|
+
export declare const configPushSchema: import("zod").ZodObject<{
|
125
|
+
schema: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
126
|
+
tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
127
|
+
schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
128
|
+
verbose: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
129
|
+
strict: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
130
|
+
}, "strip", import("zod").ZodTypeAny, {
|
131
|
+
tablesFilter?: string | string[] | undefined;
|
132
|
+
strict: boolean;
|
133
|
+
schema: string | string[];
|
134
|
+
schemaFilter: string | string[];
|
135
|
+
verbose: boolean;
|
136
|
+
}, {
|
137
|
+
strict?: boolean | undefined;
|
138
|
+
tablesFilter?: string | string[] | undefined;
|
139
|
+
schemaFilter?: string | string[] | undefined;
|
140
|
+
verbose?: boolean | undefined;
|
141
|
+
schema: string | string[];
|
142
|
+
}>;
|
143
|
+
export declare const mysqlConnectionSchema: import("zod").ZodUnion<[import("zod").ZodObject<{
|
144
|
+
host: import("zod").ZodString;
|
145
|
+
port: import("zod").ZodOptional<import("zod").ZodNumber>;
|
146
|
+
user: import("zod").ZodDefault<import("zod").ZodString>;
|
147
|
+
password: import("zod").ZodOptional<import("zod").ZodString>;
|
148
|
+
database: import("zod").ZodString;
|
149
|
+
}, "strip", import("zod").ZodTypeAny, {
|
150
|
+
port?: number | undefined;
|
151
|
+
password?: string | undefined;
|
152
|
+
host: string;
|
153
|
+
user: string;
|
154
|
+
database: string;
|
155
|
+
}, {
|
156
|
+
port?: number | undefined;
|
157
|
+
user?: string | undefined;
|
158
|
+
password?: string | undefined;
|
159
|
+
host: string;
|
160
|
+
database: string;
|
161
|
+
}>, import("zod").ZodObject<{
|
162
|
+
connectionString: import("zod").ZodString;
|
163
|
+
}, "strip", import("zod").ZodTypeAny, {
|
164
|
+
connectionString: string;
|
165
|
+
}, {
|
166
|
+
connectionString: string;
|
167
|
+
}>, import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>]>;
|
168
|
+
export declare const mySqlCliConfigSchema: import("zod").ZodIntersection<import("zod").ZodObject<{
|
169
|
+
schema: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
170
|
+
out: import("zod").ZodOptional<import("zod").ZodString>;
|
171
|
+
breakpoints: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
172
|
+
driver: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"better-sqlite">, import("zod").ZodLiteral<"turso">, import("zod").ZodLiteral<"libsql">, import("zod").ZodLiteral<"d1">, import("zod").ZodLiteral<"expo">, import("zod").ZodLiteral<"pg">, import("zod").ZodLiteral<"mysql2">]>>;
|
173
|
+
tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
174
|
+
schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
175
|
+
}, "strip", import("zod").ZodTypeAny, {
|
176
|
+
out?: string | undefined;
|
177
|
+
driver?: "turso" | "better-sqlite" | "libsql" | "d1" | "pg" | "mysql2" | "expo" | undefined;
|
178
|
+
tablesFilter?: string | string[] | undefined;
|
179
|
+
schema: string | string[];
|
180
|
+
breakpoints: boolean;
|
181
|
+
schemaFilter: string | string[];
|
182
|
+
}, {
|
183
|
+
out?: string | undefined;
|
184
|
+
breakpoints?: boolean | undefined;
|
185
|
+
driver?: "turso" | "better-sqlite" | "libsql" | "d1" | "pg" | "mysql2" | "expo" | undefined;
|
186
|
+
tablesFilter?: string | string[] | undefined;
|
187
|
+
schemaFilter?: string | string[] | undefined;
|
188
|
+
schema: string | string[];
|
189
|
+
}>, import("zod").ZodUnion<[import("zod").ZodObject<{
|
190
|
+
host: import("zod").ZodString;
|
191
|
+
port: import("zod").ZodOptional<import("zod").ZodNumber>;
|
192
|
+
user: import("zod").ZodDefault<import("zod").ZodString>;
|
193
|
+
password: import("zod").ZodOptional<import("zod").ZodString>;
|
194
|
+
database: import("zod").ZodString;
|
195
|
+
}, "strip", import("zod").ZodTypeAny, {
|
196
|
+
port?: number | undefined;
|
197
|
+
password?: string | undefined;
|
198
|
+
host: string;
|
199
|
+
user: string;
|
200
|
+
database: string;
|
201
|
+
}, {
|
202
|
+
port?: number | undefined;
|
203
|
+
user?: string | undefined;
|
204
|
+
password?: string | undefined;
|
205
|
+
host: string;
|
206
|
+
database: string;
|
207
|
+
}>, import("zod").ZodObject<{
|
208
|
+
connectionString: import("zod").ZodString;
|
209
|
+
}, "strip", import("zod").ZodTypeAny, {
|
210
|
+
connectionString: string;
|
211
|
+
}, {
|
212
|
+
connectionString: string;
|
213
|
+
}>, import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>]>>;
|
214
|
+
export declare const mySqlIntrospectConfigSchema: import("zod").ZodIntersection<import("zod").ZodObject<{
|
215
|
+
schema: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
216
|
+
out: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
|
217
|
+
breakpoints: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
218
|
+
tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
219
|
+
schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
220
|
+
introspect: import("zod").ZodDefault<import("zod").ZodObject<{
|
221
|
+
casing: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"camel">, import("zod").ZodLiteral<"preserve">]>>;
|
222
|
+
}, "strip", import("zod").ZodTypeAny, {
|
223
|
+
casing: "camel" | "preserve";
|
224
|
+
}, {
|
225
|
+
casing?: "camel" | "preserve" | undefined;
|
226
|
+
}>>;
|
227
|
+
}, "strip", import("zod").ZodTypeAny, {
|
228
|
+
schema?: string | string[] | undefined;
|
229
|
+
tablesFilter?: string | string[] | undefined;
|
230
|
+
out: string;
|
231
|
+
breakpoints: boolean;
|
232
|
+
schemaFilter: string | string[];
|
233
|
+
introspect: {
|
234
|
+
casing: "camel" | "preserve";
|
235
|
+
};
|
236
|
+
}, {
|
237
|
+
schema?: string | string[] | undefined;
|
238
|
+
out?: string | undefined;
|
239
|
+
breakpoints?: boolean | undefined;
|
240
|
+
tablesFilter?: string | string[] | undefined;
|
241
|
+
schemaFilter?: string | string[] | undefined;
|
242
|
+
introspect?: {
|
243
|
+
casing?: "camel" | "preserve" | undefined;
|
244
|
+
} | undefined;
|
245
|
+
}>, import("zod").ZodUnion<[import("zod").ZodObject<{
|
246
|
+
host: import("zod").ZodString;
|
247
|
+
port: import("zod").ZodOptional<import("zod").ZodNumber>;
|
248
|
+
user: import("zod").ZodDefault<import("zod").ZodString>;
|
249
|
+
password: import("zod").ZodOptional<import("zod").ZodString>;
|
250
|
+
database: import("zod").ZodString;
|
251
|
+
}, "strip", import("zod").ZodTypeAny, {
|
252
|
+
port?: number | undefined;
|
253
|
+
password?: string | undefined;
|
254
|
+
host: string;
|
255
|
+
user: string;
|
256
|
+
database: string;
|
257
|
+
}, {
|
258
|
+
port?: number | undefined;
|
259
|
+
user?: string | undefined;
|
260
|
+
password?: string | undefined;
|
261
|
+
host: string;
|
262
|
+
database: string;
|
263
|
+
}>, import("zod").ZodObject<{
|
264
|
+
connectionString: import("zod").ZodString;
|
265
|
+
}, "strip", import("zod").ZodTypeAny, {
|
266
|
+
connectionString: string;
|
267
|
+
}, {
|
268
|
+
connectionString: string;
|
269
|
+
}>, import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>]>>;
|
270
|
+
export type MySqlCliConfig = TypeOf<typeof mySqlCliConfigSchema>;
|
271
|
+
export type CliConfig = MySqlCliConfig;
|
272
|
+
export type Driver = TypeOf<typeof driver>;
|
28
273
|
export declare const drizzleConfigFromFile: (configPath?: string) => Promise<CliConfig>;
|
29
274
|
export declare const readDrizzleConfig: (configPath?: string) => Promise<any>;
|
@@ -1,211 +1,13 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
export type CollusionCheckOutput = {
|
2
|
+
success: boolean;
|
3
|
+
message?: string;
|
4
|
+
action: "config" | "cli" | "error";
|
5
|
+
};
|
6
|
+
export type Commands = "push:sqlite" | "introspect:sqlite" | "introspect:pg" | "generate:pg" | "generate:sqlite" | "generate:mysql" | "check:pg" | "check:mysql" | "check:sqlite" | "up:pg" | "up:mysql" | "up:sqlite" | "drop" | "introspect:mysql" | "push:mysql" | "push:pg";
|
3
7
|
/**
|
4
8
|
* This function checks an input from a user and if there are any params together with config path - return true
|
5
9
|
* @param options - user input
|
6
10
|
* @param inputWhitelist - whitelist some cli options that can be used together with config option
|
7
11
|
* @returns true if there was a collision, false if everything is valid
|
8
12
|
*/
|
9
|
-
export declare const
|
10
|
-
export declare const driver: import("zod").ZodUnion<[import("zod").ZodLiteral<"better-sqlite">, import("zod").ZodLiteral<"turso">, import("zod").ZodLiteral<"libsql">, import("zod").ZodLiteral<"d1">, import("zod").ZodLiteral<"expo">, import("zod").ZodLiteral<"pg">, import("zod").ZodLiteral<"mysql2">]>;
|
11
|
-
export declare const configCommonSchema: import("zod").ZodObject<{
|
12
|
-
dialect: import("zod").ZodEnum<["pg", "mysql", "sqlite"]>;
|
13
|
-
schema: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
14
|
-
out: import("zod").ZodOptional<import("zod").ZodString>;
|
15
|
-
breakpoints: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
16
|
-
driver: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"better-sqlite">, import("zod").ZodLiteral<"turso">, import("zod").ZodLiteral<"libsql">, import("zod").ZodLiteral<"d1">, import("zod").ZodLiteral<"expo">, import("zod").ZodLiteral<"pg">, import("zod").ZodLiteral<"mysql2">]>>;
|
17
|
-
tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
18
|
-
schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
19
|
-
}, "strip", import("zod").ZodTypeAny, {
|
20
|
-
out?: string | undefined;
|
21
|
-
driver?: "pg" | "turso" | "better-sqlite" | "libsql" | "d1" | "mysql2" | "expo" | undefined;
|
22
|
-
tablesFilter?: string | string[] | undefined;
|
23
|
-
schema: string | string[];
|
24
|
-
dialect: "mysql" | "pg" | "sqlite";
|
25
|
-
breakpoints: boolean;
|
26
|
-
schemaFilter: string | string[];
|
27
|
-
}, {
|
28
|
-
out?: string | undefined;
|
29
|
-
breakpoints?: boolean | undefined;
|
30
|
-
driver?: "pg" | "turso" | "better-sqlite" | "libsql" | "d1" | "mysql2" | "expo" | undefined;
|
31
|
-
tablesFilter?: string | string[] | undefined;
|
32
|
-
schemaFilter?: string | string[] | undefined;
|
33
|
-
schema: string | string[];
|
34
|
-
dialect: "mysql" | "pg" | "sqlite";
|
35
|
-
}>;
|
36
|
-
export declare const introspectCasing: import("zod").ZodDefault<import("zod").ZodObject<{
|
37
|
-
casing: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"camel">, import("zod").ZodLiteral<"preserve">]>>;
|
38
|
-
}, "strip", import("zod").ZodTypeAny, {
|
39
|
-
casing: "camel" | "preserve";
|
40
|
-
}, {
|
41
|
-
casing?: "camel" | "preserve" | undefined;
|
42
|
-
}>>;
|
43
|
-
export declare const configIntrospectSchema: import("zod").ZodObject<{
|
44
|
-
schema: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
45
|
-
out: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
|
46
|
-
breakpoints: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
47
|
-
tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
48
|
-
schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
49
|
-
introspect: import("zod").ZodDefault<import("zod").ZodObject<{
|
50
|
-
casing: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"camel">, import("zod").ZodLiteral<"preserve">]>>;
|
51
|
-
}, "strip", import("zod").ZodTypeAny, {
|
52
|
-
casing: "camel" | "preserve";
|
53
|
-
}, {
|
54
|
-
casing?: "camel" | "preserve" | undefined;
|
55
|
-
}>>;
|
56
|
-
}, "strip", import("zod").ZodTypeAny, {
|
57
|
-
schema?: string | string[] | undefined;
|
58
|
-
tablesFilter?: string | string[] | undefined;
|
59
|
-
out: string;
|
60
|
-
breakpoints: boolean;
|
61
|
-
schemaFilter: string | string[];
|
62
|
-
introspect: {
|
63
|
-
casing: "camel" | "preserve";
|
64
|
-
};
|
65
|
-
}, {
|
66
|
-
schema?: string | string[] | undefined;
|
67
|
-
out?: string | undefined;
|
68
|
-
breakpoints?: boolean | undefined;
|
69
|
-
tablesFilter?: string | string[] | undefined;
|
70
|
-
schemaFilter?: string | string[] | undefined;
|
71
|
-
introspect?: {
|
72
|
-
casing?: "camel" | "preserve" | undefined;
|
73
|
-
} | undefined;
|
74
|
-
}>;
|
75
|
-
export type ConfigIntrospectSchema = TypeOf<typeof configIntrospectSchema>;
|
76
|
-
export type ConfigIntrospectCasing = TypeOf<typeof introspectCasing>;
|
77
|
-
export declare const configIntrospectCliSchema: import("zod").ZodObject<{
|
78
|
-
schema: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
79
|
-
out: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
|
80
|
-
breakpoints: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
81
|
-
tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
82
|
-
schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
83
|
-
introspectCasing: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"camel">, import("zod").ZodLiteral<"preserve">]>>;
|
84
|
-
}, "strip", import("zod").ZodTypeAny, {
|
85
|
-
schema?: string | string[] | undefined;
|
86
|
-
tablesFilter?: string | string[] | undefined;
|
87
|
-
out: string;
|
88
|
-
breakpoints: boolean;
|
89
|
-
schemaFilter: string | string[];
|
90
|
-
introspectCasing: "camel" | "preserve";
|
91
|
-
}, {
|
92
|
-
schema?: string | string[] | undefined;
|
93
|
-
out?: string | undefined;
|
94
|
-
breakpoints?: boolean | undefined;
|
95
|
-
tablesFilter?: string | string[] | undefined;
|
96
|
-
schemaFilter?: string | string[] | undefined;
|
97
|
-
introspectCasing?: "camel" | "preserve" | undefined;
|
98
|
-
}>;
|
99
|
-
export declare const configGenerateSchema: import("zod").ZodObject<{
|
100
|
-
schema: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
101
|
-
out: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
|
102
|
-
breakpoints: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
103
|
-
}, "strip", import("zod").ZodTypeAny, {
|
104
|
-
schema: string | string[];
|
105
|
-
out: string;
|
106
|
-
breakpoints: boolean;
|
107
|
-
}, {
|
108
|
-
out?: string | undefined;
|
109
|
-
breakpoints?: boolean | undefined;
|
110
|
-
schema: string | string[];
|
111
|
-
}>;
|
112
|
-
export type GenerateSchema = TypeOf<typeof configGenerateSchema>;
|
113
|
-
export declare const configPushSchema: import("zod").ZodObject<{
|
114
|
-
dialect: import("zod").ZodEnum<["pg", "mysql", "sqlite"]>;
|
115
|
-
schema: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
116
|
-
tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
117
|
-
schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
118
|
-
verbose: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
119
|
-
strict: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
120
|
-
}, "strip", import("zod").ZodTypeAny, {
|
121
|
-
tablesFilter?: string | string[] | undefined;
|
122
|
-
strict: boolean;
|
123
|
-
schema: string | string[];
|
124
|
-
dialect: "mysql" | "pg" | "sqlite";
|
125
|
-
schemaFilter: string | string[];
|
126
|
-
verbose: boolean;
|
127
|
-
}, {
|
128
|
-
strict?: boolean | undefined;
|
129
|
-
tablesFilter?: string | string[] | undefined;
|
130
|
-
schemaFilter?: string | string[] | undefined;
|
131
|
-
verbose?: boolean | undefined;
|
132
|
-
schema: string | string[];
|
133
|
-
dialect: "mysql" | "pg" | "sqlite";
|
134
|
-
}>;
|
135
|
-
export declare const mysqlConnectionSchema: import("zod").ZodUnion<[import("zod").ZodObject<{
|
136
|
-
host: import("zod").ZodString;
|
137
|
-
port: import("zod").ZodOptional<import("zod").ZodNumber>;
|
138
|
-
user: import("zod").ZodDefault<import("zod").ZodString>;
|
139
|
-
password: import("zod").ZodOptional<import("zod").ZodString>;
|
140
|
-
database: import("zod").ZodString;
|
141
|
-
}, "strip", import("zod").ZodTypeAny, {
|
142
|
-
port?: number | undefined;
|
143
|
-
password?: string | undefined;
|
144
|
-
host: string;
|
145
|
-
user: string;
|
146
|
-
database: string;
|
147
|
-
}, {
|
148
|
-
port?: number | undefined;
|
149
|
-
user?: string | undefined;
|
150
|
-
password?: string | undefined;
|
151
|
-
host: string;
|
152
|
-
database: string;
|
153
|
-
}>, import("zod").ZodObject<{
|
154
|
-
connectionString: import("zod").ZodString;
|
155
|
-
}, "strip", import("zod").ZodTypeAny, {
|
156
|
-
connectionString: string;
|
157
|
-
}, {
|
158
|
-
connectionString: string;
|
159
|
-
}>, import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>]>;
|
160
|
-
export declare const mySqlCliConfigSchema: import("zod").ZodIntersection<import("zod").ZodObject<{
|
161
|
-
dialect: import("zod").ZodEnum<["pg", "mysql", "sqlite"]>;
|
162
|
-
schema: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
163
|
-
out: import("zod").ZodOptional<import("zod").ZodString>;
|
164
|
-
breakpoints: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
165
|
-
driver: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"better-sqlite">, import("zod").ZodLiteral<"turso">, import("zod").ZodLiteral<"libsql">, import("zod").ZodLiteral<"d1">, import("zod").ZodLiteral<"expo">, import("zod").ZodLiteral<"pg">, import("zod").ZodLiteral<"mysql2">]>>;
|
166
|
-
tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
167
|
-
schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
168
|
-
}, "strip", import("zod").ZodTypeAny, {
|
169
|
-
out?: string | undefined;
|
170
|
-
driver?: "pg" | "turso" | "better-sqlite" | "libsql" | "d1" | "mysql2" | "expo" | undefined;
|
171
|
-
tablesFilter?: string | string[] | undefined;
|
172
|
-
schema: string | string[];
|
173
|
-
dialect: "mysql" | "pg" | "sqlite";
|
174
|
-
breakpoints: boolean;
|
175
|
-
schemaFilter: string | string[];
|
176
|
-
}, {
|
177
|
-
out?: string | undefined;
|
178
|
-
breakpoints?: boolean | undefined;
|
179
|
-
driver?: "pg" | "turso" | "better-sqlite" | "libsql" | "d1" | "mysql2" | "expo" | undefined;
|
180
|
-
tablesFilter?: string | string[] | undefined;
|
181
|
-
schemaFilter?: string | string[] | undefined;
|
182
|
-
schema: string | string[];
|
183
|
-
dialect: "mysql" | "pg" | "sqlite";
|
184
|
-
}>, import("zod").ZodUnion<[import("zod").ZodObject<{
|
185
|
-
host: import("zod").ZodString;
|
186
|
-
port: import("zod").ZodOptional<import("zod").ZodNumber>;
|
187
|
-
user: import("zod").ZodDefault<import("zod").ZodString>;
|
188
|
-
password: import("zod").ZodOptional<import("zod").ZodString>;
|
189
|
-
database: import("zod").ZodString;
|
190
|
-
}, "strip", import("zod").ZodTypeAny, {
|
191
|
-
port?: number | undefined;
|
192
|
-
password?: string | undefined;
|
193
|
-
host: string;
|
194
|
-
user: string;
|
195
|
-
database: string;
|
196
|
-
}, {
|
197
|
-
port?: number | undefined;
|
198
|
-
user?: string | undefined;
|
199
|
-
password?: string | undefined;
|
200
|
-
host: string;
|
201
|
-
database: string;
|
202
|
-
}>, import("zod").ZodObject<{
|
203
|
-
connectionString: import("zod").ZodString;
|
204
|
-
}, "strip", import("zod").ZodTypeAny, {
|
205
|
-
connectionString: string;
|
206
|
-
}, {
|
207
|
-
connectionString: string;
|
208
|
-
}>, import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>]>>;
|
209
|
-
export type MySqlCliConfig = TypeOf<typeof mySqlCliConfigSchema>;
|
210
|
-
export type CliConfig = MySqlCliConfig;
|
211
|
-
export type Driver = TypeOf<typeof driver>;
|
13
|
+
export declare const checkCollisions: (options: Record<string, unknown>, command: Commands, inputWhitelist?: string[]) => CollusionCheckOutput;
|
@@ -239,7 +239,6 @@ export declare const mysqlCliIntrospectParams: import("zod").ZodIntersection<imp
|
|
239
239
|
uri: string;
|
240
240
|
}>]>>;
|
241
241
|
export declare const mysqlCliPushParams: import("zod").ZodIntersection<import("zod").ZodObject<{
|
242
|
-
dialect: import("zod").ZodEnum<["pg", "mysql", "sqlite"]>;
|
243
242
|
schema: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
244
243
|
tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
245
244
|
schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
@@ -249,7 +248,6 @@ export declare const mysqlCliPushParams: import("zod").ZodIntersection<import("z
|
|
249
248
|
tablesFilter?: string | string[] | undefined;
|
250
249
|
strict: boolean;
|
251
250
|
schema: string | string[];
|
252
|
-
dialect: "mysql" | "pg" | "sqlite";
|
253
251
|
schemaFilter: string | string[];
|
254
252
|
verbose: boolean;
|
255
253
|
}, {
|
@@ -258,7 +256,6 @@ export declare const mysqlCliPushParams: import("zod").ZodIntersection<import("z
|
|
258
256
|
schemaFilter?: string | string[] | undefined;
|
259
257
|
verbose?: boolean | undefined;
|
260
258
|
schema: string | string[];
|
261
|
-
dialect: "mysql" | "pg" | "sqlite";
|
262
259
|
}>, import("zod").ZodUnion<[import("zod").ZodObject<{
|
263
260
|
driver: import("zod").ZodLiteral<"mysql2">;
|
264
261
|
host: import("zod").ZodString;
|
@@ -291,7 +288,6 @@ export declare const mysqlCliPushParams: import("zod").ZodIntersection<import("z
|
|
291
288
|
uri: string;
|
292
289
|
}>]>>;
|
293
290
|
export declare const mysqlConfigPushParams: import("zod").ZodIntersection<import("zod").ZodObject<{
|
294
|
-
dialect: import("zod").ZodEnum<["pg", "mysql", "sqlite"]>;
|
295
291
|
schema: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
296
292
|
tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
297
293
|
schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
@@ -301,7 +297,6 @@ export declare const mysqlConfigPushParams: import("zod").ZodIntersection<import
|
|
301
297
|
tablesFilter?: string | string[] | undefined;
|
302
298
|
strict: boolean;
|
303
299
|
schema: string | string[];
|
304
|
-
dialect: "mysql" | "pg" | "sqlite";
|
305
300
|
schemaFilter: string | string[];
|
306
301
|
verbose: boolean;
|
307
302
|
}, {
|
@@ -310,7 +305,6 @@ export declare const mysqlConfigPushParams: import("zod").ZodIntersection<import
|
|
310
305
|
schemaFilter?: string | string[] | undefined;
|
311
306
|
verbose?: boolean | undefined;
|
312
307
|
schema: string | string[];
|
313
|
-
dialect: "mysql" | "pg" | "sqlite";
|
314
308
|
}>, import("zod").ZodObject<{
|
315
309
|
driver: import("zod").ZodLiteral<"mysql2">;
|
316
310
|
dbCredentials: import("zod").ZodUnion<[import("zod").ZodObject<{
|
@@ -368,3 +362,4 @@ export type MySQLConnectionConfig = TypeOf<typeof mysqlConnectionConfig>;
|
|
368
362
|
export declare const printCliConnectionIssues: (options: any) => void;
|
369
363
|
export declare const printConfigConnectionIssues: (options: any) => void;
|
370
364
|
export declare const validateMySqlIntrospect: (options: Record<string, any>) => Promise<MySQLConfigIntrospect>;
|
365
|
+
export declare const validateMySqlPush: (options: Record<string, unknown>) => Promise<MySQLPushConfig>;
|
package/cli/validations/pg.d.ts
CHANGED
@@ -280,7 +280,6 @@ export declare const pgCliIntrospectParams: import("zod").ZodIntersection<import
|
|
280
280
|
connectionString: string;
|
281
281
|
}>]>>;
|
282
282
|
export declare const pgCliPushParams: import("zod").ZodIntersection<import("zod").ZodObject<{
|
283
|
-
dialect: import("zod").ZodEnum<["pg", "mysql", "sqlite"]>;
|
284
283
|
schema: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
285
284
|
tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
286
285
|
schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
@@ -290,7 +289,6 @@ export declare const pgCliPushParams: import("zod").ZodIntersection<import("zod"
|
|
290
289
|
tablesFilter?: string | string[] | undefined;
|
291
290
|
strict: boolean;
|
292
291
|
schema: string | string[];
|
293
|
-
dialect: "mysql" | "pg" | "sqlite";
|
294
292
|
schemaFilter: string | string[];
|
295
293
|
verbose: boolean;
|
296
294
|
}, {
|
@@ -299,7 +297,6 @@ export declare const pgCliPushParams: import("zod").ZodIntersection<import("zod"
|
|
299
297
|
schemaFilter?: string | string[] | undefined;
|
300
298
|
verbose?: boolean | undefined;
|
301
299
|
schema: string | string[];
|
302
|
-
dialect: "mysql" | "pg" | "sqlite";
|
303
300
|
}>, import("zod").ZodUnion<[import("zod").ZodObject<{
|
304
301
|
driver: import("zod").ZodLiteral<"pg">;
|
305
302
|
host: import("zod").ZodString;
|
@@ -341,7 +338,6 @@ export declare const pgCliPushParams: import("zod").ZodIntersection<import("zod"
|
|
341
338
|
connectionString: string;
|
342
339
|
}>]>>;
|
343
340
|
export declare const pgConfigPushParams: import("zod").ZodIntersection<import("zod").ZodObject<{
|
344
|
-
dialect: import("zod").ZodEnum<["pg", "mysql", "sqlite"]>;
|
345
341
|
schema: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
346
342
|
tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
347
343
|
schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
@@ -351,7 +347,6 @@ export declare const pgConfigPushParams: import("zod").ZodIntersection<import("z
|
|
351
347
|
tablesFilter?: string | string[] | undefined;
|
352
348
|
strict: boolean;
|
353
349
|
schema: string | string[];
|
354
|
-
dialect: "mysql" | "pg" | "sqlite";
|
355
350
|
schemaFilter: string | string[];
|
356
351
|
verbose: boolean;
|
357
352
|
}, {
|
@@ -360,7 +355,6 @@ export declare const pgConfigPushParams: import("zod").ZodIntersection<import("z
|
|
360
355
|
schemaFilter?: string | string[] | undefined;
|
361
356
|
verbose?: boolean | undefined;
|
362
357
|
schema: string | string[];
|
363
|
-
dialect: "mysql" | "pg" | "sqlite";
|
364
358
|
}>, import("zod").ZodUnion<[import("zod").ZodObject<{
|
365
359
|
driver: import("zod").ZodLiteral<"pg">;
|
366
360
|
dbCredentials: import("zod").ZodObject<{
|
@@ -441,3 +435,4 @@ export type PgCliIntrospect = TypeOf<typeof pgCliIntrospectParams>;
|
|
441
435
|
export type PgConnectionConfig = TypeOf<typeof pgConnectionConfig>;
|
442
436
|
export declare const printConfigConnectionIssues: (options: any) => void;
|
443
437
|
export declare const validatePgIntrospect: (options: Record<string, any>) => Promise<PgConfigIntrospect>;
|
438
|
+
export declare const validatePgPush: (options: Record<string, unknown>) => Promise<PgPushConfig>;
|
package/cli/views.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Prompt, TaskView } from "hanji";
|
2
|
-
import type { CommonSchema } from "
|
2
|
+
import type { CommonSchema } from "src/schemaValidator";
|
3
3
|
import type { Named } from "./commands/migrate";
|
4
4
|
export declare const warning: (msg: string) => void;
|
5
5
|
export declare const err: (msg: string) => void;
|
package/global.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
1
|
export declare const originUUID = "00000000-0000-0000-0000-000000000000";
|
2
|
-
export declare const snapshotVersion = "
|
2
|
+
export declare const snapshotVersion = "5";
|
3
3
|
export declare function assertUnreachable(x: never): never;
|
4
4
|
export declare const mapValues: <IN, OUT>(obj: Record<string, IN>, map: (input: IN) => OUT) => Record<string, OUT>;
|