drizzle-kit 1.0.0-beta.10-b5fdd85 → 1.0.0-beta.10-9f1399e
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-sqlite.mjs +0 -1
- 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 zod3716 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: zod3716.ZodUnion<[zod3716.ZodObject<{
|
|
7
|
+
host: zod3716.ZodString;
|
|
8
|
+
port: zod3716.ZodOptional<zod3716.ZodNumber>;
|
|
9
|
+
user: zod3716.ZodOptional<zod3716.ZodString>;
|
|
10
|
+
password: zod3716.ZodOptional<zod3716.ZodString>;
|
|
11
|
+
database: zod3716.ZodString;
|
|
12
|
+
ssl: zod3716.ZodOptional<zod3716.ZodUnion<[zod3716.ZodString, zod3716.ZodObject<{
|
|
13
|
+
pfx: zod3716.ZodOptional<zod3716.ZodString>;
|
|
14
|
+
key: zod3716.ZodOptional<zod3716.ZodString>;
|
|
15
|
+
passphrase: zod3716.ZodOptional<zod3716.ZodString>;
|
|
16
|
+
cert: zod3716.ZodOptional<zod3716.ZodString>;
|
|
17
|
+
ca: zod3716.ZodOptional<zod3716.ZodUnion<[zod3716.ZodString, zod3716.ZodArray<zod3716.ZodString, "many">]>>;
|
|
18
|
+
crl: zod3716.ZodOptional<zod3716.ZodUnion<[zod3716.ZodString, zod3716.ZodArray<zod3716.ZodString, "many">]>>;
|
|
19
|
+
ciphers: zod3716.ZodOptional<zod3716.ZodString>;
|
|
20
|
+
rejectUnauthorized: zod3716.ZodOptional<zod3716.ZodBoolean>;
|
|
21
|
+
}, "strip", zod3716.ZodTypeAny, {
|
|
22
22
|
pfx?: string | undefined;
|
|
23
23
|
key?: string | undefined;
|
|
24
24
|
passphrase?: string | undefined;
|
|
@@ -37,7 +37,7 @@ declare const mysqlCredentials: zod3694.ZodUnion<[zod3694.ZodObject<{
|
|
|
37
37
|
ciphers?: string | undefined;
|
|
38
38
|
rejectUnauthorized?: boolean | undefined;
|
|
39
39
|
}>]>>;
|
|
40
|
-
}, "strip",
|
|
40
|
+
}, "strip", zod3716.ZodTypeAny, {
|
|
41
41
|
host: string;
|
|
42
42
|
database: string;
|
|
43
43
|
password?: string | undefined;
|
|
@@ -69,9 +69,9 @@ declare const mysqlCredentials: zod3694.ZodUnion<[zod3694.ZodObject<{
|
|
|
69
69
|
ciphers?: string | undefined;
|
|
70
70
|
rejectUnauthorized?: boolean | undefined;
|
|
71
71
|
} | undefined;
|
|
72
|
-
}>,
|
|
73
|
-
url:
|
|
74
|
-
}, "strip",
|
|
72
|
+
}>, zod3716.ZodObject<{
|
|
73
|
+
url: zod3716.ZodString;
|
|
74
|
+
}, "strip", zod3716.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-Bc72_W-g.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as zod3349 from "zod";
|
|
3
3
|
import { TypeOf } from "zod";
|
|
4
4
|
import { PGlite } from "@electric-sql/pglite";
|
|
5
5
|
import { PgAsyncDatabase } from "drizzle-orm/pg-core/async";
|
|
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: zod3349.ZodOptional<zod3349.ZodUnion<[zod3349.ZodString, zod3349.ZodArray<zod3349.ZodString, "many">]>>;
|
|
10
|
+
schemaFilter: zod3349.ZodOptional<zod3349.ZodUnion<[zod3349.ZodString, zod3349.ZodArray<zod3349.ZodString, "many">]>>;
|
|
11
|
+
extensionsFilters: zod3349.ZodOptional<zod3349.ZodArray<zod3349.ZodLiteral<"postgis">, "many">>;
|
|
12
|
+
entities: zod3349.ZodOptional<zod3349.ZodObject<{
|
|
13
|
+
roles: zod3349.ZodDefault<zod3349.ZodOptional<zod3349.ZodUnion<[zod3349.ZodBoolean, zod3349.ZodObject<{
|
|
14
|
+
provider: zod3349.ZodOptional<zod3349.ZodString>;
|
|
15
|
+
include: zod3349.ZodOptional<zod3349.ZodArray<zod3349.ZodString, "many">>;
|
|
16
|
+
exclude: zod3349.ZodOptional<zod3349.ZodArray<zod3349.ZodString, "many">>;
|
|
17
|
+
}, "strip", zod3349.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", zod3349.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: zod3349.ZodUnion<[zod3349.ZodEffects<zod3349.ZodObject<{
|
|
53
|
+
driver: zod3349.ZodUndefined;
|
|
54
|
+
host: zod3349.ZodString;
|
|
55
|
+
port: zod3349.ZodOptional<zod3349.ZodNumber>;
|
|
56
|
+
user: zod3349.ZodOptional<zod3349.ZodString>;
|
|
57
|
+
password: zod3349.ZodOptional<zod3349.ZodString>;
|
|
58
|
+
database: zod3349.ZodString;
|
|
59
|
+
ssl: zod3349.ZodOptional<zod3349.ZodUnion<[zod3349.ZodLiteral<"require">, zod3349.ZodLiteral<"allow">, zod3349.ZodLiteral<"prefer">, zod3349.ZodLiteral<"verify-full">, zod3349.ZodBoolean, zod3349.ZodObject<{}, "passthrough", zod3349.ZodTypeAny, zod3349.objectOutputType<{}, zod3349.ZodTypeAny, "passthrough">, zod3349.objectInputType<{}, zod3349.ZodTypeAny, "passthrough">>]>>;
|
|
60
|
+
}, "strip", zod3349.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" | zod3349.objectOutputType<{}, zod3349.ZodTypeAny, "passthrough"> | undefined;
|
|
68
68
|
}, {
|
|
69
69
|
host: string;
|
|
70
70
|
database: string;
|
|
@@ -72,7 +72,7 @@ declare const postgresCredentials: zod3327.ZodUnion<[zod3327.ZodEffects<zod3327.
|
|
|
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" | zod3349.objectInputType<{}, zod3349.ZodTypeAny, "passthrough"> | undefined;
|
|
76
76
|
}>, Omit<{
|
|
77
77
|
host: string;
|
|
78
78
|
database: string;
|
|
@@ -80,7 +80,7 @@ declare const postgresCredentials: zod3327.ZodUnion<[zod3327.ZodEffects<zod3327.
|
|
|
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" | zod3349.objectOutputType<{}, zod3349.ZodTypeAny, "passthrough"> | undefined;
|
|
84
84
|
}, "driver">, {
|
|
85
85
|
host: string;
|
|
86
86
|
database: string;
|
|
@@ -88,11 +88,11 @@ declare const postgresCredentials: zod3327.ZodUnion<[zod3327.ZodEffects<zod3327.
|
|
|
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" | zod3349.objectInputType<{}, zod3349.ZodTypeAny, "passthrough"> | undefined;
|
|
92
|
+
}>, zod3349.ZodEffects<zod3349.ZodObject<{
|
|
93
|
+
driver: zod3349.ZodUndefined;
|
|
94
|
+
url: zod3349.ZodString;
|
|
95
|
+
}, "strip", zod3349.ZodTypeAny, {
|
|
96
96
|
url: string;
|
|
97
97
|
driver?: undefined;
|
|
98
98
|
}, {
|
|
@@ -103,12 +103,12 @@ declare const postgresCredentials: zod3327.ZodUnion<[zod3327.ZodEffects<zod3327.
|
|
|
103
103
|
}, {
|
|
104
104
|
url: string;
|
|
105
105
|
driver?: undefined;
|
|
106
|
-
}>,
|
|
107
|
-
driver:
|
|
108
|
-
database:
|
|
109
|
-
secretArn:
|
|
110
|
-
resourceArn:
|
|
111
|
-
}, "strip",
|
|
106
|
+
}>, zod3349.ZodObject<{
|
|
107
|
+
driver: zod3349.ZodLiteral<"aws-data-api">;
|
|
108
|
+
database: zod3349.ZodString;
|
|
109
|
+
secretArn: zod3349.ZodString;
|
|
110
|
+
resourceArn: zod3349.ZodString;
|
|
111
|
+
}, "strip", zod3349.ZodTypeAny, {
|
|
112
112
|
driver: "aws-data-api";
|
|
113
113
|
database: string;
|
|
114
114
|
secretArn: string;
|
|
@@ -118,10 +118,10 @@ declare const postgresCredentials: zod3327.ZodUnion<[zod3327.ZodEffects<zod3327.
|
|
|
118
118
|
database: string;
|
|
119
119
|
secretArn: string;
|
|
120
120
|
resourceArn: string;
|
|
121
|
-
}>,
|
|
122
|
-
driver:
|
|
123
|
-
url:
|
|
124
|
-
}, "strip",
|
|
121
|
+
}>, zod3349.ZodObject<{
|
|
122
|
+
driver: zod3349.ZodLiteral<"pglite">;
|
|
123
|
+
url: zod3349.ZodString;
|
|
124
|
+
}, "strip", zod3349.ZodTypeAny, {
|
|
125
125
|
driver: "pglite";
|
|
126
126
|
url: string;
|
|
127
127
|
}, {
|
package/api-sqlite.mjs
CHANGED
|
@@ -44644,7 +44644,6 @@ var init_cbor$1 = __esmMin((() => {
|
|
|
44644
44644
|
//#region ../node_modules/.pnpm/@smithy+core@3.18.5/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js
|
|
44645
44645
|
var dateToTag, loadSmithyRpcV2CborErrorCode;
|
|
44646
44646
|
var init_parseCborBody = __esmMin((() => {
|
|
44647
|
-
init_protocols$1();
|
|
44648
44647
|
init_cbor_types();
|
|
44649
44648
|
dateToTag = (date$1) => {
|
|
44650
44649
|
return tag({
|