drizzle-kit 1.0.0-beta.6-9514357 → 1.0.0-beta.6-a679d20
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.mts +21 -21
- package/api-mysql.mjs +1 -0
- package/api-postgres.d.mts +38 -38
- package/api-sqlite.mjs +1 -0
- package/package.json +1 -1
package/api-mysql.d.mts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { t as CasingType } from "./common-Bc72_W-g.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as zod3717 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: zod3717.ZodUnion<[zod3717.ZodObject<{
|
|
7
|
+
host: zod3717.ZodString;
|
|
8
|
+
port: zod3717.ZodOptional<zod3717.ZodNumber>;
|
|
9
|
+
user: zod3717.ZodOptional<zod3717.ZodString>;
|
|
10
|
+
password: zod3717.ZodOptional<zod3717.ZodString>;
|
|
11
|
+
database: zod3717.ZodString;
|
|
12
|
+
ssl: zod3717.ZodOptional<zod3717.ZodUnion<[zod3717.ZodString, zod3717.ZodObject<{
|
|
13
|
+
pfx: zod3717.ZodOptional<zod3717.ZodString>;
|
|
14
|
+
key: zod3717.ZodOptional<zod3717.ZodString>;
|
|
15
|
+
passphrase: zod3717.ZodOptional<zod3717.ZodString>;
|
|
16
|
+
cert: zod3717.ZodOptional<zod3717.ZodString>;
|
|
17
|
+
ca: zod3717.ZodOptional<zod3717.ZodUnion<[zod3717.ZodString, zod3717.ZodArray<zod3717.ZodString, "many">]>>;
|
|
18
|
+
crl: zod3717.ZodOptional<zod3717.ZodUnion<[zod3717.ZodString, zod3717.ZodArray<zod3717.ZodString, "many">]>>;
|
|
19
|
+
ciphers: zod3717.ZodOptional<zod3717.ZodString>;
|
|
20
|
+
rejectUnauthorized: zod3717.ZodOptional<zod3717.ZodBoolean>;
|
|
21
|
+
}, "strip", zod3717.ZodTypeAny, {
|
|
22
22
|
pfx?: string | undefined;
|
|
23
23
|
key?: string | undefined;
|
|
24
24
|
passphrase?: string | undefined;
|
|
@@ -37,7 +37,7 @@ declare const mysqlCredentials: zod305.ZodUnion<[zod305.ZodObject<{
|
|
|
37
37
|
ciphers?: string | undefined;
|
|
38
38
|
rejectUnauthorized?: boolean | undefined;
|
|
39
39
|
}>]>>;
|
|
40
|
-
}, "strip",
|
|
40
|
+
}, "strip", zod3717.ZodTypeAny, {
|
|
41
41
|
host: string;
|
|
42
42
|
database: string;
|
|
43
43
|
password?: string | undefined;
|
|
@@ -69,9 +69,9 @@ declare const mysqlCredentials: zod305.ZodUnion<[zod305.ZodObject<{
|
|
|
69
69
|
ciphers?: string | undefined;
|
|
70
70
|
rejectUnauthorized?: boolean | undefined;
|
|
71
71
|
} | undefined;
|
|
72
|
-
}>,
|
|
73
|
-
url:
|
|
74
|
-
}, "strip",
|
|
72
|
+
}>, zod3717.ZodObject<{
|
|
73
|
+
url: zod3717.ZodString;
|
|
74
|
+
}, "strip", zod3717.ZodTypeAny, {
|
|
75
75
|
url: string;
|
|
76
76
|
}, {
|
|
77
77
|
url: string;
|
package/api-mysql.mjs
CHANGED
|
@@ -49429,6 +49429,7 @@ var init_cbor$1 = __esmMin((() => {
|
|
|
49429
49429
|
//#region ../node_modules/.pnpm/@smithy+core@3.18.5/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js
|
|
49430
49430
|
var dateToTag, loadSmithyRpcV2CborErrorCode;
|
|
49431
49431
|
var init_parseCborBody = __esmMin((() => {
|
|
49432
|
+
init_protocols$1();
|
|
49432
49433
|
init_cbor_types();
|
|
49433
49434
|
dateToTag = (date$1) => {
|
|
49434
49435
|
return tag({
|
package/api-postgres.d.mts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as CasingType } from "./common-Bc72_W-g.mjs";
|
|
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
|
}, {
|
package/api-sqlite.mjs
CHANGED
|
@@ -49429,6 +49429,7 @@ var init_cbor$1 = __esmMin((() => {
|
|
|
49429
49429
|
//#region ../node_modules/.pnpm/@smithy+core@3.18.5/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js
|
|
49430
49430
|
var dateToTag, loadSmithyRpcV2CborErrorCode;
|
|
49431
49431
|
var init_parseCborBody = __esmMin((() => {
|
|
49432
|
+
init_protocols$1();
|
|
49432
49433
|
init_cbor_types();
|
|
49433
49434
|
dateToTag = (date$1) => {
|
|
49434
49435
|
return tag({
|