drizzle-kit 1.0.0-beta.9-c26fd2f → 1.0.0-beta.9-40889e5
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 +23 -23
- package/api-mysql.d.ts +23 -23
- package/api-mysql.js +1 -1
- package/api-postgres.d.mts +130 -130
- package/api-postgres.d.ts +92 -92
- package/api-postgres.js +1 -1
- package/api-sqlite.js +1 -1
- package/{connections-ClgahPQV.js → connections-3BY1F1sW.js} +3 -3
- package/{dist-cjs-B9UsuYCY.js → dist-cjs-B-GnoOa6.js} +1 -0
- package/{dist-cjs-RfeMj_TG.js → dist-cjs-B0aRrr7i.js} +2 -2
- package/{dist-cjs-B0azHwSt.js → dist-cjs-B3w4mv3S.js} +4 -4
- package/{dist-cjs-CQCc4bni.js → dist-cjs-BpEO118q.js} +3 -3
- package/{dist-cjs-BRrAwDG_.js → dist-cjs-CkGeK2g2.js} +4 -4
- package/{multipart-parser-BIHEgf6v.js → multipart-parser-C3ZS0ZVz.js} +1 -1
- package/package.json +1 -1
- package/{signin-CC7OIM_f.js → signin-C7D4OStK.js} +1 -1
- package/{sso-oidc-C---moSr.js → sso-oidc-Dyjpw77b.js} +1 -1
- package/{sts-DO-EJLRz.js → sts-BoNcQhEL.js} +1 -1
- package/{sts-DKrc-wsf.js → sts-C4wSdILt.js} +2 -2
- package/{studio-DGVnFKZ0.js → studio-BHX68F3z.js} +3 -3
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 zod0 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: zod0.ZodUnion<[zod0.ZodObject<{
|
|
7
|
+
host: zod0.ZodString;
|
|
8
|
+
port: zod0.ZodOptional<zod0.ZodNumber>;
|
|
9
|
+
user: zod0.ZodOptional<zod0.ZodString>;
|
|
10
|
+
password: zod0.ZodOptional<zod0.ZodString>;
|
|
11
|
+
database: zod0.ZodString;
|
|
12
|
+
ssl: zod0.ZodOptional<zod0.ZodUnion<[zod0.ZodString, zod0.ZodObject<{
|
|
13
|
+
pfx: zod0.ZodOptional<zod0.ZodString>;
|
|
14
|
+
key: zod0.ZodOptional<zod0.ZodString>;
|
|
15
|
+
passphrase: zod0.ZodOptional<zod0.ZodString>;
|
|
16
|
+
cert: zod0.ZodOptional<zod0.ZodString>;
|
|
17
|
+
ca: zod0.ZodOptional<zod0.ZodUnion<[zod0.ZodString, zod0.ZodArray<zod0.ZodString, "many">]>>;
|
|
18
|
+
crl: zod0.ZodOptional<zod0.ZodUnion<[zod0.ZodString, zod0.ZodArray<zod0.ZodString, "many">]>>;
|
|
19
|
+
ciphers: zod0.ZodOptional<zod0.ZodString>;
|
|
20
|
+
rejectUnauthorized: zod0.ZodOptional<zod0.ZodBoolean>;
|
|
21
|
+
}, "strip", zod0.ZodTypeAny, {
|
|
22
22
|
pfx?: string | undefined;
|
|
23
23
|
key?: string | undefined;
|
|
24
24
|
passphrase?: string | undefined;
|
|
@@ -37,12 +37,12 @@ declare const mysqlCredentials: zod3694.ZodUnion<[zod3694.ZodObject<{
|
|
|
37
37
|
ciphers?: string | undefined;
|
|
38
38
|
rejectUnauthorized?: boolean | undefined;
|
|
39
39
|
}>]>>;
|
|
40
|
-
}, "strip",
|
|
40
|
+
}, "strip", zod0.ZodTypeAny, {
|
|
41
41
|
host: string;
|
|
42
42
|
database: string;
|
|
43
|
-
password?: string | undefined;
|
|
44
43
|
port?: number | undefined;
|
|
45
44
|
user?: string | undefined;
|
|
45
|
+
password?: string | undefined;
|
|
46
46
|
ssl?: string | {
|
|
47
47
|
pfx?: string | undefined;
|
|
48
48
|
key?: string | undefined;
|
|
@@ -56,9 +56,9 @@ declare const mysqlCredentials: zod3694.ZodUnion<[zod3694.ZodObject<{
|
|
|
56
56
|
}, {
|
|
57
57
|
host: string;
|
|
58
58
|
database: string;
|
|
59
|
-
password?: string | undefined;
|
|
60
59
|
port?: number | undefined;
|
|
61
60
|
user?: string | undefined;
|
|
61
|
+
password?: string | undefined;
|
|
62
62
|
ssl?: string | {
|
|
63
63
|
pfx?: string | undefined;
|
|
64
64
|
key?: 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
|
+
}>, zod0.ZodObject<{
|
|
73
|
+
url: zod0.ZodString;
|
|
74
|
+
}, "strip", zod0.ZodTypeAny, {
|
|
75
75
|
url: string;
|
|
76
76
|
}, {
|
|
77
77
|
url: string;
|
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 zod3694 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: zod3694.ZodUnion<[zod3694.ZodObject<{
|
|
7
|
+
host: zod3694.ZodString;
|
|
8
|
+
port: zod3694.ZodOptional<zod3694.ZodNumber>;
|
|
9
|
+
user: zod3694.ZodOptional<zod3694.ZodString>;
|
|
10
|
+
password: zod3694.ZodOptional<zod3694.ZodString>;
|
|
11
|
+
database: zod3694.ZodString;
|
|
12
|
+
ssl: zod3694.ZodOptional<zod3694.ZodUnion<[zod3694.ZodString, zod3694.ZodObject<{
|
|
13
|
+
pfx: zod3694.ZodOptional<zod3694.ZodString>;
|
|
14
|
+
key: zod3694.ZodOptional<zod3694.ZodString>;
|
|
15
|
+
passphrase: zod3694.ZodOptional<zod3694.ZodString>;
|
|
16
|
+
cert: zod3694.ZodOptional<zod3694.ZodString>;
|
|
17
|
+
ca: zod3694.ZodOptional<zod3694.ZodUnion<[zod3694.ZodString, zod3694.ZodArray<zod3694.ZodString, "many">]>>;
|
|
18
|
+
crl: zod3694.ZodOptional<zod3694.ZodUnion<[zod3694.ZodString, zod3694.ZodArray<zod3694.ZodString, "many">]>>;
|
|
19
|
+
ciphers: zod3694.ZodOptional<zod3694.ZodString>;
|
|
20
|
+
rejectUnauthorized: zod3694.ZodOptional<zod3694.ZodBoolean>;
|
|
21
|
+
}, "strip", zod3694.ZodTypeAny, {
|
|
22
22
|
pfx?: string | undefined;
|
|
23
23
|
key?: string | undefined;
|
|
24
24
|
passphrase?: string | undefined;
|
|
@@ -37,12 +37,12 @@ declare const mysqlCredentials: zod3716.ZodUnion<[zod3716.ZodObject<{
|
|
|
37
37
|
ciphers?: string | undefined;
|
|
38
38
|
rejectUnauthorized?: boolean | undefined;
|
|
39
39
|
}>]>>;
|
|
40
|
-
}, "strip",
|
|
40
|
+
}, "strip", zod3694.ZodTypeAny, {
|
|
41
41
|
host: string;
|
|
42
42
|
database: string;
|
|
43
|
-
password?: string | undefined;
|
|
44
43
|
port?: number | undefined;
|
|
45
44
|
user?: string | undefined;
|
|
45
|
+
password?: string | undefined;
|
|
46
46
|
ssl?: string | {
|
|
47
47
|
pfx?: string | undefined;
|
|
48
48
|
key?: string | undefined;
|
|
@@ -56,9 +56,9 @@ declare const mysqlCredentials: zod3716.ZodUnion<[zod3716.ZodObject<{
|
|
|
56
56
|
}, {
|
|
57
57
|
host: string;
|
|
58
58
|
database: string;
|
|
59
|
-
password?: string | undefined;
|
|
60
59
|
port?: number | undefined;
|
|
61
60
|
user?: string | undefined;
|
|
61
|
+
password?: string | undefined;
|
|
62
62
|
ssl?: string | {
|
|
63
63
|
pfx?: string | undefined;
|
|
64
64
|
key?: string | undefined;
|
|
@@ -69,9 +69,9 @@ declare const mysqlCredentials: zod3716.ZodUnion<[zod3716.ZodObject<{
|
|
|
69
69
|
ciphers?: string | undefined;
|
|
70
70
|
rejectUnauthorized?: boolean | undefined;
|
|
71
71
|
} | undefined;
|
|
72
|
-
}>,
|
|
73
|
-
url:
|
|
74
|
-
}, "strip",
|
|
72
|
+
}>, zod3694.ZodObject<{
|
|
73
|
+
url: zod3694.ZodString;
|
|
74
|
+
}, "strip", zod3694.ZodTypeAny, {
|
|
75
75
|
url: string;
|
|
76
76
|
}, {
|
|
77
77
|
url: string;
|
package/api-mysql.js
CHANGED
|
@@ -5,7 +5,7 @@ const startStudioServer = async (imports, credentials, options) => {
|
|
|
5
5
|
const { is } = require("drizzle-orm");
|
|
6
6
|
const { MySqlTable, getTableConfig } = require("drizzle-orm/mysql-core");
|
|
7
7
|
const { Relations } = require("drizzle-orm/_relations");
|
|
8
|
-
const { drizzleForMySQL, prepareServer } = await Promise.resolve().then(() => require("./studio-
|
|
8
|
+
const { drizzleForMySQL, prepareServer } = await Promise.resolve().then(() => require("./studio-BHX68F3z.js"));
|
|
9
9
|
const mysqlSchema = {};
|
|
10
10
|
const relations = {};
|
|
11
11
|
Object.entries(imports).forEach(([k, t]) => {
|