@burdenoff/microfe-product 2026.518.1 → 2026.518.3
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/dist/generated/global-operations.d.ts +304 -0
- package/dist/generated/global-operations.d.ts.map +1 -1
- package/dist/generated/global-operations.js +200 -83
- package/dist/generated/global-operations.js.map +1 -1
- package/dist/generated/global-types.d.ts +123 -0
- package/dist/generated/global-types.d.ts.map +1 -1
- package/dist/generated/global-types.js.map +1 -1
- package/dist/node_modules/zod/v4/classic/schemas.js +114 -114
- package/dist/node_modules/zod/v4/classic/schemas.js.map +1 -1
- package/dist/product-management/ProductManagementRoot.d.ts.map +1 -1
- package/dist/product-management/ProductManagementRoot.js +34 -26
- package/dist/product-management/ProductManagementRoot.js.map +1 -1
- package/dist/product-management/ProductManagementRoutes.d.ts.map +1 -1
- package/dist/product-management/ProductManagementRoutes.js +52 -20
- package/dist/product-management/ProductManagementRoutes.js.map +1 -1
- package/dist/product-management/modules/content-pages/components/ContentPageForm.d.ts.map +1 -1
- package/dist/product-management/modules/content-pages/components/ContentPageForm.js +5 -0
- package/dist/product-management/modules/content-pages/components/ContentPageForm.js.map +1 -1
- package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.d.ts.map +1 -1
- package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.js +4 -0
- package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.js.map +1 -1
- package/dist/product-management/modules/press-kit/components/PressKitAssetForm.d.ts +10 -0
- package/dist/product-management/modules/press-kit/components/PressKitAssetForm.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/components/PressKitAssetForm.js +467 -0
- package/dist/product-management/modules/press-kit/components/PressKitAssetForm.js.map +1 -0
- package/dist/product-management/modules/press-kit/hooks/usePressKitAssets.d.ts +58 -0
- package/dist/product-management/modules/press-kit/hooks/usePressKitAssets.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/hooks/usePressKitAssets.js +69 -0
- package/dist/product-management/modules/press-kit/hooks/usePressKitAssets.js.map +1 -0
- package/dist/product-management/modules/press-kit/index.d.ts +14 -0
- package/dist/product-management/modules/press-kit/index.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.d.ts +2 -0
- package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.js +69 -0
- package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.js.map +1 -0
- package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.d.ts +2 -0
- package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.js +193 -0
- package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.js.map +1 -0
- package/dist/product-management/modules/press-kit/pages/PressKitEditPage.d.ts +2 -0
- package/dist/product-management/modules/press-kit/pages/PressKitEditPage.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/pages/PressKitEditPage.js +87 -0
- package/dist/product-management/modules/press-kit/pages/PressKitEditPage.js.map +1 -0
- package/dist/product-management/modules/press-kit/pages/PressKitListPage.d.ts +2 -0
- package/dist/product-management/modules/press-kit/pages/PressKitListPage.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/pages/PressKitListPage.js +311 -0
- package/dist/product-management/modules/press-kit/pages/PressKitListPage.js.map +1 -0
- package/dist/product-management/modules/press-kit/schemas/index.d.ts +58 -0
- package/dist/product-management/modules/press-kit/schemas/index.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/schemas/index.js +51 -0
- package/dist/product-management/modules/press-kit/schemas/index.js.map +1 -0
- package/dist/product-management/modules/press-kit/types/index.d.ts +73 -0
- package/dist/product-management/modules/press-kit/types/index.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/types/index.js +14 -0
- package/dist/product-management/modules/press-kit/types/index.js.map +1 -0
- package/dist/product-management/modules/products/components/ProductPlans.d.ts.map +1 -1
- package/dist/product-management/modules/products/components/ProductPlans.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,139 +1,139 @@
|
|
|
1
1
|
import { $ZodEncodeError as e, $constructor as t } from "../core/core.js";
|
|
2
2
|
import { clone as n, defineLazy as r, extend as i, issue as a, merge as o, mergeDefs as ee, normalizeParams as s, omit as c, partial as te, pick as ne, required as re, safeExtend as ie, shallowClone as l } from "../core/util.js";
|
|
3
|
-
import { $ZodArray as ae, $ZodBase64 as oe, $ZodBase64URL as se, $ZodBoolean as ce, $ZodCIDRv4 as le, $ZodCIDRv6 as ue, $ZodCUID as de, $ZodCUID2 as fe, $ZodCatch as pe, $ZodCustom as me, $ZodDefault as he, $ZodE164 as ge, $ZodEmail as _e, $ZodEmoji as ve, $ZodEnum as ye, $ZodExactOptional as be, $ZodGUID as xe, $ZodIPv4 as Se, $ZodIPv6 as Ce, $ZodIntersection as we, $ZodJWT as Te, $ZodKSUID as Ee, $ZodLiteral as De, $ZodNanoID as Oe, $ZodNever as
|
|
4
|
-
import { globalRegistry as
|
|
5
|
-
import { _array as
|
|
6
|
-
import { createStandardJSONSchemaMethod as
|
|
7
|
-
import { arrayProcessor as
|
|
8
|
-
import { date as
|
|
9
|
-
import { decode as
|
|
3
|
+
import { $ZodArray as ae, $ZodBase64 as oe, $ZodBase64URL as se, $ZodBoolean as ce, $ZodCIDRv4 as le, $ZodCIDRv6 as ue, $ZodCUID as de, $ZodCUID2 as fe, $ZodCatch as pe, $ZodCustom as me, $ZodDefault as he, $ZodE164 as ge, $ZodEmail as _e, $ZodEmoji as ve, $ZodEnum as ye, $ZodExactOptional as be, $ZodGUID as xe, $ZodIPv4 as Se, $ZodIPv6 as Ce, $ZodIntersection as we, $ZodJWT as Te, $ZodKSUID as Ee, $ZodLiteral as De, $ZodNanoID as Oe, $ZodNever as ke, $ZodNonOptional as u, $ZodNullable as d, $ZodNumber as f, $ZodNumberFormat as p, $ZodObjectJIT as m, $ZodOptional as h, $ZodPipe as g, $ZodPrefault as _, $ZodReadonly as v, $ZodRecord as y, $ZodString as b, $ZodStringFormat as x, $ZodTransform as S, $ZodType as C, $ZodULID as w, $ZodURL as Ae, $ZodUUID as je, $ZodUndefined as Me, $ZodUnion as Ne, $ZodUnknown as Pe, $ZodXID as Fe } from "../core/schemas.js";
|
|
4
|
+
import { globalRegistry as T } from "../core/registries.js";
|
|
5
|
+
import { _array as Ie, _base64 as Le, _base64url as Re, _boolean as ze, _cidrv4 as Be, _cidrv6 as Ve, _cuid as He, _cuid2 as Ue, _e164 as We, _email as Ge, _emoji as Ke, _endsWith as qe, _gt as E, _gte as D, _guid as O, _includes as Je, _int as Ye, _ipv4 as Xe, _ipv6 as Ze, _jwt as Qe, _ksuid as $e, _length as k, _lowercase as et, _lt as A, _lte as j, _maxLength as M, _minLength as N, _multipleOf as P, _nanoid as tt, _never as nt, _normalize as rt, _number as it, _overwrite as at, _refine as ot, _regex as st, _slugify as ct, _startsWith as lt, _string as ut, _superRefine as dt, _toLowerCase as ft, _toUpperCase as pt, _trim as mt, _ulid as ht, _undefined as gt, _unknown as _t, _uppercase as vt, _url as yt, _uuid as bt, _uuidv4 as xt, _uuidv6 as St, _uuidv7 as Ct, _xid as wt } from "../core/api.js";
|
|
6
|
+
import { createStandardJSONSchemaMethod as F, createToJSONSchemaMethod as Tt } from "../core/to-json-schema.js";
|
|
7
|
+
import { arrayProcessor as Et, booleanProcessor as Dt, catchProcessor as Ot, customProcessor as kt, defaultProcessor as At, enumProcessor as jt, intersectionProcessor as Mt, literalProcessor as Nt, neverProcessor as I, nonoptionalProcessor as Pt, nullableProcessor as Ft, numberProcessor as It, objectProcessor as Lt, optionalProcessor as L, pipeProcessor as Rt, prefaultProcessor as zt, readonlyProcessor as Bt, recordProcessor as Vt, stringProcessor as Ht, transformProcessor as Ut, undefinedProcessor as Wt, unionProcessor as Gt, unknownProcessor as Kt } from "../core/json-schema-processors.js";
|
|
8
|
+
import { date as qt, datetime as Jt, duration as Yt, time as Xt } from "./iso.js";
|
|
9
|
+
import { decode as Zt, decodeAsync as Qt, encode as $t, encodeAsync as en, parse as tn, parseAsync as nn, safeDecode as rn, safeDecodeAsync as an, safeEncode as on, safeEncodeAsync as sn, safeParse as cn, safeParseAsync as ln } from "./parse.js";
|
|
10
10
|
//#region node_modules/zod/v4/classic/schemas.js
|
|
11
|
-
var
|
|
12
|
-
input:
|
|
13
|
-
output:
|
|
14
|
-
} }), e.toJSONSchema =
|
|
11
|
+
var R = /* @__PURE__ */ t("ZodType", (e, t) => (C.init(e, t), Object.assign(e["~standard"], { jsonSchema: {
|
|
12
|
+
input: F(e, "input"),
|
|
13
|
+
output: F(e, "output")
|
|
14
|
+
} }), e.toJSONSchema = Tt(e, {}), e.def = t, e.type = t.type, Object.defineProperty(e, "_def", { value: t }), e.check = (...n) => e.clone(ee(t, { checks: [...t.checks ?? [], ...n.map((e) => typeof e == "function" ? { _zod: {
|
|
15
15
|
check: e,
|
|
16
16
|
def: { check: "custom" },
|
|
17
17
|
onattach: []
|
|
18
|
-
} } : e)] }), { parent: !0 }), e.with = e.check, e.clone = (t, r) => n(e, t, r), e.brand = () => e, e.register = ((t, n) => (t.add(e, n), e)), e.parse = (t, n) =>
|
|
18
|
+
} } : e)] }), { parent: !0 }), e.with = e.check, e.clone = (t, r) => n(e, t, r), e.brand = () => e, e.register = ((t, n) => (t.add(e, n), e)), e.parse = (t, n) => tn(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => cn(e, t, n), e.parseAsync = async (t, n) => nn(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => ln(e, t, n), e.spa = e.safeParseAsync, e.encode = (t, n) => $t(e, t, n), e.decode = (t, n) => Zt(e, t, n), e.encodeAsync = async (t, n) => en(e, t, n), e.decodeAsync = async (t, n) => Qt(e, t, n), e.safeEncode = (t, n) => on(e, t, n), e.safeDecode = (t, n) => rn(e, t, n), e.safeEncodeAsync = async (t, n) => sn(e, t, n), e.safeDecodeAsync = async (t, n) => an(e, t, n), e.refine = (t, n) => e.check(fr(t, n)), e.superRefine = (t) => e.check(pr(t)), e.overwrite = (t) => e.check(at(t)), e.optional = () => X(e), e.exactOptional = () => $n(e), e.nullable = () => Z(e), e.nullish = () => X(Z(e)), e.nonoptional = (t) => ar(e, t), e.array = () => K(e), e.or = (t) => Hn([e, t]), e.and = (t) => Wn(e, t), e.transform = (t) => $(e, Zn(t)), e.default = (t) => nr(e, t), e.prefault = (t) => ir(e, t), e.catch = (t) => sr(e, t), e.pipe = (t) => $(e, t), e.readonly = () => ur(e), e.describe = (t) => {
|
|
19
19
|
let n = e.clone();
|
|
20
|
-
return
|
|
20
|
+
return T.add(n, { description: t }), n;
|
|
21
21
|
}, Object.defineProperty(e, "description", {
|
|
22
22
|
get() {
|
|
23
|
-
return
|
|
23
|
+
return T.get(e)?.description;
|
|
24
24
|
},
|
|
25
25
|
configurable: !0
|
|
26
26
|
}), e.meta = (...t) => {
|
|
27
|
-
if (t.length === 0) return
|
|
27
|
+
if (t.length === 0) return T.get(e);
|
|
28
28
|
let n = e.clone();
|
|
29
|
-
return
|
|
30
|
-
}, e.isOptional = () => e.safeParse(void 0).success, e.isNullable = () => e.safeParse(null).success, e.apply = (t) => t(e), e)),
|
|
31
|
-
|
|
29
|
+
return T.add(n, t[0]), n;
|
|
30
|
+
}, e.isOptional = () => e.safeParse(void 0).success, e.isNullable = () => e.safeParse(null).success, e.apply = (t) => t(e), e)), z = /* @__PURE__ */ t("_ZodString", (e, t) => {
|
|
31
|
+
b.init(e, t), R.init(e, t), e._zod.processJSONSchema = (t, n, r) => Ht(e, t, n, r);
|
|
32
32
|
let n = e._zod.bag;
|
|
33
|
-
e.format = n.format ?? null, e.minLength = n.minimum ?? null, e.maxLength = n.maximum ?? null, e.regex = (...t) => e.check(
|
|
34
|
-
}),
|
|
35
|
-
|
|
33
|
+
e.format = n.format ?? null, e.minLength = n.minimum ?? null, e.maxLength = n.maximum ?? null, e.regex = (...t) => e.check(st(...t)), e.includes = (...t) => e.check(Je(...t)), e.startsWith = (...t) => e.check(lt(...t)), e.endsWith = (...t) => e.check(qe(...t)), e.min = (...t) => e.check(N(...t)), e.max = (...t) => e.check(M(...t)), e.length = (...t) => e.check(k(...t)), e.nonempty = (...t) => e.check(N(1, ...t)), e.lowercase = (t) => e.check(et(t)), e.uppercase = (t) => e.check(vt(t)), e.trim = () => e.check(mt()), e.normalize = (...t) => e.check(rt(...t)), e.toLowerCase = () => e.check(ft()), e.toUpperCase = () => e.check(pt()), e.slugify = () => e.check(ct());
|
|
34
|
+
}), un = /* @__PURE__ */ t("ZodString", (e, t) => {
|
|
35
|
+
b.init(e, t), z.init(e, t), e.email = (t) => e.check(Ge(fn, t)), e.url = (t) => e.check(yt(pn, t)), e.jwt = (t) => e.check(Qe(On, t)), e.emoji = (t) => e.check(Ke(mn, t)), e.guid = (t) => e.check(O(V, t)), e.uuid = (t) => e.check(bt(H, t)), e.uuidv4 = (t) => e.check(xt(H, t)), e.uuidv6 = (t) => e.check(St(H, t)), e.uuidv7 = (t) => e.check(Ct(H, t)), e.nanoid = (t) => e.check(tt(hn, t)), e.guid = (t) => e.check(O(V, t)), e.cuid = (t) => e.check(He(gn, t)), e.cuid2 = (t) => e.check(Ue(_n, t)), e.ulid = (t) => e.check(ht(vn, t)), e.base64 = (t) => e.check(Le(Tn, t)), e.base64url = (t) => e.check(Re(En, t)), e.xid = (t) => e.check(wt(yn, t)), e.ksuid = (t) => e.check($e(bn, t)), e.ipv4 = (t) => e.check(Xe(xn, t)), e.ipv6 = (t) => e.check(Ze(Sn, t)), e.cidrv4 = (t) => e.check(Be(Cn, t)), e.cidrv6 = (t) => e.check(Ve(wn, t)), e.e164 = (t) => e.check(We(Dn, t)), e.datetime = (t) => e.check(Jt(t)), e.date = (t) => e.check(qt(t)), e.time = (t) => e.check(Xt(t)), e.duration = (t) => e.check(Yt(t));
|
|
36
36
|
});
|
|
37
|
-
function
|
|
38
|
-
return
|
|
37
|
+
function dn(e) {
|
|
38
|
+
return ut(un, e);
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
|
|
42
|
-
}),
|
|
43
|
-
_e.init(e, t),
|
|
44
|
-
}),
|
|
45
|
-
xe.init(e, t),
|
|
46
|
-
}),
|
|
47
|
-
|
|
48
|
-
}),
|
|
49
|
-
|
|
50
|
-
}),
|
|
51
|
-
ve.init(e, t),
|
|
52
|
-
}),
|
|
53
|
-
Oe.init(e, t),
|
|
54
|
-
}),
|
|
55
|
-
de.init(e, t),
|
|
56
|
-
}),
|
|
57
|
-
fe.init(e, t),
|
|
58
|
-
}),
|
|
59
|
-
|
|
60
|
-
}),
|
|
61
|
-
|
|
62
|
-
}),
|
|
63
|
-
Ee.init(e, t),
|
|
64
|
-
}),
|
|
65
|
-
Se.init(e, t),
|
|
66
|
-
}),
|
|
67
|
-
Ce.init(e, t),
|
|
68
|
-
}),
|
|
69
|
-
le.init(e, t),
|
|
70
|
-
}),
|
|
71
|
-
ue.init(e, t),
|
|
72
|
-
}),
|
|
73
|
-
oe.init(e, t),
|
|
74
|
-
}),
|
|
75
|
-
se.init(e, t),
|
|
76
|
-
}),
|
|
77
|
-
ge.init(e, t),
|
|
78
|
-
}),
|
|
79
|
-
Te.init(e, t),
|
|
80
|
-
}),
|
|
81
|
-
|
|
40
|
+
var B = /* @__PURE__ */ t("ZodStringFormat", (e, t) => {
|
|
41
|
+
x.init(e, t), z.init(e, t);
|
|
42
|
+
}), fn = /* @__PURE__ */ t("ZodEmail", (e, t) => {
|
|
43
|
+
_e.init(e, t), B.init(e, t);
|
|
44
|
+
}), V = /* @__PURE__ */ t("ZodGUID", (e, t) => {
|
|
45
|
+
xe.init(e, t), B.init(e, t);
|
|
46
|
+
}), H = /* @__PURE__ */ t("ZodUUID", (e, t) => {
|
|
47
|
+
je.init(e, t), B.init(e, t);
|
|
48
|
+
}), pn = /* @__PURE__ */ t("ZodURL", (e, t) => {
|
|
49
|
+
Ae.init(e, t), B.init(e, t);
|
|
50
|
+
}), mn = /* @__PURE__ */ t("ZodEmoji", (e, t) => {
|
|
51
|
+
ve.init(e, t), B.init(e, t);
|
|
52
|
+
}), hn = /* @__PURE__ */ t("ZodNanoID", (e, t) => {
|
|
53
|
+
Oe.init(e, t), B.init(e, t);
|
|
54
|
+
}), gn = /* @__PURE__ */ t("ZodCUID", (e, t) => {
|
|
55
|
+
de.init(e, t), B.init(e, t);
|
|
56
|
+
}), _n = /* @__PURE__ */ t("ZodCUID2", (e, t) => {
|
|
57
|
+
fe.init(e, t), B.init(e, t);
|
|
58
|
+
}), vn = /* @__PURE__ */ t("ZodULID", (e, t) => {
|
|
59
|
+
w.init(e, t), B.init(e, t);
|
|
60
|
+
}), yn = /* @__PURE__ */ t("ZodXID", (e, t) => {
|
|
61
|
+
Fe.init(e, t), B.init(e, t);
|
|
62
|
+
}), bn = /* @__PURE__ */ t("ZodKSUID", (e, t) => {
|
|
63
|
+
Ee.init(e, t), B.init(e, t);
|
|
64
|
+
}), xn = /* @__PURE__ */ t("ZodIPv4", (e, t) => {
|
|
65
|
+
Se.init(e, t), B.init(e, t);
|
|
66
|
+
}), Sn = /* @__PURE__ */ t("ZodIPv6", (e, t) => {
|
|
67
|
+
Ce.init(e, t), B.init(e, t);
|
|
68
|
+
}), Cn = /* @__PURE__ */ t("ZodCIDRv4", (e, t) => {
|
|
69
|
+
le.init(e, t), B.init(e, t);
|
|
70
|
+
}), wn = /* @__PURE__ */ t("ZodCIDRv6", (e, t) => {
|
|
71
|
+
ue.init(e, t), B.init(e, t);
|
|
72
|
+
}), Tn = /* @__PURE__ */ t("ZodBase64", (e, t) => {
|
|
73
|
+
oe.init(e, t), B.init(e, t);
|
|
74
|
+
}), En = /* @__PURE__ */ t("ZodBase64URL", (e, t) => {
|
|
75
|
+
se.init(e, t), B.init(e, t);
|
|
76
|
+
}), Dn = /* @__PURE__ */ t("ZodE164", (e, t) => {
|
|
77
|
+
ge.init(e, t), B.init(e, t);
|
|
78
|
+
}), On = /* @__PURE__ */ t("ZodJWT", (e, t) => {
|
|
79
|
+
Te.init(e, t), B.init(e, t);
|
|
80
|
+
}), U = /* @__PURE__ */ t("ZodNumber", (e, t) => {
|
|
81
|
+
f.init(e, t), R.init(e, t), e._zod.processJSONSchema = (t, n, r) => It(e, t, n, r), e.gt = (t, n) => e.check(E(t, n)), e.gte = (t, n) => e.check(D(t, n)), e.min = (t, n) => e.check(D(t, n)), e.lt = (t, n) => e.check(A(t, n)), e.lte = (t, n) => e.check(j(t, n)), e.max = (t, n) => e.check(j(t, n)), e.int = (t) => e.check(W(t)), e.safe = (t) => e.check(W(t)), e.positive = (t) => e.check(E(0, t)), e.nonnegative = (t) => e.check(D(0, t)), e.negative = (t) => e.check(A(0, t)), e.nonpositive = (t) => e.check(j(0, t)), e.multipleOf = (t, n) => e.check(P(t, n)), e.step = (t, n) => e.check(P(t, n)), e.finite = () => e;
|
|
82
82
|
let n = e._zod.bag;
|
|
83
83
|
e.minValue = Math.max(n.minimum ?? -Infinity, n.exclusiveMinimum ?? -Infinity) ?? null, e.maxValue = Math.min(n.maximum ?? Infinity, n.exclusiveMaximum ?? Infinity) ?? null, e.isInt = (n.format ?? "").includes("int") || Number.isSafeInteger(n.multipleOf ?? .5), e.isFinite = !0, e.format = n.format ?? null;
|
|
84
84
|
});
|
|
85
|
-
function
|
|
86
|
-
return
|
|
85
|
+
function kn(e) {
|
|
86
|
+
return it(U, e);
|
|
87
87
|
}
|
|
88
|
-
var
|
|
89
|
-
|
|
88
|
+
var An = /* @__PURE__ */ t("ZodNumberFormat", (e, t) => {
|
|
89
|
+
p.init(e, t), U.init(e, t);
|
|
90
90
|
});
|
|
91
|
-
function
|
|
92
|
-
return
|
|
91
|
+
function W(e) {
|
|
92
|
+
return Ye(An, e);
|
|
93
93
|
}
|
|
94
|
-
var
|
|
95
|
-
ce.init(e, t),
|
|
94
|
+
var jn = /* @__PURE__ */ t("ZodBoolean", (e, t) => {
|
|
95
|
+
ce.init(e, t), R.init(e, t), e._zod.processJSONSchema = (t, n, r) => Dt(e, t, n, r);
|
|
96
96
|
});
|
|
97
|
-
function
|
|
98
|
-
return
|
|
97
|
+
function Mn(e) {
|
|
98
|
+
return ze(jn, e);
|
|
99
99
|
}
|
|
100
|
-
var
|
|
101
|
-
|
|
100
|
+
var Nn = /* @__PURE__ */ t("ZodUndefined", (e, t) => {
|
|
101
|
+
Me.init(e, t), R.init(e, t), e._zod.processJSONSchema = (t, n, r) => Wt(e, t, n, r);
|
|
102
102
|
});
|
|
103
|
-
function
|
|
104
|
-
return
|
|
103
|
+
function Pn(e) {
|
|
104
|
+
return gt(Nn, e);
|
|
105
105
|
}
|
|
106
|
-
var
|
|
107
|
-
|
|
106
|
+
var Fn = /* @__PURE__ */ t("ZodUnknown", (e, t) => {
|
|
107
|
+
Pe.init(e, t), R.init(e, t), e._zod.processJSONSchema = (t, n, r) => Kt(e, t, n, r);
|
|
108
108
|
});
|
|
109
|
-
function
|
|
110
|
-
return
|
|
109
|
+
function G() {
|
|
110
|
+
return _t(Fn);
|
|
111
111
|
}
|
|
112
|
-
var
|
|
113
|
-
|
|
112
|
+
var In = /* @__PURE__ */ t("ZodNever", (e, t) => {
|
|
113
|
+
ke.init(e, t), R.init(e, t), e._zod.processJSONSchema = (t, n, r) => I(e, t, n, r);
|
|
114
114
|
});
|
|
115
|
-
function
|
|
116
|
-
return
|
|
115
|
+
function Ln(e) {
|
|
116
|
+
return nt(In, e);
|
|
117
117
|
}
|
|
118
|
-
var
|
|
119
|
-
ae.init(e, t),
|
|
118
|
+
var Rn = /* @__PURE__ */ t("ZodArray", (e, t) => {
|
|
119
|
+
ae.init(e, t), R.init(e, t), e._zod.processJSONSchema = (t, n, r) => Et(e, t, n, r), e.element = t.element, e.min = (t, n) => e.check(N(t, n)), e.nonempty = (t) => e.check(N(1, t)), e.max = (t, n) => e.check(M(t, n)), e.length = (t, n) => e.check(k(t, n)), e.unwrap = () => e.element;
|
|
120
120
|
});
|
|
121
|
-
function
|
|
122
|
-
return
|
|
121
|
+
function K(e, t) {
|
|
122
|
+
return Ie(Rn, e, t);
|
|
123
123
|
}
|
|
124
124
|
var zn = /* @__PURE__ */ t("ZodObject", (e, t) => {
|
|
125
|
-
|
|
125
|
+
m.init(e, t), R.init(e, t), e._zod.processJSONSchema = (t, n, r) => Lt(e, t, n, r), r(e, "shape", () => t.shape), e.keyof = () => J(Object.keys(e._zod.def.shape)), e.catchall = (t) => e.clone({
|
|
126
126
|
...e._zod.def,
|
|
127
127
|
catchall: t
|
|
128
128
|
}), e.passthrough = () => e.clone({
|
|
129
129
|
...e._zod.def,
|
|
130
|
-
catchall:
|
|
130
|
+
catchall: G()
|
|
131
131
|
}), e.loose = () => e.clone({
|
|
132
132
|
...e._zod.def,
|
|
133
|
-
catchall:
|
|
133
|
+
catchall: G()
|
|
134
134
|
}), e.strict = () => e.clone({
|
|
135
135
|
...e._zod.def,
|
|
136
|
-
catchall:
|
|
136
|
+
catchall: Ln()
|
|
137
137
|
}), e.strip = () => e.clone({
|
|
138
138
|
...e._zod.def,
|
|
139
139
|
catchall: void 0
|
|
@@ -147,7 +147,7 @@ function Bn(e, t) {
|
|
|
147
147
|
});
|
|
148
148
|
}
|
|
149
149
|
var Vn = /* @__PURE__ */ t("ZodUnion", (e, t) => {
|
|
150
|
-
|
|
150
|
+
Ne.init(e, t), R.init(e, t), e._zod.processJSONSchema = (t, n, r) => Gt(e, t, n, r), e.options = t.options;
|
|
151
151
|
});
|
|
152
152
|
function Hn(e, t) {
|
|
153
153
|
return new Vn({
|
|
@@ -157,7 +157,7 @@ function Hn(e, t) {
|
|
|
157
157
|
});
|
|
158
158
|
}
|
|
159
159
|
var Un = /* @__PURE__ */ t("ZodIntersection", (e, t) => {
|
|
160
|
-
we.init(e, t),
|
|
160
|
+
we.init(e, t), R.init(e, t), e._zod.processJSONSchema = (t, n, r) => Mt(e, t, n, r);
|
|
161
161
|
});
|
|
162
162
|
function Wn(e, t) {
|
|
163
163
|
return new Un({
|
|
@@ -167,7 +167,7 @@ function Wn(e, t) {
|
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
169
|
var Gn = /* @__PURE__ */ t("ZodRecord", (e, t) => {
|
|
170
|
-
|
|
170
|
+
y.init(e, t), R.init(e, t), e._zod.processJSONSchema = (t, n, r) => Vt(e, t, n, r), e.keyType = t.keyType, e.valueType = t.valueType;
|
|
171
171
|
});
|
|
172
172
|
function Kn(e, t, n) {
|
|
173
173
|
return new Gn({
|
|
@@ -178,7 +178,7 @@ function Kn(e, t, n) {
|
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
180
|
var q = /* @__PURE__ */ t("ZodEnum", (e, t) => {
|
|
181
|
-
ye.init(e, t),
|
|
181
|
+
ye.init(e, t), R.init(e, t), e._zod.processJSONSchema = (t, n, r) => jt(e, t, n, r), e.enum = t.entries, e.options = Object.values(t.entries);
|
|
182
182
|
let n = new Set(Object.keys(t.entries));
|
|
183
183
|
e.extract = (e, r) => {
|
|
184
184
|
let i = {};
|
|
@@ -217,7 +217,7 @@ function qn(e, t) {
|
|
|
217
217
|
});
|
|
218
218
|
}
|
|
219
219
|
var Jn = /* @__PURE__ */ t("ZodLiteral", (e, t) => {
|
|
220
|
-
De.init(e, t),
|
|
220
|
+
De.init(e, t), R.init(e, t), e._zod.processJSONSchema = (t, n, r) => Nt(e, t, n, r), e.values = new Set(t.values), Object.defineProperty(e, "value", { get() {
|
|
221
221
|
if (t.values.length > 1) throw Error("This schema contains multiple valid literal values. Use `.values` instead.");
|
|
222
222
|
return t.values[0];
|
|
223
223
|
} });
|
|
@@ -230,7 +230,7 @@ function Yn(e, t) {
|
|
|
230
230
|
});
|
|
231
231
|
}
|
|
232
232
|
var Xn = /* @__PURE__ */ t("ZodTransform", (t, n) => {
|
|
233
|
-
|
|
233
|
+
S.init(t, n), R.init(t, n), t._zod.processJSONSchema = (e, n, r) => Ut(t, e, n, r), t._zod.parse = (r, i) => {
|
|
234
234
|
if (i.direction === "backward") throw new e(t.constructor.name);
|
|
235
235
|
r.addIssue = (e) => {
|
|
236
236
|
if (typeof e == "string") r.issues.push(a(e, r.value, n));
|
|
@@ -250,7 +250,7 @@ function Zn(e) {
|
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
252
|
var Y = /* @__PURE__ */ t("ZodOptional", (e, t) => {
|
|
253
|
-
|
|
253
|
+
h.init(e, t), R.init(e, t), e._zod.processJSONSchema = (t, n, r) => L(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
|
|
254
254
|
});
|
|
255
255
|
function X(e) {
|
|
256
256
|
return new Y({
|
|
@@ -259,7 +259,7 @@ function X(e) {
|
|
|
259
259
|
});
|
|
260
260
|
}
|
|
261
261
|
var Qn = /* @__PURE__ */ t("ZodExactOptional", (e, t) => {
|
|
262
|
-
be.init(e, t),
|
|
262
|
+
be.init(e, t), R.init(e, t), e._zod.processJSONSchema = (t, n, r) => L(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
|
|
263
263
|
});
|
|
264
264
|
function $n(e) {
|
|
265
265
|
return new Qn({
|
|
@@ -268,7 +268,7 @@ function $n(e) {
|
|
|
268
268
|
});
|
|
269
269
|
}
|
|
270
270
|
var er = /* @__PURE__ */ t("ZodNullable", (e, t) => {
|
|
271
|
-
|
|
271
|
+
d.init(e, t), R.init(e, t), e._zod.processJSONSchema = (t, n, r) => Ft(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
|
|
272
272
|
});
|
|
273
273
|
function Z(e) {
|
|
274
274
|
return new er({
|
|
@@ -277,7 +277,7 @@ function Z(e) {
|
|
|
277
277
|
});
|
|
278
278
|
}
|
|
279
279
|
var tr = /* @__PURE__ */ t("ZodDefault", (e, t) => {
|
|
280
|
-
he.init(e, t),
|
|
280
|
+
he.init(e, t), R.init(e, t), e._zod.processJSONSchema = (t, n, r) => At(e, t, n, r), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
|
|
281
281
|
});
|
|
282
282
|
function nr(e, t) {
|
|
283
283
|
return new tr({
|
|
@@ -289,7 +289,7 @@ function nr(e, t) {
|
|
|
289
289
|
});
|
|
290
290
|
}
|
|
291
291
|
var rr = /* @__PURE__ */ t("ZodPrefault", (e, t) => {
|
|
292
|
-
|
|
292
|
+
_.init(e, t), R.init(e, t), e._zod.processJSONSchema = (t, n, r) => zt(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
|
|
293
293
|
});
|
|
294
294
|
function ir(e, t) {
|
|
295
295
|
return new rr({
|
|
@@ -301,7 +301,7 @@ function ir(e, t) {
|
|
|
301
301
|
});
|
|
302
302
|
}
|
|
303
303
|
var Q = /* @__PURE__ */ t("ZodNonOptional", (e, t) => {
|
|
304
|
-
|
|
304
|
+
u.init(e, t), R.init(e, t), e._zod.processJSONSchema = (t, n, r) => Pt(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
|
|
305
305
|
});
|
|
306
306
|
function ar(e, t) {
|
|
307
307
|
return new Q({
|
|
@@ -311,7 +311,7 @@ function ar(e, t) {
|
|
|
311
311
|
});
|
|
312
312
|
}
|
|
313
313
|
var or = /* @__PURE__ */ t("ZodCatch", (e, t) => {
|
|
314
|
-
pe.init(e, t),
|
|
314
|
+
pe.init(e, t), R.init(e, t), e._zod.processJSONSchema = (t, n, r) => Ot(e, t, n, r), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap;
|
|
315
315
|
});
|
|
316
316
|
function sr(e, t) {
|
|
317
317
|
return new or({
|
|
@@ -321,7 +321,7 @@ function sr(e, t) {
|
|
|
321
321
|
});
|
|
322
322
|
}
|
|
323
323
|
var cr = /* @__PURE__ */ t("ZodPipe", (e, t) => {
|
|
324
|
-
|
|
324
|
+
g.init(e, t), R.init(e, t), e._zod.processJSONSchema = (t, n, r) => Rt(e, t, n, r), e.in = t.in, e.out = t.out;
|
|
325
325
|
});
|
|
326
326
|
function $(e, t) {
|
|
327
327
|
return new cr({
|
|
@@ -331,7 +331,7 @@ function $(e, t) {
|
|
|
331
331
|
});
|
|
332
332
|
}
|
|
333
333
|
var lr = /* @__PURE__ */ t("ZodReadonly", (e, t) => {
|
|
334
|
-
|
|
334
|
+
v.init(e, t), R.init(e, t), e._zod.processJSONSchema = (t, n, r) => Bt(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
|
|
335
335
|
});
|
|
336
336
|
function ur(e) {
|
|
337
337
|
return new lr({
|
|
@@ -340,15 +340,15 @@ function ur(e) {
|
|
|
340
340
|
});
|
|
341
341
|
}
|
|
342
342
|
var dr = /* @__PURE__ */ t("ZodCustom", (e, t) => {
|
|
343
|
-
me.init(e, t),
|
|
343
|
+
me.init(e, t), R.init(e, t), e._zod.processJSONSchema = (t, n, r) => kt(e, t, n, r);
|
|
344
344
|
});
|
|
345
345
|
function fr(e, t = {}) {
|
|
346
|
-
return
|
|
346
|
+
return ot(dr, e, t);
|
|
347
347
|
}
|
|
348
348
|
function pr(e) {
|
|
349
|
-
return
|
|
349
|
+
return dt(e);
|
|
350
350
|
}
|
|
351
351
|
//#endregion
|
|
352
|
-
export {
|
|
352
|
+
export { B as ZodStringFormat, J as _enum, Pn as _undefined, K as array, Mn as boolean, Yn as literal, qn as nativeEnum, kn as number, Bn as object, Kn as record, dn as string };
|
|
353
353
|
|
|
354
354
|
//# sourceMappingURL=schemas.js.map
|