drizzle-kit 0.20.17-7f33638 → 0.20.17-8b4d89e
Sign up to get free protection for your applications and to get access to all the features.
- package/bin.cjs +115 -111
- package/cli/validations/cli.d.ts +2 -2
- package/index.d.mts +1 -1
- package/index.d.ts +1 -1
- package/package.json +1 -1
- package/payload.js +4 -4
- package/payload.mjs +4 -4
- package/snapshotsDiffer.d.ts +14 -14
- package/utils-studio.js +2 -2
- package/utils-studio.mjs +2 -2
- package/utils.js +2 -2
- package/utils.mjs +2 -2
package/bin.cjs
CHANGED
@@ -1443,7 +1443,7 @@ var init_global = __esm({
|
|
1443
1443
|
}
|
1444
1444
|
});
|
1445
1445
|
|
1446
|
-
// node_modules/.pnpm/zod@3.23.
|
1446
|
+
// node_modules/.pnpm/zod@3.23.3/node_modules/zod/lib/index.mjs
|
1447
1447
|
function setErrorMap(map) {
|
1448
1448
|
overrideErrorMap = map;
|
1449
1449
|
}
|
@@ -1630,7 +1630,7 @@ function custom(check, params = {}, fatal) {
|
|
1630
1630
|
}
|
1631
1631
|
var util, objectUtil, ZodParsedType, getParsedType, ZodIssueCode, quotelessJson, ZodError, errorMap, overrideErrorMap, makeIssue, EMPTY_PATH, 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, instanceOfType, 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, ostring, onumber, oboolean, coerce, NEVER, z;
|
1632
1632
|
var init_lib = __esm({
|
1633
|
-
"node_modules/.pnpm/zod@3.23.
|
1633
|
+
"node_modules/.pnpm/zod@3.23.3/node_modules/zod/lib/index.mjs"() {
|
1634
1634
|
(function(util2) {
|
1635
1635
|
util2.assertEqual = (val) => val;
|
1636
1636
|
function assertIs(_arg) {
|
@@ -6233,7 +6233,7 @@ var init_utils = __esm({
|
|
6233
6233
|
case "pg":
|
6234
6234
|
return { validator: backwardCompatiblePgSchema, version: 6 };
|
6235
6235
|
case "sqlite":
|
6236
|
-
return { validator: backwardCompatibleSqliteSchema, version:
|
6236
|
+
return { validator: backwardCompatibleSqliteSchema, version: 5 };
|
6237
6237
|
case "mysql":
|
6238
6238
|
return { validator: backwardCompatibleMysqlSchema, version: 5 };
|
6239
6239
|
}
|
@@ -9318,7 +9318,7 @@ var init_cli = __esm({
|
|
9318
9318
|
authToken: stringType().optional(),
|
9319
9319
|
verbose: booleanType().optional(),
|
9320
9320
|
strict: booleanType().optional()
|
9321
|
-
})
|
9321
|
+
});
|
9322
9322
|
pullParams = objectType({
|
9323
9323
|
config: stringType().optional(),
|
9324
9324
|
dialect: dialect3.optional(),
|
@@ -9340,7 +9340,7 @@ var init_cli = __esm({
|
|
9340
9340
|
authToken: stringType().optional(),
|
9341
9341
|
"introspect-casing": casing,
|
9342
9342
|
breakpoints: booleanType().optional().default(true)
|
9343
|
-
})
|
9343
|
+
});
|
9344
9344
|
configCheck = objectType({
|
9345
9345
|
dialect: dialect3.optional(),
|
9346
9346
|
out: stringType().optional()
|
@@ -10151,11 +10151,11 @@ var require_node2 = __commonJS({
|
|
10151
10151
|
};
|
10152
10152
|
var require_base64 = __commonJS2((exports3) => {
|
10153
10153
|
var intToCharMap = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");
|
10154
|
-
exports3.encode = function(
|
10155
|
-
if (0 <=
|
10156
|
-
return intToCharMap[
|
10154
|
+
exports3.encode = function(number2) {
|
10155
|
+
if (0 <= number2 && number2 < intToCharMap.length) {
|
10156
|
+
return intToCharMap[number2];
|
10157
10157
|
}
|
10158
|
-
throw new TypeError("Must be between 0 and 63: " +
|
10158
|
+
throw new TypeError("Must be between 0 and 63: " + number2);
|
10159
10159
|
};
|
10160
10160
|
exports3.decode = function(charCode) {
|
10161
10161
|
var bigA = 65;
|
@@ -15085,7 +15085,7 @@ var init_utils4 = __esm({
|
|
15085
15085
|
return {
|
15086
15086
|
...rest,
|
15087
15087
|
...dbCredentials,
|
15088
|
-
"introspect-casing": introspect.casing
|
15088
|
+
"introspect-casing": introspect == null ? void 0 : introspect.casing
|
15089
15089
|
};
|
15090
15090
|
}
|
15091
15091
|
return config;
|
@@ -23719,16 +23719,16 @@ var require_map_stream = __commonJS({
|
|
23719
23719
|
var writeQueue = {};
|
23720
23720
|
stream.writable = true;
|
23721
23721
|
stream.readable = true;
|
23722
|
-
function queueData(data,
|
23722
|
+
function queueData(data, number2) {
|
23723
23723
|
var nextToWrite = lastWritten + 1;
|
23724
|
-
if (
|
23724
|
+
if (number2 === nextToWrite) {
|
23725
23725
|
if (data !== void 0) {
|
23726
23726
|
stream.emit.apply(stream, ["data", data]);
|
23727
23727
|
}
|
23728
23728
|
lastWritten++;
|
23729
23729
|
nextToWrite++;
|
23730
23730
|
} else {
|
23731
|
-
writeQueue[
|
23731
|
+
writeQueue[number2] = data;
|
23732
23732
|
}
|
23733
23733
|
if (writeQueue.hasOwnProperty(nextToWrite)) {
|
23734
23734
|
var dataToWrite = writeQueue[nextToWrite];
|
@@ -23743,21 +23743,21 @@ var require_map_stream = __commonJS({
|
|
23743
23743
|
end();
|
23744
23744
|
}
|
23745
23745
|
}
|
23746
|
-
function next(err2, data,
|
23746
|
+
function next(err2, data, number2) {
|
23747
23747
|
if (destroyed)
|
23748
23748
|
return;
|
23749
23749
|
inNext = true;
|
23750
23750
|
if (!err2 || self2.opts.failures) {
|
23751
|
-
queueData(data,
|
23751
|
+
queueData(data, number2);
|
23752
23752
|
}
|
23753
23753
|
if (err2) {
|
23754
23754
|
stream.emit.apply(stream, [errorEventName, err2]);
|
23755
23755
|
}
|
23756
23756
|
inNext = false;
|
23757
23757
|
}
|
23758
|
-
function wrappedMapper(input,
|
23758
|
+
function wrappedMapper(input, number2, callback) {
|
23759
23759
|
return mapper.call(null, input, function(err2, data) {
|
23760
|
-
callback(err2, data,
|
23760
|
+
callback(err2, data, number2);
|
23761
23761
|
});
|
23762
23762
|
}
|
23763
23763
|
stream.write = function(data) {
|
@@ -37996,10 +37996,10 @@ var init_dist = __esm({
|
|
37996
37996
|
}
|
37997
37997
|
});
|
37998
37998
|
|
37999
|
-
// node_modules/.pnpm/hono@4.2.
|
37999
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/utils/url.js
|
38000
38000
|
var splitPath, splitRoutingPath, extractGroupsFromPath, replaceGroupMarks, patternCache, getPattern, getPath, getQueryStrings, getPathNoStrict, mergePath, checkOptionalParameter, _decodeURI, _getQueryParam, getQueryParam, getQueryParams, decodeURIComponent_;
|
38001
38001
|
var init_url = __esm({
|
38002
|
-
"node_modules/.pnpm/hono@4.2.
|
38002
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/utils/url.js"() {
|
38003
38003
|
splitPath = (path5) => {
|
38004
38004
|
const paths = path5.split("/");
|
38005
38005
|
if (paths[0] === "") {
|
@@ -38194,10 +38194,10 @@ var init_url = __esm({
|
|
38194
38194
|
}
|
38195
38195
|
});
|
38196
38196
|
|
38197
|
-
// node_modules/.pnpm/hono@4.2.
|
38197
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/utils/cookie.js
|
38198
38198
|
var validCookieNameRegEx, validCookieValueRegEx, parse;
|
38199
38199
|
var init_cookie = __esm({
|
38200
|
-
"node_modules/.pnpm/hono@4.2.
|
38200
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/utils/cookie.js"() {
|
38201
38201
|
init_url();
|
38202
38202
|
validCookieNameRegEx = /^[\w!#$%&'*.^`|~+-]+$/;
|
38203
38203
|
validCookieValueRegEx = /^[ !#-:<-[\]-~]*$/;
|
@@ -38226,10 +38226,10 @@ var init_cookie = __esm({
|
|
38226
38226
|
}
|
38227
38227
|
});
|
38228
38228
|
|
38229
|
-
// node_modules/.pnpm/hono@4.2.
|
38229
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/helper/cookie/index.js
|
38230
38230
|
var getCookie;
|
38231
38231
|
var init_cookie2 = __esm({
|
38232
|
-
"node_modules/.pnpm/hono@4.2.
|
38232
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/helper/cookie/index.js"() {
|
38233
38233
|
init_cookie();
|
38234
38234
|
getCookie = (c, key, prefix) => {
|
38235
38235
|
const cookie = c.req.raw.headers.get("Cookie");
|
@@ -38255,10 +38255,10 @@ var init_cookie2 = __esm({
|
|
38255
38255
|
}
|
38256
38256
|
});
|
38257
38257
|
|
38258
|
-
// node_modules/.pnpm/hono@4.2.
|
38258
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/http-exception.js
|
38259
38259
|
var HTTPException;
|
38260
38260
|
var init_http_exception = __esm({
|
38261
|
-
"node_modules/.pnpm/hono@4.2.
|
38261
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/http-exception.js"() {
|
38262
38262
|
HTTPException = class extends Error {
|
38263
38263
|
res;
|
38264
38264
|
status;
|
@@ -38279,16 +38279,16 @@ var init_http_exception = __esm({
|
|
38279
38279
|
}
|
38280
38280
|
});
|
38281
38281
|
|
38282
|
-
// node_modules/.pnpm/hono@4.2.
|
38282
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/utils/crypto.js
|
38283
38283
|
var init_crypto = __esm({
|
38284
|
-
"node_modules/.pnpm/hono@4.2.
|
38284
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/utils/crypto.js"() {
|
38285
38285
|
}
|
38286
38286
|
});
|
38287
38287
|
|
38288
|
-
// node_modules/.pnpm/hono@4.2.
|
38288
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/utils/buffer.js
|
38289
38289
|
var bufferToFormData;
|
38290
38290
|
var init_buffer = __esm({
|
38291
|
-
"node_modules/.pnpm/hono@4.2.
|
38291
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/utils/buffer.js"() {
|
38292
38292
|
init_crypto();
|
38293
38293
|
bufferToFormData = (arrayBuffer, contentType) => {
|
38294
38294
|
const response = new Response(arrayBuffer, {
|
@@ -38301,10 +38301,10 @@ var init_buffer = __esm({
|
|
38301
38301
|
}
|
38302
38302
|
});
|
38303
38303
|
|
38304
|
-
// node_modules/.pnpm/hono@4.2.
|
38304
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/validator/validator.js
|
38305
38305
|
var validator;
|
38306
38306
|
var init_validator = __esm({
|
38307
|
-
"node_modules/.pnpm/hono@4.2.
|
38307
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/validator/validator.js"() {
|
38308
38308
|
init_cookie2();
|
38309
38309
|
init_http_exception();
|
38310
38310
|
init_buffer();
|
@@ -38377,17 +38377,17 @@ var init_validator = __esm({
|
|
38377
38377
|
}
|
38378
38378
|
});
|
38379
38379
|
|
38380
|
-
// node_modules/.pnpm/hono@4.2.
|
38380
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/validator/index.js
|
38381
38381
|
var init_validator2 = __esm({
|
38382
|
-
"node_modules/.pnpm/hono@4.2.
|
38382
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/validator/index.js"() {
|
38383
38383
|
init_validator();
|
38384
38384
|
}
|
38385
38385
|
});
|
38386
38386
|
|
38387
|
-
// node_modules/.pnpm/@hono+zod-validator@0.2.1_hono@4.2.
|
38387
|
+
// node_modules/.pnpm/@hono+zod-validator@0.2.1_hono@4.2.7_zod@3.23.3/node_modules/@hono/zod-validator/dist/esm/index.js
|
38388
38388
|
var zValidator;
|
38389
38389
|
var init_esm = __esm({
|
38390
|
-
"node_modules/.pnpm/@hono+zod-validator@0.2.1_hono@4.2.
|
38390
|
+
"node_modules/.pnpm/@hono+zod-validator@0.2.1_hono@4.2.7_zod@3.23.3/node_modules/@hono/zod-validator/dist/esm/index.js"() {
|
38391
38391
|
init_validator2();
|
38392
38392
|
zValidator = (target, schema5, hook2) => (
|
38393
38393
|
// @ts-expect-error not typed well
|
@@ -38414,10 +38414,10 @@ var init_esm = __esm({
|
|
38414
38414
|
}
|
38415
38415
|
});
|
38416
38416
|
|
38417
|
-
// node_modules/.pnpm/hono@4.2.
|
38417
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/utils/html.js
|
38418
38418
|
var HtmlEscapedCallbackPhase, raw, resolveCallback;
|
38419
38419
|
var init_html = __esm({
|
38420
|
-
"node_modules/.pnpm/hono@4.2.
|
38420
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/utils/html.js"() {
|
38421
38421
|
HtmlEscapedCallbackPhase = {
|
38422
38422
|
Stringify: 1,
|
38423
38423
|
BeforeStream: 2,
|
@@ -38453,10 +38453,10 @@ var init_html = __esm({
|
|
38453
38453
|
}
|
38454
38454
|
});
|
38455
38455
|
|
38456
|
-
// node_modules/.pnpm/hono@4.2.
|
38456
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/context.js
|
38457
38457
|
var TEXT_PLAIN, setHeaders, Context;
|
38458
38458
|
var init_context = __esm({
|
38459
|
-
"node_modules/.pnpm/hono@4.2.
|
38459
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/context.js"() {
|
38460
38460
|
init_html();
|
38461
38461
|
TEXT_PLAIN = "text/plain; charset=UTF-8";
|
38462
38462
|
setHeaders = (headers, map = {}) => {
|
@@ -38672,10 +38672,10 @@ var init_context = __esm({
|
|
38672
38672
|
}
|
38673
38673
|
});
|
38674
38674
|
|
38675
|
-
// node_modules/.pnpm/hono@4.2.
|
38675
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/compose.js
|
38676
38676
|
var compose;
|
38677
38677
|
var init_compose = __esm({
|
38678
|
-
"node_modules/.pnpm/hono@4.2.
|
38678
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/compose.js"() {
|
38679
38679
|
init_context();
|
38680
38680
|
compose = (middleware, onError, onNotFound) => {
|
38681
38681
|
return (context, next) => {
|
@@ -38726,7 +38726,7 @@ var init_compose = __esm({
|
|
38726
38726
|
}
|
38727
38727
|
});
|
38728
38728
|
|
38729
|
-
// node_modules/.pnpm/hono@4.2.
|
38729
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/utils/body.js
|
38730
38730
|
function isFormDataContent(contentType) {
|
38731
38731
|
if (contentType === null) {
|
38732
38732
|
return false;
|
@@ -38757,7 +38757,7 @@ function isArrayField(field) {
|
|
38757
38757
|
}
|
38758
38758
|
var parseBody, handleParsingAllValues, appendToExistingArray, convertToNewArray;
|
38759
38759
|
var init_body = __esm({
|
38760
|
-
"node_modules/.pnpm/hono@4.2.
|
38760
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/utils/body.js"() {
|
38761
38761
|
init_request();
|
38762
38762
|
parseBody = async (request, options = { all: false }) => {
|
38763
38763
|
const headers = request instanceof HonoRequest ? request.raw.headers : request.headers;
|
@@ -38785,10 +38785,10 @@ var init_body = __esm({
|
|
38785
38785
|
}
|
38786
38786
|
});
|
38787
38787
|
|
38788
|
-
// node_modules/.pnpm/hono@4.2.
|
38788
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/request.js
|
38789
38789
|
var HonoRequest;
|
38790
38790
|
var init_request = __esm({
|
38791
|
-
"node_modules/.pnpm/hono@4.2.
|
38791
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/request.js"() {
|
38792
38792
|
init_body();
|
38793
38793
|
init_url();
|
38794
38794
|
HonoRequest = class {
|
@@ -38909,10 +38909,10 @@ var init_request = __esm({
|
|
38909
38909
|
}
|
38910
38910
|
});
|
38911
38911
|
|
38912
|
-
// node_modules/.pnpm/hono@4.2.
|
38912
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/router.js
|
38913
38913
|
var METHOD_NAME_ALL, METHOD_NAME_ALL_LOWERCASE, METHODS, MESSAGE_MATCHER_IS_ALREADY_BUILT, UnsupportedPathError;
|
38914
38914
|
var init_router = __esm({
|
38915
|
-
"node_modules/.pnpm/hono@4.2.
|
38915
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/router.js"() {
|
38916
38916
|
METHOD_NAME_ALL = "ALL";
|
38917
38917
|
METHOD_NAME_ALL_LOWERCASE = "all";
|
38918
38918
|
METHODS = ["get", "post", "put", "delete", "options", "patch"];
|
@@ -38922,14 +38922,14 @@ var init_router = __esm({
|
|
38922
38922
|
}
|
38923
38923
|
});
|
38924
38924
|
|
38925
|
-
// node_modules/.pnpm/hono@4.2.
|
38925
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/hono-base.js
|
38926
38926
|
function defineDynamicClass() {
|
38927
38927
|
return class {
|
38928
38928
|
};
|
38929
38929
|
}
|
38930
38930
|
var COMPOSED_HANDLER, notFoundHandler, errorHandler, Hono;
|
38931
38931
|
var init_hono_base = __esm({
|
38932
|
-
"node_modules/.pnpm/hono@4.2.
|
38932
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/hono-base.js"() {
|
38933
38933
|
init_compose();
|
38934
38934
|
init_context();
|
38935
38935
|
init_http_exception();
|
@@ -39148,7 +39148,7 @@ var init_hono_base = __esm({
|
|
39148
39148
|
}
|
39149
39149
|
});
|
39150
39150
|
|
39151
|
-
// node_modules/.pnpm/hono@4.2.
|
39151
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/router/reg-exp-router/node.js
|
39152
39152
|
function compareKey(a, b) {
|
39153
39153
|
if (a.length === 1) {
|
39154
39154
|
return b.length === 1 ? a < b ? -1 : 1 : -1;
|
@@ -39170,7 +39170,7 @@ function compareKey(a, b) {
|
|
39170
39170
|
}
|
39171
39171
|
var LABEL_REG_EXP_STR, ONLY_WILDCARD_REG_EXP_STR, TAIL_WILDCARD_REG_EXP_STR, PATH_ERROR, regExpMetaChars, Node;
|
39172
39172
|
var init_node = __esm({
|
39173
|
-
"node_modules/.pnpm/hono@4.2.
|
39173
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/router/reg-exp-router/node.js"() {
|
39174
39174
|
LABEL_REG_EXP_STR = "[^/]+";
|
39175
39175
|
ONLY_WILDCARD_REG_EXP_STR = ".*";
|
39176
39176
|
TAIL_WILDCARD_REG_EXP_STR = "(?:|/.*)";
|
@@ -39258,10 +39258,10 @@ var init_node = __esm({
|
|
39258
39258
|
}
|
39259
39259
|
});
|
39260
39260
|
|
39261
|
-
// node_modules/.pnpm/hono@4.2.
|
39261
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/router/reg-exp-router/trie.js
|
39262
39262
|
var Trie;
|
39263
39263
|
var init_trie = __esm({
|
39264
|
-
"node_modules/.pnpm/hono@4.2.
|
39264
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/router/reg-exp-router/trie.js"() {
|
39265
39265
|
init_node();
|
39266
39266
|
Trie = class {
|
39267
39267
|
context = { varIndex: 0 };
|
@@ -39320,7 +39320,7 @@ var init_trie = __esm({
|
|
39320
39320
|
}
|
39321
39321
|
});
|
39322
39322
|
|
39323
|
-
// node_modules/.pnpm/hono@4.2.
|
39323
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/router/reg-exp-router/router.js
|
39324
39324
|
function buildWildcardRegExp(path5) {
|
39325
39325
|
return wildcardRegExpCache[path5] ??= new RegExp(
|
39326
39326
|
path5 === "*" ? "" : `^${path5.replace(
|
@@ -39403,7 +39403,7 @@ function findMiddleware(middleware, path5) {
|
|
39403
39403
|
}
|
39404
39404
|
var emptyParam, nullMatcher, wildcardRegExpCache, RegExpRouter;
|
39405
39405
|
var init_router2 = __esm({
|
39406
|
-
"node_modules/.pnpm/hono@4.2.
|
39406
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/router/reg-exp-router/router.js"() {
|
39407
39407
|
init_router();
|
39408
39408
|
init_url();
|
39409
39409
|
init_node();
|
@@ -39525,17 +39525,17 @@ var init_router2 = __esm({
|
|
39525
39525
|
}
|
39526
39526
|
});
|
39527
39527
|
|
39528
|
-
// node_modules/.pnpm/hono@4.2.
|
39528
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/router/reg-exp-router/index.js
|
39529
39529
|
var init_reg_exp_router = __esm({
|
39530
|
-
"node_modules/.pnpm/hono@4.2.
|
39530
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/router/reg-exp-router/index.js"() {
|
39531
39531
|
init_router2();
|
39532
39532
|
}
|
39533
39533
|
});
|
39534
39534
|
|
39535
|
-
// node_modules/.pnpm/hono@4.2.
|
39535
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/router/smart-router/router.js
|
39536
39536
|
var SmartRouter;
|
39537
39537
|
var init_router3 = __esm({
|
39538
|
-
"node_modules/.pnpm/hono@4.2.
|
39538
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/router/smart-router/router.js"() {
|
39539
39539
|
init_router();
|
39540
39540
|
SmartRouter = class {
|
39541
39541
|
name = "SmartRouter";
|
@@ -39592,17 +39592,17 @@ var init_router3 = __esm({
|
|
39592
39592
|
}
|
39593
39593
|
});
|
39594
39594
|
|
39595
|
-
// node_modules/.pnpm/hono@4.2.
|
39595
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/router/smart-router/index.js
|
39596
39596
|
var init_smart_router = __esm({
|
39597
|
-
"node_modules/.pnpm/hono@4.2.
|
39597
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/router/smart-router/index.js"() {
|
39598
39598
|
init_router3();
|
39599
39599
|
}
|
39600
39600
|
});
|
39601
39601
|
|
39602
|
-
// node_modules/.pnpm/hono@4.2.
|
39602
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/router/trie-router/node.js
|
39603
39603
|
var Node2;
|
39604
39604
|
var init_node2 = __esm({
|
39605
|
-
"node_modules/.pnpm/hono@4.2.
|
39605
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/router/trie-router/node.js"() {
|
39606
39606
|
init_router();
|
39607
39607
|
init_url();
|
39608
39608
|
Node2 = class {
|
@@ -39754,10 +39754,10 @@ var init_node2 = __esm({
|
|
39754
39754
|
}
|
39755
39755
|
});
|
39756
39756
|
|
39757
|
-
// node_modules/.pnpm/hono@4.2.
|
39757
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/router/trie-router/router.js
|
39758
39758
|
var TrieRouter;
|
39759
39759
|
var init_router4 = __esm({
|
39760
|
-
"node_modules/.pnpm/hono@4.2.
|
39760
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/router/trie-router/router.js"() {
|
39761
39761
|
init_url();
|
39762
39762
|
init_node2();
|
39763
39763
|
TrieRouter = class {
|
@@ -39783,17 +39783,17 @@ var init_router4 = __esm({
|
|
39783
39783
|
}
|
39784
39784
|
});
|
39785
39785
|
|
39786
|
-
// node_modules/.pnpm/hono@4.2.
|
39786
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/router/trie-router/index.js
|
39787
39787
|
var init_trie_router = __esm({
|
39788
|
-
"node_modules/.pnpm/hono@4.2.
|
39788
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/router/trie-router/index.js"() {
|
39789
39789
|
init_router4();
|
39790
39790
|
}
|
39791
39791
|
});
|
39792
39792
|
|
39793
|
-
// node_modules/.pnpm/hono@4.2.
|
39793
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/hono.js
|
39794
39794
|
var Hono2;
|
39795
39795
|
var init_hono = __esm({
|
39796
|
-
"node_modules/.pnpm/hono@4.2.
|
39796
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/hono.js"() {
|
39797
39797
|
init_hono_base();
|
39798
39798
|
init_reg_exp_router();
|
39799
39799
|
init_smart_router();
|
@@ -39809,17 +39809,17 @@ var init_hono = __esm({
|
|
39809
39809
|
}
|
39810
39810
|
});
|
39811
39811
|
|
39812
|
-
// node_modules/.pnpm/hono@4.2.
|
39812
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/index.js
|
39813
39813
|
var init_dist2 = __esm({
|
39814
|
-
"node_modules/.pnpm/hono@4.2.
|
39814
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/index.js"() {
|
39815
39815
|
init_hono();
|
39816
39816
|
}
|
39817
39817
|
});
|
39818
39818
|
|
39819
|
-
// node_modules/.pnpm/hono@4.2.
|
39819
|
+
// node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/middleware/cors/index.js
|
39820
39820
|
var cors;
|
39821
39821
|
var init_cors = __esm({
|
39822
|
-
"node_modules/.pnpm/hono@4.2.
|
39822
|
+
"node_modules/.pnpm/hono@4.2.7/node_modules/hono/dist/middleware/cors/index.js"() {
|
39823
39823
|
cors = (options) => {
|
39824
39824
|
const defaults3 = {
|
39825
39825
|
origin: "*",
|
@@ -41836,12 +41836,12 @@ var require_utils6 = __commonJS({
|
|
41836
41836
|
}
|
41837
41837
|
return JSON.stringify(val);
|
41838
41838
|
}
|
41839
|
-
function pad(
|
41840
|
-
|
41841
|
-
while (
|
41842
|
-
|
41839
|
+
function pad(number2, digits) {
|
41840
|
+
number2 = "" + number2;
|
41841
|
+
while (number2.length < digits) {
|
41842
|
+
number2 = "0" + number2;
|
41843
41843
|
}
|
41844
|
-
return
|
41844
|
+
return number2;
|
41845
41845
|
}
|
41846
41846
|
function dateToString(date) {
|
41847
41847
|
var offset = -date.getTimezoneOffset();
|
@@ -45565,12 +45565,12 @@ var require_SqlString = __commonJS({
|
|
45565
45565
|
}
|
45566
45566
|
return "'" + escapedVal + "'";
|
45567
45567
|
}
|
45568
|
-
function zeroPad(
|
45569
|
-
|
45570
|
-
while (
|
45571
|
-
|
45568
|
+
function zeroPad(number2, length) {
|
45569
|
+
number2 = number2.toString();
|
45570
|
+
while (number2.length < length) {
|
45571
|
+
number2 = "0" + number2;
|
45572
45572
|
}
|
45573
|
-
return
|
45573
|
+
return number2;
|
45574
45574
|
}
|
45575
45575
|
function convertTimezone(tz) {
|
45576
45576
|
if (tz === "Z") {
|
@@ -66402,9 +66402,10 @@ var studio_exports2 = {};
|
|
66402
66402
|
__export(studio_exports2, {
|
66403
66403
|
credentials: () => credentials,
|
66404
66404
|
prepareStudioConfig: () => prepareStudioConfig,
|
66405
|
+
studioCliParams: () => studioCliParams,
|
66405
66406
|
studioConfig: () => studioConfig
|
66406
66407
|
});
|
66407
|
-
var credentials, studioConfig, prepareStudioConfig;
|
66408
|
+
var credentials, studioCliParams, studioConfig, prepareStudioConfig;
|
66408
66409
|
var init_studio2 = __esm({
|
66409
66410
|
"src/cli/validations/studio.ts"() {
|
66410
66411
|
"use strict";
|
@@ -66421,27 +66422,35 @@ var init_studio2 = __esm({
|
|
66421
66422
|
mysqlCredentials,
|
66422
66423
|
sqliteCredentials
|
66423
66424
|
);
|
66425
|
+
studioCliParams = objectType({
|
66426
|
+
port: coerce.number().optional().default(4983),
|
66427
|
+
host: stringType().optional().default("127.0.0.1"),
|
66428
|
+
config: stringType().optional()
|
66429
|
+
});
|
66424
66430
|
studioConfig = objectType({
|
66425
66431
|
dialect: dialect3,
|
66426
66432
|
schema: unionType([stringType(), stringType().array()])
|
66427
66433
|
});
|
66428
|
-
prepareStudioConfig = (options) => {
|
66429
|
-
const
|
66434
|
+
prepareStudioConfig = async (options) => {
|
66435
|
+
const params = studioCliParams.parse(options);
|
66436
|
+
const config = await readDrizzleConfig(params.config);
|
66437
|
+
const result = studioConfig.safeParse(config);
|
66430
66438
|
if (!result.success) {
|
66431
|
-
if (!("driver" in
|
66439
|
+
if (!("driver" in config)) {
|
66432
66440
|
console.log(outputs.studio.noDriver());
|
66433
66441
|
}
|
66434
|
-
if (!("dialect" in
|
66442
|
+
if (!("dialect" in config)) {
|
66435
66443
|
console.log(outputs.studio.noDialect());
|
66436
66444
|
}
|
66437
66445
|
process.exit(1);
|
66438
66446
|
}
|
66439
|
-
if (!("dbCredentials" in
|
66447
|
+
if (!("dbCredentials" in config)) {
|
66440
66448
|
console.log(outputs.studio.noCredentials());
|
66441
66449
|
process.exit(1);
|
66442
66450
|
}
|
66451
|
+
const { host, port } = params;
|
66443
66452
|
const { dialect: dialect7, schema: schema5 } = result.data;
|
66444
|
-
const flattened = flattenDatabaseCredentials(
|
66453
|
+
const flattened = flattenDatabaseCredentials(config);
|
66445
66454
|
if (dialect7 === "pg") {
|
66446
66455
|
const parsed = postgresCredentials.safeParse(flattened);
|
66447
66456
|
if (!parsed.success) {
|
@@ -66452,6 +66461,8 @@ var init_studio2 = __esm({
|
|
66452
66461
|
return {
|
66453
66462
|
dialect: dialect7,
|
66454
66463
|
schema: schema5,
|
66464
|
+
host,
|
66465
|
+
port,
|
66455
66466
|
credentials: credentials2
|
66456
66467
|
};
|
66457
66468
|
}
|
@@ -66465,6 +66476,8 @@ var init_studio2 = __esm({
|
|
66465
66476
|
return {
|
66466
66477
|
dialect: dialect7,
|
66467
66478
|
schema: schema5,
|
66479
|
+
host,
|
66480
|
+
port,
|
66468
66481
|
credentials: credentials2
|
66469
66482
|
};
|
66470
66483
|
}
|
@@ -66478,6 +66491,8 @@ var init_studio2 = __esm({
|
|
66478
66491
|
return {
|
66479
66492
|
dialect: dialect7,
|
66480
66493
|
schema: schema5,
|
66494
|
+
host,
|
66495
|
+
port,
|
66481
66496
|
credentials: credentials2
|
66482
66497
|
};
|
66483
66498
|
}
|
@@ -67892,9 +67907,13 @@ var studioCommand = new import_commander.Command("studio").option("--port <port>
|
|
67892
67907
|
await assertOrmCoreVersion();
|
67893
67908
|
assertStudioNodeVersion();
|
67894
67909
|
const { prepareStudioConfig: prepareStudioConfig2 } = await Promise.resolve().then(() => (init_studio2(), studio_exports2));
|
67895
|
-
const
|
67896
|
-
|
67897
|
-
|
67910
|
+
const {
|
67911
|
+
dialect: dialect7,
|
67912
|
+
schema: schemaPath,
|
67913
|
+
port,
|
67914
|
+
host,
|
67915
|
+
credentials: credentials2
|
67916
|
+
} = await prepareStudioConfig2(options);
|
67898
67917
|
const {
|
67899
67918
|
drizzleForPostgres: drizzleForPostgres2,
|
67900
67919
|
preparePgSchema: preparePgSchema2,
|
@@ -67903,35 +67922,20 @@ var studioCommand = new import_commander.Command("studio").option("--port <port>
|
|
67903
67922
|
prepareSQLiteSchema: prepareSQLiteSchema2,
|
67904
67923
|
drizzleForSQLite: drizzleForSQLite2
|
67905
67924
|
} = await Promise.resolve().then(() => (init_studio(), studio_exports));
|
67906
|
-
const { dialect: dialect7, schema: schemaPath, credentials: credentials2 } = config;
|
67907
67925
|
let setup;
|
67908
67926
|
if (dialect7 === "pg") {
|
67909
67927
|
const { schema: schema5, relations: relations4 } = await preparePgSchema2(schemaPath);
|
67910
|
-
setup = await drizzleForPostgres2(
|
67911
|
-
credentials2,
|
67912
|
-
schema5,
|
67913
|
-
relations4
|
67914
|
-
);
|
67928
|
+
setup = await drizzleForPostgres2(credentials2, schema5, relations4);
|
67915
67929
|
} else if (dialect7 === "mysql") {
|
67916
67930
|
const { schema: schema5, relations: relations4 } = await prepareMySqlSchema2(schemaPath);
|
67917
|
-
setup = await drizzleForMySQL2(
|
67918
|
-
credentials2,
|
67919
|
-
schema5,
|
67920
|
-
relations4
|
67921
|
-
);
|
67931
|
+
setup = await drizzleForMySQL2(credentials2, schema5, relations4);
|
67922
67932
|
} else if (dialect7 === "sqlite") {
|
67923
67933
|
const { schema: schema5, relations: relations4 } = await prepareSQLiteSchema2(schemaPath);
|
67924
|
-
setup = await drizzleForSQLite2(
|
67925
|
-
credentials2,
|
67926
|
-
schema5,
|
67927
|
-
relations4
|
67928
|
-
);
|
67934
|
+
setup = await drizzleForSQLite2(credentials2, schema5, relations4);
|
67929
67935
|
} else {
|
67930
67936
|
assertUnreachable(dialect7);
|
67931
67937
|
}
|
67932
67938
|
const server = await prepareServer(setup);
|
67933
|
-
const port = options.port ?? 4983;
|
67934
|
-
const host = options.host ?? "127.0.0.1";
|
67935
67939
|
console.log();
|
67936
67940
|
console.log(
|
67937
67941
|
withStyle.fullWarning(
|
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/index.d.mts
CHANGED
package/index.d.ts
CHANGED
package/package.json
CHANGED
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.3/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.3/node_modules/zod/lib/index.mjs"() {
|
1284
1284
|
(function(util2) {
|
1285
1285
|
util2.assertEqual = (val) => val;
|
1286
1286
|
function assertIs(_arg) {
|
@@ -6168,7 +6168,7 @@ var init_cli = __esm({
|
|
6168
6168
|
authToken: stringType().optional(),
|
6169
6169
|
verbose: booleanType().optional(),
|
6170
6170
|
strict: booleanType().optional()
|
6171
|
-
})
|
6171
|
+
});
|
6172
6172
|
pullParams = objectType({
|
6173
6173
|
config: stringType().optional(),
|
6174
6174
|
dialect: dialect3.optional(),
|
@@ -6190,7 +6190,7 @@ var init_cli = __esm({
|
|
6190
6190
|
authToken: stringType().optional(),
|
6191
6191
|
"introspect-casing": casing,
|
6192
6192
|
breakpoints: booleanType().optional().default(true)
|
6193
|
-
})
|
6193
|
+
});
|
6194
6194
|
configCheck = objectType({
|
6195
6195
|
dialect: dialect3.optional(),
|
6196
6196
|
out: stringType().optional()
|
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.3/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.3/node_modules/zod/lib/index.mjs"() {
|
1290
1290
|
(function(util2) {
|
1291
1291
|
util2.assertEqual = (val) => val;
|
1292
1292
|
function assertIs(_arg) {
|
@@ -6174,7 +6174,7 @@ var init_cli = __esm({
|
|
6174
6174
|
authToken: stringType().optional(),
|
6175
6175
|
verbose: booleanType().optional(),
|
6176
6176
|
strict: booleanType().optional()
|
6177
|
-
})
|
6177
|
+
});
|
6178
6178
|
pullParams = objectType({
|
6179
6179
|
config: stringType().optional(),
|
6180
6180
|
dialect: dialect3.optional(),
|
@@ -6196,7 +6196,7 @@ var init_cli = __esm({
|
|
6196
6196
|
authToken: stringType().optional(),
|
6197
6197
|
"introspect-casing": casing,
|
6198
6198
|
breakpoints: booleanType().optional().default(true)
|
6199
|
-
})
|
6199
|
+
});
|
6200
6200
|
configCheck = objectType({
|
6201
6201
|
dialect: dialect3.optional(),
|
6202
6202
|
out: stringType().optional()
|
package/snapshotsDiffer.d.ts
CHANGED
@@ -10,10 +10,10 @@ export declare const makePatched: <T extends ZodTypeAny>(schema: T) => import("z
|
|
10
10
|
}, "strip", ZodTypeAny, { [k in keyof import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
11
11
|
type: import("zod").ZodLiteral<"added">;
|
12
12
|
value: T;
|
13
|
-
}
|
13
|
+
}>, any>]: import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
14
14
|
type: import("zod").ZodLiteral<"added">;
|
15
15
|
value: T;
|
16
|
-
}
|
16
|
+
}>, any>[k]; }, { [k_1 in keyof import("zod").baseObjectInputType<{
|
17
17
|
type: import("zod").ZodLiteral<"added">;
|
18
18
|
value: T;
|
19
19
|
}>]: import("zod").baseObjectInputType<{
|
@@ -25,10 +25,10 @@ export declare const makePatched: <T extends ZodTypeAny>(schema: T) => import("z
|
|
25
25
|
}, "strip", ZodTypeAny, { [k_2 in keyof import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
26
26
|
type: import("zod").ZodLiteral<"deleted">;
|
27
27
|
value: T;
|
28
|
-
}
|
28
|
+
}>, any>]: import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
29
29
|
type: import("zod").ZodLiteral<"deleted">;
|
30
30
|
value: T;
|
31
|
-
}
|
31
|
+
}>, any>[k_2]; }, { [k_1_1 in keyof import("zod").baseObjectInputType<{
|
32
32
|
type: import("zod").ZodLiteral<"deleted">;
|
33
33
|
value: T;
|
34
34
|
}>]: import("zod").baseObjectInputType<{
|
@@ -42,11 +42,11 @@ export declare const makePatched: <T extends ZodTypeAny>(schema: T) => import("z
|
|
42
42
|
type: import("zod").ZodLiteral<"changed">;
|
43
43
|
old: T;
|
44
44
|
new: T;
|
45
|
-
}
|
45
|
+
}>, any>]: import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
46
46
|
type: import("zod").ZodLiteral<"changed">;
|
47
47
|
old: T;
|
48
48
|
new: T;
|
49
|
-
}
|
49
|
+
}>, any>[k_3]; }, { [k_1_2 in keyof import("zod").baseObjectInputType<{
|
50
50
|
type: import("zod").ZodLiteral<"changed">;
|
51
51
|
old: T;
|
52
52
|
new: T;
|
@@ -61,10 +61,10 @@ export declare const makeSelfOrPatched: <T extends ZodTypeAny>(schema: T) => imp
|
|
61
61
|
}, "strip", ZodTypeAny, { [k in keyof import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
62
62
|
type: import("zod").ZodLiteral<"none">;
|
63
63
|
value: T;
|
64
|
-
}
|
64
|
+
}>, any>]: import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
65
65
|
type: import("zod").ZodLiteral<"none">;
|
66
66
|
value: T;
|
67
|
-
}
|
67
|
+
}>, any>[k]; }, { [k_1 in keyof import("zod").baseObjectInputType<{
|
68
68
|
type: import("zod").ZodLiteral<"none">;
|
69
69
|
value: T;
|
70
70
|
}>]: import("zod").baseObjectInputType<{
|
@@ -76,10 +76,10 @@ export declare const makeSelfOrPatched: <T extends ZodTypeAny>(schema: T) => imp
|
|
76
76
|
}, "strip", ZodTypeAny, { [k_2 in keyof import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
77
77
|
type: import("zod").ZodLiteral<"added">;
|
78
78
|
value: T;
|
79
|
-
}
|
79
|
+
}>, any>]: import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
80
80
|
type: import("zod").ZodLiteral<"added">;
|
81
81
|
value: T;
|
82
|
-
}
|
82
|
+
}>, any>[k_2]; }, { [k_1_1 in keyof import("zod").baseObjectInputType<{
|
83
83
|
type: import("zod").ZodLiteral<"added">;
|
84
84
|
value: T;
|
85
85
|
}>]: import("zod").baseObjectInputType<{
|
@@ -91,10 +91,10 @@ export declare const makeSelfOrPatched: <T extends ZodTypeAny>(schema: T) => imp
|
|
91
91
|
}, "strip", ZodTypeAny, { [k_3 in keyof import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
92
92
|
type: import("zod").ZodLiteral<"deleted">;
|
93
93
|
value: T;
|
94
|
-
}
|
94
|
+
}>, any>]: import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
95
95
|
type: import("zod").ZodLiteral<"deleted">;
|
96
96
|
value: T;
|
97
|
-
}
|
97
|
+
}>, any>[k_3]; }, { [k_1_2 in keyof import("zod").baseObjectInputType<{
|
98
98
|
type: import("zod").ZodLiteral<"deleted">;
|
99
99
|
value: T;
|
100
100
|
}>]: import("zod").baseObjectInputType<{
|
@@ -108,11 +108,11 @@ export declare const makeSelfOrPatched: <T extends ZodTypeAny>(schema: T) => imp
|
|
108
108
|
type: import("zod").ZodLiteral<"changed">;
|
109
109
|
old: T;
|
110
110
|
new: T;
|
111
|
-
}
|
111
|
+
}>, any>]: import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
112
112
|
type: import("zod").ZodLiteral<"changed">;
|
113
113
|
old: T;
|
114
114
|
new: T;
|
115
|
-
}
|
115
|
+
}>, any>[k_4]; }, { [k_1_3 in keyof import("zod").baseObjectInputType<{
|
116
116
|
type: import("zod").ZodLiteral<"changed">;
|
117
117
|
old: T;
|
118
118
|
new: T;
|
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.3/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.3/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.3/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.3/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.3/node_modules/zod/lib/index.mjs
|
1083
1083
|
var util;
|
1084
1084
|
(function(util2) {
|
1085
1085
|
util2.assertEqual = (val) => val;
|
@@ -5396,7 +5396,7 @@ var validatorForDialect = (dialect3) => {
|
|
5396
5396
|
case "pg":
|
5397
5397
|
return { validator: backwardCompatiblePgSchema, version: 6 };
|
5398
5398
|
case "sqlite":
|
5399
|
-
return { validator: backwardCompatibleSqliteSchema, version:
|
5399
|
+
return { validator: backwardCompatibleSqliteSchema, version: 5 };
|
5400
5400
|
case "mysql":
|
5401
5401
|
return { validator: backwardCompatibleMysqlSchema, version: 5 };
|
5402
5402
|
}
|
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.3/node_modules/zod/lib/index.mjs
|
1074
1074
|
var util;
|
1075
1075
|
(function(util2) {
|
1076
1076
|
util2.assertEqual = (val) => val;
|
@@ -5387,7 +5387,7 @@ var validatorForDialect = (dialect3) => {
|
|
5387
5387
|
case "pg":
|
5388
5388
|
return { validator: backwardCompatiblePgSchema, version: 6 };
|
5389
5389
|
case "sqlite":
|
5390
|
-
return { validator: backwardCompatibleSqliteSchema, version:
|
5390
|
+
return { validator: backwardCompatibleSqliteSchema, version: 5 };
|
5391
5391
|
case "mysql":
|
5392
5392
|
return { validator: backwardCompatibleMysqlSchema, version: 5 };
|
5393
5393
|
}
|