drizzle-kit 1.0.0-beta.6-d6f09ef → 1.0.0-beta.6-7a73126
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/api-mysql.d.ts +21 -21
- package/api-postgres.d.mts +38 -38
- package/api-postgres.d.ts +38 -38
- package/package.json +1 -1
package/api-mysql.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { t as CasingType } from "./common-C4PhmYTg.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as zod3695 from "zod";
|
|
3
3
|
import { TypeOf } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/validations/mysql.d.ts
|
|
6
|
-
declare const mysqlCredentials:
|
|
7
|
-
host:
|
|
8
|
-
port:
|
|
9
|
-
user:
|
|
10
|
-
password:
|
|
11
|
-
database:
|
|
12
|
-
ssl:
|
|
13
|
-
pfx:
|
|
14
|
-
key:
|
|
15
|
-
passphrase:
|
|
16
|
-
cert:
|
|
17
|
-
ca:
|
|
18
|
-
crl:
|
|
19
|
-
ciphers:
|
|
20
|
-
rejectUnauthorized:
|
|
21
|
-
}, "strip",
|
|
6
|
+
declare const mysqlCredentials: zod3695.ZodUnion<[zod3695.ZodObject<{
|
|
7
|
+
host: zod3695.ZodString;
|
|
8
|
+
port: zod3695.ZodOptional<zod3695.ZodNumber>;
|
|
9
|
+
user: zod3695.ZodOptional<zod3695.ZodString>;
|
|
10
|
+
password: zod3695.ZodOptional<zod3695.ZodString>;
|
|
11
|
+
database: zod3695.ZodString;
|
|
12
|
+
ssl: zod3695.ZodOptional<zod3695.ZodUnion<[zod3695.ZodString, zod3695.ZodObject<{
|
|
13
|
+
pfx: zod3695.ZodOptional<zod3695.ZodString>;
|
|
14
|
+
key: zod3695.ZodOptional<zod3695.ZodString>;
|
|
15
|
+
passphrase: zod3695.ZodOptional<zod3695.ZodString>;
|
|
16
|
+
cert: zod3695.ZodOptional<zod3695.ZodString>;
|
|
17
|
+
ca: zod3695.ZodOptional<zod3695.ZodUnion<[zod3695.ZodString, zod3695.ZodArray<zod3695.ZodString, "many">]>>;
|
|
18
|
+
crl: zod3695.ZodOptional<zod3695.ZodUnion<[zod3695.ZodString, zod3695.ZodArray<zod3695.ZodString, "many">]>>;
|
|
19
|
+
ciphers: zod3695.ZodOptional<zod3695.ZodString>;
|
|
20
|
+
rejectUnauthorized: zod3695.ZodOptional<zod3695.ZodBoolean>;
|
|
21
|
+
}, "strip", zod3695.ZodTypeAny, {
|
|
22
22
|
pfx?: string | undefined;
|
|
23
23
|
key?: string | undefined;
|
|
24
24
|
passphrase?: string | undefined;
|
|
@@ -37,7 +37,7 @@ declare const mysqlCredentials: zod0.ZodUnion<[zod0.ZodObject<{
|
|
|
37
37
|
ciphers?: string | undefined;
|
|
38
38
|
rejectUnauthorized?: boolean | undefined;
|
|
39
39
|
}>]>>;
|
|
40
|
-
}, "strip",
|
|
40
|
+
}, "strip", zod3695.ZodTypeAny, {
|
|
41
41
|
host: string;
|
|
42
42
|
database: string;
|
|
43
43
|
password?: string | undefined;
|
|
@@ -69,9 +69,9 @@ declare const mysqlCredentials: zod0.ZodUnion<[zod0.ZodObject<{
|
|
|
69
69
|
ciphers?: string | undefined;
|
|
70
70
|
rejectUnauthorized?: boolean | undefined;
|
|
71
71
|
} | undefined;
|
|
72
|
-
}>,
|
|
73
|
-
url:
|
|
74
|
-
}, "strip",
|
|
72
|
+
}>, zod3695.ZodObject<{
|
|
73
|
+
url: zod3695.ZodString;
|
|
74
|
+
}, "strip", zod3695.ZodTypeAny, {
|
|
75
75
|
url: string;
|
|
76
76
|
}, {
|
|
77
77
|
url: string;
|
package/api-postgres.d.mts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as CasingType } from "./common-B3EsLZW-.mjs";
|
|
2
2
|
import { PgDatabase } from "drizzle-orm/pg-core";
|
|
3
3
|
import { PGlite } from "@electric-sql/pglite";
|
|
4
|
-
import * as
|
|
4
|
+
import * as zod3389 from "zod";
|
|
5
5
|
import { TypeOf } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/validations/cli.d.ts
|
|
8
8
|
declare const entitiesParams: {
|
|
9
|
-
tablesFilter:
|
|
10
|
-
schemaFilter:
|
|
11
|
-
extensionsFilters:
|
|
12
|
-
entities:
|
|
13
|
-
roles:
|
|
14
|
-
provider:
|
|
15
|
-
include:
|
|
16
|
-
exclude:
|
|
17
|
-
}, "strip",
|
|
9
|
+
tablesFilter: zod3389.ZodOptional<zod3389.ZodUnion<[zod3389.ZodString, zod3389.ZodArray<zod3389.ZodString, "many">]>>;
|
|
10
|
+
schemaFilter: zod3389.ZodOptional<zod3389.ZodUnion<[zod3389.ZodString, zod3389.ZodArray<zod3389.ZodString, "many">]>>;
|
|
11
|
+
extensionsFilters: zod3389.ZodOptional<zod3389.ZodArray<zod3389.ZodLiteral<"postgis">, "many">>;
|
|
12
|
+
entities: zod3389.ZodOptional<zod3389.ZodObject<{
|
|
13
|
+
roles: zod3389.ZodDefault<zod3389.ZodOptional<zod3389.ZodUnion<[zod3389.ZodBoolean, zod3389.ZodObject<{
|
|
14
|
+
provider: zod3389.ZodOptional<zod3389.ZodString>;
|
|
15
|
+
include: zod3389.ZodOptional<zod3389.ZodArray<zod3389.ZodString, "many">>;
|
|
16
|
+
exclude: zod3389.ZodOptional<zod3389.ZodArray<zod3389.ZodString, "many">>;
|
|
17
|
+
}, "strip", zod3389.ZodTypeAny, {
|
|
18
18
|
provider?: string | undefined;
|
|
19
19
|
include?: string[] | undefined;
|
|
20
20
|
exclude?: string[] | undefined;
|
|
@@ -23,7 +23,7 @@ declare const entitiesParams: {
|
|
|
23
23
|
include?: string[] | undefined;
|
|
24
24
|
exclude?: string[] | undefined;
|
|
25
25
|
}>]>>>;
|
|
26
|
-
}, "strip",
|
|
26
|
+
}, "strip", zod3389.ZodTypeAny, {
|
|
27
27
|
roles: boolean | {
|
|
28
28
|
provider?: string | undefined;
|
|
29
29
|
include?: string[] | undefined;
|
|
@@ -49,22 +49,22 @@ type EntitiesFilterConfig = {
|
|
|
49
49
|
};
|
|
50
50
|
//#endregion
|
|
51
51
|
//#region src/cli/validations/postgres.d.ts
|
|
52
|
-
declare const postgresCredentials:
|
|
53
|
-
driver:
|
|
54
|
-
host:
|
|
55
|
-
port:
|
|
56
|
-
user:
|
|
57
|
-
password:
|
|
58
|
-
database:
|
|
59
|
-
ssl:
|
|
60
|
-
}, "strip",
|
|
52
|
+
declare const postgresCredentials: zod3389.ZodUnion<[zod3389.ZodEffects<zod3389.ZodObject<{
|
|
53
|
+
driver: zod3389.ZodUndefined;
|
|
54
|
+
host: zod3389.ZodString;
|
|
55
|
+
port: zod3389.ZodOptional<zod3389.ZodNumber>;
|
|
56
|
+
user: zod3389.ZodOptional<zod3389.ZodString>;
|
|
57
|
+
password: zod3389.ZodOptional<zod3389.ZodString>;
|
|
58
|
+
database: zod3389.ZodString;
|
|
59
|
+
ssl: zod3389.ZodOptional<zod3389.ZodUnion<[zod3389.ZodLiteral<"require">, zod3389.ZodLiteral<"allow">, zod3389.ZodLiteral<"prefer">, zod3389.ZodLiteral<"verify-full">, zod3389.ZodBoolean, zod3389.ZodObject<{}, "passthrough", zod3389.ZodTypeAny, zod3389.objectOutputType<{}, zod3389.ZodTypeAny, "passthrough">, zod3389.objectInputType<{}, zod3389.ZodTypeAny, "passthrough">>]>>;
|
|
60
|
+
}, "strip", zod3389.ZodTypeAny, {
|
|
61
61
|
host: string;
|
|
62
62
|
database: string;
|
|
63
63
|
password?: string | undefined;
|
|
64
64
|
driver?: undefined;
|
|
65
65
|
port?: number | undefined;
|
|
66
66
|
user?: string | undefined;
|
|
67
|
-
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" |
|
|
67
|
+
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | zod3389.objectOutputType<{}, zod3389.ZodTypeAny, "passthrough"> | undefined;
|
|
68
68
|
}, {
|
|
69
69
|
host: string;
|
|
70
70
|
database: string;
|
|
@@ -72,7 +72,7 @@ declare const postgresCredentials: zod3340.ZodUnion<[zod3340.ZodEffects<zod3340.
|
|
|
72
72
|
driver?: undefined;
|
|
73
73
|
port?: number | undefined;
|
|
74
74
|
user?: string | undefined;
|
|
75
|
-
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" |
|
|
75
|
+
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | zod3389.objectInputType<{}, zod3389.ZodTypeAny, "passthrough"> | undefined;
|
|
76
76
|
}>, Omit<{
|
|
77
77
|
host: string;
|
|
78
78
|
database: string;
|
|
@@ -80,7 +80,7 @@ declare const postgresCredentials: zod3340.ZodUnion<[zod3340.ZodEffects<zod3340.
|
|
|
80
80
|
driver?: undefined;
|
|
81
81
|
port?: number | undefined;
|
|
82
82
|
user?: string | undefined;
|
|
83
|
-
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" |
|
|
83
|
+
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | zod3389.objectOutputType<{}, zod3389.ZodTypeAny, "passthrough"> | undefined;
|
|
84
84
|
}, "driver">, {
|
|
85
85
|
host: string;
|
|
86
86
|
database: string;
|
|
@@ -88,11 +88,11 @@ declare const postgresCredentials: zod3340.ZodUnion<[zod3340.ZodEffects<zod3340.
|
|
|
88
88
|
driver?: undefined;
|
|
89
89
|
port?: number | undefined;
|
|
90
90
|
user?: string | undefined;
|
|
91
|
-
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" |
|
|
92
|
-
}>,
|
|
93
|
-
driver:
|
|
94
|
-
url:
|
|
95
|
-
}, "strip",
|
|
91
|
+
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | zod3389.objectInputType<{}, zod3389.ZodTypeAny, "passthrough"> | undefined;
|
|
92
|
+
}>, zod3389.ZodEffects<zod3389.ZodObject<{
|
|
93
|
+
driver: zod3389.ZodUndefined;
|
|
94
|
+
url: zod3389.ZodString;
|
|
95
|
+
}, "strip", zod3389.ZodTypeAny, {
|
|
96
96
|
url: string;
|
|
97
97
|
driver?: undefined;
|
|
98
98
|
}, {
|
|
@@ -103,12 +103,12 @@ declare const postgresCredentials: zod3340.ZodUnion<[zod3340.ZodEffects<zod3340.
|
|
|
103
103
|
}, {
|
|
104
104
|
url: string;
|
|
105
105
|
driver?: undefined;
|
|
106
|
-
}>,
|
|
107
|
-
driver:
|
|
108
|
-
database:
|
|
109
|
-
secretArn:
|
|
110
|
-
resourceArn:
|
|
111
|
-
}, "strip",
|
|
106
|
+
}>, zod3389.ZodObject<{
|
|
107
|
+
driver: zod3389.ZodLiteral<"aws-data-api">;
|
|
108
|
+
database: zod3389.ZodString;
|
|
109
|
+
secretArn: zod3389.ZodString;
|
|
110
|
+
resourceArn: zod3389.ZodString;
|
|
111
|
+
}, "strip", zod3389.ZodTypeAny, {
|
|
112
112
|
driver: "aws-data-api";
|
|
113
113
|
database: string;
|
|
114
114
|
secretArn: string;
|
|
@@ -118,10 +118,10 @@ declare const postgresCredentials: zod3340.ZodUnion<[zod3340.ZodEffects<zod3340.
|
|
|
118
118
|
database: string;
|
|
119
119
|
secretArn: string;
|
|
120
120
|
resourceArn: string;
|
|
121
|
-
}>,
|
|
122
|
-
driver:
|
|
123
|
-
url:
|
|
124
|
-
}, "strip",
|
|
121
|
+
}>, zod3389.ZodObject<{
|
|
122
|
+
driver: zod3389.ZodLiteral<"pglite">;
|
|
123
|
+
url: zod3389.ZodString;
|
|
124
|
+
}, "strip", zod3389.ZodTypeAny, {
|
|
125
125
|
driver: "pglite";
|
|
126
126
|
url: string;
|
|
127
127
|
}, {
|
package/api-postgres.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as CasingType } from "./common-C4PhmYTg.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as zod3015 from "zod";
|
|
3
3
|
import { TypeOf } from "zod";
|
|
4
4
|
import { PGlite } from "@electric-sql/pglite";
|
|
5
5
|
import { PgDatabase } from "drizzle-orm/pg-core";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/validations/cli.d.ts
|
|
8
8
|
declare const entitiesParams: {
|
|
9
|
-
tablesFilter:
|
|
10
|
-
schemaFilter:
|
|
11
|
-
extensionsFilters:
|
|
12
|
-
entities:
|
|
13
|
-
roles:
|
|
14
|
-
provider:
|
|
15
|
-
include:
|
|
16
|
-
exclude:
|
|
17
|
-
}, "strip",
|
|
9
|
+
tablesFilter: zod3015.ZodOptional<zod3015.ZodUnion<[zod3015.ZodString, zod3015.ZodArray<zod3015.ZodString, "many">]>>;
|
|
10
|
+
schemaFilter: zod3015.ZodOptional<zod3015.ZodUnion<[zod3015.ZodString, zod3015.ZodArray<zod3015.ZodString, "many">]>>;
|
|
11
|
+
extensionsFilters: zod3015.ZodOptional<zod3015.ZodArray<zod3015.ZodLiteral<"postgis">, "many">>;
|
|
12
|
+
entities: zod3015.ZodOptional<zod3015.ZodObject<{
|
|
13
|
+
roles: zod3015.ZodDefault<zod3015.ZodOptional<zod3015.ZodUnion<[zod3015.ZodBoolean, zod3015.ZodObject<{
|
|
14
|
+
provider: zod3015.ZodOptional<zod3015.ZodString>;
|
|
15
|
+
include: zod3015.ZodOptional<zod3015.ZodArray<zod3015.ZodString, "many">>;
|
|
16
|
+
exclude: zod3015.ZodOptional<zod3015.ZodArray<zod3015.ZodString, "many">>;
|
|
17
|
+
}, "strip", zod3015.ZodTypeAny, {
|
|
18
18
|
provider?: string | undefined;
|
|
19
19
|
include?: string[] | undefined;
|
|
20
20
|
exclude?: string[] | undefined;
|
|
@@ -23,7 +23,7 @@ declare const entitiesParams: {
|
|
|
23
23
|
include?: string[] | undefined;
|
|
24
24
|
exclude?: string[] | undefined;
|
|
25
25
|
}>]>>>;
|
|
26
|
-
}, "strip",
|
|
26
|
+
}, "strip", zod3015.ZodTypeAny, {
|
|
27
27
|
roles: boolean | {
|
|
28
28
|
provider?: string | undefined;
|
|
29
29
|
include?: string[] | undefined;
|
|
@@ -49,22 +49,22 @@ type EntitiesFilterConfig = {
|
|
|
49
49
|
};
|
|
50
50
|
//#endregion
|
|
51
51
|
//#region src/cli/validations/postgres.d.ts
|
|
52
|
-
declare const postgresCredentials:
|
|
53
|
-
driver:
|
|
54
|
-
host:
|
|
55
|
-
port:
|
|
56
|
-
user:
|
|
57
|
-
password:
|
|
58
|
-
database:
|
|
59
|
-
ssl:
|
|
60
|
-
}, "strip",
|
|
52
|
+
declare const postgresCredentials: zod3015.ZodUnion<[zod3015.ZodEffects<zod3015.ZodObject<{
|
|
53
|
+
driver: zod3015.ZodUndefined;
|
|
54
|
+
host: zod3015.ZodString;
|
|
55
|
+
port: zod3015.ZodOptional<zod3015.ZodNumber>;
|
|
56
|
+
user: zod3015.ZodOptional<zod3015.ZodString>;
|
|
57
|
+
password: zod3015.ZodOptional<zod3015.ZodString>;
|
|
58
|
+
database: zod3015.ZodString;
|
|
59
|
+
ssl: zod3015.ZodOptional<zod3015.ZodUnion<[zod3015.ZodLiteral<"require">, zod3015.ZodLiteral<"allow">, zod3015.ZodLiteral<"prefer">, zod3015.ZodLiteral<"verify-full">, zod3015.ZodBoolean, zod3015.ZodObject<{}, "passthrough", zod3015.ZodTypeAny, zod3015.objectOutputType<{}, zod3015.ZodTypeAny, "passthrough">, zod3015.objectInputType<{}, zod3015.ZodTypeAny, "passthrough">>]>>;
|
|
60
|
+
}, "strip", zod3015.ZodTypeAny, {
|
|
61
61
|
host: string;
|
|
62
62
|
database: string;
|
|
63
63
|
password?: string | undefined;
|
|
64
64
|
driver?: undefined;
|
|
65
65
|
port?: number | undefined;
|
|
66
66
|
user?: string | undefined;
|
|
67
|
-
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" |
|
|
67
|
+
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | zod3015.objectOutputType<{}, zod3015.ZodTypeAny, "passthrough"> | undefined;
|
|
68
68
|
}, {
|
|
69
69
|
host: string;
|
|
70
70
|
database: string;
|
|
@@ -72,7 +72,7 @@ declare const postgresCredentials: zod3362.ZodUnion<[zod3362.ZodEffects<zod3362.
|
|
|
72
72
|
driver?: undefined;
|
|
73
73
|
port?: number | undefined;
|
|
74
74
|
user?: string | undefined;
|
|
75
|
-
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" |
|
|
75
|
+
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | zod3015.objectInputType<{}, zod3015.ZodTypeAny, "passthrough"> | undefined;
|
|
76
76
|
}>, Omit<{
|
|
77
77
|
host: string;
|
|
78
78
|
database: string;
|
|
@@ -80,7 +80,7 @@ declare const postgresCredentials: zod3362.ZodUnion<[zod3362.ZodEffects<zod3362.
|
|
|
80
80
|
driver?: undefined;
|
|
81
81
|
port?: number | undefined;
|
|
82
82
|
user?: string | undefined;
|
|
83
|
-
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" |
|
|
83
|
+
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | zod3015.objectOutputType<{}, zod3015.ZodTypeAny, "passthrough"> | undefined;
|
|
84
84
|
}, "driver">, {
|
|
85
85
|
host: string;
|
|
86
86
|
database: string;
|
|
@@ -88,11 +88,11 @@ declare const postgresCredentials: zod3362.ZodUnion<[zod3362.ZodEffects<zod3362.
|
|
|
88
88
|
driver?: undefined;
|
|
89
89
|
port?: number | undefined;
|
|
90
90
|
user?: string | undefined;
|
|
91
|
-
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" |
|
|
92
|
-
}>,
|
|
93
|
-
driver:
|
|
94
|
-
url:
|
|
95
|
-
}, "strip",
|
|
91
|
+
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | zod3015.objectInputType<{}, zod3015.ZodTypeAny, "passthrough"> | undefined;
|
|
92
|
+
}>, zod3015.ZodEffects<zod3015.ZodObject<{
|
|
93
|
+
driver: zod3015.ZodUndefined;
|
|
94
|
+
url: zod3015.ZodString;
|
|
95
|
+
}, "strip", zod3015.ZodTypeAny, {
|
|
96
96
|
url: string;
|
|
97
97
|
driver?: undefined;
|
|
98
98
|
}, {
|
|
@@ -103,12 +103,12 @@ declare const postgresCredentials: zod3362.ZodUnion<[zod3362.ZodEffects<zod3362.
|
|
|
103
103
|
}, {
|
|
104
104
|
url: string;
|
|
105
105
|
driver?: undefined;
|
|
106
|
-
}>,
|
|
107
|
-
driver:
|
|
108
|
-
database:
|
|
109
|
-
secretArn:
|
|
110
|
-
resourceArn:
|
|
111
|
-
}, "strip",
|
|
106
|
+
}>, zod3015.ZodObject<{
|
|
107
|
+
driver: zod3015.ZodLiteral<"aws-data-api">;
|
|
108
|
+
database: zod3015.ZodString;
|
|
109
|
+
secretArn: zod3015.ZodString;
|
|
110
|
+
resourceArn: zod3015.ZodString;
|
|
111
|
+
}, "strip", zod3015.ZodTypeAny, {
|
|
112
112
|
driver: "aws-data-api";
|
|
113
113
|
database: string;
|
|
114
114
|
secretArn: string;
|
|
@@ -118,10 +118,10 @@ declare const postgresCredentials: zod3362.ZodUnion<[zod3362.ZodEffects<zod3362.
|
|
|
118
118
|
database: string;
|
|
119
119
|
secretArn: string;
|
|
120
120
|
resourceArn: string;
|
|
121
|
-
}>,
|
|
122
|
-
driver:
|
|
123
|
-
url:
|
|
124
|
-
}, "strip",
|
|
121
|
+
}>, zod3015.ZodObject<{
|
|
122
|
+
driver: zod3015.ZodLiteral<"pglite">;
|
|
123
|
+
url: zod3015.ZodString;
|
|
124
|
+
}, "strip", zod3015.ZodTypeAny, {
|
|
125
125
|
driver: "pglite";
|
|
126
126
|
url: string;
|
|
127
127
|
}, {
|