drizzle-kit 0.20.17-c347d7b → 0.20.17-d1b2821
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -1,92 +0,0 @@
|
|
1
|
-
import { TypeOf } from "zod";
|
2
|
-
export declare const credentials: import("zod").ZodIntersection<import("zod").ZodUnion<[import("zod").ZodObject<{
|
3
|
-
host: import("zod").ZodString;
|
4
|
-
port: import("zod").ZodOptional<import("zod").ZodNumber>;
|
5
|
-
user: import("zod").ZodDefault<import("zod").ZodString>;
|
6
|
-
password: import("zod").ZodOptional<import("zod").ZodString>;
|
7
|
-
database: import("zod").ZodString;
|
8
|
-
ssl: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
9
|
-
}, "strip", import("zod").ZodTypeAny, {
|
10
|
-
host: string;
|
11
|
-
user: string;
|
12
|
-
database: string;
|
13
|
-
port?: number | undefined;
|
14
|
-
password?: string | undefined;
|
15
|
-
ssl?: boolean | undefined;
|
16
|
-
}, {
|
17
|
-
host: string;
|
18
|
-
database: string;
|
19
|
-
port?: number | undefined;
|
20
|
-
user?: string | undefined;
|
21
|
-
password?: string | undefined;
|
22
|
-
ssl?: boolean | undefined;
|
23
|
-
}>, import("zod").ZodObject<{
|
24
|
-
url: import("zod").ZodString;
|
25
|
-
}, "strip", import("zod").ZodTypeAny, {
|
26
|
-
url: string;
|
27
|
-
}, {
|
28
|
-
url: string;
|
29
|
-
}>, import("zod").ZodObject<{
|
30
|
-
driver: import("zod").ZodLiteral<"aws-data-api">;
|
31
|
-
database: import("zod").ZodString;
|
32
|
-
secretArn: import("zod").ZodString;
|
33
|
-
resourceArn: import("zod").ZodString;
|
34
|
-
}, "strip", import("zod").ZodTypeAny, {
|
35
|
-
database: string;
|
36
|
-
driver: "aws-data-api";
|
37
|
-
secretArn: string;
|
38
|
-
resourceArn: string;
|
39
|
-
}, {
|
40
|
-
database: string;
|
41
|
-
driver: "aws-data-api";
|
42
|
-
secretArn: string;
|
43
|
-
resourceArn: string;
|
44
|
-
}>]>, import("zod").ZodUnion<[import("zod").ZodObject<{
|
45
|
-
host: import("zod").ZodString;
|
46
|
-
port: import("zod").ZodOptional<import("zod").ZodNumber>;
|
47
|
-
user: import("zod").ZodDefault<import("zod").ZodString>;
|
48
|
-
password: import("zod").ZodOptional<import("zod").ZodString>;
|
49
|
-
database: import("zod").ZodString;
|
50
|
-
}, "strip", import("zod").ZodTypeAny, {
|
51
|
-
host: string;
|
52
|
-
user: string;
|
53
|
-
database: string;
|
54
|
-
port?: number | undefined;
|
55
|
-
password?: string | undefined;
|
56
|
-
}, {
|
57
|
-
host: string;
|
58
|
-
database: string;
|
59
|
-
port?: number | undefined;
|
60
|
-
user?: string | undefined;
|
61
|
-
password?: string | undefined;
|
62
|
-
}>, import("zod").ZodObject<{
|
63
|
-
url: import("zod").ZodString;
|
64
|
-
}, "strip", import("zod").ZodTypeAny, {
|
65
|
-
url: string;
|
66
|
-
}, {
|
67
|
-
url: string;
|
68
|
-
}>]>>;
|
69
|
-
export type Credentials = TypeOf<typeof credentials>;
|
70
|
-
export declare const studioCliParams: import("zod").ZodObject<{
|
71
|
-
port: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
72
|
-
host: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
|
73
|
-
config: import("zod").ZodOptional<import("zod").ZodString>;
|
74
|
-
}, "strip", import("zod").ZodTypeAny, {
|
75
|
-
host: string;
|
76
|
-
port: number;
|
77
|
-
config?: string | undefined;
|
78
|
-
}, {
|
79
|
-
host?: string | undefined;
|
80
|
-
port?: number | undefined;
|
81
|
-
config?: string | undefined;
|
82
|
-
}>;
|
83
|
-
export declare const studioConfig: import("zod").ZodObject<{
|
84
|
-
dialect: import("zod").ZodEnum<["postgresql", "mysql", "sqlite"]>;
|
85
|
-
schema: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
86
|
-
}, "strip", import("zod").ZodTypeAny, {
|
87
|
-
schema: string | string[];
|
88
|
-
dialect: "postgresql" | "mysql" | "sqlite";
|
89
|
-
}, {
|
90
|
-
schema: string | string[];
|
91
|
-
dialect: "postgresql" | "mysql" | "sqlite";
|
92
|
-
}>;
|