@mintlify/msft-sdk 1.1.61 → 1.1.63
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/Response/DownloadFileButton.js +6 -5
- package/dist/api-playground/ApiPlayground/Response/ResponseBody/CodeResponseContent.js +13 -12
- package/dist/api-playground/ApiPlayground/Response/ResponsePlaceholder.js +8 -7
- package/dist/api-playground/ApiPlayground/Response/ResponseTable.js +3 -2
- package/dist/api-playground/ApiPlayground/Response/ResponseTopbar.js +9 -8
- package/dist/api-playground/ApiPlayground/Response/index.js +4 -3
- package/dist/api-playground/ApiPlayground/components/AdditionalPropertyButton.js +42 -21
- package/dist/api-playground/ApiPlayground/components/ParamFieldWrapper.js +13 -9
- package/dist/api-playground/ApiPlayground/components/PlaygroundModalWrapper.js +6 -5
- package/dist/api-playground/ApiPlayground/components/SendPill.js +3 -2
- package/dist/api-playground/ApiPlayground/components/TypeDropdown.js +6 -5
- package/dist/api-playground/EndpointFields/ParamFields/ExampleDescription.js +3 -2
- package/dist/api-playground/EndpointFields/components/Description.js +6 -5
- package/dist/api-playground/EndpointFields/components/OptionDropdown.js +9 -8
- package/dist/api-playground/EndpointFields/components/SectionHeading.js +8 -7
- package/dist/api-playground-2/ApiExamples.js +19 -20
- package/dist/api-playground-2/ApiFields.js +20 -247
- package/dist/api-playground-2/EndpointHeader.js +59 -47
- package/dist/api-playground-2/OperationPage.js +70 -66
- package/dist/api-playground-2/Playground.js +67 -83
- package/dist/api-playground-2/SchemaPage.js +22 -9
- package/dist/api-playground-2/components/EndpointFields/Body.js +40 -0
- package/dist/api-playground-2/components/EndpointFields/Parameters.js +90 -0
- package/dist/api-playground-2/components/EndpointFields/Response.js +146 -0
- package/dist/api-playground-2/components/EndpointFields/Security.js +88 -0
- package/dist/api-playground-2/components/EndpointFields/fields/ArrayParamField.js +93 -0
- package/dist/api-playground-2/components/EndpointFields/fields/Enum.js +29 -11
- package/dist/api-playground-2/components/EndpointFields/fields/ObjectParamField.js +145 -0
- package/dist/api-playground-2/components/EndpointFields/fields/PrimitiveParamField.js +60 -48
- package/dist/api-playground-2/components/EndpointFields/fields/SchemaField.js +230 -0
- package/dist/api-playground-2/components/Example/GeneratedRequestExample.js +93 -89
- package/dist/api-playground-2/components/Example/GeneratedResponseExample.js +18 -17
- package/dist/api-playground-2/components/Example/RequestExample.js +92 -93
- package/dist/api-playground-2/components/Example/ResponseExample.js +19 -15
- package/dist/api-playground-2/components/Request/ParameterSection.js +20 -18
- package/dist/api-playground-2/components/Request/SecuritySection.js +53 -43
- package/dist/api-playground-2/components/Request/inputs/ArrayInput.js +89 -40
- package/dist/api-playground-2/components/Request/inputs/DifferentiatedInput.js +12 -12
- package/dist/api-playground-2/components/Request/inputs/FileInput.js +16 -15
- package/dist/api-playground-2/components/Request/inputs/InputContainer.js +76 -57
- package/dist/api-playground-2/components/Request/inputs/NumberInput.js +10 -9
- package/dist/api-playground-2/components/Request/inputs/ObjectInput.js +98 -80
- package/dist/api-playground-2/components/Request/inputs/OneOfInput.js +55 -47
- package/dist/api-playground-2/components/Request/inputs/SelectInput.js +18 -17
- package/dist/api-playground-2/components/Request/inputs/StringInput.js +19 -18
- package/dist/api-playground-2/components/Request/inputs/TextInput.js +12 -11
- package/dist/api-playground-2/components/SendPillWrapper.js +35 -0
- package/dist/api-playground-2/contexts/ApiPlaygroundContext.js +3 -5
- package/dist/api-playground-2/generators/createCookies.js +23 -0
- package/dist/api-playground-2/generators/createHeaders.js +53 -36
- package/dist/api-playground-2/generators/createQueryString.js +30 -0
- package/dist/api-playground-2/generators/generateAuthPlaceholder.js +14 -0
- package/dist/api-playground-2/generators/generateInteractiveCodeSample.js +27 -25
- package/dist/api-playground-2/generators/generateRequest.js +47 -51
- package/dist/api-playground-2/generators/generateResponseExampleMap.js +15 -11
- package/dist/api-playground-2/generators/generateSnippet.js +1 -1
- package/dist/api-playground-2/generators/generateSnippetMap.js +13 -11
- package/dist/api-playground-2/hooks/useCopyPathWithInputs.js +11 -11
- package/dist/api-playground-2/hooks/useInitializeInputs.js +185 -88
- package/dist/api-playground-2/hooks/usePlaygroundInputsStore.js +70 -25
- package/dist/api-playground-2/hooks/useSelectedBaseUrl.js +13 -0
- package/dist/api-playground-2/hooks/useSelectedExample.js +10 -0
- package/dist/api-playground-2/hooks/useSelectedRequestBodyContentType.js +12 -0
- package/dist/api-playground-2/hooks/useSelectedResponseContentType.js +12 -0
- package/dist/api-playground-2/hooks/useSelectedSecurityOption.js +31 -0
- package/dist/api-playground-2/hooks/useSendPlaygroundRequest.js +114 -101
- package/dist/api-playground-2/schemaGraph/addApiReferenceDataFromMdxAndDocsConfig.js +23 -32
- package/dist/api-playground-2/schemaGraph/addTypeLabelsToSchema.js +50 -0
- package/dist/api-playground-2/schemaGraph/addUniqueKeysToSchema.js +40 -24
- package/dist/api-playground-2/schemaGraph/getExampleBodyInputs.js +94 -0
- package/dist/api-playground-2/schemaGraph/getSchemaGraphOperationData.js +56 -50
- package/dist/api-playground-2/schemaGraph/processExamples.js +117 -52
- package/dist/api-playground-2/schemaGraph/processSchema.js +10 -0
- package/dist/api-playground-2/schemaGraph/processSecurityOptions.js +58 -28
- package/dist/api-playground-2/schemaGraph/reduceCompositions.js +220 -181
- package/dist/api-playground-2/schemaGraph/resolveOperationWithDependencies.js +128 -89
- package/dist/api-playground-2/schemaGraph/resolveSchemaWithDependencies.js +15 -16
- package/dist/api-playground-2/schemaGraph/sortSchemaByRequired.js +14 -12
- package/dist/api-playground-2/schemaGraph/utils.js +185 -147
- package/dist/common/guards.js +11 -19
- package/dist/components/Api/Expandable.js +10 -9
- package/dist/components/Api/Param.js +11 -13
- package/dist/components/Api/dropdown-menu.js +10 -9
- package/dist/components/content-components/code-group.js +4 -4
- package/dist/contexts/EndpointLocationContext.js +3 -3
- package/dist/hooks/useApiParamFieldOption.js +10 -0
- package/dist/hooks/useEndpoint.js +3 -3
- package/dist/hooks/useKeyboardShortcut.js +13 -13
- package/dist/hooks/useSendPlaygroundRequest.js +14 -146
- package/dist/httpsnippet/src/helpers/code-builder.js +27 -0
- package/dist/httpsnippet/src/helpers/escape.js +11 -0
- package/dist/httpsnippet/src/helpers/headers.js +13 -0
- package/dist/httpsnippet/src/helpers/reducer.js +7 -0
- package/dist/httpsnippet/src/helpers/shell.js +5 -0
- package/dist/httpsnippet/src/helpers/url-format.js +35 -0
- package/dist/httpsnippet/src/helpers/url-parse.js +76 -0
- package/dist/httpsnippet/src/index.js +157 -0
- package/dist/httpsnippet/src/targets/c/libcurl/client.js +22 -0
- package/dist/httpsnippet/src/targets/c/target.js +15 -0
- package/dist/httpsnippet/src/targets/clojure/clj_http/client.js +120 -0
- package/dist/httpsnippet/src/targets/clojure/target.js +14 -0
- package/dist/httpsnippet/src/targets/csharp/httpclient/client.js +76 -0
- package/dist/httpsnippet/src/targets/csharp/restsharp/client.js +63 -0
- package/dist/httpsnippet/src/targets/csharp/target.js +17 -0
- package/dist/httpsnippet/src/targets/go/native/client.js +24 -0
- package/dist/httpsnippet/src/targets/go/target.js +15 -0
- package/dist/httpsnippet/src/targets/http/http1.1/client.js +34 -0
- package/dist/httpsnippet/src/targets/http/target.js +14 -0
- package/dist/httpsnippet/src/targets/index.js +43 -0
- package/dist/httpsnippet/src/targets/java/asynchttp/client.js +23 -0
- package/dist/httpsnippet/src/targets/java/nethttp/client.js +28 -0
- package/dist/httpsnippet/src/targets/java/okhttp/client.js +23 -0
- package/dist/httpsnippet/src/targets/java/target.js +20 -0
- package/dist/httpsnippet/src/targets/java/unirest/client.js +23 -0
- package/dist/httpsnippet/src/targets/javascript/axios/client.js +50 -0
- package/dist/httpsnippet/src/targets/javascript/fetch/client.js +61 -0
- package/dist/httpsnippet/src/targets/javascript/jquery/client.js +51 -0
- package/dist/httpsnippet/src/targets/javascript/target.js +20 -0
- package/dist/httpsnippet/src/targets/javascript/xhr/client.js +49 -0
- package/dist/httpsnippet/src/targets/json/native/client.js +39 -0
- package/dist/httpsnippet/src/targets/json/target.js +14 -0
- package/dist/httpsnippet/src/targets/kotlin/okhttp/client.js +23 -0
- package/dist/httpsnippet/src/targets/kotlin/target.js +14 -0
- package/dist/httpsnippet/src/targets/node/axios/client.js +40 -0
- package/dist/httpsnippet/src/targets/node/fetch/client.js +68 -0
- package/dist/httpsnippet/src/targets/node/native/client.js +45 -0
- package/dist/httpsnippet/src/targets/node/target.js +19 -0
- package/dist/httpsnippet/src/targets/objc/helpers.js +27 -0
- package/dist/httpsnippet/src/targets/objc/nsurlsession/client.js +63 -0
- package/dist/httpsnippet/src/targets/objc/target.js +14 -0
- package/dist/httpsnippet/src/targets/ocaml/cohttp/client.js +32 -0
- package/dist/httpsnippet/src/targets/ocaml/target.js +14 -0
- package/dist/httpsnippet/src/targets/php/curl/client.js +85 -0
- package/dist/httpsnippet/src/targets/php/guzzle/client.js +57 -0
- package/dist/httpsnippet/src/targets/php/helpers.js +65 -0
- package/dist/httpsnippet/src/targets/php/http1/client.js +28 -0
- package/dist/httpsnippet/src/targets/php/http2/client.js +55 -0
- package/dist/httpsnippet/src/targets/php/target.js +21 -0
- package/dist/httpsnippet/src/targets/powershell/common.js +19 -0
- package/dist/httpsnippet/src/targets/powershell/restmethod/client.js +14 -0
- package/dist/httpsnippet/src/targets/powershell/target.js +16 -0
- package/dist/httpsnippet/src/targets/powershell/webrequest/client.js +14 -0
- package/dist/httpsnippet/src/targets/python/helpers.js +33 -0
- package/dist/httpsnippet/src/targets/python/requests/client.js +74 -0
- package/dist/httpsnippet/src/targets/python/target.js +15 -0
- package/dist/httpsnippet/src/targets/r/httr/client.js +46 -0
- package/dist/httpsnippet/src/targets/r/target.js +14 -0
- package/dist/httpsnippet/src/targets/ruby/native/client.js +37 -0
- package/dist/httpsnippet/src/targets/ruby/target.js +14 -0
- package/dist/httpsnippet/src/targets/shell/curl/client.js +92 -0
- package/dist/httpsnippet/src/targets/shell/httpie/client.js +56 -0
- package/dist/httpsnippet/src/targets/shell/target.js +19 -0
- package/dist/httpsnippet/src/targets/shell/wget/client.js +30 -0
- package/dist/httpsnippet/src/targets/swift/helpers.js +38 -0
- package/dist/httpsnippet/src/targets/swift/target.js +14 -0
- package/dist/httpsnippet/src/targets/swift/urlsession/client.js +59 -0
- package/dist/index.d.ts +65 -58
- package/dist/index.js +109 -111
- package/dist/openapi/generateTypeStringFromSchema.js +2 -31
- package/dist/styles.css +1 -1
- package/package.json +17 -4
- package/dist/api-playground/ApiPlayground/Request/BodySection.js +0 -64
- package/dist/api-playground/ApiPlayground/Request/ParameterSection.js +0 -32
- package/dist/api-playground/ApiPlayground/Request/PlaygroundModal.js +0 -201
- package/dist/api-playground/ApiPlayground/Request/SecuritySection.js +0 -146
- package/dist/api-playground/ApiPlayground/Request/ServerSection.js +0 -30
- package/dist/api-playground/ApiPlayground/Request/index.js +0 -43
- package/dist/api-playground/ApiPlayground/Request/inputs/ArrayInput.js +0 -93
- package/dist/api-playground/ApiPlayground/Request/inputs/DifferentiatedInput.js +0 -90
- package/dist/api-playground/ApiPlayground/Request/inputs/FileInput.js +0 -62
- package/dist/api-playground/ApiPlayground/Request/inputs/NullInput.js +0 -33
- package/dist/api-playground/ApiPlayground/Request/inputs/NumberInput.js +0 -61
- package/dist/api-playground/ApiPlayground/Request/inputs/ObjectChildren.js +0 -109
- package/dist/api-playground/ApiPlayground/Request/inputs/ObjectInput.js +0 -87
- package/dist/api-playground/ApiPlayground/Request/inputs/RecursiveInput.js +0 -61
- package/dist/api-playground/ApiPlayground/Request/inputs/SelectInput.js +0 -54
- package/dist/api-playground/ApiPlayground/Request/inputs/StringInput.js +0 -67
- package/dist/api-playground/ApiPlayground/Request/inputs/TextInput.js +0 -44
- package/dist/api-playground/ApiPlayground/components/EndpointsMenu.js +0 -42
- package/dist/api-playground/ApiPlayground/components/EndpointsMenuLink.js +0 -43
- package/dist/api-playground/ApiPlayground/components/EndpointsMenuSearch.js +0 -38
- package/dist/api-playground/ApiPlayground/components/InputContainer.js +0 -128
- package/dist/api-playground/ApiPlayground/components/InputSectionContainer.js +0 -59
- package/dist/api-playground/ApiPlayground/components/PathHeader.js +0 -162
- package/dist/api-playground/ApiPlayground/components/TrashButton.js +0 -26
- package/dist/api-playground/ApiPlayground/index.js +0 -67
- package/dist/api-playground/EndpointFields/ParamFields/PrimitiveParamField/Enum.js +0 -19
- package/dist/api-playground/EndpointFields/ParamFields/PrimitiveParamField/NumberMetadata.js +0 -18
- package/dist/api-playground/EndpointFields/ParamFields/PrimitiveParamField/StringMetadata.js +0 -28
- package/dist/api-playground/EndpointFields/ParamFields/PrimitiveParamField/index.js +0 -5
- package/dist/api-playground/EndpointFields/ParamFields/RecursiveParamField.js +0 -13
- package/dist/api-playground/EndpointFields/index.js +0 -7
- package/dist/api-playground-2/components/EndpointFields/EndpointSecurity.js +0 -87
- package/dist/api-playground-2/components/EndpointFields/fields/SimpleArrayParamField.js +0 -89
- package/dist/api-playground-2/components/EndpointFields/fields/SimpleObjectParamField.js +0 -121
- package/dist/api-playground-2/components/EndpointFields/fields/SimplePrimitiveParamField.js +0 -74
- package/dist/api-playground-2/components/EndpointFields/fields/SimpleSchemaField.js +0 -252
- package/dist/common/potentiallyParseOpenApiString.js +0 -24
- package/dist/common/replaceSlashIndex.js +0 -6
- package/dist/common/slugToTitle.js +0 -10
- package/dist/constants/prism-languages.js +0 -19
- package/dist/contexts/ApiPlaygroundInputsContext.js +0 -17
- package/dist/contexts/MDXContentContext.js +0 -17
- package/dist/hooks/useApiPlaygroundInputs.js +0 -6
- package/dist/hooks/useApiPlaygroundPrefillExamples.js +0 -39
- package/dist/hooks/useBaseUrlOptions.js +0 -18
- package/dist/hooks/useComponentSchemas.js +0 -9
- package/dist/hooks/useGenerateNextAdditionalProperties.js +0 -11
- package/dist/hooks/useGenerateNextItems.js +0 -11
- package/dist/hooks/useGenerateNextProperties.js +0 -11
- package/dist/hooks/useMDXContent.js +0 -6
- package/dist/hooks/useMDXContentController/useApiPlaygroundInputs.js +0 -9
- package/dist/hooks/useMDXContentController/useMDXContentCallbacks/useSetApiBaseIndexCallback.js +0 -15
- package/dist/hooks/useMDXContentController/useMDXContentCallbacks/useSetApiPlaygroundInputsCallback.js +0 -15
- package/dist/hooks/usePlaygroundSchemaOptions.js +0 -42
- package/dist/hooks/usePrefilledInputs/index.js +0 -65
- package/dist/hooks/usePrefilledInputs/storedServerVariables.js +0 -29
- package/dist/hooks/useSecurityOption.js +0 -10
- package/dist/hooks/useSetDefaultValue.js +0 -63
- package/dist/openapi/filterEnums.js +0 -20
- package/dist/openapi/generateNextAdditionalProperties.js +0 -7
- package/dist/openapi/generateNextItems.js +0 -7
- package/dist/openapi/generateNextProperties.js +0 -23
- package/dist/openapi/generateOptionLabels.js +0 -20
- package/dist/openapi/generateSimpleLabels.js +0 -4
- package/dist/openapi/getAuthFilteredSchemaArray.js +0 -18
- package/dist/paths/isEqualIgnoringLeadingSlash.js +0 -21
- package/dist/paths/optionallyRemoveLeadingSlash.js +0 -6
- package/dist/paths/optionallyRemoveTrailingSlash.js +0 -6
- package/dist/utils/api-playground/defaults.js +0 -15
- package/dist/utils/api-playground/paramFieldDefaults.js +0 -10
- package/dist/utils/api-reference/getFilteredSecurityOptions.js +0 -4
- package/dist/utils/api-reference/getNextPropertiesByType.js +0 -5
- package/dist/utils/flattenObject.js +0 -10
package/dist/index.js
CHANGED
|
@@ -3,15 +3,15 @@ import { DocsLayout as p } from "./components/docsLayout.js";
|
|
|
3
3
|
import { MDXRenderer as a } from "./components/mdx-renderer.js";
|
|
4
4
|
import { PlainTextPage as n } from "./components/plain-text-page.js";
|
|
5
5
|
import { createDefaultComponents as l, defaultComponents as i } from "./components/content-components/default-components.js";
|
|
6
|
-
import { ComponentsProvider as
|
|
6
|
+
import { ComponentsProvider as d, useComponents as C } from "./context/components-context.js";
|
|
7
7
|
import { NavTree as P } from "./components/nav-tree/index.js";
|
|
8
|
-
import { useApiReference as
|
|
9
|
-
import { ApiReferenceContext as T, ApiReferenceContext2 as b, ApiReferenceProvider as v, ApiReferenceProvider2 as
|
|
8
|
+
import { useApiReference as u } from "./components/Api/ApiReferenceProvider.js";
|
|
9
|
+
import { ApiReferenceContext as T, ApiReferenceContext2 as b, ApiReferenceProvider as v, ApiReferenceProvider2 as h, DeploymentMetadataContext as A, DeploymentMetadataProvider as H, DocsConfigContext as D, DocsConfigProvider as R, PageContext as M, PageProvider as S } from "./contexts/ConfigContext.js";
|
|
10
10
|
import { TableOfContents as w } from "./components/toc/index.js";
|
|
11
|
-
import { PivotAwareTOC as
|
|
11
|
+
import { PivotAwareTOC as F } from "./components/toc/pivot-aware-toc.js";
|
|
12
12
|
import { PageContextMenu as N } from "./components/page-context-menu.js";
|
|
13
|
-
import { copyMarkdownToClipboard as
|
|
14
|
-
import { generateLlmsFullTxt as
|
|
13
|
+
import { copyMarkdownToClipboard as Z, getPageMarkdown as z, useMarkdownCopy as E } from "./hooks/useMarkdownCopy.js";
|
|
14
|
+
import { generateLlmsFullTxt as G, generateLlmsTxt as X } from "./utils/generate-llms-txt.js";
|
|
15
15
|
import { getNodeText as J } from "./utils/get-node-text.js";
|
|
16
16
|
import { capitalize as j } from "./utils/string.js";
|
|
17
17
|
import { cn as Q } from "./utils/cn.js";
|
|
@@ -22,150 +22,148 @@ import { serializeMdx as pe } from "./parser/serialize-mdx.js";
|
|
|
22
22
|
import { extractHeadings as ae } from "./plugins/extract-headings.js";
|
|
23
23
|
import { rehypeRemoveHtmlComments as ne, removeHtmlComments as fe } from "./plugins/sanitize/remove-html-comments.js";
|
|
24
24
|
import { Api as ie } from "./api-playground-2/Api.js";
|
|
25
|
-
import { OperationPage as
|
|
25
|
+
import { OperationPage as de } from "./api-playground-2/OperationPage.js";
|
|
26
26
|
import { SchemaPage as ge } from "./api-playground-2/SchemaPage.js";
|
|
27
|
-
import { ApiExamples as
|
|
27
|
+
import { ApiExamples as ce } from "./api-playground-2/ApiExamples.js";
|
|
28
28
|
import { ApiFields as ye } from "./api-playground-2/ApiFields.js";
|
|
29
29
|
import { Playground as be } from "./api-playground-2/Playground.js";
|
|
30
|
-
import { EndpointHeader as
|
|
31
|
-
import { ApiPlaygroundContext as
|
|
32
|
-
import { usePlaygroundInputsStore as
|
|
33
|
-
import { useSendPlaygroundRequest as
|
|
34
|
-
import { useInitializeInputs as
|
|
30
|
+
import { EndpointHeader as he } from "./api-playground-2/EndpointHeader.js";
|
|
31
|
+
import { ApiPlaygroundContext as He, ApiPlaygroundContext as De } from "./api-playground-2/contexts/ApiPlaygroundContext.js";
|
|
32
|
+
import { usePlaygroundInputsStore as Me } from "./api-playground-2/hooks/usePlaygroundInputsStore.js";
|
|
33
|
+
import { useSendPlaygroundRequest as ke } from "./api-playground-2/hooks/useSendPlaygroundRequest.js";
|
|
34
|
+
import { useInitializeInputs as Le } from "./api-playground-2/hooks/useInitializeInputs.js";
|
|
35
35
|
import { useCopyPathWithInputs as Ie } from "./api-playground-2/hooks/useCopyPathWithInputs.js";
|
|
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 { sanitizePreTags as Xo } from "./plugins/sanitize/rehype-pre-to-mdx-fence.js";
|
|
36
|
+
import { useSelectedSecurityOption as Oe } from "./api-playground-2/hooks/useSelectedSecurityOption.js";
|
|
37
|
+
import { addApiReferenceDataFromMdxAndDocsConfig as ze } from "./api-playground-2/schemaGraph/addApiReferenceDataFromMdxAndDocsConfig.js";
|
|
38
|
+
import { processSecurityOptions as Be } from "./api-playground-2/schemaGraph/processSecurityOptions.js";
|
|
39
|
+
import { getApiReferenceDataFromGraph as Xe } from "./api-playground-2/schemaGraph/getApiReferenceDataFromGraph.js";
|
|
40
|
+
import { openApiToSchemaGraph as Je } from "@mintlify/validation";
|
|
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 uo, TableBody as yo, TableCaption as To, TableCell as bo, TableFooter as vo, TableHead as ho, TableHeader as Ao, TableRow as Ho } from "./components/content-components/table/index.js";
|
|
54
|
+
import { LaTeX as Ro } from "./components/content-components/latex.js";
|
|
55
|
+
import { allComponents as So } from "./components/content-components/all-components.js";
|
|
56
|
+
import { Home as wo } from "./components/content-components/home.js";
|
|
57
|
+
import { MobileNavTree as Fo } from "./components/nav-tree/mobile-nav.js";
|
|
58
|
+
import { rehypeCodeblocks as No } from "./plugins/rehype/rehype-code-blocks.js";
|
|
59
|
+
import { remarkHeadingIds as Zo } from "./plugins/remark/remark-heading-ids.js";
|
|
60
|
+
import { sanitizePreTags as Eo } from "./plugins/sanitize/rehype-pre-to-mdx-fence.js";
|
|
62
61
|
import { rehypeCallouts as Go } from "./plugins/sanitize/rehype-callouts.js";
|
|
63
|
-
import { rehypeParamName as
|
|
64
|
-
import { rehypeTabs as
|
|
65
|
-
import { rehypeDetails as
|
|
66
|
-
import { rehypeHeadingIds as
|
|
67
|
-
import { rehypeZonePivots as
|
|
68
|
-
import { mdxJsxFlowElementHandler as
|
|
69
|
-
import { rehypeLatex as
|
|
70
|
-
import { tableCellHandler as
|
|
62
|
+
import { rehypeParamName as qo } from "./plugins/sanitize/rehype-param-name.js";
|
|
63
|
+
import { rehypeTabs as Wo } from "./plugins/sanitize/rehype-tabs.js";
|
|
64
|
+
import { rehypeDetails as Ko } from "./plugins/sanitize/rehype-details.js";
|
|
65
|
+
import { rehypeHeadingIds as Uo } from "./plugins/sanitize/rehype-heading-ids.js";
|
|
66
|
+
import { rehypeZonePivots as Yo } from "./plugins/sanitize/rehype-zone-pivots.js";
|
|
67
|
+
import { mdxJsxFlowElementHandler as $o, rehypeRemark as er } from "./plugins/sanitize/rehype-remark.js";
|
|
68
|
+
import { rehypeLatex as rr } from "./plugins/sanitize/rehype-latex.js";
|
|
69
|
+
import { tableCellHandler as pr, tableHandler as mr, tableRowHandler as ar } from "./plugins/sanitize/rehype-table-align.js";
|
|
71
70
|
export {
|
|
72
71
|
ie as Api,
|
|
73
|
-
|
|
72
|
+
ce as ApiExamples,
|
|
74
73
|
ye as ApiFields,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
Je as ApiPlaygroundContextLegacy,
|
|
74
|
+
He as ApiPlaygroundContext,
|
|
75
|
+
De as ApiPlaygroundContextLegacy,
|
|
78
76
|
T as ApiReferenceContext,
|
|
79
77
|
b as ApiReferenceContext2,
|
|
80
78
|
v as ApiReferenceProvider,
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
79
|
+
h as ApiReferenceProvider2,
|
|
80
|
+
_e as Callout,
|
|
81
|
+
je as CodeBlock,
|
|
82
|
+
d as ComponentsProvider,
|
|
83
|
+
A as DeploymentMetadataContext,
|
|
84
|
+
H as DeploymentMetadataProvider,
|
|
85
|
+
go as Details,
|
|
88
86
|
D as DocsConfigContext,
|
|
89
87
|
R as DocsConfigProvider,
|
|
90
88
|
p as DocsLayout,
|
|
91
89
|
r as DocsPage,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
_e as Link,
|
|
90
|
+
he as EndpointHeader,
|
|
91
|
+
Qe as Heading,
|
|
92
|
+
wo as Home,
|
|
93
|
+
Ro as LaTeX,
|
|
94
|
+
Ve as Link,
|
|
98
95
|
a as MDXRenderer,
|
|
99
|
-
|
|
96
|
+
Fo as MobileNavTree,
|
|
100
97
|
P as NavTree,
|
|
101
|
-
|
|
98
|
+
de as OperationPage,
|
|
102
99
|
M as PageContext,
|
|
103
100
|
N as PageContextMenu,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
101
|
+
S as PageProvider,
|
|
102
|
+
no as ParamName,
|
|
103
|
+
F as PivotAwareTOC,
|
|
107
104
|
n as PlainTextPage,
|
|
108
105
|
be as Playground,
|
|
109
106
|
ge as SchemaPage,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
107
|
+
Po as Summary,
|
|
108
|
+
so as Tab,
|
|
109
|
+
uo as Table,
|
|
110
|
+
yo as TableBody,
|
|
111
|
+
To as TableCaption,
|
|
112
|
+
bo as TableCell,
|
|
113
|
+
vo as TableFooter,
|
|
117
114
|
ho as TableHead,
|
|
118
|
-
|
|
115
|
+
Ao as TableHeader,
|
|
119
116
|
w as TableOfContents,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
117
|
+
Ho as TableRow,
|
|
118
|
+
lo as Tabs,
|
|
119
|
+
eo as ZonePivot,
|
|
120
|
+
po as ZonePivotProvider,
|
|
121
|
+
ao as ZonePivotSelector,
|
|
122
|
+
ro as ZoneTarget,
|
|
123
|
+
ze as addApiReferenceDataFromMdxAndDocsConfig,
|
|
124
|
+
So as allComponents,
|
|
128
125
|
j as capitalize,
|
|
129
126
|
V as cleanTitle,
|
|
130
127
|
Q as cn,
|
|
131
128
|
re as convertHtmlToMdx,
|
|
132
|
-
|
|
129
|
+
Z as copyMarkdownToClipboard,
|
|
133
130
|
l as createDefaultComponents,
|
|
134
131
|
i as defaultComponents,
|
|
135
132
|
ae as extractHeadings,
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
133
|
+
G as generateLlmsFullTxt,
|
|
134
|
+
X as generateLlmsTxt,
|
|
135
|
+
Xe as getApiReferenceDataFromGraph,
|
|
139
136
|
_ as getClassNames,
|
|
140
137
|
J as getNodeText,
|
|
141
|
-
|
|
138
|
+
z as getPageMarkdown,
|
|
142
139
|
$ as getTextContent,
|
|
143
140
|
ee as isElement,
|
|
144
|
-
|
|
145
|
-
|
|
141
|
+
$o as mdxJsxFlowElementHandler,
|
|
142
|
+
Je as openApiToSchemaGraph,
|
|
143
|
+
Be as processSecurityOptions,
|
|
146
144
|
Go as rehypeCallouts,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
145
|
+
No as rehypeCodeblocks,
|
|
146
|
+
Ko as rehypeDetails,
|
|
147
|
+
Uo as rehypeHeadingIds,
|
|
148
|
+
rr as rehypeLatex,
|
|
149
|
+
qo as rehypeParamName,
|
|
150
|
+
er as rehypeRemark,
|
|
153
151
|
ne as rehypeRemoveHtmlComments,
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
152
|
+
Wo as rehypeTabs,
|
|
153
|
+
Yo as rehypeZonePivots,
|
|
154
|
+
Zo as remarkHeadingIds,
|
|
157
155
|
fe as removeHtmlComments,
|
|
158
|
-
|
|
156
|
+
Eo as sanitizePreTags,
|
|
159
157
|
pe as serializeMdx,
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
158
|
+
pr as tableCellHandler,
|
|
159
|
+
mr as tableHandler,
|
|
160
|
+
ar as tableRowHandler,
|
|
161
|
+
u as useApiReference,
|
|
164
162
|
C as useComponents,
|
|
165
163
|
Ie as useCopyPathWithInputs,
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
164
|
+
Le as useInitializeInputs,
|
|
165
|
+
E as useMarkdownCopy,
|
|
166
|
+
Me as usePlaygroundInputsStore,
|
|
167
|
+
Oe as useSelectedSecurityOption,
|
|
168
|
+
ke as useSendPlaygroundRequest
|
|
171
169
|
};
|
|
@@ -1,33 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { getAuthFilteredSchemaArray as p } from "./getAuthFilteredSchemaArray.js";
|
|
3
|
-
const g = 5, s = " | null", b = (t, a, $, l, o = 0) => {
|
|
4
|
-
let u = !1;
|
|
5
|
-
const r = $ ? s : "";
|
|
6
|
-
switch (t.type) {
|
|
7
|
-
case "any":
|
|
8
|
-
return "any";
|
|
9
|
-
case "null":
|
|
10
|
-
return "null";
|
|
11
|
-
case "object":
|
|
12
|
-
return t.title ? `${t.title} · object` : "object";
|
|
13
|
-
case "array":
|
|
14
|
-
let i = c(t, a, void 0);
|
|
15
|
-
const y = p({ schemaArray: i, userGroups: l });
|
|
16
|
-
if (y && (i = y), i.some((n) => n.type === "array") && o >= g)
|
|
17
|
-
return u = !0, `array${r}`;
|
|
18
|
-
const f = /* @__PURE__ */ new Set();
|
|
19
|
-
i.forEach(
|
|
20
|
-
(n) => f.add(
|
|
21
|
-
b(n, a, !1, l, o + 1)
|
|
22
|
-
)
|
|
23
|
-
);
|
|
24
|
-
const e = Array.from(f);
|
|
25
|
-
return u ? `array${r}` : e.length === 1 && e[0] === "object" && t.title ? `${t.title} · object[]${r}` : e.length === 1 ? `${e[0]}[]${r}` : e.length > 1 && t.title ? `${t.title} · array` : e.every((n) => n !== "object" && n !== "array") ? `(${e.join(" | ")})[]${r}` : `array${r}`;
|
|
26
|
-
default:
|
|
27
|
-
return `${"format" in t && typeof t.format == "string" ? `${t.type}<${t.format}>` : t.type}${r}`;
|
|
28
|
-
}
|
|
29
|
-
};
|
|
1
|
+
const l = " | null";
|
|
30
2
|
export {
|
|
31
|
-
|
|
32
|
-
s as orNullTypeString
|
|
3
|
+
l as orNullTypeString
|
|
33
4
|
};
|