drizzle-kit 0.20.17-4e262b7 → 0.20.17-5938f5d
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/bin.cjs +13815 -2313
- package/cli/utils.d.ts +1 -0
- package/cli/validations/cli.d.ts +2 -2
- package/cli/validations/pg.d.ts +0 -6
- package/index.d.mts +15 -9
- package/index.d.ts +15 -9
- package/package.json +9 -6
- package/payload.js +12 -14
- package/payload.mjs +12 -14
- package/utils-studio.js +2 -2
- package/utils-studio.mjs +2 -2
- package/utils.js +1 -1
- package/utils.mjs +1 -1
package/cli/utils.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const assertExists: (it?: any) => void;
|
|
2
2
|
export declare const assertStudioNodeVersion: () => void;
|
|
3
|
+
export declare const checkPackage: (it: string) => Promise<boolean>;
|
|
3
4
|
export declare const assertPackages: (...pkgs: string[]) => Promise<void>;
|
|
4
5
|
export declare const assertEitherPackage: (...pkgs: string[]) => Promise<string[]>;
|
|
5
6
|
export declare const assertOrmCoreVersion: () => Promise<void>;
|
package/cli/validations/cli.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ export declare const pushParams: import("zod").ZodObject<{
|
|
|
43
43
|
authToken: import("zod").ZodOptional<import("zod").ZodString>;
|
|
44
44
|
verbose: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
45
45
|
strict: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
46
|
-
}, "
|
|
46
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
47
47
|
dialect: "mysql" | "pg" | "sqlite";
|
|
48
48
|
driver: string;
|
|
49
49
|
schemaFilters: string | string[];
|
|
@@ -100,7 +100,7 @@ export declare const pullParams: import("zod").ZodObject<{
|
|
|
100
100
|
authToken: import("zod").ZodOptional<import("zod").ZodString>;
|
|
101
101
|
"introspect-casing": import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"camel">, import("zod").ZodLiteral<"preserve">]>>;
|
|
102
102
|
breakpoints: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
103
|
-
}, "
|
|
103
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
104
104
|
out: string;
|
|
105
105
|
breakpoints: boolean;
|
|
106
106
|
schemaFilter: string | string[];
|
package/cli/validations/pg.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { TypeOf } from "zod";
|
|
2
2
|
export declare const postgresCredentials: import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
3
|
-
driver: import("zod").ZodLiteral<"pg">;
|
|
4
3
|
host: import("zod").ZodString;
|
|
5
4
|
port: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
6
5
|
user: import("zod").ZodDefault<import("zod").ZodString>;
|
|
@@ -8,7 +7,6 @@ export declare const postgresCredentials: import("zod").ZodUnion<[import("zod").
|
|
|
8
7
|
database: import("zod").ZodString;
|
|
9
8
|
ssl: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
10
9
|
}, "strip", import("zod").ZodTypeAny, {
|
|
11
|
-
driver: "pg";
|
|
12
10
|
host: string;
|
|
13
11
|
user: string;
|
|
14
12
|
database: string;
|
|
@@ -16,7 +14,6 @@ export declare const postgresCredentials: import("zod").ZodUnion<[import("zod").
|
|
|
16
14
|
password?: string | undefined;
|
|
17
15
|
ssl?: boolean | undefined;
|
|
18
16
|
}, {
|
|
19
|
-
driver: "pg";
|
|
20
17
|
host: string;
|
|
21
18
|
database: string;
|
|
22
19
|
port?: number | undefined;
|
|
@@ -24,13 +21,10 @@ export declare const postgresCredentials: import("zod").ZodUnion<[import("zod").
|
|
|
24
21
|
password?: string | undefined;
|
|
25
22
|
ssl?: boolean | undefined;
|
|
26
23
|
}>, import("zod").ZodObject<{
|
|
27
|
-
driver: import("zod").ZodLiteral<"pg">;
|
|
28
24
|
connectionString: import("zod").ZodString;
|
|
29
25
|
}, "strip", import("zod").ZodTypeAny, {
|
|
30
|
-
driver: "pg";
|
|
31
26
|
connectionString: string;
|
|
32
27
|
}, {
|
|
33
|
-
driver: "pg";
|
|
34
28
|
connectionString: string;
|
|
35
29
|
}>]>;
|
|
36
30
|
export type PostgresCredentials = TypeOf<typeof postgresCredentials>;
|
package/index.d.mts
CHANGED
|
@@ -59,23 +59,19 @@ export type Config = {
|
|
|
59
59
|
casing: "camel" | "preserve";
|
|
60
60
|
};
|
|
61
61
|
} & ({
|
|
62
|
+
dialect: "sqlite";
|
|
62
63
|
driver: "turso";
|
|
63
64
|
dbCredentials: {
|
|
64
65
|
url: string;
|
|
65
66
|
authToken?: string;
|
|
66
67
|
};
|
|
67
68
|
} | {
|
|
68
|
-
|
|
69
|
-
dbCredentials: {
|
|
70
|
-
url: string;
|
|
71
|
-
};
|
|
72
|
-
} | {
|
|
73
|
-
driver: "libsql";
|
|
69
|
+
dialect: "sqlite";
|
|
74
70
|
dbCredentials: {
|
|
75
71
|
url: string;
|
|
76
72
|
};
|
|
77
73
|
} | {
|
|
78
|
-
|
|
74
|
+
dialect: "pg";
|
|
79
75
|
dbCredentials: {
|
|
80
76
|
host: string;
|
|
81
77
|
port?: number;
|
|
@@ -87,7 +83,15 @@ export type Config = {
|
|
|
87
83
|
connectionString: string;
|
|
88
84
|
};
|
|
89
85
|
} | {
|
|
90
|
-
|
|
86
|
+
dialect: "pg";
|
|
87
|
+
driver: "aws-data-api";
|
|
88
|
+
dbCredentials: {
|
|
89
|
+
key: string;
|
|
90
|
+
secret: string;
|
|
91
|
+
id: string;
|
|
92
|
+
};
|
|
93
|
+
} | {
|
|
94
|
+
dialect: "mysql";
|
|
91
95
|
dbCredentials: {
|
|
92
96
|
host: string;
|
|
93
97
|
port?: number;
|
|
@@ -98,12 +102,14 @@ export type Config = {
|
|
|
98
102
|
uri: string;
|
|
99
103
|
};
|
|
100
104
|
} | {
|
|
101
|
-
|
|
105
|
+
dialect: "sqlite";
|
|
106
|
+
driver: "d1-http";
|
|
102
107
|
dbCredentials: {
|
|
103
108
|
wranglerConfigPath: string;
|
|
104
109
|
dbName: string;
|
|
105
110
|
};
|
|
106
111
|
} | {
|
|
112
|
+
dialect: "sqlite";
|
|
107
113
|
driver: "expo";
|
|
108
114
|
} | {});
|
|
109
115
|
export declare function defineConfig(config: Config): Config;
|
package/index.d.ts
CHANGED
|
@@ -59,23 +59,19 @@ export type Config = {
|
|
|
59
59
|
casing: "camel" | "preserve";
|
|
60
60
|
};
|
|
61
61
|
} & ({
|
|
62
|
+
dialect: "sqlite";
|
|
62
63
|
driver: "turso";
|
|
63
64
|
dbCredentials: {
|
|
64
65
|
url: string;
|
|
65
66
|
authToken?: string;
|
|
66
67
|
};
|
|
67
68
|
} | {
|
|
68
|
-
|
|
69
|
-
dbCredentials: {
|
|
70
|
-
url: string;
|
|
71
|
-
};
|
|
72
|
-
} | {
|
|
73
|
-
driver: "libsql";
|
|
69
|
+
dialect: "sqlite";
|
|
74
70
|
dbCredentials: {
|
|
75
71
|
url: string;
|
|
76
72
|
};
|
|
77
73
|
} | {
|
|
78
|
-
|
|
74
|
+
dialect: "pg";
|
|
79
75
|
dbCredentials: {
|
|
80
76
|
host: string;
|
|
81
77
|
port?: number;
|
|
@@ -87,7 +83,15 @@ export type Config = {
|
|
|
87
83
|
connectionString: string;
|
|
88
84
|
};
|
|
89
85
|
} | {
|
|
90
|
-
|
|
86
|
+
dialect: "pg";
|
|
87
|
+
driver: "aws-data-api";
|
|
88
|
+
dbCredentials: {
|
|
89
|
+
key: string;
|
|
90
|
+
secret: string;
|
|
91
|
+
id: string;
|
|
92
|
+
};
|
|
93
|
+
} | {
|
|
94
|
+
dialect: "mysql";
|
|
91
95
|
dbCredentials: {
|
|
92
96
|
host: string;
|
|
93
97
|
port?: number;
|
|
@@ -98,12 +102,14 @@ export type Config = {
|
|
|
98
102
|
uri: string;
|
|
99
103
|
};
|
|
100
104
|
} | {
|
|
101
|
-
|
|
105
|
+
dialect: "sqlite";
|
|
106
|
+
driver: "d1-http";
|
|
102
107
|
dbCredentials: {
|
|
103
108
|
wranglerConfigPath: string;
|
|
104
109
|
dbName: string;
|
|
105
110
|
};
|
|
106
111
|
} | {
|
|
112
|
+
dialect: "sqlite";
|
|
107
113
|
driver: "expo";
|
|
108
114
|
} | {});
|
|
109
115
|
export declare function defineConfig(config: Config): Config;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "drizzle-kit",
|
|
3
|
-
"version": "0.20.17-
|
|
3
|
+
"version": "0.20.17-5938f5d",
|
|
4
4
|
"repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
|
|
5
5
|
"author": "Drizzle Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@esbuild-kit/esm-loader": "^2.5.5",
|
|
24
|
-
"@types/json-diff": "^1.0.3",
|
|
25
24
|
"@hono/node-server": "^1.9.0",
|
|
26
25
|
"@hono/zod-validator": "^0.2.0",
|
|
26
|
+
"@types/json-diff": "^1.0.3",
|
|
27
27
|
"camelcase": "^7.0.1",
|
|
28
28
|
"chalk": "^5.2.0",
|
|
29
29
|
"commander": "^9.4.1",
|
|
@@ -38,12 +38,14 @@
|
|
|
38
38
|
"pluralize": "^8.0.0",
|
|
39
39
|
"semver": "^7.5.4",
|
|
40
40
|
"superjson": "^2.2.1",
|
|
41
|
+
"ws": "^8.16.0",
|
|
41
42
|
"zod": "^3.20.2"
|
|
42
43
|
},
|
|
43
44
|
"devDependencies": {
|
|
44
45
|
"@cloudflare/workers-types": "^4.20230518.0",
|
|
45
46
|
"@electric-sql/pglite": "^0.1.3",
|
|
46
47
|
"@libsql/client": "^0.4.2",
|
|
48
|
+
"@neondatabase/serverless": "^0.9.1",
|
|
47
49
|
"@originjs/vite-plugin-commonjs": "^1.0.3",
|
|
48
50
|
"@types/better-sqlite3": "^7.6.4",
|
|
49
51
|
"@types/dockerode": "^3.3.28",
|
|
@@ -54,14 +56,15 @@
|
|
|
54
56
|
"@types/pluralize": "^0.0.33",
|
|
55
57
|
"@types/semver": "^7.5.5",
|
|
56
58
|
"@types/uuid": "^9.0.8",
|
|
59
|
+
"@types/ws": "^8.5.10",
|
|
57
60
|
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
|
58
61
|
"@typescript-eslint/parser": "^7.2.0",
|
|
59
|
-
"dockerode": "^3.3.4",
|
|
60
|
-
"dotenv": "^16.0.3",
|
|
61
|
-
"drizzle-orm": "0.30.5-ab9feb7",
|
|
62
62
|
"ava": "^5.1.0",
|
|
63
63
|
"better-sqlite3": "^9.4.3",
|
|
64
|
+
"dockerode": "^3.3.4",
|
|
65
|
+
"dotenv": "^16.0.3",
|
|
64
66
|
"drizzle-kit": "0.20.14",
|
|
67
|
+
"drizzle-orm": "0.30.5-ab9feb7",
|
|
65
68
|
"esbuild-node-externals": "^1.9.0",
|
|
66
69
|
"eslint": "^8.57.0",
|
|
67
70
|
"eslint-config-prettier": "^9.1.0",
|
|
@@ -69,7 +72,7 @@
|
|
|
69
72
|
"get-port": "^6.1.2",
|
|
70
73
|
"mysql2": "2.3.3",
|
|
71
74
|
"pg": "^8.11.3",
|
|
72
|
-
"postgres": "^3.
|
|
75
|
+
"postgres": "^3.4.4",
|
|
73
76
|
"prettier": "^2.8.1",
|
|
74
77
|
"tsx": "^3.12.1",
|
|
75
78
|
"typescript": "^5.4.3",
|
package/payload.js
CHANGED
|
@@ -1109,7 +1109,7 @@ var init_global = __esm({
|
|
|
1109
1109
|
}
|
|
1110
1110
|
});
|
|
1111
1111
|
|
|
1112
|
-
// node_modules/.pnpm/zod@3.23.
|
|
1112
|
+
// node_modules/.pnpm/zod@3.23.4/node_modules/zod/lib/index.mjs
|
|
1113
1113
|
function getErrorMap() {
|
|
1114
1114
|
return overrideErrorMap;
|
|
1115
1115
|
}
|
|
@@ -1280,7 +1280,7 @@ function createZodEnum(values, params) {
|
|
|
1280
1280
|
}
|
|
1281
1281
|
var util, objectUtil, ZodParsedType, getParsedType, ZodIssueCode, ZodError, errorMap, overrideErrorMap, makeIssue, ParseStatus, INVALID, DIRTY, OK, isAborted, isDirty, isValid, isAsync, errorUtil, _ZodEnum_cache, _ZodNativeEnum_cache, ParseInputLazyPath, handleResult, ZodType, cuidRegex, cuid2Regex, ulidRegex, uuidRegex, nanoidRegex, durationRegex, emailRegex, _emojiRegex, emojiRegex, ipv4Regex, ipv6Regex, base64Regex, dateRegexSource, dateRegex, ZodString, ZodNumber, ZodBigInt, ZodBoolean, ZodDate, ZodSymbol, ZodUndefined, ZodNull, ZodAny, ZodUnknown, ZodNever, ZodVoid, ZodArray, ZodObject, ZodUnion, getDiscriminator, ZodDiscriminatedUnion, ZodIntersection, ZodTuple, ZodRecord, ZodMap, ZodSet, ZodFunction, ZodLazy, ZodLiteral, ZodEnum, ZodNativeEnum, ZodPromise, ZodEffects, ZodOptional, ZodNullable, ZodDefault, ZodCatch, ZodNaN, BRAND, ZodBranded, ZodPipeline, ZodReadonly, late, ZodFirstPartyTypeKind, stringType, numberType, nanType, bigIntType, booleanType, dateType, symbolType, undefinedType, nullType, anyType, unknownType, neverType, voidType, arrayType, objectType, strictObjectType, unionType, discriminatedUnionType, intersectionType, tupleType, recordType, mapType, setType, functionType, lazyType, literalType, enumType, nativeEnumType, promiseType, effectsType, optionalType, nullableType, preprocessType, pipelineType, coerce;
|
|
1282
1282
|
var init_lib = __esm({
|
|
1283
|
-
"node_modules/.pnpm/zod@3.23.
|
|
1283
|
+
"node_modules/.pnpm/zod@3.23.4/node_modules/zod/lib/index.mjs"() {
|
|
1284
1284
|
(function(util2) {
|
|
1285
1285
|
util2.assertEqual = (val) => val;
|
|
1286
1286
|
function assertIs(_arg) {
|
|
@@ -5981,7 +5981,6 @@ var init_pg = __esm({
|
|
|
5981
5981
|
init_outputs();
|
|
5982
5982
|
postgresCredentials = unionType([
|
|
5983
5983
|
objectType({
|
|
5984
|
-
driver: literalType("pg"),
|
|
5985
5984
|
host: stringType(),
|
|
5986
5985
|
port: coerce.number().optional(),
|
|
5987
5986
|
user: stringType().default("postgres"),
|
|
@@ -5990,7 +5989,6 @@ var init_pg = __esm({
|
|
|
5990
5989
|
ssl: coerce.boolean().optional()
|
|
5991
5990
|
}),
|
|
5992
5991
|
objectType({
|
|
5993
|
-
driver: literalType("pg"),
|
|
5994
5992
|
connectionString: stringType()
|
|
5995
5993
|
})
|
|
5996
5994
|
]);
|
|
@@ -6168,7 +6166,7 @@ var init_cli = __esm({
|
|
|
6168
6166
|
authToken: stringType().optional(),
|
|
6169
6167
|
verbose: booleanType().optional(),
|
|
6170
6168
|
strict: booleanType().optional()
|
|
6171
|
-
})
|
|
6169
|
+
});
|
|
6172
6170
|
pullParams = objectType({
|
|
6173
6171
|
config: stringType().optional(),
|
|
6174
6172
|
dialect: dialect3.optional(),
|
|
@@ -6190,7 +6188,7 @@ var init_cli = __esm({
|
|
|
6190
6188
|
authToken: stringType().optional(),
|
|
6191
6189
|
"introspect-casing": casing,
|
|
6192
6190
|
breakpoints: booleanType().optional().default(true)
|
|
6193
|
-
})
|
|
6191
|
+
});
|
|
6194
6192
|
configCheck = objectType({
|
|
6195
6193
|
dialect: dialect3.optional(),
|
|
6196
6194
|
out: stringType().optional()
|
|
@@ -10141,15 +10139,15 @@ var require_node2 = __commonJS({
|
|
|
10141
10139
|
return newToken("punctuator", read());
|
|
10142
10140
|
case "n":
|
|
10143
10141
|
read();
|
|
10144
|
-
|
|
10142
|
+
literal3("ull");
|
|
10145
10143
|
return newToken("null", null);
|
|
10146
10144
|
case "t":
|
|
10147
10145
|
read();
|
|
10148
|
-
|
|
10146
|
+
literal3("rue");
|
|
10149
10147
|
return newToken("boolean", true);
|
|
10150
10148
|
case "f":
|
|
10151
10149
|
read();
|
|
10152
|
-
|
|
10150
|
+
literal3("alse");
|
|
10153
10151
|
return newToken("boolean", false);
|
|
10154
10152
|
case "-":
|
|
10155
10153
|
case "+":
|
|
@@ -10180,11 +10178,11 @@ var require_node2 = __commonJS({
|
|
|
10180
10178
|
return;
|
|
10181
10179
|
case "I":
|
|
10182
10180
|
read();
|
|
10183
|
-
|
|
10181
|
+
literal3("nfinity");
|
|
10184
10182
|
return newToken("numeric", Infinity);
|
|
10185
10183
|
case "N":
|
|
10186
10184
|
read();
|
|
10187
|
-
|
|
10185
|
+
literal3("aN");
|
|
10188
10186
|
return newToken("numeric", NaN);
|
|
10189
10187
|
case '"':
|
|
10190
10188
|
case "'":
|
|
@@ -10278,11 +10276,11 @@ var require_node2 = __commonJS({
|
|
|
10278
10276
|
return;
|
|
10279
10277
|
case "I":
|
|
10280
10278
|
read();
|
|
10281
|
-
|
|
10279
|
+
literal3("nfinity");
|
|
10282
10280
|
return newToken("numeric", sign * Infinity);
|
|
10283
10281
|
case "N":
|
|
10284
10282
|
read();
|
|
10285
|
-
|
|
10283
|
+
literal3("aN");
|
|
10286
10284
|
return newToken("numeric", NaN);
|
|
10287
10285
|
}
|
|
10288
10286
|
throw invalidChar(read());
|
|
@@ -10515,7 +10513,7 @@ var require_node2 = __commonJS({
|
|
|
10515
10513
|
column: column4
|
|
10516
10514
|
};
|
|
10517
10515
|
}
|
|
10518
|
-
function
|
|
10516
|
+
function literal3(s) {
|
|
10519
10517
|
for (const c2 of s) {
|
|
10520
10518
|
const p = peek();
|
|
10521
10519
|
if (p !== c2) {
|
package/payload.mjs
CHANGED
|
@@ -1115,7 +1115,7 @@ var init_global = __esm({
|
|
|
1115
1115
|
}
|
|
1116
1116
|
});
|
|
1117
1117
|
|
|
1118
|
-
// node_modules/.pnpm/zod@3.23.
|
|
1118
|
+
// node_modules/.pnpm/zod@3.23.4/node_modules/zod/lib/index.mjs
|
|
1119
1119
|
function getErrorMap() {
|
|
1120
1120
|
return overrideErrorMap;
|
|
1121
1121
|
}
|
|
@@ -1286,7 +1286,7 @@ function createZodEnum(values, params) {
|
|
|
1286
1286
|
}
|
|
1287
1287
|
var util, objectUtil, ZodParsedType, getParsedType, ZodIssueCode, ZodError, errorMap, overrideErrorMap, makeIssue, ParseStatus, INVALID, DIRTY, OK, isAborted, isDirty, isValid, isAsync, errorUtil, _ZodEnum_cache, _ZodNativeEnum_cache, ParseInputLazyPath, handleResult, ZodType, cuidRegex, cuid2Regex, ulidRegex, uuidRegex, nanoidRegex, durationRegex, emailRegex, _emojiRegex, emojiRegex, ipv4Regex, ipv6Regex, base64Regex, dateRegexSource, dateRegex, ZodString, ZodNumber, ZodBigInt, ZodBoolean, ZodDate, ZodSymbol, ZodUndefined, ZodNull, ZodAny, ZodUnknown, ZodNever, ZodVoid, ZodArray, ZodObject, ZodUnion, getDiscriminator, ZodDiscriminatedUnion, ZodIntersection, ZodTuple, ZodRecord, ZodMap, ZodSet, ZodFunction, ZodLazy, ZodLiteral, ZodEnum, ZodNativeEnum, ZodPromise, ZodEffects, ZodOptional, ZodNullable, ZodDefault, ZodCatch, ZodNaN, BRAND, ZodBranded, ZodPipeline, ZodReadonly, late, ZodFirstPartyTypeKind, stringType, numberType, nanType, bigIntType, booleanType, dateType, symbolType, undefinedType, nullType, anyType, unknownType, neverType, voidType, arrayType, objectType, strictObjectType, unionType, discriminatedUnionType, intersectionType, tupleType, recordType, mapType, setType, functionType, lazyType, literalType, enumType, nativeEnumType, promiseType, effectsType, optionalType, nullableType, preprocessType, pipelineType, coerce;
|
|
1288
1288
|
var init_lib = __esm({
|
|
1289
|
-
"node_modules/.pnpm/zod@3.23.
|
|
1289
|
+
"node_modules/.pnpm/zod@3.23.4/node_modules/zod/lib/index.mjs"() {
|
|
1290
1290
|
(function(util2) {
|
|
1291
1291
|
util2.assertEqual = (val) => val;
|
|
1292
1292
|
function assertIs(_arg) {
|
|
@@ -5987,7 +5987,6 @@ var init_pg = __esm({
|
|
|
5987
5987
|
init_outputs();
|
|
5988
5988
|
postgresCredentials = unionType([
|
|
5989
5989
|
objectType({
|
|
5990
|
-
driver: literalType("pg"),
|
|
5991
5990
|
host: stringType(),
|
|
5992
5991
|
port: coerce.number().optional(),
|
|
5993
5992
|
user: stringType().default("postgres"),
|
|
@@ -5996,7 +5995,6 @@ var init_pg = __esm({
|
|
|
5996
5995
|
ssl: coerce.boolean().optional()
|
|
5997
5996
|
}),
|
|
5998
5997
|
objectType({
|
|
5999
|
-
driver: literalType("pg"),
|
|
6000
5998
|
connectionString: stringType()
|
|
6001
5999
|
})
|
|
6002
6000
|
]);
|
|
@@ -6174,7 +6172,7 @@ var init_cli = __esm({
|
|
|
6174
6172
|
authToken: stringType().optional(),
|
|
6175
6173
|
verbose: booleanType().optional(),
|
|
6176
6174
|
strict: booleanType().optional()
|
|
6177
|
-
})
|
|
6175
|
+
});
|
|
6178
6176
|
pullParams = objectType({
|
|
6179
6177
|
config: stringType().optional(),
|
|
6180
6178
|
dialect: dialect3.optional(),
|
|
@@ -6196,7 +6194,7 @@ var init_cli = __esm({
|
|
|
6196
6194
|
authToken: stringType().optional(),
|
|
6197
6195
|
"introspect-casing": casing,
|
|
6198
6196
|
breakpoints: booleanType().optional().default(true)
|
|
6199
|
-
})
|
|
6197
|
+
});
|
|
6200
6198
|
configCheck = objectType({
|
|
6201
6199
|
dialect: dialect3.optional(),
|
|
6202
6200
|
out: stringType().optional()
|
|
@@ -10147,15 +10145,15 @@ var require_node2 = __commonJS({
|
|
|
10147
10145
|
return newToken("punctuator", read());
|
|
10148
10146
|
case "n":
|
|
10149
10147
|
read();
|
|
10150
|
-
|
|
10148
|
+
literal3("ull");
|
|
10151
10149
|
return newToken("null", null);
|
|
10152
10150
|
case "t":
|
|
10153
10151
|
read();
|
|
10154
|
-
|
|
10152
|
+
literal3("rue");
|
|
10155
10153
|
return newToken("boolean", true);
|
|
10156
10154
|
case "f":
|
|
10157
10155
|
read();
|
|
10158
|
-
|
|
10156
|
+
literal3("alse");
|
|
10159
10157
|
return newToken("boolean", false);
|
|
10160
10158
|
case "-":
|
|
10161
10159
|
case "+":
|
|
@@ -10186,11 +10184,11 @@ var require_node2 = __commonJS({
|
|
|
10186
10184
|
return;
|
|
10187
10185
|
case "I":
|
|
10188
10186
|
read();
|
|
10189
|
-
|
|
10187
|
+
literal3("nfinity");
|
|
10190
10188
|
return newToken("numeric", Infinity);
|
|
10191
10189
|
case "N":
|
|
10192
10190
|
read();
|
|
10193
|
-
|
|
10191
|
+
literal3("aN");
|
|
10194
10192
|
return newToken("numeric", NaN);
|
|
10195
10193
|
case '"':
|
|
10196
10194
|
case "'":
|
|
@@ -10284,11 +10282,11 @@ var require_node2 = __commonJS({
|
|
|
10284
10282
|
return;
|
|
10285
10283
|
case "I":
|
|
10286
10284
|
read();
|
|
10287
|
-
|
|
10285
|
+
literal3("nfinity");
|
|
10288
10286
|
return newToken("numeric", sign * Infinity);
|
|
10289
10287
|
case "N":
|
|
10290
10288
|
read();
|
|
10291
|
-
|
|
10289
|
+
literal3("aN");
|
|
10292
10290
|
return newToken("numeric", NaN);
|
|
10293
10291
|
}
|
|
10294
10292
|
throw invalidChar(read());
|
|
@@ -10521,7 +10519,7 @@ var require_node2 = __commonJS({
|
|
|
10521
10519
|
column: column4
|
|
10522
10520
|
};
|
|
10523
10521
|
}
|
|
10524
|
-
function
|
|
10522
|
+
function literal3(s) {
|
|
10525
10523
|
for (const c2 of s) {
|
|
10526
10524
|
const p = peek();
|
|
10527
10525
|
if (p !== c2) {
|
package/utils-studio.js
CHANGED
|
@@ -573,7 +573,7 @@ var init_global = __esm({
|
|
|
573
573
|
}
|
|
574
574
|
});
|
|
575
575
|
|
|
576
|
-
// node_modules/.pnpm/zod@3.23.
|
|
576
|
+
// node_modules/.pnpm/zod@3.23.4/node_modules/zod/lib/index.mjs
|
|
577
577
|
function getErrorMap() {
|
|
578
578
|
return overrideErrorMap;
|
|
579
579
|
}
|
|
@@ -744,7 +744,7 @@ function createZodEnum(values, params) {
|
|
|
744
744
|
}
|
|
745
745
|
var util, objectUtil, ZodParsedType, getParsedType, ZodIssueCode, ZodError, errorMap, overrideErrorMap, makeIssue, ParseStatus, INVALID, DIRTY, OK, isAborted, isDirty, isValid, isAsync, errorUtil, _ZodEnum_cache, _ZodNativeEnum_cache, ParseInputLazyPath, handleResult, ZodType, cuidRegex, cuid2Regex, ulidRegex, uuidRegex, nanoidRegex, durationRegex, emailRegex, _emojiRegex, emojiRegex, ipv4Regex, ipv6Regex, base64Regex, dateRegexSource, dateRegex, ZodString, ZodNumber, ZodBigInt, ZodBoolean, ZodDate, ZodSymbol, ZodUndefined, ZodNull, ZodAny, ZodUnknown, ZodNever, ZodVoid, ZodArray, ZodObject, ZodUnion, getDiscriminator, ZodDiscriminatedUnion, ZodIntersection, ZodTuple, ZodRecord, ZodMap, ZodSet, ZodFunction, ZodLazy, ZodLiteral, ZodEnum, ZodNativeEnum, ZodPromise, ZodEffects, ZodOptional, ZodNullable, ZodDefault, ZodCatch, ZodNaN, BRAND, ZodBranded, ZodPipeline, ZodReadonly, late, ZodFirstPartyTypeKind, stringType, numberType, nanType, bigIntType, booleanType, dateType, symbolType, undefinedType, nullType, anyType, unknownType, neverType, voidType, arrayType, objectType, strictObjectType, unionType, discriminatedUnionType, intersectionType, tupleType, recordType, mapType, setType, functionType, lazyType, literalType, enumType, nativeEnumType, promiseType, effectsType, optionalType, nullableType, preprocessType, pipelineType;
|
|
746
746
|
var init_lib = __esm({
|
|
747
|
-
"node_modules/.pnpm/zod@3.23.
|
|
747
|
+
"node_modules/.pnpm/zod@3.23.4/node_modules/zod/lib/index.mjs"() {
|
|
748
748
|
(function(util2) {
|
|
749
749
|
util2.assertEqual = (val) => val;
|
|
750
750
|
function assertIs(_arg) {
|
package/utils-studio.mjs
CHANGED
|
@@ -574,7 +574,7 @@ var init_global = __esm({
|
|
|
574
574
|
}
|
|
575
575
|
});
|
|
576
576
|
|
|
577
|
-
// node_modules/.pnpm/zod@3.23.
|
|
577
|
+
// node_modules/.pnpm/zod@3.23.4/node_modules/zod/lib/index.mjs
|
|
578
578
|
function getErrorMap() {
|
|
579
579
|
return overrideErrorMap;
|
|
580
580
|
}
|
|
@@ -745,7 +745,7 @@ function createZodEnum(values, params) {
|
|
|
745
745
|
}
|
|
746
746
|
var util, objectUtil, ZodParsedType, getParsedType, ZodIssueCode, ZodError, errorMap, overrideErrorMap, makeIssue, ParseStatus, INVALID, DIRTY, OK, isAborted, isDirty, isValid, isAsync, errorUtil, _ZodEnum_cache, _ZodNativeEnum_cache, ParseInputLazyPath, handleResult, ZodType, cuidRegex, cuid2Regex, ulidRegex, uuidRegex, nanoidRegex, durationRegex, emailRegex, _emojiRegex, emojiRegex, ipv4Regex, ipv6Regex, base64Regex, dateRegexSource, dateRegex, ZodString, ZodNumber, ZodBigInt, ZodBoolean, ZodDate, ZodSymbol, ZodUndefined, ZodNull, ZodAny, ZodUnknown, ZodNever, ZodVoid, ZodArray, ZodObject, ZodUnion, getDiscriminator, ZodDiscriminatedUnion, ZodIntersection, ZodTuple, ZodRecord, ZodMap, ZodSet, ZodFunction, ZodLazy, ZodLiteral, ZodEnum, ZodNativeEnum, ZodPromise, ZodEffects, ZodOptional, ZodNullable, ZodDefault, ZodCatch, ZodNaN, BRAND, ZodBranded, ZodPipeline, ZodReadonly, late, ZodFirstPartyTypeKind, stringType, numberType, nanType, bigIntType, booleanType, dateType, symbolType, undefinedType, nullType, anyType, unknownType, neverType, voidType, arrayType, objectType, strictObjectType, unionType, discriminatedUnionType, intersectionType, tupleType, recordType, mapType, setType, functionType, lazyType, literalType, enumType, nativeEnumType, promiseType, effectsType, optionalType, nullableType, preprocessType, pipelineType;
|
|
747
747
|
var init_lib = __esm({
|
|
748
|
-
"node_modules/.pnpm/zod@3.23.
|
|
748
|
+
"node_modules/.pnpm/zod@3.23.4/node_modules/zod/lib/index.mjs"() {
|
|
749
749
|
(function(util2) {
|
|
750
750
|
util2.assertEqual = (val) => val;
|
|
751
751
|
function assertIs(_arg) {
|
package/utils.js
CHANGED
|
@@ -1079,7 +1079,7 @@ var info = (msg, greyMsg = "") => {
|
|
|
1079
1079
|
var originUUID = "00000000-0000-0000-0000-000000000000";
|
|
1080
1080
|
var snapshotVersion = "6";
|
|
1081
1081
|
|
|
1082
|
-
// node_modules/.pnpm/zod@3.23.
|
|
1082
|
+
// node_modules/.pnpm/zod@3.23.4/node_modules/zod/lib/index.mjs
|
|
1083
1083
|
var util;
|
|
1084
1084
|
(function(util2) {
|
|
1085
1085
|
util2.assertEqual = (val) => val;
|
package/utils.mjs
CHANGED
|
@@ -1070,7 +1070,7 @@ var info = (msg, greyMsg = "") => {
|
|
|
1070
1070
|
var originUUID = "00000000-0000-0000-0000-000000000000";
|
|
1071
1071
|
var snapshotVersion = "6";
|
|
1072
1072
|
|
|
1073
|
-
// node_modules/.pnpm/zod@3.23.
|
|
1073
|
+
// node_modules/.pnpm/zod@3.23.4/node_modules/zod/lib/index.mjs
|
|
1074
1074
|
var util;
|
|
1075
1075
|
(function(util2) {
|
|
1076
1076
|
util2.assertEqual = (val) => val;
|