@redocly/replay 0.29.0-next.3 → 0.29.0-next.5
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/oauth2-redirect.cjs +1 -1
- package/dist/oauth2-redirect.js +1 -1
- package/dist/{replay-AiChatProvider-C5p3nTV1.js → replay-AiChatProvider-CMWF3IYp.js} +1 -1
- package/dist/{replay-AiChatProvider-Bnz0LDFD.js → replay-AiChatProvider-DUR0_fHq.js} +6 -6
- package/dist/{replay-AiChatSqliteDBStorage-DYxoSZak.js → replay-AiChatSqliteDBStorage-CEltYx94.js} +1 -1
- package/dist/{replay-AiChatSqliteDBStorage-Dfbp6Mt_.js → replay-AiChatSqliteDBStorage-CITb7hSz.js} +1 -1
- package/dist/{replay-AiPanel-BSg5Bap4.js → replay-AiPanel-CYHXUjMI.js} +1 -1
- package/dist/{replay-AiPanel-C0E1A47H.js → replay-AiPanel-DbiJfTWy.js} +4 -4
- package/dist/{replay-FileWatcher-Ba9Ob_Sy.js → replay-FileWatcher-Bs6dX18v.js} +1 -1
- package/dist/{replay-FileWatcher-BiAGOR1Z.js → replay-FileWatcher-Ds_JSG57.js} +2 -2
- package/dist/{replay-SemanticSearchService-sIjG5Wxe.js → replay-SemanticSearchService-CdF1TQ_0.js} +1 -1
- package/dist/{replay-SemanticSearchService-IInvoSoP.js → replay-SemanticSearchService-CeHFhNDz.js} +1 -1
- package/dist/{replay-SqliteDBStorage-C-ovuJna.js → replay-SqliteDBStorage-BFfjCMEn.js} +1 -1
- package/dist/{replay-SqliteDBStorage-DMoeVRXU.js → replay-SqliteDBStorage-BRc6vHai.js} +1 -1
- package/dist/{replay-TauriFileSystemAdapter-DDo2h7gX.js → replay-TauriFileSystemAdapter-OQ2SMUiS.js} +1 -1
- package/dist/{replay-TauriFileSystemAdapter-CB9S1PNT.js → replay-TauriFileSystemAdapter-Z0n8Fot4.js} +1 -1
- package/dist/{replay-TauriRootStorage-CR1PyBgZ.js → replay-TauriRootStorage-C9pPtxdD.js} +2 -2
- package/dist/{replay-TauriRootStorage-BX-XrEN-.js → replay-TauriRootStorage-CIPk_4D6.js} +1 -1
- package/dist/{replay-agent-loop-4YtdgkDh.js → replay-agent-loop-ByI1Wra6.js} +3 -3
- package/dist/{replay-agent-loop-BmoYEhOB.js → replay-agent-loop-qMZ-yh7C.js} +1 -1
- package/dist/{replay-ai-chat-mappers-42FEVsfw.js → replay-ai-chat-mappers-BJG4qsVh.js} +1 -1
- package/dist/{replay-ai-chat-mappers-CgjhiNr7.js → replay-ai-chat-mappers-BhXui_cP.js} +1 -1
- package/dist/{replay-create-model-kF4veQPK.js → replay-create-model-DT8aanzL.js} +3 -3
- package/dist/{replay-create-model-4Yknbfme.js → replay-create-model-nf-dFfMt.js} +3 -3
- package/dist/{replay-db-B3tQE-B9.js → replay-db-B7DOUIxd.js} +1 -1
- package/dist/{replay-db-_hwn1n5t.js → replay-db-CEncswPh.js} +1 -1
- package/dist/{replay-external-resolver-DS7qAi0G.js → replay-external-resolver-BO-EH2ei.js} +2 -2
- package/dist/{replay-external-resolver-DX5JrdGB.js → replay-external-resolver-CMQ9upb6.js} +1 -1
- package/dist/{replay-index-CtxNTrRQ.js → replay-index-BNjWkfVs.js} +1 -1
- package/dist/{replay-index-BYEUJTGe.js → replay-index-BZZRT4XV.js} +1 -1
- package/dist/{replay-index-DD1leCQo.js → replay-index-CBonfX4Z.js} +1 -1
- package/dist/replay-index-CFwGH3xH.js +4 -0
- package/dist/{replay-index-KN9FLfwz.js → replay-index-DfpfSyMZ.js} +15716 -15612
- package/dist/replay-index-DiLsdDeo.js +1 -0
- package/dist/{replay-index-BDRC1QoR.js → replay-index-Dlmw0x6l.js} +1120 -1100
- package/dist/{replay-index-Bwbd4CsO.js → replay-index-Dr16XpGK.js} +146 -139
- package/dist/{replay-lint-C3ireP5A.js → replay-lint-BfS0UNDE.js} +838 -831
- package/dist/{replay-lint-BvndGL38.js → replay-lint-DPvfVFm_.js} +48 -48
- package/dist/{replay-lint-graphql-CK8-ZL5Q.js → replay-lint-graphql-D6-d3ArO.js} +1 -1
- package/dist/{replay-lint-graphql-DKP9oX8y.js → replay-lint-graphql-DeG9a5xu.js} +2 -2
- package/dist/replay-oauth2-redirect-handler-BfZRvm6l.js +4 -0
- package/dist/{replay-oauth2-redirect-handler-CqKZB3aV.js → replay-oauth2-redirect-handler-Bq6bpZMm.js} +1 -1
- package/dist/{replay-periodic-revalidation-chHSyw20.js → replay-periodic-revalidation-BPCrKV7q.js} +1 -1
- package/dist/{replay-periodic-revalidation-BcWBqn6g.js → replay-periodic-revalidation-DC30GN6O.js} +1 -1
- package/dist/{replay-resolve-B1Kvf3fM.js → replay-resolve-B-ubny1s.js} +1 -1
- package/dist/{replay-resolve-DC-rmKvK.js → replay-resolve-CgA90BKO.js} +1 -1
- package/dist/{replay-respect-run-DDZ9eF0k.js → replay-respect-run-DU4lsMa5.js} +430 -421
- package/dist/{replay-respect-run-C24QylJ-.js → replay-respect-run-FINRH3Fr.js} +21 -21
- package/dist/{replay-tauri-path-DBSmio5_.js → replay-tauri-path-1LJEbhgj.js} +1 -1
- package/dist/{replay-tauri-path-Bz_q3KUG.js → replay-tauri-path-DRie4WYN.js} +2 -2
- package/dist/{replay-useAiChatQueries-C_GZ_b68.js → replay-useAiChatQueries-AyEiBMVh.js} +2 -2
- package/dist/{replay-useAiChatQueries-DQks2tVS.js → replay-useAiChatQueries-DqmuaoyJ.js} +5 -5
- package/dist/{replay-validate-key-DScTTPU4.js → replay-validate-key-Dn0a7PBu.js} +1 -1
- package/dist/{replay-validate-key-c2nCLxiG.js → replay-validate-key-qLqRQU88.js} +2 -2
- package/dist/replay.cjs +1 -1
- package/dist/replay.d.ts +7 -0
- package/dist/replay.js +2 -2
- package/package.json +4 -4
- package/dist/replay-index-CHdCQ_zw.js +0 -4
- package/dist/replay-index-r6bsSAe6.js +0 -1
- package/dist/replay-oauth2-redirect-handler-Bqw5UUvl.js +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a5 as ne, V as xr, bI as Lp, p as Up, a4 as Ne, bJ as Pd, bK as Ed, bL as $d, G as Ad, bM as wo } from "./replay-index-
|
|
2
|
-
import { l as he, o as me, f as dr, b as ze, n as xo, e as Rd, i as Re, L as
|
|
3
|
-
function
|
|
1
|
+
import { a5 as ne, V as xr, bI as Lp, p as Up, a4 as Ne, bJ as Pd, bK as Ed, bL as $d, G as Ad, bM as wo } from "./replay-index-DfpfSyMZ.js";
|
|
2
|
+
import { l as he, o as me, f as dr, b as ze, n as xo, e as Rd, i as Re, L as St, q as _d, j as tt, S as Fp, s as Td, p as Od, t as Zi, c as rt, v as Je, Y as zp, w as es, x as pr, h as kd, y as Ui, z as Vo, A as Fi, C as Id, D as qd, E as Cd, a as It, B as Mt, m as ts, g as Md, k as Bp, F as jd, G as Vp, d as Dd } from "./replay-resolve-CgA90BKO.js";
|
|
3
|
+
function $t(e, t) {
|
|
4
4
|
let r, n;
|
|
5
5
|
if (e === t)
|
|
6
6
|
return !0;
|
|
@@ -11,14 +11,14 @@ function Et(e, t) {
|
|
|
11
11
|
return e.toString() === t.toString();
|
|
12
12
|
if (r === Array) {
|
|
13
13
|
if ((n = e.length) === t.length)
|
|
14
|
-
for (; n-- &&
|
|
14
|
+
for (; n-- && $t(e[n], t[n]); )
|
|
15
15
|
;
|
|
16
16
|
return n === -1;
|
|
17
17
|
}
|
|
18
18
|
if (!r || typeof e == "object") {
|
|
19
19
|
n = 0;
|
|
20
20
|
for (r in e)
|
|
21
|
-
if (Object.prototype.hasOwnProperty.call(e, r) && ++n && !Object.prototype.hasOwnProperty.call(t, r) || !(r in t) ||
|
|
21
|
+
if (Object.prototype.hasOwnProperty.call(e, r) && ++n && !Object.prototype.hasOwnProperty.call(t, r) || !(r in t) || !$t(e[r], t[r]))
|
|
22
22
|
return !1;
|
|
23
23
|
return Object.keys(t).length === n;
|
|
24
24
|
}
|
|
@@ -342,7 +342,7 @@ function Ud() {
|
|
|
342
342
|
}
|
|
343
343
|
var Fd = Ud();
|
|
344
344
|
const Kp = /* @__PURE__ */ xr(Fd);
|
|
345
|
-
function
|
|
345
|
+
function KR(e, t, r) {
|
|
346
346
|
return e.split(" ").map((n) => Kp(n, t, r)).join(" ");
|
|
347
347
|
}
|
|
348
348
|
function zd(e) {
|
|
@@ -5058,19 +5058,19 @@ const Bd = /^[0-9][0-9Xx]{2}$/, Vd = {
|
|
|
5058
5058
|
NamedExamplePairingObjects: me("ExamplePairing"),
|
|
5059
5059
|
NamedTags: me("Tag")
|
|
5060
5060
|
};
|
|
5061
|
-
var sl = { hide: { type: "boolean" }, component: { type: "string", enum: ["radio", "checkbox"] }, label: { type: "string" }, items: { type: "array", items: { type: "string" } } }, tr = { type: "object", properties: sl, additionalProperties: !1 }, Pb = { type: "object", properties: { hide: { type: "boolean" }, label: { type: "string" }, placeholder: { type: "string" } }, additionalProperties: !1 }, Sr = { type: "object", properties: { hide: { type: "boolean" }, type: { type: "string", enum: ["rating", "sentiment", "comment", "reasons", "mood", "scale"] }, settings: { type: "object", properties: { label: { type: "string" }, submitText: { type: "string" }, buttonText: { type: "string" }, component: { type: "string", enum: ["radio", "checkbox"] }, items: { type: "array", items: { type: "string" }, minItems: 1 }, leftScaleLabel: { type: "string" }, rightScaleLabel: { type: "string" }, reasons: { type: "object", properties: { ...sl, like: tr, dislike: tr, satisfied: tr, neutral: tr, dissatisfied: tr }, additionalProperties: !1 }, comment: { type: "object", properties: { hide: { type: "boolean" }, label: { type: "string" }, likeLabel: { type: "string" }, dislikeLabel: { type: "string" }, satisfiedLabel: { type: "string" }, neutralLabel: { type: "string" }, dissatisfiedLabel: { type: "string" } }, additionalProperties: !1 }, optionalEmail: Pb }, additionalProperties: !1 } }, additionalProperties: !1 }, Eb = { type: "object", properties: { languages: { type: "array", items: { type: "object", properties: { lang: { type: "string" }, label: { type: "string" }, options: { type: "object", properties: { indent: { type: "string" }, withImports: { type: "boolean" }, withComments: { type: "boolean" }, binary: { type: "boolean" }, credentials: { type: "string", enum: ["omit", "same-origin", "include"] } }, additionalProperties: !1 } }, required: ["lang"], additionalProperties: !1 } }, skipOptionalParameters: { type: "boolean" }, withOAuth2Call: { type: "boolean" } }, additionalProperties: !1 }, ps = { type: "array", items: { type: "object", properties: { title: { type: "string" }, url: { type: "string" } }, required: ["url"], additionalProperties: !1 } }, zi = { type: "object", properties: { licenseKey: { type: "string" }, hideLoading: { type: "boolean" }, feedback: Sr, hideReplay: { type: "boolean" }, oAuth2RedirectURI: { type: "string" }, corsProxyUrl: { type: "string" }, sortRequiredPropsFirst: { type: "boolean" }, sanitize: { type: "boolean" }, hideDownloadButtons: { type: "boolean" }, downloadUrls: ps, onlyRequiredInSamples: { type: "boolean" }, generatedSamplesMaxDepth: { oneOf: [{ type: "number" }, { type: "string" }] }, showExtensions: { oneOf: [{ type: "boolean" }, { type: "string" }, { type: "array", items: { type: "string" } }] }, hideSchemaTitles: { type: "boolean" }, jsonSamplesExpandLevel: { oneOf: [{ type: "number" }, { type: "string" }] }, schemasExpansionLevel: { oneOf: [{ type: "number" }, { type: "string" }] }, mockServer: { type: "object", properties: { url: { type: "string" }, position: { type: "string", enum: ["first", "last", "replace", "off"] }, description: { type: "string" } } }, maxDisplayedEnumValues: { type: "number" }, schemaDefinitionsTagName: { type: "string" }, layout: { type: "string", enum: ["stacked", "three-panel"] }, hideInfoMetadata: { type: "boolean" }, events: { type: "object" }, skipBundle: { type: "boolean" }, routingBasePath: { type: "string" }, codeSamples: Eb, ignoreNamedSchemas: { oneOf: [{ type: "array", items: { type: "string" } }, { type: "string" }] }, hidePropertiesPrefix: { type: "boolean" }, excludeFromSearch: { type: "boolean" }, showSchemaCatalogLinks: { type: "boolean" } }, additionalProperties: !1 }, Dt = { type: "object", properties: { includeByName: { type: "array", items: { type: "string" } }, excludeByName: { type: "array", items: { type: "string" } } }, additionalProperties: !1 }, $b = { type: "object", properties: { name: { type: "string" }, items: Dt, queries: Dt, mutations: Dt, subscriptions: Dt, types: Dt, directives: Dt }, required: ["name"], additionalProperties: !1 }, Ab = { properties: { requireExactGroups: { type: "boolean" }, groups: { type: "array", items: $b }, otherItemsGroupName: { type: "string" } } }, Rb = { type: "object", properties: { name: { type: "string" }, url: { type: "string", format: "uri" }, email: { type: "string", format: "email" } }, additionalProperties: !1 }, _b = { type: "object", properties: { name: { type: "string" }, url: { type: "string", format: "uri" }, identifier: { type: "string" } }, additionalProperties: !1 }, Tb = { type: "object", properties: { title: { type: "string" }, version: { type: "string" }, description: { type: "string" }, termsOfService: { type: "string", format: "uri" }, contact: Rb, license: _b }, additionalProperties: !1 }, to = { type: "object", properties: { menu: { type: "object", properties: { ...Ab.properties }, additionalProperties: !1 }, downloadUrls: ps, apiLogo: { type: "object", properties: { imageUrl: { type: "string" }, href: { type: "string" }, altText: { type: "string" }, backgroundColor: { type: "string" } } }, jsonSamplesDepth: { type: "number" }, samplesMaxInlineArgs: { type: "number" }, licenseKey: { type: "string" }, fieldExpandLevel: { type: "number" }, baseUrlPath: { type: "string" }, metadata: { type: "object", properties: { apiId: { type: "string" } }, additionalProperties: !0 }, feedback: Sr, layout: { type: "string", enum: ["stacked", "three-panel"] }, showBuiltInScalars: { type: "boolean" }, showBuiltInDirectives: { type: "boolean" }, excludeFromSearch: { type: "boolean" }, info: Tb }, additionalProperties: !1 }, Ob = { type: "object", properties: { downloadUrls: ps, apiLogo: { type: "object", properties: { imageUrl: { type: "string" }, href: { type: "string" }, altText: { type: "string" }, backgroundColor: { type: "string" } } }, jsonSamplesDepth: { type: "number" }, excludeFromSearch: { type: "boolean" }, samplesMaxInlineArgs: { type: "number" }, fieldExpandLevel: { type: "number" }, baseUrlPath: { type: "string" }, feedback: Sr, layout: { type: "string", enum: ["stacked", "three-panel"] } }, additionalProperties: !1 }, kb = { type: "object", properties: { label: { type: "string" }, lang: { type: "string", enum: ["curl", "C#", "Go", "Java", "Java8+Apache", "JavaScript", "Node.js", "PHP", "Python", "R", "Ruby"] } }, required: ["lang"] }, Ib = { type: "object", properties: { enum: { type: "string" }, enumSingleValue: { type: "string" }, enumArray: { type: "string" }, default: { type: "string" }, deprecated: { type: "string" }, example: { type: "string" }, examples: { type: "string" }, nullable: { type: "string" }, recursive: { type: "string" }, arrayOf: { type: "string" }, webhook: { type: "string" }, authorizations: { type: "string" }, tryItAuthBasicUsername: { type: "string" }, tryItAuthBasicPassword: { type: "string" } } }, _s = { type: "object", properties: { label: { type: "string" }, link: { type: "string" }, target: { type: "string" } }, required: ["label", "link"] }, qb = { type: "object", properties: { beforeInfo: { type: "array", items: _s }, end: { type: "array", items: _s } } }, Ot = { type: "object", properties: { main: { type: "string" }, light: { type: "string" }, dark: { type: "string" }, contrastText: { type: "string" } } }, Cr = { type: "object", properties: { backgroundColor: { type: "string" }, borderColor: { type: "string" }, color: { type: "string" }, tabTextColor: { type: "string" } } }, Cb = { type: "object", properties: So(Ot.properties, ["light", "dark"]) }, Mb = { type: "object", properties: { basic: { type: "string" }, delete: { type: "string" }, get: { type: "string" }, head: { type: "string" }, link: { type: "string" }, options: { type: "string" }, patch: { type: "string" }, post: { type: "string" }, put: { type: "string" } } }, jb = { type: "object", properties: { error: Cr, info: Cr, redirect: Cr, success: Cr } }, Db = { type: "object", properties: Gt(Ot.properties, ["dark"]) }, Nb = { type: "object", properties: { primary: { type: "string" }, secondary: { type: "string" }, light: { type: "string" } } }, Lb = { type: "object", properties: { accent: Ot, border: Cb, error: Ot, http: Mb, primary: Ot, responses: jb, secondary: Db, success: Ot, text: Nb, tonalOffset: { type: "number" }, warning: Ot } }, Mr = { type: "object", properties: { fontSize: { type: "string" }, padding: { type: "string" }, minWidth: { type: "string" } } }, Ub = { type: "object", properties: { small: Mr, medium: Mr, large: Mr, xlarge: Mr } }, ft = { type: "object", properties: { fontFamily: { type: "string" }, fontSize: { type: "string" }, fontWeight: { type: "string" }, lineHeight: { type: "string" } } }, Fb = { type: "object", properties: { ...Gt(ft.properties, ["fontSize", "lineHeight"]), borderRadius: { type: "string" }, hoverStyle: { type: "string" }, boxShadow: { type: "string" }, hoverBoxShadow: { type: "string" }, sizes: Ub } }, Ts = { type: "object", properties: So(ft.properties, ["fontSize", "lineHeight"]) }, zb = { type: "object", properties: { medium: Ts, small: Ts } }, Bb = { type: "object", properties: { ...Gt(ft.properties, ["fontSize", "lineHeight"]), borderRadius: { type: "string" }, color: { type: "string" }, sizes: zb } }, Vb = { type: "object", properties: { top: { type: "string" }, width: { type: "string" }, height: { type: "string" } } }, Hb = { type: "object", properties: { borderRadius: { type: "string" }, backgroundColor: { type: "string" } } }, Os = { type: "object", properties: { fullWidth: { type: "boolean" } } }, Kb = { type: "object", properties: { buttons: Fb, httpBadges: Bb, layoutControls: Vb, panels: Hb, tryItButton: Os, tryItSendButton: Os } }, ro = { type: "object", properties: { small: { type: "string" }, medium: { type: "string" }, large: { type: "string" } } }, Wb = { type: "object", properties: { maxWidth: ro } }, Qb = { type: "object", properties: { maxWidth: ro, middlePanelMaxWidth: ro } }, Gb = { type: "object", properties: { showDarkRightPanel: { type: "boolean" }, stacked: Wb, "three-panel": Qb } }, ks = { type: "object", properties: { backgroundColor: { type: "string" }, border: { type: "string" } } }, Yb = { type: "object", properties: { breakFieldNames: { type: "boolean" }, caretColor: { type: "string" }, caretSize: { type: "string" }, constraints: ks, defaultDetailsWidth: { type: "string" }, examples: ks, labelsTextSize: { type: "string" }, linesColor: { type: "string" }, nestedBackground: { type: "string" }, nestingSpacing: { type: "string" }, requireLabelColor: { type: "string" }, typeNameColor: { type: "string" }, typeTitleColor: { type: "string" } } }, al = { type: "object", properties: { subItemsColor: { type: "string" }, textTransform: { type: "string" }, fontWeight: { type: "string" } } }, Jb = { type: "object", properties: So(al.properties, ["textTransform"]) }, Xb = { type: "object", properties: { unit: { type: "number" }, paddingHorizontal: { type: "string" }, paddingVertical: { type: "string" }, offsetTop: { type: "string" }, offsetLeft: { type: "string" }, offsetNesting: { type: "string" } } }, Zb = { type: "object", properties: { ...Gt(ft.properties, ["fontWeight", "lineHeight"]), activeBgColor: { type: "string" }, activeTextColor: { type: "string" }, backgroundColor: { type: "string" }, borderRadius: { type: "string" }, breakPath: { type: "boolean" }, caretColor: { type: "string" }, caretSize: { type: "string" }, groupItems: al, level1items: Jb, rightLineColor: { type: "string" }, separatorLabelColor: { type: "string" }, showAtBreakpoint: { type: "string" }, spacing: Xb, textColor: { type: "string" }, width: { type: "string" } } }, jr = { type: "object", properties: { ...ft.properties, color: { type: "string" }, transform: { type: "string" } } }, ev = { type: "object", properties: { ...ft.properties, backgroundColor: { type: "string" }, color: { type: "string" }, wordBreak: { type: "string", enum: ["break-all", "break-word", "keep-all", "normal", "revert", "unset", "inherit", "initial"] }, wrap: { type: "boolean" } } }, tv = { type: "object", properties: Gt(ft.properties, ["fontSize"]) }, rv = { type: "object", properties: { color: { type: "string" }, hover: { type: "string" }, textDecoration: { type: "string" }, hoverTextDecoration: { type: "string" }, visited: { type: "string" } } }, nv = { type: "object", properties: { code: ev, fieldName: ft, ...So(ft.properties, ["fontSize", "fontFamily"]), fontWeightBold: { type: "string" }, fontWeightLight: { type: "string" }, fontWeightRegular: { type: "string" }, heading1: jr, heading2: jr, heading3: jr, headings: tv, lineHeight: { type: "string" }, links: rv, optimizeSpeed: { type: "boolean" }, rightPanelHeading: jr, smoothing: { type: "string", enum: ["auto", "none", "antialiased", "subpixel-antialiased", "grayscale"] } } }, ov = { type: "object", properties: { color: { type: "string" }, ...Gt(ft.properties, ["fontWeight"]) } }, iv = { type: "object", properties: { backgroundColor: { type: "string" }, borderRadius: { type: "string" }, tokens: ov } }, sv = { type: "object", properties: { gutter: { type: "string" }, maxHeight: { type: "string" }, maxWidth: { type: "string" } } }, av = { type: "object", properties: { backgroundColor: { type: "string" }, color: { type: "string" } } }, Is = { type: "object", properties: { custom: { type: "string" } } }, cv = { type: "object", properties: { DownloadButton: Is, NextSectionButton: Is } }, pv = { type: "object", properties: { backgroundColor: { type: "string" }, panelBackgroundColor: { type: "string" }, panelControlsBackgroundColor: { type: "string" }, showAtBreakpoint: { type: "string" }, textColor: { type: "string" }, width: { type: "string" } } }, lv = { type: "object", properties: { borderRadius: { type: "string" } } }, uv = { type: "object", properties: { sectionHorizontal: { type: "number" }, sectionVertical: { type: "number" }, unit: { type: "number" } } }, dv = { type: "object", properties: { breakpoints: ro, codeBlock: iv, colors: Lb, components: Kb, layout: Gb, logo: sv, fab: av, overrides: cv, rightPanel: pv, schema: Yb, shape: lv, sidebar: Zb, spacing: uv, typography: nv, links: { type: "object", properties: { color: { type: "string" } } }, codeSample: { type: "object", properties: { backgroundColor: { type: "string" } } } } }, fv = { type: "object", properties: { skipOptionalParameters: { type: "boolean" }, languages: { type: "array", items: kb } }, required: ["languages"] }, mv = { properties: { theme: dv, ctrlFHijack: { type: "boolean" }, defaultSampleLanguage: { type: "string" }, disableDeepLinks: { type: "boolean" }, disableSearch: { type: "boolean" }, disableSidebar: { type: "boolean" }, downloadDefinitionUrl: { type: "string" }, expandDefaultServerVariables: { type: "boolean" }, enumSkipQuotes: { type: "boolean" }, expandDefaultRequest: { type: "boolean" }, expandDefaultResponse: { type: "boolean" }, expandResponses: { type: "string" }, expandSingleSchemaField: { type: "boolean" }, generateCodeSamples: fv, generatedPayloadSamplesMaxDepth: { type: "number" }, hideDownloadButton: { type: "boolean" }, hideHostname: { type: "boolean" }, hideInfoSection: { type: "boolean" }, hideLogo: { type: "boolean" }, hideRequestPayloadSample: { type: "boolean" }, hideRightPanel: { type: "boolean" }, hideSchemaPattern: { type: "boolean" }, hideSingleRequestSampleTab: { type: "boolean" }, hideSecuritySection: { type: "boolean" }, hideTryItPanel: { type: "boolean" }, hideFab: { type: "boolean" }, hideOneOfDescription: { type: "boolean" }, htmlTemplate: { type: "string" }, jsonSampleExpandLevel: { oneOf: [{ type: "number", minimum: 1 }, { type: "string" }] }, labels: Ib, menuToggle: { type: "boolean" }, nativeScrollbars: { type: "boolean" }, noAutoAuth: { type: "boolean" }, onDeepLinkClick: { type: "object" }, pagination: { type: "string", enum: ["none", "section", "item"] }, pathInMiddlePanel: { type: "boolean" }, payloadSampleIdx: { type: "number", minimum: 0 }, requiredPropsFirst: { type: "boolean" }, routingStrategy: { type: "string" }, samplesTabsMaxCount: { type: "number" }, schemaExpansionLevel: { oneOf: [{ type: "number", minimum: 0 }, { type: "string" }] }, minCharacterLengthToInitSearch: { type: "number", minimum: 1 }, maxResponseHeadersToShowInTryIt: { type: "number", minimum: 0 }, scrollYOffset: { oneOf: [{ type: "number" }, { type: "string" }] }, searchAutoExpand: { type: "boolean" }, searchFieldLevelBoost: { type: "number", minimum: 0 }, searchMaxDepth: { type: "number", minimum: 1 }, searchMode: { type: "string", enum: ["default", "path-only"] }, searchOperationTitleBoost: { type: "number" }, searchTagTitleBoost: { type: "number" }, sendXUserAgentInTryIt: { type: "boolean" }, showChangeLayoutButton: { type: "boolean" }, showConsole: { type: "boolean" }, showNextButton: { type: "boolean" }, showRightPanelToggle: { type: "boolean" }, showSecuritySchemeType: { type: "boolean" }, showWebhookVerb: { type: "boolean" }, showObjectSchemaExamples: { type: "boolean" }, disableTryItRequestUrlEncoding: { type: "boolean" }, sidebarLinks: qb, sideNavStyle: { type: "string", enum: ["summary-only", "path-first", "id-only", "path-only"] }, simpleOneOfTypeLabel: { type: "boolean" }, sortEnumValuesAlphabetically: { type: "boolean" }, sortOperationsAlphabetically: { type: "boolean" }, sortPropsAlphabetically: { type: "boolean" }, sortTagsAlphabetically: { type: "boolean" }, suppressWarnings: { type: "boolean" }, unstable_externalDescription: { type: "boolean" }, unstable_ignoreMimeParameters: { type: "boolean" }, untrustedDefinition: { type: "boolean" }, showAccessMode: { type: "boolean" }, preserveOriginalExtensionsName: { type: "boolean" }, markdownHeadingsAnchorLevel: { type: "number" } } };
|
|
5061
|
+
var sl = { hide: { type: "boolean" }, component: { type: "string", enum: ["radio", "checkbox"] }, label: { type: "string" }, items: { type: "array", items: { type: "string" } } }, tr = { type: "object", properties: sl, additionalProperties: !1 }, Pb = { type: "object", properties: { hide: { type: "boolean" }, label: { type: "string" }, placeholder: { type: "string" } }, additionalProperties: !1 }, Sr = { type: "object", properties: { hide: { type: "boolean" }, type: { type: "string", enum: ["rating", "sentiment", "comment", "reasons", "mood", "scale"] }, settings: { type: "object", properties: { label: { type: "string" }, submitText: { type: "string" }, buttonText: { type: "string" }, component: { type: "string", enum: ["radio", "checkbox"] }, items: { type: "array", items: { type: "string" }, minItems: 1 }, leftScaleLabel: { type: "string" }, rightScaleLabel: { type: "string" }, reasons: { type: "object", properties: { ...sl, like: tr, dislike: tr, satisfied: tr, neutral: tr, dissatisfied: tr }, additionalProperties: !1 }, comment: { type: "object", properties: { hide: { type: "boolean" }, label: { type: "string" }, likeLabel: { type: "string" }, dislikeLabel: { type: "string" }, satisfiedLabel: { type: "string" }, neutralLabel: { type: "string" }, dissatisfiedLabel: { type: "string" } }, additionalProperties: !1 }, optionalEmail: Pb }, additionalProperties: !1 } }, additionalProperties: !1 }, Eb = { type: "object", properties: { languages: { type: "array", items: { type: "object", properties: { lang: { type: "string" }, label: { type: "string" }, options: { type: "object", properties: { indent: { type: "string" }, withImports: { type: "boolean" }, withComments: { type: "boolean" }, binary: { type: "boolean" }, credentials: { type: "string", enum: ["omit", "same-origin", "include"] } }, additionalProperties: !1 } }, required: ["lang"], additionalProperties: !1 } }, skipOptionalParameters: { type: "boolean" }, withOAuth2Call: { type: "boolean" } }, additionalProperties: !1 }, ps = { type: "array", items: { type: "object", properties: { title: { type: "string" }, url: { type: "string" } }, required: ["url"], additionalProperties: !1 } }, zi = { type: "object", properties: { licenseKey: { type: "string" }, hideLoading: { type: "boolean" }, feedback: Sr, hideReplay: { type: "boolean" }, oAuth2RedirectURI: { type: "string" }, corsProxyUrl: { type: "string" }, sortRequiredPropsFirst: { type: "boolean" }, sanitize: { type: "boolean" }, hideDownloadButtons: { type: "boolean" }, downloadUrls: ps, onlyRequiredInSamples: { type: "boolean" }, generatedSamplesMaxDepth: { oneOf: [{ type: "number" }, { type: "string" }] }, showExtensions: { oneOf: [{ type: "boolean" }, { type: "string" }, { type: "array", items: { type: "string" } }] }, hideSchemaTitles: { type: "boolean" }, jsonSamplesExpandLevel: { oneOf: [{ type: "number" }, { type: "string" }] }, schemasExpansionLevel: { oneOf: [{ type: "number" }, { type: "string" }] }, mockServer: { type: "object", properties: { url: { type: "string" }, position: { type: "string", enum: ["first", "last", "replace", "off"] }, description: { type: "string" } } }, maxDisplayedEnumValues: { type: "number" }, schemaDefinitionsTagName: { type: "string" }, layout: { type: "string", enum: ["stacked", "three-panel"] }, hideInfoMetadata: { type: "boolean" }, events: { type: "object" }, skipBundle: { type: "boolean" }, routingBasePath: { type: "string" }, codeSamples: Eb, ignoreNamedSchemas: { oneOf: [{ type: "array", items: { type: "string" } }, { type: "string" }] }, hidePropertiesPrefix: { type: "boolean" }, excludeFromSearch: { type: "boolean" }, showSchemaCatalogLinks: { type: "boolean" } }, additionalProperties: !1 }, Dt = { type: "object", properties: { includeByName: { type: "array", items: { type: "string" } }, excludeByName: { type: "array", items: { type: "string" } } }, additionalProperties: !1 }, $b = { type: "object", properties: { name: { type: "string" }, items: Dt, queries: Dt, mutations: Dt, subscriptions: Dt, types: Dt, directives: Dt }, required: ["name"], additionalProperties: !1 }, Ab = { properties: { requireExactGroups: { type: "boolean" }, groups: { type: "array", items: $b }, otherItemsGroupName: { type: "string" } } }, Rb = { type: "object", properties: { name: { type: "string" }, url: { type: "string", format: "uri" }, email: { type: "string", format: "email" } }, additionalProperties: !1 }, _b = { type: "object", properties: { name: { type: "string" }, url: { type: "string", format: "uri" }, identifier: { type: "string" } }, additionalProperties: !1 }, Tb = { type: "object", properties: { title: { type: "string" }, version: { type: "string" }, description: { type: "string" }, termsOfService: { type: "string", format: "uri" }, contact: Rb, license: _b }, additionalProperties: !1 }, to = { type: "object", properties: { menu: { type: "object", properties: { ...Ab.properties }, additionalProperties: !1 }, downloadUrls: ps, apiLogo: { type: "object", properties: { imageUrl: { type: "string" }, href: { type: "string" }, altText: { type: "string" }, backgroundColor: { type: "string" } } }, jsonSamplesDepth: { type: "number" }, samplesMaxInlineArgs: { type: "number" }, licenseKey: { type: "string" }, fieldExpandLevel: { type: "number" }, baseUrlPath: { type: "string" }, metadata: { type: "object", properties: { apiId: { type: "string" } }, additionalProperties: !0 }, feedback: Sr, layout: { type: "string", enum: ["stacked", "three-panel"] }, showBuiltInScalars: { type: "boolean" }, showBuiltInDirectives: { type: "boolean" }, excludeFromSearch: { type: "boolean" }, info: Tb }, additionalProperties: !1 }, Ob = { type: "object", properties: { downloadUrls: ps, apiLogo: { type: "object", properties: { imageUrl: { type: "string" }, href: { type: "string" }, altText: { type: "string" }, backgroundColor: { type: "string" } } }, jsonSamplesDepth: { type: "number" }, excludeFromSearch: { type: "boolean" }, samplesMaxInlineArgs: { type: "number" }, fieldExpandLevel: { type: "number" }, baseUrlPath: { type: "string" }, feedback: Sr, layout: { type: "string", enum: ["stacked", "three-panel"] } }, additionalProperties: !1 }, kb = { type: "object", properties: { label: { type: "string" }, lang: { type: "string", enum: ["curl", "C#", "Go", "Java", "Java8+Apache", "JavaScript", "Node.js", "PHP", "Python", "R", "Ruby"] } }, required: ["lang"] }, Ib = { type: "object", properties: { enum: { type: "string" }, enumSingleValue: { type: "string" }, enumArray: { type: "string" }, default: { type: "string" }, deprecated: { type: "string" }, example: { type: "string" }, examples: { type: "string" }, nullable: { type: "string" }, recursive: { type: "string" }, arrayOf: { type: "string" }, webhook: { type: "string" }, authorizations: { type: "string" }, tryItAuthBasicUsername: { type: "string" }, tryItAuthBasicPassword: { type: "string" } } }, _s = { type: "object", properties: { label: { type: "string" }, link: { type: "string" }, target: { type: "string" } }, required: ["label", "link"] }, qb = { type: "object", properties: { beforeInfo: { type: "array", items: _s }, end: { type: "array", items: _s } } }, kt = { type: "object", properties: { main: { type: "string" }, light: { type: "string" }, dark: { type: "string" }, contrastText: { type: "string" } } }, Cr = { type: "object", properties: { backgroundColor: { type: "string" }, borderColor: { type: "string" }, color: { type: "string" }, tabTextColor: { type: "string" } } }, Cb = { type: "object", properties: So(kt.properties, ["light", "dark"]) }, Mb = { type: "object", properties: { basic: { type: "string" }, delete: { type: "string" }, get: { type: "string" }, head: { type: "string" }, link: { type: "string" }, options: { type: "string" }, patch: { type: "string" }, post: { type: "string" }, put: { type: "string" } } }, jb = { type: "object", properties: { error: Cr, info: Cr, redirect: Cr, success: Cr } }, Db = { type: "object", properties: Gt(kt.properties, ["dark"]) }, Nb = { type: "object", properties: { primary: { type: "string" }, secondary: { type: "string" }, light: { type: "string" } } }, Lb = { type: "object", properties: { accent: kt, border: Cb, error: kt, http: Mb, primary: kt, responses: jb, secondary: Db, success: kt, text: Nb, tonalOffset: { type: "number" }, warning: kt } }, Mr = { type: "object", properties: { fontSize: { type: "string" }, padding: { type: "string" }, minWidth: { type: "string" } } }, Ub = { type: "object", properties: { small: Mr, medium: Mr, large: Mr, xlarge: Mr } }, ft = { type: "object", properties: { fontFamily: { type: "string" }, fontSize: { type: "string" }, fontWeight: { type: "string" }, lineHeight: { type: "string" } } }, Fb = { type: "object", properties: { ...Gt(ft.properties, ["fontSize", "lineHeight"]), borderRadius: { type: "string" }, hoverStyle: { type: "string" }, boxShadow: { type: "string" }, hoverBoxShadow: { type: "string" }, sizes: Ub } }, Ts = { type: "object", properties: So(ft.properties, ["fontSize", "lineHeight"]) }, zb = { type: "object", properties: { medium: Ts, small: Ts } }, Bb = { type: "object", properties: { ...Gt(ft.properties, ["fontSize", "lineHeight"]), borderRadius: { type: "string" }, color: { type: "string" }, sizes: zb } }, Vb = { type: "object", properties: { top: { type: "string" }, width: { type: "string" }, height: { type: "string" } } }, Hb = { type: "object", properties: { borderRadius: { type: "string" }, backgroundColor: { type: "string" } } }, Os = { type: "object", properties: { fullWidth: { type: "boolean" } } }, Kb = { type: "object", properties: { buttons: Fb, httpBadges: Bb, layoutControls: Vb, panels: Hb, tryItButton: Os, tryItSendButton: Os } }, ro = { type: "object", properties: { small: { type: "string" }, medium: { type: "string" }, large: { type: "string" } } }, Wb = { type: "object", properties: { maxWidth: ro } }, Qb = { type: "object", properties: { maxWidth: ro, middlePanelMaxWidth: ro } }, Gb = { type: "object", properties: { showDarkRightPanel: { type: "boolean" }, stacked: Wb, "three-panel": Qb } }, ks = { type: "object", properties: { backgroundColor: { type: "string" }, border: { type: "string" } } }, Yb = { type: "object", properties: { breakFieldNames: { type: "boolean" }, caretColor: { type: "string" }, caretSize: { type: "string" }, constraints: ks, defaultDetailsWidth: { type: "string" }, examples: ks, labelsTextSize: { type: "string" }, linesColor: { type: "string" }, nestedBackground: { type: "string" }, nestingSpacing: { type: "string" }, requireLabelColor: { type: "string" }, typeNameColor: { type: "string" }, typeTitleColor: { type: "string" } } }, al = { type: "object", properties: { subItemsColor: { type: "string" }, textTransform: { type: "string" }, fontWeight: { type: "string" } } }, Jb = { type: "object", properties: So(al.properties, ["textTransform"]) }, Xb = { type: "object", properties: { unit: { type: "number" }, paddingHorizontal: { type: "string" }, paddingVertical: { type: "string" }, offsetTop: { type: "string" }, offsetLeft: { type: "string" }, offsetNesting: { type: "string" } } }, Zb = { type: "object", properties: { ...Gt(ft.properties, ["fontWeight", "lineHeight"]), activeBgColor: { type: "string" }, activeTextColor: { type: "string" }, backgroundColor: { type: "string" }, borderRadius: { type: "string" }, breakPath: { type: "boolean" }, caretColor: { type: "string" }, caretSize: { type: "string" }, groupItems: al, level1items: Jb, rightLineColor: { type: "string" }, separatorLabelColor: { type: "string" }, showAtBreakpoint: { type: "string" }, spacing: Xb, textColor: { type: "string" }, width: { type: "string" } } }, jr = { type: "object", properties: { ...ft.properties, color: { type: "string" }, transform: { type: "string" } } }, ev = { type: "object", properties: { ...ft.properties, backgroundColor: { type: "string" }, color: { type: "string" }, wordBreak: { type: "string", enum: ["break-all", "break-word", "keep-all", "normal", "revert", "unset", "inherit", "initial"] }, wrap: { type: "boolean" } } }, tv = { type: "object", properties: Gt(ft.properties, ["fontSize"]) }, rv = { type: "object", properties: { color: { type: "string" }, hover: { type: "string" }, textDecoration: { type: "string" }, hoverTextDecoration: { type: "string" }, visited: { type: "string" } } }, nv = { type: "object", properties: { code: ev, fieldName: ft, ...So(ft.properties, ["fontSize", "fontFamily"]), fontWeightBold: { type: "string" }, fontWeightLight: { type: "string" }, fontWeightRegular: { type: "string" }, heading1: jr, heading2: jr, heading3: jr, headings: tv, lineHeight: { type: "string" }, links: rv, optimizeSpeed: { type: "boolean" }, rightPanelHeading: jr, smoothing: { type: "string", enum: ["auto", "none", "antialiased", "subpixel-antialiased", "grayscale"] } } }, ov = { type: "object", properties: { color: { type: "string" }, ...Gt(ft.properties, ["fontWeight"]) } }, iv = { type: "object", properties: { backgroundColor: { type: "string" }, borderRadius: { type: "string" }, tokens: ov } }, sv = { type: "object", properties: { gutter: { type: "string" }, maxHeight: { type: "string" }, maxWidth: { type: "string" } } }, av = { type: "object", properties: { backgroundColor: { type: "string" }, color: { type: "string" } } }, Is = { type: "object", properties: { custom: { type: "string" } } }, cv = { type: "object", properties: { DownloadButton: Is, NextSectionButton: Is } }, pv = { type: "object", properties: { backgroundColor: { type: "string" }, panelBackgroundColor: { type: "string" }, panelControlsBackgroundColor: { type: "string" }, showAtBreakpoint: { type: "string" }, textColor: { type: "string" }, width: { type: "string" } } }, lv = { type: "object", properties: { borderRadius: { type: "string" } } }, uv = { type: "object", properties: { sectionHorizontal: { type: "number" }, sectionVertical: { type: "number" }, unit: { type: "number" } } }, dv = { type: "object", properties: { breakpoints: ro, codeBlock: iv, colors: Lb, components: Kb, layout: Gb, logo: sv, fab: av, overrides: cv, rightPanel: pv, schema: Yb, shape: lv, sidebar: Zb, spacing: uv, typography: nv, links: { type: "object", properties: { color: { type: "string" } } }, codeSample: { type: "object", properties: { backgroundColor: { type: "string" } } } } }, fv = { type: "object", properties: { skipOptionalParameters: { type: "boolean" }, languages: { type: "array", items: kb } }, required: ["languages"] }, mv = { properties: { theme: dv, ctrlFHijack: { type: "boolean" }, defaultSampleLanguage: { type: "string" }, disableDeepLinks: { type: "boolean" }, disableSearch: { type: "boolean" }, disableSidebar: { type: "boolean" }, downloadDefinitionUrl: { type: "string" }, expandDefaultServerVariables: { type: "boolean" }, enumSkipQuotes: { type: "boolean" }, expandDefaultRequest: { type: "boolean" }, expandDefaultResponse: { type: "boolean" }, expandResponses: { type: "string" }, expandSingleSchemaField: { type: "boolean" }, generateCodeSamples: fv, generatedPayloadSamplesMaxDepth: { type: "number" }, hideDownloadButton: { type: "boolean" }, hideHostname: { type: "boolean" }, hideInfoSection: { type: "boolean" }, hideLogo: { type: "boolean" }, hideRequestPayloadSample: { type: "boolean" }, hideRightPanel: { type: "boolean" }, hideSchemaPattern: { type: "boolean" }, hideSingleRequestSampleTab: { type: "boolean" }, hideSecuritySection: { type: "boolean" }, hideTryItPanel: { type: "boolean" }, hideFab: { type: "boolean" }, hideOneOfDescription: { type: "boolean" }, htmlTemplate: { type: "string" }, jsonSampleExpandLevel: { oneOf: [{ type: "number", minimum: 1 }, { type: "string" }] }, labels: Ib, menuToggle: { type: "boolean" }, nativeScrollbars: { type: "boolean" }, noAutoAuth: { type: "boolean" }, onDeepLinkClick: { type: "object" }, pagination: { type: "string", enum: ["none", "section", "item"] }, pathInMiddlePanel: { type: "boolean" }, payloadSampleIdx: { type: "number", minimum: 0 }, requiredPropsFirst: { type: "boolean" }, routingStrategy: { type: "string" }, samplesTabsMaxCount: { type: "number" }, schemaExpansionLevel: { oneOf: [{ type: "number", minimum: 0 }, { type: "string" }] }, minCharacterLengthToInitSearch: { type: "number", minimum: 1 }, maxResponseHeadersToShowInTryIt: { type: "number", minimum: 0 }, scrollYOffset: { oneOf: [{ type: "number" }, { type: "string" }] }, searchAutoExpand: { type: "boolean" }, searchFieldLevelBoost: { type: "number", minimum: 0 }, searchMaxDepth: { type: "number", minimum: 1 }, searchMode: { type: "string", enum: ["default", "path-only"] }, searchOperationTitleBoost: { type: "number" }, searchTagTitleBoost: { type: "number" }, sendXUserAgentInTryIt: { type: "boolean" }, showChangeLayoutButton: { type: "boolean" }, showConsole: { type: "boolean" }, showNextButton: { type: "boolean" }, showRightPanelToggle: { type: "boolean" }, showSecuritySchemeType: { type: "boolean" }, showWebhookVerb: { type: "boolean" }, showObjectSchemaExamples: { type: "boolean" }, disableTryItRequestUrlEncoding: { type: "boolean" }, sidebarLinks: qb, sideNavStyle: { type: "string", enum: ["summary-only", "path-first", "id-only", "path-only"] }, simpleOneOfTypeLabel: { type: "boolean" }, sortEnumValuesAlphabetically: { type: "boolean" }, sortOperationsAlphabetically: { type: "boolean" }, sortPropsAlphabetically: { type: "boolean" }, sortTagsAlphabetically: { type: "boolean" }, suppressWarnings: { type: "boolean" }, unstable_externalDescription: { type: "boolean" }, unstable_ignoreMimeParameters: { type: "boolean" }, untrustedDefinition: { type: "boolean" }, showAccessMode: { type: "boolean" }, preserveOriginalExtensionsName: { type: "boolean" }, markdownHeadingsAnchorLevel: { type: "number" } } };
|
|
5062
5062
|
function So(e, t) {
|
|
5063
5063
|
return Object.fromEntries(t.filter((r) => r in e).map((r) => [r, e[r]]));
|
|
5064
5064
|
}
|
|
5065
5065
|
function Gt(e, t) {
|
|
5066
5066
|
return Object.fromEntries(Object.entries(e).filter(([r]) => !t.includes(r)));
|
|
5067
5067
|
}
|
|
5068
|
-
var et = { nodeTypeName: void 0, type: "object", additionalProperties: { oneOf: [{ type: "string" }, { type: "object" }] }, description: "The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.", documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules" }, hv = { rules: et, oas2Rules: et, oas3_0Rules: et, oas3_1Rules: et, oas3_2Rules: et, async2Rules: et, async3Rules: et, arazzo1Rules: et, arazzo1_1Rules: et, overlay1Rules: et, openrpc1Rules: et, graphqlRules: et }, ot = { nodeTypeName: void 0, type: "object", additionalProperties: !0 }, yv = { preprocessors: ot, oas2Preprocessors: ot, oas3_0Preprocessors: ot, oas3_1Preprocessors: ot, oas3_2Preprocessors: ot, async2Preprocessors: ot, async3Preprocessors: ot, arazzo1Preprocessors: ot, arazzo1_1Preprocessors: ot, overlay1Preprocessors: ot, openrpc1Preprocessors: ot }, it = { nodeTypeName: void 0, type: "object", additionalProperties: !0 }, gv = { decorators: it, oas2Decorators: it, oas3_0Decorators: it, oas3_1Decorators: it, oas3_2Decorators: it, async2Decorators: it, async3Decorators: it, arazzo1Decorators: it, arazzo1_1Decorators: it, overlay1Decorators: it, openrpc1Decorators: it }, bv = { nodeTypeName: void 0, type: "array", items: { type: "string" }, description: "Use extends to inherit rules and their configurations from other rulesets.", documentationLink: "https://redocly.com/docs/cli/configuration/reference/extends" }, Po = { ...hv, ...gv, ...yv, extends: bv }, cl = (e) => e, Ye = cl({ RedirectSource: "RedirectSource", Redirects: "Redirects", ScorecardClassic: "ScorecardClassic", ScorecardClassicLevelList: "ScorecardClassicLevelList", ScorecardClassicLevel: "ScorecardClassicLevel", ScorecardClassicTargetList: "ScorecardClassicTargetList", ScorecardClassicTarget: "ScorecardClassicTarget", ScorecardClassicTargetWhere: "ScorecardClassicTargetWhere", ScorecardClassicTargetWhereMetadata: "ScorecardClassicTargetWhereMetadata", ScorecardClassicTeamMetadataProperty: "ScorecardClassicTeamMetadataProperty" }), Be = { type: "object", properties: { hide: { type: "boolean" } }, additionalProperties: !1 }, qs = { type: "object", properties: { src: { type: "string" }, async: { type: "boolean" }, crossorigin: { type: "string" }, defer: { type: "boolean" }, fetchpriority: { type: "string" }, integrity: { type: "string" }, module: { type: "boolean" }, nomodule: { type: "boolean" }, nonce: { type: "string" }, referrerpolicy: { type: "string" }, type: { type: "string" } }, required: ["src"], additionalProperties: !0 }, Ho = { type: "object", properties: { page: { type: "string" }, directory: { type: "string" }, disconnect: { type: "boolean" }, group: { type: "string" }, label: { type: "string" }, href: { type: "string" }, external: { type: "boolean" }, labelTranslationKey: { type: "string" }, groupTranslationKey: { type: "string" }, icon: { oneOf: [{ type: "string" }, { type: "object", properties: { srcSet: { type: "string" } }, required: ["srcSet"] }] }, separator: { type: "string" }, separatorLine: { type: "boolean" }, linePosition: { type: "string", enum: ["top", "bottom"] }, version: { type: "string" }, menuStyle: { type: "string", enum: ["drilldown"] }, expanded: { type: "string", const: "always" }, selectFirstItemOnExpand: { type: "boolean" }, flatten: { type: "boolean" }, linkedSidebars: { type: "array", items: { type: "string" } }, items: { type: "array", items: { type: "object", additionalProperties: !0 } }, rbac: { type: "object", additionalProperties: { type: "string" } }, additionalProps: { type: "object", additionalProperties: !0 } } }, ls = { type: "array", items: { ...Ho, properties: { ...Ho.properties, items: { type: "array", items: Ho } } } }, vv = { type: "object", properties: { name: { type: "string" }, icon: { type: "string" }, folder: { type: "string" } }, additionalProperties: !1, required: ["name", "folder"] }, wv = { type: "object", properties: { hide: { type: "boolean" }, suggestions: { type: "array", items: { type: "string" } }, prompt: { type: "string" } }, additionalProperties: !1 }, xv = { type: "array", items: { type: "object", required: ["name", "field", "type"], properties: { name: { type: "string" }, field: { type: "string" }, type: { type: "string", enum: ["multi-select", "select", "tags"] } }, additionalProperties: !1 } }, Sv = { type: "object", properties: { facets: xv, ...Be.properties }, additionalProperties: !1 }, Pv = { type: "object", properties: { page: { type: "string" }, label: { type: "string" }, labelTranslationKey: { type: "string" } }, required: ["page"] }, pl = { type: "object", properties: { image: { type: "string" }, srcSet: { type: "string" }, altText: { type: "string" }, link: { type: "string" }, favicon: { type: "string" } }, additionalProperties: !1 }, ll = { type: "object", properties: { items: ls, ...Be.properties }, additionalProperties: !1 }, ul = { type: "object", additionalProperties: vv }, dl = { type: "object", properties: { items: ls, copyrightText: { type: "string" }, logo: Be, ...Be.properties }, additionalProperties: !1 }, fl = { type: "object", properties: { separatorLine: { type: "boolean" }, linePosition: { type: "string", enum: ["top", "bottom"] }, ...Be.properties }, additionalProperties: !1 }, ml = { type: "object", properties: { head: { type: "array", items: qs }, body: { type: "array", items: qs } }, additionalProperties: !1 }, hl = { type: "array", items: { type: "object", properties: { href: { type: "string" }, as: { type: "string" }, crossorigin: { type: "string" }, fetchpriority: { type: "string" }, hreflang: { type: "string" }, imagesizes: { type: "string" }, imagesrcset: { type: "string" }, integrity: { type: "string" }, media: { type: "string" }, prefetch: { type: "string" }, referrerpolicy: { type: "string" }, rel: { type: "string" }, sizes: { type: "string" }, title: { type: "string" }, type: { type: "string" } }, required: ["href"], additionalProperties: !0 } }, yl = { type: "object", properties: { engine: { type: "string", enum: ["flexsearch", "typesense"] }, ai: wv, filters: Sv, placement: { type: "string" }, shortcuts: { type: "array", items: { type: "string" } }, suggestedPages: { type: "array", items: Pv }, ...Be.properties }, additionalProperties: !1 }, gl = { type: "object", properties: { hide: { type: "boolean" }, suggestions: { type: "array", items: { type: "string" } }, prompt: { type: "string" }, trigger: { type: "object", properties: { hide: { type: "boolean" }, inputType: { type: "string", enum: ["button", "icon"] }, inputIcon: { type: "string", enum: ["chat", "sparkles", "redocly"] } }, additionalProperties: !1 } }, additionalProperties: !1 }, bl = { type: "object", properties: { ignoreDetection: { type: "boolean" }, modes: { type: "array", items: { type: "string" } }, ...Be.properties }, additionalProperties: !1 }, vl = { type: "string", enum: ["slate", "pink", "coral", "amber", "jade", "cyan", "ocean", "indigo", "iris"] }, Ev = { type: "object", properties: { ...Be.properties, items: { type: "array", items: { type: "string", enum: ["copy", "view", "chatgpt", "claude", "docs-mcp-cursor", "docs-mcp-vscode"] } } }, additionalProperties: !1 }, wl = { type: "object", properties: { nextButton: { type: "object", properties: { text: { type: "string" }, ...Be.properties }, additionalProperties: !1 }, previousButton: { type: "object", properties: { text: { type: "string" }, ...Be.properties }, additionalProperties: !1 }, actions: Ev }, additionalProperties: !1 }, xl = { type: "object", properties: { elementFormat: { type: "string" }, copy: { type: "object", properties: { ...Be.properties }, additionalProperties: !1 }, report: { type: "object", properties: { tooltipText: { type: "string" }, buttonText: { type: "string" }, label: { type: "string" }, ...Be.properties }, additionalProperties: !1 }, expand: { type: "object", properties: { ...Be.properties }, additionalProperties: !1 }, collapse: { type: "object", properties: { ...Be.properties }, additionalProperties: !1 } }, additionalProperties: !1 }, Sl = { type: "object", properties: { frontMatterKeysToResolve: { type: "array", items: { type: "string" } }, partialsFolders: { type: "array", items: { type: "string" } }, lastUpdatedBlock: { type: "object", properties: { format: { type: "string", enum: ["timeago", "iso", "long", "short"] }, locale: { type: "string" }, ...Be.properties }, additionalProperties: !1 }, toc: { type: "object", properties: { header: { type: "string" }, depth: { type: "integer", minimum: 1 }, ...Be.properties }, additionalProperties: !1 }, editPage: { type: "object", properties: { baseUrl: { type: "string" }, ...Be.properties }, additionalProperties: !1 }, template: { type: "object", additionalProperties: { type: "string" } } }, additionalProperties: !1 }, no = { ...zi, properties: { ...zi.properties, ...mv.properties } };
|
|
5068
|
+
var et = { nodeTypeName: void 0, type: "object", additionalProperties: { oneOf: [{ type: "string" }, { type: "object" }] }, description: "The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.", documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules" }, hv = { rules: et, oas2Rules: et, oas3_0Rules: et, oas3_1Rules: et, oas3_2Rules: et, async2Rules: et, async3Rules: et, arazzo1Rules: et, arazzo1_1Rules: et, overlay1Rules: et, openrpc1Rules: et, graphqlRules: et }, ot = { nodeTypeName: void 0, type: "object", additionalProperties: !0 }, yv = { preprocessors: ot, oas2Preprocessors: ot, oas3_0Preprocessors: ot, oas3_1Preprocessors: ot, oas3_2Preprocessors: ot, async2Preprocessors: ot, async3Preprocessors: ot, arazzo1Preprocessors: ot, arazzo1_1Preprocessors: ot, overlay1Preprocessors: ot, openrpc1Preprocessors: ot }, it = { nodeTypeName: void 0, type: "object", additionalProperties: !0 }, gv = { decorators: it, oas2Decorators: it, oas3_0Decorators: it, oas3_1Decorators: it, oas3_2Decorators: it, async2Decorators: it, async3Decorators: it, arazzo1Decorators: it, arazzo1_1Decorators: it, overlay1Decorators: it, openrpc1Decorators: it }, bv = { nodeTypeName: void 0, type: "array", items: { type: "string" }, description: "Use extends to inherit rules and their configurations from other rulesets.", documentationLink: "https://redocly.com/docs/cli/configuration/reference/extends" }, Po = { ...hv, ...gv, ...yv, extends: bv }, cl = (e) => e, Ye = cl({ RedirectSource: "RedirectSource", Redirects: "Redirects", ScorecardClassic: "ScorecardClassic", ScorecardClassicLevelList: "ScorecardClassicLevelList", ScorecardClassicLevel: "ScorecardClassicLevel", ScorecardClassicTargetList: "ScorecardClassicTargetList", ScorecardClassicTarget: "ScorecardClassicTarget", ScorecardClassicTargetWhere: "ScorecardClassicTargetWhere", ScorecardClassicTargetWhereMetadata: "ScorecardClassicTargetWhereMetadata", ScorecardClassicTeamMetadataProperty: "ScorecardClassicTeamMetadataProperty" }), Be = { type: "object", properties: { hide: { type: "boolean" } }, additionalProperties: !1 }, qs = { type: "object", properties: { src: { type: "string" }, async: { type: "boolean" }, crossorigin: { type: "string" }, defer: { type: "boolean" }, fetchpriority: { type: "string" }, integrity: { type: "string" }, module: { type: "boolean" }, nomodule: { type: "boolean" }, nonce: { type: "string" }, referrerpolicy: { type: "string" }, type: { type: "string" }, consent: { type: "string", enum: ["analytics", "marketing"] } }, required: ["src"], additionalProperties: !0 }, Ho = { type: "object", properties: { page: { type: "string", uiHint: "file" }, directory: { type: "string", uiHint: "file" }, disconnect: { type: "boolean" }, group: { type: "string" }, label: { type: "string" }, href: { type: "string" }, external: { type: "boolean" }, labelTranslationKey: { type: "string" }, groupTranslationKey: { type: "string" }, icon: { oneOf: [{ type: "string" }, { type: "object", properties: { srcSet: { type: "string" } }, required: ["srcSet"] }] }, separator: { type: "string" }, separatorLine: { type: "boolean" }, linePosition: { type: "string", enum: ["top", "bottom"] }, version: { type: "string" }, menuStyle: { type: "string", enum: ["drilldown"] }, expanded: { type: "string", const: "always" }, selectFirstItemOnExpand: { type: "boolean" }, flatten: { type: "boolean" }, linkedSidebars: { type: "array", items: { type: "string" } }, items: { type: "array", items: { type: "object", additionalProperties: !0 } }, rbac: { type: "object", additionalProperties: { type: "string" } }, additionalProps: { type: "object", additionalProperties: !0 } } }, ls = { type: "array", items: { ...Ho, properties: { ...Ho.properties, items: { type: "array", items: Ho } } } }, vv = { type: "object", properties: { name: { type: "string" }, icon: { type: "string" }, folder: { type: "string" } }, additionalProperties: !1, required: ["name", "folder"] }, wv = { type: "object", properties: { hide: { type: "boolean" }, suggestions: { type: "array", items: { type: "string" } }, prompt: { type: "string" } }, additionalProperties: !1 }, xv = { type: "array", items: { type: "object", required: ["name", "field", "type"], properties: { name: { type: "string" }, field: { type: "string" }, type: { type: "string", enum: ["multi-select", "select", "tags"] } }, additionalProperties: !1 } }, Sv = { type: "object", properties: { facets: xv, ...Be.properties }, additionalProperties: !1 }, Pv = { type: "object", properties: { page: { type: "string", uiHint: "file" }, label: { type: "string" }, labelTranslationKey: { type: "string" } }, required: ["page"] }, pl = { type: "object", properties: { image: { type: "string", uiHint: "file" }, srcSet: { type: "string" }, altText: { type: "string" }, link: { type: "string" }, favicon: { type: "string", uiHint: "file" } }, additionalProperties: !1 }, ll = { type: "object", properties: { items: ls, ...Be.properties }, additionalProperties: !1 }, ul = { type: "object", additionalProperties: vv }, dl = { type: "object", properties: { items: ls, copyrightText: { type: "string" }, logo: Be, ...Be.properties }, additionalProperties: !1 }, fl = { type: "object", properties: { separatorLine: { type: "boolean" }, linePosition: { type: "string", enum: ["top", "bottom"] }, ...Be.properties }, additionalProperties: !1 }, ml = { type: "object", properties: { head: { type: "array", items: qs }, body: { type: "array", items: qs } }, additionalProperties: !1 }, hl = { type: "array", items: { type: "object", properties: { href: { type: "string" }, as: { type: "string" }, crossorigin: { type: "string" }, fetchpriority: { type: "string" }, hreflang: { type: "string" }, imagesizes: { type: "string" }, imagesrcset: { type: "string" }, integrity: { type: "string" }, media: { type: "string" }, prefetch: { type: "string" }, referrerpolicy: { type: "string" }, rel: { type: "string" }, sizes: { type: "string" }, title: { type: "string" }, type: { type: "string" } }, required: ["href"], additionalProperties: !0 } }, yl = { type: "object", properties: { engine: { type: "string", enum: ["flexsearch", "typesense"] }, ai: wv, filters: Sv, placement: { type: "string" }, shortcuts: { type: "array", items: { type: "string" } }, suggestedPages: { type: "array", items: Pv }, ...Be.properties }, additionalProperties: !1 }, gl = { type: "object", properties: { hide: { type: "boolean" }, suggestions: { type: "array", items: { type: "string" } }, prompt: { type: "string" }, trigger: { type: "object", properties: { hide: { type: "boolean" }, inputType: { type: "string", enum: ["button", "icon"] }, inputIcon: { type: "string", enum: ["chat", "sparkles", "redocly"] } }, additionalProperties: !1 } }, additionalProperties: !1 }, bl = { type: "object", properties: { ignoreDetection: { type: "boolean" }, modes: { type: "array", items: { type: "string" } }, ...Be.properties }, additionalProperties: !1 }, vl = { type: "string", enum: ["slate", "pink", "coral", "amber", "jade", "cyan", "ocean", "indigo", "iris"] }, Ev = { type: "object", properties: { ...Be.properties, items: { type: "array", items: { type: "string", enum: ["copy", "view", "chatgpt", "claude", "docs-mcp-cursor", "docs-mcp-vscode"] } } }, additionalProperties: !1 }, wl = { type: "object", properties: { nextButton: { type: "object", properties: { text: { type: "string" }, ...Be.properties }, additionalProperties: !1 }, previousButton: { type: "object", properties: { text: { type: "string" }, ...Be.properties }, additionalProperties: !1 }, actions: Ev }, additionalProperties: !1 }, xl = { type: "object", properties: { elementFormat: { type: "string" }, copy: { type: "object", properties: { ...Be.properties }, additionalProperties: !1 }, report: { type: "object", properties: { tooltipText: { type: "string" }, buttonText: { type: "string" }, label: { type: "string" }, ...Be.properties }, additionalProperties: !1 }, expand: { type: "object", properties: { ...Be.properties }, additionalProperties: !1 }, collapse: { type: "object", properties: { ...Be.properties }, additionalProperties: !1 } }, additionalProperties: !1 }, Sl = { type: "object", properties: { frontMatterKeysToResolve: { type: "array", items: { type: "string" } }, partialsFolders: { type: "array", items: { type: "string" } }, lastUpdatedBlock: { type: "object", properties: { format: { type: "string", enum: ["timeago", "iso", "long", "short"] }, locale: { type: "string" }, ...Be.properties }, additionalProperties: !1 }, toc: { type: "object", properties: { header: { type: "string" }, depth: { type: "integer", minimum: 1 }, ...Be.properties }, additionalProperties: !1 }, editPage: { type: "object", properties: { baseUrl: { type: "string" }, ...Be.properties }, additionalProperties: !1 }, template: { type: "object", additionalProperties: { type: "string" } } }, additionalProperties: !1 }, no = { ...zi, properties: { ...zi.properties, ...mv.properties } };
|
|
5069
5069
|
({ ...zi.properties });
|
|
5070
|
-
var $v = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, scriptUrl: { type: "string" }, pageViewEventName: { type: "string" } }, additionalProperties: !1, required: ["scriptUrl"] }, Av = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, apiKey: { type: "string" }, head: { type: "boolean" }, respectDNT: { type: "boolean" }, exclude: { type: "array", items: { type: "string" } }, outboundClickEventName: { type: "string" }, pageViewEventName: { type: "string" }, amplitudeConfig: { type: "object", additionalProperties: !0 } }, additionalProperties: !1, required: ["apiKey"] }, Rv = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, orgId: { type: "string" } }, additionalProperties: !1, required: ["orgId"] }, _v = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, appId: { type: "string" } }, additionalProperties: !1, required: ["appId"] }, Tv = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, writeKey: { type: "string", minLength: 10 }, trackPage: { type: "boolean" }, dataPlaneUrl: { type: "string" }, controlPlaneUrl: { type: "string" }, sdkUrl: { type: "string" }, loadOptions: { type: "object", additionalProperties: !0 } }, additionalProperties: !1, required: ["writeKey"] }, Ov = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, writeKey: { type: "string", minLength: 10 }, trackPage: { type: "boolean" }, includeTitleInPageCall: { type: "boolean" }, host: { type: "string" } }, additionalProperties: !1, required: ["writeKey"] }, kv = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, trackingId: { type: "string" }, gtmAuth: { type: "string" }, gtmPreview: { type: "string" }, defaultDataLayer: { type: "object", additionalProperties: !0 }, dataLayerName: { type: "string" }, enableWebVitalsTracking: { type: "boolean" }, selfHostedOrigin: { type: "string" }, pageViewEventName: { type: "string" } }, additionalProperties: !1, required: ["trackingId"] }, Iv = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, trackingId: { type: "string" }, conversionId: { type: "string" }, floodlightId: { type: "string" }, optimizeId: { type: "string" }, exclude: { type: "array", items: { type: "string" } } }, additionalProperties: !1, required: ["trackingId"] }, qv = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, trackingId: { type: "string" }, conversionId: { type: "string" }, floodlightId: { type: "string" }, head: { type: "boolean" }, respectDNT: { type: "boolean" }, exclude: { type: "array", items: { type: "string" } }, optimizeId: { type: "string" }, anonymizeIp: { type: "boolean" }, cookieExpires: { type: "number" }, trackers: { type: "object", additionalProperties: Iv } }, additionalProperties: !1, required: ["trackingId"] }, Pl = { type: "object", properties: { adobe: $v, amplitude: Av, fullstory: Rv, heap: _v, rudderstack: Tv, segment: Ov, gtm: kv, ga: qv } }, El = { type: "object", properties: { items: { type: "array", items: { type: "object", properties: { label: { type: "string" }, external: { type: "boolean" }, link: { type: "string" }, separatorLine: { type: "boolean" } }, additionalProperties: !0 } }, hideLoginButton: { type: "boolean" }, ...Be.properties }, additionalProperties: !1 }, $l = { type: "object", properties: { hide: { type: "boolean" }, showForUnversioned: { type: "boolean" } } }, Al = { type: "object", properties: { hide: { type: "boolean" }, prefixItems: { type: "array", items: { type: "object", properties: { label: { type: "string" }, labelTranslationKey: { type: "string" }, page: { type: "string" }, icon: { type: "string" } }, additionalProperties: !1 } } }, additionalProperties: !1 }, Cv = { type: "object", additionalProperties: !1, required: ["title", "property"], properties: { type: { type: "string", enum: ["select", "checkboxes", "date-range"] }, title: { type: "string" }, titleTranslationKey: { type: "string" }, property: { type: "string" }, parentFilter: { type: "string" }, valuesMapping: { type: "object", additionalProperties: { type: "string" } }, missingCategoryName: { type: "string" }, missingCategoryNameTranslationKey: { type: "string" }, options: { type: "array", items: { type: "string" } } } }, Mv = { type: "object", additionalProperties: !0, required: ["slug", "items"], properties: { show: { type: "boolean" }, slug: { type: "string" }, filters: { type: "array", items: Cv }, groupByFirstFilter: { type: "boolean" }, filterValuesCasing: { type: "string", enum: ["sentence", "original", "lowercase", "uppercase"] }, items: ls, requiredPermission: { type: "string" }, separateVersions: { type: "boolean" }, title: { type: "string" }, titleTranslationKey: { type: "string" }, description: { type: "string" }, descriptionTranslationKey: { type: "string" } } }, oo = { type: "object", patternProperties: { ".*": Mv } }, io = { nodeTypeName: Ye.ScorecardClassic, description: "Add and create sets of rules and test your API description files against them. With these rules you can maintain quality across your existing APIs and ensure that newly-added or updated APIs match your criteria. An API scorecard can include multiple sets of rules, corresponding to different quality levels.", documentationLink: "https://redocly.com/docs/realm/config/scorecard-classic", type: "object", additionalProperties: !0, required: [], properties: { ignoreNonCompliant: { type: "boolean" }, teamMetadataProperty: { nodeTypeName: Ye.ScorecardClassicTeamMetadataProperty, description: "Provide custom team label and team metadata property.", documentationLink: "https://redocly.com/docs/realm/config/scorecard-classic#team-metadata-object", type: "object", properties: { property: { type: "string" }, label: { type: "string" }, default: { type: "string" } } }, levels: { nodeTypeName: Ye.ScorecardClassicLevelList, description: "List of levels to score against.", type: "array", items: { nodeTypeName: Ye.ScorecardClassicLevel, documentationLink: "https://redocly.com/docs/realm/config/scorecard-classic#level-object", type: "object", required: ["name"], properties: { name: { type: "string" }, color: { type: "string" }, ...Po }, additionalProperties: !1 } }, targets: { nodeTypeName: Ye.ScorecardClassicTargetList, description: "Provide custom `minimumLevel` for specific targets.", type: "array", items: { nodeTypeName: Ye.ScorecardClassicTarget, type: "object", required: ["where"], properties: { minimumLevel: { type: "string" }, rules: { type: "object", additionalProperties: !0 }, where: { nodeTypeName: Ye.ScorecardClassicTargetWhere, description: "Specify which API descriptions to apply the `minimumLevel` to based on the metadata.", documentationLink: "https://redocly.com/docs/realm/config/scorecard-classic#where-object", type: "object", required: ["metadata"], properties: { metadata: { nodeTypeName: Ye.ScorecardClassicTargetWhereMetadata, type: "object", additionalProperties: { type: "string" } } }, additionalProperties: !1 } }, additionalProperties: !1 } }, ignore: { type: "array", items: { type: "string" } }, fromProjectUrl: { type: "string", format: "uri" } } }, jv = { type: "object", required: ["key"], properties: { key: { type: "string" } }, additionalProperties: !1 }, Dv = { type: "object", required: ["type"], properties: { type: { type: "string" } }, additionalProperties: !1 }, Nv = { type: "object", required: ["property", "title"], properties: { property: { type: "string" }, hide: { type: "boolean" }, label: { type: "string" }, options: { type: "array", items: { type: "string" } }, type: { type: "string", enum: ["select", "checkboxes", "date-range"] }, title: { type: "string" }, titleTranslationKey: { type: "string" }, parentFilter: { type: "string" }, valuesMapping: { type: "object", additionalProperties: { type: "string" } } }, additionalProperties: !1 }, mt = { type: "object", properties: { slug: { type: "string" }, hide: { type: "boolean" }, includes: { type: "array", items: Dv }, excludes: { type: "array", items: jv }, filters: { type: "array", items: Nv }, titleTranslationKey: { type: "string" }, descriptionTranslationKey: { type: "string" }, catalogSwitcherLabelTranslationKey: { type: "string" } }, additionalProperties: !1 }, Lv = { type: "object", properties: { type: { type: "string", enum: ["string", "number", "boolean", "array", "object"] }, description: { type: "string" }, example: { oneOf: [{ type: "string" }, { type: "number" }, { type: "boolean" }, { type: "array" }, { type: "object" }] }, enum: { type: "array", items: { type: "string" } }, pattern: { type: "string" }, format: { type: "string" }, minimum: { type: "number" }, maximum: { type: "number" }, items: { type: "object" } }, additionalProperties: !0 }, Uv = { type: "object", required: ["type", "properties"], properties: { type: { type: "string", enum: ["object"] }, description: { type: "string" }, properties: { type: "object", additionalProperties: Lv }, required: { type: "array", items: { type: "string" } }, additionalProperties: { type: "boolean" } }, additionalProperties: !0 }, Fv = { type: "object", required: ["name", "description", "metadataSchema"], properties: { name: { type: "string", description: "Display name of the entity type" }, description: { type: "string", description: "Description of the entity type" }, metadataSchema: Uv, icon: { type: "object", properties: { src: { type: "string" }, srcSet: { type: "string" } }, additionalProperties: !1 } }, additionalProperties: !1 }, zv = { type: "object", additionalProperties: Fv }, Rl = { type: "object", properties: { show: { type: "boolean" }, entityTypes: zv, catalogs: { type: "object", properties: { all: mt, services: mt, domains: mt, teams: mt, users: mt, apiDescriptions: mt, dataSchemas: mt, apiOperations: mt }, additionalProperties: mt } }, additionalProperties: !1 }, Cs = { type: "string", enum: ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"] }, us = { type: "string", enum: ["and", "or"] }, Bi = { type: "object", properties: { field: { type: "string" }, operator: Cs, value: { oneOf: [{ type: "boolean" }, { type: "string" }, { type: "number" }] }, modifier: { type: "string", enum: ["not"] }, match: { type: "array", items: { type: "object", properties: { field: { type: "string" }, operator: Cs, value: { oneOf: [{ type: "boolean" }, { type: "string" }, { type: "number" }] }, modifier: { type: "string", enum: ["not"] } } } } } }, Bv = { type: "object", properties: { operator: us, conditions: { type: "array", items: Bi } }, required: ["operator", "conditions"], additionalProperties: !1 }, Ms = { type: "array", items: { oneOf: [Bi, { type: "object", properties: { operator: us, conditions: { type: "array", items: { oneOf: [Bi, Bv] } } }, required: ["operator", "conditions"], additionalProperties: !1 }] } }, _l = { type: "object", properties: { defined: { type: "boolean" }, nonEmpty: { type: "boolean" }, eq: { oneOf: [{ type: "boolean" }, { type: "string" }, { type: "number" }] }, gt: { type: "number" }, gte: { type: "number" }, lt: { type: "number" }, lte: { type: "number" }, const: { oneOf: [{ type: "boolean" }, { type: "string" }, { type: "number" }] } }, additionalProperties: !1 }, Vv = { type: "array", items: { type: "object", properties: { subject: { type: "object", properties: { type: { type: "string", enum: ["Entity", "EntityMetadata", "EntityRelations", "EntityRelation"] }, property: { type: "string" } }, required: ["type", "property"], additionalProperties: !1 }, assertions: _l }, required: ["subject", "assertions"], additionalProperties: !1 } }, Hv = { type: "object", properties: { title: { type: "string" }, subject: { type: "object", properties: { type: { type: "string", enum: ["Entity", "EntityMetadata", "EntityRelations", "EntityRelation"] }, property: { type: "string" } }, required: ["type", "property"], additionalProperties: !1 }, severity: { type: "string", enum: ["error", "warn", "off"] }, message: { type: "string" }, assertions: _l, where: Vv, weight: { type: "number" } }, required: ["subject", "assertions"], additionalProperties: !1 }, Kv = { type: "object", additionalProperties: { oneOf: [{ type: "string" }, { type: "object", properties: { severity: { type: "string", enum: ["error", "warn", "off"] }, weight: { type: "number" } }, additionalProperties: !0 }, Hv] } }, Wv = { type: "object", properties: { name: { type: "string" }, extends: Po.extends, rules: Kv }, required: ["name"], additionalProperties: !1 }, js = { type: "object", properties: { event: { type: "string", enum: ["runtime", "manual"] } }, required: ["event"], additionalProperties: !1 }, Qv = { oneOf: [js, { type: "array", items: js }] }, Gv = { type: "object", properties: { name: { type: "string" }, key: { type: "string" }, description: { type: "string" }, entities: { oneOf: [Ms, { type: "object", properties: { operator: us, conditions: Ms }, required: ["operator", "conditions"], additionalProperties: !1 }] }, levels: { type: "array", items: Wv, minItems: 1 }, trigger: Qv }, required: ["name", "key", "entities", "levels"], additionalProperties: !1 }, Tl = { type: "array", items: Gv }, lt = { type: "object", properties: { imports: { type: "array", items: { type: "string" } }, logo: pl, navbar: ll, products: ul, footer: dl, sidebar: fl, scripts: ml, links: hl, feedback: Sr, search: yl, aiAssistant: gl, colorMode: bl, palette: vl, navigation: wl, codeSnippet: xl, markdown: Sl, openapi: no, asyncapi: Ob, graphql: to, analytics: Pl, userMenu: El, versionPicker: $l, breadcrumbs: Al, catalog: oo, entitiesCatalog: Rl, catalogClassic: oo, scorecard: io, scorecardClassic: io, scorecards: Tl }, additionalProperties: !0 }, Yv = ((e) => (e.OIDC = "OIDC", e.SAML2 = "SAML2", e))(Yv || {}), Jv = ((e) => (e.SERVICE_ACCOUNT = "SERVICE_ACCOUNT", e.OAUTH2 = "OAUTH2", e))(Jv || {}), Xv = ((e) => (e.STACKED = "stacked", e.THREE_PANEL = "three-panel", e))(Xv || {}), Zv = "^[a-z0-9]+(?:-[a-z0-9]+)*$", Ol = "redocly", e0 = [Ol, "corporate", "guest"], Ds = ["REDOCLY", "CORPORATE", "GUEST"], t0 = { type: "object", additionalProperties: { type: "string" } }, r0 = { type: "object", additionalProperties: !1, patternProperties: { "^[a-zA-Z0-9_-]+$": { type: "string", pattern: "^https?://[^\\s/$.?#].[^\\s]*$" } } }, Dr = { type: "string", enum: ["error", "warn", "off"] }, n0 = { type: "object", additionalProperties: !1, properties: { schemaCheck: Dr, statusCodeCheck: Dr, contentTypeCheck: Dr, successCriteriaCheck: Dr } }, o0 = { type: "object", properties: { event: { type: "string", enum: ["schedule"] }, interval: { type: "string", enum: ["1m", "2m", "5m", "10m", "15m", "30m", "1h", "3h", "6h", "12h", "1d", "7d"] } }, required: ["event"], additionalProperties: !1 }, i0 = { type: "object", properties: { event: { type: "string", enum: ["build"] } }, required: ["event"], additionalProperties: !1 }, s0 = { type: "object", properties: { warn: { type: "number" }, error: { type: "number" } }, additionalProperties: !1 }, a0 = { type: "object", properties: { ignoreLint: { oneOf: [{ type: "boolean" }, { type: "object", additionalProperties: { type: "boolean" } }] }, ignoreLinkChecker: { type: "boolean" }, ignoreMarkdocErrors: { type: "boolean" }, ignoreRespectMonitoring: { type: "boolean" }, jobs: { type: "array", items: { type: "object", properties: { path: { type: "string", pattern: "^(?!\\/|\\.\\./)" }, agent: { type: "string", enum: ["respect"] }, trigger: { oneOf: [o0, i0] }, inputs: t0, servers: r0, severity: n0, slo: s0 }, required: ["path", "trigger", "agent"], additionalProperties: !1 } } }, additionalProperties: !1 }, kl = { type: "string", enum: ["off", "info", "warn", "error"] }, rr = { type: "array", items: { type: "string" } }, c0 = { type: "object", properties: { severity: kl, message: { type: "string", minLength: 1 }, fix: { type: "boolean" }, tags: rr, description: { type: "string" }, link: { type: "string" }, scope: { oneOf: [{ type: "string", minLength: 1 }, { type: "array", items: { type: "string", minLength: 1 }, minItems: 1 }] }, appliesTo: rr, excludes: rr, exceptions: { type: "object", properties: { files: rr, lines: rr }, additionalProperties: !1 }, assertions: { type: "object", additionalProperties: !0 } }, additionalProperties: !1 }, p0 = { oneOf: [kl, c0] }, Ns = { type: "object", additionalProperties: p0 }, l0 = { type: "object", properties: { type: { type: "string", enum: ["string", "number", "boolean"] }, required: { type: "boolean" }, default: { oneOf: [{ type: "string" }, { type: "number" }, { type: "boolean" }] }, enum: { type: "array", items: { type: "string" }, minItems: 1 }, dynamic: { type: "boolean" } }, required: ["type"], additionalProperties: !1 }, u0 = { type: "object", properties: { selfClosing: { type: "boolean" }, attributes: { type: "object", additionalProperties: l0 } }, additionalProperties: !1 }, d0 = { type: "object", properties: { schema: { oneOf: [{ type: "string", enum: ["realm"] }, { type: "boolean" }] }, extend: { type: "object", properties: { tags: { type: "object", additionalProperties: u0 }, tagsFile: { type: "string", minLength: 1 } }, additionalProperties: !1 } }, required: ["schema"], additionalProperties: !1 }, f0 = { type: "object", properties: { rules: Ns, excludes: { type: "array", items: { type: "string", minLength: 1 } }, baseline: { type: "string", minLength: 1 }, markdoc: { oneOf: [{ type: "boolean" }, d0] }, apiDescriptions: { type: "object", properties: { rules: Ns }, additionalProperties: !1 } }, additionalProperties: !1 }, m0 = { type: "object", properties: { end_session_endpoint: { type: "string" }, token_endpoint: { type: "string" }, authorization_endpoint: { type: "string" }, jwks_uri: { type: "string" } }, required: ["token_endpoint", "authorization_endpoint"], additionalProperties: !0 }, h0 = { type: "object", properties: { type: { type: "string", const: "OIDC" }, title: { type: "string" }, pkce: { type: "boolean" }, configurationUrl: { type: "string", minLength: 1 }, configuration: m0, clientId: { type: "string", minLength: 1 }, clientSecret: { type: "string" }, teamsClaimName: { type: "string" }, teamsClaimMap: { type: "object", additionalProperties: { type: "string" } }, defaultTeams: { type: "array", items: { type: "string" } }, scopes: { type: "array", items: { type: "string" } }, tokenExpirationTime: { type: "number" }, authorizationRequestCustomParams: { type: "object", additionalProperties: { type: "string" } }, introspectEndpoint: { type: "string" }, tokenRequestCustomParams: { type: "object", additionalProperties: { type: "string" } }, audience: { type: "array", items: { type: "string" } } }, required: ["type", "clientId"], oneOf: [{ required: ["configurationUrl"] }, { required: ["configuration"] }], additionalProperties: !1 }, y0 = { type: "object", properties: { type: { type: "string", const: "SAML2" }, title: { type: "string" }, issuerId: { type: "string" }, entityId: { type: "string" }, ssoUrl: { type: "string" }, x509PublicCert: { type: "string" }, teamsAttributeName: { type: "string" }, teamsAttributeMap: { type: "object", additionalProperties: { type: "string" } }, defaultTeams: { type: "array", items: { type: "string" } } }, additionalProperties: !1, required: ["type", "issuerId", "ssoUrl", "x509PublicCert"] }, g0 = { oneOf: [h0, y0], discriminator: { propertyName: "type" } }, b0 = { type: "object", additionalProperties: g0 }, Il = { oneOf: [{ type: "array", items: { type: "string", enum: Ds }, uniqueItems: !0 }, { type: "string", enum: Ds }] }, Ls = { type: "string", pattern: Zv, not: { enum: e0.filter((e) => e !== Ol) } }, ql = { oneOf: [{ type: "array", items: Ls, uniqueItems: !0 }, Ls] }, Cl = { type: "boolean" }, Ml = { type: "string", pattern: "^https?://.*" }, jl = { type: "string", pattern: "^https?://.*" }, v0 = { type: "object", properties: { to: { type: "string" }, type: { type: "number" } }, additionalProperties: !1, nodeTypeName: Ye.RedirectSource, description: "Source is an absolute path that must start with a forward slash.", documentationLink: "https://redocly.com/docs/realm/config/redirects#sources-map" }, w0 = { type: "object", additionalProperties: v0, nodeTypeName: Ye.Redirects, description: "Use redirects to change which resource a URL points to, maintaining working links when you move, rename, or restructure content.", documentationLink: "https://redocly.com/docs/realm/config/redirects" }, x0 = { type: "string", enum: ["info", "success", "warning", "error"] }, Me = { type: "object", additionalProperties: { type: "string" } }, S0 = { type: "object", properties: { trackingId: { type: "string" }, content: { type: "string" }, dismissible: { type: "boolean" }, target: { type: "string" }, color: x0, rbac: Me, startAt: { type: "string", format: "date-time" }, endAt: { type: "string", format: "date-time" } }, required: ["content"], additionalProperties: !1 }, P0 = { type: "array", items: S0 }, E0 = { type: "object", properties: { root: { type: "string" }, output: { type: "string", pattern: "(.ya?ml|.json)$" }, rbac: Me, openapi: no, graphql: to, theme: { type: "object", properties: { openapi: no, graphql: to }, additionalProperties: !1 }, title: { type: "string" }, metadata: { type: "object", additionalProperties: !0 }, ...Po }, required: ["root"] }, $0 = { type: "object", additionalProperties: !0 }, A0 = { type: "object", additionalProperties: { type: "object", additionalProperties: !0 } }, R0 = { type: "object", properties: { hide: { type: "boolean" }, title: { type: "string" }, description: { type: "string" }, details: { type: "object", properties: { path: { type: "string" }, content: { type: "string" } }, additionalProperties: !1 }, excludeFiles: { type: "array", items: { type: "string" } }, sections: { type: "array", items: { type: "object", properties: { title: { type: "string" }, description: { type: "string" }, includeFiles: { type: "array", items: { type: "string" } }, excludeFiles: { type: "array", items: { type: "string" } } }, required: ["title"], additionalProperties: !1 } } }, additionalProperties: !1 }, _0 = { type: "object", properties: { title: { type: "string" }, projectTitle: { type: "string" }, description: { type: "string" }, siteUrl: { type: "string" }, image: { type: "string" }, keywords: { oneOf: [{ type: "array", items: { type: "string" } }, { type: "string" }] }, lang: { type: "string" }, jsonLd: { type: "object" }, meta: { type: "array", items: { type: "object", properties: { name: { type: "string" }, content: { type: "string" } }, required: ["name", "content"], additionalProperties: !1 } }, llmstxt: R0 }, additionalProperties: !1 }, T0 = { type: "object", properties: { folders: { type: "array", items: { type: "string" } } }, additionalProperties: !1 }, O0 = { type: "object", properties: { catalogs: { type: "object", properties: { all: Me, services: Me, domains: Me, teams: Me, users: Me, apiDescriptions: Me, dataSchemas: Me, apiOperations: Me }, additionalProperties: Me }, entitiesTypes: { type: "object", properties: { service: Me, domain: Me, team: Me, user: Me, apiDescription: Me, apiOperation: Me, dataSchema: Me }, additionalProperties: Me }, entitiesGroups: { type: "array", items: { type: "object", properties: { entities: { type: "array", items: { type: "string" } }, config: Me }, additionalProperties: !1 } }, entities: { type: "object", properties: { "**": Me }, additionalProperties: Me } }, additionalProperties: !1 }, Dl = { type: "object", properties: { teamNamePatterns: { type: "array", items: { type: "string" } }, teamFolders: { type: "array", items: { type: "string" } }, teamFoldersBaseRoles: Me, cms: Me, reunite: Me, features: { type: "object", properties: { aiSearch: Me, mcp: Me }, additionalProperties: !1 }, content: { type: "object", properties: { "**": Me }, additionalProperties: Me }, entitiesCatalog: O0 }, additionalProperties: Me }, k0 = { type: "object", properties: { static: { type: "string" } }, additionalProperties: !1, required: ["static"] }, I0 = { type: "object", properties: { idp: { type: "string" } }, additionalProperties: !1, required: ["idp"] }, q0 = { type: "object", properties: { type: { type: "string", const: "GRAVITEE" }, apiBaseUrl: { type: "string" }, env: { type: "string" }, allowApiProductsOutsideCatalog: { type: "boolean" }, stage: { type: "string" }, auth: { oneOf: [k0, I0] } }, additionalProperties: !1, required: ["type", "apiBaseUrl"] }, C0 = { type: "object", properties: { type: { type: "string", const: "OAUTH2" }, tokenEndpoint: { type: "string" }, clientId: { type: "string" }, clientSecret: { type: "string" } }, additionalProperties: !1, required: ["type", "tokenEndpoint", "clientId", "clientSecret"] }, M0 = { type: "object", properties: { type: { type: "string", const: "SERVICE_ACCOUNT" }, serviceAccountEmail: { type: "string" }, serviceAccountPrivateKey: { type: "string" } }, additionalProperties: !1, required: ["type", "serviceAccountEmail", "serviceAccountPrivateKey"] }, Vi = { type: "object", properties: { type: { type: "string", const: "APIGEE_X" }, apiUrl: { type: "string" }, stage: { type: "string" }, organizationName: { type: "string" }, ignoreApiProducts: { type: "array", items: { type: "string" } }, allowApiProductsOutsideCatalog: { type: "boolean" }, auth: { type: "object", oneOf: [C0, M0], discriminator: { propertyName: "type" } } }, additionalProperties: !1, required: ["type", "organizationName", "auth"] }, j0 = { ...Vi, properties: { ...Vi.properties, type: { type: "string", const: "APIGEE_EDGE" } } }, D0 = { type: "object", oneOf: [Vi, j0, q0], discriminator: { propertyName: "type" } }, N0 = { type: "object", required: ["adapters"], additionalProperties: !1, properties: { adapters: { type: "array", items: D0 } } }, Us = { type: "object", properties: { defaultLocale: { type: "string" }, locales: { type: "array", items: { type: "object", properties: { code: { type: "string" }, name: { type: "string" } }, required: ["code"] } } }, additionalProperties: !1, required: ["defaultLocale"] }, L0 = { type: "object", properties: { name: { type: "string" }, value: { type: "string" } }, additionalProperties: !1, required: ["name", "value"] }, U0 = { type: "object", properties: { hide: { type: "boolean" }, docs: { type: "object", properties: { hide: { type: "boolean" }, name: { type: "string" }, ignore: { type: "array", items: { type: "string" } }, publicEndpoint: { type: "boolean" } }, additionalProperties: !1 } }, additionalProperties: !1 }, F0 = { type: "object", properties: { hide: { type: "boolean" }, excludeFiles: { type: "array", items: { type: "string" } } }, additionalProperties: !1 }, z0 = { type: "object", properties: { requiresLogin: Cl, logoutReturnUrl: Ml, residency: jl, sso: Il, idps: ql, rbac: Dl }, additionalProperties: !1, not: { required: ["sso", "idps"] }, description: "Use either `access.sso` (filter by category) or `access.idps` (filter by slug), not both." }, so = { type: "object", properties: { imports: { type: "array", items: { type: "string" } }, licenseKey: { type: "string" }, redirects: w0, seo: _0, rbac: Dl, apiFunctions: T0, requiresLogin: Cl, responseHeaders: { type: "object", additionalProperties: { type: "array", items: L0 } }, mockServer: { type: "object", properties: { off: { type: "boolean" }, position: { type: "string", enum: ["first", "last", "replace", "off"] }, strictExamples: { type: "boolean" }, errorIfForcedExampleNotFound: { type: "boolean" }, description: { type: "string" } } }, apis: { type: "object", additionalProperties: E0 }, ...Po, ssoDirect: b0, sso: Il, idps: ql, residency: jl, logoutReturnUrl: Ml, access: z0, developerOnboarding: N0, removeAttribution: { type: "boolean" }, i18n: Us, l10n: Us, metadata: $0, metadataGlobs: A0, ignore: { type: "array", items: { type: "string" } }, theme: lt, reunite: a0, logo: pl, navbar: ll, products: ul, footer: dl, sidebar: fl, scripts: ml, links: hl, feedback: Sr, search: yl, aiAssistant: gl, colorMode: bl, palette: vl, navigation: wl, codeSnippet: xl, markdown: Sl, openapi: no, graphql: to, analytics: Pl, userMenu: El, versionPicker: $l, breadcrumbs: Al, catalog: oo, entitiesCatalog: Rl, catalogClassic: oo, scorecard: io, scorecardClassic: io, scorecards: Tl, mcp: U0, skills: F0, recheck: f0, corsProxy: { type: "object", properties: { allowedTargets: { type: "array", items: { type: "string" } } }, additionalProperties: !1 }, banner: P0 }, not: { required: ["sso", "idps"] }, additionalProperties: !0 }, B0 = { ...so, additionalProperties: !1 }, Eo = { $id: "root-redocly-config", ...so, properties: { plugins: { type: "array", items: { type: "string" } }, ...so.properties, env: { type: "object", additionalProperties: B0 } }, additionalProperties: !1 };
|
|
5070
|
+
var $v = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, scriptUrl: { type: "string" }, pageViewEventName: { type: "string" } }, additionalProperties: !1, required: ["scriptUrl"] }, Av = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, apiKey: { type: "string" }, head: { type: "boolean" }, respectDNT: { type: "boolean" }, exclude: { type: "array", items: { type: "string" } }, outboundClickEventName: { type: "string" }, pageViewEventName: { type: "string" }, amplitudeConfig: { type: "object", additionalProperties: !0 } }, additionalProperties: !1, required: ["apiKey"] }, Rv = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, orgId: { type: "string" } }, additionalProperties: !1, required: ["orgId"] }, _v = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, appId: { type: "string" } }, additionalProperties: !1, required: ["appId"] }, Tv = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, writeKey: { type: "string", minLength: 10 }, trackPage: { type: "boolean" }, dataPlaneUrl: { type: "string" }, controlPlaneUrl: { type: "string" }, sdkUrl: { type: "string" }, loadOptions: { type: "object", additionalProperties: !0 } }, additionalProperties: !1, required: ["writeKey"] }, Ov = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, writeKey: { type: "string", minLength: 10 }, trackPage: { type: "boolean" }, includeTitleInPageCall: { type: "boolean" }, host: { type: "string" } }, additionalProperties: !1, required: ["writeKey"] }, kv = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, trackingId: { type: "string" }, gtmAuth: { type: "string" }, gtmPreview: { type: "string" }, defaultDataLayer: { type: "object", additionalProperties: !0 }, dataLayerName: { type: "string" }, enableWebVitalsTracking: { type: "boolean" }, selfHostedOrigin: { type: "string" }, pageViewEventName: { type: "string" } }, additionalProperties: !1, required: ["trackingId"] }, Iv = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, trackingId: { type: "string" }, conversionId: { type: "string" }, floodlightId: { type: "string" }, optimizeId: { type: "string" }, exclude: { type: "array", items: { type: "string" } } }, additionalProperties: !1, required: ["trackingId"] }, qv = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, trackingId: { type: "string" }, conversionId: { type: "string" }, floodlightId: { type: "string" }, head: { type: "boolean" }, respectDNT: { type: "boolean" }, exclude: { type: "array", items: { type: "string" } }, optimizeId: { type: "string" }, anonymizeIp: { type: "boolean" }, cookieExpires: { type: "number" }, trackers: { type: "object", additionalProperties: Iv } }, additionalProperties: !1, required: ["trackingId"] }, Pl = { type: "object", properties: { adobe: $v, amplitude: Av, fullstory: Rv, heap: _v, rudderstack: Tv, segment: Ov, gtm: kv, ga: qv } }, Cv = { type: "object", properties: { mode: { type: "string", enum: ["auto", "opt-in", "opt-out", "none", "onetrust", "cookiebot", "trustarc", "tcf"] }, privacyPolicyUrl: { type: "string" }, expires: { type: "number" }, settingsLink: { type: "string", enum: ["auto", "footer", "none"] } }, additionalProperties: !1 }, El = { type: "object", properties: { items: { type: "array", items: { type: "object", properties: { label: { type: "string" }, external: { type: "boolean" }, link: { type: "string" }, separatorLine: { type: "boolean" } }, additionalProperties: !0 } }, hideLoginButton: { type: "boolean" }, ...Be.properties }, additionalProperties: !1 }, $l = { type: "object", properties: { hide: { type: "boolean" }, showForUnversioned: { type: "boolean" } } }, Al = { type: "object", properties: { hide: { type: "boolean" }, prefixItems: { type: "array", items: { type: "object", properties: { label: { type: "string" }, labelTranslationKey: { type: "string" }, page: { type: "string" }, icon: { type: "string" } }, additionalProperties: !1 } } }, additionalProperties: !1 }, Mv = { type: "object", additionalProperties: !1, required: ["title", "property"], properties: { type: { type: "string", enum: ["select", "checkboxes", "date-range"] }, title: { type: "string" }, titleTranslationKey: { type: "string" }, property: { type: "string" }, parentFilter: { type: "string" }, valuesMapping: { type: "object", additionalProperties: { type: "string" } }, missingCategoryName: { type: "string" }, missingCategoryNameTranslationKey: { type: "string" }, options: { type: "array", items: { type: "string" } } } }, jv = { type: "object", additionalProperties: !0, required: ["slug", "items"], properties: { show: { type: "boolean" }, slug: { type: "string" }, filters: { type: "array", items: Mv }, groupByFirstFilter: { type: "boolean" }, filterValuesCasing: { type: "string", enum: ["sentence", "original", "lowercase", "uppercase"] }, items: ls, requiredPermission: { type: "string" }, separateVersions: { type: "boolean" }, title: { type: "string" }, titleTranslationKey: { type: "string" }, description: { type: "string" }, descriptionTranslationKey: { type: "string" } } }, oo = { type: "object", patternProperties: { ".*": jv } }, io = { nodeTypeName: Ye.ScorecardClassic, description: "Add and create sets of rules and test your API description files against them. With these rules you can maintain quality across your existing APIs and ensure that newly-added or updated APIs match your criteria. An API scorecard can include multiple sets of rules, corresponding to different quality levels.", documentationLink: "https://redocly.com/docs/realm/config/scorecard-classic", type: "object", additionalProperties: !0, required: [], properties: { ignoreNonCompliant: { type: "boolean" }, teamMetadataProperty: { nodeTypeName: Ye.ScorecardClassicTeamMetadataProperty, description: "Provide custom team label and team metadata property.", documentationLink: "https://redocly.com/docs/realm/config/scorecard-classic#team-metadata-object", type: "object", properties: { property: { type: "string" }, label: { type: "string" }, default: { type: "string" } } }, levels: { nodeTypeName: Ye.ScorecardClassicLevelList, description: "List of levels to score against.", type: "array", items: { nodeTypeName: Ye.ScorecardClassicLevel, documentationLink: "https://redocly.com/docs/realm/config/scorecard-classic#level-object", type: "object", required: ["name"], properties: { name: { type: "string" }, color: { type: "string" }, ...Po }, additionalProperties: !1 } }, targets: { nodeTypeName: Ye.ScorecardClassicTargetList, description: "Provide custom `minimumLevel` for specific targets.", type: "array", items: { nodeTypeName: Ye.ScorecardClassicTarget, type: "object", required: ["where"], properties: { minimumLevel: { type: "string" }, rules: { type: "object", additionalProperties: !0 }, where: { nodeTypeName: Ye.ScorecardClassicTargetWhere, description: "Specify which API descriptions to apply the `minimumLevel` to based on the metadata.", documentationLink: "https://redocly.com/docs/realm/config/scorecard-classic#where-object", type: "object", required: ["metadata"], properties: { metadata: { nodeTypeName: Ye.ScorecardClassicTargetWhereMetadata, type: "object", additionalProperties: { type: "string" } } }, additionalProperties: !1 } }, additionalProperties: !1 } }, ignore: { type: "array", items: { type: "string" } }, fromProjectUrl: { type: "string", format: "uri" } } }, Dv = { type: "object", required: ["key"], properties: { key: { type: "string" } }, additionalProperties: !1 }, Nv = { type: "object", required: ["type"], properties: { type: { type: "string" } }, additionalProperties: !1 }, Lv = { type: "object", required: ["property", "title"], properties: { property: { type: "string" }, hide: { type: "boolean" }, label: { type: "string" }, options: { type: "array", items: { type: "string" } }, type: { type: "string", enum: ["select", "checkboxes", "date-range"] }, title: { type: "string" }, titleTranslationKey: { type: "string" }, parentFilter: { type: "string" }, valuesMapping: { type: "object", additionalProperties: { type: "string" } } }, additionalProperties: !1 }, mt = { type: "object", properties: { slug: { type: "string" }, hide: { type: "boolean" }, includes: { type: "array", items: Nv }, excludes: { type: "array", items: Dv }, filters: { type: "array", items: Lv }, titleTranslationKey: { type: "string" }, descriptionTranslationKey: { type: "string" }, catalogSwitcherLabelTranslationKey: { type: "string" } }, additionalProperties: !1 }, Uv = { type: "object", properties: { type: { type: "string", enum: ["string", "number", "boolean", "array", "object"] }, description: { type: "string" }, example: { oneOf: [{ type: "string" }, { type: "number" }, { type: "boolean" }, { type: "array" }, { type: "object" }] }, enum: { type: "array", items: { type: "string" } }, pattern: { type: "string" }, format: { type: "string" }, minimum: { type: "number" }, maximum: { type: "number" }, items: { type: "object" } }, additionalProperties: !0 }, Fv = { type: "object", required: ["type", "properties"], properties: { type: { type: "string", enum: ["object"] }, description: { type: "string" }, properties: { type: "object", additionalProperties: Uv }, required: { type: "array", items: { type: "string" } }, additionalProperties: { type: "boolean" } }, additionalProperties: !0 }, zv = { type: "object", required: ["name", "description", "metadataSchema"], properties: { name: { type: "string", description: "Display name of the entity type" }, description: { type: "string", description: "Description of the entity type" }, metadataSchema: Fv, icon: { type: "object", properties: { src: { type: "string" }, srcSet: { type: "string" } }, additionalProperties: !1 } }, additionalProperties: !1 }, Bv = { type: "object", additionalProperties: zv }, Rl = { type: "object", properties: { show: { type: "boolean" }, entityTypes: Bv, catalogs: { type: "object", properties: { all: mt, services: mt, domains: mt, teams: mt, users: mt, apiDescriptions: mt, dataSchemas: mt, apiOperations: mt }, additionalProperties: mt } }, additionalProperties: !1 }, Cs = { type: "string", enum: ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"] }, us = { type: "string", enum: ["and", "or"] }, Bi = { type: "object", properties: { field: { type: "string" }, operator: Cs, value: { oneOf: [{ type: "boolean" }, { type: "string" }, { type: "number" }] }, modifier: { type: "string", enum: ["not"] }, match: { type: "array", items: { type: "object", properties: { field: { type: "string" }, operator: Cs, value: { oneOf: [{ type: "boolean" }, { type: "string" }, { type: "number" }] }, modifier: { type: "string", enum: ["not"] } } } } } }, Vv = { type: "object", properties: { operator: us, conditions: { type: "array", items: Bi } }, required: ["operator", "conditions"], additionalProperties: !1 }, Ms = { type: "array", items: { oneOf: [Bi, { type: "object", properties: { operator: us, conditions: { type: "array", items: { oneOf: [Bi, Vv] } } }, required: ["operator", "conditions"], additionalProperties: !1 }] } }, _l = { type: "object", properties: { defined: { type: "boolean" }, nonEmpty: { type: "boolean" }, eq: { oneOf: [{ type: "boolean" }, { type: "string" }, { type: "number" }] }, gt: { type: "number" }, gte: { type: "number" }, lt: { type: "number" }, lte: { type: "number" }, const: { oneOf: [{ type: "boolean" }, { type: "string" }, { type: "number" }] } }, additionalProperties: !1 }, Hv = { type: "array", items: { type: "object", properties: { subject: { type: "object", properties: { type: { type: "string", enum: ["Entity", "EntityMetadata", "EntityRelations", "EntityRelation"] }, property: { type: "string" } }, required: ["type", "property"], additionalProperties: !1 }, assertions: _l }, required: ["subject", "assertions"], additionalProperties: !1 } }, Kv = { type: "object", properties: { title: { type: "string" }, subject: { type: "object", properties: { type: { type: "string", enum: ["Entity", "EntityMetadata", "EntityRelations", "EntityRelation"] }, property: { type: "string" } }, required: ["type", "property"], additionalProperties: !1 }, severity: { type: "string", enum: ["error", "warn", "off"] }, message: { type: "string" }, assertions: _l, where: Hv, weight: { type: "number" } }, required: ["subject", "assertions"], additionalProperties: !1 }, Wv = { type: "object", additionalProperties: { oneOf: [{ type: "string" }, { type: "object", properties: { severity: { type: "string", enum: ["error", "warn", "off"] }, weight: { type: "number" } }, additionalProperties: !0 }, Kv] } }, Qv = { type: "object", properties: { name: { type: "string" }, extends: Po.extends, rules: Wv }, required: ["name"], additionalProperties: !1 }, js = { type: "object", properties: { event: { type: "string", enum: ["runtime", "manual"] } }, required: ["event"], additionalProperties: !1 }, Gv = { oneOf: [js, { type: "array", items: js }] }, Yv = { type: "object", properties: { name: { type: "string" }, key: { type: "string" }, description: { type: "string" }, entities: { oneOf: [Ms, { type: "object", properties: { operator: us, conditions: Ms }, required: ["operator", "conditions"], additionalProperties: !1 }] }, levels: { type: "array", items: Qv, minItems: 1 }, trigger: Gv }, required: ["name", "key", "entities", "levels"], additionalProperties: !1 }, Tl = { type: "array", items: Yv }, lt = { type: "object", properties: { imports: { type: "array", items: { type: "string" } }, logo: pl, navbar: ll, products: ul, footer: dl, sidebar: fl, scripts: ml, links: hl, feedback: Sr, search: yl, aiAssistant: gl, colorMode: bl, palette: vl, navigation: wl, codeSnippet: xl, markdown: Sl, openapi: no, asyncapi: Ob, graphql: to, analytics: Pl, userMenu: El, versionPicker: $l, breadcrumbs: Al, catalog: oo, entitiesCatalog: Rl, catalogClassic: oo, scorecard: io, scorecardClassic: io, scorecards: Tl }, additionalProperties: !0 }, Jv = ((e) => (e.OIDC = "OIDC", e.SAML2 = "SAML2", e))(Jv || {}), Xv = ((e) => (e.SERVICE_ACCOUNT = "SERVICE_ACCOUNT", e.OAUTH2 = "OAUTH2", e))(Xv || {}), Zv = ((e) => (e.STACKED = "stacked", e.THREE_PANEL = "three-panel", e))(Zv || {}), e0 = "^[a-z0-9]+(?:-[a-z0-9]+)*$", Ol = "redocly", t0 = [Ol, "corporate", "guest"], Ds = ["REDOCLY", "CORPORATE", "GUEST"], r0 = { type: "object", additionalProperties: { type: "string" } }, n0 = { type: "object", additionalProperties: !1, patternProperties: { "^[a-zA-Z0-9_-]+$": { type: "string", pattern: "^https?://[^\\s/$.?#].[^\\s]*$" } } }, Dr = { type: "string", enum: ["error", "warn", "off"] }, o0 = { type: "object", additionalProperties: !1, properties: { schemaCheck: Dr, statusCodeCheck: Dr, contentTypeCheck: Dr, successCriteriaCheck: Dr } }, i0 = { type: "object", properties: { event: { type: "string", enum: ["schedule"] }, interval: { type: "string", enum: ["1m", "2m", "5m", "10m", "15m", "30m", "1h", "3h", "6h", "12h", "1d", "7d"] } }, required: ["event"], additionalProperties: !1 }, s0 = { type: "object", properties: { event: { type: "string", enum: ["build"] } }, required: ["event"], additionalProperties: !1 }, a0 = { type: "object", properties: { warn: { type: "number" }, error: { type: "number" } }, additionalProperties: !1 }, c0 = { type: "object", additionalProperties: { type: "object", properties: { type: { type: "string", enum: ["http"] }, url: { type: "string", pattern: "^https?://[^\\s/$.?#].[^\\s]*$" }, description: { type: "string" }, headers: { type: "object", additionalProperties: { type: "string" } } }, required: ["url"], additionalProperties: !1 } }, p0 = { type: "object", properties: { ignoreLint: { oneOf: [{ type: "boolean" }, { type: "object", additionalProperties: { type: "boolean" } }] }, ignoreLinkChecker: { type: "boolean" }, ignoreMarkdocErrors: { type: "boolean" }, ignoreRespectMonitoring: { type: "boolean" }, jobs: { type: "array", items: { type: "object", properties: { path: { type: "string", pattern: "^(?!\\/|\\.\\./)" }, agent: { type: "string", enum: ["respect"] }, trigger: { oneOf: [i0, s0] }, inputs: r0, servers: n0, severity: o0, slo: a0 }, required: ["path", "trigger", "agent"], additionalProperties: !1 } }, mcpServers: c0 }, additionalProperties: !1 }, kl = { type: "string", enum: ["off", "info", "warn", "error"] }, rr = { type: "array", items: { type: "string" } }, l0 = { type: "object", properties: { severity: kl, message: { type: "string", minLength: 1 }, fix: { type: "boolean" }, tags: rr, description: { type: "string" }, link: { type: "string" }, scope: { oneOf: [{ type: "string", minLength: 1 }, { type: "array", items: { type: "string", minLength: 1 }, minItems: 1 }] }, appliesTo: rr, excludes: rr, exceptions: { type: "object", properties: { files: rr, lines: rr }, additionalProperties: !1 }, assertions: { type: "object", additionalProperties: !0 } }, additionalProperties: !1 }, u0 = { oneOf: [kl, l0] }, Ns = { type: "object", additionalProperties: u0 }, d0 = { type: "object", properties: { type: { type: "string", enum: ["string", "number", "boolean"] }, required: { type: "boolean" }, default: { oneOf: [{ type: "string" }, { type: "number" }, { type: "boolean" }] }, enum: { type: "array", items: { type: "string" }, minItems: 1 }, dynamic: { type: "boolean" } }, required: ["type"], additionalProperties: !1 }, f0 = { type: "object", properties: { selfClosing: { type: "boolean" }, attributes: { type: "object", additionalProperties: d0 } }, additionalProperties: !1 }, m0 = { type: "object", properties: { schema: { oneOf: [{ type: "string", enum: ["realm"] }, { type: "boolean" }] }, extend: { type: "object", properties: { tags: { type: "object", additionalProperties: f0 }, tagsFile: { type: "string", minLength: 1 } }, additionalProperties: !1 } }, required: ["schema"], additionalProperties: !1 }, h0 = { type: "object", properties: { rules: Ns, excludes: { type: "array", items: { type: "string", minLength: 1 } }, baseline: { type: "string", minLength: 1 }, markdoc: { oneOf: [{ type: "boolean" }, m0] }, apiDescriptions: { type: "object", properties: { rules: Ns }, additionalProperties: !1 } }, additionalProperties: !1 }, y0 = { type: "object", properties: { end_session_endpoint: { type: "string" }, token_endpoint: { type: "string" }, authorization_endpoint: { type: "string" }, jwks_uri: { type: "string" } }, required: ["token_endpoint", "authorization_endpoint"], additionalProperties: !0 }, g0 = { type: "object", properties: { type: { type: "string", const: "OIDC" }, title: { type: "string" }, pkce: { type: "boolean" }, configurationUrl: { type: "string", minLength: 1 }, configuration: y0, clientId: { type: "string", minLength: 1 }, clientSecret: { type: "string" }, teamsClaimName: { type: "string" }, teamsClaimMap: { type: "object", additionalProperties: { type: "string" } }, defaultTeams: { type: "array", items: { type: "string" } }, scopes: { type: "array", items: { type: "string" } }, tokenExpirationTime: { type: "number" }, authorizationRequestCustomParams: { type: "object", additionalProperties: { type: "string" } }, introspectEndpoint: { type: "string" }, tokenRequestCustomParams: { type: "object", additionalProperties: { type: "string" } }, audience: { type: "array", items: { type: "string" } } }, required: ["type", "clientId"], oneOf: [{ required: ["configurationUrl"] }, { required: ["configuration"] }], additionalProperties: !1 }, b0 = { type: "object", properties: { type: { type: "string", const: "SAML2" }, title: { type: "string" }, issuerId: { type: "string" }, entityId: { type: "string" }, ssoUrl: { type: "string" }, x509PublicCert: { type: "string" }, teamsAttributeName: { type: "string" }, teamsAttributeMap: { type: "object", additionalProperties: { type: "string" } }, defaultTeams: { type: "array", items: { type: "string" } } }, additionalProperties: !1, required: ["type", "issuerId", "ssoUrl", "x509PublicCert"] }, v0 = { oneOf: [g0, b0], discriminator: { propertyName: "type" } }, w0 = { type: "object", additionalProperties: v0 }, Il = { oneOf: [{ type: "array", items: { type: "string", enum: Ds }, uniqueItems: !0 }, { type: "string", enum: Ds }] }, Ls = { type: "string", pattern: e0, not: { enum: t0.filter((e) => e !== Ol) } }, ql = { oneOf: [{ type: "array", items: Ls, uniqueItems: !0 }, Ls] }, Cl = { type: "boolean" }, Ml = { type: "string", pattern: "^https?://.*" }, jl = { type: "string", pattern: "^https?://.*" }, x0 = { type: "object", properties: { to: { type: "string" }, type: { type: "number" } }, additionalProperties: !1, nodeTypeName: Ye.RedirectSource, description: "Source is an absolute path that must start with a forward slash.", documentationLink: "https://redocly.com/docs/realm/config/redirects#sources-map" }, S0 = { type: "object", additionalProperties: x0, nodeTypeName: Ye.Redirects, description: "Use redirects to change which resource a URL points to, maintaining working links when you move, rename, or restructure content.", documentationLink: "https://redocly.com/docs/realm/config/redirects" }, P0 = { type: "string", enum: ["info", "success", "warning", "error"] }, Me = { type: "object", additionalProperties: { type: "string" } }, E0 = { type: "object", properties: { trackingId: { type: "string" }, content: { type: "string", uiHint: "textarea" }, dismissible: { type: "boolean" }, target: { type: "string" }, color: P0, rbac: Me, startAt: { type: "string", format: "date-time" }, endAt: { type: "string", format: "date-time" } }, required: ["content"], additionalProperties: !1 }, $0 = { type: "array", items: E0 }, A0 = { type: "object", properties: { root: { type: "string" }, output: { type: "string", pattern: "(.ya?ml|.json)$" }, rbac: Me, openapi: no, graphql: to, theme: { type: "object", properties: { openapi: no, graphql: to }, additionalProperties: !1 }, title: { type: "string" }, metadata: { type: "object", additionalProperties: !0 }, ...Po }, required: ["root"] }, R0 = { type: "object", additionalProperties: !0 }, _0 = { type: "object", additionalProperties: { type: "object", additionalProperties: !0 } }, T0 = { type: "object", properties: { hide: { type: "boolean" }, title: { type: "string" }, description: { type: "string" }, details: { type: "object", properties: { path: { type: "string" }, content: { type: "string" } }, additionalProperties: !1 }, excludeFiles: { type: "array", items: { type: "string" } }, sections: { type: "array", items: { type: "object", properties: { title: { type: "string" }, description: { type: "string" }, includeFiles: { type: "array", items: { type: "string" } }, excludeFiles: { type: "array", items: { type: "string" } } }, required: ["title"], additionalProperties: !1 } } }, additionalProperties: !1 }, O0 = { type: "object", properties: { title: { type: "string" }, projectTitle: { type: "string" }, description: { type: "string", uiHint: "textarea" }, siteUrl: { type: "string" }, image: { type: "string", uiHint: "file" }, keywords: { oneOf: [{ type: "array", items: { type: "string" } }, { type: "string" }] }, lang: { type: "string" }, jsonLd: { type: "object" }, meta: { type: "array", items: { type: "object", properties: { name: { type: "string" }, content: { type: "string" } }, required: ["name", "content"], additionalProperties: !1 } }, llmstxt: T0 }, additionalProperties: !1 }, k0 = { type: "object", properties: { folders: { type: "array", items: { type: "string" } } }, additionalProperties: !1 }, I0 = { type: "object", properties: { catalogs: { type: "object", properties: { all: Me, services: Me, domains: Me, teams: Me, users: Me, apiDescriptions: Me, dataSchemas: Me, apiOperations: Me }, additionalProperties: Me }, entitiesTypes: { type: "object", properties: { service: Me, domain: Me, team: Me, user: Me, apiDescription: Me, apiOperation: Me, dataSchema: Me }, additionalProperties: Me }, entitiesGroups: { type: "array", items: { type: "object", properties: { entities: { type: "array", items: { type: "string" } }, config: Me }, additionalProperties: !1 } }, entities: { type: "object", properties: { "**": Me }, additionalProperties: Me } }, additionalProperties: !1 }, Dl = { type: "object", properties: { teamNamePatterns: { type: "array", items: { type: "string" } }, teamFolders: { type: "array", items: { type: "string" } }, teamFoldersBaseRoles: Me, cms: Me, reunite: Me, features: { type: "object", properties: { aiSearch: Me, mcp: Me }, additionalProperties: !1 }, content: { type: "object", properties: { "**": Me }, additionalProperties: Me }, entitiesCatalog: I0 }, additionalProperties: Me }, q0 = { type: "object", properties: { static: { type: "string" } }, additionalProperties: !1, required: ["static"] }, C0 = { type: "object", properties: { idp: { type: "string" } }, additionalProperties: !1, required: ["idp"] }, M0 = { type: "object", properties: { type: { type: "string", const: "GRAVITEE" }, apiBaseUrl: { type: "string" }, env: { type: "string" }, allowApiProductsOutsideCatalog: { type: "boolean" }, stage: { type: "string" }, auth: { oneOf: [q0, C0] } }, additionalProperties: !1, required: ["type", "apiBaseUrl"] }, j0 = { type: "object", properties: { type: { type: "string", const: "OAUTH2" }, tokenEndpoint: { type: "string" }, clientId: { type: "string" }, clientSecret: { type: "string" } }, additionalProperties: !1, required: ["type", "tokenEndpoint", "clientId", "clientSecret"] }, D0 = { type: "object", properties: { type: { type: "string", const: "SERVICE_ACCOUNT" }, serviceAccountEmail: { type: "string" }, serviceAccountPrivateKey: { type: "string" } }, additionalProperties: !1, required: ["type", "serviceAccountEmail", "serviceAccountPrivateKey"] }, Vi = { type: "object", properties: { type: { type: "string", const: "APIGEE_X" }, apiUrl: { type: "string" }, stage: { type: "string" }, organizationName: { type: "string" }, ignoreApiProducts: { type: "array", items: { type: "string" } }, allowApiProductsOutsideCatalog: { type: "boolean" }, auth: { type: "object", oneOf: [j0, D0], discriminator: { propertyName: "type" } } }, additionalProperties: !1, required: ["type", "organizationName", "auth"] }, N0 = { ...Vi, properties: { ...Vi.properties, type: { type: "string", const: "APIGEE_EDGE" } } }, L0 = { type: "object", oneOf: [Vi, N0, M0], discriminator: { propertyName: "type" } }, U0 = { type: "object", required: ["adapters"], additionalProperties: !1, properties: { adapters: { type: "array", items: L0 } } }, Us = { type: "object", properties: { defaultLocale: { type: "string" }, locales: { type: "array", items: { type: "object", properties: { code: { type: "string" }, name: { type: "string" } }, required: ["code"] } } }, additionalProperties: !1, required: ["defaultLocale"] }, F0 = { type: "object", properties: { name: { type: "string" }, value: { type: "string" } }, additionalProperties: !1, required: ["name", "value"] }, z0 = { type: "object", properties: { hide: { type: "boolean" }, docs: { type: "object", properties: { hide: { type: "boolean" }, name: { type: "string" }, ignore: { type: "array", items: { type: "string" } }, publicEndpoint: { type: "boolean" } }, additionalProperties: !1 } }, additionalProperties: !1 }, B0 = { type: "object", properties: { hide: { type: "boolean" }, excludeFiles: { type: "array", items: { type: "string" } } }, additionalProperties: !1 }, V0 = { type: "object", properties: { requiresLogin: Cl, logoutReturnUrl: Ml, residency: jl, sso: Il, idps: ql, rbac: Dl }, additionalProperties: !1, not: { required: ["sso", "idps"] }, description: "Use either `access.sso` (filter by category) or `access.idps` (filter by slug), not both." }, so = { type: "object", properties: { imports: { type: "array", items: { type: "string" } }, licenseKey: { type: "string" }, redirects: S0, seo: O0, rbac: Dl, apiFunctions: k0, requiresLogin: Cl, responseHeaders: { type: "object", additionalProperties: { type: "array", items: F0 } }, mockServer: { type: "object", properties: { off: { type: "boolean" }, position: { type: "string", enum: ["first", "last", "replace", "off"] }, strictExamples: { type: "boolean" }, errorIfForcedExampleNotFound: { type: "boolean" }, description: { type: "string" } } }, apis: { type: "object", additionalProperties: A0 }, ...Po, ssoDirect: w0, sso: Il, idps: ql, residency: jl, logoutReturnUrl: Ml, access: V0, developerOnboarding: U0, removeAttribution: { type: "boolean" }, i18n: Us, l10n: Us, metadata: R0, metadataGlobs: _0, ignore: { type: "array", items: { type: "string" } }, theme: lt, reunite: p0, logo: pl, navbar: ll, products: ul, footer: dl, sidebar: fl, scripts: ml, links: hl, feedback: Sr, search: yl, aiAssistant: gl, colorMode: bl, palette: vl, navigation: wl, codeSnippet: xl, markdown: Sl, openapi: no, graphql: to, analytics: Pl, consent: Cv, userMenu: El, versionPicker: $l, breadcrumbs: Al, catalog: oo, entitiesCatalog: Rl, catalogClassic: oo, scorecard: io, scorecardClassic: io, scorecards: Tl, mcp: z0, skills: B0, recheck: h0, corsProxy: { type: "object", properties: { allowedTargets: { type: "array", items: { type: "string" } } }, additionalProperties: !1 }, banner: $0 }, not: { required: ["sso", "idps"] }, additionalProperties: !0 }, H0 = { ...so, additionalProperties: !1 }, Eo = { $id: "root-redocly-config", ...so, properties: { plugins: { type: "array", items: { type: "string" } }, ...so.properties, env: { type: "object", additionalProperties: H0 } }, additionalProperties: !1 };
|
|
5071
5071
|
lt.properties.logo, lt.properties.navbar, lt.properties.footer, lt.properties.sidebar, lt.properties.search, lt.properties.codeSnippet, lt.properties.breadcrumbs, lt.properties.openapi, lt.properties.feedback, so.properties.mockServer;
|
|
5072
|
-
var
|
|
5073
|
-
const
|
|
5072
|
+
var K0 = ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"], Ue = cl({ UserEntity: "UserEntity", UserEntityMetadata: "UserEntityMetadata", ApiDescriptionEntity: "ApiDescriptionEntity", ApiDescriptionEntityMetadata: "ApiDescriptionEntityMetadata", ApiOperationEntity: "ApiOperationEntity", ApiOperationEntityMetadata: "ApiOperationEntityMetadata", DataSchemaEntity: "DataSchemaEntity", DataSchemaEntityMetadata: "DataSchemaEntityMetadata", ServiceEntity: "ServiceEntity", DomainEntity: "DomainEntity", TeamEntity: "TeamEntity", Entity: "Entity", EntityMetadata: "EntityMetadata", EntityLinkList: "EntityLinkList", EntityLink: "EntityLink", EntityRelation: "EntityRelation", EntityRelationList: "EntityRelationList", EntityContact: "EntityContact", EntitySlackContact: "EntitySlackContact", EntitySlackChannel: "EntitySlackChannel" }), W0 = { type: "object", nodeTypeName: Ue.UserEntityMetadata, properties: { email: { type: "string", description: "Email of the user" } }, required: ["email"], additionalProperties: !0 }, Q0 = { type: "object", nodeTypeName: Ue.ApiDescriptionEntityMetadata, properties: { specType: { type: "string", enum: ["jsonschema", "openapi", "asyncapi", "avro", "zod", "graphql", "protobuf", "arazzo"], description: "Type of the API description" }, descriptionFile: { type: "string", description: "Path to the file containing the API description" } }, required: ["specType", "descriptionFile"], additionalProperties: !0 }, G0 = { type: "object", nodeTypeName: Ue.ApiOperationEntityMetadata, properties: { method: { type: "string", enum: ["GET", "POST", "PUT", "DELETE", "PATCH", "MUTATION", "QUERY", "SUBSCRIBE", "PUBLISH"], description: "HTTP method of the API operation" }, path: { type: "string", description: "Path of the API operation" }, payload: { type: "array", items: { type: "string", description: "Related dataSchema name" } }, responses: { type: "array", items: { type: "string", description: "Related dataSchema name" } } }, required: ["method", "path"], additionalProperties: !0 }, Y0 = { type: "object", nodeTypeName: Ue.DataSchemaEntityMetadata, properties: { specType: { type: "string", enum: ["jsonschema", "openapi", "asyncapi", "avro", "zod", "graphql", "protobuf", "arazzo"], description: "Specification type of the data schema" }, schema: { type: "string", description: "Inline schema of the data structure" }, sdl: { type: "string", description: "SDL of the data structure" } }, required: ["specType"], additionalProperties: !0 }, J0 = { type: "object", properties: {}, nodeTypeName: Ue.EntityMetadata, additionalProperties: !0 }, X0 = { type: "object", nodeTypeName: Ue.EntitySlackChannel, properties: { name: { type: "string", minLength: 2, maxLength: 150 }, url: { type: "string" } }, required: ["name"], additionalProperties: !1 }, Z0 = { type: "object", nodeTypeName: Ue.EntitySlackContact, properties: { channels: { type: "array", items: X0 } }, required: ["channels"], additionalProperties: !1 }, ew = { type: "object", nodeTypeName: Ue.EntityContact, properties: { slack: Z0 }, additionalProperties: !1 }, tw = { type: "object", nodeTypeName: Ue.EntityLink, properties: { label: { type: "string", minLength: 2, maxLength: 150 }, url: { type: "string" } }, required: ["label", "url"], additionalProperties: !1 }, rw = { type: "object", nodeTypeName: Ue.EntityRelation, properties: { type: { type: "string", enum: K0 }, key: { type: "string", minLength: 2, maxLength: 100 }, version: { type: "string" }, revision: { type: "string" } }, required: ["type", "key"], additionalProperties: !1 }, wt = { version: { type: "string" }, key: { type: "string", pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$", minLength: 2, maxLength: 150 }, type: { type: "string", enum: ["user", "data-schema", "api-operation", "api-description", "service", "domain", "team"] }, title: { type: "string", minLength: 2, maxLength: 200 }, summary: { type: "string", minLength: 1, maxLength: 500 }, tags: { type: "array", items: { type: "string", minLength: 1, maxLength: 50 } }, git: { type: "array", items: { type: "string" } }, contact: ew, links: { type: "array", nodeTypeName: Ue.EntityLinkList, items: tw }, relations: { type: "array", nodeTypeName: Ue.EntityRelationList, items: rw }, metadata: J0 }, WR = { type: "object", discriminator: { propertyName: "type" }, oneOf: [{ type: "object", properties: { ...wt, type: { type: "string", const: "user" }, metadata: W0 }, required: ["key", "title", "type", "metadata"], additionalProperties: !1, nodeTypeName: Ue.UserEntity }, { type: "object", nodeTypeName: Ue.ApiOperationEntity, properties: { ...wt, type: { type: "string", const: "api-operation" }, metadata: G0 }, required: ["key", "title", "type", "metadata"], additionalProperties: !1 }, { type: "object", nodeTypeName: Ue.DataSchemaEntity, properties: { ...wt, type: { type: "string", const: "data-schema" }, metadata: Y0 }, required: ["key", "title", "type", "metadata"], additionalProperties: !1 }, { type: "object", nodeTypeName: Ue.ApiDescriptionEntity, properties: { ...wt, type: { type: "string", const: "api-description" }, metadata: Q0 }, required: ["key", "title", "type", "metadata"], additionalProperties: !1 }, { type: "object", nodeTypeName: Ue.ServiceEntity, properties: { ...wt, type: { type: "string", const: "service" } }, required: ["key", "title", "type"], additionalProperties: !1 }, { type: "object", nodeTypeName: Ue.DomainEntity, properties: { ...wt, type: { type: "string", const: "domain" } }, required: ["key", "title", "type"], additionalProperties: !1 }, { type: "object", nodeTypeName: Ue.TeamEntity, properties: { ...wt, type: { type: "string", const: "team" } }, required: ["key", "title", "type"], additionalProperties: !1 }] }, QR = { type: "object", nodeTypeName: Ue.Entity, properties: { ...wt }, required: ["key", "title", "type"], additionalProperties: !1 };
|
|
5073
|
+
const nw = [
|
|
5074
5074
|
"Name",
|
|
5075
5075
|
"Document",
|
|
5076
5076
|
"OperationDefinition",
|
|
@@ -5132,7 +5132,7 @@ const tw = [
|
|
|
5132
5132
|
"overlay1",
|
|
5133
5133
|
"openrpc1",
|
|
5134
5134
|
"graphql"
|
|
5135
|
-
], Nl = "a-zA-Z0-9\\.\\-_",
|
|
5135
|
+
], Nl = "a-zA-Z0-9\\.\\-_", ow = {
|
|
5136
5136
|
oas2: bf,
|
|
5137
5137
|
oas3_0: ut,
|
|
5138
5138
|
oas3_1: ke,
|
|
@@ -5145,7 +5145,7 @@ const tw = [
|
|
|
5145
5145
|
openrpc1: Sb
|
|
5146
5146
|
};
|
|
5147
5147
|
function $o(e) {
|
|
5148
|
-
return e === "graphql" ? {} :
|
|
5148
|
+
return e === "graphql" ? {} : ow[e];
|
|
5149
5149
|
}
|
|
5150
5150
|
function ds(e) {
|
|
5151
5151
|
return e.includes("/");
|
|
@@ -5156,7 +5156,7 @@ function Ll(e, t) {
|
|
|
5156
5156
|
delete r[n];
|
|
5157
5157
|
}), r;
|
|
5158
5158
|
}
|
|
5159
|
-
var Nr = { exports: {} }, Ko = {}, ht = {},
|
|
5159
|
+
var Nr = { exports: {} }, Ko = {}, ht = {}, _t = {}, Wo = {}, Qo = {}, Go = {}, Fs;
|
|
5160
5160
|
function ao() {
|
|
5161
5161
|
return Fs || (Fs = 1, (function(e) {
|
|
5162
5162
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.regexpCode = e.getEsmExportName = e.getProperty = e.safeStringify = e.stringify = e.strConcat = e.addCodeArg = e.str = e._ = e.nil = e._Code = e.Name = e.IDENTIFIER = e._CodeOrName = void 0;
|
|
@@ -6219,9 +6219,9 @@ function Ao() {
|
|
|
6219
6219
|
})(Wo)), Wo;
|
|
6220
6220
|
}
|
|
6221
6221
|
var Qs;
|
|
6222
|
-
function
|
|
6223
|
-
if (Qs) return
|
|
6224
|
-
Qs = 1, Object.defineProperty(
|
|
6222
|
+
function iw() {
|
|
6223
|
+
if (Qs) return _t;
|
|
6224
|
+
Qs = 1, Object.defineProperty(_t, "__esModule", { value: !0 }), _t.boolOrEmptySchema = _t.topBoolOrEmptySchema = void 0;
|
|
6225
6225
|
const e = /* @__PURE__ */ Ao(), t = /* @__PURE__ */ xe(), r = /* @__PURE__ */ Xe(), n = {
|
|
6226
6226
|
message: "boolean schema is false"
|
|
6227
6227
|
};
|
|
@@ -6229,12 +6229,12 @@ function nw() {
|
|
|
6229
6229
|
const { gen: p, schema: u, validateName: f } = c;
|
|
6230
6230
|
u === !1 ? a(c, !1) : typeof u == "object" && u.$async === !0 ? p.return(r.default.data) : (p.assign((0, t._)`${f}.errors`, null), p.return(!0));
|
|
6231
6231
|
}
|
|
6232
|
-
|
|
6232
|
+
_t.topBoolOrEmptySchema = o;
|
|
6233
6233
|
function i(c, p) {
|
|
6234
6234
|
const { gen: u, schema: f } = c;
|
|
6235
6235
|
f === !1 ? (u.var(p, !1), a(c)) : u.var(p, !0);
|
|
6236
6236
|
}
|
|
6237
|
-
|
|
6237
|
+
_t.boolOrEmptySchema = i;
|
|
6238
6238
|
function a(c, p) {
|
|
6239
6239
|
const { gen: u, data: f } = c, m = {
|
|
6240
6240
|
gen: u,
|
|
@@ -6248,17 +6248,17 @@ function nw() {
|
|
|
6248
6248
|
};
|
|
6249
6249
|
(0, e.reportError)(m, n, void 0, p);
|
|
6250
6250
|
}
|
|
6251
|
-
return
|
|
6251
|
+
return _t;
|
|
6252
6252
|
}
|
|
6253
|
-
var Ve = {},
|
|
6253
|
+
var Ve = {}, Tt = {}, Gs;
|
|
6254
6254
|
function Ul() {
|
|
6255
|
-
if (Gs) return
|
|
6256
|
-
Gs = 1, Object.defineProperty(
|
|
6255
|
+
if (Gs) return Tt;
|
|
6256
|
+
Gs = 1, Object.defineProperty(Tt, "__esModule", { value: !0 }), Tt.getRules = Tt.isJSONType = void 0;
|
|
6257
6257
|
const e = ["string", "number", "integer", "boolean", "null", "object", "array"], t = new Set(e);
|
|
6258
6258
|
function r(o) {
|
|
6259
6259
|
return typeof o == "string" && t.has(o);
|
|
6260
6260
|
}
|
|
6261
|
-
|
|
6261
|
+
Tt.isJSONType = r;
|
|
6262
6262
|
function n() {
|
|
6263
6263
|
const o = {
|
|
6264
6264
|
number: { type: "number", rules: [] },
|
|
@@ -6274,7 +6274,7 @@ function Ul() {
|
|
|
6274
6274
|
keywords: {}
|
|
6275
6275
|
};
|
|
6276
6276
|
}
|
|
6277
|
-
return
|
|
6277
|
+
return Tt.getRules = n, Tt;
|
|
6278
6278
|
}
|
|
6279
6279
|
var yt = {}, Ys;
|
|
6280
6280
|
function Fl() {
|
|
@@ -6444,7 +6444,7 @@ function co() {
|
|
|
6444
6444
|
return Ve;
|
|
6445
6445
|
}
|
|
6446
6446
|
var nr = {}, Xs;
|
|
6447
|
-
function
|
|
6447
|
+
function sw() {
|
|
6448
6448
|
if (Xs) return nr;
|
|
6449
6449
|
Xs = 1, Object.defineProperty(nr, "__esModule", { value: !0 }), nr.assignDefaults = void 0;
|
|
6450
6450
|
const e = /* @__PURE__ */ xe(), t = /* @__PURE__ */ Te();
|
|
@@ -6602,7 +6602,7 @@ function ct() {
|
|
|
6602
6602
|
return je.validateUnion = x, je;
|
|
6603
6603
|
}
|
|
6604
6604
|
var ta;
|
|
6605
|
-
function
|
|
6605
|
+
function aw() {
|
|
6606
6606
|
if (ta) return st;
|
|
6607
6607
|
ta = 1, Object.defineProperty(st, "__esModule", { value: !0 }), st.validateKeywordUsage = st.validSchemaType = st.funcKeywordCode = st.macroKeywordCode = void 0;
|
|
6608
6608
|
const e = /* @__PURE__ */ xe(), t = /* @__PURE__ */ Xe(), r = /* @__PURE__ */ ct(), n = /* @__PURE__ */ Ao();
|
|
@@ -6691,7 +6691,7 @@ function iw() {
|
|
|
6691
6691
|
return st.validateKeywordUsage = m, st;
|
|
6692
6692
|
}
|
|
6693
6693
|
var gt = {}, ra;
|
|
6694
|
-
function
|
|
6694
|
+
function cw() {
|
|
6695
6695
|
if (ra) return gt;
|
|
6696
6696
|
ra = 1, Object.defineProperty(gt, "__esModule", { value: !0 }), gt.extendSubschemaMode = gt.extendSubschemaData = gt.getSubschema = void 0;
|
|
6697
6697
|
const e = /* @__PURE__ */ xe(), t = /* @__PURE__ */ Te();
|
|
@@ -6747,7 +6747,7 @@ function sw() {
|
|
|
6747
6747
|
return gt.extendSubschemaMode = o, gt;
|
|
6748
6748
|
}
|
|
6749
6749
|
var Ge = {}, Jo = { exports: {} }, na;
|
|
6750
|
-
function
|
|
6750
|
+
function pw() {
|
|
6751
6751
|
if (na) return Jo.exports;
|
|
6752
6752
|
na = 1;
|
|
6753
6753
|
var e = Jo.exports = function(n, o, i) {
|
|
@@ -6825,7 +6825,7 @@ var oa;
|
|
|
6825
6825
|
function Ro() {
|
|
6826
6826
|
if (oa) return Ge;
|
|
6827
6827
|
oa = 1, Object.defineProperty(Ge, "__esModule", { value: !0 }), Ge.getSchemaRefs = Ge.resolveUrl = Ge.normalizeId = Ge._getFullPath = Ge.getFullPath = Ge.inlineRef = void 0;
|
|
6828
|
-
const e = /* @__PURE__ */ Te(), t = Lp(), r =
|
|
6828
|
+
const e = /* @__PURE__ */ Te(), t = Lp(), r = pw(), n = /* @__PURE__ */ new Set([
|
|
6829
6829
|
"type",
|
|
6830
6830
|
"format",
|
|
6831
6831
|
"pattern",
|
|
@@ -6934,7 +6934,7 @@ var ia;
|
|
|
6934
6934
|
function Yt() {
|
|
6935
6935
|
if (ia) return ht;
|
|
6936
6936
|
ia = 1, Object.defineProperty(ht, "__esModule", { value: !0 }), ht.getData = ht.KeywordCxt = ht.validateFunctionCode = void 0;
|
|
6937
|
-
const e = /* @__PURE__ */
|
|
6937
|
+
const e = /* @__PURE__ */ iw(), t = /* @__PURE__ */ co(), r = /* @__PURE__ */ Fl(), n = /* @__PURE__ */ co(), o = /* @__PURE__ */ sw(), i = /* @__PURE__ */ aw(), a = /* @__PURE__ */ cw(), c = /* @__PURE__ */ xe(), p = /* @__PURE__ */ Xe(), u = /* @__PURE__ */ Ro(), f = /* @__PURE__ */ Te(), m = /* @__PURE__ */ Ao();
|
|
6938
6938
|
function y(D) {
|
|
6939
6939
|
if (g(D) && (C(D), _(D))) {
|
|
6940
6940
|
S(D);
|
|
@@ -7436,13 +7436,13 @@ function _o() {
|
|
|
7436
7436
|
}
|
|
7437
7437
|
return Ze;
|
|
7438
7438
|
}
|
|
7439
|
-
const
|
|
7440
|
-
$id:
|
|
7441
|
-
description:
|
|
7442
|
-
type:
|
|
7443
|
-
required:
|
|
7444
|
-
properties:
|
|
7445
|
-
additionalProperties:
|
|
7439
|
+
const lw = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", uw = "Meta-schema for $data reference (JSON AnySchema extension proposal)", dw = "object", fw = ["$data"], mw = { $data: { type: "string", anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }] } }, hw = !1, yw = {
|
|
7440
|
+
$id: lw,
|
|
7441
|
+
description: uw,
|
|
7442
|
+
type: dw,
|
|
7443
|
+
required: fw,
|
|
7444
|
+
properties: mw,
|
|
7445
|
+
additionalProperties: hw
|
|
7446
7446
|
};
|
|
7447
7447
|
var zr = {}, ir = { exports: {} }, Xo, pa;
|
|
7448
7448
|
function Bl() {
|
|
@@ -7806,7 +7806,7 @@ function Bl() {
|
|
|
7806
7806
|
}, Xo;
|
|
7807
7807
|
}
|
|
7808
7808
|
var Zo, la;
|
|
7809
|
-
function
|
|
7809
|
+
function gw() {
|
|
7810
7810
|
if (la) return Zo;
|
|
7811
7811
|
la = 1;
|
|
7812
7812
|
const { isUUID: e } = Bl(), t = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu, r = (
|
|
@@ -7952,10 +7952,10 @@ function hw() {
|
|
|
7952
7952
|
}, Zo;
|
|
7953
7953
|
}
|
|
7954
7954
|
var ua;
|
|
7955
|
-
function
|
|
7955
|
+
function bw() {
|
|
7956
7956
|
if (ua) return ir.exports;
|
|
7957
7957
|
ua = 1;
|
|
7958
|
-
const { normalizeIPv6: e, removeDotSegments: t, recomposeAuthority: r, normalizePercentEncoding: n, normalizePathEncoding: o, serializePathEncoding: i, normalizeQueryFragmentEncoding: a, encodeQuery: c, encodeFragment: p, reescapeHostDelimiters: u, isIPv4: f, nonSimpleDomain: m } = Bl(), { SCHEMES: y, getSchemeHandler: h } =
|
|
7958
|
+
const { normalizeIPv6: e, removeDotSegments: t, recomposeAuthority: r, normalizePercentEncoding: n, normalizePathEncoding: o, serializePathEncoding: i, normalizeQueryFragmentEncoding: a, encodeQuery: c, encodeFragment: p, reescapeHostDelimiters: u, isIPv4: f, nonSimpleDomain: m } = Bl(), { SCHEMES: y, getSchemeHandler: h } = gw(), $ = /^[A-Za-z][A-Za-z0-9+.-]*$/u, w = "URI scheme is malformed.";
|
|
7959
7959
|
function S(A) {
|
|
7960
7960
|
const P = unescape(String(A));
|
|
7961
7961
|
if (!$.test(P))
|
|
@@ -8147,10 +8147,10 @@ function yw() {
|
|
|
8147
8147
|
return ir.exports = Pe, ir.exports.default = Pe, ir.exports.fastUri = Pe, ir.exports;
|
|
8148
8148
|
}
|
|
8149
8149
|
var da;
|
|
8150
|
-
function
|
|
8150
|
+
function vw() {
|
|
8151
8151
|
if (da) return zr;
|
|
8152
8152
|
da = 1, Object.defineProperty(zr, "__esModule", { value: !0 });
|
|
8153
|
-
const e =
|
|
8153
|
+
const e = bw();
|
|
8154
8154
|
return e.code = 'require("ajv/dist/runtime/uri").default', zr.default = e, zr;
|
|
8155
8155
|
}
|
|
8156
8156
|
var fa;
|
|
@@ -8175,7 +8175,7 @@ function fs() {
|
|
|
8175
8175
|
} }), Object.defineProperty(e, "CodeGen", { enumerable: !0, get: function() {
|
|
8176
8176
|
return r.CodeGen;
|
|
8177
8177
|
} });
|
|
8178
|
-
const n = /* @__PURE__ */ Pr(), o = /* @__PURE__ */ Jt(), i = /* @__PURE__ */ Ul(), a = /* @__PURE__ */ _o(), c = /* @__PURE__ */ xe(), p = /* @__PURE__ */ Ro(), u = /* @__PURE__ */ co(), f = /* @__PURE__ */ Te(), m =
|
|
8178
|
+
const n = /* @__PURE__ */ Pr(), o = /* @__PURE__ */ Jt(), i = /* @__PURE__ */ Ul(), a = /* @__PURE__ */ _o(), c = /* @__PURE__ */ xe(), p = /* @__PURE__ */ Ro(), u = /* @__PURE__ */ co(), f = /* @__PURE__ */ Te(), m = yw, y = /* @__PURE__ */ vw(), h = (A, P) => new RegExp(A, P);
|
|
8179
8179
|
h.code = "new RegExp";
|
|
8180
8180
|
const $ = [
|
|
8181
8181
|
"removeAdditional",
|
|
@@ -8611,7 +8611,7 @@ function fs() {
|
|
|
8611
8611
|
})(Ko)), Ko;
|
|
8612
8612
|
}
|
|
8613
8613
|
var Br = {}, Vr = {}, Hr = {}, ma;
|
|
8614
|
-
function
|
|
8614
|
+
function ww() {
|
|
8615
8615
|
if (ma) return Hr;
|
|
8616
8616
|
ma = 1, Object.defineProperty(Hr, "__esModule", { value: !0 });
|
|
8617
8617
|
const e = {
|
|
@@ -8723,7 +8723,7 @@ var ya;
|
|
|
8723
8723
|
function Vl() {
|
|
8724
8724
|
if (ya) return Vr;
|
|
8725
8725
|
ya = 1, Object.defineProperty(Vr, "__esModule", { value: !0 });
|
|
8726
|
-
const e = /* @__PURE__ */
|
|
8726
|
+
const e = /* @__PURE__ */ ww(), t = /* @__PURE__ */ To(), r = [
|
|
8727
8727
|
"$schema",
|
|
8728
8728
|
"$id",
|
|
8729
8729
|
"$defs",
|
|
@@ -8736,7 +8736,7 @@ function Vl() {
|
|
|
8736
8736
|
return Vr.default = r, Vr;
|
|
8737
8737
|
}
|
|
8738
8738
|
var Kr = {}, Wr = {}, ga;
|
|
8739
|
-
function
|
|
8739
|
+
function xw() {
|
|
8740
8740
|
if (ga) return Wr;
|
|
8741
8741
|
ga = 1, Object.defineProperty(Wr, "__esModule", { value: !0 });
|
|
8742
8742
|
const e = /* @__PURE__ */ xe(), t = e.operators, r = {
|
|
@@ -8761,7 +8761,7 @@ function vw() {
|
|
|
8761
8761
|
return Wr.default = o, Wr;
|
|
8762
8762
|
}
|
|
8763
8763
|
var Qr = {}, ba;
|
|
8764
|
-
function
|
|
8764
|
+
function Sw() {
|
|
8765
8765
|
if (ba) return Qr;
|
|
8766
8766
|
ba = 1, Object.defineProperty(Qr, "__esModule", { value: !0 });
|
|
8767
8767
|
const e = /* @__PURE__ */ xe(), r = {
|
|
@@ -8781,7 +8781,7 @@ function ww() {
|
|
|
8781
8781
|
return Qr.default = r, Qr;
|
|
8782
8782
|
}
|
|
8783
8783
|
var Gr = {}, Yr = {}, va;
|
|
8784
|
-
function
|
|
8784
|
+
function Pw() {
|
|
8785
8785
|
if (va) return Yr;
|
|
8786
8786
|
va = 1, Object.defineProperty(Yr, "__esModule", { value: !0 });
|
|
8787
8787
|
function e(t) {
|
|
@@ -8794,10 +8794,10 @@ function xw() {
|
|
|
8794
8794
|
return Yr.default = e, e.code = 'require("ajv/dist/runtime/ucs2length").default', Yr;
|
|
8795
8795
|
}
|
|
8796
8796
|
var wa;
|
|
8797
|
-
function
|
|
8797
|
+
function Ew() {
|
|
8798
8798
|
if (wa) return Gr;
|
|
8799
8799
|
wa = 1, Object.defineProperty(Gr, "__esModule", { value: !0 });
|
|
8800
|
-
const e = /* @__PURE__ */ xe(), t = /* @__PURE__ */ Te(), r = /* @__PURE__ */
|
|
8800
|
+
const e = /* @__PURE__ */ xe(), t = /* @__PURE__ */ Te(), r = /* @__PURE__ */ Pw(), o = {
|
|
8801
8801
|
keyword: ["maxLength", "minLength"],
|
|
8802
8802
|
type: "string",
|
|
8803
8803
|
schemaType: "number",
|
|
@@ -8817,7 +8817,7 @@ function Sw() {
|
|
|
8817
8817
|
return Gr.default = o, Gr;
|
|
8818
8818
|
}
|
|
8819
8819
|
var Jr = {}, xa;
|
|
8820
|
-
function
|
|
8820
|
+
function $w() {
|
|
8821
8821
|
if (xa) return Jr;
|
|
8822
8822
|
xa = 1, Object.defineProperty(Jr, "__esModule", { value: !0 });
|
|
8823
8823
|
const e = /* @__PURE__ */ ct(), t = /* @__PURE__ */ Te(), r = /* @__PURE__ */ xe(), o = {
|
|
@@ -8843,7 +8843,7 @@ function Pw() {
|
|
|
8843
8843
|
return Jr.default = o, Jr;
|
|
8844
8844
|
}
|
|
8845
8845
|
var Xr = {}, Sa;
|
|
8846
|
-
function
|
|
8846
|
+
function Aw() {
|
|
8847
8847
|
if (Sa) return Xr;
|
|
8848
8848
|
Sa = 1, Object.defineProperty(Xr, "__esModule", { value: !0 });
|
|
8849
8849
|
const e = /* @__PURE__ */ xe(), r = {
|
|
@@ -8866,7 +8866,7 @@ function Ew() {
|
|
|
8866
8866
|
return Xr.default = r, Xr;
|
|
8867
8867
|
}
|
|
8868
8868
|
var Zr = {}, Pa;
|
|
8869
|
-
function
|
|
8869
|
+
function Rw() {
|
|
8870
8870
|
if (Pa) return Zr;
|
|
8871
8871
|
Pa = 1, Object.defineProperty(Zr, "__esModule", { value: !0 });
|
|
8872
8872
|
const e = /* @__PURE__ */ ct(), t = /* @__PURE__ */ zl(), r = /* @__PURE__ */ xe(), n = /* @__PURE__ */ Te(), i = {
|
|
@@ -8926,7 +8926,7 @@ function $w() {
|
|
|
8926
8926
|
return Zr.default = i, Zr;
|
|
8927
8927
|
}
|
|
8928
8928
|
var en = {}, Ea;
|
|
8929
|
-
function
|
|
8929
|
+
function _w() {
|
|
8930
8930
|
if (Ea) return en;
|
|
8931
8931
|
Ea = 1, Object.defineProperty(en, "__esModule", { value: !0 });
|
|
8932
8932
|
const e = /* @__PURE__ */ xe(), t = /* @__PURE__ */ Xe(), n = {
|
|
@@ -8945,7 +8945,7 @@ function Aw() {
|
|
|
8945
8945
|
return en.default = n, en;
|
|
8946
8946
|
}
|
|
8947
8947
|
var tn = {}, $a;
|
|
8948
|
-
function
|
|
8948
|
+
function Tw() {
|
|
8949
8949
|
if ($a) return tn;
|
|
8950
8950
|
$a = 1, Object.defineProperty(tn, "__esModule", { value: !0 });
|
|
8951
8951
|
const e = /* @__PURE__ */ xe(), t = /* @__PURE__ */ Xe(), n = {
|
|
@@ -8964,7 +8964,7 @@ function Rw() {
|
|
|
8964
8964
|
return tn.default = n, tn;
|
|
8965
8965
|
}
|
|
8966
8966
|
var rn = {}, Aa;
|
|
8967
|
-
function
|
|
8967
|
+
function Ow() {
|
|
8968
8968
|
if (Aa) return rn;
|
|
8969
8969
|
Aa = 1, Object.defineProperty(rn, "__esModule", { value: !0 });
|
|
8970
8970
|
const e = /* @__PURE__ */ xe(), r = {
|
|
@@ -8994,7 +8994,7 @@ function ms() {
|
|
|
8994
8994
|
return e.code = 'require("ajv/dist/runtime/equal").default', on.default = e, on;
|
|
8995
8995
|
}
|
|
8996
8996
|
var _a;
|
|
8997
|
-
function
|
|
8997
|
+
function kw() {
|
|
8998
8998
|
if (_a) return nn;
|
|
8999
8999
|
_a = 1, Object.defineProperty(nn, "__esModule", { value: !0 });
|
|
9000
9000
|
const e = /* @__PURE__ */ co(), t = /* @__PURE__ */ xe(), r = /* @__PURE__ */ Te(), n = /* @__PURE__ */ ms(), i = {
|
|
@@ -9038,7 +9038,7 @@ function Tw() {
|
|
|
9038
9038
|
return nn.default = i, nn;
|
|
9039
9039
|
}
|
|
9040
9040
|
var sn = {}, Ta;
|
|
9041
|
-
function
|
|
9041
|
+
function Iw() {
|
|
9042
9042
|
if (Ta) return sn;
|
|
9043
9043
|
Ta = 1, Object.defineProperty(sn, "__esModule", { value: !0 });
|
|
9044
9044
|
const e = /* @__PURE__ */ xe(), t = /* @__PURE__ */ Te(), r = /* @__PURE__ */ ms(), o = {
|
|
@@ -9056,7 +9056,7 @@ function Ow() {
|
|
|
9056
9056
|
return sn.default = o, sn;
|
|
9057
9057
|
}
|
|
9058
9058
|
var an = {}, Oa;
|
|
9059
|
-
function
|
|
9059
|
+
function qw() {
|
|
9060
9060
|
if (Oa) return an;
|
|
9061
9061
|
Oa = 1, Object.defineProperty(an, "__esModule", { value: !0 });
|
|
9062
9062
|
const e = /* @__PURE__ */ xe(), t = /* @__PURE__ */ Te(), r = /* @__PURE__ */ ms(), o = {
|
|
@@ -9099,7 +9099,7 @@ var ka;
|
|
|
9099
9099
|
function hs() {
|
|
9100
9100
|
if (ka) return Kr;
|
|
9101
9101
|
ka = 1, Object.defineProperty(Kr, "__esModule", { value: !0 });
|
|
9102
|
-
const e = /* @__PURE__ */
|
|
9102
|
+
const e = /* @__PURE__ */ xw(), t = /* @__PURE__ */ Sw(), r = /* @__PURE__ */ Ew(), n = /* @__PURE__ */ $w(), o = /* @__PURE__ */ Aw(), i = /* @__PURE__ */ Rw(), a = /* @__PURE__ */ _w(), c = /* @__PURE__ */ Tw(), p = /* @__PURE__ */ Ow(), u = /* @__PURE__ */ kw(), f = /* @__PURE__ */ Iw(), m = /* @__PURE__ */ qw(), y = [
|
|
9103
9103
|
// number
|
|
9104
9104
|
e.default,
|
|
9105
9105
|
t.default,
|
|
@@ -9200,7 +9200,7 @@ function Kl() {
|
|
|
9200
9200
|
return Lt.validateTuple = o, Lt.default = n, Lt;
|
|
9201
9201
|
}
|
|
9202
9202
|
var Ca;
|
|
9203
|
-
function
|
|
9203
|
+
function Cw() {
|
|
9204
9204
|
if (Ca) return pn;
|
|
9205
9205
|
Ca = 1, Object.defineProperty(pn, "__esModule", { value: !0 });
|
|
9206
9206
|
const e = /* @__PURE__ */ Kl(), t = {
|
|
@@ -9213,7 +9213,7 @@ function Iw() {
|
|
|
9213
9213
|
return pn.default = t, pn;
|
|
9214
9214
|
}
|
|
9215
9215
|
var ln = {}, Ma;
|
|
9216
|
-
function
|
|
9216
|
+
function Mw() {
|
|
9217
9217
|
if (Ma) return ln;
|
|
9218
9218
|
Ma = 1, Object.defineProperty(ln, "__esModule", { value: !0 });
|
|
9219
9219
|
const e = /* @__PURE__ */ xe(), t = /* @__PURE__ */ Te(), r = /* @__PURE__ */ ct(), n = /* @__PURE__ */ Hl(), i = {
|
|
@@ -9233,7 +9233,7 @@ function qw() {
|
|
|
9233
9233
|
return ln.default = i, ln;
|
|
9234
9234
|
}
|
|
9235
9235
|
var un = {}, ja;
|
|
9236
|
-
function
|
|
9236
|
+
function jw() {
|
|
9237
9237
|
if (ja) return un;
|
|
9238
9238
|
ja = 1, Object.defineProperty(un, "__esModule", { value: !0 });
|
|
9239
9239
|
const e = /* @__PURE__ */ xe(), t = /* @__PURE__ */ Te(), n = {
|
|
@@ -9363,7 +9363,7 @@ function ys() {
|
|
|
9363
9363
|
})(ei)), ei;
|
|
9364
9364
|
}
|
|
9365
9365
|
var dn = {}, Na;
|
|
9366
|
-
function
|
|
9366
|
+
function Dw() {
|
|
9367
9367
|
if (Na) return dn;
|
|
9368
9368
|
Na = 1, Object.defineProperty(dn, "__esModule", { value: !0 });
|
|
9369
9369
|
const e = /* @__PURE__ */ xe(), t = /* @__PURE__ */ Te(), n = {
|
|
@@ -9466,7 +9466,7 @@ function Wl() {
|
|
|
9466
9466
|
return fn.default = i, fn;
|
|
9467
9467
|
}
|
|
9468
9468
|
var mn = {}, Ua;
|
|
9469
|
-
function
|
|
9469
|
+
function Nw() {
|
|
9470
9470
|
if (Ua) return mn;
|
|
9471
9471
|
Ua = 1, Object.defineProperty(mn, "__esModule", { value: !0 });
|
|
9472
9472
|
const e = /* @__PURE__ */ Yt(), t = /* @__PURE__ */ ct(), r = /* @__PURE__ */ Te(), n = /* @__PURE__ */ Wl(), o = {
|
|
@@ -9501,7 +9501,7 @@ function jw() {
|
|
|
9501
9501
|
return mn.default = o, mn;
|
|
9502
9502
|
}
|
|
9503
9503
|
var hn = {}, Fa;
|
|
9504
|
-
function
|
|
9504
|
+
function Lw() {
|
|
9505
9505
|
if (Fa) return hn;
|
|
9506
9506
|
Fa = 1, Object.defineProperty(hn, "__esModule", { value: !0 });
|
|
9507
9507
|
const e = /* @__PURE__ */ ct(), t = /* @__PURE__ */ xe(), r = /* @__PURE__ */ Te(), n = /* @__PURE__ */ Te(), o = {
|
|
@@ -9542,7 +9542,7 @@ function Dw() {
|
|
|
9542
9542
|
return hn.default = o, hn;
|
|
9543
9543
|
}
|
|
9544
9544
|
var yn = {}, za;
|
|
9545
|
-
function
|
|
9545
|
+
function Uw() {
|
|
9546
9546
|
if (za) return yn;
|
|
9547
9547
|
za = 1, Object.defineProperty(yn, "__esModule", { value: !0 });
|
|
9548
9548
|
const e = /* @__PURE__ */ Te(), t = {
|
|
@@ -9568,7 +9568,7 @@ function Nw() {
|
|
|
9568
9568
|
return yn.default = t, yn;
|
|
9569
9569
|
}
|
|
9570
9570
|
var gn = {}, Ba;
|
|
9571
|
-
function
|
|
9571
|
+
function Fw() {
|
|
9572
9572
|
if (Ba) return gn;
|
|
9573
9573
|
Ba = 1, Object.defineProperty(gn, "__esModule", { value: !0 });
|
|
9574
9574
|
const t = {
|
|
@@ -9581,7 +9581,7 @@ function Lw() {
|
|
|
9581
9581
|
return gn.default = t, gn;
|
|
9582
9582
|
}
|
|
9583
9583
|
var bn = {}, Va;
|
|
9584
|
-
function
|
|
9584
|
+
function zw() {
|
|
9585
9585
|
if (Va) return bn;
|
|
9586
9586
|
Va = 1, Object.defineProperty(bn, "__esModule", { value: !0 });
|
|
9587
9587
|
const e = /* @__PURE__ */ xe(), t = /* @__PURE__ */ Te(), n = {
|
|
@@ -9617,7 +9617,7 @@ function Uw() {
|
|
|
9617
9617
|
return bn.default = n, bn;
|
|
9618
9618
|
}
|
|
9619
9619
|
var vn = {}, Ha;
|
|
9620
|
-
function
|
|
9620
|
+
function Bw() {
|
|
9621
9621
|
if (Ha) return vn;
|
|
9622
9622
|
Ha = 1, Object.defineProperty(vn, "__esModule", { value: !0 });
|
|
9623
9623
|
const e = /* @__PURE__ */ Te(), t = {
|
|
@@ -9639,7 +9639,7 @@ function Fw() {
|
|
|
9639
9639
|
return vn.default = t, vn;
|
|
9640
9640
|
}
|
|
9641
9641
|
var wn = {}, Ka;
|
|
9642
|
-
function
|
|
9642
|
+
function Vw() {
|
|
9643
9643
|
if (Ka) return wn;
|
|
9644
9644
|
Ka = 1, Object.defineProperty(wn, "__esModule", { value: !0 });
|
|
9645
9645
|
const e = /* @__PURE__ */ xe(), t = /* @__PURE__ */ Te(), n = {
|
|
@@ -9686,7 +9686,7 @@ function zw() {
|
|
|
9686
9686
|
return wn.default = n, wn;
|
|
9687
9687
|
}
|
|
9688
9688
|
var xn = {}, Wa;
|
|
9689
|
-
function
|
|
9689
|
+
function Hw() {
|
|
9690
9690
|
if (Wa) return xn;
|
|
9691
9691
|
Wa = 1, Object.defineProperty(xn, "__esModule", { value: !0 });
|
|
9692
9692
|
const e = /* @__PURE__ */ Te(), t = {
|
|
@@ -9702,7 +9702,7 @@ var Qa;
|
|
|
9702
9702
|
function gs() {
|
|
9703
9703
|
if (Qa) return cn;
|
|
9704
9704
|
Qa = 1, Object.defineProperty(cn, "__esModule", { value: !0 });
|
|
9705
|
-
const e = /* @__PURE__ */ Hl(), t = /* @__PURE__ */
|
|
9705
|
+
const e = /* @__PURE__ */ Hl(), t = /* @__PURE__ */ Cw(), r = /* @__PURE__ */ Kl(), n = /* @__PURE__ */ Mw(), o = /* @__PURE__ */ jw(), i = /* @__PURE__ */ ys(), a = /* @__PURE__ */ Dw(), c = /* @__PURE__ */ Wl(), p = /* @__PURE__ */ Nw(), u = /* @__PURE__ */ Lw(), f = /* @__PURE__ */ Uw(), m = /* @__PURE__ */ Fw(), y = /* @__PURE__ */ zw(), h = /* @__PURE__ */ Bw(), $ = /* @__PURE__ */ Vw(), w = /* @__PURE__ */ Hw();
|
|
9706
9706
|
function S(E = !1) {
|
|
9707
9707
|
const x = [
|
|
9708
9708
|
// any
|
|
@@ -9781,7 +9781,7 @@ function Gl() {
|
|
|
9781
9781
|
return Ft.dynamicRef = o, Ft.default = n, Ft;
|
|
9782
9782
|
}
|
|
9783
9783
|
var Pn = {}, Ja;
|
|
9784
|
-
function
|
|
9784
|
+
function Kw() {
|
|
9785
9785
|
if (Ja) return Pn;
|
|
9786
9786
|
Ja = 1, Object.defineProperty(Pn, "__esModule", { value: !0 });
|
|
9787
9787
|
const e = /* @__PURE__ */ Ql(), t = /* @__PURE__ */ Te(), r = {
|
|
@@ -9794,7 +9794,7 @@ function Vw() {
|
|
|
9794
9794
|
return Pn.default = r, Pn;
|
|
9795
9795
|
}
|
|
9796
9796
|
var En = {}, Xa;
|
|
9797
|
-
function
|
|
9797
|
+
function Ww() {
|
|
9798
9798
|
if (Xa) return En;
|
|
9799
9799
|
Xa = 1, Object.defineProperty(En, "__esModule", { value: !0 });
|
|
9800
9800
|
const e = /* @__PURE__ */ Gl(), t = {
|
|
@@ -9805,14 +9805,14 @@ function Hw() {
|
|
|
9805
9805
|
return En.default = t, En;
|
|
9806
9806
|
}
|
|
9807
9807
|
var Za;
|
|
9808
|
-
function
|
|
9808
|
+
function Qw() {
|
|
9809
9809
|
if (Za) return Sn;
|
|
9810
9810
|
Za = 1, Object.defineProperty(Sn, "__esModule", { value: !0 });
|
|
9811
|
-
const e = /* @__PURE__ */ Ql(), t = /* @__PURE__ */ Gl(), r = /* @__PURE__ */
|
|
9811
|
+
const e = /* @__PURE__ */ Ql(), t = /* @__PURE__ */ Gl(), r = /* @__PURE__ */ Kw(), n = /* @__PURE__ */ Ww(), o = [e.default, t.default, r.default, n.default];
|
|
9812
9812
|
return Sn.default = o, Sn;
|
|
9813
9813
|
}
|
|
9814
9814
|
var $n = {}, An = {}, ec;
|
|
9815
|
-
function
|
|
9815
|
+
function Gw() {
|
|
9816
9816
|
if (ec) return An;
|
|
9817
9817
|
ec = 1, Object.defineProperty(An, "__esModule", { value: !0 });
|
|
9818
9818
|
const e = /* @__PURE__ */ ys(), t = {
|
|
@@ -9825,7 +9825,7 @@ function Ww() {
|
|
|
9825
9825
|
return An.default = t, An;
|
|
9826
9826
|
}
|
|
9827
9827
|
var Rn = {}, tc;
|
|
9828
|
-
function
|
|
9828
|
+
function Yw() {
|
|
9829
9829
|
if (tc) return Rn;
|
|
9830
9830
|
tc = 1, Object.defineProperty(Rn, "__esModule", { value: !0 });
|
|
9831
9831
|
const e = /* @__PURE__ */ ys(), t = {
|
|
@@ -9837,7 +9837,7 @@ function Qw() {
|
|
|
9837
9837
|
return Rn.default = t, Rn;
|
|
9838
9838
|
}
|
|
9839
9839
|
var _n = {}, rc;
|
|
9840
|
-
function
|
|
9840
|
+
function Jw() {
|
|
9841
9841
|
if (rc) return _n;
|
|
9842
9842
|
rc = 1, Object.defineProperty(_n, "__esModule", { value: !0 });
|
|
9843
9843
|
const e = /* @__PURE__ */ Te(), t = {
|
|
@@ -9851,14 +9851,14 @@ function Gw() {
|
|
|
9851
9851
|
return _n.default = t, _n;
|
|
9852
9852
|
}
|
|
9853
9853
|
var nc;
|
|
9854
|
-
function
|
|
9854
|
+
function Xw() {
|
|
9855
9855
|
if (nc) return $n;
|
|
9856
9856
|
nc = 1, Object.defineProperty($n, "__esModule", { value: !0 });
|
|
9857
|
-
const e = /* @__PURE__ */
|
|
9857
|
+
const e = /* @__PURE__ */ Gw(), t = /* @__PURE__ */ Yw(), r = /* @__PURE__ */ Jw(), n = [e.default, t.default, r.default];
|
|
9858
9858
|
return $n.default = n, $n;
|
|
9859
9859
|
}
|
|
9860
9860
|
var Tn = {}, On = {}, oc;
|
|
9861
|
-
function
|
|
9861
|
+
function Zw() {
|
|
9862
9862
|
if (oc) return On;
|
|
9863
9863
|
oc = 1, Object.defineProperty(On, "__esModule", { value: !0 });
|
|
9864
9864
|
const e = /* @__PURE__ */ xe(), t = /* @__PURE__ */ Te(), r = /* @__PURE__ */ Xe(), o = {
|
|
@@ -9911,7 +9911,7 @@ function Jw() {
|
|
|
9911
9911
|
return On.default = o, On;
|
|
9912
9912
|
}
|
|
9913
9913
|
var kn = {}, ic;
|
|
9914
|
-
function
|
|
9914
|
+
function ex() {
|
|
9915
9915
|
if (ic) return kn;
|
|
9916
9916
|
ic = 1, Object.defineProperty(kn, "__esModule", { value: !0 });
|
|
9917
9917
|
const e = /* @__PURE__ */ xe(), t = /* @__PURE__ */ Te(), n = {
|
|
@@ -9947,11 +9947,11 @@ var sc;
|
|
|
9947
9947
|
function Yl() {
|
|
9948
9948
|
if (sc) return Tn;
|
|
9949
9949
|
sc = 1, Object.defineProperty(Tn, "__esModule", { value: !0 });
|
|
9950
|
-
const e = /* @__PURE__ */
|
|
9950
|
+
const e = /* @__PURE__ */ Zw(), t = /* @__PURE__ */ ex(), r = [e.default, t.default];
|
|
9951
9951
|
return Tn.default = r, Tn;
|
|
9952
9952
|
}
|
|
9953
9953
|
var In = {}, qn = {}, ac;
|
|
9954
|
-
function
|
|
9954
|
+
function tx() {
|
|
9955
9955
|
if (ac) return qn;
|
|
9956
9956
|
ac = 1, Object.defineProperty(qn, "__esModule", { value: !0 });
|
|
9957
9957
|
const e = /* @__PURE__ */ xe(), r = {
|
|
@@ -10023,12 +10023,12 @@ var cc;
|
|
|
10023
10023
|
function bs() {
|
|
10024
10024
|
if (cc) return In;
|
|
10025
10025
|
cc = 1, Object.defineProperty(In, "__esModule", { value: !0 });
|
|
10026
|
-
const t = [(/* @__PURE__ */
|
|
10026
|
+
const t = [(/* @__PURE__ */ tx()).default];
|
|
10027
10027
|
return In.default = t, In;
|
|
10028
10028
|
}
|
|
10029
|
-
var
|
|
10029
|
+
var Ot = {}, pc;
|
|
10030
10030
|
function Jl() {
|
|
10031
|
-
return pc || (pc = 1, Object.defineProperty(
|
|
10031
|
+
return pc || (pc = 1, Object.defineProperty(Ot, "__esModule", { value: !0 }), Ot.contentVocabulary = Ot.metadataVocabulary = void 0, Ot.metadataVocabulary = [
|
|
10032
10032
|
"title",
|
|
10033
10033
|
"description",
|
|
10034
10034
|
"default",
|
|
@@ -10044,17 +10044,17 @@ function Jl() {
|
|
|
10044
10044
|
// "readOnly",
|
|
10045
10045
|
// "writeOnly",
|
|
10046
10046
|
"examples"
|
|
10047
|
-
],
|
|
10047
|
+
], Ot.contentVocabulary = [
|
|
10048
10048
|
"contentMediaType",
|
|
10049
10049
|
"contentEncoding",
|
|
10050
10050
|
"contentSchema"
|
|
10051
|
-
]),
|
|
10051
|
+
]), Ot;
|
|
10052
10052
|
}
|
|
10053
10053
|
var lc;
|
|
10054
|
-
function
|
|
10054
|
+
function rx() {
|
|
10055
10055
|
if (lc) return Br;
|
|
10056
10056
|
lc = 1, Object.defineProperty(Br, "__esModule", { value: !0 });
|
|
10057
|
-
const e = /* @__PURE__ */ Vl(), t = /* @__PURE__ */ hs(), r = /* @__PURE__ */ gs(), n = /* @__PURE__ */
|
|
10057
|
+
const e = /* @__PURE__ */ Vl(), t = /* @__PURE__ */ hs(), r = /* @__PURE__ */ gs(), n = /* @__PURE__ */ Qw(), o = /* @__PURE__ */ Xw(), i = /* @__PURE__ */ Yl(), a = /* @__PURE__ */ bs(), c = /* @__PURE__ */ Jl(), p = [
|
|
10058
10058
|
n.default,
|
|
10059
10059
|
e.default,
|
|
10060
10060
|
t.default,
|
|
@@ -10068,7 +10068,7 @@ function ex() {
|
|
|
10068
10068
|
return Br.default = p, Br;
|
|
10069
10069
|
}
|
|
10070
10070
|
var Cn = {}, sr = {}, uc;
|
|
10071
|
-
function
|
|
10071
|
+
function nx() {
|
|
10072
10072
|
if (uc) return sr;
|
|
10073
10073
|
uc = 1, Object.defineProperty(sr, "__esModule", { value: !0 }), sr.DiscrError = void 0;
|
|
10074
10074
|
var e;
|
|
@@ -10080,7 +10080,7 @@ var dc;
|
|
|
10080
10080
|
function vs() {
|
|
10081
10081
|
if (dc) return Cn;
|
|
10082
10082
|
dc = 1, Object.defineProperty(Cn, "__esModule", { value: !0 });
|
|
10083
|
-
const e = /* @__PURE__ */ xe(), t = /* @__PURE__ */
|
|
10083
|
+
const e = /* @__PURE__ */ xe(), t = /* @__PURE__ */ nx(), r = /* @__PURE__ */ _o(), n = /* @__PURE__ */ Jt(), o = /* @__PURE__ */ Te(), i = {
|
|
10084
10084
|
message: ({ params: { discrError: p, tagName: u } }) => p === t.DiscrError.Tag ? `tag "${u}" must be string` : `value of tag "${u}" must be in oneOf or anyOf`,
|
|
10085
10085
|
params: ({ params: { discrError: p, tag: u, tagName: f } }) => (0, e._)`{error: ${p}, tag: ${f}, tagValue: ${u}}`
|
|
10086
10086
|
};
|
|
@@ -10175,81 +10175,81 @@ function vs() {
|
|
|
10175
10175
|
return Cn.default = c, Cn;
|
|
10176
10176
|
}
|
|
10177
10177
|
var Mn = {};
|
|
10178
|
-
const
|
|
10179
|
-
$schema:
|
|
10180
|
-
$id:
|
|
10181
|
-
$vocabulary:
|
|
10182
|
-
$dynamicAnchor:
|
|
10183
|
-
title:
|
|
10184
|
-
allOf:
|
|
10185
|
-
type:
|
|
10186
|
-
$comment:
|
|
10187
|
-
properties:
|
|
10188
|
-
},
|
|
10189
|
-
$schema:
|
|
10190
|
-
$id:
|
|
10191
|
-
$vocabulary:
|
|
10192
|
-
$dynamicAnchor:
|
|
10193
|
-
title:
|
|
10194
|
-
type:
|
|
10195
|
-
properties:
|
|
10196
|
-
$defs:
|
|
10197
|
-
},
|
|
10198
|
-
$schema:
|
|
10199
|
-
$id:
|
|
10200
|
-
$vocabulary:
|
|
10201
|
-
$dynamicAnchor:
|
|
10202
|
-
title:
|
|
10203
|
-
type:
|
|
10204
|
-
properties:
|
|
10205
|
-
},
|
|
10206
|
-
$schema:
|
|
10207
|
-
$id:
|
|
10208
|
-
$vocabulary:
|
|
10209
|
-
$dynamicAnchor:
|
|
10210
|
-
title:
|
|
10211
|
-
type:
|
|
10212
|
-
properties:
|
|
10213
|
-
},
|
|
10214
|
-
$schema:
|
|
10215
|
-
$id:
|
|
10216
|
-
$vocabulary:
|
|
10217
|
-
$dynamicAnchor:
|
|
10218
|
-
title:
|
|
10219
|
-
type:
|
|
10220
|
-
properties:
|
|
10221
|
-
$defs:
|
|
10222
|
-
},
|
|
10223
|
-
$schema:
|
|
10224
|
-
$id:
|
|
10225
|
-
$vocabulary:
|
|
10226
|
-
$dynamicAnchor:
|
|
10227
|
-
title:
|
|
10228
|
-
type:
|
|
10229
|
-
properties:
|
|
10230
|
-
},
|
|
10231
|
-
$schema:
|
|
10232
|
-
$id:
|
|
10233
|
-
$vocabulary:
|
|
10234
|
-
$dynamicAnchor:
|
|
10235
|
-
title:
|
|
10236
|
-
type:
|
|
10237
|
-
properties:
|
|
10238
|
-
},
|
|
10239
|
-
$schema:
|
|
10240
|
-
$id:
|
|
10241
|
-
$vocabulary:
|
|
10242
|
-
$dynamicAnchor:
|
|
10243
|
-
title:
|
|
10244
|
-
type:
|
|
10245
|
-
properties:
|
|
10246
|
-
$defs:
|
|
10178
|
+
const ox = "https://json-schema.org/draft/2020-12/schema", ix = "https://json-schema.org/draft/2020-12/schema", sx = { "https://json-schema.org/draft/2020-12/vocab/core": !0, "https://json-schema.org/draft/2020-12/vocab/applicator": !0, "https://json-schema.org/draft/2020-12/vocab/unevaluated": !0, "https://json-schema.org/draft/2020-12/vocab/validation": !0, "https://json-schema.org/draft/2020-12/vocab/meta-data": !0, "https://json-schema.org/draft/2020-12/vocab/format-annotation": !0, "https://json-schema.org/draft/2020-12/vocab/content": !0 }, ax = "meta", cx = "Core and Validation specifications meta-schema", px = [{ $ref: "meta/core" }, { $ref: "meta/applicator" }, { $ref: "meta/unevaluated" }, { $ref: "meta/validation" }, { $ref: "meta/meta-data" }, { $ref: "meta/format-annotation" }, { $ref: "meta/content" }], lx = ["object", "boolean"], ux = "This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.", dx = { definitions: { $comment: '"definitions" has been replaced by "$defs".', type: "object", additionalProperties: { $dynamicRef: "#meta" }, deprecated: !0, default: {} }, dependencies: { $comment: '"dependencies" has been split and replaced by "dependentSchemas" and "dependentRequired" in order to serve their differing semantics.', type: "object", additionalProperties: { anyOf: [{ $dynamicRef: "#meta" }, { $ref: "meta/validation#/$defs/stringArray" }] }, deprecated: !0, default: {} }, $recursiveAnchor: { $comment: '"$recursiveAnchor" has been replaced by "$dynamicAnchor".', $ref: "meta/core#/$defs/anchorString", deprecated: !0 }, $recursiveRef: { $comment: '"$recursiveRef" has been replaced by "$dynamicRef".', $ref: "meta/core#/$defs/uriReferenceString", deprecated: !0 } }, fx = {
|
|
10179
|
+
$schema: ox,
|
|
10180
|
+
$id: ix,
|
|
10181
|
+
$vocabulary: sx,
|
|
10182
|
+
$dynamicAnchor: ax,
|
|
10183
|
+
title: cx,
|
|
10184
|
+
allOf: px,
|
|
10185
|
+
type: lx,
|
|
10186
|
+
$comment: ux,
|
|
10187
|
+
properties: dx
|
|
10188
|
+
}, mx = "https://json-schema.org/draft/2020-12/schema", hx = "https://json-schema.org/draft/2020-12/meta/applicator", yx = { "https://json-schema.org/draft/2020-12/vocab/applicator": !0 }, gx = "meta", bx = "Applicator vocabulary meta-schema", vx = ["object", "boolean"], wx = { prefixItems: { $ref: "#/$defs/schemaArray" }, items: { $dynamicRef: "#meta" }, contains: { $dynamicRef: "#meta" }, additionalProperties: { $dynamicRef: "#meta" }, properties: { type: "object", additionalProperties: { $dynamicRef: "#meta" }, default: {} }, patternProperties: { type: "object", additionalProperties: { $dynamicRef: "#meta" }, propertyNames: { format: "regex" }, default: {} }, dependentSchemas: { type: "object", additionalProperties: { $dynamicRef: "#meta" }, default: {} }, propertyNames: { $dynamicRef: "#meta" }, if: { $dynamicRef: "#meta" }, then: { $dynamicRef: "#meta" }, else: { $dynamicRef: "#meta" }, allOf: { $ref: "#/$defs/schemaArray" }, anyOf: { $ref: "#/$defs/schemaArray" }, oneOf: { $ref: "#/$defs/schemaArray" }, not: { $dynamicRef: "#meta" } }, xx = { schemaArray: { type: "array", minItems: 1, items: { $dynamicRef: "#meta" } } }, Sx = {
|
|
10189
|
+
$schema: mx,
|
|
10190
|
+
$id: hx,
|
|
10191
|
+
$vocabulary: yx,
|
|
10192
|
+
$dynamicAnchor: gx,
|
|
10193
|
+
title: bx,
|
|
10194
|
+
type: vx,
|
|
10195
|
+
properties: wx,
|
|
10196
|
+
$defs: xx
|
|
10197
|
+
}, Px = "https://json-schema.org/draft/2020-12/schema", Ex = "https://json-schema.org/draft/2020-12/meta/unevaluated", $x = { "https://json-schema.org/draft/2020-12/vocab/unevaluated": !0 }, Ax = "meta", Rx = "Unevaluated applicator vocabulary meta-schema", _x = ["object", "boolean"], Tx = { unevaluatedItems: { $dynamicRef: "#meta" }, unevaluatedProperties: { $dynamicRef: "#meta" } }, Ox = {
|
|
10198
|
+
$schema: Px,
|
|
10199
|
+
$id: Ex,
|
|
10200
|
+
$vocabulary: $x,
|
|
10201
|
+
$dynamicAnchor: Ax,
|
|
10202
|
+
title: Rx,
|
|
10203
|
+
type: _x,
|
|
10204
|
+
properties: Tx
|
|
10205
|
+
}, kx = "https://json-schema.org/draft/2020-12/schema", Ix = "https://json-schema.org/draft/2020-12/meta/content", qx = { "https://json-schema.org/draft/2020-12/vocab/content": !0 }, Cx = "meta", Mx = "Content vocabulary meta-schema", jx = ["object", "boolean"], Dx = { contentEncoding: { type: "string" }, contentMediaType: { type: "string" }, contentSchema: { $dynamicRef: "#meta" } }, Nx = {
|
|
10206
|
+
$schema: kx,
|
|
10207
|
+
$id: Ix,
|
|
10208
|
+
$vocabulary: qx,
|
|
10209
|
+
$dynamicAnchor: Cx,
|
|
10210
|
+
title: Mx,
|
|
10211
|
+
type: jx,
|
|
10212
|
+
properties: Dx
|
|
10213
|
+
}, Lx = "https://json-schema.org/draft/2020-12/schema", Ux = "https://json-schema.org/draft/2020-12/meta/core", Fx = { "https://json-schema.org/draft/2020-12/vocab/core": !0 }, zx = "meta", Bx = "Core vocabulary meta-schema", Vx = ["object", "boolean"], Hx = { $id: { $ref: "#/$defs/uriReferenceString", $comment: "Non-empty fragments not allowed.", pattern: "^[^#]*#?$" }, $schema: { $ref: "#/$defs/uriString" }, $ref: { $ref: "#/$defs/uriReferenceString" }, $anchor: { $ref: "#/$defs/anchorString" }, $dynamicRef: { $ref: "#/$defs/uriReferenceString" }, $dynamicAnchor: { $ref: "#/$defs/anchorString" }, $vocabulary: { type: "object", propertyNames: { $ref: "#/$defs/uriString" }, additionalProperties: { type: "boolean" } }, $comment: { type: "string" }, $defs: { type: "object", additionalProperties: { $dynamicRef: "#meta" } } }, Kx = { anchorString: { type: "string", pattern: "^[A-Za-z_][-A-Za-z0-9._]*$" }, uriString: { type: "string", format: "uri" }, uriReferenceString: { type: "string", format: "uri-reference" } }, Wx = {
|
|
10214
|
+
$schema: Lx,
|
|
10215
|
+
$id: Ux,
|
|
10216
|
+
$vocabulary: Fx,
|
|
10217
|
+
$dynamicAnchor: zx,
|
|
10218
|
+
title: Bx,
|
|
10219
|
+
type: Vx,
|
|
10220
|
+
properties: Hx,
|
|
10221
|
+
$defs: Kx
|
|
10222
|
+
}, Qx = "https://json-schema.org/draft/2020-12/schema", Gx = "https://json-schema.org/draft/2020-12/meta/format-annotation", Yx = { "https://json-schema.org/draft/2020-12/vocab/format-annotation": !0 }, Jx = "meta", Xx = "Format vocabulary meta-schema for annotation results", Zx = ["object", "boolean"], eS = { format: { type: "string" } }, tS = {
|
|
10223
|
+
$schema: Qx,
|
|
10224
|
+
$id: Gx,
|
|
10225
|
+
$vocabulary: Yx,
|
|
10226
|
+
$dynamicAnchor: Jx,
|
|
10227
|
+
title: Xx,
|
|
10228
|
+
type: Zx,
|
|
10229
|
+
properties: eS
|
|
10230
|
+
}, rS = "https://json-schema.org/draft/2020-12/schema", nS = "https://json-schema.org/draft/2020-12/meta/meta-data", oS = { "https://json-schema.org/draft/2020-12/vocab/meta-data": !0 }, iS = "meta", sS = "Meta-data vocabulary meta-schema", aS = ["object", "boolean"], cS = { title: { type: "string" }, description: { type: "string" }, default: !0, deprecated: { type: "boolean", default: !1 }, readOnly: { type: "boolean", default: !1 }, writeOnly: { type: "boolean", default: !1 }, examples: { type: "array", items: !0 } }, pS = {
|
|
10231
|
+
$schema: rS,
|
|
10232
|
+
$id: nS,
|
|
10233
|
+
$vocabulary: oS,
|
|
10234
|
+
$dynamicAnchor: iS,
|
|
10235
|
+
title: sS,
|
|
10236
|
+
type: aS,
|
|
10237
|
+
properties: cS
|
|
10238
|
+
}, lS = "https://json-schema.org/draft/2020-12/schema", uS = "https://json-schema.org/draft/2020-12/meta/validation", dS = { "https://json-schema.org/draft/2020-12/vocab/validation": !0 }, fS = "meta", mS = "Validation vocabulary meta-schema", hS = ["object", "boolean"], yS = { type: { anyOf: [{ $ref: "#/$defs/simpleTypes" }, { type: "array", items: { $ref: "#/$defs/simpleTypes" }, minItems: 1, uniqueItems: !0 }] }, const: !0, enum: { type: "array", items: !0 }, multipleOf: { type: "number", exclusiveMinimum: 0 }, maximum: { type: "number" }, exclusiveMaximum: { type: "number" }, minimum: { type: "number" }, exclusiveMinimum: { type: "number" }, maxLength: { $ref: "#/$defs/nonNegativeInteger" }, minLength: { $ref: "#/$defs/nonNegativeIntegerDefault0" }, pattern: { type: "string", format: "regex" }, maxItems: { $ref: "#/$defs/nonNegativeInteger" }, minItems: { $ref: "#/$defs/nonNegativeIntegerDefault0" }, uniqueItems: { type: "boolean", default: !1 }, maxContains: { $ref: "#/$defs/nonNegativeInteger" }, minContains: { $ref: "#/$defs/nonNegativeInteger", default: 1 }, maxProperties: { $ref: "#/$defs/nonNegativeInteger" }, minProperties: { $ref: "#/$defs/nonNegativeIntegerDefault0" }, required: { $ref: "#/$defs/stringArray" }, dependentRequired: { type: "object", additionalProperties: { $ref: "#/$defs/stringArray" } } }, gS = { nonNegativeInteger: { type: "integer", minimum: 0 }, nonNegativeIntegerDefault0: { $ref: "#/$defs/nonNegativeInteger", default: 0 }, simpleTypes: { enum: ["array", "boolean", "integer", "null", "number", "object", "string"] }, stringArray: { type: "array", items: { type: "string" }, uniqueItems: !0, default: [] } }, bS = {
|
|
10239
|
+
$schema: lS,
|
|
10240
|
+
$id: uS,
|
|
10241
|
+
$vocabulary: dS,
|
|
10242
|
+
$dynamicAnchor: fS,
|
|
10243
|
+
title: mS,
|
|
10244
|
+
type: hS,
|
|
10245
|
+
properties: yS,
|
|
10246
|
+
$defs: gS
|
|
10247
10247
|
};
|
|
10248
10248
|
var fc;
|
|
10249
|
-
function
|
|
10249
|
+
function vS() {
|
|
10250
10250
|
if (fc) return Mn;
|
|
10251
10251
|
fc = 1, Object.defineProperty(Mn, "__esModule", { value: !0 });
|
|
10252
|
-
const e =
|
|
10252
|
+
const e = fx, t = Sx, r = Ox, n = Nx, o = Wx, i = tS, a = pS, c = bS, p = ["/properties"];
|
|
10253
10253
|
function u(f) {
|
|
10254
10254
|
return [
|
|
10255
10255
|
e,
|
|
@@ -10268,10 +10268,10 @@ function gS() {
|
|
|
10268
10268
|
return Mn.default = u, Mn;
|
|
10269
10269
|
}
|
|
10270
10270
|
var mc;
|
|
10271
|
-
function
|
|
10271
|
+
function wS() {
|
|
10272
10272
|
return mc || (mc = 1, (function(e, t) {
|
|
10273
10273
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.MissingRefError = t.ValidationError = t.CodeGen = t.Name = t.nil = t.stringify = t.str = t._ = t.KeywordCxt = t.Ajv2020 = void 0;
|
|
10274
|
-
const r = /* @__PURE__ */ fs(), n = /* @__PURE__ */
|
|
10274
|
+
const r = /* @__PURE__ */ fs(), n = /* @__PURE__ */ rx(), o = /* @__PURE__ */ vs(), i = /* @__PURE__ */ vS(), a = "https://json-schema.org/draft/2020-12/schema";
|
|
10275
10275
|
class c extends r.default {
|
|
10276
10276
|
constructor(h = {}) {
|
|
10277
10277
|
super({
|
|
@@ -10322,8 +10322,8 @@ function bS() {
|
|
|
10322
10322
|
} });
|
|
10323
10323
|
})(Nr, Nr.exports)), Nr.exports;
|
|
10324
10324
|
}
|
|
10325
|
-
var
|
|
10326
|
-
const Xl = /* @__PURE__ */ xr(
|
|
10325
|
+
var xS = /* @__PURE__ */ wS();
|
|
10326
|
+
const Xl = /* @__PURE__ */ xr(xS), SS = new Xl({
|
|
10327
10327
|
strictSchema: !1,
|
|
10328
10328
|
allowUnionTypes: !0,
|
|
10329
10329
|
useDefaults: !0,
|
|
@@ -10336,7 +10336,7 @@ function hc(e, t) {
|
|
|
10336
10336
|
if (t.some((r) => typeof r == "function"))
|
|
10337
10337
|
throw new Error("Unexpected oneOf inside oneOf.");
|
|
10338
10338
|
return (r) => {
|
|
10339
|
-
let n = e.findIndex((o) =>
|
|
10339
|
+
let n = e.findIndex((o) => SS.validate(o, r));
|
|
10340
10340
|
return n === -1 && (n = 0), t[n];
|
|
10341
10341
|
};
|
|
10342
10342
|
}
|
|
@@ -10364,7 +10364,7 @@ function Ht(e, t, r) {
|
|
|
10364
10364
|
if (t.anyOf)
|
|
10365
10365
|
throw new Error(`Unexpected anyOf in ${e}.`);
|
|
10366
10366
|
if (ne(t.properties) || ne(t.additionalProperties) || ne(t.items) && (ne(t.items.properties) || ne(t.items.additionalProperties) || t.items.oneOf))
|
|
10367
|
-
return
|
|
10367
|
+
return PS(e, t, r);
|
|
10368
10368
|
if (t.oneOf)
|
|
10369
10369
|
if (t.discriminator) {
|
|
10370
10370
|
const n = t.discriminator?.propertyName;
|
|
@@ -10396,7 +10396,7 @@ function Ht(e, t, r) {
|
|
|
10396
10396
|
}
|
|
10397
10397
|
return t;
|
|
10398
10398
|
}
|
|
10399
|
-
function
|
|
10399
|
+
function PS(e, t, r) {
|
|
10400
10400
|
if (!t || typeof t == "boolean")
|
|
10401
10401
|
throw new Error(`Unexpected schema in ${e}.`);
|
|
10402
10402
|
if (t instanceof Array)
|
|
@@ -10429,14 +10429,14 @@ function xS(e, t, r) {
|
|
|
10429
10429
|
documentationLink: t.documentationLink
|
|
10430
10430
|
}, n;
|
|
10431
10431
|
}
|
|
10432
|
-
function
|
|
10432
|
+
function ES(e, t) {
|
|
10433
10433
|
const r = {}, n = Ht(e, t, r);
|
|
10434
10434
|
return {
|
|
10435
10435
|
ctx: r,
|
|
10436
10436
|
discriminatorResolver: typeof n == "function" ? n : void 0
|
|
10437
10437
|
};
|
|
10438
10438
|
}
|
|
10439
|
-
const
|
|
10439
|
+
const $S = [
|
|
10440
10440
|
"info-contact",
|
|
10441
10441
|
"operation-operationId",
|
|
10442
10442
|
"tag-description",
|
|
@@ -10483,7 +10483,7 @@ const PS = [
|
|
|
10483
10483
|
"response-mime-type",
|
|
10484
10484
|
"no-duplicated-tag-names",
|
|
10485
10485
|
"spec-ref-siblings"
|
|
10486
|
-
],
|
|
10486
|
+
], AS = [
|
|
10487
10487
|
"info-contact",
|
|
10488
10488
|
"operation-operationId",
|
|
10489
10489
|
"tag-description",
|
|
@@ -10550,7 +10550,7 @@ const PS = [
|
|
|
10550
10550
|
"spec-example-values",
|
|
10551
10551
|
"spec-querystring-parameters",
|
|
10552
10552
|
"spec-ref-siblings"
|
|
10553
|
-
],
|
|
10553
|
+
], RS = [
|
|
10554
10554
|
"info-contact",
|
|
10555
10555
|
"info-license-strict",
|
|
10556
10556
|
"operation-operationId",
|
|
@@ -10568,7 +10568,7 @@ const PS = [
|
|
|
10568
10568
|
"no-schema-type-mismatch",
|
|
10569
10569
|
"spec-ref-siblings",
|
|
10570
10570
|
"security-scopes-defined"
|
|
10571
|
-
],
|
|
10571
|
+
], _S = [
|
|
10572
10572
|
"info-contact",
|
|
10573
10573
|
"info-license-strict",
|
|
10574
10574
|
"operation-operationId",
|
|
@@ -10586,7 +10586,7 @@ const PS = [
|
|
|
10586
10586
|
"no-schema-type-mismatch",
|
|
10587
10587
|
"spec-ref-siblings",
|
|
10588
10588
|
"security-scopes-defined"
|
|
10589
|
-
],
|
|
10589
|
+
], TS = [
|
|
10590
10590
|
"sourceDescription-type",
|
|
10591
10591
|
"workflowId-unique",
|
|
10592
10592
|
"stepId-unique",
|
|
@@ -10611,24 +10611,24 @@ const PS = [
|
|
|
10611
10611
|
"no-mixed-number-range-constraints",
|
|
10612
10612
|
"no-schema-type-mismatch",
|
|
10613
10613
|
"x-security-scheme-name-reference"
|
|
10614
|
-
],
|
|
10614
|
+
], OS = ["info-contact"], kS = [
|
|
10615
10615
|
"info-contact",
|
|
10616
10616
|
"info-license",
|
|
10617
10617
|
"no-unused-components",
|
|
10618
10618
|
"spec-no-duplicated-method-params",
|
|
10619
10619
|
"spec-no-required-params-after-optional",
|
|
10620
10620
|
"spec-ref-siblings"
|
|
10621
|
-
],
|
|
10622
|
-
...PS,
|
|
10623
|
-
...ES,
|
|
10621
|
+
], IS = ["no-unused-types", "type-description"], qS = ["struct", "no-unresolved-refs"], CS = [
|
|
10624
10622
|
...$S,
|
|
10625
10623
|
...AS,
|
|
10626
10624
|
...RS,
|
|
10627
10625
|
..._S,
|
|
10628
10626
|
...TS,
|
|
10629
10627
|
...OS,
|
|
10630
|
-
...kS
|
|
10631
|
-
|
|
10628
|
+
...kS,
|
|
10629
|
+
...IS,
|
|
10630
|
+
...qS
|
|
10631
|
+
], MS = [
|
|
10632
10632
|
"operation-description-override",
|
|
10633
10633
|
"tag-description-override",
|
|
10634
10634
|
"info-description-override",
|
|
@@ -10637,7 +10637,7 @@ const PS = [
|
|
|
10637
10637
|
"filter-in",
|
|
10638
10638
|
"filter-out",
|
|
10639
10639
|
"remove-unused-components"
|
|
10640
|
-
],
|
|
10640
|
+
], jS = [
|
|
10641
10641
|
"operation-description-override",
|
|
10642
10642
|
"tag-description-override",
|
|
10643
10643
|
"info-description-override",
|
|
@@ -10647,7 +10647,7 @@ const PS = [
|
|
|
10647
10647
|
"filter-out",
|
|
10648
10648
|
"media-type-examples-override",
|
|
10649
10649
|
"remove-unused-components"
|
|
10650
|
-
], Zl = [...
|
|
10650
|
+
], Zl = [...jS, ...MS], eu = {
|
|
10651
10651
|
extends: {
|
|
10652
10652
|
name: "Extends",
|
|
10653
10653
|
properties: {},
|
|
@@ -10695,7 +10695,7 @@ const PS = [
|
|
|
10695
10695
|
openrpc1Decorators: "Decorators"
|
|
10696
10696
|
}, mr = {
|
|
10697
10697
|
properties: eu
|
|
10698
|
-
},
|
|
10698
|
+
}, DS = (e) => ({
|
|
10699
10699
|
...e.rootRedoclyConfigSchema,
|
|
10700
10700
|
properties: {
|
|
10701
10701
|
...e.rootRedoclyConfigSchema.properties,
|
|
@@ -10712,12 +10712,12 @@ const PS = [
|
|
|
10712
10712
|
}
|
|
10713
10713
|
}
|
|
10714
10714
|
}
|
|
10715
|
-
}),
|
|
10715
|
+
}), NS = {
|
|
10716
10716
|
properties: {},
|
|
10717
10717
|
additionalProperties: "ConfigApisProperties",
|
|
10718
10718
|
description: "The `apis` configuration section is used when a project contains multiple API descriptions to set up different rules and settings for individual APIs. It allows defining specific configurations for each API, which must be identified by a unique name.",
|
|
10719
10719
|
documentationLink: "https://redocly.com/docs/cli/configuration/reference/apis"
|
|
10720
|
-
},
|
|
10720
|
+
}, LS = (e) => ({
|
|
10721
10721
|
...e["rootRedoclyConfigSchema.apis_additionalProperties"],
|
|
10722
10722
|
properties: {
|
|
10723
10723
|
...e["rootRedoclyConfigSchema.apis_additionalProperties"]?.properties,
|
|
@@ -10727,7 +10727,7 @@ const PS = [
|
|
|
10727
10727
|
client: "Client",
|
|
10728
10728
|
clientOutput: { type: "string" }
|
|
10729
10729
|
}
|
|
10730
|
-
}),
|
|
10730
|
+
}), US = {
|
|
10731
10731
|
properties: {
|
|
10732
10732
|
headers: {
|
|
10733
10733
|
type: "array",
|
|
@@ -10736,7 +10736,7 @@ const PS = [
|
|
|
10736
10736
|
}
|
|
10737
10737
|
}
|
|
10738
10738
|
}
|
|
10739
|
-
},
|
|
10739
|
+
}, FS = {
|
|
10740
10740
|
properties: {
|
|
10741
10741
|
generators: { type: "array", items: { type: "string" } },
|
|
10742
10742
|
argsStyle: { enum: ["flat", "grouped"] },
|
|
@@ -10758,7 +10758,7 @@ const PS = [
|
|
|
10758
10758
|
options: me("ClientGeneratorOptions"),
|
|
10759
10759
|
pagination: "ClientPagination"
|
|
10760
10760
|
}
|
|
10761
|
-
},
|
|
10761
|
+
}, zS = {
|
|
10762
10762
|
properties: {},
|
|
10763
10763
|
additionalProperties: {}
|
|
10764
10764
|
}, tu = {
|
|
@@ -10771,27 +10771,27 @@ const PS = [
|
|
|
10771
10771
|
limitParam: { type: "string" },
|
|
10772
10772
|
items: { type: "string" }
|
|
10773
10773
|
}
|
|
10774
|
-
},
|
|
10774
|
+
}, BS = {
|
|
10775
10775
|
properties: {
|
|
10776
10776
|
...tu.properties,
|
|
10777
10777
|
exclude: { type: "array", items: { type: "string" } },
|
|
10778
10778
|
operations: me("ClientPaginationRule")
|
|
10779
10779
|
}
|
|
10780
|
-
},
|
|
10780
|
+
}, VS = {
|
|
10781
10781
|
properties: {},
|
|
10782
10782
|
description: "The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.",
|
|
10783
10783
|
documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules",
|
|
10784
10784
|
additionalProperties: (e, t) => {
|
|
10785
10785
|
if (t.startsWith("rule/"))
|
|
10786
10786
|
return typeof e == "string" ? { enum: ["error", "warn", "off"] } : "ConfigurableRule";
|
|
10787
|
-
if (
|
|
10787
|
+
if (CS.includes(t))
|
|
10788
10788
|
return typeof e == "string" ? { enum: ["error", "warn", "off"] } : "BuiltinRule";
|
|
10789
10789
|
if (ds(t))
|
|
10790
10790
|
return typeof e == "string" ? { enum: ["error", "warn", "off"] } : "CustomRule";
|
|
10791
10791
|
if (t === "metadata-schema" || t === "custom-fields-schema")
|
|
10792
10792
|
return "Schema";
|
|
10793
10793
|
}
|
|
10794
|
-
},
|
|
10794
|
+
}, HS = {
|
|
10795
10795
|
properties: {
|
|
10796
10796
|
severity: { enum: ["error", "warn", "off"] }
|
|
10797
10797
|
},
|
|
@@ -10799,7 +10799,7 @@ const PS = [
|
|
|
10799
10799
|
required: ["severity"],
|
|
10800
10800
|
description: "Built-in rules are the default linting rules included with Redocly CLI. They enforce widely accepted API design standards and best practices. Each built-in rule has a default severity of error, but you can change the severity or turn off any built-in rule in your configuration file.",
|
|
10801
10801
|
documentationLink: "https://redocly.com/docs/cli/rules/built-in-rules"
|
|
10802
|
-
},
|
|
10802
|
+
}, KS = {
|
|
10803
10803
|
properties: {
|
|
10804
10804
|
severity: { enum: ["error", "warn", "off"] }
|
|
10805
10805
|
},
|
|
@@ -10807,7 +10807,7 @@ const PS = [
|
|
|
10807
10807
|
required: ["severity"],
|
|
10808
10808
|
description: "Custom rules are defined by users via plugins.",
|
|
10809
10809
|
documentationLink: "https://redocly.com/docs/cli/custom-plugins/custom-rules"
|
|
10810
|
-
},
|
|
10810
|
+
}, WS = {
|
|
10811
10811
|
properties: {},
|
|
10812
10812
|
description: "Decorators define transformations that can be applied to the API document during the bundle step.",
|
|
10813
10813
|
documentationLink: "https://redocly.com/docs/cli/configuration/reference/decorators",
|
|
@@ -10817,17 +10817,17 @@ const PS = [
|
|
|
10817
10817
|
if (ds(t))
|
|
10818
10818
|
return typeof e == "string" ? { type: "string" } : "CustomDecorator";
|
|
10819
10819
|
}
|
|
10820
|
-
},
|
|
10820
|
+
}, QS = {
|
|
10821
10821
|
properties: {},
|
|
10822
10822
|
additionalProperties: {},
|
|
10823
10823
|
description: "Built-in decorators are the default decorators included with Redocly CLI.",
|
|
10824
10824
|
documentationLink: "https://redocly.com/docs/cli/decorators#list-of-decorators"
|
|
10825
|
-
},
|
|
10825
|
+
}, GS = {
|
|
10826
10826
|
properties: {},
|
|
10827
10827
|
additionalProperties: {},
|
|
10828
10828
|
description: "Custom decorators are defined by users via plugins.",
|
|
10829
10829
|
documentationLink: "https://redocly.com/docs/cli/custom-plugins/custom-decorators"
|
|
10830
|
-
},
|
|
10830
|
+
}, YS = {
|
|
10831
10831
|
properties: {},
|
|
10832
10832
|
description: "Preprocessors define transformations that can be applied to the API document before bundling.",
|
|
10833
10833
|
documentationLink: "https://redocly.com/docs/cli/configuration/reference/preprocessors",
|
|
@@ -10837,18 +10837,18 @@ const PS = [
|
|
|
10837
10837
|
if (ds(t))
|
|
10838
10838
|
return typeof e == "string" ? { type: "string" } : "CustomPreprocessor";
|
|
10839
10839
|
}
|
|
10840
|
-
},
|
|
10840
|
+
}, JS = {
|
|
10841
10841
|
properties: {},
|
|
10842
10842
|
additionalProperties: {},
|
|
10843
10843
|
description: "Built-in preprocessors are the default preprocessors included with Redocly CLI. The available options are the same for decorators and preprocessors.",
|
|
10844
10844
|
documentationLink: "https://redocly.com/docs/cli/decorators#list-of-decorators"
|
|
10845
|
-
},
|
|
10845
|
+
}, XS = {
|
|
10846
10846
|
properties: {},
|
|
10847
10847
|
additionalProperties: {},
|
|
10848
10848
|
description: "Custom preprocessors are defined by users via plugins. The available options are the same for decorators and preprocessors.",
|
|
10849
10849
|
documentationLink: "https://redocly.com/docs/cli/custom-plugins/custom-decorators"
|
|
10850
10850
|
};
|
|
10851
|
-
function
|
|
10851
|
+
function ZS(e) {
|
|
10852
10852
|
return {
|
|
10853
10853
|
properties: {
|
|
10854
10854
|
type: {
|
|
@@ -10887,7 +10887,7 @@ function JS(e) {
|
|
|
10887
10887
|
documentationLink: "https://redocly.com/docs/cli/rules/configurable-rules#subject-object"
|
|
10888
10888
|
};
|
|
10889
10889
|
}
|
|
10890
|
-
function
|
|
10890
|
+
function eP(e) {
|
|
10891
10891
|
return {
|
|
10892
10892
|
...e[Ye.ScorecardClassicLevel],
|
|
10893
10893
|
properties: {
|
|
@@ -10896,7 +10896,7 @@ function XS(e) {
|
|
|
10896
10896
|
}
|
|
10897
10897
|
};
|
|
10898
10898
|
}
|
|
10899
|
-
const
|
|
10899
|
+
const tP = {
|
|
10900
10900
|
properties: {
|
|
10901
10901
|
enum: {
|
|
10902
10902
|
type: "array",
|
|
@@ -11020,7 +11020,7 @@ const ZS = {
|
|
|
11020
11020
|
},
|
|
11021
11021
|
description: "A minimum of one assertion property is required to be defined.",
|
|
11022
11022
|
documentationLink: "https://redocly.com/docs/cli/rules/configurable-rules#assertion-object"
|
|
11023
|
-
},
|
|
11023
|
+
}, rP = {
|
|
11024
11024
|
properties: {
|
|
11025
11025
|
subject: "Subject",
|
|
11026
11026
|
assertions: "Assertions"
|
|
@@ -11028,7 +11028,7 @@ const ZS = {
|
|
|
11028
11028
|
required: ["subject", "assertions"],
|
|
11029
11029
|
description: "The where object is part of a where list which must be defined in order from the root node. Each node can only be used in one where object for each assertion. Each subsequent node must be a descendant of the previous one. Rules that use multiple where objects must target each one on a different node. However, the same node could be used in the last where object and in the root subject object. Nodes may be skipped in between the subject node types of the where list and those defined in the root subject type.",
|
|
11030
11030
|
documentationLink: "https://redocly.com/docs/cli/rules/configurable-rules#where-object"
|
|
11031
|
-
},
|
|
11031
|
+
}, nP = {
|
|
11032
11032
|
properties: {
|
|
11033
11033
|
subject: "Subject",
|
|
11034
11034
|
assertions: "Assertions",
|
|
@@ -11046,33 +11046,33 @@ function ru(e, t) {
|
|
|
11046
11046
|
const r = Jn.flatMap((o) => {
|
|
11047
11047
|
const i = $o(o), a = t ? t.extendTypes(i, o) : i;
|
|
11048
11048
|
return Object.keys(a);
|
|
11049
|
-
}), { ctx: n } =
|
|
11049
|
+
}), { ctx: n } = ES("rootRedoclyConfigSchema", e);
|
|
11050
11050
|
return {
|
|
11051
|
-
...
|
|
11052
|
-
ConfigRoot:
|
|
11051
|
+
...oP,
|
|
11052
|
+
ConfigRoot: DS(n),
|
|
11053
11053
|
// This is the REAL config root type
|
|
11054
|
-
ConfigApisProperties:
|
|
11055
|
-
Subject:
|
|
11054
|
+
ConfigApisProperties: LS(n),
|
|
11055
|
+
Subject: ZS([...r, ...nw]),
|
|
11056
11056
|
...n,
|
|
11057
|
-
[Ye.ScorecardClassicLevel]:
|
|
11057
|
+
[Ye.ScorecardClassicLevel]: eP(n)
|
|
11058
11058
|
};
|
|
11059
11059
|
}
|
|
11060
|
-
const
|
|
11061
|
-
ConfigurableRule:
|
|
11062
|
-
ConfigApis:
|
|
11060
|
+
const oP = {
|
|
11061
|
+
ConfigurableRule: nP,
|
|
11062
|
+
ConfigApis: NS,
|
|
11063
11063
|
ConfigGovernance: mr,
|
|
11064
|
-
ConfigHTTP:
|
|
11065
|
-
Client:
|
|
11066
|
-
ClientGeneratorOptions:
|
|
11067
|
-
ClientPagination:
|
|
11064
|
+
ConfigHTTP: US,
|
|
11065
|
+
Client: FS,
|
|
11066
|
+
ClientGeneratorOptions: zS,
|
|
11067
|
+
ClientPagination: BS,
|
|
11068
11068
|
ClientPaginationRule: tu,
|
|
11069
|
-
Where:
|
|
11070
|
-
BuiltinRule:
|
|
11071
|
-
CustomRule:
|
|
11072
|
-
BuiltinDecorator:
|
|
11073
|
-
CustomDecorator:
|
|
11074
|
-
BuiltinPreprocessor:
|
|
11075
|
-
CustomPreprocessor:
|
|
11069
|
+
Where: rP,
|
|
11070
|
+
BuiltinRule: HS,
|
|
11071
|
+
CustomRule: KS,
|
|
11072
|
+
BuiltinDecorator: QS,
|
|
11073
|
+
CustomDecorator: GS,
|
|
11074
|
+
BuiltinPreprocessor: JS,
|
|
11075
|
+
CustomPreprocessor: XS,
|
|
11076
11076
|
Schema: ke.Schema,
|
|
11077
11077
|
SchemaProperties: ke.SchemaProperties,
|
|
11078
11078
|
PatternProperties: ke.PatternProperties,
|
|
@@ -11082,16 +11082,16 @@ const rP = {
|
|
|
11082
11082
|
DiscriminatorMapping: ke.DiscriminatorMapping,
|
|
11083
11083
|
ExternalDocs: ke.ExternalDocs,
|
|
11084
11084
|
Xml: ke.Xml,
|
|
11085
|
-
Rules:
|
|
11086
|
-
Decorators:
|
|
11087
|
-
Preprocessors:
|
|
11088
|
-
Assertions:
|
|
11089
|
-
}, { theme:
|
|
11085
|
+
Rules: VS,
|
|
11086
|
+
Decorators: WS,
|
|
11087
|
+
Preprocessors: YS,
|
|
11088
|
+
Assertions: tP
|
|
11089
|
+
}, { theme: GR, ...iP } = Eo.properties, sP = {
|
|
11090
11090
|
...Eo,
|
|
11091
|
-
properties:
|
|
11092
|
-
},
|
|
11091
|
+
properties: iP
|
|
11092
|
+
}, aP = ru(sP), Er = xo(aP), yc = "redocly.yaml", cP = { extends: ["recommended"] }, Hi = ".redocly.lint-ignore.yaml", pP = `# This file instructs Redocly's linter to ignore the rules contained for specific parts of your API.
|
|
11093
11093
|
# See https://redocly.com/docs/cli/ for more information.
|
|
11094
|
-
`, nu = "configBundler", ou = "pluginsCollector",
|
|
11094
|
+
`, nu = "configBundler", ou = "pluginsCollector", lP = [
|
|
11095
11095
|
"@theme/plugin.js",
|
|
11096
11096
|
"@theme/plugin.cjs",
|
|
11097
11097
|
"@theme/plugin.mjs"
|
|
@@ -11111,7 +11111,7 @@ function jn(e, t) {
|
|
|
11111
11111
|
r.has(o) && n++;
|
|
11112
11112
|
return n;
|
|
11113
11113
|
}
|
|
11114
|
-
function
|
|
11114
|
+
function uP(e, t) {
|
|
11115
11115
|
const r = t.direction || t, n = t.property;
|
|
11116
11116
|
for (let o = 1; o < e.length; o++) {
|
|
11117
11117
|
let i = e[o], a = e[o - 1];
|
|
@@ -11127,7 +11127,7 @@ function pP(e, t) {
|
|
|
11127
11127
|
return !0;
|
|
11128
11128
|
}
|
|
11129
11129
|
var Dn = { exports: {} }, Nn = {}, Ln = {}, gc;
|
|
11130
|
-
function
|
|
11130
|
+
function dP() {
|
|
11131
11131
|
if (gc) return Ln;
|
|
11132
11132
|
gc = 1, Object.defineProperty(Ln, "__esModule", { value: !0 });
|
|
11133
11133
|
const e = /* @__PURE__ */ xe(), t = e.operators, r = {
|
|
@@ -11167,7 +11167,7 @@ function lP() {
|
|
|
11167
11167
|
return Ln.default = o, Ln;
|
|
11168
11168
|
}
|
|
11169
11169
|
var Un = {}, bc;
|
|
11170
|
-
function
|
|
11170
|
+
function fP() {
|
|
11171
11171
|
if (bc) return Un;
|
|
11172
11172
|
bc = 1, Object.defineProperty(Un, "__esModule", { value: !0 });
|
|
11173
11173
|
const e = {
|
|
@@ -11186,10 +11186,10 @@ function uP() {
|
|
|
11186
11186
|
return Un.default = t, Un;
|
|
11187
11187
|
}
|
|
11188
11188
|
var vc;
|
|
11189
|
-
function
|
|
11189
|
+
function mP() {
|
|
11190
11190
|
if (vc) return Nn;
|
|
11191
11191
|
vc = 1, Object.defineProperty(Nn, "__esModule", { value: !0 });
|
|
11192
|
-
const e = /* @__PURE__ */ To(), t = /* @__PURE__ */ gs(), r = /* @__PURE__ */ Yl(), n = /* @__PURE__ */ bs(), o = /* @__PURE__ */ hs(), i = /* @__PURE__ */
|
|
11192
|
+
const e = /* @__PURE__ */ To(), t = /* @__PURE__ */ gs(), r = /* @__PURE__ */ Yl(), n = /* @__PURE__ */ bs(), o = /* @__PURE__ */ hs(), i = /* @__PURE__ */ dP(), a = /* @__PURE__ */ fP(), c = ["title", "description", "default"], p = [
|
|
11193
11193
|
"$schema",
|
|
11194
11194
|
"id",
|
|
11195
11195
|
"$defs",
|
|
@@ -11206,21 +11206,21 @@ function dP() {
|
|
|
11206
11206
|
];
|
|
11207
11207
|
return Nn.default = f, Nn;
|
|
11208
11208
|
}
|
|
11209
|
-
const
|
|
11210
|
-
id:
|
|
11211
|
-
$schema:
|
|
11212
|
-
description:
|
|
11213
|
-
definitions:
|
|
11214
|
-
type:
|
|
11215
|
-
properties:
|
|
11216
|
-
dependencies:
|
|
11209
|
+
const hP = "http://json-schema.org/draft-04/schema#", yP = "http://json-schema.org/draft-04/schema#", gP = "Core schema meta-schema", bP = { schemaArray: { type: "array", minItems: 1, items: { $ref: "#" } }, positiveInteger: { type: "integer", minimum: 0 }, positiveIntegerDefault0: { allOf: [{ $ref: "#/definitions/positiveInteger" }, { default: 0 }] }, simpleTypes: { enum: ["array", "boolean", "integer", "null", "number", "object", "string"] }, stringArray: { type: "array", items: { type: "string" }, minItems: 1, uniqueItems: !0 } }, vP = "object", wP = { id: { type: "string", format: "uri" }, $schema: { type: "string", format: "uri" }, title: { type: "string" }, description: { type: "string" }, default: {}, multipleOf: { type: "number", minimum: 0, exclusiveMinimum: !0 }, maximum: { type: "number" }, exclusiveMaximum: { type: "boolean", default: !1 }, minimum: { type: "number" }, exclusiveMinimum: { type: "boolean", default: !1 }, maxLength: { $ref: "#/definitions/positiveInteger" }, minLength: { $ref: "#/definitions/positiveIntegerDefault0" }, pattern: { type: "string", format: "regex" }, additionalItems: { anyOf: [{ type: "boolean" }, { $ref: "#" }], default: {} }, items: { anyOf: [{ $ref: "#" }, { $ref: "#/definitions/schemaArray" }], default: {} }, maxItems: { $ref: "#/definitions/positiveInteger" }, minItems: { $ref: "#/definitions/positiveIntegerDefault0" }, uniqueItems: { type: "boolean", default: !1 }, maxProperties: { $ref: "#/definitions/positiveInteger" }, minProperties: { $ref: "#/definitions/positiveIntegerDefault0" }, required: { $ref: "#/definitions/stringArray" }, additionalProperties: { anyOf: [{ type: "boolean" }, { $ref: "#" }], default: {} }, definitions: { type: "object", additionalProperties: { $ref: "#" }, default: {} }, properties: { type: "object", additionalProperties: { $ref: "#" }, default: {} }, patternProperties: { type: "object", additionalProperties: { $ref: "#" }, default: {} }, dependencies: { type: "object", additionalProperties: { anyOf: [{ $ref: "#" }, { $ref: "#/definitions/stringArray" }] } }, enum: { type: "array", minItems: 1, uniqueItems: !0 }, type: { anyOf: [{ $ref: "#/definitions/simpleTypes" }, { type: "array", items: { $ref: "#/definitions/simpleTypes" }, minItems: 1, uniqueItems: !0 }] }, allOf: { $ref: "#/definitions/schemaArray" }, anyOf: { $ref: "#/definitions/schemaArray" }, oneOf: { $ref: "#/definitions/schemaArray" }, not: { $ref: "#" } }, xP = { exclusiveMaximum: ["maximum"], exclusiveMinimum: ["minimum"] }, SP = {
|
|
11210
|
+
id: hP,
|
|
11211
|
+
$schema: yP,
|
|
11212
|
+
description: gP,
|
|
11213
|
+
definitions: bP,
|
|
11214
|
+
type: vP,
|
|
11215
|
+
properties: wP,
|
|
11216
|
+
dependencies: xP,
|
|
11217
11217
|
default: {}
|
|
11218
11218
|
};
|
|
11219
11219
|
var wc;
|
|
11220
|
-
function
|
|
11220
|
+
function PP() {
|
|
11221
11221
|
return wc || (wc = 1, (function(e, t) {
|
|
11222
11222
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.MissingRefError = t.ValidationError = t.CodeGen = t.Name = t.nil = t.stringify = t.str = t._ = t.KeywordCxt = t.Ajv = void 0;
|
|
11223
|
-
const r = /* @__PURE__ */ fs(), n = /* @__PURE__ */
|
|
11223
|
+
const r = /* @__PURE__ */ fs(), n = /* @__PURE__ */ mP(), o = /* @__PURE__ */ vs(), i = SP, a = ["/properties"], c = "http://json-schema.org/draft-04/schema";
|
|
11224
11224
|
class p extends r.default {
|
|
11225
11225
|
constructor($ = {}) {
|
|
11226
11226
|
super({
|
|
@@ -11272,10 +11272,10 @@ function xP() {
|
|
|
11272
11272
|
} });
|
|
11273
11273
|
})(Dn, Dn.exports)), Dn.exports;
|
|
11274
11274
|
}
|
|
11275
|
-
var
|
|
11276
|
-
const
|
|
11275
|
+
var EP = /* @__PURE__ */ PP();
|
|
11276
|
+
const $P = /* @__PURE__ */ xr(EP);
|
|
11277
11277
|
var Fn = { exports: {} }, ti = {}, xc;
|
|
11278
|
-
function
|
|
11278
|
+
function AP() {
|
|
11279
11279
|
return xc || (xc = 1, (function(e) {
|
|
11280
11280
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.formatNames = e.fastFormats = e.fullFormats = void 0;
|
|
11281
11281
|
function t(G, oe) {
|
|
@@ -11439,7 +11439,7 @@ function EP() {
|
|
|
11439
11439
|
})(ti)), ti;
|
|
11440
11440
|
}
|
|
11441
11441
|
var ri = {}, zn = { exports: {} }, Bn = {}, Sc;
|
|
11442
|
-
function
|
|
11442
|
+
function RP() {
|
|
11443
11443
|
if (Sc) return Bn;
|
|
11444
11444
|
Sc = 1, Object.defineProperty(Bn, "__esModule", { value: !0 });
|
|
11445
11445
|
const e = /* @__PURE__ */ Vl(), t = /* @__PURE__ */ hs(), r = /* @__PURE__ */ gs(), n = /* @__PURE__ */ bs(), o = /* @__PURE__ */ Jl(), i = [
|
|
@@ -11452,20 +11452,20 @@ function $P() {
|
|
|
11452
11452
|
];
|
|
11453
11453
|
return Bn.default = i, Bn;
|
|
11454
11454
|
}
|
|
11455
|
-
const
|
|
11456
|
-
$schema:
|
|
11457
|
-
$id:
|
|
11458
|
-
title:
|
|
11459
|
-
definitions:
|
|
11460
|
-
type:
|
|
11461
|
-
properties:
|
|
11455
|
+
const _P = "http://json-schema.org/draft-07/schema#", TP = "http://json-schema.org/draft-07/schema#", OP = "Core schema meta-schema", kP = { schemaArray: { type: "array", minItems: 1, items: { $ref: "#" } }, nonNegativeInteger: { type: "integer", minimum: 0 }, nonNegativeIntegerDefault0: { allOf: [{ $ref: "#/definitions/nonNegativeInteger" }, { default: 0 }] }, simpleTypes: { enum: ["array", "boolean", "integer", "null", "number", "object", "string"] }, stringArray: { type: "array", items: { type: "string" }, uniqueItems: !0, default: [] } }, IP = ["object", "boolean"], qP = { $id: { type: "string", format: "uri-reference" }, $schema: { type: "string", format: "uri" }, $ref: { type: "string", format: "uri-reference" }, $comment: { type: "string" }, title: { type: "string" }, description: { type: "string" }, default: !0, readOnly: { type: "boolean", default: !1 }, examples: { type: "array", items: !0 }, multipleOf: { type: "number", exclusiveMinimum: 0 }, maximum: { type: "number" }, exclusiveMaximum: { type: "number" }, minimum: { type: "number" }, exclusiveMinimum: { type: "number" }, maxLength: { $ref: "#/definitions/nonNegativeInteger" }, minLength: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, pattern: { type: "string", format: "regex" }, additionalItems: { $ref: "#" }, items: { anyOf: [{ $ref: "#" }, { $ref: "#/definitions/schemaArray" }], default: !0 }, maxItems: { $ref: "#/definitions/nonNegativeInteger" }, minItems: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, uniqueItems: { type: "boolean", default: !1 }, contains: { $ref: "#" }, maxProperties: { $ref: "#/definitions/nonNegativeInteger" }, minProperties: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, required: { $ref: "#/definitions/stringArray" }, additionalProperties: { $ref: "#" }, definitions: { type: "object", additionalProperties: { $ref: "#" }, default: {} }, properties: { type: "object", additionalProperties: { $ref: "#" }, default: {} }, patternProperties: { type: "object", additionalProperties: { $ref: "#" }, propertyNames: { format: "regex" }, default: {} }, dependencies: { type: "object", additionalProperties: { anyOf: [{ $ref: "#" }, { $ref: "#/definitions/stringArray" }] } }, propertyNames: { $ref: "#" }, const: !0, enum: { type: "array", items: !0, minItems: 1, uniqueItems: !0 }, type: { anyOf: [{ $ref: "#/definitions/simpleTypes" }, { type: "array", items: { $ref: "#/definitions/simpleTypes" }, minItems: 1, uniqueItems: !0 }] }, format: { type: "string" }, contentMediaType: { type: "string" }, contentEncoding: { type: "string" }, if: { $ref: "#" }, then: { $ref: "#" }, else: { $ref: "#" }, allOf: { $ref: "#/definitions/schemaArray" }, anyOf: { $ref: "#/definitions/schemaArray" }, oneOf: { $ref: "#/definitions/schemaArray" }, not: { $ref: "#" } }, CP = {
|
|
11456
|
+
$schema: _P,
|
|
11457
|
+
$id: TP,
|
|
11458
|
+
title: OP,
|
|
11459
|
+
definitions: kP,
|
|
11460
|
+
type: IP,
|
|
11461
|
+
properties: qP,
|
|
11462
11462
|
default: !0
|
|
11463
11463
|
};
|
|
11464
11464
|
var Pc;
|
|
11465
|
-
function
|
|
11465
|
+
function MP() {
|
|
11466
11466
|
return Pc || (Pc = 1, (function(e, t) {
|
|
11467
11467
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.MissingRefError = t.ValidationError = t.CodeGen = t.Name = t.nil = t.stringify = t.str = t._ = t.KeywordCxt = t.Ajv = void 0;
|
|
11468
|
-
const r = /* @__PURE__ */ fs(), n = /* @__PURE__ */
|
|
11468
|
+
const r = /* @__PURE__ */ fs(), n = /* @__PURE__ */ RP(), o = /* @__PURE__ */ vs(), i = CP, a = ["/properties"], c = "http://json-schema.org/draft-07/schema";
|
|
11469
11469
|
class p extends r.default {
|
|
11470
11470
|
_addVocabularies() {
|
|
11471
11471
|
super._addVocabularies(), n.default.forEach(($) => this.addVocabulary($)), this.opts.discriminator && this.addKeyword(o.default);
|
|
@@ -11510,10 +11510,10 @@ function qP() {
|
|
|
11510
11510
|
})(zn, zn.exports)), zn.exports;
|
|
11511
11511
|
}
|
|
11512
11512
|
var Ec;
|
|
11513
|
-
function
|
|
11513
|
+
function jP() {
|
|
11514
11514
|
return Ec || (Ec = 1, (function(e) {
|
|
11515
11515
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.formatLimitDefinition = void 0;
|
|
11516
|
-
const t = /* @__PURE__ */
|
|
11516
|
+
const t = /* @__PURE__ */ MP(), r = /* @__PURE__ */ xe(), n = r.operators, o = {
|
|
11517
11517
|
formatMaximum: { okStr: "<=", ok: n.LTE, fail: n.GT },
|
|
11518
11518
|
formatMinimum: { okStr: ">=", ok: n.GTE, fail: n.LT },
|
|
11519
11519
|
formatExclusiveMaximum: { okStr: "<", ok: n.LT, fail: n.GTE },
|
|
@@ -11565,10 +11565,10 @@ function CP() {
|
|
|
11565
11565
|
})(ri)), ri;
|
|
11566
11566
|
}
|
|
11567
11567
|
var $c;
|
|
11568
|
-
function
|
|
11568
|
+
function DP() {
|
|
11569
11569
|
return $c || ($c = 1, (function(e, t) {
|
|
11570
11570
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
11571
|
-
const r =
|
|
11571
|
+
const r = AP(), n = jP(), o = /* @__PURE__ */ xe(), i = new o.Name("fullFormats"), a = new o.Name("fastFormats"), c = (u, f = { keywords: !0 }) => {
|
|
11572
11572
|
if (Array.isArray(f))
|
|
11573
11573
|
return p(u, f, r.fullFormats, i), u;
|
|
11574
11574
|
const [m, y] = f.mode === "fast" ? [r.fastFormats, a] : [r.fullFormats, i], h = f.formats || r.formatNames;
|
|
@@ -11589,18 +11589,18 @@ function MP() {
|
|
|
11589
11589
|
e.exports = t = c, Object.defineProperty(t, "__esModule", { value: !0 }), t.default = c;
|
|
11590
11590
|
})(Fn, Fn.exports)), Fn.exports;
|
|
11591
11591
|
}
|
|
11592
|
-
var
|
|
11593
|
-
const
|
|
11592
|
+
var NP = DP();
|
|
11593
|
+
const LP = /* @__PURE__ */ xr(NP);
|
|
11594
11594
|
function Ac(e) {
|
|
11595
11595
|
return e === "draft4" ? "id" : "$id";
|
|
11596
11596
|
}
|
|
11597
|
-
function
|
|
11597
|
+
function UP(e) {
|
|
11598
11598
|
return e === "oas2" || e === "oas3_0" ? "draft4" : "2020";
|
|
11599
11599
|
}
|
|
11600
11600
|
class Oo {
|
|
11601
11601
|
instances = {};
|
|
11602
11602
|
validate(t, r, n) {
|
|
11603
|
-
const { schemaLoc: o, instancePath: i, resolve: a, allowAdditionalProperties: c, ajvContext: p, specVersion: u } = n, f =
|
|
11603
|
+
const { schemaLoc: o, instancePath: i, resolve: a, allowAdditionalProperties: c, ajvContext: p, specVersion: u } = n, f = UP(u), m = this.getValidator(r, o, a, c, f);
|
|
11604
11604
|
if (!m)
|
|
11605
11605
|
return { valid: !0, errors: [] };
|
|
11606
11606
|
const y = {
|
|
@@ -11652,7 +11652,7 @@ class Oo {
|
|
|
11652
11652
|
};
|
|
11653
11653
|
}
|
|
11654
11654
|
};
|
|
11655
|
-
this.instances[r] = r === "2020" ? new Xl(o) : new
|
|
11655
|
+
this.instances[r] = r === "2020" ? new Xl(o) : new $P(o), LP(this.instances[r]);
|
|
11656
11656
|
}
|
|
11657
11657
|
return this.instances[r];
|
|
11658
11658
|
}
|
|
@@ -11695,7 +11695,7 @@ const su = /* @__PURE__ */ new Set([
|
|
|
11695
11695
|
"const",
|
|
11696
11696
|
"contains",
|
|
11697
11697
|
"schema"
|
|
11698
|
-
]), Rc = /* @__PURE__ */ new WeakMap(),
|
|
11698
|
+
]), Rc = /* @__PURE__ */ new WeakMap(), FP = new St(new Fp("assertion", ""), "#/schema"), Ct = {
|
|
11699
11699
|
pattern: (e, t, { baseLocation: r, rawValue: n }) => {
|
|
11700
11700
|
if (typeof e > "u" || ne(e))
|
|
11701
11701
|
return [];
|
|
@@ -11798,7 +11798,7 @@ const su = /* @__PURE__ */ new Set([
|
|
|
11798
11798
|
message: "Please define a property to sort objects by",
|
|
11799
11799
|
location: r
|
|
11800
11800
|
}
|
|
11801
|
-
] : typeof e > "u" ||
|
|
11801
|
+
] : typeof e > "u" || uP(e, t) ? [] : [
|
|
11802
11802
|
{
|
|
11803
11803
|
message: `Should be sorted in ${n === "asc" ? "an ascending" : "a descending"} order${o ? ` by property ${o}` : ""}`,
|
|
11804
11804
|
location: r
|
|
@@ -11853,7 +11853,7 @@ const su = /* @__PURE__ */ new Set([
|
|
|
11853
11853
|
let c;
|
|
11854
11854
|
try {
|
|
11855
11855
|
({ errors: c } = i.validate(e, t, {
|
|
11856
|
-
schemaLoc:
|
|
11856
|
+
schemaLoc: FP,
|
|
11857
11857
|
instancePath: "",
|
|
11858
11858
|
resolve: o,
|
|
11859
11859
|
allowAdditionalProperties: !1,
|
|
@@ -11863,15 +11863,15 @@ const su = /* @__PURE__ */ new Set([
|
|
|
11863
11863
|
throw new Error(`the 'schema' assertion has an invalid schema: ${p.message}`);
|
|
11864
11864
|
}
|
|
11865
11865
|
return c.map((p) => {
|
|
11866
|
-
const u = p.instancePath ? _d(a.pointer, p.instancePath.slice(1)) : a.pointer, f = new
|
|
11866
|
+
const u = p.instancePath ? _d(a.pointer, p.instancePath.slice(1)) : a.pointer, f = new St(a.source, u), m = p.keyword === "additionalProperties" || p.keyword === "unevaluatedProperties";
|
|
11867
11867
|
return { message: p.message, location: m ? f.key() : f };
|
|
11868
11868
|
});
|
|
11869
11869
|
}
|
|
11870
11870
|
};
|
|
11871
|
-
function
|
|
11871
|
+
function zP(e) {
|
|
11872
11872
|
return (t, r, n) => e.call(null, t, r, n);
|
|
11873
11873
|
}
|
|
11874
|
-
function
|
|
11874
|
+
function BP(e, t) {
|
|
11875
11875
|
if (!e.rules)
|
|
11876
11876
|
return {};
|
|
11877
11877
|
const r = {}, n = [];
|
|
@@ -11901,7 +11901,7 @@ function _c(e, t) {
|
|
|
11901
11901
|
throw Error(`Plugin ${n} isn't found.`);
|
|
11902
11902
|
if (!i.assertions || !i.assertions[o])
|
|
11903
11903
|
throw Error(`Plugin ${n} doesn't export assertions function with name ${o}.`);
|
|
11904
|
-
Ct[r] =
|
|
11904
|
+
Ct[r] = zP(i.assertions[o]);
|
|
11905
11905
|
}
|
|
11906
11906
|
}
|
|
11907
11907
|
class ko {
|
|
@@ -11921,7 +11921,7 @@ class ko {
|
|
|
11921
11921
|
_usedVersions = /* @__PURE__ */ new Set();
|
|
11922
11922
|
constructor(t, r = {}) {
|
|
11923
11923
|
this.resolvedConfig = t, this.configPath = r.configPath, this.document = r.document, this.resolvedRefMap = r.resolvedRefMap, this.resolve = iu(this.resolvedConfig.resolve), this._alias = r.alias, this.plugins = r.plugins || [], this.doNotResolveExamples = !!t.resolve?.doNotResolveExamples;
|
|
11924
|
-
const n = (o) =>
|
|
11924
|
+
const n = (o) => BP({ rules: o }, this.plugins);
|
|
11925
11925
|
this.rules = {
|
|
11926
11926
|
oas2: n({ ...t.rules, ...t.oas2Rules }),
|
|
11927
11927
|
oas3_0: n({ ...t.rules, ...t.oas3_0Rules }),
|
|
@@ -12021,7 +12021,7 @@ class ko {
|
|
|
12021
12021
|
for (const c of Object.keys(a))
|
|
12022
12022
|
a[c] = Array.from(a[c]);
|
|
12023
12023
|
}
|
|
12024
|
-
(void 0)(r,
|
|
12024
|
+
(void 0)(r, pP + Td(n));
|
|
12025
12025
|
}
|
|
12026
12026
|
addIgnore(t) {
|
|
12027
12027
|
const r = this.ignore, n = t.location[0];
|
|
@@ -12206,7 +12206,7 @@ function po(e, t, r, n) {
|
|
|
12206
12206
|
};
|
|
12207
12207
|
})).flatMap((o) => o).filter(nt);
|
|
12208
12208
|
}
|
|
12209
|
-
const
|
|
12209
|
+
const VP = {}, HP = {}, KP = {};
|
|
12210
12210
|
function cu(e) {
|
|
12211
12211
|
return Array.isArray(e) && e.length === 0;
|
|
12212
12212
|
}
|
|
@@ -12237,8 +12237,8 @@ function Kt(e, t, r) {
|
|
|
12237
12237
|
function Tc(e) {
|
|
12238
12238
|
return Array.isArray(e) ? e : [e];
|
|
12239
12239
|
}
|
|
12240
|
-
const
|
|
12241
|
-
const o = r ||
|
|
12240
|
+
const WP = "any", lu = ({ property: e, value: t, matchStrategy: r, applyTo: n }) => {
|
|
12241
|
+
const o = r || WP;
|
|
12242
12242
|
if (n !== void 0) {
|
|
12243
12243
|
if (n === "Operation") {
|
|
12244
12244
|
const a = [
|
|
@@ -12286,8 +12286,8 @@ const HP = "any", lu = ({ property: e, value: t, matchStrategy: r, applyTo: n })
|
|
|
12286
12286
|
}
|
|
12287
12287
|
}
|
|
12288
12288
|
};
|
|
12289
|
-
},
|
|
12290
|
-
const o = r ||
|
|
12289
|
+
}, QP = "any", uu = ({ property: e, value: t, matchStrategy: r, applyTo: n }) => {
|
|
12290
|
+
const o = r || QP;
|
|
12291
12291
|
if (n !== void 0) {
|
|
12292
12292
|
if (n === "Operation") {
|
|
12293
12293
|
const a = [
|
|
@@ -12392,7 +12392,7 @@ ${a.message}`,
|
|
|
12392
12392
|
}
|
|
12393
12393
|
}
|
|
12394
12394
|
}
|
|
12395
|
-
}),
|
|
12395
|
+
}), GP = "x-internal", hu = ({ internalFlagProperty: e = GP }) => {
|
|
12396
12396
|
function t(n, o, i) {
|
|
12397
12397
|
const { parent: a, key: c } = o;
|
|
12398
12398
|
let p = !1;
|
|
@@ -12446,7 +12446,7 @@ ${i.message}`
|
|
|
12446
12446
|
}
|
|
12447
12447
|
}
|
|
12448
12448
|
}
|
|
12449
|
-
}),
|
|
12449
|
+
}), YP = [
|
|
12450
12450
|
"definitions",
|
|
12451
12451
|
"parameters",
|
|
12452
12452
|
"responses",
|
|
@@ -12465,7 +12465,7 @@ ${i.message}`
|
|
|
12465
12465
|
if (!o.startsWith("#/"))
|
|
12466
12466
|
return;
|
|
12467
12467
|
const [i, a] = Zi(o).pointer;
|
|
12468
|
-
if (!(!i || !a) &&
|
|
12468
|
+
if (!(!i || !a) && YP.includes(i))
|
|
12469
12469
|
return `${i}/${a}`;
|
|
12470
12470
|
}
|
|
12471
12471
|
function n(o, i = /* @__PURE__ */ new Set()) {
|
|
@@ -12525,7 +12525,7 @@ ${i.message}`
|
|
|
12525
12525
|
}
|
|
12526
12526
|
}
|
|
12527
12527
|
};
|
|
12528
|
-
},
|
|
12528
|
+
}, JP = {
|
|
12529
12529
|
"operation-description-override": mu,
|
|
12530
12530
|
"tag-description-override": yu,
|
|
12531
12531
|
"info-description-override": du,
|
|
@@ -12534,7 +12534,7 @@ ${i.message}`
|
|
|
12534
12534
|
"filter-in": lu,
|
|
12535
12535
|
"filter-out": uu,
|
|
12536
12536
|
"remove-unused-components": gu
|
|
12537
|
-
},
|
|
12537
|
+
}, XP = ({ operationIds: e }) => ({
|
|
12538
12538
|
Operation: {
|
|
12539
12539
|
enter(t, r) {
|
|
12540
12540
|
const n = t.operationId;
|
|
@@ -12575,7 +12575,7 @@ function kc(e, t) {
|
|
|
12575
12575
|
const r = t(e);
|
|
12576
12576
|
return r.error ? void 0 : JSON.parse(JSON.stringify(r.node));
|
|
12577
12577
|
}
|
|
12578
|
-
function
|
|
12578
|
+
function ZP(e, t) {
|
|
12579
12579
|
return t in e;
|
|
12580
12580
|
}
|
|
12581
12581
|
function Ic(e) {
|
|
@@ -12599,7 +12599,7 @@ const bu = () => {
|
|
|
12599
12599
|
function r(n, o = /* @__PURE__ */ new Set()) {
|
|
12600
12600
|
const i = o.size;
|
|
12601
12601
|
for (const [a, { usedIn: c, name: p, componentType: u, referencesDiscriminator: f }] of e)
|
|
12602
|
-
if (!(c.some((y) => y !== a && !o.has(y)) || f) && u && n.components &&
|
|
12602
|
+
if (!(c.some((y) => y !== a && !o.has(y)) || f) && u && n.components && ZP(n.components, u)) {
|
|
12603
12603
|
o.add(a);
|
|
12604
12604
|
const y = n.components[u];
|
|
12605
12605
|
delete y[p], e.delete(a), fr(y) && delete n.components[u];
|
|
@@ -12687,7 +12687,7 @@ const bu = () => {
|
|
|
12687
12687
|
}
|
|
12688
12688
|
}
|
|
12689
12689
|
};
|
|
12690
|
-
},
|
|
12690
|
+
}, eE = {
|
|
12691
12691
|
"operation-description-override": mu,
|
|
12692
12692
|
"tag-description-override": yu,
|
|
12693
12693
|
"info-description-override": du,
|
|
@@ -12695,9 +12695,9 @@ const bu = () => {
|
|
|
12695
12695
|
"remove-x-internal": hu,
|
|
12696
12696
|
"filter-in": lu,
|
|
12697
12697
|
"filter-out": uu,
|
|
12698
|
-
"media-type-examples-override":
|
|
12698
|
+
"media-type-examples-override": XP,
|
|
12699
12699
|
"remove-unused-components": bu
|
|
12700
|
-
},
|
|
12700
|
+
}, tE = {}, rE = {}, nE = () => ({
|
|
12701
12701
|
SourceDescriptions: {
|
|
12702
12702
|
enter(e, { report: t, location: r, specVersion: n }) {
|
|
12703
12703
|
if (!e.length)
|
|
@@ -12712,15 +12712,15 @@ const bu = () => {
|
|
|
12712
12712
|
}
|
|
12713
12713
|
}
|
|
12714
12714
|
});
|
|
12715
|
-
function
|
|
12715
|
+
function oE(e) {
|
|
12716
12716
|
return e;
|
|
12717
12717
|
}
|
|
12718
12718
|
const Ki = void 0, _e = new Proxy(Pd, {
|
|
12719
12719
|
get(e, t) {
|
|
12720
|
-
return rt ?
|
|
12720
|
+
return rt ? oE : e[t];
|
|
12721
12721
|
}
|
|
12722
12722
|
});
|
|
12723
|
-
class
|
|
12723
|
+
class iE {
|
|
12724
12724
|
info(t) {
|
|
12725
12725
|
return rt ? console.info(t) : process.stderr.write(t);
|
|
12726
12726
|
}
|
|
@@ -12749,7 +12749,7 @@ class nE {
|
|
|
12749
12749
|
`);
|
|
12750
12750
|
}
|
|
12751
12751
|
}
|
|
12752
|
-
const Ae = new
|
|
12752
|
+
const Ae = new iE(), Wi = {
|
|
12753
12753
|
problems: "{{problems}}",
|
|
12754
12754
|
assertionName: "{{assertionName}}",
|
|
12755
12755
|
nodeType: "{{nodeType}}",
|
|
@@ -12795,7 +12795,7 @@ function xu(e, t, r) {
|
|
|
12795
12795
|
}));
|
|
12796
12796
|
return o.flat();
|
|
12797
12797
|
}
|
|
12798
|
-
function
|
|
12798
|
+
function sE(e, t) {
|
|
12799
12799
|
const r = qc(e.subject), n = r.length ? (p, u) => !r.every((f) => f(u)) : void 0, o = {
|
|
12800
12800
|
[e.subject.type]: {
|
|
12801
12801
|
enter: t,
|
|
@@ -12824,14 +12824,14 @@ function oE(e, t) {
|
|
|
12824
12824
|
}
|
|
12825
12825
|
return i[e.subject.type] = o[e.subject.type], a;
|
|
12826
12826
|
}
|
|
12827
|
-
function
|
|
12827
|
+
function aE(e, t) {
|
|
12828
12828
|
return (r, n) => {
|
|
12829
12829
|
const o = wu(t), i = `${_e.blue(e)} failed because the ${_e.blue(t.subject.type)} ${_e.blue(o.join(", "))} didn't meet the assertions: ${Wi.problems}`.replace(/ +/g, " "), a = xu(t, vu(t), {
|
|
12830
12830
|
...n,
|
|
12831
12831
|
node: r
|
|
12832
12832
|
});
|
|
12833
12833
|
if (a.length)
|
|
12834
|
-
for (const c of
|
|
12834
|
+
for (const c of cE(a)) {
|
|
12835
12835
|
const p = t.message || i, f = {
|
|
12836
12836
|
problems: Su(c),
|
|
12837
12837
|
assertionName: e,
|
|
@@ -12843,7 +12843,7 @@ function iE(e, t) {
|
|
|
12843
12843
|
};
|
|
12844
12844
|
n.report({
|
|
12845
12845
|
message: Eu(p, f),
|
|
12846
|
-
location:
|
|
12846
|
+
location: pE(c) || n.location,
|
|
12847
12847
|
forceSeverity: t.severity || "error",
|
|
12848
12848
|
suggest: t.suggest || [],
|
|
12849
12849
|
...t.reference && { reference: t.reference },
|
|
@@ -12852,7 +12852,7 @@ function iE(e, t) {
|
|
|
12852
12852
|
}
|
|
12853
12853
|
};
|
|
12854
12854
|
}
|
|
12855
|
-
function
|
|
12855
|
+
function cE(e) {
|
|
12856
12856
|
const t = {};
|
|
12857
12857
|
for (const r of e) {
|
|
12858
12858
|
if (!r.location)
|
|
@@ -12862,7 +12862,7 @@ function sE(e) {
|
|
|
12862
12862
|
}
|
|
12863
12863
|
return Object.values(t);
|
|
12864
12864
|
}
|
|
12865
|
-
function
|
|
12865
|
+
function pE(e) {
|
|
12866
12866
|
return e.length ? e[0].location : void 0;
|
|
12867
12867
|
}
|
|
12868
12868
|
function Su(e) {
|
|
@@ -12905,12 +12905,12 @@ const jt = (e) => {
|
|
|
12905
12905
|
throw new Error(`${o.assertionId}: 'type' (String) is required`);
|
|
12906
12906
|
if (!ne(o.assertions))
|
|
12907
12907
|
throw new Error(`${o.assertionId}: 'assertions' (Object) is required`);
|
|
12908
|
-
const i =
|
|
12908
|
+
const i = aE(o.assertionId, o), a = sE(o, i);
|
|
12909
12909
|
t.push(a);
|
|
12910
12910
|
}
|
|
12911
12911
|
return t;
|
|
12912
12912
|
};
|
|
12913
|
-
function
|
|
12913
|
+
function lE(e) {
|
|
12914
12914
|
return ne(e) || Array.isArray(e);
|
|
12915
12915
|
}
|
|
12916
12916
|
const $r = () => ({
|
|
@@ -12919,8 +12919,8 @@ const $r = () => ({
|
|
|
12919
12919
|
return;
|
|
12920
12920
|
const n = /* @__PURE__ */ new Set(), o = [];
|
|
12921
12921
|
for (const [i, a] of e.enum.entries()) {
|
|
12922
|
-
const c =
|
|
12923
|
-
(c ? o.some((u) =>
|
|
12922
|
+
const c = lE(a);
|
|
12923
|
+
(c ? o.some((u) => $t(u, a)) : n.has(a)) && t({
|
|
12924
12924
|
message: `Duplicated enum value found: '${c ? JSON.stringify(a) : a}'.`,
|
|
12925
12925
|
location: r.child(["enum", i]),
|
|
12926
12926
|
reference: "https://redocly.com/docs/cli/rules/common/no-duplicated-enum-values"
|
|
@@ -12929,7 +12929,7 @@ const $r = () => ({
|
|
|
12929
12929
|
}
|
|
12930
12930
|
});
|
|
12931
12931
|
var ni, Mc;
|
|
12932
|
-
function
|
|
12932
|
+
function uE() {
|
|
12933
12933
|
return Mc || (Mc = 1, ni = /* @__PURE__ */ (function() {
|
|
12934
12934
|
function e(t, r, n, o, i) {
|
|
12935
12935
|
return t < r || n < r ? t > n ? n + 1 : t + 1 : o === i ? r : r + 1;
|
|
@@ -12960,8 +12960,8 @@ function pE() {
|
|
|
12960
12960
|
};
|
|
12961
12961
|
})()), ni;
|
|
12962
12962
|
}
|
|
12963
|
-
var
|
|
12964
|
-
const
|
|
12963
|
+
var dE = uE();
|
|
12964
|
+
const fE = /* @__PURE__ */ xr(dE), Io = (e, t, r) => {
|
|
12965
12965
|
if (Re(e)) {
|
|
12966
12966
|
const n = t.resolve(e, r?.source.absoluteRef);
|
|
12967
12967
|
return n ? { schema: n.node, location: n.location, chain: n.chain } : { schema: void 0, location: r };
|
|
@@ -13018,7 +13018,7 @@ function uo(e, t, r) {
|
|
|
13018
13018
|
function qo(e, t) {
|
|
13019
13019
|
return `${e} object should contain \`${t}\` field.`;
|
|
13020
13020
|
}
|
|
13021
|
-
function
|
|
13021
|
+
function mE(e, t) {
|
|
13022
13022
|
return `${e} object should contain one of the fields: ${t.map((r) => `\`${r}\``).join(", ")}.`;
|
|
13023
13023
|
}
|
|
13024
13024
|
function Au(e, t) {
|
|
@@ -13035,10 +13035,10 @@ function Xt({ fieldName: e, value: t, ctx: r, reference: n }) {
|
|
|
13035
13035
|
reference: n
|
|
13036
13036
|
}));
|
|
13037
13037
|
}
|
|
13038
|
-
function
|
|
13038
|
+
function hE({ fieldNames: e, value: t, ctx: r, reference: n }) {
|
|
13039
13039
|
if (ne(t)) {
|
|
13040
13040
|
e.some((o) => t.hasOwnProperty(o)) || r.report({
|
|
13041
|
-
message:
|
|
13041
|
+
message: mE(r.type.name, e),
|
|
13042
13042
|
location: r.location.key(),
|
|
13043
13043
|
reference: n
|
|
13044
13044
|
});
|
|
@@ -13057,7 +13057,7 @@ function Co(e, t) {
|
|
|
13057
13057
|
return [];
|
|
13058
13058
|
const r = [];
|
|
13059
13059
|
for (let n = 0; n < t.length; n++) {
|
|
13060
|
-
const o =
|
|
13060
|
+
const o = fE(e, t[n]);
|
|
13061
13061
|
o < 4 && r.push({ distance: o, variant: t[n] });
|
|
13062
13062
|
}
|
|
13063
13063
|
return r.sort((n, o) => n.distance - o.distance), r.map((n) => n.variant);
|
|
@@ -13086,7 +13086,7 @@ function yr({ example: e, schema: t, options: r, reference: n }) {
|
|
|
13086
13086
|
m({
|
|
13087
13087
|
message: `Example value must conform to the schema: ${w.message}.`,
|
|
13088
13088
|
location: {
|
|
13089
|
-
...new
|
|
13089
|
+
...new St(o.source, w.instancePath),
|
|
13090
13090
|
reportOnKey: w.keyword === "unevaluatedProperties" || w.keyword === "additionalProperties"
|
|
13091
13091
|
},
|
|
13092
13092
|
from: f,
|
|
@@ -13104,10 +13104,10 @@ function yr({ example: e, schema: t, options: r, reference: n }) {
|
|
|
13104
13104
|
});
|
|
13105
13105
|
}
|
|
13106
13106
|
}
|
|
13107
|
-
const
|
|
13107
|
+
const yE = 10;
|
|
13108
13108
|
function jc(e, t, r, n, { report: o, location: i }, a) {
|
|
13109
13109
|
if (e && !e.includes(t)) {
|
|
13110
|
-
const c = e.length >
|
|
13110
|
+
const c = e.length > yE ? `\`${r}\` "${t}" is not a valid value.${a ? ` See the supported values: ${a}.` : ""}` : `\`${r}\` can be one of the following only: ${e.map((p) => `"${p}"`).join(", ")}.`;
|
|
13111
13111
|
o({
|
|
13112
13112
|
location: i,
|
|
13113
13113
|
message: c,
|
|
@@ -13229,7 +13229,7 @@ const Ar = () => ({
|
|
|
13229
13229
|
reference: "https://redocly.com/docs/cli/rules/common/no-schema-type-mismatch"
|
|
13230
13230
|
});
|
|
13231
13231
|
}
|
|
13232
|
-
}),
|
|
13232
|
+
}), At = () => ({
|
|
13233
13233
|
ref: {
|
|
13234
13234
|
leave(e, { report: t, location: r }, n) {
|
|
13235
13235
|
n.node === void 0 && Vt(n, t, r);
|
|
@@ -13280,7 +13280,7 @@ const Tr = () => ({
|
|
|
13280
13280
|
reference: "https://redocly.com/docs/cli/rules/common/no-unsafe-markdown"
|
|
13281
13281
|
}));
|
|
13282
13282
|
}
|
|
13283
|
-
}),
|
|
13283
|
+
}), Rt = () => ({
|
|
13284
13284
|
// oxlint-disable-next-line sonarjs/cognitive-complexity
|
|
13285
13285
|
any(e, { report: t, type: r, location: n, rawLocation: o, key: i, resolve: a, ignoreNextVisitorsOnNode: c }) {
|
|
13286
13286
|
const p = Xn(e), u = o !== n ? o : void 0;
|
|
@@ -13377,7 +13377,7 @@ const Tr = () => ({
|
|
|
13377
13377
|
}
|
|
13378
13378
|
}
|
|
13379
13379
|
}
|
|
13380
|
-
}),
|
|
13380
|
+
}), gE = () => ({
|
|
13381
13381
|
CriterionObject: {
|
|
13382
13382
|
enter(e, { report: t, location: r }) {
|
|
13383
13383
|
e.type && (e.type === "xpath" || ne(e.type) && e.type.type === "xpath") && t({
|
|
@@ -13387,7 +13387,7 @@ const Tr = () => ({
|
|
|
13387
13387
|
});
|
|
13388
13388
|
}
|
|
13389
13389
|
}
|
|
13390
|
-
}),
|
|
13390
|
+
}), bE = () => {
|
|
13391
13391
|
function e(t, { report: r, location: n }) {
|
|
13392
13392
|
if (Array.isArray(t))
|
|
13393
13393
|
for (const o of t) {
|
|
@@ -13411,7 +13411,7 @@ const Tr = () => ({
|
|
|
13411
13411
|
}
|
|
13412
13412
|
}
|
|
13413
13413
|
};
|
|
13414
|
-
},
|
|
13414
|
+
}, vE = () => ({
|
|
13415
13415
|
Step: {
|
|
13416
13416
|
enter(e, { report: t, location: r }) {
|
|
13417
13417
|
if (!e?.["x-operation"])
|
|
@@ -13426,7 +13426,7 @@ const Tr = () => ({
|
|
|
13426
13426
|
});
|
|
13427
13427
|
}
|
|
13428
13428
|
}
|
|
13429
|
-
}),
|
|
13429
|
+
}), wE = () => {
|
|
13430
13430
|
let e = 0;
|
|
13431
13431
|
return {
|
|
13432
13432
|
SourceDescriptions: {
|
|
@@ -13455,7 +13455,7 @@ const Tr = () => ({
|
|
|
13455
13455
|
}
|
|
13456
13456
|
}
|
|
13457
13457
|
};
|
|
13458
|
-
},
|
|
13458
|
+
}, xE = {
|
|
13459
13459
|
apiKey: ["apiKey"],
|
|
13460
13460
|
basic: ["username", "password"],
|
|
13461
13461
|
digest: ["username", "password"],
|
|
@@ -13474,7 +13474,7 @@ function Dc(e, { report: t, location: r }) {
|
|
|
13474
13474
|
Ae.warn("Please use CLI option to provide mutualTLS certificates for mutualTls authentication security schema.");
|
|
13475
13475
|
continue;
|
|
13476
13476
|
}
|
|
13477
|
-
const p =
|
|
13477
|
+
const p = xE[c];
|
|
13478
13478
|
if (p)
|
|
13479
13479
|
for (const u of p)
|
|
13480
13480
|
(!i || !(u in i)) && t({
|
|
@@ -13490,7 +13490,7 @@ function Dc(e, { report: t, location: r }) {
|
|
|
13490
13490
|
});
|
|
13491
13491
|
}
|
|
13492
13492
|
}
|
|
13493
|
-
const
|
|
13493
|
+
const SE = () => ({
|
|
13494
13494
|
Step: {
|
|
13495
13495
|
enter(e, t) {
|
|
13496
13496
|
Dc(e?.["x-security"], t);
|
|
@@ -13501,7 +13501,7 @@ const wE = () => ({
|
|
|
13501
13501
|
Dc(e?.["x-security"], t);
|
|
13502
13502
|
}
|
|
13503
13503
|
}
|
|
13504
|
-
}),
|
|
13504
|
+
}), PE = () => ({
|
|
13505
13505
|
FailureActionObject: {
|
|
13506
13506
|
enter(e, { report: t, location: r }) {
|
|
13507
13507
|
const n = e?.criteria;
|
|
@@ -13550,7 +13550,7 @@ const wE = () => ({
|
|
|
13550
13550
|
}
|
|
13551
13551
|
}
|
|
13552
13552
|
}
|
|
13553
|
-
}),
|
|
13553
|
+
}), EE = () => {
|
|
13554
13554
|
const e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map(), r = [];
|
|
13555
13555
|
function n({ value: a, report: c, location: p, path: u, definedWorkflowOutputs: f }) {
|
|
13556
13556
|
const m = /\$workflows\.([^.\s]+)\.outputs\.([^.\s}\]#]+)/g;
|
|
@@ -13659,7 +13659,7 @@ const wE = () => ({
|
|
|
13659
13659
|
}
|
|
13660
13660
|
}
|
|
13661
13661
|
};
|
|
13662
|
-
},
|
|
13662
|
+
}, $E = () => ({
|
|
13663
13663
|
Parameters: {
|
|
13664
13664
|
enter(e, { report: t, location: r }) {
|
|
13665
13665
|
if (!e)
|
|
@@ -13675,7 +13675,7 @@ const wE = () => ({
|
|
|
13675
13675
|
}), n.add(o?.name ?? o?.reference);
|
|
13676
13676
|
}
|
|
13677
13677
|
}
|
|
13678
|
-
}),
|
|
13678
|
+
}), AE = () => {
|
|
13679
13679
|
const e = /* @__PURE__ */ new Set();
|
|
13680
13680
|
return {
|
|
13681
13681
|
Step: {
|
|
@@ -13699,7 +13699,7 @@ const wE = () => ({
|
|
|
13699
13699
|
}
|
|
13700
13700
|
}
|
|
13701
13701
|
};
|
|
13702
|
-
},
|
|
13702
|
+
}, RE = () => {
|
|
13703
13703
|
const e = /* @__PURE__ */ new Set();
|
|
13704
13704
|
return {
|
|
13705
13705
|
SourceDescriptions: {
|
|
@@ -13714,7 +13714,7 @@ const wE = () => ({
|
|
|
13714
13714
|
}
|
|
13715
13715
|
}
|
|
13716
13716
|
};
|
|
13717
|
-
},
|
|
13717
|
+
}, _E = () => ({
|
|
13718
13718
|
SourceDescriptions: {
|
|
13719
13719
|
enter(e, { report: t, location: r }) {
|
|
13720
13720
|
e?.length || t({
|
|
@@ -13723,17 +13723,17 @@ const wE = () => ({
|
|
|
13723
13723
|
});
|
|
13724
13724
|
}
|
|
13725
13725
|
}
|
|
13726
|
-
}),
|
|
13726
|
+
}), TE = [
|
|
13727
13727
|
"x-operation",
|
|
13728
13728
|
"operationId",
|
|
13729
13729
|
"operationPath",
|
|
13730
13730
|
"channelPath",
|
|
13731
13731
|
// added in Arazzo 1.1
|
|
13732
13732
|
"workflowId"
|
|
13733
|
-
],
|
|
13733
|
+
], OE = () => ({
|
|
13734
13734
|
Step: {
|
|
13735
13735
|
enter(e, { report: t, location: r }) {
|
|
13736
|
-
const n =
|
|
13736
|
+
const n = TE.filter((o) => Object.hasOwn(e, o));
|
|
13737
13737
|
n.length > 1 && t({
|
|
13738
13738
|
message: `A step can only use one of the following mutually exclusive fields: ${n.map((o) => `\`${o}\``).join(", ")}.`,
|
|
13739
13739
|
location: n.map((o) => r.child([o]).key()),
|
|
@@ -13741,7 +13741,7 @@ const wE = () => ({
|
|
|
13741
13741
|
});
|
|
13742
13742
|
}
|
|
13743
13743
|
}
|
|
13744
|
-
}),
|
|
13744
|
+
}), kE = () => ({
|
|
13745
13745
|
OnFailureActionList: {
|
|
13746
13746
|
enter(e, { report: t, location: r }) {
|
|
13747
13747
|
if (!e)
|
|
@@ -13759,7 +13759,7 @@ const wE = () => ({
|
|
|
13759
13759
|
}), n.add(o.name ?? o.reference);
|
|
13760
13760
|
}
|
|
13761
13761
|
}
|
|
13762
|
-
}),
|
|
13762
|
+
}), IE = () => ({
|
|
13763
13763
|
OnSuccessActionList: {
|
|
13764
13764
|
enter(e, { report: t, location: r }) {
|
|
13765
13765
|
if (!e)
|
|
@@ -13777,7 +13777,7 @@ const wE = () => ({
|
|
|
13777
13777
|
}), n.add(o?.name ?? o?.reference);
|
|
13778
13778
|
}
|
|
13779
13779
|
}
|
|
13780
|
-
}),
|
|
13780
|
+
}), qE = () => ({
|
|
13781
13781
|
Workflow: {
|
|
13782
13782
|
enter(e, { report: t, location: r }) {
|
|
13783
13783
|
if (!e.steps)
|
|
@@ -13794,47 +13794,49 @@ const wE = () => ({
|
|
|
13794
13794
|
}
|
|
13795
13795
|
}
|
|
13796
13796
|
}
|
|
13797
|
-
}),
|
|
13798
|
-
const e = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new Set()
|
|
13797
|
+
}), CE = () => {
|
|
13798
|
+
const e = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new Set();
|
|
13799
13799
|
return {
|
|
13800
13800
|
SourceDescriptions: {
|
|
13801
|
-
enter(
|
|
13802
|
-
for (const
|
|
13803
|
-
|
|
13801
|
+
enter(r) {
|
|
13802
|
+
for (const n of r)
|
|
13803
|
+
e.add(n.name);
|
|
13804
13804
|
}
|
|
13805
13805
|
},
|
|
13806
13806
|
Workflows: {
|
|
13807
|
-
enter(
|
|
13808
|
-
for (const
|
|
13809
|
-
|
|
13807
|
+
enter(r) {
|
|
13808
|
+
for (const n of r)
|
|
13809
|
+
t.add(n.workflowId);
|
|
13810
13810
|
}
|
|
13811
13811
|
},
|
|
13812
13812
|
Workflow: {
|
|
13813
|
-
leave(
|
|
13814
|
-
if (
|
|
13815
|
-
|
|
13816
|
-
|
|
13817
|
-
|
|
13818
|
-
|
|
13819
|
-
|
|
13820
|
-
|
|
13821
|
-
|
|
13822
|
-
|
|
13823
|
-
}
|
|
13824
|
-
!a.startsWith("$sourceDescriptions") && !r.has(a) && o({
|
|
13825
|
-
message: `Workflow ${a} must be defined in workflows.`,
|
|
13826
|
-
location: i.child(["dependsOn", n.dependsOn.indexOf(a)]),
|
|
13827
|
-
reference: "https://redocly.com/docs/cli/rules/arazzo/workflow-dependson"
|
|
13828
|
-
}), e.has(a) && o({
|
|
13829
|
-
message: "Every workflow in dependsOn must be unique.",
|
|
13830
|
-
location: i.child(["dependsOn"]),
|
|
13813
|
+
leave(r, { report: n, location: o }) {
|
|
13814
|
+
if (!r.dependsOn)
|
|
13815
|
+
return;
|
|
13816
|
+
const i = /* @__PURE__ */ new Set();
|
|
13817
|
+
for (const a of r.dependsOn) {
|
|
13818
|
+
if (a.startsWith("$sourceDescriptions.")) {
|
|
13819
|
+
const c = a.split(".")[1];
|
|
13820
|
+
e.has(c) || n({
|
|
13821
|
+
message: `SourceDescription ${c} must be defined in sourceDescriptions.`,
|
|
13822
|
+
location: o.child(["dependsOn", r.dependsOn.indexOf(a)]),
|
|
13831
13823
|
reference: "https://redocly.com/docs/cli/rules/arazzo/workflow-dependson"
|
|
13832
|
-
})
|
|
13824
|
+
});
|
|
13833
13825
|
}
|
|
13826
|
+
!a.startsWith("$sourceDescriptions") && !t.has(a) && n({
|
|
13827
|
+
message: `Workflow ${a} must be defined in workflows.`,
|
|
13828
|
+
location: o.child(["dependsOn", r.dependsOn.indexOf(a)]),
|
|
13829
|
+
reference: "https://redocly.com/docs/cli/rules/arazzo/workflow-dependson"
|
|
13830
|
+
}), i.has(a) && n({
|
|
13831
|
+
message: "Every workflow in dependsOn must be unique.",
|
|
13832
|
+
location: o.child(["dependsOn"]),
|
|
13833
|
+
reference: "https://redocly.com/docs/cli/rules/arazzo/workflow-dependson"
|
|
13834
|
+
}), i.add(a);
|
|
13835
|
+
}
|
|
13834
13836
|
}
|
|
13835
13837
|
}
|
|
13836
13838
|
};
|
|
13837
|
-
},
|
|
13839
|
+
}, ME = () => {
|
|
13838
13840
|
const e = /* @__PURE__ */ new Set();
|
|
13839
13841
|
return {
|
|
13840
13842
|
Workflow: {
|
|
@@ -13847,35 +13849,35 @@ const wE = () => ({
|
|
|
13847
13849
|
}
|
|
13848
13850
|
}
|
|
13849
13851
|
};
|
|
13850
|
-
},
|
|
13852
|
+
}, jE = {
|
|
13851
13853
|
assertions: jt,
|
|
13852
|
-
"criteria-unique":
|
|
13853
|
-
"no-criteria-xpath":
|
|
13854
|
+
"criteria-unique": PE,
|
|
13855
|
+
"no-criteria-xpath": gE,
|
|
13854
13856
|
"no-duplicated-enum-values": $r,
|
|
13855
13857
|
"no-unsafe-markdown": Tr,
|
|
13856
13858
|
"no-enum-type-mismatch": Ar,
|
|
13857
13859
|
"no-mixed-number-range-constraints": Mo,
|
|
13858
13860
|
"no-required-schema-properties-undefined": Rr,
|
|
13859
13861
|
"no-schema-type-mismatch": _r,
|
|
13860
|
-
"no-unresolved-refs":
|
|
13861
|
-
"no-x-security-both-scheme-and-scheme-name":
|
|
13862
|
-
"no-x-security-scheme-name-without-openapi":
|
|
13863
|
-
"outputs-defined":
|
|
13864
|
-
"parameters-unique":
|
|
13865
|
-
"requestBody-replacements-unique":
|
|
13866
|
-
"sourceDescription-name-unique":
|
|
13867
|
-
"sourceDescription-type":
|
|
13868
|
-
"sourceDescriptions-not-empty":
|
|
13869
|
-
"spec-step-mutually-exclusive-fields":
|
|
13870
|
-
"step-onFailure-unique":
|
|
13871
|
-
"step-onSuccess-unique":
|
|
13872
|
-
"stepId-unique":
|
|
13873
|
-
struct:
|
|
13874
|
-
"workflow-dependsOn":
|
|
13875
|
-
"workflowId-unique":
|
|
13876
|
-
"x-security-scheme-name-reference":
|
|
13877
|
-
"x-security-scheme-required-values":
|
|
13878
|
-
},
|
|
13862
|
+
"no-unresolved-refs": At,
|
|
13863
|
+
"no-x-security-both-scheme-and-scheme-name": bE,
|
|
13864
|
+
"no-x-security-scheme-name-without-openapi": vE,
|
|
13865
|
+
"outputs-defined": EE,
|
|
13866
|
+
"parameters-unique": $E,
|
|
13867
|
+
"requestBody-replacements-unique": AE,
|
|
13868
|
+
"sourceDescription-name-unique": RE,
|
|
13869
|
+
"sourceDescription-type": nE,
|
|
13870
|
+
"sourceDescriptions-not-empty": _E,
|
|
13871
|
+
"spec-step-mutually-exclusive-fields": OE,
|
|
13872
|
+
"step-onFailure-unique": kE,
|
|
13873
|
+
"step-onSuccess-unique": IE,
|
|
13874
|
+
"stepId-unique": qE,
|
|
13875
|
+
struct: Rt,
|
|
13876
|
+
"workflow-dependsOn": CE,
|
|
13877
|
+
"workflowId-unique": ME,
|
|
13878
|
+
"x-security-scheme-name-reference": wE,
|
|
13879
|
+
"x-security-scheme-required-values": SE
|
|
13880
|
+
}, DE = {}, Zt = () => ({
|
|
13879
13881
|
Info(e, { report: t, location: r }) {
|
|
13880
13882
|
e.contact || t({
|
|
13881
13883
|
message: qo("Info", "contact"),
|
|
@@ -13883,7 +13885,7 @@ const wE = () => ({
|
|
|
13883
13885
|
reference: "https://redocly.com/docs/cli/rules/oas/info-contact"
|
|
13884
13886
|
});
|
|
13885
13887
|
}
|
|
13886
|
-
}),
|
|
13888
|
+
}), NE = /^1\.0\.\d+(-.+)?$/;
|
|
13887
13889
|
function _u(e) {
|
|
13888
13890
|
return e.startsWith("oas3") ? "oas3" : e === "oas2" ? "oas2" : e === "async2" ? "async2" : e === "async3" ? "async3" : e === "arazzo1" || e === "arazzo1_1" ? "arazzo1" : e === "overlay1" ? "overlay1" : e === "openrpc1" ? "openrpc1" : e === "graphql" ? "graphql" : "oas3";
|
|
13889
13891
|
}
|
|
@@ -13916,7 +13918,7 @@ function Or(e) {
|
|
|
13916
13918
|
return "arazzo1_1";
|
|
13917
13919
|
if (e.arazzo)
|
|
13918
13920
|
throw new Error(`Unsupported Arazzo version: ${e.arazzo}`);
|
|
13919
|
-
if (typeof e.overlay == "string" &&
|
|
13921
|
+
if (typeof e.overlay == "string" && NE.test(e.overlay))
|
|
13920
13922
|
return "overlay1";
|
|
13921
13923
|
throw new Error("Unsupported specification");
|
|
13922
13924
|
}
|
|
@@ -13929,7 +13931,7 @@ const jo = () => {
|
|
|
13929
13931
|
},
|
|
13930
13932
|
License: {
|
|
13931
13933
|
leave(t, r) {
|
|
13932
|
-
e === "oas3_1" || e === "oas3_2" ?
|
|
13934
|
+
e === "oas3_1" || e === "oas3_2" ? hE({
|
|
13933
13935
|
fieldNames: ["url", "identifier"],
|
|
13934
13936
|
value: t,
|
|
13935
13937
|
ctx: r,
|
|
@@ -13971,7 +13973,7 @@ const jo = () => {
|
|
|
13971
13973
|
}
|
|
13972
13974
|
}
|
|
13973
13975
|
});
|
|
13974
|
-
function
|
|
13976
|
+
function LE(e, t, r) {
|
|
13975
13977
|
if ("flows" in e && e.flows) {
|
|
13976
13978
|
const { node: n, location: o } = Re(e.flows) ? t(e.flows, r.source.absoluteRef) : { node: e.flows, location: r }, i = (o ?? r).source.absoluteRef, a = Object.values(n ?? {}).flatMap((c) => {
|
|
13977
13979
|
const p = Re(c) ? t(c, i).node : c;
|
|
@@ -14013,7 +14015,7 @@ const xs = (e) => {
|
|
|
14013
14015
|
SecurityScheme(n, { key: o, resolve: i, location: a }) {
|
|
14014
14016
|
t.set(o.toString(), {
|
|
14015
14017
|
type: n.type,
|
|
14016
|
-
definedScopes: n.type === "oauth2" ?
|
|
14018
|
+
definedScopes: n.type === "oauth2" ? LE(n, i, a) : []
|
|
14017
14019
|
});
|
|
14018
14020
|
},
|
|
14019
14021
|
SecurityRequirement(n, { location: o }) {
|
|
@@ -14056,7 +14058,7 @@ const xs = (e) => {
|
|
|
14056
14058
|
reference: "https://redocly.com/docs/cli/rules/oas/tags-alphabetical"
|
|
14057
14059
|
});
|
|
14058
14060
|
}
|
|
14059
|
-
}),
|
|
14061
|
+
}), UE = () => ({
|
|
14060
14062
|
Channel(e, { report: t, key: r }) {
|
|
14061
14063
|
r.split(/[/.:]/).filter((o) => o !== "").every((o) => /^{.+}$/.test(o) || /^[a-z0-9-.]+$/.test(o)) || t({
|
|
14062
14064
|
message: `\`${r}\` does not use kebab-case.`,
|
|
@@ -14064,7 +14066,7 @@ const xs = (e) => {
|
|
|
14064
14066
|
reference: "https://redocly.com/docs/cli/rules/async/channels-kebab-case"
|
|
14065
14067
|
});
|
|
14066
14068
|
}
|
|
14067
|
-
}),
|
|
14069
|
+
}), FE = () => ({
|
|
14068
14070
|
Channel(e, { report: t, key: r, location: n }) {
|
|
14069
14071
|
r.endsWith("/") && r !== "/" && t({
|
|
14070
14072
|
message: `\`${r}\` should not have a trailing slash.`,
|
|
@@ -14072,7 +14074,7 @@ const xs = (e) => {
|
|
|
14072
14074
|
reference: "https://redocly.com/docs/cli/rules/async/no-channel-trailing-slash"
|
|
14073
14075
|
});
|
|
14074
14076
|
}
|
|
14075
|
-
}), Nc = "https://redocly.com/docs/cli/rules/async/security-defined",
|
|
14077
|
+
}), Nc = "https://redocly.com/docs/cli/rules/async/security-defined", zE = () => {
|
|
14076
14078
|
const e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map(), r = [];
|
|
14077
14079
|
let n, o = !1;
|
|
14078
14080
|
return {
|
|
@@ -14129,16 +14131,16 @@ const xs = (e) => {
|
|
|
14129
14131
|
}
|
|
14130
14132
|
}
|
|
14131
14133
|
};
|
|
14132
|
-
},
|
|
14133
|
-
struct:
|
|
14134
|
-
"no-unresolved-refs":
|
|
14134
|
+
}, BE = {
|
|
14135
|
+
struct: Rt,
|
|
14136
|
+
"no-unresolved-refs": At,
|
|
14135
14137
|
assertions: jt,
|
|
14136
14138
|
"info-contact": Zt,
|
|
14137
14139
|
"info-license-strict": jo,
|
|
14138
14140
|
"operation-operationId": No,
|
|
14139
|
-
"security-defined":
|
|
14140
|
-
"channels-kebab-case":
|
|
14141
|
-
"no-channel-trailing-slash":
|
|
14141
|
+
"security-defined": zE,
|
|
14142
|
+
"channels-kebab-case": UE,
|
|
14143
|
+
"no-channel-trailing-slash": FE,
|
|
14142
14144
|
"tag-description": Uo,
|
|
14143
14145
|
"tags-alphabetical": Fo,
|
|
14144
14146
|
"no-duplicated-enum-values": $r,
|
|
@@ -14150,7 +14152,7 @@ const xs = (e) => {
|
|
|
14150
14152
|
"no-schema-type-mismatch": _r,
|
|
14151
14153
|
"security-scopes-defined": xs,
|
|
14152
14154
|
"spec-ref-siblings": Lo
|
|
14153
|
-
},
|
|
14155
|
+
}, VE = {}, HE = () => ({
|
|
14154
14156
|
Channel(e, { report: t }) {
|
|
14155
14157
|
(e.address || "").split(/[/.:]/).filter((n) => n !== "").every((n) => /^{.+}$/.test(n) || /^[a-z0-9-.]+$/.test(n)) || t({
|
|
14156
14158
|
message: `\`${e.address}\` does not use kebab-case.`,
|
|
@@ -14158,7 +14160,7 @@ const xs = (e) => {
|
|
|
14158
14160
|
reference: "https://redocly.com/docs/cli/rules/async/channels-kebab-case"
|
|
14159
14161
|
});
|
|
14160
14162
|
}
|
|
14161
|
-
}),
|
|
14163
|
+
}), KE = () => ({
|
|
14162
14164
|
Channel(e, { report: t, location: r }) {
|
|
14163
14165
|
e?.address?.endsWith("/") && e?.address !== "/" && t({
|
|
14164
14166
|
message: `\`${e.address}\` should not have a trailing slash.`,
|
|
@@ -14166,18 +14168,18 @@ const xs = (e) => {
|
|
|
14166
14168
|
reference: "https://redocly.com/docs/cli/rules/async/no-channel-trailing-slash"
|
|
14167
14169
|
});
|
|
14168
14170
|
}
|
|
14169
|
-
}), Lc = "#/components/securitySchemes/",
|
|
14170
|
-
function
|
|
14171
|
+
}), Lc = "#/components/securitySchemes/", WE = "#/components/", ii = "https://redocly.com/docs/cli/rules/async/security-defined";
|
|
14172
|
+
function QE(e) {
|
|
14171
14173
|
const t = e.indexOf("#");
|
|
14172
14174
|
return t === -1 ? e : e.slice(t);
|
|
14173
14175
|
}
|
|
14174
|
-
function
|
|
14176
|
+
function GE(e) {
|
|
14175
14177
|
if (!e.startsWith(Lc))
|
|
14176
14178
|
return !1;
|
|
14177
14179
|
const t = e.slice(Lc.length);
|
|
14178
14180
|
return t !== "" && !t.includes("/");
|
|
14179
14181
|
}
|
|
14180
|
-
const
|
|
14182
|
+
const YE = () => {
|
|
14181
14183
|
const e = [];
|
|
14182
14184
|
let t, r, n, o, i;
|
|
14183
14185
|
const a = (c, p, u) => {
|
|
@@ -14206,7 +14208,7 @@ const QE = () => {
|
|
|
14206
14208
|
},
|
|
14207
14209
|
leave(c, { report: p, resolve: u }) {
|
|
14208
14210
|
for (const f of e) {
|
|
14209
|
-
if ((f.local || f.refPointer.startsWith(
|
|
14211
|
+
if ((f.local || f.refPointer.startsWith(WE)) && !GE(f.refPointer)) {
|
|
14210
14212
|
p({
|
|
14211
14213
|
message: "Security scheme `$ref` must point to `#/components/securitySchemes`.",
|
|
14212
14214
|
location: f.location.key(),
|
|
@@ -14245,7 +14247,7 @@ const QE = () => {
|
|
|
14245
14247
|
const m = c[f];
|
|
14246
14248
|
if (!Re(m))
|
|
14247
14249
|
continue;
|
|
14248
|
-
const y = p.child([f]), h = u(m), $ =
|
|
14250
|
+
const y = p.child([f]), h = u(m), $ = QE(m.$ref), w = $.split("/").pop() ?? m.$ref;
|
|
14249
14251
|
e.push({
|
|
14250
14252
|
location: y,
|
|
14251
14253
|
name: w,
|
|
@@ -14258,7 +14260,7 @@ const QE = () => {
|
|
|
14258
14260
|
}
|
|
14259
14261
|
};
|
|
14260
14262
|
};
|
|
14261
|
-
function
|
|
14263
|
+
function JE(e, t, r) {
|
|
14262
14264
|
if (!e.flows)
|
|
14263
14265
|
return [];
|
|
14264
14266
|
const { node: n, location: o } = Re(e.flows) ? t(e.flows, r.source.absoluteRef) : { node: e.flows, location: r }, i = (o ?? r).source.absoluteRef, a = Object.values(n ?? {}).flatMap((c) => {
|
|
@@ -14267,7 +14269,7 @@ function GE(e, t, r) {
|
|
|
14267
14269
|
});
|
|
14268
14270
|
return [...new Set(a)];
|
|
14269
14271
|
}
|
|
14270
|
-
const
|
|
14272
|
+
const XE = (e) => {
|
|
14271
14273
|
const t = /* @__PURE__ */ new Map();
|
|
14272
14274
|
return {
|
|
14273
14275
|
SecuritySchemeList(r, { resolve: n, location: o }) {
|
|
@@ -14276,7 +14278,7 @@ const YE = (e) => {
|
|
|
14276
14278
|
!c.node || !c.location || t.set(c.location.absolutePointer, {
|
|
14277
14279
|
scheme: c.node,
|
|
14278
14280
|
location: c.location,
|
|
14279
|
-
availableScopes: c.node.type === "oauth2" ?
|
|
14281
|
+
availableScopes: c.node.type === "oauth2" ? JE(c.node, n, c.location) : []
|
|
14280
14282
|
});
|
|
14281
14283
|
}
|
|
14282
14284
|
},
|
|
@@ -14307,16 +14309,16 @@ const YE = (e) => {
|
|
|
14307
14309
|
}
|
|
14308
14310
|
}
|
|
14309
14311
|
};
|
|
14310
|
-
},
|
|
14311
|
-
struct:
|
|
14312
|
-
"no-unresolved-refs":
|
|
14312
|
+
}, ZE = {
|
|
14313
|
+
struct: Rt,
|
|
14314
|
+
"no-unresolved-refs": At,
|
|
14313
14315
|
assertions: jt,
|
|
14314
14316
|
"info-contact": Zt,
|
|
14315
14317
|
"info-license-strict": jo,
|
|
14316
14318
|
"operation-operationId": No,
|
|
14317
|
-
"security-defined":
|
|
14318
|
-
"channels-kebab-case":
|
|
14319
|
-
"no-channel-trailing-slash":
|
|
14319
|
+
"security-defined": YE,
|
|
14320
|
+
"channels-kebab-case": HE,
|
|
14321
|
+
"no-channel-trailing-slash": KE,
|
|
14320
14322
|
"tag-description": Uo,
|
|
14321
14323
|
"tags-alphabetical": Fo,
|
|
14322
14324
|
"no-duplicated-enum-values": $r,
|
|
@@ -14326,9 +14328,9 @@ const YE = (e) => {
|
|
|
14326
14328
|
"no-enum-type-mismatch": Ar,
|
|
14327
14329
|
"no-mixed-number-range-constraints": Mo,
|
|
14328
14330
|
"no-schema-type-mismatch": _r,
|
|
14329
|
-
"security-scopes-defined":
|
|
14331
|
+
"security-scopes-defined": XE,
|
|
14330
14332
|
"spec-ref-siblings": Lo
|
|
14331
|
-
},
|
|
14333
|
+
}, e$ = {};
|
|
14332
14334
|
function Tu(e) {
|
|
14333
14335
|
return Hp(Ct).filter((t) => e.assertions[t] !== void 0).map((t) => ({
|
|
14334
14336
|
name: t,
|
|
@@ -14337,7 +14339,7 @@ function Tu(e) {
|
|
|
14337
14339
|
runsOnValues: au.has(t)
|
|
14338
14340
|
}));
|
|
14339
14341
|
}
|
|
14340
|
-
const
|
|
14342
|
+
const t$ = (e) => {
|
|
14341
14343
|
const t = Object.values(e).filter(ne), r = [];
|
|
14342
14344
|
for (const n of t) {
|
|
14343
14345
|
if (n.severity === "off")
|
|
@@ -14347,16 +14349,16 @@ const ZE = (e) => {
|
|
|
14347
14349
|
continue;
|
|
14348
14350
|
if (!ne(n.assertions))
|
|
14349
14351
|
throw new Error(`${n.assertionId}: 'assertions' (Object) is required`);
|
|
14350
|
-
const i = Tu(n), a =
|
|
14352
|
+
const i = Tu(n), a = r$(n);
|
|
14351
14353
|
r.push({
|
|
14352
14354
|
[o]: (c, p) => {
|
|
14353
|
-
|
|
14355
|
+
n$(c, p, a) && o$(c, p, n, i);
|
|
14354
14356
|
}
|
|
14355
14357
|
});
|
|
14356
14358
|
}
|
|
14357
14359
|
return r;
|
|
14358
14360
|
};
|
|
14359
|
-
function
|
|
14361
|
+
function r$(e) {
|
|
14360
14362
|
return Array.isArray(e.where) ? e.where.map((t, r) => {
|
|
14361
14363
|
if (!Ke(t.subject?.type))
|
|
14362
14364
|
throw new Error(`${e.assertionId} -> where -> [${r}]: 'type' (String) is required`);
|
|
@@ -14369,7 +14371,7 @@ function e$(e) {
|
|
|
14369
14371
|
};
|
|
14370
14372
|
}) : [];
|
|
14371
14373
|
}
|
|
14372
|
-
function
|
|
14374
|
+
function n$(e, t, r) {
|
|
14373
14375
|
let n = r;
|
|
14374
14376
|
const o = r.at(-1);
|
|
14375
14377
|
if (o && o.kind === e.kind) {
|
|
@@ -14393,14 +14395,14 @@ function t$(e, t, r) {
|
|
|
14393
14395
|
return !0;
|
|
14394
14396
|
}
|
|
14395
14397
|
function Uc(e, t, r) {
|
|
14396
|
-
const { value: n } = Ou(e, t.definition.subject.property), o = new
|
|
14398
|
+
const { value: n } = Ou(e, t.definition.subject.property), o = new St(r.source, "#/");
|
|
14397
14399
|
return t.assertsToApply.every((i) => Ct[i.name](n, i.conditions, {
|
|
14398
14400
|
baseLocation: o,
|
|
14399
14401
|
rawValue: n
|
|
14400
14402
|
}).length === 0);
|
|
14401
14403
|
}
|
|
14402
|
-
function
|
|
14403
|
-
const o = ku(r.subject.property), { value: i, locNode: a } = Ou(e, r.subject.property), c = new
|
|
14404
|
+
function o$(e, t, r, n) {
|
|
14405
|
+
const o = ku(r.subject.property), { value: i, locNode: a } = Ou(e, r.subject.property), c = new St(t.source, "#/"), p = n.flatMap((f) => Ct[f.name](i, f.conditions, {
|
|
14404
14406
|
baseLocation: c,
|
|
14405
14407
|
rawValue: i
|
|
14406
14408
|
}));
|
|
@@ -14434,25 +14436,25 @@ function Ou(e, t) {
|
|
|
14434
14436
|
if (Array.isArray(n))
|
|
14435
14437
|
return { value: n.map((i) => si(i).value), locNode: e };
|
|
14436
14438
|
const o = si(n);
|
|
14437
|
-
return { value: o.value, locNode:
|
|
14439
|
+
return { value: o.value, locNode: i$(o.locNode) ? o.locNode : e };
|
|
14438
14440
|
}
|
|
14439
|
-
function
|
|
14441
|
+
function i$(e) {
|
|
14440
14442
|
return ne(e) && "kind" in e;
|
|
14441
14443
|
}
|
|
14442
14444
|
function ku(e) {
|
|
14443
14445
|
return Array.isArray(e) ? e[0] : e;
|
|
14444
14446
|
}
|
|
14445
|
-
const
|
|
14446
|
-
function
|
|
14447
|
+
const s$ = ["Query", "Mutation", "Subscription"];
|
|
14448
|
+
function a$(e) {
|
|
14447
14449
|
let t = e;
|
|
14448
14450
|
for (; t.kind === "ListType" || t.kind === "NonNullType"; )
|
|
14449
14451
|
t = t.type;
|
|
14450
14452
|
return t.name.value;
|
|
14451
14453
|
}
|
|
14452
|
-
const
|
|
14454
|
+
const c$ = () => {
|
|
14453
14455
|
const e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set();
|
|
14454
14456
|
let n = !1;
|
|
14455
|
-
const o = (f) => t.add(
|
|
14457
|
+
const o = (f) => t.add(a$(f)), i = (f) => e.set(f.name.value, f.name), a = (f) => {
|
|
14456
14458
|
for (const m of f.interfaces ?? [])
|
|
14457
14459
|
o(m);
|
|
14458
14460
|
for (const m of f.fields ?? []) {
|
|
@@ -14500,7 +14502,7 @@ const s$ = () => {
|
|
|
14500
14502
|
Document: {
|
|
14501
14503
|
leave: (f, m) => {
|
|
14502
14504
|
if (!n)
|
|
14503
|
-
for (const y of
|
|
14505
|
+
for (const y of s$)
|
|
14504
14506
|
e.has(y) && r.add(y);
|
|
14505
14507
|
if (r.size !== 0)
|
|
14506
14508
|
for (const [y, h] of e)
|
|
@@ -14511,14 +14513,14 @@ const s$ = () => {
|
|
|
14511
14513
|
}
|
|
14512
14514
|
}
|
|
14513
14515
|
};
|
|
14514
|
-
},
|
|
14516
|
+
}, p$ = () => ({
|
|
14515
14517
|
Document: {
|
|
14516
14518
|
enter: (e, t) => {
|
|
14517
14519
|
let r;
|
|
14518
14520
|
try {
|
|
14519
14521
|
r = Ed(e, { assumeValidSDL: !1 });
|
|
14520
14522
|
} catch (n) {
|
|
14521
|
-
|
|
14523
|
+
l$(n, t);
|
|
14522
14524
|
return;
|
|
14523
14525
|
}
|
|
14524
14526
|
for (const n of $d(r))
|
|
@@ -14526,7 +14528,7 @@ const s$ = () => {
|
|
|
14526
14528
|
}
|
|
14527
14529
|
}
|
|
14528
14530
|
});
|
|
14529
|
-
function
|
|
14531
|
+
function l$(e, t) {
|
|
14530
14532
|
if (e instanceof Ad)
|
|
14531
14533
|
Iu(e, t);
|
|
14532
14534
|
else if (e instanceof Error)
|
|
@@ -14542,7 +14544,7 @@ function Iu(e, t) {
|
|
|
14542
14544
|
loc: r ? { start: { line: r.line, col: r.column } } : void 0
|
|
14543
14545
|
});
|
|
14544
14546
|
}
|
|
14545
|
-
const
|
|
14547
|
+
const u$ = () => {
|
|
14546
14548
|
const e = (t, r) => {
|
|
14547
14549
|
(!t.description || t.description.value.trim() === "") && r.report({
|
|
14548
14550
|
message: `Type \`${t.name.value}\` should have a non-empty description.`,
|
|
@@ -14557,11 +14559,11 @@ const p$ = () => {
|
|
|
14557
14559
|
UnionTypeDefinition: e,
|
|
14558
14560
|
ScalarTypeDefinition: e
|
|
14559
14561
|
};
|
|
14560
|
-
},
|
|
14561
|
-
struct:
|
|
14562
|
-
assertions:
|
|
14563
|
-
"no-unused-types":
|
|
14564
|
-
"type-description":
|
|
14562
|
+
}, d$ = {
|
|
14563
|
+
struct: p$,
|
|
14564
|
+
assertions: t$,
|
|
14565
|
+
"no-unused-types": c$,
|
|
14566
|
+
"type-description": u$
|
|
14565
14567
|
}, Ss = () => ({
|
|
14566
14568
|
Info(e, { report: t }) {
|
|
14567
14569
|
e.license || t({
|
|
@@ -14574,7 +14576,7 @@ const p$ = () => {
|
|
|
14574
14576
|
Paths(e, { report: t, location: r }) {
|
|
14575
14577
|
const n = [];
|
|
14576
14578
|
for (const o of Object.keys(e)) {
|
|
14577
|
-
const i = n.find((a) =>
|
|
14579
|
+
const i = n.find((a) => f$(a, o));
|
|
14578
14580
|
i && t({
|
|
14579
14581
|
message: `Paths should resolve unambiguously. Found two ambiguous paths: \`${i}\` and \`${o}\`.`,
|
|
14580
14582
|
location: r.child([o]).key(),
|
|
@@ -14583,7 +14585,7 @@ const p$ = () => {
|
|
|
14583
14585
|
}
|
|
14584
14586
|
}
|
|
14585
14587
|
});
|
|
14586
|
-
function
|
|
14588
|
+
function f$(e, t) {
|
|
14587
14589
|
const r = e.split("/"), n = t.split("/");
|
|
14588
14590
|
if (r.length !== n.length)
|
|
14589
14591
|
return !1;
|
|
@@ -14600,11 +14602,11 @@ function u$(e, t) {
|
|
|
14600
14602
|
function Cu(e) {
|
|
14601
14603
|
return e.startsWith("{") && e.endsWith("}");
|
|
14602
14604
|
}
|
|
14603
|
-
function
|
|
14605
|
+
function m$(e) {
|
|
14604
14606
|
const t = e.split(/(?:[-._])|([A-Z][a-z]+)/).filter(tt).map((n) => n.toLocaleLowerCase()), r = e.split(/([A-Z]{2,})/).filter((n) => n && n === n.toUpperCase()).map((n) => n.toLocaleLowerCase());
|
|
14605
14607
|
return /* @__PURE__ */ new Set([...t, ...r]);
|
|
14606
14608
|
}
|
|
14607
|
-
const
|
|
14609
|
+
const h$ = ["get", "head", "post", "put", "patch", "delete", "options", "trace"], Mu = ({ splitIntoWords: e, excludedPaths: t }) => ({
|
|
14608
14610
|
PathItem(r, { key: n, report: o, location: i }) {
|
|
14609
14611
|
const a = n.toString();
|
|
14610
14612
|
if (!a.startsWith("/") || t?.some((p) => a === p))
|
|
@@ -14613,8 +14615,8 @@ const f$ = ["get", "head", "post", "put", "patch", "delete", "options", "trace"]
|
|
|
14613
14615
|
for (const p of c) {
|
|
14614
14616
|
if (!p || Cu(p))
|
|
14615
14617
|
continue;
|
|
14616
|
-
const u = (f) => e ?
|
|
14617
|
-
for (const f of
|
|
14618
|
+
const u = (f) => e ? m$(p).has(f) : p.toLocaleLowerCase().includes(f);
|
|
14619
|
+
for (const f of h$)
|
|
14618
14620
|
u(f) && o({
|
|
14619
14621
|
message: `path \`${a}\` should not contain http verb ${f}`,
|
|
14620
14622
|
location: i.key(),
|
|
@@ -14786,9 +14788,9 @@ const f$ = ["get", "head", "post", "put", "patch", "delete", "options", "trace"]
|
|
|
14786
14788
|
}), e.add(t.operationId));
|
|
14787
14789
|
}
|
|
14788
14790
|
};
|
|
14789
|
-
},
|
|
14791
|
+
}, y$ = /^[A-Za-z0-9-._~:/?#\[\]@!\$&'()*+,;=]*$/, Vu = () => ({
|
|
14790
14792
|
Operation(e, { report: t, location: r }) {
|
|
14791
|
-
e.operationId && !
|
|
14793
|
+
e.operationId && !y$.test(e.operationId) && t({
|
|
14792
14794
|
message: "Operation `operationId` should not have URL invalid characters.",
|
|
14793
14795
|
location: r.child(["operationId"]),
|
|
14794
14796
|
reference: "https://redocly.com/docs/cli/rules/oas/operation-operationId-url-safe"
|
|
@@ -14884,8 +14886,8 @@ Repeats of \`in:${r.in}\` + \`name:${r.name}\`.`,
|
|
|
14884
14886
|
reference: "https://redocly.com/docs/cli/rules/oas/path-declaration-must-exist"
|
|
14885
14887
|
});
|
|
14886
14888
|
}
|
|
14887
|
-
}),
|
|
14888
|
-
const t = e && e.order ||
|
|
14889
|
+
}), g$ = ["get", "head", "post", "put", "patch", "delete", "options", "query", "trace"], Ju = (e) => {
|
|
14890
|
+
const t = e && e.order || g$;
|
|
14889
14891
|
if (!Array.isArray(t))
|
|
14890
14892
|
throw new Error("path-http-verbs-order `order` option must be an array");
|
|
14891
14893
|
return {
|
|
@@ -14911,7 +14913,7 @@ Repeats of \`in:${r.in}\` + \`name:${r.name}\`.`,
|
|
|
14911
14913
|
});
|
|
14912
14914
|
}
|
|
14913
14915
|
}
|
|
14914
|
-
}),
|
|
14916
|
+
}), b$ = /\{([a-zA-Z0-9_.-]+)\}+/g, v$ = 2, mo = () => {
|
|
14915
14917
|
const e = { current: null };
|
|
14916
14918
|
return {
|
|
14917
14919
|
PathItem: {
|
|
@@ -14919,7 +14921,7 @@ Repeats of \`in:${r.in}\` + \`name:${r.name}\`.`,
|
|
|
14919
14921
|
Zu(e, n);
|
|
14920
14922
|
},
|
|
14921
14923
|
leave() {
|
|
14922
|
-
|
|
14924
|
+
w$(e);
|
|
14923
14925
|
},
|
|
14924
14926
|
Parameter(r, { report: n, location: o, rawLocation: i }) {
|
|
14925
14927
|
ed({ parameter: r, pathContext: e, report: n, location: o, rawLocation: i });
|
|
@@ -14930,10 +14932,10 @@ Repeats of \`in:${r.in}\` + \`name:${r.name}\`.`,
|
|
|
14930
14932
|
}, Zu = (e, t) => {
|
|
14931
14933
|
e.current = {
|
|
14932
14934
|
path: t,
|
|
14933
|
-
templateParams:
|
|
14935
|
+
templateParams: x$(t),
|
|
14934
14936
|
definedParams: /* @__PURE__ */ new Set()
|
|
14935
14937
|
};
|
|
14936
|
-
},
|
|
14938
|
+
}, w$ = (e) => {
|
|
14937
14939
|
e.current = null;
|
|
14938
14940
|
}, ed = ({ parameter: e, pathContext: t, report: r, location: n, rawLocation: o }) => {
|
|
14939
14941
|
e.in === "path" && e.name && t.current && (t.current.definedParams.add(e.name), rd({
|
|
@@ -14952,7 +14954,7 @@ Repeats of \`in:${r.in}\` + \`name:${r.name}\`.`,
|
|
|
14952
14954
|
reference: "https://redocly.com/docs/cli/rules/oas/path-parameters-defined"
|
|
14953
14955
|
});
|
|
14954
14956
|
};
|
|
14955
|
-
if (r >=
|
|
14957
|
+
if (r >= v$)
|
|
14956
14958
|
return {
|
|
14957
14959
|
enter: () => {
|
|
14958
14960
|
},
|
|
@@ -14985,7 +14987,7 @@ Repeats of \`in:${r.in}\` + \`name:${r.name}\`.`,
|
|
|
14985
14987
|
t = /* @__PURE__ */ new Set();
|
|
14986
14988
|
},
|
|
14987
14989
|
leave(i, { report: a, location: c }) {
|
|
14988
|
-
!e.current || !t ||
|
|
14990
|
+
!e.current || !t || P$({
|
|
14989
14991
|
templateParams: e.current.templateParams,
|
|
14990
14992
|
definedOperationParams: t,
|
|
14991
14993
|
definedPathParams: e.current.definedParams,
|
|
@@ -14995,7 +14997,7 @@ Repeats of \`in:${r.in}\` + \`name:${r.name}\`.`,
|
|
|
14995
14997
|
});
|
|
14996
14998
|
},
|
|
14997
14999
|
Parameter(i, { report: a, location: c, rawLocation: p }) {
|
|
14998
|
-
|
|
15000
|
+
S$(i, t), i.in === "path" && i.name && e.current && (t.add(i.name), rd({
|
|
14999
15001
|
paramName: i.name,
|
|
15000
15002
|
templateParams: e.current.templateParams,
|
|
15001
15003
|
path: e.current.path,
|
|
@@ -15010,7 +15012,7 @@ Repeats of \`in:${r.in}\` + \`name:${r.name}\`.`,
|
|
|
15010
15012
|
}
|
|
15011
15013
|
}
|
|
15012
15014
|
};
|
|
15013
|
-
},
|
|
15015
|
+
}, x$ = (e) => new Set(Array.from(e.matchAll(b$)).map((t) => t[1])), S$ = (e, t) => {
|
|
15014
15016
|
ne(e) && "in" in e && "name" in e && e.in === "path" && e.name && t.add(e.name);
|
|
15015
15017
|
}, rd = ({ paramName: e, templateParams: t, path: r, report: n, location: o, rawLocation: i }) => {
|
|
15016
15018
|
if (!t.has(e)) {
|
|
@@ -15022,7 +15024,7 @@ Repeats of \`in:${r.in}\` + \`name:${r.name}\`.`,
|
|
|
15022
15024
|
reference: "https://redocly.com/docs/cli/rules/oas/path-parameters-defined"
|
|
15023
15025
|
});
|
|
15024
15026
|
}
|
|
15025
|
-
},
|
|
15027
|
+
}, P$ = ({ templateParams: e, definedOperationParams: t, definedPathParams: r, path: n, report: o, location: i }) => {
|
|
15026
15028
|
const a = /* @__PURE__ */ new Set([...t, ...r]);
|
|
15027
15029
|
for (const c of e)
|
|
15028
15030
|
a.has(c) || o({
|
|
@@ -15109,7 +15111,7 @@ const sd = (e) => {
|
|
|
15109
15111
|
SchemaProperties(e, { report: t, location: r, specVersion: n, resolve: o }) {
|
|
15110
15112
|
for (const i of Object.keys(e)) {
|
|
15111
15113
|
const a = o(Je(e, i)).node;
|
|
15112
|
-
!a || !
|
|
15114
|
+
!a || !E$(a) || a.example === void 0 && a.examples === void 0 && t({
|
|
15113
15115
|
message: `Scalar property should have "example"${n === "oas3_1" || n === "oas3_2" ? ' or "examples"' : ""} defined.`,
|
|
15114
15116
|
location: r.child(i).key(),
|
|
15115
15117
|
reference: "https://redocly.com/docs/cli/rules/oas/scalar-property-missing-example"
|
|
@@ -15117,7 +15119,7 @@ const sd = (e) => {
|
|
|
15117
15119
|
}
|
|
15118
15120
|
}
|
|
15119
15121
|
});
|
|
15120
|
-
function
|
|
15122
|
+
function E$(e) {
|
|
15121
15123
|
return !e.type || e.allOf || e.anyOf || e.oneOf || e.format === "binary" ? !1 : Array.isArray(e.type) ? e.type.every((t) => Fc.includes(t)) : Fc.includes(e.type);
|
|
15122
15124
|
}
|
|
15123
15125
|
const cd = (e) => {
|
|
@@ -15184,7 +15186,7 @@ const cd = (e) => {
|
|
|
15184
15186
|
});
|
|
15185
15187
|
}
|
|
15186
15188
|
};
|
|
15187
|
-
},
|
|
15189
|
+
}, $$ = (e) => {
|
|
15188
15190
|
const t = e.prefixes || ["is", "has"], r = new RegExp(`^(${t.join("|")})[A-Z-_]`), n = t.map((i) => `\`${i}\``), o = n.length === 1 ? n[0] : n.slice(0, -1).join(", ") + " or " + n[t.length - 1];
|
|
15189
15191
|
return {
|
|
15190
15192
|
Parameter(i, { report: a, location: c }) {
|
|
@@ -15220,7 +15222,7 @@ function Wt({ type: e, value: t, ctx: r, allowedValues: n, reference: o }) {
|
|
|
15220
15222
|
reference: o
|
|
15221
15223
|
});
|
|
15222
15224
|
}
|
|
15223
|
-
const
|
|
15225
|
+
const A$ = ({ allowedValues: e }) => ({
|
|
15224
15226
|
Root(t, r) {
|
|
15225
15227
|
ho({
|
|
15226
15228
|
type: "consumes",
|
|
@@ -15241,7 +15243,7 @@ const E$ = ({ allowedValues: e }) => ({
|
|
|
15241
15243
|
});
|
|
15242
15244
|
}
|
|
15243
15245
|
}
|
|
15244
|
-
}),
|
|
15246
|
+
}), R$ = (e) => {
|
|
15245
15247
|
const t = e.names || {};
|
|
15246
15248
|
let r;
|
|
15247
15249
|
return {
|
|
@@ -15265,7 +15267,7 @@ const E$ = ({ allowedValues: e }) => ({
|
|
|
15265
15267
|
}
|
|
15266
15268
|
}
|
|
15267
15269
|
};
|
|
15268
|
-
},
|
|
15270
|
+
}, _$ = ({ allowedValues: e }) => ({
|
|
15269
15271
|
Root(t, r) {
|
|
15270
15272
|
ho({
|
|
15271
15273
|
type: "produces",
|
|
@@ -15286,8 +15288,8 @@ const E$ = ({ allowedValues: e }) => ({
|
|
|
15286
15288
|
});
|
|
15287
15289
|
}
|
|
15288
15290
|
}
|
|
15289
|
-
}),
|
|
15290
|
-
struct:
|
|
15291
|
+
}), T$ = {
|
|
15292
|
+
struct: Rt,
|
|
15291
15293
|
"no-invalid-schema-examples": Nu,
|
|
15292
15294
|
"no-invalid-parameter-examples": Du,
|
|
15293
15295
|
"info-contact": Zt,
|
|
@@ -15297,7 +15299,7 @@ const E$ = ({ allowedValues: e }) => ({
|
|
|
15297
15299
|
"tags-alphabetical": Fo,
|
|
15298
15300
|
"paths-kebab-case": od,
|
|
15299
15301
|
"no-enum-type-mismatch": Ar,
|
|
15300
|
-
"boolean-parameter-prefixes":
|
|
15302
|
+
"boolean-parameter-prefixes": $$,
|
|
15301
15303
|
"no-path-trailing-slash": Lu,
|
|
15302
15304
|
"operation-2xx-response": Uu,
|
|
15303
15305
|
"operation-4xx-response": Fu,
|
|
@@ -15317,16 +15319,16 @@ const E$ = ({ allowedValues: e }) => ({
|
|
|
15317
15319
|
"operation-singular-tag": Ku,
|
|
15318
15320
|
"security-defined": cd,
|
|
15319
15321
|
"security-scopes-defined": xs,
|
|
15320
|
-
"no-unresolved-refs":
|
|
15322
|
+
"no-unresolved-refs": At,
|
|
15321
15323
|
"no-identical-paths": ju,
|
|
15322
15324
|
"no-ambiguous-paths": qu,
|
|
15323
15325
|
"path-http-verbs-order": Ju,
|
|
15324
15326
|
"no-http-verbs-in-paths": Mu,
|
|
15325
|
-
"request-mime-type":
|
|
15326
|
-
"response-mime-type":
|
|
15327
|
+
"request-mime-type": A$,
|
|
15328
|
+
"response-mime-type": _$,
|
|
15327
15329
|
"path-segment-plural": nd,
|
|
15328
15330
|
"response-contains-header": sd,
|
|
15329
|
-
"response-contains-property":
|
|
15331
|
+
"response-contains-property": R$,
|
|
15330
15332
|
"scalar-property-missing-example": ad,
|
|
15331
15333
|
"required-string-property-missing-min-length": id,
|
|
15332
15334
|
"spec-strict-refs": pd,
|
|
@@ -15336,13 +15338,13 @@ const E$ = ({ allowedValues: e }) => ({
|
|
|
15336
15338
|
"no-duplicated-enum-values": $r,
|
|
15337
15339
|
"no-unsafe-markdown": Tr,
|
|
15338
15340
|
"no-duplicated-tag-names": Do
|
|
15339
|
-
},
|
|
15341
|
+
}, O$ = {}, k$ = (e) => ({
|
|
15340
15342
|
Parameter: {
|
|
15341
15343
|
leave(t, r) {
|
|
15342
15344
|
if (!t.schema)
|
|
15343
15345
|
return;
|
|
15344
15346
|
const n = Re(t.schema) ? r.resolve(t.schema).node : t.schema;
|
|
15345
|
-
n &&
|
|
15347
|
+
n && I$(t, n, e) && r.report({
|
|
15346
15348
|
message: `Parameter \`${t.name}\` should have \`style\` and \`explode \` fields`,
|
|
15347
15349
|
location: r.location,
|
|
15348
15350
|
reference: "https://redocly.com/docs/cli/rules/oas/array-parameter-serialization"
|
|
@@ -15350,10 +15352,10 @@ const E$ = ({ allowedValues: e }) => ({
|
|
|
15350
15352
|
}
|
|
15351
15353
|
}
|
|
15352
15354
|
});
|
|
15353
|
-
function
|
|
15355
|
+
function I$(e, t, r) {
|
|
15354
15356
|
return (t.type === "array" || t.items || t.prefixItems) && (e.style === void 0 || e.explode === void 0) && (!r.in || e.in && r.in?.includes(e.in));
|
|
15355
15357
|
}
|
|
15356
|
-
const
|
|
15358
|
+
const q$ = (e) => {
|
|
15357
15359
|
const t = e.prefixes || ["is", "has"], r = new RegExp(`^(${t.join("|")})[A-Z-_]`), n = t.map((i) => `\`${i}\``), o = n.length === 1 ? n[0] : n.slice(0, -1).join(", ") + " or " + n[t.length - 1];
|
|
15358
15360
|
return {
|
|
15359
15361
|
Parameter: {
|
|
@@ -15367,22 +15369,22 @@ const k$ = (e) => {
|
|
|
15367
15369
|
}
|
|
15368
15370
|
};
|
|
15369
15371
|
};
|
|
15370
|
-
function
|
|
15372
|
+
function C$(e) {
|
|
15371
15373
|
return e.trim().split(/\s+/).map((t) => t.replace(/^[a-z]/, (r) => r.toUpperCase())).join("");
|
|
15372
15374
|
}
|
|
15373
15375
|
function ld(e) {
|
|
15374
|
-
const t = ne(e) && Ke(e.title) ? e.title.trim() : "", r =
|
|
15376
|
+
const t = ne(e) && Ke(e.title) ? e.title.trim() : "", r = C$(t).replace(new RegExp(`[^${Nl}]`, "g"), "-");
|
|
15375
15377
|
return { title: t, name: r };
|
|
15376
15378
|
}
|
|
15377
15379
|
function lr(e) {
|
|
15378
15380
|
return e.chain?.[0] ?? { node: e.node, location: e.location };
|
|
15379
15381
|
}
|
|
15380
|
-
const zt = "Schema", Gi = "Parameter", Yi = "Response", Ji = "RequestBody",
|
|
15382
|
+
const zt = "Schema", Gi = "Parameter", Yi = "Response", Ji = "RequestBody", M$ = {
|
|
15381
15383
|
[zt]: "schemas",
|
|
15382
15384
|
[Gi]: "parameters",
|
|
15383
15385
|
[Yi]: "responses",
|
|
15384
15386
|
[Ji]: "requestBodies"
|
|
15385
|
-
},
|
|
15387
|
+
}, j$ = (e) => {
|
|
15386
15388
|
const t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), n = e.strategy === "title";
|
|
15387
15389
|
let o;
|
|
15388
15390
|
const i = [];
|
|
@@ -15416,7 +15418,7 @@ const zt = "Schema", Gi = "Parameter", Yi = "Response", Ji = "RequestBody", q$ =
|
|
|
15416
15418
|
leave(m, y) {
|
|
15417
15419
|
t.forEach((h, $, w) => {
|
|
15418
15420
|
if (h.size > 1) {
|
|
15419
|
-
const S =
|
|
15421
|
+
const S = L$($), E = D$(S.typeName), x = E ? e[E] : null;
|
|
15420
15422
|
for (const [v, _] of h) {
|
|
15421
15423
|
const g = Array.from(h.keys()).filter((C) => C !== v).map((C) => `- ${C}`).join(`
|
|
15422
15424
|
`), O = {
|
|
@@ -15466,7 +15468,7 @@ ${g}`,
|
|
|
15466
15468
|
return kd(y) ? y.slice(0, y.lastIndexOf(".")) : y;
|
|
15467
15469
|
}
|
|
15468
15470
|
function p(m, y, h, $ = h) {
|
|
15469
|
-
const w =
|
|
15471
|
+
const w = N$(m, y), S = t.get(w) ?? /* @__PURE__ */ new Map(), E = h.absolutePointer.toString();
|
|
15470
15472
|
S.has(E) || S.set(E, $), t.set(w, S);
|
|
15471
15473
|
}
|
|
15472
15474
|
function u(m, y) {
|
|
@@ -15477,17 +15479,17 @@ ${g}`,
|
|
|
15477
15479
|
return n && m === zt && (y.source.absoluteRef !== o || h.source.absoluteRef !== o);
|
|
15478
15480
|
}
|
|
15479
15481
|
};
|
|
15480
|
-
function
|
|
15481
|
-
return
|
|
15482
|
+
function D$(e) {
|
|
15483
|
+
return M$[e] ?? null;
|
|
15482
15484
|
}
|
|
15483
|
-
function
|
|
15485
|
+
function N$(e, t) {
|
|
15484
15486
|
return `${e}/${t}`;
|
|
15485
15487
|
}
|
|
15486
|
-
function
|
|
15488
|
+
function L$(e) {
|
|
15487
15489
|
const [t, r] = e.split("/");
|
|
15488
15490
|
return { typeName: t, componentName: r };
|
|
15489
15491
|
}
|
|
15490
|
-
const
|
|
15492
|
+
const U$ = () => ({
|
|
15491
15493
|
Root(e, { report: t, location: r }) {
|
|
15492
15494
|
if (!e.hasOwnProperty("servers")) {
|
|
15493
15495
|
t({
|
|
@@ -15503,7 +15505,7 @@ const N$ = () => ({
|
|
|
15503
15505
|
reference: "https://redocly.com/docs/cli/rules/oas/no-empty-servers"
|
|
15504
15506
|
});
|
|
15505
15507
|
}
|
|
15506
|
-
}),
|
|
15508
|
+
}), F$ = () => ({
|
|
15507
15509
|
Example(e, { report: t, location: r }) {
|
|
15508
15510
|
e.value && e.externalValue && t({
|
|
15509
15511
|
message: "Example object can have either `value` or `externalValue` fields.",
|
|
@@ -15511,7 +15513,7 @@ const N$ = () => ({
|
|
|
15511
15513
|
reference: "https://redocly.com/docs/cli/rules/oas/no-example-value-and-externalValue"
|
|
15512
15514
|
});
|
|
15513
15515
|
}
|
|
15514
|
-
}),
|
|
15516
|
+
}), z$ = /* @__PURE__ */ new Set([
|
|
15515
15517
|
"type",
|
|
15516
15518
|
"format",
|
|
15517
15519
|
"enum",
|
|
@@ -15536,10 +15538,10 @@ const N$ = () => ({
|
|
|
15536
15538
|
"writeOnly",
|
|
15537
15539
|
"externalDocs",
|
|
15538
15540
|
"xml"
|
|
15539
|
-
]),
|
|
15541
|
+
]), B$ = () => ({
|
|
15540
15542
|
AllOf(e, t) {
|
|
15541
15543
|
const r = t.parent;
|
|
15542
|
-
Array.isArray(e) && ((e.length === 0 || e.length === 1 && Object.keys(r).length === 1 && !
|
|
15544
|
+
Array.isArray(e) && ((e.length === 0 || e.length === 1 && Object.keys(r).length === 1 && !V$(e[0], t.resolve)) && ai(e, "allOf", t), ci(e, "allOf", t), pi(e, "allOf", t));
|
|
15543
15545
|
},
|
|
15544
15546
|
AnyOf(e, t) {
|
|
15545
15547
|
const r = t.parent;
|
|
@@ -15553,7 +15555,7 @@ const N$ = () => ({
|
|
|
15553
15555
|
if (!Array.isArray(e))
|
|
15554
15556
|
return;
|
|
15555
15557
|
const { discriminator: n } = r, o = ne(n);
|
|
15556
|
-
e.length < 2 && !o && ai(e, "oneOf", t), ci(e, "oneOf", t), pi(e, "oneOf", t), o && zc(e, "oneOf", t), go(r) &&
|
|
15558
|
+
e.length < 2 && !o && ai(e, "oneOf", t), ci(e, "oneOf", t), pi(e, "oneOf", t), o && zc(e, "oneOf", t), go(r) && H$(e, t), K$(e, o ? n : void 0, t);
|
|
15557
15559
|
}
|
|
15558
15560
|
});
|
|
15559
15561
|
function ai(e, t, r) {
|
|
@@ -15563,7 +15565,7 @@ function ai(e, t, r) {
|
|
|
15563
15565
|
location: r.location.key()
|
|
15564
15566
|
});
|
|
15565
15567
|
}
|
|
15566
|
-
function
|
|
15568
|
+
function V$(e, t) {
|
|
15567
15569
|
return ne(gr(e, t)?.schema.discriminator);
|
|
15568
15570
|
}
|
|
15569
15571
|
function ci(e, t, r) {
|
|
@@ -15582,14 +15584,14 @@ function zc(e, t, r) {
|
|
|
15582
15584
|
}
|
|
15583
15585
|
function pi(e, t, r) {
|
|
15584
15586
|
for (let n = 1; n < e.length; n++) {
|
|
15585
|
-
const o = e.findIndex((i) =>
|
|
15587
|
+
const o = e.findIndex((i) => $t(i, e[n]));
|
|
15586
15588
|
o < n && r.report({
|
|
15587
15589
|
message: `Schema in \`${t}\` duplicates the schema at position ${o + 1}.`,
|
|
15588
15590
|
location: r.location.child([n])
|
|
15589
15591
|
});
|
|
15590
15592
|
}
|
|
15591
15593
|
}
|
|
15592
|
-
function
|
|
15594
|
+
function H$(e, t) {
|
|
15593
15595
|
e.some((n) => {
|
|
15594
15596
|
const o = gr(n, t.resolve);
|
|
15595
15597
|
return o ? go(o.schema) : !1;
|
|
@@ -15598,16 +15600,16 @@ function B$(e, t) {
|
|
|
15598
15600
|
location: t.location.key()
|
|
15599
15601
|
});
|
|
15600
15602
|
}
|
|
15601
|
-
function
|
|
15603
|
+
function K$(e, t, r) {
|
|
15602
15604
|
const { resolve: n, report: o, location: i } = r, a = r.specVersion !== "oas3_2", c = e.map((p) => gr(p, n));
|
|
15603
15605
|
for (let p = 0; p < c.length - 1; p++) {
|
|
15604
15606
|
const u = c[p];
|
|
15605
15607
|
if (u)
|
|
15606
15608
|
for (let f = p + 1; f < c.length; f++) {
|
|
15607
15609
|
const m = c[f];
|
|
15608
|
-
if (!m ||
|
|
15610
|
+
if (!m || $t(e[p], e[f]))
|
|
15609
15611
|
continue;
|
|
15610
|
-
const y =
|
|
15612
|
+
const y = W$(u, m, n, t, a);
|
|
15611
15613
|
y && o({
|
|
15612
15614
|
message: `Schemas in \`oneOf\` must be mutually exclusive. Found overlapping schemas: ${Bc(e[p], p)} and ${Bc(e[f], f)}. ${y}`,
|
|
15613
15615
|
location: i.key()
|
|
@@ -15618,7 +15620,7 @@ function V$(e, t, r) {
|
|
|
15618
15620
|
function Bc(e, t) {
|
|
15619
15621
|
return Re(e) ? `\`${e.$ref}\`` : e.title ? `\`${e.title}\`` : `schema at position ${t + 1}`;
|
|
15620
15622
|
}
|
|
15621
|
-
function
|
|
15623
|
+
function W$(e, t, r, n, o) {
|
|
15622
15624
|
const i = e.schema, a = t.schema;
|
|
15623
15625
|
if (yo(i) || yo(a) || ud(i, a))
|
|
15624
15626
|
return null;
|
|
@@ -15626,12 +15628,12 @@ function H$(e, t, r, n, o) {
|
|
|
15626
15628
|
return "Both schemas accept `null`.";
|
|
15627
15629
|
const c = vr(i), p = vr(a);
|
|
15628
15630
|
if (c && p) {
|
|
15629
|
-
const f = c.filter((m) => p.some((y) =>
|
|
15631
|
+
const f = c.filter((m) => p.some((y) => $t(m, y)));
|
|
15630
15632
|
return `Both schemas allow the values ${JSON.stringify(f)}.`;
|
|
15631
15633
|
}
|
|
15632
15634
|
if (n)
|
|
15633
|
-
return o ?
|
|
15634
|
-
const u =
|
|
15635
|
+
return o ? Q$(i, a, n) : null;
|
|
15636
|
+
const u = G$(e, t, r);
|
|
15635
15637
|
if (u)
|
|
15636
15638
|
return u;
|
|
15637
15639
|
if (!i.properties && !a.properties) {
|
|
@@ -15641,15 +15643,15 @@ function H$(e, t, r, n, o) {
|
|
|
15641
15643
|
}
|
|
15642
15644
|
return null;
|
|
15643
15645
|
}
|
|
15644
|
-
function
|
|
15646
|
+
function Q$(e, t, r) {
|
|
15645
15647
|
const { propertyName: n } = r;
|
|
15646
15648
|
return typeof n != "string" || !!e.required?.includes(n) && !!t.required?.includes(n) ? null : nt(Je(e.properties ?? {}, n)) && nt(Je(t.properties ?? {}, n)) ? `Add \`${n}\` to \`required\` in every schema; the \`discriminator\` cannot read a property a value may omit.` : `Declare \`${n}\` in every schema and add it to \`required\`; the \`discriminator\` cannot read a property a value may omit.`;
|
|
15647
15649
|
}
|
|
15648
|
-
function
|
|
15649
|
-
const n =
|
|
15650
|
-
if (!n || Vc(e.schema, n.leftProperties, n.rightRequired) || Vc(t.schema, n.rightProperties, n.leftRequired) ||
|
|
15650
|
+
function G$(e, t, r) {
|
|
15651
|
+
const n = Y$(e, t);
|
|
15652
|
+
if (!n || Vc(e.schema, n.leftProperties, n.rightRequired) || Vc(t.schema, n.rightProperties, n.leftRequired) || J$(n) || n.sharedNames.length === 0)
|
|
15651
15653
|
return null;
|
|
15652
|
-
const o =
|
|
15654
|
+
const o = X$(n, r);
|
|
15653
15655
|
if (!o)
|
|
15654
15656
|
return null;
|
|
15655
15657
|
const { optionalDistinguishingNames: i, ambiguousNames: a } = o;
|
|
@@ -15659,7 +15661,7 @@ function W$(e, t, r) {
|
|
|
15659
15661
|
}
|
|
15660
15662
|
return a.length > 0 ? `Both schemas define ${li(a)} without constraints that exclude each other. Add a discriminator, or constrain the shared properties to different values.` : null;
|
|
15661
15663
|
}
|
|
15662
|
-
function
|
|
15664
|
+
function Y$(e, t) {
|
|
15663
15665
|
const r = e.schema.properties, n = t.schema.properties;
|
|
15664
15666
|
return !r || !n ? null : {
|
|
15665
15667
|
leftSource: e.source,
|
|
@@ -15671,11 +15673,11 @@ function Q$(e, t) {
|
|
|
15671
15673
|
sharedNames: Object.keys(r).filter((o) => Je(n, o))
|
|
15672
15674
|
};
|
|
15673
15675
|
}
|
|
15674
|
-
function
|
|
15676
|
+
function J$({ leftProperties: e, rightProperties: t, leftRequired: r, rightRequired: n }) {
|
|
15675
15677
|
const o = [...r].some((a) => !Je(t, a) && !n.has(a)), i = [...n].some((a) => !Je(e, a) && !r.has(a));
|
|
15676
15678
|
return o && i;
|
|
15677
15679
|
}
|
|
15678
|
-
function
|
|
15680
|
+
function X$({ leftSource: e, rightSource: t, leftProperties: r, rightProperties: n, leftRequired: o, rightRequired: i, sharedNames: a }, c) {
|
|
15679
15681
|
const p = [], u = [];
|
|
15680
15682
|
for (const f of a) {
|
|
15681
15683
|
const m = o.has(f) && i.has(f), y = gr(Je(r, f), c, e), h = gr(Je(n, f), c, t);
|
|
@@ -15696,7 +15698,7 @@ function Vc(e, t, r) {
|
|
|
15696
15698
|
}
|
|
15697
15699
|
function ud(e, t) {
|
|
15698
15700
|
const r = vr(e), n = vr(t);
|
|
15699
|
-
return r && n ? !r.some((o) => n.some((i) =>
|
|
15701
|
+
return r && n ? !r.some((o) => n.some((i) => $t(o, i))) : fd(e, t)?.length === 0;
|
|
15700
15702
|
}
|
|
15701
15703
|
function gr(e, t, r) {
|
|
15702
15704
|
if (Re(e)) {
|
|
@@ -15706,7 +15708,7 @@ function gr(e, t, r) {
|
|
|
15706
15708
|
return ne(e) ? { schema: e, source: r } : void 0;
|
|
15707
15709
|
}
|
|
15708
15710
|
function yo(e) {
|
|
15709
|
-
return Object.keys(e).some((t) => !
|
|
15711
|
+
return Object.keys(e).some((t) => !z$.has(t) && !t.startsWith("x-"));
|
|
15710
15712
|
}
|
|
15711
15713
|
function dd(e) {
|
|
15712
15714
|
return "nullable" in e && e.nullable === !0;
|
|
@@ -15723,9 +15725,9 @@ function fd(e, t) {
|
|
|
15723
15725
|
if (!r || !n)
|
|
15724
15726
|
return;
|
|
15725
15727
|
const o = [...r].filter((i) => n.has(i));
|
|
15726
|
-
return o.length === 0 &&
|
|
15728
|
+
return o.length === 0 && Z$(e, t) ? ["integer"] : o;
|
|
15727
15729
|
}
|
|
15728
|
-
function
|
|
15730
|
+
function Z$(e, t) {
|
|
15729
15731
|
const r = br(e), n = br(t);
|
|
15730
15732
|
return r?.has("integer") && n?.has("number") ? Hc(t) : r?.has("number") && n?.has("integer") ? Hc(e) : !1;
|
|
15731
15733
|
}
|
|
@@ -15745,7 +15747,7 @@ function vr(e) {
|
|
|
15745
15747
|
function li(e) {
|
|
15746
15748
|
return e.map((t) => `\`${t}\``).join(", ");
|
|
15747
15749
|
}
|
|
15748
|
-
const
|
|
15750
|
+
const eA = (e) => {
|
|
15749
15751
|
const t = new Oo(), r = (o) => o.schema === void 0, n = (o) => (i, a) => {
|
|
15750
15752
|
const { location: c, resolve: p } = a;
|
|
15751
15753
|
if (nt(i.example))
|
|
@@ -15801,7 +15803,7 @@ const X$ = (e) => {
|
|
|
15801
15803
|
}
|
|
15802
15804
|
}
|
|
15803
15805
|
};
|
|
15804
|
-
},
|
|
15806
|
+
}, tA = () => ({
|
|
15805
15807
|
Server(e, { report: t, location: r }) {
|
|
15806
15808
|
const n = /^(.*[\/.])?(example\.com|localhost)([\/:?].*|$)/;
|
|
15807
15809
|
e.url && n.test(e.url) && t({
|
|
@@ -15810,7 +15812,7 @@ const X$ = (e) => {
|
|
|
15810
15812
|
reference: "https://redocly.com/docs/cli/rules/oas/no-server-example-com"
|
|
15811
15813
|
});
|
|
15812
15814
|
}
|
|
15813
|
-
}),
|
|
15815
|
+
}), rA = () => ({
|
|
15814
15816
|
Server(e, { report: t, location: r }) {
|
|
15815
15817
|
e.url && e.url.endsWith("/") && e.url !== "/" && t({
|
|
15816
15818
|
message: "Server `url` should not have a trailing slash.",
|
|
@@ -15818,7 +15820,7 @@ const X$ = (e) => {
|
|
|
15818
15820
|
reference: "https://redocly.com/docs/cli/rules/oas/no-server-trailing-slash"
|
|
15819
15821
|
});
|
|
15820
15822
|
}
|
|
15821
|
-
}),
|
|
15823
|
+
}), nA = () => ({
|
|
15822
15824
|
Root(e, { report: t, location: r }) {
|
|
15823
15825
|
if (!e.servers || e.servers.length === 0)
|
|
15824
15826
|
return;
|
|
@@ -15860,7 +15862,7 @@ function Kc(e) {
|
|
|
15860
15862
|
if (t.length)
|
|
15861
15863
|
return t;
|
|
15862
15864
|
}
|
|
15863
|
-
const
|
|
15865
|
+
const oA = () => ({
|
|
15864
15866
|
Server(e, { report: t, location: r }) {
|
|
15865
15867
|
if (!e?.url)
|
|
15866
15868
|
return;
|
|
@@ -15879,7 +15881,7 @@ const rA = () => ({
|
|
|
15879
15881
|
reference: "https://redocly.com/docs/cli/rules/oas/no-undefined-server-variable"
|
|
15880
15882
|
});
|
|
15881
15883
|
}
|
|
15882
|
-
}),
|
|
15884
|
+
}), iA = () => {
|
|
15883
15885
|
const e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set();
|
|
15884
15886
|
function n(o, i, a = !1) {
|
|
15885
15887
|
e.set(o.absolutePointer, {
|
|
@@ -15973,7 +15975,7 @@ const rA = () => ({
|
|
|
15973
15975
|
r.add(i);
|
|
15974
15976
|
}
|
|
15975
15977
|
};
|
|
15976
|
-
},
|
|
15978
|
+
}, sA = () => ({
|
|
15977
15979
|
Schema: {
|
|
15978
15980
|
leave(e, t) {
|
|
15979
15981
|
"nullable" in e && !("type" in e) && t.report({
|
|
@@ -15983,7 +15985,7 @@ const rA = () => ({
|
|
|
15983
15985
|
});
|
|
15984
15986
|
}
|
|
15985
15987
|
}
|
|
15986
|
-
}), ui = "https://redocly.com/docs/cli/rules/oas/operation-4xx-problem-details-rfc7807",
|
|
15988
|
+
}), ui = "https://redocly.com/docs/cli/rules/oas/operation-4xx-problem-details-rfc7807", aA = () => ({
|
|
15987
15989
|
Response: {
|
|
15988
15990
|
skip(e, t) {
|
|
15989
15991
|
return !/4[Xx0-9]{2}/.test(`${t}`);
|
|
@@ -16013,7 +16015,7 @@ const rA = () => ({
|
|
|
16013
16015
|
}
|
|
16014
16016
|
}
|
|
16015
16017
|
}
|
|
16016
|
-
}),
|
|
16018
|
+
}), cA = ({ allowedValues: e }) => ({
|
|
16017
16019
|
Paths: {
|
|
16018
16020
|
RequestBody: {
|
|
16019
16021
|
leave(t, r) {
|
|
@@ -16055,7 +16057,7 @@ const rA = () => ({
|
|
|
16055
16057
|
}
|
|
16056
16058
|
}
|
|
16057
16059
|
}
|
|
16058
|
-
}),
|
|
16060
|
+
}), pA = (e) => {
|
|
16059
16061
|
const t = e.names || {};
|
|
16060
16062
|
let r;
|
|
16061
16063
|
return {
|
|
@@ -16081,7 +16083,7 @@ const rA = () => ({
|
|
|
16081
16083
|
}
|
|
16082
16084
|
}
|
|
16083
16085
|
};
|
|
16084
|
-
},
|
|
16086
|
+
}, lA = ({ allowedValues: e }) => ({
|
|
16085
16087
|
Paths: {
|
|
16086
16088
|
Response: {
|
|
16087
16089
|
leave(t, r) {
|
|
@@ -16123,7 +16125,7 @@ const rA = () => ({
|
|
|
16123
16125
|
}
|
|
16124
16126
|
}
|
|
16125
16127
|
}
|
|
16126
|
-
}),
|
|
16128
|
+
}), uA = () => {
|
|
16127
16129
|
const e = `^[${Nl}]+$`;
|
|
16128
16130
|
function t(r, n, o, i) {
|
|
16129
16131
|
new RegExp(e).test(r) || n({
|
|
@@ -16179,7 +16181,7 @@ const rA = () => ({
|
|
|
16179
16181
|
}
|
|
16180
16182
|
}
|
|
16181
16183
|
};
|
|
16182
|
-
},
|
|
16184
|
+
}, dA = () => {
|
|
16183
16185
|
let e = [];
|
|
16184
16186
|
return {
|
|
16185
16187
|
Root: {
|
|
@@ -16212,7 +16214,7 @@ const rA = () => ({
|
|
|
16212
16214
|
}
|
|
16213
16215
|
}
|
|
16214
16216
|
};
|
|
16215
|
-
},
|
|
16217
|
+
}, fA = () => ({
|
|
16216
16218
|
Example({ value: e, externalValue: t, dataValue: r, serializedValue: n }, { report: o, location: i }) {
|
|
16217
16219
|
e !== void 0 && t !== void 0 && o({
|
|
16218
16220
|
message: "The 'value' and 'externalValue' fields of an example object are mutually exclusive.",
|
|
@@ -16232,7 +16234,7 @@ const rA = () => ({
|
|
|
16232
16234
|
reference: "https://redocly.com/docs/cli/rules/oas/spec-example-values"
|
|
16233
16235
|
});
|
|
16234
16236
|
}
|
|
16235
|
-
}),
|
|
16237
|
+
}), mA = () => ({
|
|
16236
16238
|
MediaType: {
|
|
16237
16239
|
leave(e, t) {
|
|
16238
16240
|
("prefixEncoding" in e && "encoding" in e || "itemEncoding" in e && "encoding" in e) && t.report({
|
|
@@ -16242,7 +16244,7 @@ const rA = () => ({
|
|
|
16242
16244
|
});
|
|
16243
16245
|
}
|
|
16244
16246
|
}
|
|
16245
|
-
}),
|
|
16247
|
+
}), hA = () => {
|
|
16246
16248
|
let e;
|
|
16247
16249
|
return {
|
|
16248
16250
|
Root: {
|
|
@@ -16305,7 +16307,7 @@ function Gc(e, t, r, n) {
|
|
|
16305
16307
|
reference: "https://redocly.com/docs/cli/rules/oas/spec-querystring-parameters"
|
|
16306
16308
|
}), r.querystringLocation ??= t);
|
|
16307
16309
|
}
|
|
16308
|
-
const
|
|
16310
|
+
const yA = () => {
|
|
16309
16311
|
let e = {}, t = {}, r = 0;
|
|
16310
16312
|
return {
|
|
16311
16313
|
PathItem: {
|
|
@@ -16327,7 +16329,7 @@ const mA = () => {
|
|
|
16327
16329
|
}
|
|
16328
16330
|
}
|
|
16329
16331
|
};
|
|
16330
|
-
},
|
|
16332
|
+
}, gA = () => ({
|
|
16331
16333
|
ref: {
|
|
16332
16334
|
leave(e, { report: t, location: r, type: n, specVersion: o }) {
|
|
16333
16335
|
const i = o !== "oas3_0";
|
|
@@ -16340,33 +16342,33 @@ const mA = () => {
|
|
|
16340
16342
|
}));
|
|
16341
16343
|
}
|
|
16342
16344
|
}
|
|
16343
|
-
}),
|
|
16344
|
-
struct:
|
|
16345
|
+
}), bA = {
|
|
16346
|
+
struct: Rt,
|
|
16345
16347
|
"info-contact": Zt,
|
|
16346
16348
|
"info-license": Ss,
|
|
16347
16349
|
"info-license-strict": jo,
|
|
16348
16350
|
"operation-2xx-response": Uu,
|
|
16349
16351
|
"operation-4xx-response": Fu,
|
|
16350
|
-
"operation-4xx-problem-details-rfc7807":
|
|
16352
|
+
"operation-4xx-problem-details-rfc7807": aA,
|
|
16351
16353
|
assertions: jt,
|
|
16352
16354
|
"operation-operationId-unique": Bu,
|
|
16353
16355
|
"operation-parameters-unique": Hu,
|
|
16354
16356
|
"operation-tag-defined": Qu,
|
|
16355
|
-
"no-example-value-and-externalValue":
|
|
16357
|
+
"no-example-value-and-externalValue": F$,
|
|
16356
16358
|
"no-mixed-number-range-constraints": Mo,
|
|
16357
16359
|
"no-enum-type-mismatch": Ar,
|
|
16358
16360
|
"no-path-trailing-slash": Lu,
|
|
16359
|
-
"no-empty-servers":
|
|
16361
|
+
"no-empty-servers": U$,
|
|
16360
16362
|
"path-declaration-must-exist": Yu,
|
|
16361
16363
|
"operation-operationId-url-safe": Vu,
|
|
16362
16364
|
"operation-operationId": No,
|
|
16363
16365
|
"operation-summary": Wu,
|
|
16364
16366
|
"tags-alphabetical": Fo,
|
|
16365
|
-
"no-server-example.com":
|
|
16366
|
-
"no-server-trailing-slash":
|
|
16367
|
+
"no-server-example.com": tA,
|
|
16368
|
+
"no-server-trailing-slash": rA,
|
|
16367
16369
|
"tag-description": Uo,
|
|
16368
16370
|
"operation-description": zu,
|
|
16369
|
-
"no-unused-components":
|
|
16371
|
+
"no-unused-components": iA,
|
|
16370
16372
|
"path-not-include-query": Xu,
|
|
16371
16373
|
"path-parameters-defined": mo,
|
|
16372
16374
|
"path-params-defined": mo,
|
|
@@ -16374,43 +16376,43 @@ const mA = () => {
|
|
|
16374
16376
|
"operation-singular-tag": Ku,
|
|
16375
16377
|
"security-defined": cd,
|
|
16376
16378
|
"security-scopes-defined": xs,
|
|
16377
|
-
"no-unresolved-refs":
|
|
16379
|
+
"no-unresolved-refs": At,
|
|
16378
16380
|
"paths-kebab-case": od,
|
|
16379
|
-
"boolean-parameter-prefixes":
|
|
16381
|
+
"boolean-parameter-prefixes": q$,
|
|
16380
16382
|
"path-http-verbs-order": Ju,
|
|
16381
|
-
"no-illogical-composition-keywords":
|
|
16382
|
-
"no-invalid-media-type-examples":
|
|
16383
|
+
"no-illogical-composition-keywords": B$,
|
|
16384
|
+
"no-invalid-media-type-examples": eA,
|
|
16383
16385
|
"no-identical-paths": ju,
|
|
16384
16386
|
"no-ambiguous-paths": qu,
|
|
16385
|
-
"no-undefined-server-variable":
|
|
16386
|
-
"no-server-variables-empty-enum":
|
|
16387
|
+
"no-undefined-server-variable": oA,
|
|
16388
|
+
"no-server-variables-empty-enum": nA,
|
|
16387
16389
|
"no-http-verbs-in-paths": Mu,
|
|
16388
|
-
"request-mime-type":
|
|
16389
|
-
"response-mime-type":
|
|
16390
|
+
"request-mime-type": cA,
|
|
16391
|
+
"response-mime-type": lA,
|
|
16390
16392
|
"path-segment-plural": nd,
|
|
16391
16393
|
"no-invalid-schema-examples": Nu,
|
|
16392
16394
|
"no-invalid-parameter-examples": Du,
|
|
16393
16395
|
"response-contains-header": sd,
|
|
16394
|
-
"response-contains-property":
|
|
16396
|
+
"response-contains-property": pA,
|
|
16395
16397
|
"scalar-property-missing-example": ad,
|
|
16396
|
-
"spec-components-invalid-map-name":
|
|
16398
|
+
"spec-components-invalid-map-name": uA,
|
|
16397
16399
|
"required-string-property-missing-min-length": id,
|
|
16398
16400
|
"spec-strict-refs": pd,
|
|
16399
|
-
"component-name-unique":
|
|
16400
|
-
"array-parameter-serialization":
|
|
16401
|
+
"component-name-unique": j$,
|
|
16402
|
+
"array-parameter-serialization": k$,
|
|
16401
16403
|
"no-required-schema-properties-undefined": Rr,
|
|
16402
16404
|
"no-schema-type-mismatch": _r,
|
|
16403
16405
|
"no-duplicated-enum-values": $r,
|
|
16404
16406
|
"no-unsafe-markdown": Tr,
|
|
16405
16407
|
"no-duplicated-tag-names": Do,
|
|
16406
|
-
"nullable-type-sibling":
|
|
16407
|
-
"spec-no-invalid-tag-parents":
|
|
16408
|
-
"spec-no-invalid-encoding-combinations":
|
|
16409
|
-
"spec-discriminator-defaultMapping":
|
|
16410
|
-
"spec-example-values":
|
|
16411
|
-
"spec-querystring-parameters":
|
|
16412
|
-
"spec-ref-siblings":
|
|
16413
|
-
},
|
|
16408
|
+
"nullable-type-sibling": sA,
|
|
16409
|
+
"spec-no-invalid-tag-parents": hA,
|
|
16410
|
+
"spec-no-invalid-encoding-combinations": mA,
|
|
16411
|
+
"spec-discriminator-defaultMapping": dA,
|
|
16412
|
+
"spec-example-values": fA,
|
|
16413
|
+
"spec-querystring-parameters": yA,
|
|
16414
|
+
"spec-ref-siblings": gA
|
|
16415
|
+
}, vA = {}, wA = () => {
|
|
16414
16416
|
const e = /* @__PURE__ */ new Map();
|
|
16415
16417
|
function t(r, n) {
|
|
16416
16418
|
e.set(r.absolutePointer, {
|
|
@@ -16487,7 +16489,7 @@ const mA = () => {
|
|
|
16487
16489
|
}
|
|
16488
16490
|
}
|
|
16489
16491
|
};
|
|
16490
|
-
},
|
|
16492
|
+
}, xA = () => ({
|
|
16491
16493
|
Method: {
|
|
16492
16494
|
leave(e, { report: t, resolve: r, location: n }) {
|
|
16493
16495
|
if (!e.params || !Array.isArray(e.params))
|
|
@@ -16506,7 +16508,7 @@ const mA = () => {
|
|
|
16506
16508
|
});
|
|
16507
16509
|
}
|
|
16508
16510
|
}
|
|
16509
|
-
}),
|
|
16511
|
+
}), SA = () => ({
|
|
16510
16512
|
Method: {
|
|
16511
16513
|
leave(e, { report: t, resolve: r, location: n }) {
|
|
16512
16514
|
if (!e.params || !Array.isArray(e.params))
|
|
@@ -16527,22 +16529,22 @@ const mA = () => {
|
|
|
16527
16529
|
});
|
|
16528
16530
|
}
|
|
16529
16531
|
}
|
|
16530
|
-
}),
|
|
16531
|
-
struct:
|
|
16532
|
-
"no-unresolved-refs":
|
|
16532
|
+
}), PA = {
|
|
16533
|
+
struct: Rt,
|
|
16534
|
+
"no-unresolved-refs": At,
|
|
16533
16535
|
assertions: jt,
|
|
16534
16536
|
"info-license": Ss,
|
|
16535
|
-
"no-unused-components":
|
|
16537
|
+
"no-unused-components": wA,
|
|
16536
16538
|
"info-contact": Zt,
|
|
16537
|
-
"spec-no-duplicated-method-params":
|
|
16538
|
-
"spec-no-required-params-after-optional":
|
|
16539
|
+
"spec-no-duplicated-method-params": xA,
|
|
16540
|
+
"spec-no-required-params-after-optional": SA,
|
|
16539
16541
|
"spec-ref-siblings": Lo
|
|
16540
|
-
},
|
|
16542
|
+
}, EA = {}, $A = {
|
|
16541
16543
|
"info-contact": Zt,
|
|
16542
|
-
struct:
|
|
16543
|
-
"no-unresolved-refs":
|
|
16544
|
+
struct: Rt,
|
|
16545
|
+
"no-unresolved-refs": At,
|
|
16544
16546
|
assertions: jt
|
|
16545
|
-
},
|
|
16547
|
+
}, AA = {}, RA = {
|
|
16546
16548
|
rules: {
|
|
16547
16549
|
struct: "error",
|
|
16548
16550
|
"no-unresolved-refs": "error"
|
|
@@ -16916,7 +16918,7 @@ const mA = () => {
|
|
|
16916
16918
|
"no-unused-types": "error",
|
|
16917
16919
|
"type-description": "error"
|
|
16918
16920
|
}
|
|
16919
|
-
},
|
|
16921
|
+
}, _A = {
|
|
16920
16922
|
rules: {
|
|
16921
16923
|
struct: "error",
|
|
16922
16924
|
"no-unresolved-refs": "error"
|
|
@@ -17269,7 +17271,7 @@ const mA = () => {
|
|
|
17269
17271
|
"spec-no-required-params-after-optional": "error",
|
|
17270
17272
|
"spec-ref-siblings": "off"
|
|
17271
17273
|
}
|
|
17272
|
-
},
|
|
17274
|
+
}, TA = {
|
|
17273
17275
|
rules: {
|
|
17274
17276
|
struct: "error",
|
|
17275
17277
|
"no-unresolved-refs": "error"
|
|
@@ -17622,7 +17624,7 @@ const mA = () => {
|
|
|
17622
17624
|
"no-unused-types": "error",
|
|
17623
17625
|
"type-description": "off"
|
|
17624
17626
|
}
|
|
17625
|
-
},
|
|
17627
|
+
}, OA = {
|
|
17626
17628
|
rules: {
|
|
17627
17629
|
struct: "error",
|
|
17628
17630
|
"no-unresolved-refs": "error"
|
|
@@ -17975,7 +17977,7 @@ const mA = () => {
|
|
|
17975
17977
|
"no-unused-types": "warn",
|
|
17976
17978
|
"type-description": "off"
|
|
17977
17979
|
}
|
|
17978
|
-
},
|
|
17980
|
+
}, kA = {
|
|
17979
17981
|
rules: {
|
|
17980
17982
|
struct: "error",
|
|
17981
17983
|
"no-unresolved-refs": "error"
|
|
@@ -18328,45 +18330,45 @@ const mA = () => {
|
|
|
18328
18330
|
"no-unused-types": "off",
|
|
18329
18331
|
"type-description": "off"
|
|
18330
18332
|
}
|
|
18331
|
-
},
|
|
18332
|
-
recommended:
|
|
18333
|
-
"recommended-strict":
|
|
18334
|
-
minimal:
|
|
18335
|
-
all:
|
|
18336
|
-
spec:
|
|
18333
|
+
}, IA = {
|
|
18334
|
+
recommended: OA,
|
|
18335
|
+
"recommended-strict": TA,
|
|
18336
|
+
minimal: _A,
|
|
18337
|
+
all: RA,
|
|
18338
|
+
spec: kA
|
|
18337
18339
|
}, Yc = {
|
|
18338
18340
|
id: "",
|
|
18339
18341
|
// default plugin doesn't have id
|
|
18340
18342
|
rules: {
|
|
18341
|
-
oas3:
|
|
18342
|
-
oas2:
|
|
18343
|
-
async2:
|
|
18344
|
-
async3:
|
|
18345
|
-
arazzo1:
|
|
18346
|
-
overlay1:
|
|
18347
|
-
openrpc1:
|
|
18348
|
-
graphql:
|
|
18343
|
+
oas3: bA,
|
|
18344
|
+
oas2: T$,
|
|
18345
|
+
async2: BE,
|
|
18346
|
+
async3: ZE,
|
|
18347
|
+
arazzo1: jE,
|
|
18348
|
+
overlay1: $A,
|
|
18349
|
+
openrpc1: PA,
|
|
18350
|
+
graphql: d$
|
|
18349
18351
|
},
|
|
18350
18352
|
preprocessors: {
|
|
18351
|
-
oas3:
|
|
18352
|
-
oas2:
|
|
18353
|
-
async2:
|
|
18354
|
-
async3:
|
|
18355
|
-
arazzo1:
|
|
18356
|
-
overlay1:
|
|
18357
|
-
openrpc1:
|
|
18353
|
+
oas3: vA,
|
|
18354
|
+
oas2: O$,
|
|
18355
|
+
async2: VE,
|
|
18356
|
+
async3: e$,
|
|
18357
|
+
arazzo1: DE,
|
|
18358
|
+
overlay1: AA,
|
|
18359
|
+
openrpc1: EA
|
|
18358
18360
|
},
|
|
18359
18361
|
decorators: {
|
|
18360
|
-
oas3:
|
|
18361
|
-
oas2:
|
|
18362
|
-
async2:
|
|
18363
|
-
async3:
|
|
18364
|
-
arazzo1:
|
|
18365
|
-
overlay1:
|
|
18366
|
-
openrpc1:
|
|
18367
|
-
},
|
|
18368
|
-
configs:
|
|
18369
|
-
},
|
|
18362
|
+
oas3: eE,
|
|
18363
|
+
oas2: JP,
|
|
18364
|
+
async2: HP,
|
|
18365
|
+
async3: KP,
|
|
18366
|
+
arazzo1: VP,
|
|
18367
|
+
overlay1: rE,
|
|
18368
|
+
openrpc1: tE
|
|
18369
|
+
},
|
|
18370
|
+
configs: IA
|
|
18371
|
+
}, qA = {
|
|
18370
18372
|
Root: "DefinitionRoot",
|
|
18371
18373
|
ServerVariablesMap: "ServerVariableMap",
|
|
18372
18374
|
Paths: ["PathMap", "PathsMap"],
|
|
@@ -18379,7 +18381,7 @@ const mA = () => {
|
|
|
18379
18381
|
OAuth2Flows: "SecuritySchemeFlows",
|
|
18380
18382
|
Responses: "ResponsesMap"
|
|
18381
18383
|
};
|
|
18382
|
-
function
|
|
18384
|
+
function Pt(e, t) {
|
|
18383
18385
|
const r = {};
|
|
18384
18386
|
r.any = {
|
|
18385
18387
|
enter: [],
|
|
@@ -18450,7 +18452,7 @@ function St(e, t) {
|
|
|
18450
18452
|
throw new Error("ref() is allowed only on top level");
|
|
18451
18453
|
}
|
|
18452
18454
|
for (const m of f) {
|
|
18453
|
-
const y = c[m] || o(c,
|
|
18455
|
+
const y = c[m] || o(c, qA[m]), h = r[m];
|
|
18454
18456
|
if (!y)
|
|
18455
18457
|
continue;
|
|
18456
18458
|
let $, w, S;
|
|
@@ -18499,7 +18501,7 @@ function Ce(e, t) {
|
|
|
18499
18501
|
for (const r of Object.keys(t))
|
|
18500
18502
|
e.hasOwnProperty(r) && (ne(e[r]) && typeof t[r] == "string" ? e[r] = { ...e[r], severity: t[r] } : e[r] = t[r]);
|
|
18501
18503
|
}
|
|
18502
|
-
function
|
|
18504
|
+
function CA(e) {
|
|
18503
18505
|
if (e.indexOf("/") > -1) {
|
|
18504
18506
|
const [t, r] = e.split("/");
|
|
18505
18507
|
return { pluginId: t, configName: r };
|
|
@@ -18559,15 +18561,15 @@ ${JSON.stringify(r, null, 2)}`);
|
|
|
18559
18561
|
}
|
|
18560
18562
|
return t;
|
|
18561
18563
|
}
|
|
18562
|
-
class
|
|
18564
|
+
class YR extends Error {
|
|
18563
18565
|
}
|
|
18564
|
-
function
|
|
18566
|
+
function MA(e) {
|
|
18565
18567
|
return new Map(JSON.parse(JSON.stringify([...e])));
|
|
18566
18568
|
}
|
|
18567
18569
|
function Jc(e) {
|
|
18568
18570
|
return ne(e) && "id" in e;
|
|
18569
18571
|
}
|
|
18570
|
-
function
|
|
18572
|
+
function jA(e) {
|
|
18571
18573
|
return typeof e == "function";
|
|
18572
18574
|
}
|
|
18573
18575
|
function hd({ node: e, ctx: t, plugins: r }) {
|
|
@@ -18575,7 +18577,7 @@ function hd({ node: e, ctx: t, plugins: r }) {
|
|
|
18575
18577
|
return e;
|
|
18576
18578
|
const n = (e.extends || []).filter(tt).map((o) => {
|
|
18577
18579
|
if (!ze(o) && !Up.extname(o))
|
|
18578
|
-
return
|
|
18580
|
+
return ZA(o, r);
|
|
18579
18581
|
const i = t.resolve({ $ref: o });
|
|
18580
18582
|
return i.location && i.node !== void 0 ? i.node : null;
|
|
18581
18583
|
}).filter(tt);
|
|
@@ -18595,7 +18597,7 @@ function Vn(e, t) {
|
|
|
18595
18597
|
)));
|
|
18596
18598
|
}
|
|
18597
18599
|
}
|
|
18598
|
-
const
|
|
18600
|
+
const DA = Pt([
|
|
18599
18601
|
{
|
|
18600
18602
|
severity: "error",
|
|
18601
18603
|
ruleId: ou,
|
|
@@ -18633,7 +18635,7 @@ function Hn(e, t) {
|
|
|
18633
18635
|
Object.assign(e, o), delete e.extends;
|
|
18634
18636
|
}
|
|
18635
18637
|
}
|
|
18636
|
-
const
|
|
18638
|
+
const NA = Pt([
|
|
18637
18639
|
{
|
|
18638
18640
|
severity: "error",
|
|
18639
18641
|
ruleId: nu,
|
|
@@ -18672,23 +18674,23 @@ function Xc(e, t) {
|
|
|
18672
18674
|
function Zc(e) {
|
|
18673
18675
|
return e?.prev ?? null;
|
|
18674
18676
|
}
|
|
18675
|
-
function
|
|
18677
|
+
function LA(e) {
|
|
18676
18678
|
const t = {};
|
|
18677
18679
|
for (; e.parent; )
|
|
18678
18680
|
t[e.parent.type.name] = e.parent.activatedOn?.value.node, e = e.parent;
|
|
18679
18681
|
return t;
|
|
18680
18682
|
}
|
|
18681
|
-
function
|
|
18683
|
+
function UA(e) {
|
|
18682
18684
|
const t = {};
|
|
18683
18685
|
for (; e.parent; )
|
|
18684
18686
|
e.parent.activatedOn?.value.location && (t[e.parent.type.name] = e.parent.activatedOn?.value.location), e = e.parent;
|
|
18685
18687
|
return t;
|
|
18686
18688
|
}
|
|
18687
|
-
function
|
|
18689
|
+
function Et(e) {
|
|
18688
18690
|
const { document: t, rootType: r, normalizedVisitors: n, resolvedRefMap: o, ctx: i } = e, a = {}, c = /* @__PURE__ */ new Set(), p = (S, E) => `${S.name}::${E.absolutePointer}`, u = /* @__PURE__ */ new Set(), f = {}, m = n.any.enter, y = n.any.leave, h = {}, $ = {};
|
|
18689
18691
|
for (const S of Object.keys(n))
|
|
18690
18692
|
S === "any" || S === "ref" || (h[S] = m.concat(n[S]?.enter || []), $[S] = (n[S]?.leave || []).concat(y));
|
|
18691
|
-
w(t.parsed, r, new
|
|
18693
|
+
w(t.parsed, r, new St(t.source, "#/"), void 0, "");
|
|
18692
18694
|
function w(S, E, x, v, _) {
|
|
18693
18695
|
const g = (de, Pe = C.source.absoluteRef) => {
|
|
18694
18696
|
if (!Re(de))
|
|
@@ -18700,7 +18702,7 @@ function Pt(e) {
|
|
|
18700
18702
|
node: void 0
|
|
18701
18703
|
};
|
|
18702
18704
|
const { resolved: k, node: T, document: b, nodePointer: I, error: U, chain: L } = P;
|
|
18703
|
-
return { location: k ? new
|
|
18705
|
+
return { location: k ? new St(b.source, I) : U instanceof zp ? new St(U.source, "") : void 0, node: T, error: U, chain: L };
|
|
18704
18706
|
}, O = x;
|
|
18705
18707
|
let C = x;
|
|
18706
18708
|
const z = Re(S), { node: B, location: W, error: G, chain: oe } = g(S), K = /* @__PURE__ */ new Set(), Y = Vo(S) && c.has(p(E, x));
|
|
@@ -18829,14 +18831,14 @@ function Pt(e) {
|
|
|
18829
18831
|
type: E,
|
|
18830
18832
|
parent: v,
|
|
18831
18833
|
key: _,
|
|
18832
|
-
parentLocations:
|
|
18834
|
+
parentLocations: UA(P),
|
|
18833
18835
|
specVersion: i.specVersion,
|
|
18834
18836
|
config: i.config,
|
|
18835
18837
|
ignoreNextVisitorsOnNode: () => {
|
|
18836
18838
|
u.add(`${C.absolutePointer}${C.pointer}`);
|
|
18837
18839
|
},
|
|
18838
18840
|
getVisitorData: () => Ie(k)
|
|
18839
|
-
},
|
|
18841
|
+
}, LA(P), P);
|
|
18840
18842
|
}
|
|
18841
18843
|
function Se(de, Pe, A, P) {
|
|
18842
18844
|
const T = (P.location ? Array.isArray(P.location) ? P.location : [P.location] : [{ ...C, reportOnKey: !1 }]).map((I) => ({
|
|
@@ -18948,7 +18950,7 @@ function ep(e, t) {
|
|
|
18948
18950
|
return null;
|
|
18949
18951
|
}
|
|
18950
18952
|
}
|
|
18951
|
-
function
|
|
18953
|
+
function FA({ version: e, dereference: t, rootDocument: r, resolvedRefMap: n, keepUrlRefs: o, componentRenamingConflicts: i = "warn", componentNamesStrategy: a = "basename" }) {
|
|
18952
18954
|
let c, p;
|
|
18953
18955
|
const u = /* @__PURE__ */ new Map(), f = ep("Schema", e), m = {
|
|
18954
18956
|
ref: {
|
|
@@ -19037,7 +19039,7 @@ function LA({ version: e, dereference: t, rootDocument: r, resolvedRefMap: n, ke
|
|
|
19037
19039
|
if ((g.location && lr(g).location)?.absolutePointer === v.location.absolutePointer)
|
|
19038
19040
|
return !0;
|
|
19039
19041
|
}
|
|
19040
|
-
return
|
|
19042
|
+
return $t(x, v.node);
|
|
19041
19043
|
}
|
|
19042
19044
|
function w(x, v, _) {
|
|
19043
19045
|
const { title: g, name: O } = ld(x.node), C = x.location.child("title");
|
|
@@ -19096,10 +19098,10 @@ async function yd(e) {
|
|
|
19096
19098
|
rootType: h.Root,
|
|
19097
19099
|
externalRefResolver: o
|
|
19098
19100
|
});
|
|
19099
|
-
$.length > 0 && (
|
|
19101
|
+
$.length > 0 && (Et({
|
|
19100
19102
|
document: t,
|
|
19101
19103
|
rootType: h.Root,
|
|
19102
|
-
normalizedVisitors:
|
|
19104
|
+
normalizedVisitors: Pt($, h),
|
|
19103
19105
|
resolvedRefMap: E,
|
|
19104
19106
|
ctx: S
|
|
19105
19107
|
}), E = await It({
|
|
@@ -19107,11 +19109,11 @@ async function yd(e) {
|
|
|
19107
19109
|
rootType: h.Root,
|
|
19108
19110
|
externalRefResolver: o
|
|
19109
19111
|
}));
|
|
19110
|
-
const x =
|
|
19112
|
+
const x = Pt([
|
|
19111
19113
|
{
|
|
19112
19114
|
severity: "error",
|
|
19113
19115
|
ruleId: "bundler",
|
|
19114
|
-
visitor:
|
|
19116
|
+
visitor: FA({
|
|
19115
19117
|
version: m,
|
|
19116
19118
|
dereference: i,
|
|
19117
19119
|
rootDocument: t,
|
|
@@ -19123,7 +19125,7 @@ async function yd(e) {
|
|
|
19123
19125
|
},
|
|
19124
19126
|
...w.filter((v) => v.ruleId !== "remove-unused-components")
|
|
19125
19127
|
], h);
|
|
19126
|
-
if (
|
|
19128
|
+
if (Et({
|
|
19127
19129
|
document: t,
|
|
19128
19130
|
rootType: h.Root,
|
|
19129
19131
|
normalizedVisitors: x,
|
|
@@ -19134,14 +19136,14 @@ async function yd(e) {
|
|
|
19134
19136
|
rootDocument: t,
|
|
19135
19137
|
rootType: h.Root,
|
|
19136
19138
|
externalRefResolver: o
|
|
19137
|
-
}), _ =
|
|
19139
|
+
}), _ = Pt([
|
|
19138
19140
|
{
|
|
19139
19141
|
severity: "error",
|
|
19140
19142
|
ruleId: "remove-unused-components",
|
|
19141
19143
|
visitor: m === "oas2" ? gu() : bu()
|
|
19142
19144
|
}
|
|
19143
19145
|
], h);
|
|
19144
|
-
|
|
19146
|
+
Et({
|
|
19145
19147
|
document: t,
|
|
19146
19148
|
rootType: h.Root,
|
|
19147
19149
|
normalizedVisitors: _,
|
|
@@ -19158,7 +19160,7 @@ async function yd(e) {
|
|
|
19158
19160
|
visitorsData: S.visitorsData
|
|
19159
19161
|
};
|
|
19160
19162
|
}
|
|
19161
|
-
function
|
|
19163
|
+
function zA(e, t, r) {
|
|
19162
19164
|
const n = { plugins: [], rootConfigDir: r }, o = {
|
|
19163
19165
|
problems: [],
|
|
19164
19166
|
specVersion: "config",
|
|
@@ -19167,15 +19169,15 @@ function UA(e, t, r) {
|
|
|
19167
19169
|
[ou]: n
|
|
19168
19170
|
}
|
|
19169
19171
|
};
|
|
19170
|
-
return
|
|
19172
|
+
return Et({
|
|
19171
19173
|
document: e,
|
|
19172
19174
|
rootType: Er.ConfigRoot,
|
|
19173
|
-
normalizedVisitors:
|
|
19175
|
+
normalizedVisitors: DA,
|
|
19174
19176
|
resolvedRefMap: t,
|
|
19175
19177
|
ctx: o
|
|
19176
19178
|
}), n.plugins;
|
|
19177
19179
|
}
|
|
19178
|
-
function
|
|
19180
|
+
function BA(e, t, r, n = !1) {
|
|
19179
19181
|
const o = { plugins: r, skipPluginEval: n }, i = {
|
|
19180
19182
|
problems: [],
|
|
19181
19183
|
specVersion: "config",
|
|
@@ -19184,15 +19186,15 @@ function FA(e, t, r, n = !1) {
|
|
|
19184
19186
|
[nu]: o
|
|
19185
19187
|
}
|
|
19186
19188
|
};
|
|
19187
|
-
return
|
|
19189
|
+
return Et({
|
|
19188
19190
|
document: e,
|
|
19189
19191
|
rootType: Er.ConfigRoot,
|
|
19190
|
-
normalizedVisitors:
|
|
19192
|
+
normalizedVisitors: NA,
|
|
19191
19193
|
resolvedRefMap: t,
|
|
19192
19194
|
ctx: i
|
|
19193
19195
|
}), e.parsed ?? {};
|
|
19194
19196
|
}
|
|
19195
|
-
async function
|
|
19197
|
+
async function JR(e) {
|
|
19196
19198
|
const { ref: t, doc: r, externalRefResolver: n = new Mt(e.config.resolve), base: o = null } = e;
|
|
19197
19199
|
if (!(t || r))
|
|
19198
19200
|
throw new Error(`Document or reference is required.
|
|
@@ -19207,7 +19209,7 @@ async function GR(e) {
|
|
|
19207
19209
|
types: $o(Or(i.parsed))
|
|
19208
19210
|
});
|
|
19209
19211
|
}
|
|
19210
|
-
async function
|
|
19212
|
+
async function XR(e) {
|
|
19211
19213
|
const { source: t, absoluteRef: r, externalRefResolver: n = new Mt(e.config.resolve) } = e, o = ts(t, r || "/");
|
|
19212
19214
|
return yd({
|
|
19213
19215
|
document: o,
|
|
@@ -19221,7 +19223,7 @@ function di(e) {
|
|
|
19221
19223
|
}
|
|
19222
19224
|
const wr = /* @__PURE__ */ new Map(), Zn = "v";
|
|
19223
19225
|
let Ps = 0, tp = !1;
|
|
19224
|
-
function
|
|
19226
|
+
function VA() {
|
|
19225
19227
|
wo.registerHooks({
|
|
19226
19228
|
// `specifier` — raw import string (e.g. './utils.js', 'node:util').
|
|
19227
19229
|
// `context` — { parentURL, conditions, importAttributes }.
|
|
@@ -19238,29 +19240,29 @@ function zA() {
|
|
|
19238
19240
|
}
|
|
19239
19241
|
});
|
|
19240
19242
|
}
|
|
19241
|
-
function
|
|
19243
|
+
function HA() {
|
|
19242
19244
|
if (!tp) {
|
|
19243
19245
|
if (tp = !0, typeof wo.registerHooks != "function") {
|
|
19244
19246
|
Ae.warn(`Redocly plugin reload requires Node.js >= 22.15 (current: ${process.version}). ESM plugins will not pick up edits until the process restarts.
|
|
19245
19247
|
`);
|
|
19246
19248
|
return;
|
|
19247
19249
|
}
|
|
19248
|
-
|
|
19250
|
+
VA();
|
|
19249
19251
|
}
|
|
19250
19252
|
}
|
|
19251
|
-
function
|
|
19253
|
+
function KA(e) {
|
|
19252
19254
|
return wr.has(e);
|
|
19253
19255
|
}
|
|
19254
|
-
function
|
|
19256
|
+
function WA(e) {
|
|
19255
19257
|
return wr.get(e);
|
|
19256
19258
|
}
|
|
19257
|
-
function
|
|
19259
|
+
function QA(e, t) {
|
|
19258
19260
|
wr.set(e, t);
|
|
19259
19261
|
}
|
|
19260
|
-
function
|
|
19262
|
+
function ZR() {
|
|
19261
19263
|
return Ps;
|
|
19262
19264
|
}
|
|
19263
|
-
function
|
|
19265
|
+
function GA(e) {
|
|
19264
19266
|
const t = wo.createRequire(e), r = /* @__PURE__ */ new Set(), n = (o) => {
|
|
19265
19267
|
if (r.has(o))
|
|
19266
19268
|
return;
|
|
@@ -19274,13 +19276,13 @@ function WA(e) {
|
|
|
19274
19276
|
};
|
|
19275
19277
|
n(e);
|
|
19276
19278
|
}
|
|
19277
|
-
const
|
|
19279
|
+
const e_ = () => {
|
|
19278
19280
|
const e = [...wr.keys()];
|
|
19279
19281
|
for (const t of e)
|
|
19280
|
-
|
|
19281
|
-
wr.clear(), Ps += 1,
|
|
19282
|
+
GA(t);
|
|
19283
|
+
wr.clear(), Ps += 1, HA();
|
|
19282
19284
|
};
|
|
19283
|
-
async function
|
|
19285
|
+
async function YA(e) {
|
|
19284
19286
|
const t = (void 0)(e);
|
|
19285
19287
|
return t.searchParams.set(Zn, String(Ps)), import(
|
|
19286
19288
|
/* webpackIgnore: true */
|
|
@@ -19288,7 +19290,7 @@ async function QA(e) {
|
|
|
19288
19290
|
);
|
|
19289
19291
|
}
|
|
19290
19292
|
async function gd({ rawConfigDocument: e, configPath: t, externalRefResolver: r, customExtends: n, skipPluginEval: o }) {
|
|
19291
|
-
const i = e === void 0 ?
|
|
19293
|
+
const i = e === void 0 ? cP : e.parsed;
|
|
19292
19294
|
if (n !== void 0 && ne(i) && (i.extends = n), ne(i) && (i?.extends?.some(di) || i?.scorecardClassic?.levels?.some((h) => h?.extends?.some(di)) || i?.scorecard?.levels?.some((h) => h?.extends?.some(di))))
|
|
19293
19295
|
throw new Error("Configuration format not detected in extends: values must be strings.");
|
|
19294
19296
|
const a = e ?? {
|
|
@@ -19300,8 +19302,8 @@ async function gd({ rawConfigDocument: e, configPath: t, externalRefResolver: r,
|
|
|
19300
19302
|
externalRefResolver: r ?? new Mt(iu(i?.resolve))
|
|
19301
19303
|
});
|
|
19302
19304
|
let p = [], u, f = "";
|
|
19303
|
-
rt ? u = [...(i?.plugins || []).filter(($) => !Ke($)), Yc] : (f = Ne.dirname(t ?? ""), p =
|
|
19304
|
-
const m =
|
|
19305
|
+
rt ? u = [...(i?.plugins || []).filter(($) => !Ke($)), Yc] : (f = Ne.dirname(t ?? ""), p = zA(a, c, f), u = [...await XA(p.map(($) => rp($) ? $.absolutePath : $), f, o), Yc]);
|
|
19306
|
+
const m = BA(a, MA(c), u, o);
|
|
19305
19307
|
m.apis && !o && (m.apis = Object.fromEntries(Object.entries(m.apis).map(([h, $]) => {
|
|
19306
19308
|
const w = md([m, $]);
|
|
19307
19309
|
return [h, { ...$, ...w }];
|
|
@@ -19316,8 +19318,8 @@ async function gd({ rawConfigDocument: e, configPath: t, externalRefResolver: r,
|
|
|
19316
19318
|
plugins: u
|
|
19317
19319
|
};
|
|
19318
19320
|
}
|
|
19319
|
-
function
|
|
19320
|
-
for (const t of
|
|
19321
|
+
function JA(e) {
|
|
19322
|
+
for (const t of lP)
|
|
19321
19323
|
(void 0)(Ne.resolve(e, t));
|
|
19322
19324
|
}
|
|
19323
19325
|
function rp(e) {
|
|
@@ -19344,7 +19346,7 @@ const Xi = (e, t, r) => {
|
|
|
19344
19346
|
throw new Error(`Plugin "${e}" not found.`);
|
|
19345
19347
|
}
|
|
19346
19348
|
};
|
|
19347
|
-
async function
|
|
19349
|
+
async function XA(e, t, r = !1) {
|
|
19348
19350
|
if (!e)
|
|
19349
19351
|
return [];
|
|
19350
19352
|
const n = async (p) => {
|
|
@@ -19352,25 +19354,25 @@ async function YA(e, t, r = !1) {
|
|
|
19352
19354
|
return p;
|
|
19353
19355
|
try {
|
|
19354
19356
|
const u = Ne.isAbsolute(p) ? p : Xi(p, Ne.join(t, yc), t).absolutePath;
|
|
19355
|
-
if (!
|
|
19356
|
-
const f = await
|
|
19357
|
+
if (!KA(u)) {
|
|
19358
|
+
const f = await YA(u), m = f.default || f, y = { contentDir: t }, h = Array.isArray(m) ? m : [m];
|
|
19357
19359
|
for (const S of h)
|
|
19358
19360
|
S?.id && Jc(S) && Ae.info(`Deprecated plugin format detected: ${S.id}
|
|
19359
19361
|
`);
|
|
19360
|
-
const $ = Jc(m) ? m :
|
|
19361
|
-
$ &&
|
|
19362
|
+
const $ = Jc(m) ? m : jA(m) ? await m(y) : await m?.default?.(y), w = Array.isArray($) ? $ : [$];
|
|
19363
|
+
$ && QA(u, w.map((S) => ({
|
|
19362
19364
|
...S,
|
|
19363
19365
|
path: p,
|
|
19364
19366
|
absolutePath: u
|
|
19365
19367
|
})));
|
|
19366
19368
|
}
|
|
19367
|
-
return
|
|
19369
|
+
return WA(u);
|
|
19368
19370
|
} catch (u) {
|
|
19369
19371
|
throw new Error(`Failed to load plugin "${p}": ${u.message}
|
|
19370
19372
|
|
|
19371
19373
|
${u.stack}`);
|
|
19372
19374
|
}
|
|
19373
|
-
}, o = /* @__PURE__ */ new Map(), i =
|
|
19375
|
+
}, o = /* @__PURE__ */ new Map(), i = JA(t);
|
|
19374
19376
|
i && e.push(i);
|
|
19375
19377
|
const a = /* @__PURE__ */ new Set();
|
|
19376
19378
|
if (r) {
|
|
@@ -19440,8 +19442,8 @@ ${u.stack}`);
|
|
|
19440
19442
|
)).filter(nt);
|
|
19441
19443
|
}))).filter(nt).flat();
|
|
19442
19444
|
}
|
|
19443
|
-
function
|
|
19444
|
-
const { pluginId: r, configName: n } =
|
|
19445
|
+
function ZA(e, t) {
|
|
19446
|
+
const { pluginId: r, configName: n } = CA(e), o = t.find((a) => a.id === r);
|
|
19445
19447
|
if (!o)
|
|
19446
19448
|
throw new Error(`Invalid config ${_e.red(e)}: plugin ${r} is not included.`);
|
|
19447
19449
|
const i = o.configs?.[n];
|
|
@@ -19449,7 +19451,7 @@ function JA(e, t) {
|
|
|
19449
19451
|
throw new Error(r ? `Invalid config ${_e.red(e)}: plugin ${r} doesn't export config with name ${n}.` : `Invalid config ${_e.red(e)}: there is no such built-in config.`);
|
|
19450
19452
|
return i;
|
|
19451
19453
|
}
|
|
19452
|
-
function
|
|
19454
|
+
function eR(e, t) {
|
|
19453
19455
|
const r = /* @__PURE__ */ Object.create(null);
|
|
19454
19456
|
for (const n of Object.keys(e)) {
|
|
19455
19457
|
const o = e[n], i = ze(n) ? n : Bp(t, n);
|
|
@@ -19459,11 +19461,11 @@ function XA(e, t) {
|
|
|
19459
19461
|
}
|
|
19460
19462
|
return r;
|
|
19461
19463
|
}
|
|
19462
|
-
async function
|
|
19464
|
+
async function tR(e, t) {
|
|
19463
19465
|
const r = e ? Md(e) : rt ? "" : process.cwd(), n = r ? Bp(r, Hi) : Hi, o = await t.resolveDocument(null, n, !0);
|
|
19464
|
-
return o instanceof Error || !o.parsed ? {} :
|
|
19466
|
+
return o instanceof Error || !o.parsed ? {} : eR(o.parsed || {}, r);
|
|
19465
19467
|
}
|
|
19466
|
-
async function
|
|
19468
|
+
async function t_(e = {}) {
|
|
19467
19469
|
const { configPath: t = void 0, customExtends: r, externalRefResolver: n, skipPluginEval: o } = e, i = n ?? new Mt(), a = t ? await i.resolveDocument(null, t, !0) : void 0;
|
|
19468
19470
|
if (a instanceof Error)
|
|
19469
19471
|
throw a;
|
|
@@ -19473,7 +19475,7 @@ async function ZR(e = {}) {
|
|
|
19473
19475
|
configPath: t,
|
|
19474
19476
|
externalRefResolver: n,
|
|
19475
19477
|
skipPluginEval: o
|
|
19476
|
-
}), f = await
|
|
19478
|
+
}), f = await tR(t, i);
|
|
19477
19479
|
return new ko(c, {
|
|
19478
19480
|
configPath: t,
|
|
19479
19481
|
document: a,
|
|
@@ -19482,9 +19484,9 @@ async function ZR(e = {}) {
|
|
|
19482
19484
|
ignore: f
|
|
19483
19485
|
});
|
|
19484
19486
|
}
|
|
19485
|
-
function
|
|
19487
|
+
function r_(e) {
|
|
19486
19488
|
}
|
|
19487
|
-
async function
|
|
19489
|
+
async function n_(e, { configPath: t, externalRefResolver: r, ignore: n } = {}) {
|
|
19488
19490
|
const i = ts(typeof e == "string" ? e : "", t ?? "");
|
|
19489
19491
|
typeof e != "string" && e && (i.parsed = e);
|
|
19490
19492
|
const { resolvedConfig: a, resolvedRefMap: c, plugins: p } = await gd({
|
|
@@ -19653,7 +19655,7 @@ function kr() {
|
|
|
19653
19655
|
return hi = e, hi;
|
|
19654
19656
|
}
|
|
19655
19657
|
var yi, sp;
|
|
19656
|
-
function
|
|
19658
|
+
function rR() {
|
|
19657
19659
|
if (sp) return yi;
|
|
19658
19660
|
sp = 1;
|
|
19659
19661
|
var e = er(), t = (function() {
|
|
@@ -19792,7 +19794,7 @@ function Ir() {
|
|
|
19792
19794
|
return Kn.Schema = i, Kn;
|
|
19793
19795
|
}
|
|
19794
19796
|
var gi, pp;
|
|
19795
|
-
function
|
|
19797
|
+
function nR() {
|
|
19796
19798
|
if (pp) return gi;
|
|
19797
19799
|
pp = 1;
|
|
19798
19800
|
var e = Qe();
|
|
@@ -19804,7 +19806,7 @@ function tR() {
|
|
|
19804
19806
|
}), gi;
|
|
19805
19807
|
}
|
|
19806
19808
|
var bi, lp;
|
|
19807
|
-
function
|
|
19809
|
+
function oR() {
|
|
19808
19810
|
if (lp) return bi;
|
|
19809
19811
|
lp = 1;
|
|
19810
19812
|
var e = Qe();
|
|
@@ -19816,7 +19818,7 @@ function rR() {
|
|
|
19816
19818
|
}), bi;
|
|
19817
19819
|
}
|
|
19818
19820
|
var vi, up;
|
|
19819
|
-
function
|
|
19821
|
+
function iR() {
|
|
19820
19822
|
if (up) return vi;
|
|
19821
19823
|
up = 1;
|
|
19822
19824
|
var e = Qe();
|
|
@@ -19828,20 +19830,20 @@ function nR() {
|
|
|
19828
19830
|
}), vi;
|
|
19829
19831
|
}
|
|
19830
19832
|
var wi, dp;
|
|
19831
|
-
function
|
|
19833
|
+
function sR() {
|
|
19832
19834
|
if (dp) return wi;
|
|
19833
19835
|
dp = 1;
|
|
19834
19836
|
var e = Ir();
|
|
19835
19837
|
return wi = new e.Schema({
|
|
19836
19838
|
explicit: [
|
|
19837
|
-
|
|
19838
|
-
|
|
19839
|
-
|
|
19839
|
+
nR(),
|
|
19840
|
+
oR(),
|
|
19841
|
+
iR()
|
|
19840
19842
|
]
|
|
19841
19843
|
}), wi;
|
|
19842
19844
|
}
|
|
19843
19845
|
var xi, fp;
|
|
19844
|
-
function
|
|
19846
|
+
function aR() {
|
|
19845
19847
|
if (fp) return xi;
|
|
19846
19848
|
fp = 1;
|
|
19847
19849
|
var e = Qe();
|
|
@@ -19880,7 +19882,7 @@ function iR() {
|
|
|
19880
19882
|
}), xi;
|
|
19881
19883
|
}
|
|
19882
19884
|
var Si, mp;
|
|
19883
|
-
function
|
|
19885
|
+
function cR() {
|
|
19884
19886
|
if (mp) return Si;
|
|
19885
19887
|
mp = 1;
|
|
19886
19888
|
var e = Qe();
|
|
@@ -19916,7 +19918,7 @@ function sR() {
|
|
|
19916
19918
|
}), Si;
|
|
19917
19919
|
}
|
|
19918
19920
|
var Pi, hp;
|
|
19919
|
-
function
|
|
19921
|
+
function pR() {
|
|
19920
19922
|
if (hp) return Pi;
|
|
19921
19923
|
hp = 1;
|
|
19922
19924
|
var e = er(), t = Qe();
|
|
@@ -20014,7 +20016,7 @@ function aR() {
|
|
|
20014
20016
|
}), Pi;
|
|
20015
20017
|
}
|
|
20016
20018
|
var Ei, yp;
|
|
20017
|
-
function
|
|
20019
|
+
function lR() {
|
|
20018
20020
|
if (yp) return Ei;
|
|
20019
20021
|
yp = 1;
|
|
20020
20022
|
var e = er(), t = Qe(), r = new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)\\.[0-9_]*(?:[eE][-+][0-9]+)?|\\.[0-9_]+(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
|
|
@@ -20074,35 +20076,35 @@ function cR() {
|
|
|
20074
20076
|
}), Ei;
|
|
20075
20077
|
}
|
|
20076
20078
|
var $i, gp;
|
|
20077
|
-
function
|
|
20079
|
+
function uR() {
|
|
20078
20080
|
if (gp) return $i;
|
|
20079
20081
|
gp = 1;
|
|
20080
20082
|
var e = Ir();
|
|
20081
20083
|
return $i = new e.Schema({
|
|
20082
20084
|
include: [
|
|
20083
|
-
|
|
20085
|
+
sR()
|
|
20084
20086
|
],
|
|
20085
20087
|
implicit: [
|
|
20086
|
-
iR(),
|
|
20087
|
-
sR(),
|
|
20088
20088
|
aR(),
|
|
20089
|
-
cR()
|
|
20089
|
+
cR(),
|
|
20090
|
+
pR(),
|
|
20091
|
+
lR()
|
|
20090
20092
|
]
|
|
20091
20093
|
}), $i;
|
|
20092
20094
|
}
|
|
20093
20095
|
var Ai, bp;
|
|
20094
|
-
function
|
|
20096
|
+
function dR() {
|
|
20095
20097
|
if (bp) return Ai;
|
|
20096
20098
|
bp = 1;
|
|
20097
20099
|
var e = Ir();
|
|
20098
20100
|
return Ai = new e.Schema({
|
|
20099
20101
|
include: [
|
|
20100
|
-
|
|
20102
|
+
uR()
|
|
20101
20103
|
]
|
|
20102
20104
|
}), Ai;
|
|
20103
20105
|
}
|
|
20104
20106
|
var Ri, vp;
|
|
20105
|
-
function
|
|
20107
|
+
function fR() {
|
|
20106
20108
|
if (vp) return Ri;
|
|
20107
20109
|
vp = 1;
|
|
20108
20110
|
var e = Qe(), t = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?)?$");
|
|
@@ -20137,7 +20139,7 @@ function uR() {
|
|
|
20137
20139
|
}), Ri;
|
|
20138
20140
|
}
|
|
20139
20141
|
var _i, wp;
|
|
20140
|
-
function
|
|
20142
|
+
function mR() {
|
|
20141
20143
|
if (wp) return _i;
|
|
20142
20144
|
wp = 1;
|
|
20143
20145
|
var e = Qe();
|
|
@@ -20150,7 +20152,7 @@ function dR() {
|
|
|
20150
20152
|
}), _i;
|
|
20151
20153
|
}
|
|
20152
20154
|
var Ti = {}, ar = {}, xp;
|
|
20153
|
-
function
|
|
20155
|
+
function hR() {
|
|
20154
20156
|
if (xp) return ar;
|
|
20155
20157
|
xp = 1, ar.byteLength = c, ar.toByteArray = u, ar.fromByteArray = y;
|
|
20156
20158
|
for (var e = [], t = [], r = typeof Uint8Array < "u" ? Uint8Array : Array, n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", o = 0, i = n.length; o < i; ++o)
|
|
@@ -20199,7 +20201,7 @@ function fR() {
|
|
|
20199
20201
|
}
|
|
20200
20202
|
var Qn = {};
|
|
20201
20203
|
var Sp;
|
|
20202
|
-
function
|
|
20204
|
+
function yR() {
|
|
20203
20205
|
return Sp || (Sp = 1, Qn.read = function(e, t, r, n, o) {
|
|
20204
20206
|
var i, a, c = o * 8 - n - 1, p = (1 << c) - 1, u = p >> 1, f = -7, m = r ? o - 1 : 0, y = r ? -1 : 1, h = e[t + m];
|
|
20205
20207
|
for (m += y, i = h & (1 << -f) - 1, h >>= -f, f += c; f > 0; i = i * 256 + e[t + m], m += y, f -= 8)
|
|
@@ -20224,9 +20226,9 @@ function mR() {
|
|
|
20224
20226
|
}), Qn;
|
|
20225
20227
|
}
|
|
20226
20228
|
var Pp;
|
|
20227
|
-
function
|
|
20229
|
+
function gR() {
|
|
20228
20230
|
return Pp || (Pp = 1, (function(e) {
|
|
20229
|
-
const t =
|
|
20231
|
+
const t = hR(), r = yR(), n = typeof Symbol == "function" && typeof Symbol.for == "function" ? /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom") : null;
|
|
20230
20232
|
e.Buffer = c, e.SlowBuffer = x, e.INSPECT_MAX_BYTES = 50;
|
|
20231
20233
|
const o = 2147483647;
|
|
20232
20234
|
e.kMaxLength = o, c.TYPED_ARRAY_SUPPORT = i(), !c.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
|
|
@@ -21165,10 +21167,10 @@ function hR() {
|
|
|
21165
21167
|
})(Ti)), Ti;
|
|
21166
21168
|
}
|
|
21167
21169
|
var Oi, Ep;
|
|
21168
|
-
function
|
|
21170
|
+
function bR() {
|
|
21169
21171
|
if (Ep) return Oi;
|
|
21170
21172
|
Ep = 1;
|
|
21171
|
-
var e =
|
|
21173
|
+
var e = gR().Buffer, t = Qe(), r = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
21172
21174
|
\r`;
|
|
21173
21175
|
function n(c) {
|
|
21174
21176
|
if (c === null)
|
|
@@ -21206,7 +21208,7 @@ function yR() {
|
|
|
21206
21208
|
}), Oi;
|
|
21207
21209
|
}
|
|
21208
21210
|
var ki, $p;
|
|
21209
|
-
function
|
|
21211
|
+
function vR() {
|
|
21210
21212
|
if ($p) return ki;
|
|
21211
21213
|
$p = 1;
|
|
21212
21214
|
var e = Qe(), t = Object.prototype.hasOwnProperty, r = Object.prototype.toString;
|
|
@@ -21242,7 +21244,7 @@ function gR() {
|
|
|
21242
21244
|
}), ki;
|
|
21243
21245
|
}
|
|
21244
21246
|
var Ii, Ap;
|
|
21245
|
-
function
|
|
21247
|
+
function wR() {
|
|
21246
21248
|
if (Ap) return Ii;
|
|
21247
21249
|
Ap = 1;
|
|
21248
21250
|
var e = Qe(), t = zo(), r = Object.prototype.toString;
|
|
@@ -21274,7 +21276,7 @@ function bR() {
|
|
|
21274
21276
|
}), Ii;
|
|
21275
21277
|
}
|
|
21276
21278
|
var qi, Rp;
|
|
21277
|
-
function
|
|
21279
|
+
function xR() {
|
|
21278
21280
|
if (Rp) return qi;
|
|
21279
21281
|
Rp = 1;
|
|
21280
21282
|
var e = Qe(), t = zo();
|
|
@@ -21296,23 +21298,23 @@ function Es() {
|
|
|
21296
21298
|
_p = 1;
|
|
21297
21299
|
var e = Ir(), t = new e.Schema({
|
|
21298
21300
|
include: [
|
|
21299
|
-
|
|
21301
|
+
dR()
|
|
21300
21302
|
],
|
|
21301
21303
|
implicit: [
|
|
21302
|
-
|
|
21303
|
-
|
|
21304
|
+
fR(),
|
|
21305
|
+
mR()
|
|
21304
21306
|
],
|
|
21305
21307
|
explicit: [
|
|
21306
|
-
yR(),
|
|
21307
|
-
gR(),
|
|
21308
21308
|
bR(),
|
|
21309
|
-
vR()
|
|
21309
|
+
vR(),
|
|
21310
|
+
wR(),
|
|
21311
|
+
xR()
|
|
21310
21312
|
]
|
|
21311
21313
|
});
|
|
21312
21314
|
return Ci = t, Ci;
|
|
21313
21315
|
}
|
|
21314
21316
|
var Mi, Tp;
|
|
21315
|
-
function
|
|
21317
|
+
function SR() {
|
|
21316
21318
|
if (Tp) return Mi;
|
|
21317
21319
|
Tp = 1;
|
|
21318
21320
|
var e = Qe();
|
|
@@ -21336,7 +21338,7 @@ function wR() {
|
|
|
21336
21338
|
}), Mi;
|
|
21337
21339
|
}
|
|
21338
21340
|
var ji, Op;
|
|
21339
|
-
function
|
|
21341
|
+
function PR() {
|
|
21340
21342
|
if (Op) return ji;
|
|
21341
21343
|
Op = 1;
|
|
21342
21344
|
var e = Qe();
|
|
@@ -21384,17 +21386,17 @@ function vd() {
|
|
|
21384
21386
|
Es()
|
|
21385
21387
|
],
|
|
21386
21388
|
explicit: [
|
|
21387
|
-
|
|
21388
|
-
|
|
21389
|
+
SR(),
|
|
21390
|
+
PR()
|
|
21389
21391
|
]
|
|
21390
21392
|
});
|
|
21391
21393
|
return e.Schema.DEFAULT = t, Di = t, Di;
|
|
21392
21394
|
}
|
|
21393
21395
|
var Ip;
|
|
21394
|
-
function
|
|
21396
|
+
function ER() {
|
|
21395
21397
|
if (Ip) return at;
|
|
21396
21398
|
Ip = 1, Object.defineProperty(at, "__esModule", { value: !0 });
|
|
21397
|
-
var e = zo(), t = er(), r = kr(), n =
|
|
21399
|
+
var e = zo(), t = er(), r = kr(), n = rR(), o = Es(), i = vd(), a = Object.prototype.hasOwnProperty, c = 1, p = 2, u = 3, f = 4, m = 1, y = 2, h = 3, $ = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, w = /[\x85\u2028\u2029]/, S = /[,\[\]\{\}]/, E = /^(?:!|!!|![a-z\-]+!)$/i, x = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
21398
21400
|
function v(s) {
|
|
21399
21401
|
return s === 10 || s === 13;
|
|
21400
21402
|
}
|
|
@@ -21888,7 +21890,7 @@ function SR() {
|
|
|
21888
21890
|
return at.safeLoad = De, at.loadAll = ce, at.load = le, at.safeLoadAll = ve, at.safeLoad = De, at;
|
|
21889
21891
|
}
|
|
21890
21892
|
var cr = {}, qp;
|
|
21891
|
-
function
|
|
21893
|
+
function $R() {
|
|
21892
21894
|
if (qp) return cr;
|
|
21893
21895
|
qp = 1, Object.defineProperty(cr, "__esModule", { value: !0 });
|
|
21894
21896
|
var e = er(), t = kr(), r = vd(), n = Es(), o = Object.prototype.toString, i = Object.prototype.hasOwnProperty, a = 9, c = 10, p = 13, u = 32, f = 33, m = 34, y = 35, h = 37, $ = 38, w = 39, S = 42, E = 44, x = 45, v = 58, _ = 62, g = 63, O = 64, C = 91, z = 93, B = 96, W = 123, G = 124, oe = 125, K = {};
|
|
@@ -22133,7 +22135,7 @@ function PR() {
|
|
|
22133
22135
|
return cr.safeDump = ge, cr;
|
|
22134
22136
|
}
|
|
22135
22137
|
var Ni = {}, Cp;
|
|
22136
|
-
function
|
|
22138
|
+
function AR() {
|
|
22137
22139
|
return Cp || (Cp = 1, (function(e) {
|
|
22138
22140
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
22139
22141
|
function t(c) {
|
|
@@ -22190,24 +22192,24 @@ function ER() {
|
|
|
22190
22192
|
})(Ni)), Ni;
|
|
22191
22193
|
}
|
|
22192
22194
|
var Mp;
|
|
22193
|
-
function
|
|
22195
|
+
function RR() {
|
|
22194
22196
|
return Mp || (Mp = 1, (function(e) {
|
|
22195
22197
|
function t(o) {
|
|
22196
22198
|
for (var i in o) e.hasOwnProperty(i) || (e[i] = o[i]);
|
|
22197
22199
|
}
|
|
22198
22200
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
22199
|
-
var r =
|
|
22201
|
+
var r = ER();
|
|
22200
22202
|
e.load = r.load, e.loadAll = r.loadAll, e.safeLoad = r.safeLoad, e.safeLoadAll = r.safeLoadAll;
|
|
22201
|
-
var n =
|
|
22202
|
-
e.dump = n.dump, e.safeDump = n.safeDump, e.YAMLException = kr(), t(zo()), t(
|
|
22203
|
+
var n = $R();
|
|
22204
|
+
e.dump = n.dump, e.safeDump = n.safeDump, e.YAMLException = kr(), t(zo()), t(AR());
|
|
22203
22205
|
})(fi)), fi;
|
|
22204
22206
|
}
|
|
22205
|
-
var ur =
|
|
22206
|
-
const
|
|
22207
|
+
var ur = RR();
|
|
22208
|
+
const _R = 150, TR = 3;
|
|
22207
22209
|
function jp(e, t) {
|
|
22208
22210
|
Ki.enabled = t;
|
|
22209
22211
|
const { start: r, end: n = { line: r.line, col: r.col + 1 }, source: o } = e, i = o.getLines(), a = r.line, c = Math.max(Math.min(n.line, i.length), r.line);
|
|
22210
|
-
let p = Math.max(c - a -
|
|
22212
|
+
let p = Math.max(c - a - TR + 1, 0);
|
|
22211
22213
|
p < 2 && (p = 0);
|
|
22212
22214
|
const u = [];
|
|
22213
22215
|
let f = 0;
|
|
@@ -22223,7 +22225,7 @@ function jp(e, t) {
|
|
|
22223
22225
|
]), u.push([
|
|
22224
22226
|
`${c}`,
|
|
22225
22227
|
m(i[c - 1], -1, n.col - 1, _e.red)
|
|
22226
|
-
]), t || u.push(["", Dp(i[c - 1], -1, n.col - 1)])),
|
|
22228
|
+
]), t || u.push(["", Dp(i[c - 1], -1, n.col - 1)])), OR([
|
|
22227
22229
|
[`${a - 2}`, m(i[a - 1 - 2])],
|
|
22228
22230
|
[`${a - 1}`, m(i[a - 1 - 1])],
|
|
22229
22231
|
...u,
|
|
@@ -22234,12 +22236,12 @@ function jp(e, t) {
|
|
|
22234
22236
|
return !t || !y ? y : (h === -1 && (h = bo(y)), $ = Math.min($, y.length), y.substr(0, h) + w(y.substring(h, $)) + y.substr($));
|
|
22235
22237
|
}
|
|
22236
22238
|
}
|
|
22237
|
-
function
|
|
22239
|
+
function OR(e) {
|
|
22238
22240
|
const t = e.filter(([o, i]) => i !== void 0), r = Math.max(...t.map(([o]) => o.length)), n = Math.min(...t.map(([o, i]) => i === "" ? 1 / 0 : bo(i)));
|
|
22239
|
-
return t.map(([o, i]) => _e.gray(
|
|
22241
|
+
return t.map(([o, i]) => _e.gray(IR(r, o) + " |") + (i ? " " + kR(i.substring(n)) : "")).join(`
|
|
22240
22242
|
`);
|
|
22241
22243
|
}
|
|
22242
|
-
function
|
|
22244
|
+
function kR(e, t = _R) {
|
|
22243
22245
|
const r = e.length - t;
|
|
22244
22246
|
if (r > 0) {
|
|
22245
22247
|
const n = _e.gray(`...<${r} chars>`);
|
|
@@ -22253,7 +22255,7 @@ function Dp(e, t = -1, r = 1 / 0) {
|
|
|
22253
22255
|
function $s(e) {
|
|
22254
22256
|
return " ".repeat(e);
|
|
22255
22257
|
}
|
|
22256
|
-
function
|
|
22258
|
+
function IR(e, t) {
|
|
22257
22259
|
return $s(e - t.length) + t;
|
|
22258
22260
|
}
|
|
22259
22261
|
function bo(e) {
|
|
@@ -22262,17 +22264,17 @@ function bo(e) {
|
|
|
22262
22264
|
return t;
|
|
22263
22265
|
return e.length;
|
|
22264
22266
|
}
|
|
22265
|
-
function
|
|
22267
|
+
function xt(e) {
|
|
22266
22268
|
if (e.pointer === void 0)
|
|
22267
22269
|
return e;
|
|
22268
|
-
const { source: t, pointer: r, reportOnKey: n } = e, o = t.getAst(ur.safeLoad), i =
|
|
22270
|
+
const { source: t, pointer: r, reportOnKey: n } = e, o = t.getAst(ur.safeLoad), i = CR(o, r, !!n);
|
|
22269
22271
|
return {
|
|
22270
22272
|
...e,
|
|
22271
22273
|
pointer: void 0,
|
|
22272
|
-
...
|
|
22274
|
+
...qR(t.body, i?.startPosition ?? 1, i?.endPosition ?? 1)
|
|
22273
22275
|
};
|
|
22274
22276
|
}
|
|
22275
|
-
function
|
|
22277
|
+
function qR(e, t, r) {
|
|
22276
22278
|
let n = 1, o = 1, i = { line: 1, col: 1 };
|
|
22277
22279
|
for (let c = 0; c < r - 1; c++) {
|
|
22278
22280
|
if (c === t - 1 && (i = { line: n, col: o + 1 }), e[c] === `
|
|
@@ -22285,7 +22287,7 @@ function kR(e, t, r) {
|
|
|
22285
22287
|
const a = t === r ? { ...i } : { line: n, col: o + 1 };
|
|
22286
22288
|
return { start: i, end: a };
|
|
22287
22289
|
}
|
|
22288
|
-
function
|
|
22290
|
+
function CR(e, t, r) {
|
|
22289
22291
|
const n = jd(t.substr(2));
|
|
22290
22292
|
if (e === void 0)
|
|
22291
22293
|
return;
|
|
@@ -22308,7 +22310,7 @@ function IR(e, t, r) {
|
|
|
22308
22310
|
} else
|
|
22309
22311
|
return o;
|
|
22310
22312
|
}
|
|
22311
|
-
const
|
|
22313
|
+
const MR = {
|
|
22312
22314
|
INVALID_SEVERITY_LEVEL: "Invalid severity level; accepted values: error or warn"
|
|
22313
22315
|
}, Np = {
|
|
22314
22316
|
warn: (e) => _e.bgYellow(_e.black(e)),
|
|
@@ -22319,14 +22321,14 @@ const qR = {
|
|
|
22319
22321
|
}, Bt = {
|
|
22320
22322
|
warn: "Warning",
|
|
22321
22323
|
error: "Error"
|
|
22322
|
-
},
|
|
22324
|
+
}, jR = {
|
|
22323
22325
|
error: "critical",
|
|
22324
22326
|
warn: "minor"
|
|
22325
|
-
},
|
|
22327
|
+
}, DR = +(Vp.REDOCLY_CLI_LINT_MAX_SUGGESTIONS ?? 5);
|
|
22326
22328
|
function vo(e) {
|
|
22327
22329
|
return e === "error" ? 1 : 2;
|
|
22328
22330
|
}
|
|
22329
|
-
function
|
|
22331
|
+
function NR(e) {
|
|
22330
22332
|
let t = 0, r = 0, n = 0;
|
|
22331
22333
|
for (const o of e) {
|
|
22332
22334
|
if (o.ignored) {
|
|
@@ -22341,8 +22343,8 @@ function jR(e) {
|
|
|
22341
22343
|
ignored: n
|
|
22342
22344
|
};
|
|
22343
22345
|
}
|
|
22344
|
-
function
|
|
22345
|
-
const { maxProblems: r = 100, cwd: n = rt ? "" : process.cwd(), format: o = "codeframe", color: i = Ki.enabled, totals: a =
|
|
22346
|
+
function i_(e, t) {
|
|
22347
|
+
const { maxProblems: r = 100, cwd: n = rt ? "" : process.cwd(), format: o = "codeframe", color: i = Ki.enabled, totals: a = NR(e), version: c = "2.0", command: p } = t;
|
|
22346
22348
|
Ki.enabled = i;
|
|
22347
22349
|
const u = e.length;
|
|
22348
22350
|
e = e.filter((v) => !v.ignored);
|
|
@@ -22435,16 +22437,16 @@ Errors: ${a.errors}
|
|
|
22435
22437
|
m();
|
|
22436
22438
|
break;
|
|
22437
22439
|
case "summary":
|
|
22438
|
-
|
|
22440
|
+
LR(e);
|
|
22439
22441
|
break;
|
|
22440
22442
|
case "github-actions":
|
|
22441
|
-
|
|
22443
|
+
FR(e, n);
|
|
22442
22444
|
}
|
|
22443
22445
|
u - f > r && Ae.info(`< ... ${u - r} more problems hidden > ${_e.gray("increase with `--max-problems N`")}
|
|
22444
22446
|
`);
|
|
22445
22447
|
function m() {
|
|
22446
22448
|
const v = e.map((_) => {
|
|
22447
|
-
const g = _.location[0], O =
|
|
22449
|
+
const g = _.location[0], O = xt(g);
|
|
22448
22450
|
return {
|
|
22449
22451
|
description: _.message,
|
|
22450
22452
|
location: {
|
|
@@ -22453,7 +22455,7 @@ Errors: ${a.errors}
|
|
|
22453
22455
|
begin: O.start.line
|
|
22454
22456
|
}
|
|
22455
22457
|
},
|
|
22456
|
-
severity:
|
|
22458
|
+
severity: jR[_.severity],
|
|
22457
22459
|
fingerprint: `${_.ruleId}${_.location.length > 0 ? "-" + _.location[0].pointer : ""}`
|
|
22458
22460
|
};
|
|
22459
22461
|
});
|
|
@@ -22466,12 +22468,17 @@ Errors: ${a.errors}
|
|
|
22466
22468
|
problems: e.map((_) => {
|
|
22467
22469
|
const g = {
|
|
22468
22470
|
..._,
|
|
22469
|
-
location: _.location.map((O) =>
|
|
22470
|
-
|
|
22471
|
-
|
|
22472
|
-
|
|
22473
|
-
|
|
22474
|
-
|
|
22471
|
+
location: _.location.map((O) => {
|
|
22472
|
+
const { start: C, end: z } = xt(O);
|
|
22473
|
+
return {
|
|
22474
|
+
...O,
|
|
22475
|
+
start: C,
|
|
22476
|
+
end: z,
|
|
22477
|
+
source: {
|
|
22478
|
+
ref: ze(O.source.absoluteRef) ? O.source.absoluteRef : Ne.relative(n, O.source.absoluteRef)
|
|
22479
|
+
}
|
|
22480
|
+
};
|
|
22481
|
+
}),
|
|
22475
22482
|
from: _.from ? {
|
|
22476
22483
|
..._.from,
|
|
22477
22484
|
source: {
|
|
@@ -22480,7 +22487,7 @@ Errors: ${a.errors}
|
|
|
22480
22487
|
} : void 0
|
|
22481
22488
|
};
|
|
22482
22489
|
if (Vp.FORMAT_JSON_WITH_CODEFRAMES) {
|
|
22483
|
-
const O = _.location[0], C =
|
|
22490
|
+
const O = _.location[0], C = xt(O);
|
|
22484
22491
|
g.codeframe = jp(C, i);
|
|
22485
22492
|
}
|
|
22486
22493
|
return g;
|
|
@@ -22491,18 +22498,18 @@ Errors: ${a.errors}
|
|
|
22491
22498
|
function h(v) {
|
|
22492
22499
|
const { severity: _ } = v;
|
|
22493
22500
|
if (!Np[_])
|
|
22494
|
-
throw new Error(
|
|
22501
|
+
throw new Error(MR.INVALID_SEVERITY_LEVEL);
|
|
22495
22502
|
return Np[_];
|
|
22496
22503
|
}
|
|
22497
22504
|
function $(v, _) {
|
|
22498
|
-
const g = h(v), O = v.location[0], C = ze(O.source.absoluteRef) ? O.source.absoluteRef : Ne.relative(n, O.source.absoluteRef), z =
|
|
22505
|
+
const g = h(v), O = v.location[0], C = ze(O.source.absoluteRef) ? O.source.absoluteRef : Ne.relative(n, O.source.absoluteRef), z = xt(O), B = O.pointer ? _e.gray(`at ${O.pointer}`) : "", W = `${C}:${z.start.line}:${z.start.col}`;
|
|
22499
22506
|
return `[${_ + 1}] ${g(W)} ${B}
|
|
22500
22507
|
|
|
22501
22508
|
${v.message}
|
|
22502
22509
|
|
|
22503
22510
|
` + xd(v) + jp(z, i) + `
|
|
22504
22511
|
|
|
22505
|
-
` +
|
|
22512
|
+
` + UR(n, v.from) + `${Bt[v.severity]} was generated by the ${_e.blue(v.ruleId)} rule.
|
|
22506
22513
|
|
|
22507
22514
|
` + (v.reference ? `Reference: ${_e.blue(v.reference)}
|
|
22508
22515
|
|
|
@@ -22528,7 +22535,7 @@ ${v.message}
|
|
|
22528
22535
|
`);
|
|
22529
22536
|
}
|
|
22530
22537
|
function x(v, _) {
|
|
22531
|
-
const g = v.location[0], { start: O } =
|
|
22538
|
+
const g = v.location[0], { start: O } = xt(g), C = v.severity === "error" ? "error" : "failure", z = pt(v.ruleId), B = pt(v.message), W = [
|
|
22532
22539
|
`Rule: ${z}`,
|
|
22533
22540
|
`Severity: ${pt(v.severity)}`,
|
|
22534
22541
|
`File: ${pt(_)}`,
|
|
@@ -22542,7 +22549,7 @@ ${v.message}
|
|
|
22542
22549
|
`);
|
|
22543
22550
|
}
|
|
22544
22551
|
}
|
|
22545
|
-
function
|
|
22552
|
+
function LR(e) {
|
|
22546
22553
|
const t = {};
|
|
22547
22554
|
for (const n of e)
|
|
22548
22555
|
t[n.ruleId] = t[n.ruleId] || { count: 0, severity: n.severity }, t[n.ruleId].count++;
|
|
@@ -22555,10 +22562,10 @@ function DR(e) {
|
|
|
22555
22562
|
Ae.output(`
|
|
22556
22563
|
`);
|
|
22557
22564
|
}
|
|
22558
|
-
function
|
|
22565
|
+
function UR(e, t) {
|
|
22559
22566
|
if (!t)
|
|
22560
22567
|
return "";
|
|
22561
|
-
const r = Ne.relative(e, t.source.absoluteRef), n =
|
|
22568
|
+
const r = Ne.relative(e, t.source.absoluteRef), n = xt(t), o = `${r}:${n.start.line}:${n.start.col}`, i = t.pointer ? _e.gray(`at ${t.pointer}`) : "";
|
|
22562
22569
|
return `referenced from ${_e.blue(o)} ${i}
|
|
22563
22570
|
|
|
22564
22571
|
`;
|
|
@@ -22567,7 +22574,7 @@ function xd(e) {
|
|
|
22567
22574
|
return e.suggest.length === 0 ? "" : e.suggest.length === 1 ? `Did you mean: ${e.suggest[0]} ?
|
|
22568
22575
|
|
|
22569
22576
|
` : `Did you mean:
|
|
22570
|
-
- ${e.suggest.slice(0,
|
|
22577
|
+
- ${e.suggest.slice(0, DR).join(`
|
|
22571
22578
|
- `)}
|
|
22572
22579
|
|
|
22573
22580
|
`;
|
|
@@ -22581,7 +22588,7 @@ const Li = (e) => {
|
|
|
22581
22588
|
ruleIdPad: 0,
|
|
22582
22589
|
locationPad: 0
|
|
22583
22590
|
};
|
|
22584
|
-
const o = { ...r, location: r.location.map(
|
|
22591
|
+
const o = { ...r, location: r.location.map(xt) };
|
|
22585
22592
|
t[n].fileProblems.push(o), t[n].ruleIdPad = Math.max(r.ruleId.length, t[n].ruleIdPad), t[n].locationPad = Math.max(Math.max(...o.location.map((i) => `${i.start.line}:${i.start.col}`.length)), t[n].locationPad);
|
|
22586
22593
|
}
|
|
22587
22594
|
return t;
|
|
@@ -22604,9 +22611,9 @@ function pt(e) {
|
|
|
22604
22611
|
}
|
|
22605
22612
|
});
|
|
22606
22613
|
}
|
|
22607
|
-
function
|
|
22614
|
+
function FR(e, t) {
|
|
22608
22615
|
for (const a of e)
|
|
22609
|
-
for (const c of a.location.map(
|
|
22616
|
+
for (const c of a.location.map(xt)) {
|
|
22610
22617
|
let p;
|
|
22611
22618
|
switch (a.severity) {
|
|
22612
22619
|
case "error":
|
|
@@ -22644,11 +22651,11 @@ function LR(e, t) {
|
|
|
22644
22651
|
return n(a).replace(/%/g, "%25").replace(/\r/g, "%0D").replace(/\n/g, "%0A").replace(/:/g, "%3A").replace(/,/g, "%2C");
|
|
22645
22652
|
}
|
|
22646
22653
|
}
|
|
22647
|
-
const { theme:
|
|
22654
|
+
const { theme: s_, ...zR } = Eo.properties, BR = {
|
|
22648
22655
|
...Eo,
|
|
22649
|
-
properties:
|
|
22656
|
+
properties: zR
|
|
22650
22657
|
};
|
|
22651
|
-
async function
|
|
22658
|
+
async function a_(e) {
|
|
22652
22659
|
const { ref: t, externalRefResolver: r = new Mt(e.config.resolve) } = e, n = await r.resolveDocument(null, t, !0);
|
|
22653
22660
|
return e.collectSpecData?.(n), Sd({
|
|
22654
22661
|
document: n,
|
|
@@ -22656,7 +22663,7 @@ async function i_(e) {
|
|
|
22656
22663
|
externalRefResolver: r
|
|
22657
22664
|
});
|
|
22658
22665
|
}
|
|
22659
|
-
async function
|
|
22666
|
+
async function c_(e) {
|
|
22660
22667
|
const { source: t, absoluteRef: r, externalRefResolver: n = new Mt(e.config.resolve) } = e, o = ts(t, r || "/");
|
|
22661
22668
|
return Sd({
|
|
22662
22669
|
document: o,
|
|
@@ -22667,7 +22674,7 @@ async function s_(e) {
|
|
|
22667
22674
|
async function Sd(e) {
|
|
22668
22675
|
const { document: t, customTypes: r, externalRefResolver: n, config: o } = e;
|
|
22669
22676
|
if (Dd(t.source.absoluteRef)) {
|
|
22670
|
-
const { lintGraphqlDocument: h } = await import("./replay-lint-graphql-
|
|
22677
|
+
const { lintGraphqlDocument: h } = await import("./replay-lint-graphql-DeG9a5xu.js");
|
|
22671
22678
|
return h({ document: t, config: o });
|
|
22672
22679
|
}
|
|
22673
22680
|
const i = Or(t.parsed), a = o.getRulesForSpecVersion(_u(i)), c = xo(o.extendTypes(r ?? $o(i), i), o), p = {
|
|
@@ -22681,10 +22688,10 @@ async function Sd(e) {
|
|
|
22681
22688
|
rootType: c.Root,
|
|
22682
22689
|
externalRefResolver: n
|
|
22683
22690
|
});
|
|
22684
|
-
u.length > 0 && (
|
|
22691
|
+
u.length > 0 && (Et({
|
|
22685
22692
|
document: t,
|
|
22686
22693
|
rootType: c.Root,
|
|
22687
|
-
normalizedVisitors:
|
|
22694
|
+
normalizedVisitors: Pt(u, c),
|
|
22688
22695
|
resolvedRefMap: m,
|
|
22689
22696
|
ctx: p
|
|
22690
22697
|
}), m = await It({
|
|
@@ -22692,8 +22699,8 @@ async function Sd(e) {
|
|
|
22692
22699
|
rootType: c.Root,
|
|
22693
22700
|
externalRefResolver: n
|
|
22694
22701
|
}));
|
|
22695
|
-
const y =
|
|
22696
|
-
return
|
|
22702
|
+
const y = Pt(f, c);
|
|
22703
|
+
return Et({
|
|
22697
22704
|
document: t,
|
|
22698
22705
|
rootType: c.Root,
|
|
22699
22706
|
normalizedVisitors: y,
|
|
@@ -22701,7 +22708,7 @@ async function Sd(e) {
|
|
|
22701
22708
|
ctx: p
|
|
22702
22709
|
}), p.problems.map((h) => o.addProblemToIgnore(h));
|
|
22703
22710
|
}
|
|
22704
|
-
async function
|
|
22711
|
+
async function p_(e) {
|
|
22705
22712
|
const { severity: t, externalRefResolver: r = new Mt(), config: n } = e;
|
|
22706
22713
|
if (!n.document)
|
|
22707
22714
|
throw new Error("Config document is not set.");
|
|
@@ -22710,23 +22717,23 @@ async function a_(e) {
|
|
|
22710
22717
|
specVersion: "config",
|
|
22711
22718
|
config: n,
|
|
22712
22719
|
visitorsData: {}
|
|
22713
|
-
}, i = xo(e.externalConfigTypes || ru(
|
|
22720
|
+
}, i = xo(e.externalConfigTypes || ru(BR, n)), a = [
|
|
22714
22721
|
{
|
|
22715
22722
|
severity: t || "error",
|
|
22716
22723
|
ruleId: "configuration struct",
|
|
22717
|
-
visitor:
|
|
22724
|
+
visitor: Rt()
|
|
22718
22725
|
},
|
|
22719
22726
|
{
|
|
22720
22727
|
severity: t || "error",
|
|
22721
22728
|
ruleId: "configuration no-unresolved-refs",
|
|
22722
|
-
visitor:
|
|
22729
|
+
visitor: At()
|
|
22723
22730
|
}
|
|
22724
|
-
], c =
|
|
22731
|
+
], c = Pt(a, i), p = n.resolvedRefMap || await It({
|
|
22725
22732
|
rootDocument: n.document,
|
|
22726
22733
|
rootType: i.ConfigRoot,
|
|
22727
22734
|
externalRefResolver: r
|
|
22728
22735
|
});
|
|
22729
|
-
return
|
|
22736
|
+
return Et({
|
|
22730
22737
|
document: n.document,
|
|
22731
22738
|
rootType: i.ConfigRoot,
|
|
22732
22739
|
normalizedVisitors: c,
|
|
@@ -22735,69 +22742,69 @@ async function a_(e) {
|
|
|
22735
22742
|
}), o.problems;
|
|
22736
22743
|
}
|
|
22737
22744
|
export {
|
|
22738
|
-
|
|
22745
|
+
p_ as $,
|
|
22739
22746
|
jt as A,
|
|
22740
|
-
|
|
22747
|
+
yd as B,
|
|
22741
22748
|
nu as C,
|
|
22742
|
-
|
|
22749
|
+
WR as D,
|
|
22743
22750
|
XR as E,
|
|
22744
|
-
|
|
22745
|
-
|
|
22746
|
-
|
|
22747
|
-
|
|
22748
|
-
|
|
22749
|
-
|
|
22750
|
-
|
|
22751
|
-
|
|
22752
|
-
|
|
22751
|
+
e_ as F,
|
|
22752
|
+
ru as G,
|
|
22753
|
+
Or as H,
|
|
22754
|
+
pP as I,
|
|
22755
|
+
r_ as J,
|
|
22756
|
+
i_ as K,
|
|
22757
|
+
CR as L,
|
|
22758
|
+
jp as M,
|
|
22759
|
+
At as N,
|
|
22753
22760
|
bf as O,
|
|
22754
22761
|
ou as P,
|
|
22755
|
-
|
|
22756
|
-
|
|
22757
|
-
|
|
22758
|
-
|
|
22759
|
-
|
|
22760
|
-
|
|
22761
|
-
|
|
22762
|
-
|
|
22763
|
-
|
|
22764
|
-
|
|
22765
|
-
|
|
22762
|
+
xt as Q,
|
|
22763
|
+
_u as R,
|
|
22764
|
+
Rt as S,
|
|
22765
|
+
ZR as T,
|
|
22766
|
+
NR as U,
|
|
22767
|
+
$o as V,
|
|
22768
|
+
eo as W,
|
|
22769
|
+
Ke as X,
|
|
22770
|
+
Hp as Y,
|
|
22771
|
+
a_ as Z,
|
|
22772
|
+
QR as _,
|
|
22766
22773
|
fr as a,
|
|
22767
|
-
|
|
22768
|
-
|
|
22769
|
-
|
|
22774
|
+
c_ as a0,
|
|
22775
|
+
t_ as a1,
|
|
22776
|
+
tR as a2,
|
|
22770
22777
|
Ae as a3,
|
|
22771
22778
|
ep as a4,
|
|
22772
|
-
|
|
22779
|
+
KR as a5,
|
|
22773
22780
|
Yn as a6,
|
|
22774
|
-
|
|
22781
|
+
XA as a7,
|
|
22775
22782
|
zd as a8,
|
|
22776
22783
|
pt as a9,
|
|
22777
22784
|
Xl as aa,
|
|
22778
22785
|
We as b,
|
|
22779
|
-
|
|
22780
|
-
|
|
22786
|
+
n_ as c,
|
|
22787
|
+
$t as d,
|
|
22781
22788
|
tb as e,
|
|
22782
22789
|
Ly as f,
|
|
22783
|
-
|
|
22790
|
+
ES as g,
|
|
22784
22791
|
pg as h,
|
|
22785
22792
|
po as i,
|
|
22786
22793
|
yc as j,
|
|
22787
22794
|
ko as k,
|
|
22788
22795
|
Sd as l,
|
|
22789
|
-
|
|
22790
|
-
|
|
22791
|
-
|
|
22796
|
+
aP as m,
|
|
22797
|
+
Pt as n,
|
|
22798
|
+
YR as o,
|
|
22792
22799
|
cP as p,
|
|
22793
|
-
|
|
22794
|
-
|
|
22795
|
-
|
|
22800
|
+
lP as q,
|
|
22801
|
+
Hi as r,
|
|
22802
|
+
ut as s,
|
|
22796
22803
|
Ue as t,
|
|
22797
|
-
|
|
22798
|
-
|
|
22799
|
-
|
|
22800
|
-
|
|
22801
|
-
|
|
22802
|
-
|
|
22804
|
+
ke as u,
|
|
22805
|
+
He as v,
|
|
22806
|
+
Et as w,
|
|
22807
|
+
Sb as x,
|
|
22808
|
+
sb as y,
|
|
22809
|
+
JR as z
|
|
22803
22810
|
};
|