@keycloakify/angular 20.1.7 → 20.1.8
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/187.index.js
CHANGED
|
@@ -62,7 +62,7 @@ function updateAccountThemeImplementationInConfig(params) {
|
|
|
62
62
|
const parsedPackageJson = (() => {
|
|
63
63
|
const zParsedPackageJson = (() => {
|
|
64
64
|
const zTargetType = external/* object */.Ikc({
|
|
65
|
-
keycloakify: external/* record */.g1P(external/* unknown */.L5J())
|
|
65
|
+
keycloakify: external/* record */.g1P(external/* string */.YjP(), external/* unknown */.L5J())
|
|
66
66
|
});
|
|
67
67
|
(0,assert/* assert */.v)();
|
|
68
68
|
return (0,id.id)(zTargetType);
|
package/bin/559.index.js
CHANGED
|
@@ -56,10 +56,11 @@ function symToStr(wrap) {
|
|
|
56
56
|
__webpack_require__.d(__webpack_exports__, {
|
|
57
57
|
Ikc: () => (/* reexport */ object),
|
|
58
58
|
g1P: () => (/* reexport */ record),
|
|
59
|
+
YjP: () => (/* reexport */ schemas_string),
|
|
59
60
|
L5J: () => (/* reexport */ unknown)
|
|
60
61
|
});
|
|
61
62
|
|
|
62
|
-
// UNUSED EXPORTS: $brand, $input, $output, NEVER, TimePrecision, ZodAny, ZodArray, ZodBase64, ZodBase64URL, ZodBigInt, ZodBigIntFormat, ZodBoolean, ZodCIDRv4, ZodCIDRv6, ZodCUID, ZodCUID2, ZodCatch, ZodCodec, ZodCustom, ZodCustomStringFormat, ZodDate, ZodDefault, ZodDiscriminatedUnion, ZodE164, ZodEmail, ZodEmoji, ZodEnum, ZodError, ZodFile, ZodFirstPartyTypeKind, ZodFunction, ZodGUID, ZodIPv4, ZodIPv6, ZodISODate, ZodISODateTime, ZodISODuration, ZodISOTime, ZodIntersection, ZodIssueCode, ZodJWT, ZodKSUID, ZodLazy, ZodLiteral, ZodMap, ZodNaN, ZodNanoID, ZodNever, ZodNonOptional, ZodNull, ZodNullable, ZodNumber, ZodNumberFormat, ZodObject, ZodOptional, ZodPipe, ZodPrefault, ZodPromise, ZodReadonly, ZodRealError, ZodRecord, ZodSet, ZodString, ZodStringFormat, ZodSuccess, ZodSymbol, ZodTemplateLiteral, ZodTransform, ZodTuple, ZodType, ZodULID, ZodURL, ZodUUID, ZodUndefined, ZodUnion, ZodUnknown, ZodVoid, ZodXID, _ZodString, _default, _function, any, array, base64, base64url, bigint, boolean, catch, check, cidrv4, cidrv6, clone, codec, coerce, config, core, cuid, cuid2, custom, date, decode, decodeAsync, discriminatedUnion, e164, email, emoji, encode, encodeAsync, endsWith, enum, file, flattenError, float32, float64, formatError, function, getErrorMap, globalRegistry, gt, gte, guid, hash, hex, hostname, httpUrl, includes, instanceof, int, int32, int64, intersection, ipv4, ipv6, iso, json, jwt, keyof, ksuid, lazy, length, literal, locales, looseObject, lowercase, lt, lte, map, maxLength, maxSize, mime, minLength, minSize, multipleOf, nan, nanoid, nativeEnum, negative, never, nonnegative, nonoptional, nonpositive, normalize, null, nullable, nullish, number, optional, overwrite, parse, parseAsync, partialRecord, pipe, positive, prefault, preprocess, prettifyError, promise, property, readonly, refine, regex, regexes, registry, safeDecode, safeDecodeAsync, safeEncode, safeEncodeAsync, safeParse, safeParseAsync, set, setErrorMap, size, startsWith, strictObject,
|
|
63
|
+
// UNUSED EXPORTS: $brand, $input, $output, NEVER, TimePrecision, ZodAny, ZodArray, ZodBase64, ZodBase64URL, ZodBigInt, ZodBigIntFormat, ZodBoolean, ZodCIDRv4, ZodCIDRv6, ZodCUID, ZodCUID2, ZodCatch, ZodCodec, ZodCustom, ZodCustomStringFormat, ZodDate, ZodDefault, ZodDiscriminatedUnion, ZodE164, ZodEmail, ZodEmoji, ZodEnum, ZodError, ZodFile, ZodFirstPartyTypeKind, ZodFunction, ZodGUID, ZodIPv4, ZodIPv6, ZodISODate, ZodISODateTime, ZodISODuration, ZodISOTime, ZodIntersection, ZodIssueCode, ZodJWT, ZodKSUID, ZodLazy, ZodLiteral, ZodMap, ZodNaN, ZodNanoID, ZodNever, ZodNonOptional, ZodNull, ZodNullable, ZodNumber, ZodNumberFormat, ZodObject, ZodOptional, ZodPipe, ZodPrefault, ZodPromise, ZodReadonly, ZodRealError, ZodRecord, ZodSet, ZodString, ZodStringFormat, ZodSuccess, ZodSymbol, ZodTemplateLiteral, ZodTransform, ZodTuple, ZodType, ZodULID, ZodURL, ZodUUID, ZodUndefined, ZodUnion, ZodUnknown, ZodVoid, ZodXID, _ZodString, _default, _function, any, array, base64, base64url, bigint, boolean, catch, check, cidrv4, cidrv6, clone, codec, coerce, config, core, cuid, cuid2, custom, date, decode, decodeAsync, discriminatedUnion, e164, email, emoji, encode, encodeAsync, endsWith, enum, file, flattenError, float32, float64, formatError, function, getErrorMap, globalRegistry, gt, gte, guid, hash, hex, hostname, httpUrl, includes, instanceof, int, int32, int64, intersection, ipv4, ipv6, iso, json, jwt, keyof, ksuid, lazy, length, literal, locales, looseObject, lowercase, lt, lte, map, maxLength, maxSize, mime, minLength, minSize, multipleOf, nan, nanoid, nativeEnum, negative, never, nonnegative, nonoptional, nonpositive, normalize, null, nullable, nullish, number, optional, overwrite, parse, parseAsync, partialRecord, pipe, positive, prefault, preprocess, prettifyError, promise, property, readonly, refine, regex, regexes, registry, safeDecode, safeDecodeAsync, safeEncode, safeEncodeAsync, safeParse, safeParseAsync, set, setErrorMap, size, startsWith, strictObject, stringFormat, stringbool, success, superRefine, symbol, templateLiteral, toJSONSchema, toLowerCase, toUpperCase, transform, treeifyError, trim, tuple, uint32, uint64, ulid, undefined, union, uppercase, url, util, uuid, uuidv4, uuidv6, uuidv7, void, xid
|
|
63
64
|
|
|
64
65
|
;// CONCATENATED MODULE: ./node_modules/zod/v4/core/core.js
|
|
65
66
|
/** A special constant with type `never` */
|
|
@@ -1055,7 +1056,7 @@ const unicodeEmail = /^[^\s@"]{1,64}@[^\s@]{1,255}$/u;
|
|
|
1055
1056
|
const idnEmail = (/* unused pure expression or super */ null && (unicodeEmail));
|
|
1056
1057
|
const browserEmail = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;
|
|
1057
1058
|
// from https://thekevinscott.com/emojis-in-javascript/#writing-a-regular-expression
|
|
1058
|
-
const _emoji =
|
|
1059
|
+
const _emoji = `^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`;
|
|
1059
1060
|
function emoji() {
|
|
1060
1061
|
return new RegExp(_emoji, "u");
|
|
1061
1062
|
}
|
|
@@ -1549,7 +1550,7 @@ const $ZodCheckLengthEquals = /*@__PURE__*/ $constructor("$ZodCheckLengthEquals"
|
|
|
1549
1550
|
});
|
|
1550
1551
|
};
|
|
1551
1552
|
});
|
|
1552
|
-
const $ZodCheckStringFormat = /*@__PURE__*/
|
|
1553
|
+
const $ZodCheckStringFormat = /*@__PURE__*/ $constructor("$ZodCheckStringFormat", (inst, def) => {
|
|
1553
1554
|
var _a, _b;
|
|
1554
1555
|
$ZodCheck.init(inst, def);
|
|
1555
1556
|
inst._zod.onattach.push((inst) => {
|
|
@@ -1577,8 +1578,8 @@ const $ZodCheckStringFormat = /*@__PURE__*/ (/* unused pure expression or super
|
|
|
1577
1578
|
});
|
|
1578
1579
|
else
|
|
1579
1580
|
(_b = inst._zod).check ?? (_b.check = () => { });
|
|
1580
|
-
})
|
|
1581
|
-
const $ZodCheckRegex = /*@__PURE__*/
|
|
1581
|
+
});
|
|
1582
|
+
const $ZodCheckRegex = /*@__PURE__*/ $constructor("$ZodCheckRegex", (inst, def) => {
|
|
1582
1583
|
$ZodCheckStringFormat.init(inst, def);
|
|
1583
1584
|
inst._zod.check = (payload) => {
|
|
1584
1585
|
def.pattern.lastIndex = 0;
|
|
@@ -1594,18 +1595,18 @@ const $ZodCheckRegex = /*@__PURE__*/ (/* unused pure expression or super */ null
|
|
|
1594
1595
|
continue: !def.abort,
|
|
1595
1596
|
});
|
|
1596
1597
|
};
|
|
1597
|
-
})
|
|
1598
|
-
const $ZodCheckLowerCase = /*@__PURE__*/
|
|
1599
|
-
def.pattern ?? (def.pattern =
|
|
1598
|
+
});
|
|
1599
|
+
const $ZodCheckLowerCase = /*@__PURE__*/ $constructor("$ZodCheckLowerCase", (inst, def) => {
|
|
1600
|
+
def.pattern ?? (def.pattern = lowercase);
|
|
1600
1601
|
$ZodCheckStringFormat.init(inst, def);
|
|
1601
|
-
})
|
|
1602
|
-
const $ZodCheckUpperCase = /*@__PURE__*/
|
|
1603
|
-
def.pattern ?? (def.pattern =
|
|
1602
|
+
});
|
|
1603
|
+
const $ZodCheckUpperCase = /*@__PURE__*/ $constructor("$ZodCheckUpperCase", (inst, def) => {
|
|
1604
|
+
def.pattern ?? (def.pattern = uppercase);
|
|
1604
1605
|
$ZodCheckStringFormat.init(inst, def);
|
|
1605
|
-
})
|
|
1606
|
-
const $ZodCheckIncludes = /*@__PURE__*/
|
|
1606
|
+
});
|
|
1607
|
+
const $ZodCheckIncludes = /*@__PURE__*/ $constructor("$ZodCheckIncludes", (inst, def) => {
|
|
1607
1608
|
$ZodCheck.init(inst, def);
|
|
1608
|
-
const escapedRegex =
|
|
1609
|
+
const escapedRegex = escapeRegex(def.includes);
|
|
1609
1610
|
const pattern = new RegExp(typeof def.position === "number" ? `^.{${def.position}}${escapedRegex}` : escapedRegex);
|
|
1610
1611
|
def.pattern = pattern;
|
|
1611
1612
|
inst._zod.onattach.push((inst) => {
|
|
@@ -1626,10 +1627,10 @@ const $ZodCheckIncludes = /*@__PURE__*/ (/* unused pure expression or super */ n
|
|
|
1626
1627
|
continue: !def.abort,
|
|
1627
1628
|
});
|
|
1628
1629
|
};
|
|
1629
|
-
})
|
|
1630
|
-
const $ZodCheckStartsWith = /*@__PURE__*/
|
|
1630
|
+
});
|
|
1631
|
+
const $ZodCheckStartsWith = /*@__PURE__*/ $constructor("$ZodCheckStartsWith", (inst, def) => {
|
|
1631
1632
|
$ZodCheck.init(inst, def);
|
|
1632
|
-
const pattern = new RegExp(`^${
|
|
1633
|
+
const pattern = new RegExp(`^${escapeRegex(def.prefix)}.*`);
|
|
1633
1634
|
def.pattern ?? (def.pattern = pattern);
|
|
1634
1635
|
inst._zod.onattach.push((inst) => {
|
|
1635
1636
|
const bag = inst._zod.bag;
|
|
@@ -1649,10 +1650,10 @@ const $ZodCheckStartsWith = /*@__PURE__*/ (/* unused pure expression or super */
|
|
|
1649
1650
|
continue: !def.abort,
|
|
1650
1651
|
});
|
|
1651
1652
|
};
|
|
1652
|
-
})
|
|
1653
|
-
const $ZodCheckEndsWith = /*@__PURE__*/
|
|
1653
|
+
});
|
|
1654
|
+
const $ZodCheckEndsWith = /*@__PURE__*/ $constructor("$ZodCheckEndsWith", (inst, def) => {
|
|
1654
1655
|
$ZodCheck.init(inst, def);
|
|
1655
|
-
const pattern = new RegExp(`.*${
|
|
1656
|
+
const pattern = new RegExp(`.*${escapeRegex(def.suffix)}$`);
|
|
1656
1657
|
def.pattern ?? (def.pattern = pattern);
|
|
1657
1658
|
inst._zod.onattach.push((inst) => {
|
|
1658
1659
|
const bag = inst._zod.bag;
|
|
@@ -1672,7 +1673,7 @@ const $ZodCheckEndsWith = /*@__PURE__*/ (/* unused pure expression or super */ n
|
|
|
1672
1673
|
continue: !def.abort,
|
|
1673
1674
|
});
|
|
1674
1675
|
};
|
|
1675
|
-
})
|
|
1676
|
+
});
|
|
1676
1677
|
///////////////////////////////////
|
|
1677
1678
|
///// $ZodCheckProperty /////
|
|
1678
1679
|
///////////////////////////////////
|
|
@@ -1761,7 +1762,7 @@ class Doc {
|
|
|
1761
1762
|
const version = {
|
|
1762
1763
|
major: 4,
|
|
1763
1764
|
minor: 1,
|
|
1764
|
-
patch:
|
|
1765
|
+
patch: 8,
|
|
1765
1766
|
};
|
|
1766
1767
|
|
|
1767
1768
|
;// CONCATENATED MODULE: ./node_modules/zod/v4/core/schemas.js
|
|
@@ -1904,9 +1905,9 @@ const $ZodType = /*@__PURE__*/ $constructor("$ZodType", (inst, def) => {
|
|
|
1904
1905
|
};
|
|
1905
1906
|
});
|
|
1906
1907
|
|
|
1907
|
-
const $ZodString = /*@__PURE__*/
|
|
1908
|
+
const $ZodString = /*@__PURE__*/ $constructor("$ZodString", (inst, def) => {
|
|
1908
1909
|
$ZodType.init(inst, def);
|
|
1909
|
-
inst._zod.pattern = [...(inst?._zod.bag?.patterns ?? [])].pop() ??
|
|
1910
|
+
inst._zod.pattern = [...(inst?._zod.bag?.patterns ?? [])].pop() ?? string(inst._zod.bag);
|
|
1910
1911
|
inst._zod.parse = (payload, _) => {
|
|
1911
1912
|
if (def.coerce)
|
|
1912
1913
|
try {
|
|
@@ -1923,17 +1924,17 @@ const $ZodString = /*@__PURE__*/ (/* unused pure expression or super */ null &&
|
|
|
1923
1924
|
});
|
|
1924
1925
|
return payload;
|
|
1925
1926
|
};
|
|
1926
|
-
})
|
|
1927
|
-
const $ZodStringFormat = /*@__PURE__*/
|
|
1927
|
+
});
|
|
1928
|
+
const $ZodStringFormat = /*@__PURE__*/ $constructor("$ZodStringFormat", (inst, def) => {
|
|
1928
1929
|
// check initialization must come first
|
|
1929
|
-
|
|
1930
|
+
$ZodCheckStringFormat.init(inst, def);
|
|
1930
1931
|
$ZodString.init(inst, def);
|
|
1931
|
-
})
|
|
1932
|
-
const $ZodGUID = /*@__PURE__*/
|
|
1933
|
-
def.pattern ?? (def.pattern =
|
|
1932
|
+
});
|
|
1933
|
+
const $ZodGUID = /*@__PURE__*/ $constructor("$ZodGUID", (inst, def) => {
|
|
1934
|
+
def.pattern ?? (def.pattern = guid);
|
|
1934
1935
|
$ZodStringFormat.init(inst, def);
|
|
1935
|
-
})
|
|
1936
|
-
const $ZodUUID = /*@__PURE__*/
|
|
1936
|
+
});
|
|
1937
|
+
const $ZodUUID = /*@__PURE__*/ $constructor("$ZodUUID", (inst, def) => {
|
|
1937
1938
|
if (def.version) {
|
|
1938
1939
|
const versionMap = {
|
|
1939
1940
|
v1: 1,
|
|
@@ -1948,17 +1949,17 @@ const $ZodUUID = /*@__PURE__*/ (/* unused pure expression or super */ null && (c
|
|
|
1948
1949
|
const v = versionMap[def.version];
|
|
1949
1950
|
if (v === undefined)
|
|
1950
1951
|
throw new Error(`Invalid UUID version: "${def.version}"`);
|
|
1951
|
-
def.pattern ?? (def.pattern =
|
|
1952
|
+
def.pattern ?? (def.pattern = uuid(v));
|
|
1952
1953
|
}
|
|
1953
1954
|
else
|
|
1954
|
-
def.pattern ?? (def.pattern =
|
|
1955
|
+
def.pattern ?? (def.pattern = uuid());
|
|
1955
1956
|
$ZodStringFormat.init(inst, def);
|
|
1956
|
-
})
|
|
1957
|
-
const $ZodEmail = /*@__PURE__*/
|
|
1958
|
-
def.pattern ?? (def.pattern =
|
|
1957
|
+
});
|
|
1958
|
+
const $ZodEmail = /*@__PURE__*/ $constructor("$ZodEmail", (inst, def) => {
|
|
1959
|
+
def.pattern ?? (def.pattern = email);
|
|
1959
1960
|
$ZodStringFormat.init(inst, def);
|
|
1960
|
-
})
|
|
1961
|
-
const $ZodURL = /*@__PURE__*/
|
|
1961
|
+
});
|
|
1962
|
+
const $ZodURL = /*@__PURE__*/ $constructor("$ZodURL", (inst, def) => {
|
|
1962
1963
|
$ZodStringFormat.init(inst, def);
|
|
1963
1964
|
inst._zod.check = (payload) => {
|
|
1964
1965
|
try {
|
|
@@ -1973,7 +1974,7 @@ const $ZodURL = /*@__PURE__*/ (/* unused pure expression or super */ null && (co
|
|
|
1973
1974
|
code: "invalid_format",
|
|
1974
1975
|
format: "url",
|
|
1975
1976
|
note: "Invalid hostname",
|
|
1976
|
-
pattern:
|
|
1977
|
+
pattern: hostname.source,
|
|
1977
1978
|
input: payload.value,
|
|
1978
1979
|
inst,
|
|
1979
1980
|
continue: !def.abort,
|
|
@@ -2015,61 +2016,61 @@ const $ZodURL = /*@__PURE__*/ (/* unused pure expression or super */ null && (co
|
|
|
2015
2016
|
});
|
|
2016
2017
|
}
|
|
2017
2018
|
};
|
|
2018
|
-
})
|
|
2019
|
-
const $ZodEmoji = /*@__PURE__*/
|
|
2020
|
-
def.pattern ?? (def.pattern =
|
|
2019
|
+
});
|
|
2020
|
+
const $ZodEmoji = /*@__PURE__*/ $constructor("$ZodEmoji", (inst, def) => {
|
|
2021
|
+
def.pattern ?? (def.pattern = emoji());
|
|
2021
2022
|
$ZodStringFormat.init(inst, def);
|
|
2022
|
-
})
|
|
2023
|
-
const $ZodNanoID = /*@__PURE__*/
|
|
2024
|
-
def.pattern ?? (def.pattern =
|
|
2023
|
+
});
|
|
2024
|
+
const $ZodNanoID = /*@__PURE__*/ $constructor("$ZodNanoID", (inst, def) => {
|
|
2025
|
+
def.pattern ?? (def.pattern = nanoid);
|
|
2025
2026
|
$ZodStringFormat.init(inst, def);
|
|
2026
|
-
})
|
|
2027
|
-
const $ZodCUID = /*@__PURE__*/
|
|
2028
|
-
def.pattern ?? (def.pattern =
|
|
2027
|
+
});
|
|
2028
|
+
const $ZodCUID = /*@__PURE__*/ $constructor("$ZodCUID", (inst, def) => {
|
|
2029
|
+
def.pattern ?? (def.pattern = cuid);
|
|
2029
2030
|
$ZodStringFormat.init(inst, def);
|
|
2030
|
-
})
|
|
2031
|
-
const $ZodCUID2 = /*@__PURE__*/
|
|
2032
|
-
def.pattern ?? (def.pattern =
|
|
2031
|
+
});
|
|
2032
|
+
const $ZodCUID2 = /*@__PURE__*/ $constructor("$ZodCUID2", (inst, def) => {
|
|
2033
|
+
def.pattern ?? (def.pattern = cuid2);
|
|
2033
2034
|
$ZodStringFormat.init(inst, def);
|
|
2034
|
-
})
|
|
2035
|
-
const $ZodULID = /*@__PURE__*/
|
|
2036
|
-
def.pattern ?? (def.pattern =
|
|
2035
|
+
});
|
|
2036
|
+
const $ZodULID = /*@__PURE__*/ $constructor("$ZodULID", (inst, def) => {
|
|
2037
|
+
def.pattern ?? (def.pattern = ulid);
|
|
2037
2038
|
$ZodStringFormat.init(inst, def);
|
|
2038
|
-
})
|
|
2039
|
-
const $ZodXID = /*@__PURE__*/
|
|
2040
|
-
def.pattern ?? (def.pattern =
|
|
2039
|
+
});
|
|
2040
|
+
const $ZodXID = /*@__PURE__*/ $constructor("$ZodXID", (inst, def) => {
|
|
2041
|
+
def.pattern ?? (def.pattern = xid);
|
|
2041
2042
|
$ZodStringFormat.init(inst, def);
|
|
2042
|
-
})
|
|
2043
|
-
const $ZodKSUID = /*@__PURE__*/
|
|
2044
|
-
def.pattern ?? (def.pattern =
|
|
2043
|
+
});
|
|
2044
|
+
const $ZodKSUID = /*@__PURE__*/ $constructor("$ZodKSUID", (inst, def) => {
|
|
2045
|
+
def.pattern ?? (def.pattern = ksuid);
|
|
2045
2046
|
$ZodStringFormat.init(inst, def);
|
|
2046
|
-
})
|
|
2047
|
-
const $ZodISODateTime = /*@__PURE__*/
|
|
2048
|
-
def.pattern ?? (def.pattern =
|
|
2047
|
+
});
|
|
2048
|
+
const $ZodISODateTime = /*@__PURE__*/ $constructor("$ZodISODateTime", (inst, def) => {
|
|
2049
|
+
def.pattern ?? (def.pattern = datetime(def));
|
|
2049
2050
|
$ZodStringFormat.init(inst, def);
|
|
2050
|
-
})
|
|
2051
|
-
const $ZodISODate = /*@__PURE__*/
|
|
2052
|
-
def.pattern ?? (def.pattern =
|
|
2051
|
+
});
|
|
2052
|
+
const $ZodISODate = /*@__PURE__*/ $constructor("$ZodISODate", (inst, def) => {
|
|
2053
|
+
def.pattern ?? (def.pattern = date);
|
|
2053
2054
|
$ZodStringFormat.init(inst, def);
|
|
2054
|
-
})
|
|
2055
|
-
const $ZodISOTime = /*@__PURE__*/
|
|
2056
|
-
def.pattern ?? (def.pattern =
|
|
2055
|
+
});
|
|
2056
|
+
const $ZodISOTime = /*@__PURE__*/ $constructor("$ZodISOTime", (inst, def) => {
|
|
2057
|
+
def.pattern ?? (def.pattern = time(def));
|
|
2057
2058
|
$ZodStringFormat.init(inst, def);
|
|
2058
|
-
})
|
|
2059
|
-
const $ZodISODuration = /*@__PURE__*/
|
|
2060
|
-
def.pattern ?? (def.pattern =
|
|
2059
|
+
});
|
|
2060
|
+
const $ZodISODuration = /*@__PURE__*/ $constructor("$ZodISODuration", (inst, def) => {
|
|
2061
|
+
def.pattern ?? (def.pattern = duration);
|
|
2061
2062
|
$ZodStringFormat.init(inst, def);
|
|
2062
|
-
})
|
|
2063
|
-
const $ZodIPv4 = /*@__PURE__*/
|
|
2064
|
-
def.pattern ?? (def.pattern =
|
|
2063
|
+
});
|
|
2064
|
+
const $ZodIPv4 = /*@__PURE__*/ $constructor("$ZodIPv4", (inst, def) => {
|
|
2065
|
+
def.pattern ?? (def.pattern = ipv4);
|
|
2065
2066
|
$ZodStringFormat.init(inst, def);
|
|
2066
2067
|
inst._zod.onattach.push((inst) => {
|
|
2067
2068
|
const bag = inst._zod.bag;
|
|
2068
2069
|
bag.format = `ipv4`;
|
|
2069
2070
|
});
|
|
2070
|
-
})
|
|
2071
|
-
const $ZodIPv6 = /*@__PURE__*/
|
|
2072
|
-
def.pattern ?? (def.pattern =
|
|
2071
|
+
});
|
|
2072
|
+
const $ZodIPv6 = /*@__PURE__*/ $constructor("$ZodIPv6", (inst, def) => {
|
|
2073
|
+
def.pattern ?? (def.pattern = ipv6);
|
|
2073
2074
|
$ZodStringFormat.init(inst, def);
|
|
2074
2075
|
inst._zod.onattach.push((inst) => {
|
|
2075
2076
|
const bag = inst._zod.bag;
|
|
@@ -2091,13 +2092,13 @@ const $ZodIPv6 = /*@__PURE__*/ (/* unused pure expression or super */ null && (c
|
|
|
2091
2092
|
});
|
|
2092
2093
|
}
|
|
2093
2094
|
};
|
|
2094
|
-
})
|
|
2095
|
-
const $ZodCIDRv4 = /*@__PURE__*/
|
|
2096
|
-
def.pattern ?? (def.pattern =
|
|
2095
|
+
});
|
|
2096
|
+
const $ZodCIDRv4 = /*@__PURE__*/ $constructor("$ZodCIDRv4", (inst, def) => {
|
|
2097
|
+
def.pattern ?? (def.pattern = cidrv4);
|
|
2097
2098
|
$ZodStringFormat.init(inst, def);
|
|
2098
|
-
})
|
|
2099
|
-
const $ZodCIDRv6 = /*@__PURE__*/
|
|
2100
|
-
def.pattern ?? (def.pattern =
|
|
2099
|
+
});
|
|
2100
|
+
const $ZodCIDRv6 = /*@__PURE__*/ $constructor("$ZodCIDRv6", (inst, def) => {
|
|
2101
|
+
def.pattern ?? (def.pattern = cidrv6); // not used for validation
|
|
2101
2102
|
$ZodStringFormat.init(inst, def);
|
|
2102
2103
|
inst._zod.check = (payload) => {
|
|
2103
2104
|
const parts = payload.value.split("/");
|
|
@@ -2125,7 +2126,7 @@ const $ZodCIDRv6 = /*@__PURE__*/ (/* unused pure expression or super */ null &&
|
|
|
2125
2126
|
});
|
|
2126
2127
|
}
|
|
2127
2128
|
};
|
|
2128
|
-
})
|
|
2129
|
+
});
|
|
2129
2130
|
////////////////////////////// ZodBase64 //////////////////////////////
|
|
2130
2131
|
function isValidBase64(data) {
|
|
2131
2132
|
if (data === "")
|
|
@@ -2141,8 +2142,8 @@ function isValidBase64(data) {
|
|
|
2141
2142
|
return false;
|
|
2142
2143
|
}
|
|
2143
2144
|
}
|
|
2144
|
-
const $ZodBase64 = /*@__PURE__*/
|
|
2145
|
-
def.pattern ?? (def.pattern =
|
|
2145
|
+
const $ZodBase64 = /*@__PURE__*/ $constructor("$ZodBase64", (inst, def) => {
|
|
2146
|
+
def.pattern ?? (def.pattern = base64);
|
|
2146
2147
|
$ZodStringFormat.init(inst, def);
|
|
2147
2148
|
inst._zod.onattach.push((inst) => {
|
|
2148
2149
|
inst._zod.bag.contentEncoding = "base64";
|
|
@@ -2158,17 +2159,17 @@ const $ZodBase64 = /*@__PURE__*/ (/* unused pure expression or super */ null &&
|
|
|
2158
2159
|
continue: !def.abort,
|
|
2159
2160
|
});
|
|
2160
2161
|
};
|
|
2161
|
-
})
|
|
2162
|
+
});
|
|
2162
2163
|
////////////////////////////// ZodBase64 //////////////////////////////
|
|
2163
2164
|
function isValidBase64URL(data) {
|
|
2164
|
-
if (!
|
|
2165
|
+
if (!base64url.test(data))
|
|
2165
2166
|
return false;
|
|
2166
2167
|
const base64 = data.replace(/[-_]/g, (c) => (c === "-" ? "+" : "/"));
|
|
2167
2168
|
const padded = base64.padEnd(Math.ceil(base64.length / 4) * 4, "=");
|
|
2168
2169
|
return isValidBase64(padded);
|
|
2169
2170
|
}
|
|
2170
|
-
const $ZodBase64URL = /*@__PURE__*/
|
|
2171
|
-
def.pattern ?? (def.pattern =
|
|
2171
|
+
const $ZodBase64URL = /*@__PURE__*/ $constructor("$ZodBase64URL", (inst, def) => {
|
|
2172
|
+
def.pattern ?? (def.pattern = base64url);
|
|
2172
2173
|
$ZodStringFormat.init(inst, def);
|
|
2173
2174
|
inst._zod.onattach.push((inst) => {
|
|
2174
2175
|
inst._zod.bag.contentEncoding = "base64url";
|
|
@@ -2184,11 +2185,11 @@ const $ZodBase64URL = /*@__PURE__*/ (/* unused pure expression or super */ null
|
|
|
2184
2185
|
continue: !def.abort,
|
|
2185
2186
|
});
|
|
2186
2187
|
};
|
|
2187
|
-
})
|
|
2188
|
-
const $ZodE164 = /*@__PURE__*/
|
|
2189
|
-
def.pattern ?? (def.pattern =
|
|
2188
|
+
});
|
|
2189
|
+
const $ZodE164 = /*@__PURE__*/ $constructor("$ZodE164", (inst, def) => {
|
|
2190
|
+
def.pattern ?? (def.pattern = e164);
|
|
2190
2191
|
$ZodStringFormat.init(inst, def);
|
|
2191
|
-
})
|
|
2192
|
+
});
|
|
2192
2193
|
////////////////////////////// ZodJWT //////////////////////////////
|
|
2193
2194
|
function isValidJWT(token, algorithm = null) {
|
|
2194
2195
|
try {
|
|
@@ -2212,7 +2213,7 @@ function isValidJWT(token, algorithm = null) {
|
|
|
2212
2213
|
return false;
|
|
2213
2214
|
}
|
|
2214
2215
|
}
|
|
2215
|
-
const $ZodJWT = /*@__PURE__*/
|
|
2216
|
+
const $ZodJWT = /*@__PURE__*/ $constructor("$ZodJWT", (inst, def) => {
|
|
2216
2217
|
$ZodStringFormat.init(inst, def);
|
|
2217
2218
|
inst._zod.check = (payload) => {
|
|
2218
2219
|
if (isValidJWT(payload.value, def.alg))
|
|
@@ -2225,7 +2226,7 @@ const $ZodJWT = /*@__PURE__*/ (/* unused pure expression or super */ null && (co
|
|
|
2225
2226
|
continue: !def.abort,
|
|
2226
2227
|
});
|
|
2227
2228
|
};
|
|
2228
|
-
})
|
|
2229
|
+
});
|
|
2229
2230
|
const $ZodCustomStringFormat = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodCustomStringFormat", (inst, def) => {
|
|
2230
2231
|
$ZodStringFormat.init(inst, def);
|
|
2231
2232
|
inst._zod.check = (payload) => {
|
|
@@ -9293,7 +9294,7 @@ const $output = Symbol("ZodOutput");
|
|
|
9293
9294
|
const $input = Symbol("ZodInput");
|
|
9294
9295
|
class registries_$ZodRegistry {
|
|
9295
9296
|
constructor() {
|
|
9296
|
-
this._map = new
|
|
9297
|
+
this._map = new WeakMap();
|
|
9297
9298
|
this._idmap = new Map();
|
|
9298
9299
|
}
|
|
9299
9300
|
add(schema, ..._meta) {
|
|
@@ -9308,7 +9309,7 @@ class registries_$ZodRegistry {
|
|
|
9308
9309
|
return this;
|
|
9309
9310
|
}
|
|
9310
9311
|
clear() {
|
|
9311
|
-
this._map = new
|
|
9312
|
+
this._map = new WeakMap();
|
|
9312
9313
|
this._idmap = new Map();
|
|
9313
9314
|
return this;
|
|
9314
9315
|
}
|
|
@@ -9349,7 +9350,7 @@ const registries_globalRegistry = /*@__PURE__*/ registry();
|
|
|
9349
9350
|
function _string(Class, params) {
|
|
9350
9351
|
return new Class({
|
|
9351
9352
|
type: "string",
|
|
9352
|
-
...
|
|
9353
|
+
...normalizeParams(params),
|
|
9353
9354
|
});
|
|
9354
9355
|
}
|
|
9355
9356
|
function _coercedString(Class, params) {
|
|
@@ -9365,7 +9366,7 @@ function _email(Class, params) {
|
|
|
9365
9366
|
format: "email",
|
|
9366
9367
|
check: "string_format",
|
|
9367
9368
|
abort: false,
|
|
9368
|
-
...
|
|
9369
|
+
...normalizeParams(params),
|
|
9369
9370
|
});
|
|
9370
9371
|
}
|
|
9371
9372
|
function _guid(Class, params) {
|
|
@@ -9374,7 +9375,7 @@ function _guid(Class, params) {
|
|
|
9374
9375
|
format: "guid",
|
|
9375
9376
|
check: "string_format",
|
|
9376
9377
|
abort: false,
|
|
9377
|
-
...
|
|
9378
|
+
...normalizeParams(params),
|
|
9378
9379
|
});
|
|
9379
9380
|
}
|
|
9380
9381
|
function _uuid(Class, params) {
|
|
@@ -9383,7 +9384,7 @@ function _uuid(Class, params) {
|
|
|
9383
9384
|
format: "uuid",
|
|
9384
9385
|
check: "string_format",
|
|
9385
9386
|
abort: false,
|
|
9386
|
-
...
|
|
9387
|
+
...normalizeParams(params),
|
|
9387
9388
|
});
|
|
9388
9389
|
}
|
|
9389
9390
|
function _uuidv4(Class, params) {
|
|
@@ -9393,7 +9394,7 @@ function _uuidv4(Class, params) {
|
|
|
9393
9394
|
check: "string_format",
|
|
9394
9395
|
abort: false,
|
|
9395
9396
|
version: "v4",
|
|
9396
|
-
...
|
|
9397
|
+
...normalizeParams(params),
|
|
9397
9398
|
});
|
|
9398
9399
|
}
|
|
9399
9400
|
function _uuidv6(Class, params) {
|
|
@@ -9403,7 +9404,7 @@ function _uuidv6(Class, params) {
|
|
|
9403
9404
|
check: "string_format",
|
|
9404
9405
|
abort: false,
|
|
9405
9406
|
version: "v6",
|
|
9406
|
-
...
|
|
9407
|
+
...normalizeParams(params),
|
|
9407
9408
|
});
|
|
9408
9409
|
}
|
|
9409
9410
|
function _uuidv7(Class, params) {
|
|
@@ -9413,7 +9414,7 @@ function _uuidv7(Class, params) {
|
|
|
9413
9414
|
check: "string_format",
|
|
9414
9415
|
abort: false,
|
|
9415
9416
|
version: "v7",
|
|
9416
|
-
...
|
|
9417
|
+
...normalizeParams(params),
|
|
9417
9418
|
});
|
|
9418
9419
|
}
|
|
9419
9420
|
function _url(Class, params) {
|
|
@@ -9422,7 +9423,7 @@ function _url(Class, params) {
|
|
|
9422
9423
|
format: "url",
|
|
9423
9424
|
check: "string_format",
|
|
9424
9425
|
abort: false,
|
|
9425
|
-
...
|
|
9426
|
+
...normalizeParams(params),
|
|
9426
9427
|
});
|
|
9427
9428
|
}
|
|
9428
9429
|
function api_emoji(Class, params) {
|
|
@@ -9431,7 +9432,7 @@ function api_emoji(Class, params) {
|
|
|
9431
9432
|
format: "emoji",
|
|
9432
9433
|
check: "string_format",
|
|
9433
9434
|
abort: false,
|
|
9434
|
-
...
|
|
9435
|
+
...normalizeParams(params),
|
|
9435
9436
|
});
|
|
9436
9437
|
}
|
|
9437
9438
|
function _nanoid(Class, params) {
|
|
@@ -9440,7 +9441,7 @@ function _nanoid(Class, params) {
|
|
|
9440
9441
|
format: "nanoid",
|
|
9441
9442
|
check: "string_format",
|
|
9442
9443
|
abort: false,
|
|
9443
|
-
...
|
|
9444
|
+
...normalizeParams(params),
|
|
9444
9445
|
});
|
|
9445
9446
|
}
|
|
9446
9447
|
function _cuid(Class, params) {
|
|
@@ -9449,7 +9450,7 @@ function _cuid(Class, params) {
|
|
|
9449
9450
|
format: "cuid",
|
|
9450
9451
|
check: "string_format",
|
|
9451
9452
|
abort: false,
|
|
9452
|
-
...
|
|
9453
|
+
...normalizeParams(params),
|
|
9453
9454
|
});
|
|
9454
9455
|
}
|
|
9455
9456
|
function _cuid2(Class, params) {
|
|
@@ -9458,7 +9459,7 @@ function _cuid2(Class, params) {
|
|
|
9458
9459
|
format: "cuid2",
|
|
9459
9460
|
check: "string_format",
|
|
9460
9461
|
abort: false,
|
|
9461
|
-
...
|
|
9462
|
+
...normalizeParams(params),
|
|
9462
9463
|
});
|
|
9463
9464
|
}
|
|
9464
9465
|
function _ulid(Class, params) {
|
|
@@ -9467,7 +9468,7 @@ function _ulid(Class, params) {
|
|
|
9467
9468
|
format: "ulid",
|
|
9468
9469
|
check: "string_format",
|
|
9469
9470
|
abort: false,
|
|
9470
|
-
...
|
|
9471
|
+
...normalizeParams(params),
|
|
9471
9472
|
});
|
|
9472
9473
|
}
|
|
9473
9474
|
function _xid(Class, params) {
|
|
@@ -9476,7 +9477,7 @@ function _xid(Class, params) {
|
|
|
9476
9477
|
format: "xid",
|
|
9477
9478
|
check: "string_format",
|
|
9478
9479
|
abort: false,
|
|
9479
|
-
...
|
|
9480
|
+
...normalizeParams(params),
|
|
9480
9481
|
});
|
|
9481
9482
|
}
|
|
9482
9483
|
function _ksuid(Class, params) {
|
|
@@ -9485,7 +9486,7 @@ function _ksuid(Class, params) {
|
|
|
9485
9486
|
format: "ksuid",
|
|
9486
9487
|
check: "string_format",
|
|
9487
9488
|
abort: false,
|
|
9488
|
-
...
|
|
9489
|
+
...normalizeParams(params),
|
|
9489
9490
|
});
|
|
9490
9491
|
}
|
|
9491
9492
|
function _ipv4(Class, params) {
|
|
@@ -9494,7 +9495,7 @@ function _ipv4(Class, params) {
|
|
|
9494
9495
|
format: "ipv4",
|
|
9495
9496
|
check: "string_format",
|
|
9496
9497
|
abort: false,
|
|
9497
|
-
...
|
|
9498
|
+
...normalizeParams(params),
|
|
9498
9499
|
});
|
|
9499
9500
|
}
|
|
9500
9501
|
function _ipv6(Class, params) {
|
|
@@ -9503,7 +9504,7 @@ function _ipv6(Class, params) {
|
|
|
9503
9504
|
format: "ipv6",
|
|
9504
9505
|
check: "string_format",
|
|
9505
9506
|
abort: false,
|
|
9506
|
-
...
|
|
9507
|
+
...normalizeParams(params),
|
|
9507
9508
|
});
|
|
9508
9509
|
}
|
|
9509
9510
|
function _cidrv4(Class, params) {
|
|
@@ -9512,7 +9513,7 @@ function _cidrv4(Class, params) {
|
|
|
9512
9513
|
format: "cidrv4",
|
|
9513
9514
|
check: "string_format",
|
|
9514
9515
|
abort: false,
|
|
9515
|
-
...
|
|
9516
|
+
...normalizeParams(params),
|
|
9516
9517
|
});
|
|
9517
9518
|
}
|
|
9518
9519
|
function _cidrv6(Class, params) {
|
|
@@ -9521,7 +9522,7 @@ function _cidrv6(Class, params) {
|
|
|
9521
9522
|
format: "cidrv6",
|
|
9522
9523
|
check: "string_format",
|
|
9523
9524
|
abort: false,
|
|
9524
|
-
...
|
|
9525
|
+
...normalizeParams(params),
|
|
9525
9526
|
});
|
|
9526
9527
|
}
|
|
9527
9528
|
function _base64(Class, params) {
|
|
@@ -9530,7 +9531,7 @@ function _base64(Class, params) {
|
|
|
9530
9531
|
format: "base64",
|
|
9531
9532
|
check: "string_format",
|
|
9532
9533
|
abort: false,
|
|
9533
|
-
...
|
|
9534
|
+
...normalizeParams(params),
|
|
9534
9535
|
});
|
|
9535
9536
|
}
|
|
9536
9537
|
function _base64url(Class, params) {
|
|
@@ -9539,7 +9540,7 @@ function _base64url(Class, params) {
|
|
|
9539
9540
|
format: "base64url",
|
|
9540
9541
|
check: "string_format",
|
|
9541
9542
|
abort: false,
|
|
9542
|
-
...
|
|
9543
|
+
...normalizeParams(params),
|
|
9543
9544
|
});
|
|
9544
9545
|
}
|
|
9545
9546
|
function _e164(Class, params) {
|
|
@@ -9548,7 +9549,7 @@ function _e164(Class, params) {
|
|
|
9548
9549
|
format: "e164",
|
|
9549
9550
|
check: "string_format",
|
|
9550
9551
|
abort: false,
|
|
9551
|
-
...
|
|
9552
|
+
...normalizeParams(params),
|
|
9552
9553
|
});
|
|
9553
9554
|
}
|
|
9554
9555
|
function _jwt(Class, params) {
|
|
@@ -9557,7 +9558,7 @@ function _jwt(Class, params) {
|
|
|
9557
9558
|
format: "jwt",
|
|
9558
9559
|
check: "string_format",
|
|
9559
9560
|
abort: false,
|
|
9560
|
-
...
|
|
9561
|
+
...normalizeParams(params),
|
|
9561
9562
|
});
|
|
9562
9563
|
}
|
|
9563
9564
|
const TimePrecision = {
|
|
@@ -9575,7 +9576,7 @@ function _isoDateTime(Class, params) {
|
|
|
9575
9576
|
offset: false,
|
|
9576
9577
|
local: false,
|
|
9577
9578
|
precision: null,
|
|
9578
|
-
...
|
|
9579
|
+
...normalizeParams(params),
|
|
9579
9580
|
});
|
|
9580
9581
|
}
|
|
9581
9582
|
function _isoDate(Class, params) {
|
|
@@ -9583,7 +9584,7 @@ function _isoDate(Class, params) {
|
|
|
9583
9584
|
type: "string",
|
|
9584
9585
|
format: "date",
|
|
9585
9586
|
check: "string_format",
|
|
9586
|
-
...
|
|
9587
|
+
...normalizeParams(params),
|
|
9587
9588
|
});
|
|
9588
9589
|
}
|
|
9589
9590
|
function _isoTime(Class, params) {
|
|
@@ -9592,7 +9593,7 @@ function _isoTime(Class, params) {
|
|
|
9592
9593
|
format: "time",
|
|
9593
9594
|
check: "string_format",
|
|
9594
9595
|
precision: null,
|
|
9595
|
-
...
|
|
9596
|
+
...normalizeParams(params),
|
|
9596
9597
|
});
|
|
9597
9598
|
}
|
|
9598
9599
|
function _isoDuration(Class, params) {
|
|
@@ -9600,7 +9601,7 @@ function _isoDuration(Class, params) {
|
|
|
9600
9601
|
type: "string",
|
|
9601
9602
|
format: "duration",
|
|
9602
9603
|
check: "string_format",
|
|
9603
|
-
...
|
|
9604
|
+
...normalizeParams(params),
|
|
9604
9605
|
});
|
|
9605
9606
|
}
|
|
9606
9607
|
function _number(Class, params) {
|
|
@@ -9866,48 +9867,48 @@ function _length(length, params) {
|
|
|
9866
9867
|
});
|
|
9867
9868
|
}
|
|
9868
9869
|
function _regex(pattern, params) {
|
|
9869
|
-
return new
|
|
9870
|
+
return new $ZodCheckRegex({
|
|
9870
9871
|
check: "string_format",
|
|
9871
9872
|
format: "regex",
|
|
9872
|
-
...
|
|
9873
|
+
...normalizeParams(params),
|
|
9873
9874
|
pattern,
|
|
9874
9875
|
});
|
|
9875
9876
|
}
|
|
9876
9877
|
function _lowercase(params) {
|
|
9877
|
-
return new
|
|
9878
|
+
return new $ZodCheckLowerCase({
|
|
9878
9879
|
check: "string_format",
|
|
9879
9880
|
format: "lowercase",
|
|
9880
|
-
...
|
|
9881
|
+
...normalizeParams(params),
|
|
9881
9882
|
});
|
|
9882
9883
|
}
|
|
9883
9884
|
function _uppercase(params) {
|
|
9884
|
-
return new
|
|
9885
|
+
return new $ZodCheckUpperCase({
|
|
9885
9886
|
check: "string_format",
|
|
9886
9887
|
format: "uppercase",
|
|
9887
|
-
...
|
|
9888
|
+
...normalizeParams(params),
|
|
9888
9889
|
});
|
|
9889
9890
|
}
|
|
9890
9891
|
function _includes(includes, params) {
|
|
9891
|
-
return new
|
|
9892
|
+
return new $ZodCheckIncludes({
|
|
9892
9893
|
check: "string_format",
|
|
9893
9894
|
format: "includes",
|
|
9894
|
-
...
|
|
9895
|
+
...normalizeParams(params),
|
|
9895
9896
|
includes,
|
|
9896
9897
|
});
|
|
9897
9898
|
}
|
|
9898
9899
|
function _startsWith(prefix, params) {
|
|
9899
|
-
return new
|
|
9900
|
+
return new $ZodCheckStartsWith({
|
|
9900
9901
|
check: "string_format",
|
|
9901
9902
|
format: "starts_with",
|
|
9902
|
-
...
|
|
9903
|
+
...normalizeParams(params),
|
|
9903
9904
|
prefix,
|
|
9904
9905
|
});
|
|
9905
9906
|
}
|
|
9906
9907
|
function _endsWith(suffix, params) {
|
|
9907
|
-
return new
|
|
9908
|
+
return new $ZodCheckEndsWith({
|
|
9908
9909
|
check: "string_format",
|
|
9909
9910
|
format: "ends_with",
|
|
9910
|
-
...
|
|
9911
|
+
...normalizeParams(params),
|
|
9911
9912
|
suffix,
|
|
9912
9913
|
});
|
|
9913
9914
|
}
|
|
@@ -11204,33 +11205,33 @@ function isTransforming(_schema, _ctx) {
|
|
|
11204
11205
|
;// CONCATENATED MODULE: ./node_modules/zod/v4/classic/iso.js
|
|
11205
11206
|
|
|
11206
11207
|
|
|
11207
|
-
const ZodISODateTime = /*@__PURE__*/
|
|
11208
|
-
|
|
11209
|
-
|
|
11210
|
-
})
|
|
11208
|
+
const ZodISODateTime = /*@__PURE__*/ $constructor("ZodISODateTime", (inst, def) => {
|
|
11209
|
+
$ZodISODateTime.init(inst, def);
|
|
11210
|
+
ZodStringFormat.init(inst, def);
|
|
11211
|
+
});
|
|
11211
11212
|
function iso_datetime(params) {
|
|
11212
|
-
return
|
|
11213
|
+
return _isoDateTime(ZodISODateTime, params);
|
|
11213
11214
|
}
|
|
11214
|
-
const ZodISODate = /*@__PURE__*/
|
|
11215
|
-
|
|
11216
|
-
|
|
11217
|
-
})
|
|
11215
|
+
const ZodISODate = /*@__PURE__*/ $constructor("ZodISODate", (inst, def) => {
|
|
11216
|
+
$ZodISODate.init(inst, def);
|
|
11217
|
+
ZodStringFormat.init(inst, def);
|
|
11218
|
+
});
|
|
11218
11219
|
function iso_date(params) {
|
|
11219
|
-
return
|
|
11220
|
+
return _isoDate(ZodISODate, params);
|
|
11220
11221
|
}
|
|
11221
|
-
const ZodISOTime = /*@__PURE__*/
|
|
11222
|
-
|
|
11223
|
-
|
|
11224
|
-
})
|
|
11222
|
+
const ZodISOTime = /*@__PURE__*/ $constructor("ZodISOTime", (inst, def) => {
|
|
11223
|
+
$ZodISOTime.init(inst, def);
|
|
11224
|
+
ZodStringFormat.init(inst, def);
|
|
11225
|
+
});
|
|
11225
11226
|
function iso_time(params) {
|
|
11226
|
-
return
|
|
11227
|
+
return _isoTime(ZodISOTime, params);
|
|
11227
11228
|
}
|
|
11228
|
-
const ZodISODuration = /*@__PURE__*/
|
|
11229
|
-
|
|
11230
|
-
|
|
11231
|
-
})
|
|
11229
|
+
const ZodISODuration = /*@__PURE__*/ $constructor("ZodISODuration", (inst, def) => {
|
|
11230
|
+
$ZodISODuration.init(inst, def);
|
|
11231
|
+
ZodStringFormat.init(inst, def);
|
|
11232
|
+
});
|
|
11232
11233
|
function iso_duration(params) {
|
|
11233
|
-
return
|
|
11234
|
+
return _isoDuration(ZodISODuration, params);
|
|
11234
11235
|
}
|
|
11235
11236
|
|
|
11236
11237
|
;// CONCATENATED MODULE: ./node_modules/zod/v4/classic/errors.js
|
|
@@ -11389,90 +11390,90 @@ const ZodType = /*@__PURE__*/ $constructor("ZodType", (inst, def) => {
|
|
|
11389
11390
|
return inst;
|
|
11390
11391
|
});
|
|
11391
11392
|
/** @internal */
|
|
11392
|
-
const _ZodString = /*@__PURE__*/
|
|
11393
|
-
|
|
11393
|
+
const _ZodString = /*@__PURE__*/ $constructor("_ZodString", (inst, def) => {
|
|
11394
|
+
$ZodString.init(inst, def);
|
|
11394
11395
|
ZodType.init(inst, def);
|
|
11395
11396
|
const bag = inst._zod.bag;
|
|
11396
11397
|
inst.format = bag.format ?? null;
|
|
11397
11398
|
inst.minLength = bag.minimum ?? null;
|
|
11398
11399
|
inst.maxLength = bag.maximum ?? null;
|
|
11399
11400
|
// validations
|
|
11400
|
-
inst.regex = (...args) => inst.check(
|
|
11401
|
-
inst.includes = (...args) => inst.check(
|
|
11402
|
-
inst.startsWith = (...args) => inst.check(
|
|
11403
|
-
inst.endsWith = (...args) => inst.check(
|
|
11404
|
-
inst.min = (...args) => inst.check(
|
|
11405
|
-
inst.max = (...args) => inst.check(
|
|
11406
|
-
inst.length = (...args) => inst.check(
|
|
11407
|
-
inst.nonempty = (...args) => inst.check(
|
|
11408
|
-
inst.lowercase = (params) => inst.check(
|
|
11409
|
-
inst.uppercase = (params) => inst.check(
|
|
11401
|
+
inst.regex = (...args) => inst.check(_regex(...args));
|
|
11402
|
+
inst.includes = (...args) => inst.check(_includes(...args));
|
|
11403
|
+
inst.startsWith = (...args) => inst.check(_startsWith(...args));
|
|
11404
|
+
inst.endsWith = (...args) => inst.check(_endsWith(...args));
|
|
11405
|
+
inst.min = (...args) => inst.check(_minLength(...args));
|
|
11406
|
+
inst.max = (...args) => inst.check(_maxLength(...args));
|
|
11407
|
+
inst.length = (...args) => inst.check(_length(...args));
|
|
11408
|
+
inst.nonempty = (...args) => inst.check(_minLength(1, ...args));
|
|
11409
|
+
inst.lowercase = (params) => inst.check(_lowercase(params));
|
|
11410
|
+
inst.uppercase = (params) => inst.check(_uppercase(params));
|
|
11410
11411
|
// transforms
|
|
11411
|
-
inst.trim = () => inst.check(
|
|
11412
|
-
inst.normalize = (...args) => inst.check(
|
|
11413
|
-
inst.toLowerCase = () => inst.check(
|
|
11414
|
-
inst.toUpperCase = () => inst.check(
|
|
11415
|
-
})
|
|
11416
|
-
const ZodString = /*@__PURE__*/
|
|
11417
|
-
|
|
11412
|
+
inst.trim = () => inst.check(_trim());
|
|
11413
|
+
inst.normalize = (...args) => inst.check(_normalize(...args));
|
|
11414
|
+
inst.toLowerCase = () => inst.check(_toLowerCase());
|
|
11415
|
+
inst.toUpperCase = () => inst.check(_toUpperCase());
|
|
11416
|
+
});
|
|
11417
|
+
const ZodString = /*@__PURE__*/ $constructor("ZodString", (inst, def) => {
|
|
11418
|
+
$ZodString.init(inst, def);
|
|
11418
11419
|
_ZodString.init(inst, def);
|
|
11419
|
-
inst.email = (params) => inst.check(
|
|
11420
|
-
inst.url = (params) => inst.check(
|
|
11421
|
-
inst.jwt = (params) => inst.check(
|
|
11422
|
-
inst.emoji = (params) => inst.check(
|
|
11423
|
-
inst.guid = (params) => inst.check(
|
|
11424
|
-
inst.uuid = (params) => inst.check(
|
|
11425
|
-
inst.uuidv4 = (params) => inst.check(
|
|
11426
|
-
inst.uuidv6 = (params) => inst.check(
|
|
11427
|
-
inst.uuidv7 = (params) => inst.check(
|
|
11428
|
-
inst.nanoid = (params) => inst.check(
|
|
11429
|
-
inst.guid = (params) => inst.check(
|
|
11430
|
-
inst.cuid = (params) => inst.check(
|
|
11431
|
-
inst.cuid2 = (params) => inst.check(
|
|
11432
|
-
inst.ulid = (params) => inst.check(
|
|
11433
|
-
inst.base64 = (params) => inst.check(
|
|
11434
|
-
inst.base64url = (params) => inst.check(
|
|
11435
|
-
inst.xid = (params) => inst.check(
|
|
11436
|
-
inst.ksuid = (params) => inst.check(
|
|
11437
|
-
inst.ipv4 = (params) => inst.check(
|
|
11438
|
-
inst.ipv6 = (params) => inst.check(
|
|
11439
|
-
inst.cidrv4 = (params) => inst.check(
|
|
11440
|
-
inst.cidrv6 = (params) => inst.check(
|
|
11441
|
-
inst.e164 = (params) => inst.check(
|
|
11420
|
+
inst.email = (params) => inst.check(_email(ZodEmail, params));
|
|
11421
|
+
inst.url = (params) => inst.check(_url(ZodURL, params));
|
|
11422
|
+
inst.jwt = (params) => inst.check(_jwt(ZodJWT, params));
|
|
11423
|
+
inst.emoji = (params) => inst.check(api_emoji(ZodEmoji, params));
|
|
11424
|
+
inst.guid = (params) => inst.check(_guid(ZodGUID, params));
|
|
11425
|
+
inst.uuid = (params) => inst.check(_uuid(ZodUUID, params));
|
|
11426
|
+
inst.uuidv4 = (params) => inst.check(_uuidv4(ZodUUID, params));
|
|
11427
|
+
inst.uuidv6 = (params) => inst.check(_uuidv6(ZodUUID, params));
|
|
11428
|
+
inst.uuidv7 = (params) => inst.check(_uuidv7(ZodUUID, params));
|
|
11429
|
+
inst.nanoid = (params) => inst.check(_nanoid(ZodNanoID, params));
|
|
11430
|
+
inst.guid = (params) => inst.check(_guid(ZodGUID, params));
|
|
11431
|
+
inst.cuid = (params) => inst.check(_cuid(ZodCUID, params));
|
|
11432
|
+
inst.cuid2 = (params) => inst.check(_cuid2(ZodCUID2, params));
|
|
11433
|
+
inst.ulid = (params) => inst.check(_ulid(ZodULID, params));
|
|
11434
|
+
inst.base64 = (params) => inst.check(_base64(ZodBase64, params));
|
|
11435
|
+
inst.base64url = (params) => inst.check(_base64url(ZodBase64URL, params));
|
|
11436
|
+
inst.xid = (params) => inst.check(_xid(ZodXID, params));
|
|
11437
|
+
inst.ksuid = (params) => inst.check(_ksuid(ZodKSUID, params));
|
|
11438
|
+
inst.ipv4 = (params) => inst.check(_ipv4(ZodIPv4, params));
|
|
11439
|
+
inst.ipv6 = (params) => inst.check(_ipv6(ZodIPv6, params));
|
|
11440
|
+
inst.cidrv4 = (params) => inst.check(_cidrv4(ZodCIDRv4, params));
|
|
11441
|
+
inst.cidrv6 = (params) => inst.check(_cidrv6(ZodCIDRv6, params));
|
|
11442
|
+
inst.e164 = (params) => inst.check(_e164(ZodE164, params));
|
|
11442
11443
|
// iso
|
|
11443
|
-
inst.datetime = (params) => inst.check(
|
|
11444
|
-
inst.date = (params) => inst.check(
|
|
11445
|
-
inst.time = (params) => inst.check(
|
|
11446
|
-
inst.duration = (params) => inst.check(
|
|
11447
|
-
})
|
|
11444
|
+
inst.datetime = (params) => inst.check(iso_datetime(params));
|
|
11445
|
+
inst.date = (params) => inst.check(iso_date(params));
|
|
11446
|
+
inst.time = (params) => inst.check(iso_time(params));
|
|
11447
|
+
inst.duration = (params) => inst.check(iso_duration(params));
|
|
11448
|
+
});
|
|
11448
11449
|
function schemas_string(params) {
|
|
11449
|
-
return
|
|
11450
|
+
return _string(ZodString, params);
|
|
11450
11451
|
}
|
|
11451
|
-
const ZodStringFormat = /*@__PURE__*/
|
|
11452
|
-
|
|
11452
|
+
const ZodStringFormat = /*@__PURE__*/ $constructor("ZodStringFormat", (inst, def) => {
|
|
11453
|
+
$ZodStringFormat.init(inst, def);
|
|
11453
11454
|
_ZodString.init(inst, def);
|
|
11454
|
-
})
|
|
11455
|
-
const ZodEmail = /*@__PURE__*/
|
|
11455
|
+
});
|
|
11456
|
+
const ZodEmail = /*@__PURE__*/ $constructor("ZodEmail", (inst, def) => {
|
|
11456
11457
|
// ZodStringFormat.init(inst, def);
|
|
11457
|
-
|
|
11458
|
+
$ZodEmail.init(inst, def);
|
|
11458
11459
|
ZodStringFormat.init(inst, def);
|
|
11459
|
-
})
|
|
11460
|
+
});
|
|
11460
11461
|
function schemas_email(params) {
|
|
11461
11462
|
return core._email(ZodEmail, params);
|
|
11462
11463
|
}
|
|
11463
|
-
const ZodGUID = /*@__PURE__*/
|
|
11464
|
+
const ZodGUID = /*@__PURE__*/ $constructor("ZodGUID", (inst, def) => {
|
|
11464
11465
|
// ZodStringFormat.init(inst, def);
|
|
11465
|
-
|
|
11466
|
+
$ZodGUID.init(inst, def);
|
|
11466
11467
|
ZodStringFormat.init(inst, def);
|
|
11467
|
-
})
|
|
11468
|
+
});
|
|
11468
11469
|
function schemas_guid(params) {
|
|
11469
11470
|
return core._guid(ZodGUID, params);
|
|
11470
11471
|
}
|
|
11471
|
-
const ZodUUID = /*@__PURE__*/
|
|
11472
|
+
const ZodUUID = /*@__PURE__*/ $constructor("ZodUUID", (inst, def) => {
|
|
11472
11473
|
// ZodStringFormat.init(inst, def);
|
|
11473
|
-
|
|
11474
|
+
$ZodUUID.init(inst, def);
|
|
11474
11475
|
ZodStringFormat.init(inst, def);
|
|
11475
|
-
})
|
|
11476
|
+
});
|
|
11476
11477
|
function schemas_uuid(params) {
|
|
11477
11478
|
return core._uuid(ZodUUID, params);
|
|
11478
11479
|
}
|
|
@@ -11487,11 +11488,11 @@ function uuidv6(params) {
|
|
|
11487
11488
|
function uuidv7(params) {
|
|
11488
11489
|
return core._uuidv7(ZodUUID, params);
|
|
11489
11490
|
}
|
|
11490
|
-
const ZodURL = /*@__PURE__*/
|
|
11491
|
+
const ZodURL = /*@__PURE__*/ $constructor("ZodURL", (inst, def) => {
|
|
11491
11492
|
// ZodStringFormat.init(inst, def);
|
|
11492
|
-
|
|
11493
|
+
$ZodURL.init(inst, def);
|
|
11493
11494
|
ZodStringFormat.init(inst, def);
|
|
11494
|
-
})
|
|
11495
|
+
});
|
|
11495
11496
|
function url(params) {
|
|
11496
11497
|
return core._url(ZodURL, params);
|
|
11497
11498
|
}
|
|
@@ -11502,121 +11503,121 @@ function httpUrl(params) {
|
|
|
11502
11503
|
...util.normalizeParams(params),
|
|
11503
11504
|
});
|
|
11504
11505
|
}
|
|
11505
|
-
const ZodEmoji = /*@__PURE__*/
|
|
11506
|
+
const ZodEmoji = /*@__PURE__*/ $constructor("ZodEmoji", (inst, def) => {
|
|
11506
11507
|
// ZodStringFormat.init(inst, def);
|
|
11507
|
-
|
|
11508
|
+
$ZodEmoji.init(inst, def);
|
|
11508
11509
|
ZodStringFormat.init(inst, def);
|
|
11509
|
-
})
|
|
11510
|
+
});
|
|
11510
11511
|
function schemas_emoji(params) {
|
|
11511
11512
|
return core._emoji(ZodEmoji, params);
|
|
11512
11513
|
}
|
|
11513
|
-
const ZodNanoID = /*@__PURE__*/
|
|
11514
|
+
const ZodNanoID = /*@__PURE__*/ $constructor("ZodNanoID", (inst, def) => {
|
|
11514
11515
|
// ZodStringFormat.init(inst, def);
|
|
11515
|
-
|
|
11516
|
+
$ZodNanoID.init(inst, def);
|
|
11516
11517
|
ZodStringFormat.init(inst, def);
|
|
11517
|
-
})
|
|
11518
|
+
});
|
|
11518
11519
|
function schemas_nanoid(params) {
|
|
11519
11520
|
return core._nanoid(ZodNanoID, params);
|
|
11520
11521
|
}
|
|
11521
|
-
const ZodCUID = /*@__PURE__*/
|
|
11522
|
+
const ZodCUID = /*@__PURE__*/ $constructor("ZodCUID", (inst, def) => {
|
|
11522
11523
|
// ZodStringFormat.init(inst, def);
|
|
11523
|
-
|
|
11524
|
+
$ZodCUID.init(inst, def);
|
|
11524
11525
|
ZodStringFormat.init(inst, def);
|
|
11525
|
-
})
|
|
11526
|
+
});
|
|
11526
11527
|
function schemas_cuid(params) {
|
|
11527
11528
|
return core._cuid(ZodCUID, params);
|
|
11528
11529
|
}
|
|
11529
|
-
const ZodCUID2 = /*@__PURE__*/
|
|
11530
|
+
const ZodCUID2 = /*@__PURE__*/ $constructor("ZodCUID2", (inst, def) => {
|
|
11530
11531
|
// ZodStringFormat.init(inst, def);
|
|
11531
|
-
|
|
11532
|
+
$ZodCUID2.init(inst, def);
|
|
11532
11533
|
ZodStringFormat.init(inst, def);
|
|
11533
|
-
})
|
|
11534
|
+
});
|
|
11534
11535
|
function schemas_cuid2(params) {
|
|
11535
11536
|
return core._cuid2(ZodCUID2, params);
|
|
11536
11537
|
}
|
|
11537
|
-
const ZodULID = /*@__PURE__*/
|
|
11538
|
+
const ZodULID = /*@__PURE__*/ $constructor("ZodULID", (inst, def) => {
|
|
11538
11539
|
// ZodStringFormat.init(inst, def);
|
|
11539
|
-
|
|
11540
|
+
$ZodULID.init(inst, def);
|
|
11540
11541
|
ZodStringFormat.init(inst, def);
|
|
11541
|
-
})
|
|
11542
|
+
});
|
|
11542
11543
|
function schemas_ulid(params) {
|
|
11543
11544
|
return core._ulid(ZodULID, params);
|
|
11544
11545
|
}
|
|
11545
|
-
const ZodXID = /*@__PURE__*/
|
|
11546
|
+
const ZodXID = /*@__PURE__*/ $constructor("ZodXID", (inst, def) => {
|
|
11546
11547
|
// ZodStringFormat.init(inst, def);
|
|
11547
|
-
|
|
11548
|
+
$ZodXID.init(inst, def);
|
|
11548
11549
|
ZodStringFormat.init(inst, def);
|
|
11549
|
-
})
|
|
11550
|
+
});
|
|
11550
11551
|
function schemas_xid(params) {
|
|
11551
11552
|
return core._xid(ZodXID, params);
|
|
11552
11553
|
}
|
|
11553
|
-
const ZodKSUID = /*@__PURE__*/
|
|
11554
|
+
const ZodKSUID = /*@__PURE__*/ $constructor("ZodKSUID", (inst, def) => {
|
|
11554
11555
|
// ZodStringFormat.init(inst, def);
|
|
11555
|
-
|
|
11556
|
+
$ZodKSUID.init(inst, def);
|
|
11556
11557
|
ZodStringFormat.init(inst, def);
|
|
11557
|
-
})
|
|
11558
|
+
});
|
|
11558
11559
|
function schemas_ksuid(params) {
|
|
11559
11560
|
return core._ksuid(ZodKSUID, params);
|
|
11560
11561
|
}
|
|
11561
|
-
const ZodIPv4 = /*@__PURE__*/
|
|
11562
|
+
const ZodIPv4 = /*@__PURE__*/ $constructor("ZodIPv4", (inst, def) => {
|
|
11562
11563
|
// ZodStringFormat.init(inst, def);
|
|
11563
|
-
|
|
11564
|
+
$ZodIPv4.init(inst, def);
|
|
11564
11565
|
ZodStringFormat.init(inst, def);
|
|
11565
|
-
})
|
|
11566
|
+
});
|
|
11566
11567
|
function schemas_ipv4(params) {
|
|
11567
11568
|
return core._ipv4(ZodIPv4, params);
|
|
11568
11569
|
}
|
|
11569
|
-
const ZodIPv6 = /*@__PURE__*/
|
|
11570
|
+
const ZodIPv6 = /*@__PURE__*/ $constructor("ZodIPv6", (inst, def) => {
|
|
11570
11571
|
// ZodStringFormat.init(inst, def);
|
|
11571
|
-
|
|
11572
|
+
$ZodIPv6.init(inst, def);
|
|
11572
11573
|
ZodStringFormat.init(inst, def);
|
|
11573
|
-
})
|
|
11574
|
+
});
|
|
11574
11575
|
function schemas_ipv6(params) {
|
|
11575
11576
|
return core._ipv6(ZodIPv6, params);
|
|
11576
11577
|
}
|
|
11577
|
-
const ZodCIDRv4 = /*@__PURE__*/
|
|
11578
|
-
|
|
11578
|
+
const ZodCIDRv4 = /*@__PURE__*/ $constructor("ZodCIDRv4", (inst, def) => {
|
|
11579
|
+
$ZodCIDRv4.init(inst, def);
|
|
11579
11580
|
ZodStringFormat.init(inst, def);
|
|
11580
|
-
})
|
|
11581
|
+
});
|
|
11581
11582
|
function schemas_cidrv4(params) {
|
|
11582
11583
|
return core._cidrv4(ZodCIDRv4, params);
|
|
11583
11584
|
}
|
|
11584
|
-
const ZodCIDRv6 = /*@__PURE__*/
|
|
11585
|
-
|
|
11585
|
+
const ZodCIDRv6 = /*@__PURE__*/ $constructor("ZodCIDRv6", (inst, def) => {
|
|
11586
|
+
$ZodCIDRv6.init(inst, def);
|
|
11586
11587
|
ZodStringFormat.init(inst, def);
|
|
11587
|
-
})
|
|
11588
|
+
});
|
|
11588
11589
|
function schemas_cidrv6(params) {
|
|
11589
11590
|
return core._cidrv6(ZodCIDRv6, params);
|
|
11590
11591
|
}
|
|
11591
|
-
const ZodBase64 = /*@__PURE__*/
|
|
11592
|
+
const ZodBase64 = /*@__PURE__*/ $constructor("ZodBase64", (inst, def) => {
|
|
11592
11593
|
// ZodStringFormat.init(inst, def);
|
|
11593
|
-
|
|
11594
|
+
$ZodBase64.init(inst, def);
|
|
11594
11595
|
ZodStringFormat.init(inst, def);
|
|
11595
|
-
})
|
|
11596
|
+
});
|
|
11596
11597
|
function schemas_base64(params) {
|
|
11597
11598
|
return core._base64(ZodBase64, params);
|
|
11598
11599
|
}
|
|
11599
|
-
const ZodBase64URL = /*@__PURE__*/
|
|
11600
|
+
const ZodBase64URL = /*@__PURE__*/ $constructor("ZodBase64URL", (inst, def) => {
|
|
11600
11601
|
// ZodStringFormat.init(inst, def);
|
|
11601
|
-
|
|
11602
|
+
$ZodBase64URL.init(inst, def);
|
|
11602
11603
|
ZodStringFormat.init(inst, def);
|
|
11603
|
-
})
|
|
11604
|
+
});
|
|
11604
11605
|
function schemas_base64url(params) {
|
|
11605
11606
|
return core._base64url(ZodBase64URL, params);
|
|
11606
11607
|
}
|
|
11607
|
-
const ZodE164 = /*@__PURE__*/
|
|
11608
|
+
const ZodE164 = /*@__PURE__*/ $constructor("ZodE164", (inst, def) => {
|
|
11608
11609
|
// ZodStringFormat.init(inst, def);
|
|
11609
|
-
|
|
11610
|
+
$ZodE164.init(inst, def);
|
|
11610
11611
|
ZodStringFormat.init(inst, def);
|
|
11611
|
-
})
|
|
11612
|
+
});
|
|
11612
11613
|
function schemas_e164(params) {
|
|
11613
11614
|
return core._e164(ZodE164, params);
|
|
11614
11615
|
}
|
|
11615
|
-
const ZodJWT = /*@__PURE__*/
|
|
11616
|
+
const ZodJWT = /*@__PURE__*/ $constructor("ZodJWT", (inst, def) => {
|
|
11616
11617
|
// ZodStringFormat.init(inst, def);
|
|
11617
|
-
|
|
11618
|
+
$ZodJWT.init(inst, def);
|
|
11618
11619
|
ZodStringFormat.init(inst, def);
|
|
11619
|
-
})
|
|
11620
|
+
});
|
|
11620
11621
|
function jwt(params) {
|
|
11621
11622
|
return core._jwt(ZodJWT, params);
|
|
11622
11623
|
}
|
package/package.json
CHANGED
|
@@ -70,7 +70,7 @@ export function updateAccountThemeImplementationInConfig(params: {
|
|
|
70
70
|
type TargetType = ParsedPackageJson;
|
|
71
71
|
|
|
72
72
|
const zTargetType = z.object({
|
|
73
|
-
keycloakify: z.record(z.unknown())
|
|
73
|
+
keycloakify: z.record(z.string(), z.unknown())
|
|
74
74
|
});
|
|
75
75
|
|
|
76
76
|
assert<Equals<z.infer<typeof zTargetType>, TargetType>>();
|