@stainless-api/docs-ui 0.1.0-beta.44 → 0.1.0-beta.47
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/{breadcrumbs-BWIz-BrA.d.ts → breadcrumbs-Bg3nNgu9.d.ts} +2 -2
- package/dist/{component-generics-ofm2M82q.d.ts → component-generics-DrrwsjTH.d.ts} +2 -2
- package/dist/components/MaskedInput.d.ts +14 -0
- package/dist/components/MaskedInput.js +76 -0
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +13 -13
- package/dist/components/icons.d.ts +16 -11
- package/dist/components/icons.js +2 -2
- package/dist/components/index.d.ts +11 -11
- package/dist/components/index.js +14 -14
- package/dist/components/method.d.ts +1 -1
- package/dist/components/method.js +13 -13
- package/dist/components/overview.d.ts +1 -1
- package/dist/components/overview.js +13 -13
- package/dist/components/primitives.d.ts +1 -1
- package/dist/components/primitives.js +13 -13
- package/dist/components/properties.d.ts +2 -2
- package/dist/components/properties.js +14 -14
- package/dist/components/sdk.d.ts +2 -2
- package/dist/components/sdk.js +13 -13
- package/dist/components/sidebar.d.ts +1 -1
- package/dist/components/sidebar.js +13 -13
- package/dist/components/snippets.d.ts +4 -4
- package/dist/components/snippets.js +14 -14
- package/dist/contexts/component-generics.d.ts +1 -1
- package/dist/contexts/component-generics.js +1 -1
- package/dist/contexts/component-types.d.ts +11 -11
- package/dist/contexts/component.d.ts +14 -14
- package/dist/contexts/component.js +13 -13
- package/dist/contexts/docs.d.ts +1 -1
- package/dist/contexts/docs.js +1 -1
- package/dist/contexts/index.d.ts +18 -18
- package/dist/contexts/index.js +13 -13
- package/dist/contexts/markdown.d.ts +1 -1
- package/dist/contexts/markdown.js +2 -2
- package/dist/contexts/navigation.d.ts +2 -2
- package/dist/contexts/navigation.js +1 -1
- package/dist/contexts/search.d.ts +3 -3
- package/dist/contexts/search.js +13 -13
- package/dist/contexts/use-components.d.ts +10 -10
- package/dist/contexts/use-components.js +2 -2
- package/dist/{contexts-2HSNy-rE.js → contexts-D3ClFTt3.js} +434 -166
- package/dist/{docs-BvahWQ28.d.ts → docs-DGpIHBGY.d.ts} +4 -3
- package/dist/{icons-yb-Jhkmg.js → icons-DzBceOQw.js} +117 -1
- package/dist/{index--xwumGAy.d.ts → index-Bt01VI67.d.ts} +6 -6
- package/dist/{index-C6aGoMyw.d.ts → index-CTSOZqei.d.ts} +113 -79
- package/dist/{index-BYYbjUs7.d.ts → index-CeFeLPGr.d.ts} +9 -9
- package/dist/index.d.ts +20 -20
- package/dist/index.js +13 -13
- package/dist/languages/csharp.d.ts +12 -0
- package/dist/languages/csharp.js +15 -0
- package/dist/languages/go.d.ts +11 -11
- package/dist/languages/go.js +13 -13
- package/dist/languages/http.d.ts +11 -11
- package/dist/languages/http.js +13 -13
- package/dist/languages/index.d.ts +12 -12
- package/dist/languages/index.js +14 -14
- package/dist/languages/java.d.ts +11 -11
- package/dist/languages/java.js +13 -13
- package/dist/languages/python.d.ts +11 -11
- package/dist/languages/python.js +13 -13
- package/dist/languages/ruby.d.ts +11 -11
- package/dist/languages/ruby.js +13 -13
- package/dist/languages/typescript.d.ts +11 -11
- package/dist/languages/typescript.js +13 -13
- package/dist/markdown/index.d.ts +3 -3
- package/dist/markdown/index.js +13 -13
- package/dist/markdown/md.js +1 -1
- package/dist/markdown/utils.d.ts +3 -3
- package/dist/markdown/utils.js +1 -1
- package/dist/{markdown-Diyg-eof.js → markdown-Bx-mQFEj.js} +1 -1
- package/dist/{markdown-R3kFvQtF.d.ts → markdown-COcowhve.d.ts} +2 -2
- package/dist/{method-DigRMq69.d.ts → method-DI8ARQ3m.d.ts} +7 -7
- package/dist/{navigation-qVV3i91K.d.ts → navigation-Cg69h_9U.d.ts} +3 -3
- package/dist/{overview-CAseV8q5.d.ts → overview-Bv43Hf_w.d.ts} +6 -6
- package/dist/{primitives-DKSwbXPi.d.ts → primitives-Br-H_CYo.d.ts} +11 -13
- package/dist/{properties-CqXos0BH.d.ts → properties-RPXKwEeY.d.ts} +13 -5
- package/dist/{routing-qs2YNG9o.js → routing-BGBmkDBL.js} +9 -4
- package/dist/{routing-DNN8R6bZ.d.ts → routing-nN1nc0jx.d.ts} +2 -2
- package/dist/routing.d.ts +1 -1
- package/dist/routing.js +1 -1
- package/dist/{sdk-Rlr-Kw5_.d.ts → sdk-Ck0IERc7.d.ts} +14 -15
- package/dist/search/index.d.ts +6 -6
- package/dist/search/index.js +15 -15
- package/dist/search/mcp.d.ts +13 -0
- package/dist/search/mcp.js +45 -0
- package/dist/search/providers/algolia.d.ts +2 -2
- package/dist/search/providers/algolia.js +13 -13
- package/dist/search/providers/fuse.d.ts +2 -2
- package/dist/search/providers/fuse.js +13 -13
- package/dist/search/providers/pagefind.d.ts +2 -2
- package/dist/search/providers/pagefind.js +1 -1
- package/dist/search/providers/walker.d.ts +2 -2
- package/dist/search/providers/walker.js +13 -13
- package/dist/search/types.d.ts +2 -2
- package/dist/search/types.js +1 -1
- package/dist/{search-1-mboDcE.d.ts → search-B9SJyFXg.d.ts} +3 -3
- package/dist/{sidebar-C1v1VnyN.d.ts → sidebar-b3y7VIbU.d.ts} +5 -5
- package/dist/{snippets-CmrvrMkn.d.ts → snippets-XTXit9Ya.d.ts} +13 -8
- package/dist/spec.d.ts +2 -2
- package/dist/spec.js +2 -2
- package/dist/{style-BhhgPVF6.js → style-0miv2y38.js} +4 -0
- package/dist/{style-p4qTfnmO.d.ts → style-D8hwSwrv.d.ts} +4 -0
- package/dist/style.d.ts +1 -1
- package/dist/style.js +1 -1
- package/dist/styles/main.css +11 -8
- package/dist/styles/primitives.css +37 -2
- package/dist/styles.css +48 -10
- package/dist/{types-BSnSUlkN.d.ts → types-D7Ipu1J2.d.ts} +1 -1
- package/dist/{use-components-BHEwm0mE.js → use-components-BAHidYIO.js} +1 -1
- package/dist/{utils-FnJ4tyuN.js → utils-0z34vxY4.js} +2 -2
- package/dist/{utils-C5oXAzyN.d.ts → utils-CJElSUwc.d.ts} +2 -2
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +2 -2
- package/package.json +7 -4
- /package/dist/{chunk-Bf_Gc_jT.js → chunk-BWfJHHBp.js} +0 -0
- /package/dist/{component-generics-D3ybuN5r.js → component-generics-F0_Dx7UT.js} +0 -0
- /package/dist/{docs-CopwX9a7.js → docs-CNvEp0VL.js} +0 -0
- /package/dist/{md-DxiV1_vy.js → md-D5AxFoS4.js} +0 -0
- /package/dist/{navigation-CGr5_w6z.js → navigation-bydkHNUW.js} +0 -0
- /package/dist/{pagefind-BaK1krMe.js → pagefind-BHm6c3fb.js} +0 -0
- /package/dist/{types-u0fUIalc.js → types-mRzd9aqe.js} +0 -0
- /package/dist/{utils-D43p_yTd.d.ts → utils-BcWczffA.d.ts} +0 -0
- /package/dist/{utils-Jo_o4DX9.js → utils-CiZXDoFR.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { t as __export } from "./chunk-
|
|
2
|
-
import { a as useLanguage, c as useSnippet, i as useDocs, l as useSpec, n as useContentPanelLayout, o as useResource, r as useDeclaration, s as useSettings, t as DocsProvider } from "./docs-
|
|
3
|
-
import { a as createStrictContext, i as useComponents$1, n as customizeComponents, r as useComponentContext, t as ComponentProvider$1 } from "./component-generics-
|
|
4
|
-
import { n as useNavigation, t as NavigationProvider } from "./navigation-
|
|
5
|
-
import { a as useRenderMarkdown, i as useMarkdownContext, n as MarkdownProvider, r as useHighlight, t as MarkdownContext } from "./markdown-
|
|
6
|
-
import { _ as walkTree, c as getLanguageSnippet, f as parseStainlessPath, n as Languages, o as generateRoute, t as LanguageNames } from "./routing-
|
|
7
|
-
import { t as style_default } from "./style-
|
|
8
|
-
import { t as useComponents } from "./use-components-
|
|
9
|
-
import { a as
|
|
10
|
-
import { n as getResourceFromSpec, r as isResourceEmpty, t as flatResources } from "./utils-
|
|
11
|
-
import { a as item, c as parse, l as strong, n as fence, o as list, r as heading, s as paragraph, t as code, u as text } from "./md-
|
|
12
|
-
import { n as getSnippet, r as stripMarkup, t as getDecl } from "./utils-
|
|
13
|
-
import { i as SearchableAttributesProse, n as SearchableAttributes, r as SearchableAttributesChat } from "./types-
|
|
1
|
+
import { t as __export } from "./chunk-BWfJHHBp.js";
|
|
2
|
+
import { a as useLanguage, c as useSnippet, i as useDocs, l as useSpec, n as useContentPanelLayout, o as useResource, r as useDeclaration, s as useSettings, t as DocsProvider } from "./docs-CNvEp0VL.js";
|
|
3
|
+
import { a as createStrictContext, i as useComponents$1, n as customizeComponents, r as useComponentContext, t as ComponentProvider$1 } from "./component-generics-F0_Dx7UT.js";
|
|
4
|
+
import { n as useNavigation, t as NavigationProvider } from "./navigation-bydkHNUW.js";
|
|
5
|
+
import { a as useRenderMarkdown, i as useMarkdownContext, n as MarkdownProvider, r as useHighlight, t as MarkdownContext } from "./markdown-Bx-mQFEj.js";
|
|
6
|
+
import { _ as walkTree, c as getLanguageSnippet, f as parseStainlessPath, n as Languages, o as generateRoute, t as LanguageNames } from "./routing-BGBmkDBL.js";
|
|
7
|
+
import { t as style_default } from "./style-0miv2y38.js";
|
|
8
|
+
import { t as useComponents } from "./use-components-BAHidYIO.js";
|
|
9
|
+
import { a as KotlinIcon, c as RubyIcon, i as JavaIcon, l as TerraformIcon, n as CurlIcon, o as PowershellIcon, r as GoIcon, s as PythonIcon, t as CSharpIcon, u as TypescriptIcon } from "./icons-DzBceOQw.js";
|
|
10
|
+
import { n as getResourceFromSpec, r as isResourceEmpty, t as flatResources } from "./utils-0z34vxY4.js";
|
|
11
|
+
import { a as item, c as parse, l as strong, n as fence, o as list, r as heading, s as paragraph, t as code, u as text } from "./md-D5AxFoS4.js";
|
|
12
|
+
import { n as getSnippet, r as stripMarkup, t as getDecl } from "./utils-CiZXDoFR.js";
|
|
13
|
+
import { i as SearchableAttributesProse, n as SearchableAttributes, r as SearchableAttributesChat } from "./types-mRzd9aqe.js";
|
|
14
14
|
import * as React$1 from "react";
|
|
15
15
|
import React, { Fragment, createElement, useState } from "react";
|
|
16
16
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -49,11 +49,18 @@ function PropertyDescription({ description }) {
|
|
|
49
49
|
children: /* @__PURE__ */ jsx(Markdown$1, { content: description })
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function PropertyTitle({ title }) {
|
|
53
|
+
const { Markdown: Markdown$1 } = useComponents();
|
|
54
|
+
if (title) return /* @__PURE__ */ jsx("div", {
|
|
55
|
+
className: style_default.PropertyTitle,
|
|
56
|
+
children: /* @__PURE__ */ jsx(Markdown$1, { content: title })
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
function Property$7({ id, name, typeName: typeName$1, badges, type, declaration: declaration$2, description, title, deprecated, expand, additional, constraints, children }) {
|
|
53
60
|
const Docs = useComponents();
|
|
54
61
|
const language = useLanguage();
|
|
55
62
|
const properties = useSettings()?.properties;
|
|
56
|
-
const collapseDescription = properties
|
|
63
|
+
const { collapseDescription, showTitle } = properties ?? {};
|
|
57
64
|
const types = properties?.types;
|
|
58
65
|
const textContent = /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
59
66
|
typeof deprecated === "string" && /* @__PURE__ */ jsx("div", {
|
|
@@ -66,20 +73,24 @@ function Property$6({ id, name, typeName: typeName$1, badges, type, declaration:
|
|
|
66
73
|
children: constraints
|
|
67
74
|
})
|
|
68
75
|
] });
|
|
69
|
-
const rich = /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
76
|
+
const rich = /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
77
|
+
/* @__PURE__ */ jsxs("div", {
|
|
78
|
+
className: style_default.PropertyDeclaration,
|
|
79
|
+
children: [
|
|
80
|
+
deprecated && /* @__PURE__ */ jsx("span", {
|
|
81
|
+
className: style_default.PropertyDeprecated,
|
|
82
|
+
children: "Deprecated"
|
|
83
|
+
}),
|
|
84
|
+
declaration$2,
|
|
85
|
+
badges && /* @__PURE__ */ jsx("span", {
|
|
86
|
+
className: style_default.PropertyBadges,
|
|
87
|
+
children: badges
|
|
88
|
+
})
|
|
89
|
+
]
|
|
90
|
+
}),
|
|
91
|
+
title && showTitle && /* @__PURE__ */ jsx(Docs.PropertyTitle, { title }),
|
|
92
|
+
collapseDescription === false ? textContent : null
|
|
93
|
+
] });
|
|
83
94
|
const simple = /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
84
95
|
name && /* @__PURE__ */ jsxs("div", {
|
|
85
96
|
className: style_default.PropertyHeader,
|
|
@@ -106,6 +117,7 @@ function Property$6({ id, name, typeName: typeName$1, badges, type, declaration:
|
|
|
106
117
|
className: style_default.PropertyType,
|
|
107
118
|
children: type
|
|
108
119
|
}),
|
|
120
|
+
title && showTitle && /* @__PURE__ */ jsx(Docs.PropertyTitle, { title }),
|
|
109
121
|
collapseDescription === false ? textContent : null
|
|
110
122
|
] });
|
|
111
123
|
const content = /* @__PURE__ */ jsx("div", {
|
|
@@ -495,46 +507,18 @@ function useReferenceNesting() {
|
|
|
495
507
|
return React$1.useContext(ReferenceNestingContext);
|
|
496
508
|
}
|
|
497
509
|
const SDKSnippetLanguages = {
|
|
498
|
-
"node.default": {
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
},
|
|
502
|
-
"
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
},
|
|
506
|
-
"
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
}
|
|
510
|
-
"go.default": {
|
|
511
|
-
name: "Go",
|
|
512
|
-
icon: "go"
|
|
513
|
-
},
|
|
514
|
-
"java.default": {
|
|
515
|
-
name: "Java",
|
|
516
|
-
icon: "java"
|
|
517
|
-
},
|
|
518
|
-
"kotlin.default": {
|
|
519
|
-
name: "Kotlin",
|
|
520
|
-
icon: "kotlin"
|
|
521
|
-
},
|
|
522
|
-
"http.curl": {
|
|
523
|
-
name: "cURL",
|
|
524
|
-
icon: "http"
|
|
525
|
-
},
|
|
526
|
-
"http.powershell": {
|
|
527
|
-
name: "Powershell",
|
|
528
|
-
icon: "powershell"
|
|
529
|
-
},
|
|
530
|
-
"terraform.default": {
|
|
531
|
-
name: "Terraform",
|
|
532
|
-
icon: "terraform"
|
|
533
|
-
},
|
|
534
|
-
"ruby.default": {
|
|
535
|
-
name: "Ruby",
|
|
536
|
-
icon: "ruby"
|
|
537
|
-
}
|
|
510
|
+
"node.default": { name: "TypeScript" },
|
|
511
|
+
"typescript.default": { name: "TypeScript" },
|
|
512
|
+
"python.default": { name: "Python" },
|
|
513
|
+
"go.default": { name: "Go" },
|
|
514
|
+
"java.default": { name: "Java" },
|
|
515
|
+
"kotlin.default": { name: "Kotlin" },
|
|
516
|
+
"http.curl": { name: "cURL" },
|
|
517
|
+
"http.powershell": { name: "Powershell" },
|
|
518
|
+
"terraform.default": { name: "Terraform" },
|
|
519
|
+
"ruby.default": { name: "Ruby" },
|
|
520
|
+
"csharp.default": { name: "C#" },
|
|
521
|
+
"php.default": { name: "PHP" }
|
|
538
522
|
};
|
|
539
523
|
function SDKChildren({ paths, expand, depth }) {
|
|
540
524
|
const Docs = useComponents();
|
|
@@ -576,6 +560,7 @@ function SDKDeclaration({ path, expand, depth = 0 }) {
|
|
|
576
560
|
expand: shouldExpand,
|
|
577
561
|
constraints: "constraints" in decl && /* @__PURE__ */ jsx(Docs.SDKConstraints, { constraints: decl["constraints"] }),
|
|
578
562
|
declaration: /* @__PURE__ */ jsx(Lang.Declaration, { decl }),
|
|
563
|
+
title: "title" in decl ? decl.title : void 0,
|
|
579
564
|
description: "docstring" in decl ? decl["docstring"] : void 0,
|
|
580
565
|
deprecated: decl.deprecated,
|
|
581
566
|
...props,
|
|
@@ -625,7 +610,9 @@ const snippetIcons = {
|
|
|
625
610
|
"http.powershell": PowershellIcon,
|
|
626
611
|
"ruby.default": RubyIcon,
|
|
627
612
|
"java.default": JavaIcon,
|
|
628
|
-
"kotlin.default": KotlinIcon
|
|
613
|
+
"kotlin.default": KotlinIcon,
|
|
614
|
+
"csharp.default": CSharpIcon,
|
|
615
|
+
"php.default": CSharpIcon
|
|
629
616
|
};
|
|
630
617
|
function SDKIcon({ language }) {
|
|
631
618
|
const LangIcon = snippetIcons[language];
|
|
@@ -859,7 +846,6 @@ function SnippetRequestContainer({ children }) {
|
|
|
859
846
|
function Snippet({ requestTitle, method, transformRequestSnippet }) {
|
|
860
847
|
const Docs = useComponents();
|
|
861
848
|
const language = useLanguage();
|
|
862
|
-
const [CopyButtonIcon, setCopyIcon] = React$1.useState(CopyIcon);
|
|
863
849
|
const originalSnippet = useSnippet(method.stainlessPath, void 0, language === "http" ? "curl" : "default");
|
|
864
850
|
const decl = useDeclaration(method.stainlessPath, false);
|
|
865
851
|
if (!originalSnippet) {
|
|
@@ -872,15 +858,6 @@ function Snippet({ requestTitle, method, transformRequestSnippet }) {
|
|
|
872
858
|
snippet: originalSnippet,
|
|
873
859
|
language
|
|
874
860
|
}) : originalSnippet;
|
|
875
|
-
async function handleCopy() {
|
|
876
|
-
try {
|
|
877
|
-
await navigator.clipboard.writeText(snippet);
|
|
878
|
-
setCopyIcon(CheckIcon);
|
|
879
|
-
} catch {
|
|
880
|
-
setCopyIcon(CircleAlertIcon);
|
|
881
|
-
}
|
|
882
|
-
setTimeout(() => setCopyIcon(CopyIcon), 1e3);
|
|
883
|
-
}
|
|
884
861
|
return /* @__PURE__ */ jsxs(Docs.SnippetContainer, {
|
|
885
862
|
signature,
|
|
886
863
|
children: [snippet && /* @__PURE__ */ jsx(Docs.SnippetRequestContainer, {
|
|
@@ -896,21 +873,13 @@ function Snippet({ requestTitle, method, transformRequestSnippet }) {
|
|
|
896
873
|
children: [/* @__PURE__ */ jsx(Docs.MethodRoute, {
|
|
897
874
|
httpMethod: method.httpMethod,
|
|
898
875
|
iconOnly: true
|
|
899
|
-
}), /* @__PURE__ */ jsx("h5", { children: method.summary })]
|
|
876
|
+
}), /* @__PURE__ */ jsx("h5", { children: method.summary ?? method.title })]
|
|
900
877
|
}),
|
|
901
878
|
/* @__PURE__ */ jsx("div", {
|
|
902
879
|
className: style_default.SnippetRequestTitleContent,
|
|
903
880
|
children: requestTitle
|
|
904
881
|
}),
|
|
905
|
-
/* @__PURE__ */ jsx(
|
|
906
|
-
variant: "ghost",
|
|
907
|
-
"data-stldocs-snippet-copy": true,
|
|
908
|
-
children: /* @__PURE__ */ jsx(CopyButtonIcon, {
|
|
909
|
-
size: 16,
|
|
910
|
-
className: style_default.Icon,
|
|
911
|
-
onClick: handleCopy
|
|
912
|
-
})
|
|
913
|
-
})
|
|
882
|
+
/* @__PURE__ */ jsx(Docs.SnippetButtons, { content: snippet })
|
|
914
883
|
]
|
|
915
884
|
}), /* @__PURE__ */ jsx(Docs.SnippetCode, {
|
|
916
885
|
content: snippet,
|
|
@@ -920,6 +889,27 @@ function Snippet({ requestTitle, method, transformRequestSnippet }) {
|
|
|
920
889
|
}), responses && /* @__PURE__ */ jsx(Docs.SnippetResponse, { responses })]
|
|
921
890
|
});
|
|
922
891
|
}
|
|
892
|
+
function SnippetButtons({ content }) {
|
|
893
|
+
const [CopyButtonIcon, setCopyIcon] = React$1.useState(CopyIcon);
|
|
894
|
+
async function handleCopy() {
|
|
895
|
+
try {
|
|
896
|
+
await navigator.clipboard.writeText(content);
|
|
897
|
+
setCopyIcon(CheckIcon);
|
|
898
|
+
} catch {
|
|
899
|
+
setCopyIcon(CircleAlertIcon);
|
|
900
|
+
}
|
|
901
|
+
setTimeout(() => setCopyIcon(CopyIcon), 1e3);
|
|
902
|
+
}
|
|
903
|
+
return /* @__PURE__ */ jsx(Button, {
|
|
904
|
+
variant: "ghost",
|
|
905
|
+
"data-stldocs-snippet-copy": true,
|
|
906
|
+
children: /* @__PURE__ */ jsx(CopyButtonIcon, {
|
|
907
|
+
size: 16,
|
|
908
|
+
className: style_default.Icon,
|
|
909
|
+
onClick: handleCopy
|
|
910
|
+
})
|
|
911
|
+
});
|
|
912
|
+
}
|
|
923
913
|
function SnippetResponse({ responses }) {
|
|
924
914
|
const { SnippetCode: SnippetCode$1 } = useComponents();
|
|
925
915
|
if (!responses) return null;
|
|
@@ -1247,9 +1237,10 @@ var components_exports = /* @__PURE__ */ __export({
|
|
|
1247
1237
|
MethodIconBadge: () => MethodIconBadge,
|
|
1248
1238
|
MethodInfo: () => MethodInfo$1,
|
|
1249
1239
|
MethodRoute: () => MethodRoute,
|
|
1250
|
-
Property: () => Property$
|
|
1240
|
+
Property: () => Property$7,
|
|
1251
1241
|
PropertyDescription: () => PropertyDescription,
|
|
1252
1242
|
PropertyModelContext: () => PropertyModelContext,
|
|
1243
|
+
PropertyTitle: () => PropertyTitle,
|
|
1253
1244
|
PropertyToggle: () => PropertyToggle,
|
|
1254
1245
|
ReferenceNestingContext: () => ReferenceNestingContext,
|
|
1255
1246
|
SDKBreadcrumbs: () => SDKBreadcrumbs,
|
|
@@ -1276,6 +1267,7 @@ var components_exports = /* @__PURE__ */ __export({
|
|
|
1276
1267
|
SidebarMethod: () => SidebarMethod,
|
|
1277
1268
|
SidebarResource: () => SidebarResource,
|
|
1278
1269
|
Snippet: () => Snippet,
|
|
1270
|
+
SnippetButtons: () => SnippetButtons,
|
|
1279
1271
|
SnippetCode: () => SnippetCode,
|
|
1280
1272
|
SnippetContainer: () => SnippetContainer,
|
|
1281
1273
|
SnippetRequestContainer: () => SnippetRequestContainer,
|
|
@@ -1290,11 +1282,11 @@ var components_exports = /* @__PURE__ */ __export({
|
|
|
1290
1282
|
//#endregion
|
|
1291
1283
|
//#region src/languages/typescript.tsx
|
|
1292
1284
|
var typescript_exports = /* @__PURE__ */ __export({
|
|
1293
|
-
Declaration: () => Declaration$
|
|
1294
|
-
MethodSignature: () => MethodSignature$
|
|
1295
|
-
Property: () => Property$
|
|
1296
|
-
Type: () => Type$
|
|
1297
|
-
TypeName: () => TypeName$
|
|
1285
|
+
Declaration: () => Declaration$6,
|
|
1286
|
+
MethodSignature: () => MethodSignature$6,
|
|
1287
|
+
Property: () => Property$6,
|
|
1288
|
+
Type: () => Type$6,
|
|
1289
|
+
TypeName: () => TypeName$6
|
|
1298
1290
|
});
|
|
1299
1291
|
const ComplexTypes$3 = {
|
|
1300
1292
|
TSTypeObject: "object",
|
|
@@ -1303,7 +1295,7 @@ const ComplexTypes$3 = {
|
|
|
1303
1295
|
TSTypeIntersection: "intersection",
|
|
1304
1296
|
TSTypeArray: "array"
|
|
1305
1297
|
};
|
|
1306
|
-
const constStyle$
|
|
1298
|
+
const constStyle$4 = {
|
|
1307
1299
|
string: style_default.LiteralString,
|
|
1308
1300
|
number: style_default.LiteralNumeric,
|
|
1309
1301
|
boolean: style_default.LiteralBoolean
|
|
@@ -1397,11 +1389,11 @@ function TypePreview$2({ path }) {
|
|
|
1397
1389
|
]
|
|
1398
1390
|
});
|
|
1399
1391
|
}
|
|
1400
|
-
function TypeName$
|
|
1392
|
+
function TypeName$6({ type }) {
|
|
1401
1393
|
const Lang = useLanguageComponents();
|
|
1402
1394
|
return ComplexTypes$3[type.kind] ?? /* @__PURE__ */ jsx(Lang.Type, { type });
|
|
1403
1395
|
}
|
|
1404
|
-
function Type$
|
|
1396
|
+
function Type$6({ type }) {
|
|
1405
1397
|
const Lang = useLanguageComponents();
|
|
1406
1398
|
const { Join: Join$1, SDKReference: SDKReference$1 } = useComponents();
|
|
1407
1399
|
switch (type.kind) {
|
|
@@ -1429,7 +1421,7 @@ function Type$5({ type }) {
|
|
|
1429
1421
|
case "TSTypeLiteral": return /* @__PURE__ */ jsx("span", {
|
|
1430
1422
|
className: style_default.Type,
|
|
1431
1423
|
children: /* @__PURE__ */ jsx("span", {
|
|
1432
|
-
className: constStyle$
|
|
1424
|
+
className: constStyle$4[typeof type.literal],
|
|
1433
1425
|
children: JSON.stringify(type.literal)
|
|
1434
1426
|
})
|
|
1435
1427
|
});
|
|
@@ -1564,7 +1556,7 @@ function Type$5({ type }) {
|
|
|
1564
1556
|
}
|
|
1565
1557
|
}
|
|
1566
1558
|
}
|
|
1567
|
-
function MethodSignature$
|
|
1559
|
+
function MethodSignature$6({ decl }) {
|
|
1568
1560
|
const Lang = useLanguageComponents();
|
|
1569
1561
|
const { Join: Join$1, Tooltip: Tooltip$1 } = useComponents();
|
|
1570
1562
|
const params = decl.signature.parameters.map((param, i) => /* @__PURE__ */ jsxs(React$1.Fragment, { children: [/* @__PURE__ */ jsx(Tooltip$1, {
|
|
@@ -1632,7 +1624,7 @@ function MethodSignature$5({ decl }) {
|
|
|
1632
1624
|
})
|
|
1633
1625
|
});
|
|
1634
1626
|
}
|
|
1635
|
-
function Property$
|
|
1627
|
+
function Property$6({ decl, children }) {
|
|
1636
1628
|
const Lang = useLanguageComponents();
|
|
1637
1629
|
if (!decl) return;
|
|
1638
1630
|
switch (decl.kind) {
|
|
@@ -1660,7 +1652,7 @@ function Property$5({ decl, children }) {
|
|
|
1660
1652
|
] }) });
|
|
1661
1653
|
}
|
|
1662
1654
|
}
|
|
1663
|
-
function Declaration$
|
|
1655
|
+
function Declaration$6({ decl }) {
|
|
1664
1656
|
const Lang = useLanguageComponents();
|
|
1665
1657
|
if (!decl) return;
|
|
1666
1658
|
switch (decl.kind) {
|
|
@@ -1730,21 +1722,21 @@ function Declaration$5({ decl }) {
|
|
|
1730
1722
|
//#endregion
|
|
1731
1723
|
//#region src/languages/java.tsx
|
|
1732
1724
|
var java_exports = /* @__PURE__ */ __export({
|
|
1733
|
-
Declaration: () => Declaration$
|
|
1734
|
-
MethodSignature: () => MethodSignature$
|
|
1735
|
-
Property: () => Property$
|
|
1736
|
-
Type: () => Type$
|
|
1737
|
-
TypeName: () => TypeName$
|
|
1725
|
+
Declaration: () => Declaration$5,
|
|
1726
|
+
MethodSignature: () => MethodSignature$5,
|
|
1727
|
+
Property: () => Property$5,
|
|
1728
|
+
Type: () => Type$5,
|
|
1729
|
+
TypeName: () => TypeName$5
|
|
1738
1730
|
});
|
|
1739
1731
|
function showFullType$1(type) {
|
|
1740
1732
|
return type.kind === "JavaTypeReference" && (type.typeName === "List" || type.typeParameters && type.typeParameters.length > 0);
|
|
1741
1733
|
}
|
|
1742
|
-
const constStyle$
|
|
1734
|
+
const constStyle$3 = {
|
|
1743
1735
|
string: style_default.LiteralString,
|
|
1744
1736
|
number: style_default.LiteralNumeric,
|
|
1745
1737
|
boolean: style_default.LiteralBoolean
|
|
1746
1738
|
};
|
|
1747
|
-
function TypeName$
|
|
1739
|
+
function TypeName$5({ type, optional }) {
|
|
1748
1740
|
const Lang = useLanguageComponents();
|
|
1749
1741
|
if (type.kind === "JavaTypeReference" && type.typeName === "List") return "List";
|
|
1750
1742
|
return /* @__PURE__ */ jsx(Lang.Type, {
|
|
@@ -1752,7 +1744,7 @@ function TypeName$4({ type, optional }) {
|
|
|
1752
1744
|
optional
|
|
1753
1745
|
});
|
|
1754
1746
|
}
|
|
1755
|
-
function Type$
|
|
1747
|
+
function Type$5({ type, optional }) {
|
|
1756
1748
|
const language = useLanguage();
|
|
1757
1749
|
const Lang = useLanguageComponents();
|
|
1758
1750
|
const { Join: Join$1, SDKReference: SDKReference$1 } = useComponents();
|
|
@@ -1847,7 +1839,7 @@ function Type$4({ type, optional }) {
|
|
|
1847
1839
|
});
|
|
1848
1840
|
}
|
|
1849
1841
|
}
|
|
1850
|
-
function MethodSignature$
|
|
1842
|
+
function MethodSignature$5({ decl }) {
|
|
1851
1843
|
const Lang = useLanguageComponents();
|
|
1852
1844
|
const language = useLanguage();
|
|
1853
1845
|
const { Join: Join$1, Tooltip: Tooltip$1 } = useComponents();
|
|
@@ -1936,7 +1928,7 @@ function MethodSignature$4({ decl }) {
|
|
|
1936
1928
|
})
|
|
1937
1929
|
});
|
|
1938
1930
|
}
|
|
1939
|
-
function Property$
|
|
1931
|
+
function Property$5({ decl, children }) {
|
|
1940
1932
|
const Docs = useComponents();
|
|
1941
1933
|
const Lang = useLanguageComponents();
|
|
1942
1934
|
const language = useLanguage();
|
|
@@ -1986,7 +1978,7 @@ function Property$4({ decl, children }) {
|
|
|
1986
1978
|
name: decl.ident,
|
|
1987
1979
|
typeName: "const",
|
|
1988
1980
|
type: /* @__PURE__ */ jsx("span", {
|
|
1989
|
-
className: constStyle$
|
|
1981
|
+
className: constStyle$3[typeof decl.value],
|
|
1990
1982
|
children: JSON.stringify(decl.value)
|
|
1991
1983
|
})
|
|
1992
1984
|
});
|
|
@@ -2000,7 +1992,7 @@ function Property$4({ decl, children }) {
|
|
|
2000
1992
|
case "JavaDeclReference": return children({ type: /* @__PURE__ */ jsx(Lang.Type, { type: decl.type }) });
|
|
2001
1993
|
}
|
|
2002
1994
|
}
|
|
2003
|
-
function Declaration$
|
|
1995
|
+
function Declaration$5({ decl }) {
|
|
2004
1996
|
const Docs = useComponents();
|
|
2005
1997
|
const Lang = useLanguageComponents();
|
|
2006
1998
|
const language = useLanguage();
|
|
@@ -2124,11 +2116,11 @@ function Declaration$4({ decl }) {
|
|
|
2124
2116
|
//#endregion
|
|
2125
2117
|
//#region src/languages/go.tsx
|
|
2126
2118
|
var go_exports = /* @__PURE__ */ __export({
|
|
2127
|
-
Declaration: () => Declaration$
|
|
2128
|
-
MethodSignature: () => MethodSignature$
|
|
2129
|
-
Property: () => Property$
|
|
2130
|
-
Type: () => Type$
|
|
2131
|
-
TypeName: () => TypeName$
|
|
2119
|
+
Declaration: () => Declaration$4,
|
|
2120
|
+
MethodSignature: () => MethodSignature$4,
|
|
2121
|
+
Property: () => Property$4,
|
|
2122
|
+
Type: () => Type$4,
|
|
2123
|
+
TypeName: () => TypeName$4
|
|
2132
2124
|
});
|
|
2133
2125
|
const ComplexTypes$2 = {
|
|
2134
2126
|
GoTypeMap: "map",
|
|
@@ -2145,11 +2137,11 @@ const Keywords$1 = {
|
|
|
2145
2137
|
function isField(type) {
|
|
2146
2138
|
return type.kind === "GoTypeReference" && type.typeName === "param.Field";
|
|
2147
2139
|
}
|
|
2148
|
-
function TypeName$
|
|
2140
|
+
function TypeName$4({ type }) {
|
|
2149
2141
|
const Lang = useLanguageComponents();
|
|
2150
2142
|
return isField(type) ? "field" : ComplexTypes$2[type.kind] ?? /* @__PURE__ */ jsx(Lang.Type, { type });
|
|
2151
2143
|
}
|
|
2152
|
-
function Type$
|
|
2144
|
+
function Type$4({ type }) {
|
|
2153
2145
|
const Lang = useLanguageComponents();
|
|
2154
2146
|
const { Join: Join$1, SDKReference: SDKReference$1 } = useComponents();
|
|
2155
2147
|
switch (type.kind) {
|
|
@@ -2253,7 +2245,7 @@ function Type$3({ type }) {
|
|
|
2253
2245
|
});
|
|
2254
2246
|
}
|
|
2255
2247
|
}
|
|
2256
|
-
function MethodSignature$
|
|
2248
|
+
function MethodSignature$4({ decl }) {
|
|
2257
2249
|
const Lang = useLanguageComponents();
|
|
2258
2250
|
const { Join: Join$1 } = useComponents();
|
|
2259
2251
|
const params = decl.parameters.map((param, i) => /* @__PURE__ */ jsxs(React$1.Fragment, { children: [/* @__PURE__ */ jsx("span", {
|
|
@@ -2331,7 +2323,7 @@ function MethodSignature$3({ decl }) {
|
|
|
2331
2323
|
})
|
|
2332
2324
|
});
|
|
2333
2325
|
}
|
|
2334
|
-
function Property$
|
|
2326
|
+
function Property$4({ decl, children }) {
|
|
2335
2327
|
const Docs = useComponents();
|
|
2336
2328
|
const Lang = useLanguageComponents();
|
|
2337
2329
|
if (!decl) return null;
|
|
@@ -2359,7 +2351,7 @@ function Property$3({ decl, children }) {
|
|
|
2359
2351
|
}
|
|
2360
2352
|
}
|
|
2361
2353
|
}
|
|
2362
|
-
function Declaration$
|
|
2354
|
+
function Declaration$4({ decl }) {
|
|
2363
2355
|
const Lang = useLanguageComponents();
|
|
2364
2356
|
if (!decl) return;
|
|
2365
2357
|
switch (decl.kind) {
|
|
@@ -2419,13 +2411,13 @@ function Declaration$3({ decl }) {
|
|
|
2419
2411
|
//#endregion
|
|
2420
2412
|
//#region src/languages/python.tsx
|
|
2421
2413
|
var python_exports = /* @__PURE__ */ __export({
|
|
2422
|
-
Declaration: () => Declaration$
|
|
2423
|
-
MethodSignature: () => MethodSignature$
|
|
2424
|
-
Property: () => Property$
|
|
2425
|
-
Type: () => Type$
|
|
2426
|
-
TypeName: () => TypeName$
|
|
2414
|
+
Declaration: () => Declaration$3,
|
|
2415
|
+
MethodSignature: () => MethodSignature$3,
|
|
2416
|
+
Property: () => Property$3,
|
|
2417
|
+
Type: () => Type$3,
|
|
2418
|
+
TypeName: () => TypeName$3
|
|
2427
2419
|
});
|
|
2428
|
-
const constStyle$
|
|
2420
|
+
const constStyle$2 = {
|
|
2429
2421
|
string: style_default.LiteralString,
|
|
2430
2422
|
number: style_default.LiteralNumeric,
|
|
2431
2423
|
boolean: style_default.LiteralBoolean
|
|
@@ -2434,7 +2426,7 @@ function showFullType(type) {
|
|
|
2434
2426
|
if (type.kind !== "PythonTypeReference") return false;
|
|
2435
2427
|
return type.typeName === "Optional" ? showFullType(type.typeParameters[0]) : type.typeParameters.length > 0;
|
|
2436
2428
|
}
|
|
2437
|
-
function TypeName$
|
|
2429
|
+
function TypeName$3({ type }) {
|
|
2438
2430
|
const Lang = useLanguageComponents();
|
|
2439
2431
|
if (type.kind === "PythonTypeReference") switch (type.typeName) {
|
|
2440
2432
|
case "Optional": return /* @__PURE__ */ jsx(Lang.TypeName, { type: type.typeParameters[0] });
|
|
@@ -2445,7 +2437,7 @@ function TypeName$2({ type }) {
|
|
|
2445
2437
|
}
|
|
2446
2438
|
return /* @__PURE__ */ jsx(Lang.Type, { type });
|
|
2447
2439
|
}
|
|
2448
|
-
function Type$
|
|
2440
|
+
function Type$3({ type }) {
|
|
2449
2441
|
const Lang = useLanguageComponents();
|
|
2450
2442
|
const { Join: Join$1, SDKReference: SDKReference$1 } = useComponents();
|
|
2451
2443
|
switch (type.kind) {
|
|
@@ -2470,7 +2462,7 @@ function Type$2({ type }) {
|
|
|
2470
2462
|
case "PythonTypeLiteral": return /* @__PURE__ */ jsx("span", {
|
|
2471
2463
|
className: style_default.Type,
|
|
2472
2464
|
children: /* @__PURE__ */ jsx("span", {
|
|
2473
|
-
className: constStyle$
|
|
2465
|
+
className: constStyle$2[typeof type.literal.value],
|
|
2474
2466
|
children: JSON.stringify(type.literal.value)
|
|
2475
2467
|
})
|
|
2476
2468
|
});
|
|
@@ -2534,7 +2526,7 @@ function Type$2({ type }) {
|
|
|
2534
2526
|
}
|
|
2535
2527
|
}
|
|
2536
2528
|
}
|
|
2537
|
-
function MethodSignature$
|
|
2529
|
+
function MethodSignature$3({ decl }) {
|
|
2538
2530
|
const Lang = useLanguageComponents();
|
|
2539
2531
|
const { Join: Join$1, Tooltip: Tooltip$1 } = useComponents();
|
|
2540
2532
|
const params = decl.parameters.map((param, i) => /* @__PURE__ */ jsx(React$1.Fragment, { children: /* @__PURE__ */ jsx(Tooltip$1, {
|
|
@@ -2598,7 +2590,7 @@ function MethodSignature$2({ decl }) {
|
|
|
2598
2590
|
})
|
|
2599
2591
|
});
|
|
2600
2592
|
}
|
|
2601
|
-
function Property$
|
|
2593
|
+
function Property$3({ decl, children }) {
|
|
2602
2594
|
const Lang = useLanguageComponents();
|
|
2603
2595
|
if (!decl) return;
|
|
2604
2596
|
switch (decl.kind) {
|
|
@@ -2619,7 +2611,7 @@ function Property$2({ decl, children }) {
|
|
|
2619
2611
|
case "PythonDeclReference": return children({ type: /* @__PURE__ */ jsx(Lang.Type, { type: decl.type }) });
|
|
2620
2612
|
}
|
|
2621
2613
|
}
|
|
2622
|
-
function Declaration$
|
|
2614
|
+
function Declaration$3({ decl }) {
|
|
2623
2615
|
const Lang = useLanguageComponents();
|
|
2624
2616
|
if (!decl) return;
|
|
2625
2617
|
switch (decl.kind) {
|
|
@@ -2690,11 +2682,11 @@ function Declaration$2({ decl }) {
|
|
|
2690
2682
|
//#endregion
|
|
2691
2683
|
//#region src/languages/ruby.tsx
|
|
2692
2684
|
var ruby_exports = /* @__PURE__ */ __export({
|
|
2693
|
-
Declaration: () => Declaration$
|
|
2694
|
-
MethodSignature: () => MethodSignature$
|
|
2695
|
-
Property: () => Property$
|
|
2696
|
-
Type: () => Type$
|
|
2697
|
-
TypeName: () => TypeName$
|
|
2685
|
+
Declaration: () => Declaration$2,
|
|
2686
|
+
MethodSignature: () => MethodSignature$2,
|
|
2687
|
+
Property: () => Property$2,
|
|
2688
|
+
Type: () => Type$2,
|
|
2689
|
+
TypeName: () => TypeName$2
|
|
2698
2690
|
});
|
|
2699
2691
|
const ComplexTypes$1 = {
|
|
2700
2692
|
RubyTypeObject: "object",
|
|
@@ -2711,7 +2703,7 @@ const Keywords = {
|
|
|
2711
2703
|
RubyTypeFloat: "Float",
|
|
2712
2704
|
RubyTypeBoolean: "bool"
|
|
2713
2705
|
};
|
|
2714
|
-
function TypeName$
|
|
2706
|
+
function TypeName$2({ type }) {
|
|
2715
2707
|
const Lang = useLanguageComponents();
|
|
2716
2708
|
return ComplexTypes$1[type.kind] ?? /* @__PURE__ */ jsx(Lang.Type, { type });
|
|
2717
2709
|
}
|
|
@@ -2762,7 +2754,7 @@ function TypePreview$1({ path }) {
|
|
|
2762
2754
|
]
|
|
2763
2755
|
});
|
|
2764
2756
|
}
|
|
2765
|
-
function Type$
|
|
2757
|
+
function Type$2({ type }) {
|
|
2766
2758
|
const Lang = useLanguageComponents();
|
|
2767
2759
|
const { SDKReference: SDKReference$1, Join: Join$1 } = useComponents();
|
|
2768
2760
|
switch (type.kind) {
|
|
@@ -2946,7 +2938,7 @@ function Type$1({ type }) {
|
|
|
2946
2938
|
}
|
|
2947
2939
|
}
|
|
2948
2940
|
}
|
|
2949
|
-
function MethodSignature$
|
|
2941
|
+
function MethodSignature$2({ decl }) {
|
|
2950
2942
|
const Lang = useLanguageComponents();
|
|
2951
2943
|
const { Join: Join$1 } = useComponents();
|
|
2952
2944
|
const params = decl.args.map((param, i) => /* @__PURE__ */ jsx(React$1.Fragment, { children: /* @__PURE__ */ jsx("span", {
|
|
@@ -3001,7 +2993,7 @@ function MethodSignature$1({ decl }) {
|
|
|
3001
2993
|
})
|
|
3002
2994
|
});
|
|
3003
2995
|
}
|
|
3004
|
-
function Property$
|
|
2996
|
+
function Property$2({ decl, children }) {
|
|
3005
2997
|
const Lang = useLanguageComponents();
|
|
3006
2998
|
switch (decl.kind) {
|
|
3007
2999
|
case "RubyDeclProperty": return children({
|
|
@@ -3021,7 +3013,7 @@ function Property$1({ decl, children }) {
|
|
|
3021
3013
|
});
|
|
3022
3014
|
}
|
|
3023
3015
|
}
|
|
3024
|
-
function Declaration$
|
|
3016
|
+
function Declaration$2({ decl }) {
|
|
3025
3017
|
const Lang = useLanguageComponents();
|
|
3026
3018
|
if (!decl) return;
|
|
3027
3019
|
switch (decl.kind) {
|
|
@@ -3068,18 +3060,18 @@ function Declaration$1({ decl }) {
|
|
|
3068
3060
|
//#endregion
|
|
3069
3061
|
//#region src/languages/http.tsx
|
|
3070
3062
|
var http_exports = /* @__PURE__ */ __export({
|
|
3071
|
-
Declaration: () => Declaration,
|
|
3063
|
+
Declaration: () => Declaration$1,
|
|
3072
3064
|
MethodInfo: () => MethodInfo,
|
|
3073
|
-
MethodSignature: () => MethodSignature,
|
|
3074
|
-
Property: () => Property,
|
|
3075
|
-
Type: () => Type,
|
|
3076
|
-
TypeName: () => TypeName
|
|
3065
|
+
MethodSignature: () => MethodSignature$1,
|
|
3066
|
+
Property: () => Property$1,
|
|
3067
|
+
Type: () => Type$1,
|
|
3068
|
+
TypeName: () => TypeName$1
|
|
3077
3069
|
});
|
|
3078
3070
|
const ComplexTypes = {
|
|
3079
3071
|
HttpTypeUnion: "union",
|
|
3080
3072
|
HttpTypeIntersection: "intersection"
|
|
3081
3073
|
};
|
|
3082
|
-
const constStyle = {
|
|
3074
|
+
const constStyle$1 = {
|
|
3083
3075
|
string: style_default.LiteralString,
|
|
3084
3076
|
number: style_default.LiteralNumeric,
|
|
3085
3077
|
boolean: style_default.LiteralBoolean
|
|
@@ -3132,14 +3124,14 @@ function TypePreview({ path }) {
|
|
|
3132
3124
|
]
|
|
3133
3125
|
});
|
|
3134
3126
|
}
|
|
3135
|
-
function TypeName({ type }) {
|
|
3127
|
+
function TypeName$1({ type }) {
|
|
3136
3128
|
const Lang = useLanguageComponents();
|
|
3137
3129
|
if (type.kind === "HttpTypeArray") return /* @__PURE__ */ jsxs(Fragment$1, { children: ["array of ", /* @__PURE__ */ jsx(Lang.TypeName, { type: type.elementType })] });
|
|
3138
3130
|
if (type.kind === "HttpTypeUnion" && type.types.every((t) => t.kind === "HttpTypeLiteral")) return "enum";
|
|
3139
3131
|
if (type.kind === "HttpTypeReference" && type.ident.split(".").at(-1) === "Record") return "map";
|
|
3140
3132
|
return ComplexTypes[type.kind] ?? /* @__PURE__ */ jsx(Lang.Type, { type });
|
|
3141
3133
|
}
|
|
3142
|
-
function Type({ type }) {
|
|
3134
|
+
function Type$1({ type }) {
|
|
3143
3135
|
const Lang = useLanguageComponents();
|
|
3144
3136
|
const { Join: Join$1, SDKReference: SDKReference$1 } = useComponents();
|
|
3145
3137
|
switch (type.kind) {
|
|
@@ -3164,7 +3156,7 @@ function Type({ type }) {
|
|
|
3164
3156
|
case "HttpTypeLiteral": return /* @__PURE__ */ jsx("span", {
|
|
3165
3157
|
className: style_default.Type,
|
|
3166
3158
|
children: /* @__PURE__ */ jsx("span", {
|
|
3167
|
-
className: constStyle[typeof type.literal],
|
|
3159
|
+
className: constStyle$1[typeof type.literal],
|
|
3168
3160
|
children: JSON.stringify(type.literal)
|
|
3169
3161
|
})
|
|
3170
3162
|
});
|
|
@@ -3286,7 +3278,7 @@ function Type({ type }) {
|
|
|
3286
3278
|
}
|
|
3287
3279
|
}
|
|
3288
3280
|
}
|
|
3289
|
-
function MethodSignature({ decl }) {
|
|
3281
|
+
function MethodSignature$1({ decl }) {
|
|
3290
3282
|
return null;
|
|
3291
3283
|
}
|
|
3292
3284
|
function MethodInfo({ decl, children }) {
|
|
@@ -3335,7 +3327,7 @@ function renderVariantInfo(type) {
|
|
|
3335
3327
|
" object variants:"
|
|
3336
3328
|
] });
|
|
3337
3329
|
}
|
|
3338
|
-
function Property({ decl, children }) {
|
|
3330
|
+
function Property$1({ decl, children }) {
|
|
3339
3331
|
const Lang = useLanguageComponents();
|
|
3340
3332
|
if (!decl) return;
|
|
3341
3333
|
switch (decl.kind) {
|
|
@@ -3354,7 +3346,7 @@ function Property({ decl, children }) {
|
|
|
3354
3346
|
case "HttpDeclReference": return children({ type: /* @__PURE__ */ jsx(Lang.Type, { type: decl.type }) });
|
|
3355
3347
|
}
|
|
3356
3348
|
}
|
|
3357
|
-
function Declaration({ decl }) {
|
|
3349
|
+
function Declaration$1({ decl }) {
|
|
3358
3350
|
const Lang = useLanguageComponents();
|
|
3359
3351
|
if (!decl) return;
|
|
3360
3352
|
switch (decl.kind) {
|
|
@@ -3385,9 +3377,285 @@ function Declaration({ decl }) {
|
|
|
3385
3377
|
}
|
|
3386
3378
|
}
|
|
3387
3379
|
|
|
3380
|
+
//#endregion
|
|
3381
|
+
//#region src/languages/csharp.tsx
|
|
3382
|
+
var csharp_exports = /* @__PURE__ */ __export({
|
|
3383
|
+
Declaration: () => Declaration,
|
|
3384
|
+
MethodSignature: () => MethodSignature,
|
|
3385
|
+
Property: () => Property,
|
|
3386
|
+
Type: () => Type,
|
|
3387
|
+
TypeName: () => TypeName
|
|
3388
|
+
});
|
|
3389
|
+
const constStyle = {
|
|
3390
|
+
string: style_default.LiteralString,
|
|
3391
|
+
number: style_default.LiteralNumeric,
|
|
3392
|
+
boolean: style_default.LiteralBoolean
|
|
3393
|
+
};
|
|
3394
|
+
function TypeName({ type, optional }) {
|
|
3395
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(useLanguageComponents().Type, { type }), optional && /* @__PURE__ */ jsx("span", {
|
|
3396
|
+
className: style_default.TextOperator,
|
|
3397
|
+
children: "? "
|
|
3398
|
+
})] });
|
|
3399
|
+
}
|
|
3400
|
+
function Type({ type }) {
|
|
3401
|
+
const Lang = useLanguageComponents();
|
|
3402
|
+
const { Join: Join$1, SDKReference: SDKReference$1 } = useComponents();
|
|
3403
|
+
switch (type.kind) {
|
|
3404
|
+
case "CSharpTypeReference": {
|
|
3405
|
+
const params = type.typeParameters?.map((param, key) => /* @__PURE__ */ jsx(Lang.Type, { type: param }, key));
|
|
3406
|
+
return /* @__PURE__ */ jsxs("span", {
|
|
3407
|
+
className: style_default.Type,
|
|
3408
|
+
children: [
|
|
3409
|
+
/* @__PURE__ */ jsx(SDKReference$1, {
|
|
3410
|
+
stainlessPath: type.$ref,
|
|
3411
|
+
children: type.typeName
|
|
3412
|
+
}),
|
|
3413
|
+
params && params.length > 0 ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
3414
|
+
/* @__PURE__ */ jsx("span", {
|
|
3415
|
+
className: style_default.TypeBracket,
|
|
3416
|
+
children: "<"
|
|
3417
|
+
}),
|
|
3418
|
+
/* @__PURE__ */ jsx(Join$1, {
|
|
3419
|
+
items: params,
|
|
3420
|
+
limit: 3,
|
|
3421
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
3422
|
+
className: style_default.TextOperator,
|
|
3423
|
+
children: ", "
|
|
3424
|
+
})
|
|
3425
|
+
}),
|
|
3426
|
+
/* @__PURE__ */ jsx("span", {
|
|
3427
|
+
className: style_default.TypeBracket,
|
|
3428
|
+
children: ">"
|
|
3429
|
+
})
|
|
3430
|
+
] }) : null,
|
|
3431
|
+
type.nullable && /* @__PURE__ */ jsx("span", {
|
|
3432
|
+
className: style_default.TextOperator,
|
|
3433
|
+
children: "?"
|
|
3434
|
+
})
|
|
3435
|
+
]
|
|
3436
|
+
});
|
|
3437
|
+
}
|
|
3438
|
+
case "CSharpTypeClass":
|
|
3439
|
+
case "CSharpTypeUnion": return /* @__PURE__ */ jsx("span", {
|
|
3440
|
+
className: style_default.Type,
|
|
3441
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
3442
|
+
className: style_default.TypeKeyword,
|
|
3443
|
+
children: "class"
|
|
3444
|
+
})
|
|
3445
|
+
});
|
|
3446
|
+
case "CSharpTypeEnum":
|
|
3447
|
+
case "CSharpTypeBoolean":
|
|
3448
|
+
case "CSharpTypeFloat":
|
|
3449
|
+
case "CSharpTypeDouble":
|
|
3450
|
+
case "CSharpTypeInt":
|
|
3451
|
+
case "CSharpTypeLong": return /* @__PURE__ */ jsx("span", {
|
|
3452
|
+
className: style_default.Type,
|
|
3453
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
3454
|
+
className: style_default.TypeKeyword,
|
|
3455
|
+
children: type.kind.slice(10)
|
|
3456
|
+
})
|
|
3457
|
+
});
|
|
3458
|
+
case "CSharpTypeString": return /* @__PURE__ */ jsx("span", {
|
|
3459
|
+
className: style_default.Type,
|
|
3460
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
3461
|
+
className: style_default.TypeString,
|
|
3462
|
+
children: "string"
|
|
3463
|
+
})
|
|
3464
|
+
});
|
|
3465
|
+
case "CSharpTypeConstant": return /* @__PURE__ */ jsx("span", {
|
|
3466
|
+
className: style_default.Type,
|
|
3467
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
3468
|
+
className: style_default.TypeKeyword,
|
|
3469
|
+
children: "JsonElement"
|
|
3470
|
+
})
|
|
3471
|
+
});
|
|
3472
|
+
}
|
|
3473
|
+
}
|
|
3474
|
+
function MethodSignature({ decl }) {
|
|
3475
|
+
const Lang = useLanguageComponents();
|
|
3476
|
+
const { Join: Join$1, Tooltip: Tooltip$1 } = useComponents();
|
|
3477
|
+
const params = decl.parameters.map((param, i) => /* @__PURE__ */ jsx(React$1.Fragment, { children: /* @__PURE__ */ jsxs(Tooltip$1, {
|
|
3478
|
+
content: /* @__PURE__ */ jsx(Lang.Type, { type: param.typeAnnotation }),
|
|
3479
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
3480
|
+
className: style_default.TextIdentifier,
|
|
3481
|
+
children: param.ident
|
|
3482
|
+
}), param.hasDefault && /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
3483
|
+
" ",
|
|
3484
|
+
/* @__PURE__ */ jsx("span", {
|
|
3485
|
+
className: style_default.TextOperator,
|
|
3486
|
+
children: "="
|
|
3487
|
+
}),
|
|
3488
|
+
" ",
|
|
3489
|
+
/* @__PURE__ */ jsx("span", {
|
|
3490
|
+
className: style_default.TextKeyword,
|
|
3491
|
+
children: "default"
|
|
3492
|
+
})
|
|
3493
|
+
] })]
|
|
3494
|
+
}) }, i));
|
|
3495
|
+
return /* @__PURE__ */ jsx("div", {
|
|
3496
|
+
className: style_default.MethodSignature,
|
|
3497
|
+
children: /* @__PURE__ */ jsxs("span", {
|
|
3498
|
+
className: style_default.SignatureTitle,
|
|
3499
|
+
children: [
|
|
3500
|
+
decl.returnType && /* @__PURE__ */ jsxs("span", {
|
|
3501
|
+
className: style_default.SignatureReturns,
|
|
3502
|
+
children: [/* @__PURE__ */ jsx(Lang.Type, { type: decl.returnType }), " "]
|
|
3503
|
+
}),
|
|
3504
|
+
decl.qualified && /* @__PURE__ */ jsx("span", {
|
|
3505
|
+
className: style_default.SignatureQualified,
|
|
3506
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
3507
|
+
className: style_default.TextIdentifier,
|
|
3508
|
+
children: decl.qualified?.slice(0, -decl.ident.length)
|
|
3509
|
+
})
|
|
3510
|
+
}),
|
|
3511
|
+
/* @__PURE__ */ jsx("span", {
|
|
3512
|
+
className: style_default.SignatureName,
|
|
3513
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
3514
|
+
className: style_default.TextIdentifier,
|
|
3515
|
+
children: decl.ident
|
|
3516
|
+
})
|
|
3517
|
+
}),
|
|
3518
|
+
/* @__PURE__ */ jsxs("span", {
|
|
3519
|
+
className: style_default.MethodSignature,
|
|
3520
|
+
children: [
|
|
3521
|
+
/* @__PURE__ */ jsx("span", {
|
|
3522
|
+
className: style_default.SignatureParen,
|
|
3523
|
+
children: "("
|
|
3524
|
+
}),
|
|
3525
|
+
/* @__PURE__ */ jsx("span", {
|
|
3526
|
+
className: style_default.SignatureParams,
|
|
3527
|
+
children: /* @__PURE__ */ jsx(Join$1, {
|
|
3528
|
+
items: params,
|
|
3529
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
3530
|
+
className: style_default.TextOperator,
|
|
3531
|
+
children: ", "
|
|
3532
|
+
})
|
|
3533
|
+
})
|
|
3534
|
+
}),
|
|
3535
|
+
/* @__PURE__ */ jsxs("span", {
|
|
3536
|
+
className: style_default.SignatureParen,
|
|
3537
|
+
children: [")", " "]
|
|
3538
|
+
})
|
|
3539
|
+
]
|
|
3540
|
+
})
|
|
3541
|
+
]
|
|
3542
|
+
})
|
|
3543
|
+
});
|
|
3544
|
+
}
|
|
3545
|
+
function Property({ decl, children }) {
|
|
3546
|
+
const Lang = useLanguageComponents();
|
|
3547
|
+
if (!decl) return null;
|
|
3548
|
+
switch (decl.kind) {
|
|
3549
|
+
case "CSharpDeclProperty": {
|
|
3550
|
+
const type = /* @__PURE__ */ jsx(Lang.Type, {
|
|
3551
|
+
type: decl.type,
|
|
3552
|
+
optional: decl.optional
|
|
3553
|
+
});
|
|
3554
|
+
return children({
|
|
3555
|
+
name: decl.ident,
|
|
3556
|
+
typeName: /* @__PURE__ */ jsx(Lang.TypeName, {
|
|
3557
|
+
type: decl.type,
|
|
3558
|
+
optional: decl.optional
|
|
3559
|
+
}),
|
|
3560
|
+
type
|
|
3561
|
+
});
|
|
3562
|
+
}
|
|
3563
|
+
case "CSharpDeclConst": return children({
|
|
3564
|
+
name: decl.ident,
|
|
3565
|
+
typeName: "constant",
|
|
3566
|
+
type: /* @__PURE__ */ jsx("span", {
|
|
3567
|
+
className: constStyle[typeof decl.value],
|
|
3568
|
+
children: JSON.stringify(decl.value)
|
|
3569
|
+
})
|
|
3570
|
+
});
|
|
3571
|
+
case "CSharpDeclType": {
|
|
3572
|
+
const typeName$1 = decl.type.kind === "CSharpTypeUnion" ? "union" : decl.type.kind === "CSharpTypeEnum" ? "enum" : "class";
|
|
3573
|
+
return children({
|
|
3574
|
+
name: decl.ident,
|
|
3575
|
+
typeName: typeName$1
|
|
3576
|
+
});
|
|
3577
|
+
}
|
|
3578
|
+
case "CSharpDeclReference": return children({ type: /* @__PURE__ */ jsx(Lang.Type, { type: decl.type }) });
|
|
3579
|
+
}
|
|
3580
|
+
}
|
|
3581
|
+
function Declaration({ decl }) {
|
|
3582
|
+
const Docs = useComponents();
|
|
3583
|
+
const Lang = useLanguageComponents();
|
|
3584
|
+
if (!decl) return null;
|
|
3585
|
+
switch (decl.kind) {
|
|
3586
|
+
case "CSharpDeclConst": return /* @__PURE__ */ jsxs(Fragment$1, { children: [" ", /* @__PURE__ */ jsx(Docs.Tooltip, {
|
|
3587
|
+
content: /* @__PURE__ */ jsx("span", {
|
|
3588
|
+
className: style_default.TextIdentifier,
|
|
3589
|
+
children: decl.value
|
|
3590
|
+
}),
|
|
3591
|
+
children: /* @__PURE__ */ jsx(Docs.Badge, { id: "constant" })
|
|
3592
|
+
})] });
|
|
3593
|
+
case "CSharpDeclType": {
|
|
3594
|
+
const keyword = decl.type.kind === "CSharpTypeEnum" ? "enum" : "class";
|
|
3595
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
3596
|
+
/* @__PURE__ */ jsx("span", {
|
|
3597
|
+
className: style_default.TextKeyword,
|
|
3598
|
+
children: keyword
|
|
3599
|
+
}),
|
|
3600
|
+
" ",
|
|
3601
|
+
/* @__PURE__ */ jsx("span", {
|
|
3602
|
+
className: style_default.TextIdentifier,
|
|
3603
|
+
children: decl.ident
|
|
3604
|
+
}),
|
|
3605
|
+
/* @__PURE__ */ jsx("span", {
|
|
3606
|
+
className: style_default.TextPunctuation,
|
|
3607
|
+
children: ":"
|
|
3608
|
+
}),
|
|
3609
|
+
decl.type.kind === "CSharpTypeUnion" && /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
3610
|
+
" ",
|
|
3611
|
+
/* @__PURE__ */ jsx(Docs.Tooltip, {
|
|
3612
|
+
content: "A class that can be one of several variants.",
|
|
3613
|
+
children: /* @__PURE__ */ jsx(Docs.Badge, {
|
|
3614
|
+
id: "csharp-union",
|
|
3615
|
+
children: "union"
|
|
3616
|
+
})
|
|
3617
|
+
}),
|
|
3618
|
+
" "
|
|
3619
|
+
] })
|
|
3620
|
+
] });
|
|
3621
|
+
}
|
|
3622
|
+
case "CSharpDeclProperty": return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
3623
|
+
decl.optional === false && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("span", {
|
|
3624
|
+
className: style_default.TextKeyword,
|
|
3625
|
+
children: "required"
|
|
3626
|
+
}), " "] }),
|
|
3627
|
+
/* @__PURE__ */ jsx(Lang.Type, {
|
|
3628
|
+
type: decl.type,
|
|
3629
|
+
optional: decl.optional
|
|
3630
|
+
}),
|
|
3631
|
+
decl.nullable && !("nullable" in decl.type && decl.type.nullable) && /* @__PURE__ */ jsx("span", {
|
|
3632
|
+
className: style_default.TextOperator,
|
|
3633
|
+
children: "?"
|
|
3634
|
+
}),
|
|
3635
|
+
" ",
|
|
3636
|
+
/* @__PURE__ */ jsx("span", {
|
|
3637
|
+
className: style_default.TextIdentifier,
|
|
3638
|
+
children: decl.ident
|
|
3639
|
+
}),
|
|
3640
|
+
decl.type.kind === "CSharpTypeConstant" && /* @__PURE__ */ jsxs(Fragment$1, { children: [" ", /* @__PURE__ */ jsx(Docs.Tooltip, {
|
|
3641
|
+
content: /* @__PURE__ */ jsx("span", {
|
|
3642
|
+
className: style_default.TextIdentifier,
|
|
3643
|
+
children: decl.type.value
|
|
3644
|
+
}),
|
|
3645
|
+
children: /* @__PURE__ */ jsx(Docs.Badge, {
|
|
3646
|
+
id: "csharp-constant",
|
|
3647
|
+
children: "constant"
|
|
3648
|
+
})
|
|
3649
|
+
})] })
|
|
3650
|
+
] });
|
|
3651
|
+
case "CSharpDeclReference": return /* @__PURE__ */ jsx(Lang.Type, { type: decl.type });
|
|
3652
|
+
}
|
|
3653
|
+
}
|
|
3654
|
+
|
|
3388
3655
|
//#endregion
|
|
3389
3656
|
//#region src/languages/index.ts
|
|
3390
3657
|
var languages_exports = /* @__PURE__ */ __export({
|
|
3658
|
+
csharp: () => csharp_exports,
|
|
3391
3659
|
go: () => go_exports,
|
|
3392
3660
|
http: () => http_exports,
|
|
3393
3661
|
java: () => java_exports,
|
|
@@ -3435,8 +3703,8 @@ function Providers({ language, children }) {
|
|
|
3435
3703
|
});
|
|
3436
3704
|
}
|
|
3437
3705
|
function RenderType({ type, full }) {
|
|
3438
|
-
const { Type: Type$
|
|
3439
|
-
return full ? /* @__PURE__ */ jsx(Type$
|
|
3706
|
+
const { Type: Type$7, TypeName: TypeName$7 } = useLanguageComponents();
|
|
3707
|
+
return full ? /* @__PURE__ */ jsx(Type$7, { type }) : /* @__PURE__ */ jsx(TypeName$7, { type });
|
|
3440
3708
|
}
|
|
3441
3709
|
function typeName(language, type) {
|
|
3442
3710
|
return renderToStaticMarkup(/* @__PURE__ */ jsx(Providers, {
|
|
@@ -3445,8 +3713,8 @@ function typeName(language, type) {
|
|
|
3445
3713
|
}));
|
|
3446
3714
|
}
|
|
3447
3715
|
function RenderDeclaration({ decl }) {
|
|
3448
|
-
const { Declaration: Declaration$
|
|
3449
|
-
return /* @__PURE__ */ jsx(Declaration$
|
|
3716
|
+
const { Declaration: Declaration$7 } = useLanguageComponents();
|
|
3717
|
+
return /* @__PURE__ */ jsx(Declaration$7, { decl });
|
|
3450
3718
|
}
|
|
3451
3719
|
function declaration$1(language, decl) {
|
|
3452
3720
|
return renderToStaticMarkup(/* @__PURE__ */ jsx(Providers, {
|
|
@@ -3455,8 +3723,8 @@ function declaration$1(language, decl) {
|
|
|
3455
3723
|
}));
|
|
3456
3724
|
}
|
|
3457
3725
|
function RenderMethod({ method }) {
|
|
3458
|
-
const { MethodSignature: MethodSignature$
|
|
3459
|
-
return /* @__PURE__ */ jsx(MethodSignature$
|
|
3726
|
+
const { MethodSignature: MethodSignature$7 } = useLanguageComponents();
|
|
3727
|
+
return /* @__PURE__ */ jsx(MethodSignature$7, { decl: method });
|
|
3460
3728
|
}
|
|
3461
3729
|
function methodSignature(language, decl) {
|
|
3462
3730
|
return renderToStaticMarkup(/* @__PURE__ */ jsx(Providers, {
|
|
@@ -3846,4 +4114,4 @@ function useLanguageComponents() {
|
|
|
3846
4114
|
}
|
|
3847
4115
|
|
|
3848
4116
|
//#endregion
|
|
3849
|
-
export { Type$5 as $,
|
|
4117
|
+
export { Type$5 as $, HttpMethods as $t, TypeName$1 as A, SDKExample as At, Property$3 as B, usePropertyModel as Bt, TypeName as C, SnippetRequestContainer as Ct, MethodSignature$1 as D, SDKChildren as Dt, MethodInfo as E, ReferenceNestingContext as Et, Type$2 as F, SDKMethodInfo as Ft, MethodSignature$4 as G, Join as Gt, TypeName$3 as H, Badge as Ht, TypeName$2 as I, SDKModel as It, TypeName$4 as J, Markdown as Jt, Property$4 as K, Link as Kt, ruby_exports as L, SDKReference as Lt, Declaration$2 as M, SDKLanguageBlock as Mt, MethodSignature$2 as N, SDKMethod as Nt, Property$1 as O, SDKConstraints as Ot, Property$2 as P, SDKMethodHeader as Pt, Property$5 as Q, HttpMethodIcons as Qt, Declaration$3 as R, SDKRequestTitle as Rt, Type as S, SnippetContainer as St, Declaration$1 as T, PropertyModelContext as Tt, python_exports as U, Expander as Ut, Type$3 as V, useReferenceNesting as Vt, Declaration$4 as W, Input as Wt, Declaration$5 as X, Tooltip as Xt, go_exports as Y, ToggleButton as Yt, MethodSignature$5 as Z, VirtualExpander as Zt, languages_exports as _, SDKResourceHeader as _t, useSearchContext as a, MethodRoute as an, Type$6 as at, MethodSignature as b, SnippetButtons as bt, buildProseIndex as c, PropertyTitle as cn, components_exports as ct, declaration as d, SidebarMethod as dt, Method as en, TypeName$5 as et, render as f, SidebarResource as ft, kotlin as g, SDKResource as gt, defaultContextValue as h, SDKOverview as ht, useSearch as i, MethodInfo$1 as in, Property$6 as it, http_exports as j, SDKIcon as jt, Type$1 as k, SDKDeclaration as kt, search as l, PropertyToggle as ln, Sidebar as lt, ComponentProvider as m, SDKMethodSummary as mt, useLanguageComponents as n, MethodHeader as nn, Declaration$6 as nt, buildChatIndex as o, Property$7 as on, TypeName$6 as ot, renderMarkdown as p, SDKBreadcrumbs as pt, Type$4 as q, ListView as qt, SearchProvider as r, MethodIconBadge as rn, MethodSignature$6 as rt, buildIndex as s, PropertyDescription as sn, typescript_exports as st, contexts_exports as t, MethodDescription as tn, java_exports as tt, generateIndex as u, SidebarExpander as ut, node as v, SDKRoot as vt, csharp_exports as w, SnippetResponse as wt, Property as x, SnippetCode as xt, Declaration as y, Snippet as yt, MethodSignature$3 as z, SDKSnippetLanguages as zt };
|