@clarify-labs/renderer 0.11.23 → 0.11.24
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/output/{ClarifyShell-CMVVhs5d.js → ClarifyShell-BY7ufELe.js} +2 -2
- package/output/{ClarifyShell-CMVVhs5d.js.map → ClarifyShell-BY7ufELe.js.map} +1 -1
- package/output/{ClarifyShell-BCM0tKfd.cjs → ClarifyShell-BYJ3LIy_.cjs} +2 -2
- package/output/{ClarifyShell-BCM0tKfd.cjs.map → ClarifyShell-BYJ3LIy_.cjs.map} +1 -1
- package/output/{OpenApiOperation-CyR9Y-2y.cjs → OpenApiOperation-La7HjfXY.cjs} +7 -6
- package/output/OpenApiOperation-La7HjfXY.cjs.map +1 -0
- package/output/{OpenApiOperation-BVm4VnFl.js → OpenApiOperation-p1OjfdKR.js} +7 -6
- package/output/OpenApiOperation-p1OjfdKR.js.map +1 -0
- package/output/{PageActions-B98vbZRP.js → PageActions-DAdtjf4H.js} +3 -3
- package/output/PageActions-DAdtjf4H.js.map +1 -0
- package/output/{PageActions-IpmtuInV.cjs → PageActions-kJT0EKLS.cjs} +3 -3
- package/output/PageActions-kJT0EKLS.cjs.map +1 -0
- package/output/{SearchDialog-wjtpnKYS.cjs → SearchDialog-BBSj23yI.cjs} +2 -2
- package/output/{SearchDialog-wjtpnKYS.cjs.map → SearchDialog-BBSj23yI.cjs.map} +1 -1
- package/output/{SearchDialog-B4MS3QuJ.js → SearchDialog-DW_bndWO.js} +2 -2
- package/output/{SearchDialog-B4MS3QuJ.js.map → SearchDialog-DW_bndWO.js.map} +1 -1
- package/output/client.cjs +3 -3
- package/output/client.js +3 -3
- package/output/index.cjs +12 -8
- package/output/index.cjs.map +1 -1
- package/output/index.js +12 -8
- package/output/index.js.map +1 -1
- package/output/openapi/entry.d.ts +2 -0
- package/output/preview.cjs +2 -2
- package/output/preview.js +2 -2
- package/output/{render-CobBuz3I.cjs → render-BXsYCBIp.cjs} +2 -2
- package/output/{render-CobBuz3I.cjs.map → render-BXsYCBIp.cjs.map} +1 -1
- package/output/{render-D0qt6K1G.js → render-DU9Jt4WC.js} +2 -2
- package/output/{render-D0qt6K1G.js.map → render-DU9Jt4WC.js.map} +1 -1
- package/output/renderer.css +10 -7
- package/output/server.cjs +2 -2
- package/output/server.js +2 -2
- package/package.json +1 -1
- package/output/OpenApiOperation-BVm4VnFl.js.map +0 -1
- package/output/OpenApiOperation-CyR9Y-2y.cjs.map +0 -1
- package/output/PageActions-B98vbZRP.js.map +0 -1
- package/output/PageActions-IpmtuInV.cjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as useConfig, l as useLocale, o as useConfigOptional, t as useBuiltInText } from "./i18n-Bt-OaKRP.js";
|
|
2
|
-
import { c as useSectionStore, d as resolveLucideIconName, g as localizeHref, h as isExternalHref, l as remToPx, m as useTheme, o as DeprecatedBadge, t as PageActions, u as lucideIconRegistry, y as copyTextToClipboard } from "./PageActions-
|
|
2
|
+
import { c as useSectionStore, d as resolveLucideIconName, g as localizeHref, h as isExternalHref, l as remToPx, m as useTheme, o as DeprecatedBadge, t as PageActions, u as lucideIconRegistry, y as copyTextToClipboard } from "./PageActions-DAdtjf4H.js";
|
|
3
3
|
import { t as markdownRemarkPlugins } from "./remark-C9iRQM0R.js";
|
|
4
4
|
import { Children, Suspense, cloneElement, createContext, createElement, forwardRef, isValidElement, lazy, useContext, useEffect, useId, useLayoutEffect, useRef, useState } from "react";
|
|
5
5
|
import { Link } from "react-router-dom";
|
|
@@ -1851,13 +1851,14 @@ function listOpenApiOperations(spec, operationOrder) {
|
|
|
1851
1851
|
const paths = spec.paths ?? {};
|
|
1852
1852
|
const webhooks = spec.webhooks;
|
|
1853
1853
|
const operations = [...listOperationsFromPathItems(paths, "path", spec), ...isRecord(webhooks) ? listOperationsFromPathItems(webhooks, "webhook", spec) : []];
|
|
1854
|
-
|
|
1855
|
-
const
|
|
1854
|
+
const orderByOperationId = new Map((operationOrder ?? []).map((operationId, index) => [operationId, index]));
|
|
1855
|
+
const fallbackOrder = operationOrder?.length ?? 0;
|
|
1856
1856
|
return operations.map((entry, index) => ({
|
|
1857
1857
|
entry,
|
|
1858
1858
|
index,
|
|
1859
|
-
|
|
1860
|
-
|
|
1859
|
+
deprecated: entry.operation.deprecated === true ? 1 : 0,
|
|
1860
|
+
order: entry.operation.operationId ? orderByOperationId.get(entry.operation.operationId) ?? fallbackOrder : fallbackOrder
|
|
1861
|
+
})).sort((left, right) => left.deprecated - right.deprecated || left.order - right.order || left.index - right.index).map(({ entry }) => entry);
|
|
1861
1862
|
}
|
|
1862
1863
|
//#endregion
|
|
1863
1864
|
//#region source/openapi/components/EndpointMethodBadge.tsx
|
|
@@ -5757,4 +5758,4 @@ function OpenApiOperation(arg0) {
|
|
|
5757
5758
|
//#endregion
|
|
5758
5759
|
export { Heading as A, Callout as B, Tabs as C, GridPattern as D, Prose as E, CodeGroup as F, LocalizedLink as H, Pre as I, Mermaid as L, Feedback as M, Collapse as N, HeroPattern as O, Code as P, Card as R, TabItem as S, Steps as T, Button as V, Markdown as _, ResponseExamplesPanel as a, primitives_exports as b, getAuthOptions as c, EndpointMethodBadge as d, getOpenApiOperationEntryById as f, getRequestBody$1 as g, getMediaTypeEntries as h, RequestExamplesPanel as i, Tag as j, Logo as k, getServerKey as l, listOpenApiOperations as m, OpenApiOperation as n, authPlaceholder as o, getOpenApiOperationSectionId as p, OpenApiRequestWorkbench as r, defaultServerVariables as s, EndpointIdentity as t, getServers as u, Release as v, Step as w, WebFrame as x, ReleaseItem as y, CardGroup as z };
|
|
5759
5760
|
|
|
5760
|
-
//# sourceMappingURL=OpenApiOperation-
|
|
5761
|
+
//# sourceMappingURL=OpenApiOperation-p1OjfdKR.js.map
|