@mintlify/msft-sdk 1.1.24 → 1.1.25
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/api-playground/ApiPlayground/Request/PlaygroundModal.js +46 -45
- package/dist/api-playground/ApiPlayground/Request/PlaygroundModal.js.map +1 -1
- package/dist/api-playground/ApiPlayground/Request/index.js +18 -18
- package/dist/api-playground/ApiPlayground/Request/index.js.map +1 -1
- package/dist/api-playground/ApiPlayground/components/EndpointsMenu.js +20 -21
- package/dist/api-playground/ApiPlayground/components/EndpointsMenu.js.map +1 -1
- package/dist/api-playground/ApiPlayground/components/EndpointsMenuLink.js +10 -11
- package/dist/api-playground/ApiPlayground/components/EndpointsMenuLink.js.map +1 -1
- package/dist/api-playground/ApiPlayground/index.js +30 -30
- package/dist/api-playground/ApiPlayground/index.js.map +1 -1
- package/dist/api-playground-2/constants/index.js +12 -3
- package/dist/api-playground-2/constants/index.js.map +1 -1
- package/dist/api-playground-2/schemaGraph/addUniqueKeysToSchema.js +41 -0
- package/dist/api-playground-2/schemaGraph/addUniqueKeysToSchema.js.map +1 -0
- package/dist/api-playground-2/schemaGraph/errors.js +19 -0
- package/dist/api-playground-2/schemaGraph/errors.js.map +1 -0
- package/dist/api-playground-2/schemaGraph/getApiReferenceDataFromGraph.js +26 -0
- package/dist/api-playground-2/schemaGraph/getApiReferenceDataFromGraph.js.map +1 -0
- package/dist/api-playground-2/schemaGraph/getDocumentProperties.js +58 -0
- package/dist/api-playground-2/schemaGraph/getDocumentProperties.js.map +1 -0
- package/dist/api-playground-2/schemaGraph/getSchemaGraphOperationData.js +77 -0
- package/dist/api-playground-2/schemaGraph/getSchemaGraphOperationData.js.map +1 -0
- package/dist/api-playground-2/schemaGraph/getSchemaGraphSchemaData.js +16 -0
- package/dist/api-playground-2/schemaGraph/getSchemaGraphSchemaData.js.map +1 -0
- package/dist/api-playground-2/schemaGraph/processExamples.js +111 -34
- package/dist/api-playground-2/schemaGraph/processExamples.js.map +1 -1
- package/dist/api-playground-2/schemaGraph/reduceCompositions.js +283 -0
- package/dist/api-playground-2/schemaGraph/reduceCompositions.js.map +1 -0
- package/dist/api-playground-2/schemaGraph/resolveGraphNode.js +61 -0
- package/dist/api-playground-2/schemaGraph/resolveGraphNode.js.map +1 -0
- package/dist/api-playground-2/schemaGraph/resolveOperationWithDependencies.js +149 -0
- package/dist/api-playground-2/schemaGraph/resolveOperationWithDependencies.js.map +1 -0
- package/dist/api-playground-2/schemaGraph/resolveSchemaWithDependencies.js +33 -0
- package/dist/api-playground-2/schemaGraph/resolveSchemaWithDependencies.js.map +1 -0
- package/dist/api-playground-2/schemaGraph/sortSchemaByRequired.js +35 -0
- package/dist/api-playground-2/schemaGraph/sortSchemaByRequired.js.map +1 -0
- package/dist/api-playground-2/schemaGraph/utils.js +144 -98
- package/dist/api-playground-2/schemaGraph/utils.js.map +1 -1
- package/dist/common/parseApiTargetFromMetadata.js +24 -0
- package/dist/common/parseApiTargetFromMetadata.js.map +1 -0
- package/dist/common/parseOpenApiString.js +42 -0
- package/dist/common/parseOpenApiString.js.map +1 -0
- package/dist/components/Api/ApiReferenceProvider.js +6 -15
- package/dist/components/Api/ApiReferenceProvider.js.map +1 -1
- package/dist/components/nav-tree/index.js +135 -109
- package/dist/components/nav-tree/index.js.map +1 -1
- package/dist/contexts/ConfigContext.js +61 -12
- package/dist/contexts/ConfigContext.js.map +1 -1
- package/dist/contexts/MDXContentContext.js +0 -1
- package/dist/contexts/MDXContentContext.js.map +1 -1
- package/dist/index.d.ts +125 -9
- package/dist/index.js +156 -144
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/hooks/useCurrentPath.js +0 -17
- package/dist/hooks/useCurrentPath.js.map +0 -1
- package/dist/utils/decodeSlug.js +0 -8
- package/dist/utils/decodeSlug.js.map +0 -1
- package/dist/utils/optionallyAddLeadingSlash.js +0 -7
- package/dist/utils/optionallyAddLeadingSlash.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,154 +1,166 @@
|
|
|
1
1
|
import { DocsPage as r } from "./components/docsPage.js";
|
|
2
2
|
import { DocsLayout as p } from "./components/docsLayout.js";
|
|
3
3
|
import { MDXRenderer as a } from "./components/mdx-renderer.js";
|
|
4
|
-
import { PlainTextPage as
|
|
5
|
-
import { createDefaultComponents as l, defaultComponents as
|
|
6
|
-
import { ComponentsProvider as
|
|
7
|
-
import { NavTree as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
4
|
+
import { PlainTextPage as n } from "./components/plain-text-page.js";
|
|
5
|
+
import { createDefaultComponents as l, defaultComponents as i } from "./components/content-components/default-components.js";
|
|
6
|
+
import { ComponentsProvider as s, useComponents as C } from "./context/components-context.js";
|
|
7
|
+
import { NavTree as P } from "./components/nav-tree/index.js";
|
|
8
|
+
import { useApiReference as c } from "./components/Api/ApiReferenceProvider.js";
|
|
9
|
+
import { ApiReferenceContext as T, ApiReferenceContext2 as b, ApiReferenceProvider as v, ApiReferenceProvider2 as A, DeploymentMetadataContext as H, DeploymentMetadataProvider as h, DocsConfigContext as D, DocsConfigProvider as R, PageContext as M, PageProvider as k } from "./contexts/ConfigContext.js";
|
|
10
|
+
import { TableOfContents as w } from "./components/toc/index.js";
|
|
11
|
+
import { PivotAwareTOC as I } from "./components/toc/pivot-aware-toc.js";
|
|
12
|
+
import { PageContextMenu as E } from "./components/page-context-menu.js";
|
|
13
|
+
import { copyMarkdownToClipboard as O, getPageMarkdown as Z, useMarkdownCopy as z } from "./hooks/useMarkdownCopy.js";
|
|
14
|
+
import { generateLlmsFullTxt as q, generateLlmsTxt as G } from "./utils/generate-llms-txt.js";
|
|
15
|
+
import { getNodeText as W } from "./utils/get-node-text.js";
|
|
16
|
+
import { capitalize as j } from "./utils/string.js";
|
|
17
|
+
import { cn as Q } from "./utils/cn.js";
|
|
18
|
+
import { getClassNames as V, getTextContent as Y, isElement as _ } from "./utils/rehype.js";
|
|
19
|
+
import { convertHtmlToMdx as ee } from "./parser/convert-html-to-mdx.js";
|
|
20
|
+
import { serializeMdx as re } from "./parser/serialize-mdx.js";
|
|
21
|
+
import { extractHeadings as pe } from "./plugins/extract-headings.js";
|
|
22
|
+
import { rehypeRemoveHtmlComments as ae, removeHtmlComments as xe } from "./plugins/sanitize/remove-html-comments.js";
|
|
23
|
+
import { Api as fe } from "./api-playground-2/Api.js";
|
|
24
|
+
import { OperationPage as ie } from "./api-playground-2/OperationPage.js";
|
|
25
|
+
import { SchemaPage as se } from "./api-playground-2/SchemaPage.js";
|
|
26
|
+
import { ApiExamples as ge } from "./api-playground-2/ApiExamples.js";
|
|
27
|
+
import { ApiFields as ue } from "./api-playground-2/ApiFields.js";
|
|
28
|
+
import { Playground as ye } from "./api-playground-2/Playground.js";
|
|
29
|
+
import { EndpointHeader as be } from "./api-playground-2/EndpointHeader.js";
|
|
30
|
+
import { ApiPlaygroundContext as Ae } from "./api-playground-2/contexts/ApiPlaygroundContext.js";
|
|
31
|
+
import { usePlaygroundInputsStore as he, useSelectedSecurityOption as De } from "./api-playground-2/hooks/usePlaygroundInputsStore.js";
|
|
32
|
+
import { useSendPlaygroundRequest as Me } from "./api-playground-2/hooks/useSendPlaygroundRequest.js";
|
|
33
|
+
import { useInitializeInputs as Se } from "./api-playground-2/hooks/useInitializeInputs.js";
|
|
34
|
+
import { useCopyPathWithInputs as Fe } from "./api-playground-2/hooks/useCopyPathWithInputs.js";
|
|
35
|
+
import { addApiReferenceDataFromMdxAndDocsConfig as Ne } from "./api-playground-2/schemaGraph/addApiReferenceDataFromMdxAndDocsConfig.js";
|
|
36
|
+
import { processSecurityOptions as Le } from "./api-playground-2/schemaGraph/processSecurityOptions.js";
|
|
37
|
+
import { getApiReferenceDataFromGraph as Ze } from "./api-playground-2/schemaGraph/getApiReferenceDataFromGraph.js";
|
|
38
|
+
import { ApiPlayground as Be } from "./api-playground/ApiPlayground/index.js";
|
|
39
|
+
import { ApiPlaygroundContext as Ge } from "./api-playground/ApiPlayground/ApiPlaygroundContext.js";
|
|
40
|
+
import { default as We } from "./api-playground/EndpointFields/index.js";
|
|
41
|
+
import { CodeBlock as je } from "./components/content-components/code-block.js";
|
|
42
|
+
import { Heading as Qe } from "./components/content-components/heading.js";
|
|
43
|
+
import { Link as Ve } from "./components/content-components/link.js";
|
|
44
|
+
import { Callout as _e } from "./components/content-components/callouts.js";
|
|
45
|
+
import { ZonePivot as eo } from "./components/content-components/zone-pivots/zone-pivot.js";
|
|
46
|
+
import { ZoneTarget as ro } from "./components/content-components/zone-pivots/zone-target.js";
|
|
47
|
+
import { ZonePivotProvider as po } from "./components/content-components/zone-pivots/zone-pivot-context.js";
|
|
48
|
+
import { ZonePivotSelector as ao } from "./components/content-components/zone-pivots/zone-pivot-selector.js";
|
|
49
|
+
import { ParamName as no } from "./components/content-components/param-name.js";
|
|
50
|
+
import { Tabs as lo } from "./components/content-components/tabs/tabs.js";
|
|
51
|
+
import { Tab as so } from "./components/content-components/tabs/tab.js";
|
|
52
|
+
import { Details as go, Summary as Po } from "./components/content-components/details/details.js";
|
|
53
|
+
import { Table as co, TableBody as yo, TableCaption as To, TableCell as bo, TableFooter as vo, TableHead as Ao, TableHeader as Ho, TableRow as ho } from "./components/content-components/table/index.js";
|
|
54
|
+
import { allComponents as Ro } from "./components/content-components/all-components.js";
|
|
55
|
+
import { Home as ko } from "./components/content-components/home.js";
|
|
56
|
+
import { MobileNavTree as wo } from "./components/nav-tree/mobile-nav.js";
|
|
57
|
+
import { rehypeCodeblocks as Io } from "./plugins/rehype/rehype-code-blocks.js";
|
|
58
|
+
import { remarkHeadingIds as Eo } from "./plugins/remark/remark-heading-ids.js";
|
|
59
|
+
import { sanitizePreTags as Oo } from "./plugins/sanitize/rehype-pre-to-mdx-fence.js";
|
|
60
|
+
import { rehypeCallouts as zo } from "./plugins/sanitize/rehype-callouts.js";
|
|
61
|
+
import { rehypeParamName as qo } from "./plugins/sanitize/rehype-param-name.js";
|
|
62
|
+
import { rehypeTabs as Jo } from "./plugins/sanitize/rehype-tabs.js";
|
|
63
|
+
import { rehypeDetails as Xo } from "./plugins/sanitize/rehype-details.js";
|
|
64
|
+
import { rehypeHeadingIds as Ko } from "./plugins/sanitize/rehype-heading-ids.js";
|
|
65
|
+
import { rehypeZonePivots as Uo } from "./plugins/sanitize/rehype-zone-pivots.js";
|
|
66
|
+
import { mdxJsxFlowElementHandler as Yo, rehypeRemark as _o } from "./plugins/sanitize/rehype-remark.js";
|
|
67
|
+
import { tableCellHandler as er, tableHandler as or, tableRowHandler as rr } from "./plugins/sanitize/rehype-table-align.js";
|
|
66
68
|
export {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
69
|
+
fe as Api,
|
|
70
|
+
ge as ApiExamples,
|
|
71
|
+
ue as ApiFields,
|
|
72
|
+
Be as ApiPlayground,
|
|
73
|
+
Ae as ApiPlaygroundContext,
|
|
74
|
+
Ge as ApiPlaygroundContextLegacy,
|
|
75
|
+
T as ApiReferenceContext,
|
|
76
|
+
b as ApiReferenceContext2,
|
|
77
|
+
v as ApiReferenceProvider,
|
|
78
|
+
A as ApiReferenceProvider2,
|
|
79
|
+
_e as Callout,
|
|
80
|
+
je as CodeBlock,
|
|
81
|
+
s as ComponentsProvider,
|
|
82
|
+
H as DeploymentMetadataContext,
|
|
83
|
+
h as DeploymentMetadataProvider,
|
|
84
|
+
go as Details,
|
|
85
|
+
D as DocsConfigContext,
|
|
86
|
+
R as DocsConfigProvider,
|
|
78
87
|
p as DocsLayout,
|
|
79
88
|
r as DocsPage,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
89
|
+
We as EndpointFields,
|
|
90
|
+
be as EndpointHeader,
|
|
91
|
+
Qe as Heading,
|
|
92
|
+
ko as Home,
|
|
93
|
+
Ve as Link,
|
|
85
94
|
a as MDXRenderer,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
95
|
+
wo as MobileNavTree,
|
|
96
|
+
P as NavTree,
|
|
97
|
+
ie as OperationPage,
|
|
98
|
+
M as PageContext,
|
|
99
|
+
E as PageContextMenu,
|
|
100
|
+
k as PageProvider,
|
|
101
|
+
no as ParamName,
|
|
102
|
+
I as PivotAwareTOC,
|
|
103
|
+
n as PlainTextPage,
|
|
104
|
+
ye as Playground,
|
|
105
|
+
se as SchemaPage,
|
|
106
|
+
Po as Summary,
|
|
107
|
+
so as Tab,
|
|
108
|
+
co as Table,
|
|
109
|
+
yo as TableBody,
|
|
110
|
+
To as TableCaption,
|
|
111
|
+
bo as TableCell,
|
|
112
|
+
vo as TableFooter,
|
|
113
|
+
Ao as TableHead,
|
|
114
|
+
Ho as TableHeader,
|
|
115
|
+
w as TableOfContents,
|
|
116
|
+
ho as TableRow,
|
|
117
|
+
lo as Tabs,
|
|
118
|
+
eo as ZonePivot,
|
|
119
|
+
po as ZonePivotProvider,
|
|
120
|
+
ao as ZonePivotSelector,
|
|
121
|
+
ro as ZoneTarget,
|
|
122
|
+
Ne as addApiReferenceDataFromMdxAndDocsConfig,
|
|
123
|
+
Ro as allComponents,
|
|
124
|
+
j as capitalize,
|
|
125
|
+
Q as cn,
|
|
126
|
+
ee as convertHtmlToMdx,
|
|
127
|
+
O as copyMarkdownToClipboard,
|
|
117
128
|
l as createDefaultComponents,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
Io as
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
129
|
+
i as defaultComponents,
|
|
130
|
+
pe as extractHeadings,
|
|
131
|
+
q as generateLlmsFullTxt,
|
|
132
|
+
G as generateLlmsTxt,
|
|
133
|
+
Ze as getApiReferenceDataFromGraph,
|
|
134
|
+
V as getClassNames,
|
|
135
|
+
W as getNodeText,
|
|
136
|
+
Z as getPageMarkdown,
|
|
137
|
+
Y as getTextContent,
|
|
138
|
+
_ as isElement,
|
|
139
|
+
Yo as mdxJsxFlowElementHandler,
|
|
140
|
+
Le as processSecurityOptions,
|
|
141
|
+
zo as rehypeCallouts,
|
|
142
|
+
Io as rehypeCodeblocks,
|
|
143
|
+
Xo as rehypeDetails,
|
|
144
|
+
Ko as rehypeHeadingIds,
|
|
145
|
+
qo as rehypeParamName,
|
|
146
|
+
_o as rehypeRemark,
|
|
147
|
+
ae as rehypeRemoveHtmlComments,
|
|
148
|
+
Jo as rehypeTabs,
|
|
149
|
+
Uo as rehypeZonePivots,
|
|
150
|
+
Eo as remarkHeadingIds,
|
|
151
|
+
xe as removeHtmlComments,
|
|
152
|
+
Oo as sanitizePreTags,
|
|
153
|
+
re as serializeMdx,
|
|
154
|
+
er as tableCellHandler,
|
|
155
|
+
or as tableHandler,
|
|
156
|
+
rr as tableRowHandler,
|
|
157
|
+
c as useApiReference,
|
|
158
|
+
C as useComponents,
|
|
159
|
+
Fe as useCopyPathWithInputs,
|
|
160
|
+
Se as useInitializeInputs,
|
|
161
|
+
z as useMarkdownCopy,
|
|
162
|
+
he as usePlaygroundInputsStore,
|
|
163
|
+
De as useSelectedSecurityOption,
|
|
164
|
+
Me as useSendPlaygroundRequest
|
|
153
165
|
};
|
|
154
166
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|