drizzle-kit 1.0.0-beta.6-a679d20 → 1.0.0-beta.6-051f3cd
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.d.ts +21 -21
- package/api-mysql.mjs +8504 -8553
- package/api-postgres.d.ts +38 -38
- package/api-postgres.mjs +8651 -8698
- package/api-sqlite.mjs +8504 -8553
- package/bin.cjs +12668 -12599
- package/package.json +2 -3
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: 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" | zod3015.objectInputType<{}, zod3015.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" | zod3015.objectOutputType<{}, zod3015.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" | 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: 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
|
+
}>, 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: 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
|
+
}>, 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
|
}, {
|