@stainless-api/docs-ui 0.1.0-beta.61 → 0.1.0-beta.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/{breadcrumbs-BVskoBYz.d.ts → breadcrumbs-CpdCGzeH.d.ts} +3 -3
- package/dist/{breadcrumbs-C9LLJyuJ.d.ts → breadcrumbs-DwldC63b.d.ts} +3 -3
- package/dist/{breadcrumbs-CqA6kow2.js → breadcrumbs-hzZqGExJ.js} +3 -3
- package/dist/{cli-0bJ66S1r.js → cli-BAhN1pvm.js} +3 -3
- package/dist/{component-CjJJYIxG.js → component-Bf-__z99.js} +2 -2
- package/dist/{component-generics-BkwbbxJF.d.ts → component-generics-Bs9VsgxB.d.ts} +2 -2
- package/dist/{component-generics-BC_P155r.d.ts → component-generics-uYXTXWFi.d.ts} +2 -2
- package/dist/components/MaskedInput.d.ts +3 -3
- package/dist/components/MaskedInput.js +1 -1
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +5 -5
- package/dist/components/icons.d.ts +12 -12
- package/dist/components/index.d.ts +11 -10
- package/dist/components/index.js +14 -13
- package/dist/components/method.d.ts +1 -1
- package/dist/components/method.js +5 -5
- package/dist/components/overview.d.ts +1 -1
- package/dist/components/overview.js +6 -6
- package/dist/components/primitives.d.ts +1 -1
- package/dist/components/primitives.js +4 -4
- package/dist/components/properties.d.ts +1 -1
- package/dist/components/properties.js +4 -4
- package/dist/components/sdk-sidebar.d.ts +2 -0
- package/dist/components/sdk-sidebar.js +10 -0
- package/dist/components/sdk.d.ts +2 -2
- package/dist/components/sdk.js +5 -5
- package/dist/components/snippets.d.ts +2 -2
- package/dist/components/snippets.js +4 -4
- package/dist/components/stl-sidebar.d.ts +2 -0
- package/dist/components/stl-sidebar.js +5 -0
- package/dist/{components-FEHnQBJC.js → components-CwIKWfid.js} +14 -13
- package/dist/contexts/component-generics.d.ts +1 -1
- package/dist/contexts/component-types.d.ts +11 -10
- package/dist/contexts/component.d.ts +12 -11
- package/dist/contexts/component.js +23 -22
- package/dist/contexts/docs.d.ts +2 -2
- package/dist/contexts/docs.js +2 -2
- package/dist/contexts/index.d.ts +17 -16
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/markdown.d.ts +1 -1
- package/dist/contexts/markdown.js +2 -2
- package/dist/contexts/navigation.d.ts +1 -1
- package/dist/contexts/use-components.d.ts +10 -9
- package/dist/{contexts-CeV_L_Iy.js → contexts-DMjqoc7S.js} +3 -2
- package/dist/{csharp-Dl2RIiYP.js → csharp-BD37FKH6.js} +2 -2
- package/dist/{docs-Di94viZV.js → docs-6PYi1eEV.js} +5 -1
- package/dist/{docs--qWFuJCM.d.ts → docs-Chc8A7zc.d.ts} +6 -5
- package/dist/{docs-DSFRsmbQ.d.ts → docs-FJV1-6V2.d.ts} +5 -4
- package/dist/{go-DuKdRGqU.js → go-v-i4WDzK.js} +2 -2
- package/dist/{http-C7bu4oCl.js → http-BKoVLcpv.js} +10 -6
- package/dist/{index-FDM-j9s-.d.ts → index-C9bUFWfw.d.ts} +35 -35
- package/dist/{index-zNpvNvtN.d.ts → index-DuHyTVVD.d.ts} +1 -1
- package/dist/index-Dz6SFEud.d.ts +16 -0
- package/dist/{index-DE1vA8T2.d.ts → index-WHKRwqwo.d.ts} +35 -35
- package/dist/index-_wZU78e1.d.ts +16 -0
- package/dist/index.d.ts +16 -15
- package/dist/index.js +25 -24
- package/dist/{java-DSyzO-6F.js → java-A6j1NMJ7.js} +3 -3
- package/dist/languages/cli.d.ts +11 -10
- package/dist/languages/cli.js +15 -14
- package/dist/languages/csharp.d.ts +11 -10
- package/dist/languages/csharp.js +4 -4
- package/dist/languages/go.d.ts +11 -10
- package/dist/languages/go.js +4 -4
- package/dist/languages/http.d.ts +11 -10
- package/dist/languages/http.js +14 -13
- package/dist/languages/index.d.ts +11 -10
- package/dist/languages/index.js +22 -21
- package/dist/languages/java.d.ts +11 -10
- package/dist/languages/java.js +4 -4
- package/dist/languages/python.d.ts +11 -10
- package/dist/languages/python.js +4 -4
- package/dist/languages/ruby.d.ts +11 -10
- package/dist/languages/ruby.js +4 -4
- package/dist/languages/typescript.d.ts +11 -10
- package/dist/languages/typescript.js +4 -4
- package/dist/languages-BPVYg1lj.js +28 -0
- package/dist/markdown/index.d.ts +2 -2
- package/dist/markdown/index.js +23 -22
- package/dist/markdown/printer.d.ts +2 -2
- package/dist/markdown/printer.js +24 -23
- package/dist/markdown/utils.d.ts +3 -3
- package/dist/{markdown-C7Tb41LZ.d.ts → markdown-CoIy7fea.d.ts} +2 -2
- package/dist/{markdown-D2JWyRws.js → markdown-DHjcD13O.js} +1 -1
- package/dist/{markdown-B517MrZh.d.ts → markdown-IA9nH38V.d.ts} +2 -2
- package/dist/{method-BaQEZVlw.d.ts → method-Bt3V4B4q.d.ts} +6 -6
- package/dist/{method-Dln4ZTIB.d.ts → method-CZDrcjKP.d.ts} +6 -6
- package/dist/{method-jTnA0G8m.js → method-mosT_h9v.js} +2 -2
- package/dist/{navigation-XhIgqXwM.d.ts → navigation-CHVw_t5x.d.ts} +3 -3
- package/dist/{navigation-rKdts-BR.d.ts → navigation-CIQImbWI.d.ts} +3 -3
- package/dist/{overview-B3kgyac2.d.ts → overview-9J_EJ4Uv.d.ts} +7 -7
- package/dist/{overview-Dp-gGl3v.d.ts → overview-DVklHrbY.d.ts} +7 -7
- package/dist/{overview-BnagZfH1.js → overview-dG8i3EyZ.js} +7 -7
- package/dist/{primitives-DQLc9kN7.js → primitives-B6nufz49.js} +5 -5
- package/dist/{primitives-B6zu2rrx.d.ts → primitives-BkenBSev.d.ts} +12 -12
- package/dist/{primitives-VtUGoYwX.d.ts → primitives-Bmr19wBU.d.ts} +12 -12
- package/dist/{properties-DGL2J11L.js → properties-4w8hy0hf.js} +2 -2
- package/dist/{properties-Bun4nfUE.d.ts → properties-Dx6tQNus.d.ts} +5 -5
- package/dist/{properties-ZOIqpkET.d.ts → properties-NrkX1jGk.d.ts} +5 -5
- package/dist/{python-D8ABqtn1.js → python-CtQJaLw5.js} +2 -2
- package/dist/{routing-Ce0_tBW6.js → routing-CLgL--x1.js} +6 -1
- package/dist/{routing-CtbZJru_.d.ts → routing-CqnhQY4G.d.ts} +10 -3
- package/dist/routing.d.ts +2 -2
- package/dist/routing.js +2 -2
- package/dist/{ruby-261jvCjl.js → ruby-DJqEHgOw.js} +3 -3
- package/dist/{sdk-BebFnWYL.d.ts → sdk-BDzHdl2y.d.ts} +20 -16
- package/dist/{sdk-GGpyGTao.js → sdk-afI6c7Wd.js} +43 -13
- package/dist/{sdk-CIxaNoAs.d.ts → sdk-hDAzjotL.d.ts} +20 -16
- package/dist/sdk-sidebar-ByMsvpUm.d.ts +15 -0
- package/dist/sdk-sidebar-CoVgP38f.d.ts +15 -0
- package/dist/sdk-sidebar-ZaXTw63C.js +36 -0
- package/dist/{snippets-CwVjwsAo.d.ts → snippets-BqKFOZfY.d.ts} +9 -9
- package/dist/{snippets-Ym3mnHO3.d.ts → snippets-Dfd3zU_j.d.ts} +9 -9
- package/dist/{snippets-kI8eNs1F.js → snippets-bh8lfniq.js} +3 -3
- package/dist/spec.d.ts +2 -2
- package/dist/spec.js +2 -2
- package/dist/stl-sidebar-D6OGr1Gl.d.ts +45 -0
- package/dist/stl-sidebar-DdxZx2KK.js +82 -0
- package/dist/stl-sidebar-nQWQbRVM.d.ts +45 -0
- package/dist/{style-LwfvXElj.js → style-Bxr5gqcM.js} +4 -4
- package/dist/style.d.ts +4 -4
- package/dist/style.js +1 -1
- package/dist/styles/primitives.css +6 -0
- package/dist/styles/resets.css +1 -1
- package/dist/styles/sidebar.css +219 -49
- package/dist/styles.css +226 -50
- package/dist/{typescript-D924WidI.js → typescript-DA7mcN1t.js} +3 -3
- package/dist/{utils-D01mAUfQ.js → utils-36jzmKxv.js} +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +1 -1
- package/package.json +1 -1
- package/dist/components/sidebar.d.ts +0 -2
- package/dist/components/sidebar.js +0 -9
- package/dist/index-C0qvL4yP.d.ts +0 -15
- package/dist/index-DsFyACw9.d.ts +0 -15
- package/dist/languages-BO5YJ6cy.js +0 -28
- package/dist/sidebar-BWno0E4w.js +0 -85
- package/dist/sidebar-CLsIJZZf.d.ts +0 -36
- package/dist/sidebar-D4m_pVpS.d.ts +0 -36
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import "../docs-
|
|
1
|
+
import "../docs-6PYi1eEV.js";
|
|
2
2
|
import "../component-generics-POFirVVb.js";
|
|
3
3
|
import "../navigation-aoYZ_tl4.js";
|
|
4
|
-
import "../markdown-
|
|
5
|
-
import "../contexts-
|
|
4
|
+
import "../markdown-DHjcD13O.js";
|
|
5
|
+
import "../contexts-DMjqoc7S.js";
|
|
6
6
|
import "../use-components-BUz3GbO4.js";
|
|
7
|
-
import "../properties-
|
|
8
|
-
import "../method-
|
|
9
|
-
import "../primitives-
|
|
7
|
+
import "../properties-4w8hy0hf.js";
|
|
8
|
+
import "../method-mosT_h9v.js";
|
|
9
|
+
import "../primitives-B6nufz49.js";
|
|
10
10
|
import "../icons-BYKn5X8E.js";
|
|
11
|
-
import "../sdk-
|
|
12
|
-
import "../snippets-
|
|
13
|
-
import "../overview-
|
|
14
|
-
import "../breadcrumbs-
|
|
15
|
-
import "../sidebar-
|
|
16
|
-
import "../
|
|
17
|
-
import "../
|
|
18
|
-
import "../
|
|
19
|
-
import "../
|
|
20
|
-
import "../
|
|
21
|
-
import "../
|
|
22
|
-
import "../
|
|
23
|
-
import "../
|
|
24
|
-
import "../
|
|
25
|
-
import "../
|
|
26
|
-
import
|
|
11
|
+
import "../sdk-afI6c7Wd.js";
|
|
12
|
+
import "../snippets-bh8lfniq.js";
|
|
13
|
+
import "../overview-dG8i3EyZ.js";
|
|
14
|
+
import "../breadcrumbs-hzZqGExJ.js";
|
|
15
|
+
import "../stl-sidebar-DdxZx2KK.js";
|
|
16
|
+
import "../sdk-sidebar-ZaXTw63C.js";
|
|
17
|
+
import "../components-CwIKWfid.js";
|
|
18
|
+
import "../typescript-DA7mcN1t.js";
|
|
19
|
+
import "../java-A6j1NMJ7.js";
|
|
20
|
+
import "../go-v-i4WDzK.js";
|
|
21
|
+
import "../python-CtQJaLw5.js";
|
|
22
|
+
import "../ruby-DJqEHgOw.js";
|
|
23
|
+
import "../http-BKoVLcpv.js";
|
|
24
|
+
import "../csharp-BD37FKH6.js";
|
|
25
|
+
import "../cli-BAhN1pvm.js";
|
|
26
|
+
import "../languages-BPVYg1lj.js";
|
|
27
|
+
import { n as defaultContextValue, t as ComponentProvider } from "../component-Bf-__z99.js";
|
|
27
28
|
|
|
28
29
|
export { ComponentProvider, defaultContextValue };
|
package/dist/contexts/docs.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as DocsProviderProps, c as
|
|
2
|
-
export { ContentPanelLayout, Declaration, DocsContextType, DocsProvider, DocsProviderProps, PropertySettingsType, useContentPanelLayout, useDeclaration, useDocs, useLanguage, useResource, useSettings, useSnippet, useSpec };
|
|
1
|
+
import { a as DocsProviderProps, c as useContentPanelLayout, d as useLanguage, f as useResource, h as useSpec, i as DocsProvider, l as useDeclaration, m as useSnippet, n as Declaration, o as PropertySettingsType, p as useSettings, r as DocsContextType, s as useAvailableLanguages, t as ContentPanelLayout, u as useDocs } from "../docs-FJV1-6V2.js";
|
|
2
|
+
export { ContentPanelLayout, Declaration, DocsContextType, DocsProvider, DocsProviderProps, PropertySettingsType, useAvailableLanguages, useContentPanelLayout, useDeclaration, useDocs, useLanguage, useResource, useSettings, useSnippet, useSpec };
|
package/dist/contexts/docs.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as useDocs, c as useSettings, i as useDeclaration, l as useSnippet, n as useAvailableLanguages, o as useLanguage, r as useContentPanelLayout, s as useResource, t as DocsProvider, u as useSpec } from "../docs-6PYi1eEV.js";
|
|
2
2
|
|
|
3
|
-
export { DocsProvider, useContentPanelLayout, useDeclaration, useDocs, useLanguage, useResource, useSettings, useSnippet, useSpec };
|
|
3
|
+
export { DocsProvider, useAvailableLanguages, useContentPanelLayout, useDeclaration, useDocs, useLanguage, useResource, useSettings, useSnippet, useSpec };
|
package/dist/contexts/index.d.ts
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import "../primitives-
|
|
2
|
-
import "../breadcrumbs-
|
|
3
|
-
import "../method-
|
|
4
|
-
import "../properties-
|
|
5
|
-
import "../sdk-
|
|
6
|
-
import "../snippets-
|
|
7
|
-
import "../overview-
|
|
8
|
-
import "../sidebar-
|
|
9
|
-
import "../
|
|
10
|
-
import
|
|
11
|
-
import { t as
|
|
12
|
-
import {
|
|
13
|
-
import { a as
|
|
14
|
-
import { a as
|
|
1
|
+
import "../primitives-Bmr19wBU.js";
|
|
2
|
+
import "../breadcrumbs-CpdCGzeH.js";
|
|
3
|
+
import "../method-CZDrcjKP.js";
|
|
4
|
+
import "../properties-Dx6tQNus.js";
|
|
5
|
+
import "../sdk-BDzHdl2y.js";
|
|
6
|
+
import "../snippets-Dfd3zU_j.js";
|
|
7
|
+
import "../overview-DVklHrbY.js";
|
|
8
|
+
import "../sdk-sidebar-CoVgP38f.js";
|
|
9
|
+
import "../stl-sidebar-nQWQbRVM.js";
|
|
10
|
+
import "../index-Dz6SFEud.js";
|
|
11
|
+
import { a as useComponents, i as useComponentContext, n as ComponentsContextType, r as customizeComponents, t as ComponentProvider } from "../component-generics-uYXTXWFi.js";
|
|
12
|
+
import { t as LanguageComponentDefinition } from "../index-WHKRwqwo.js";
|
|
13
|
+
import { a as DocsProviderProps, c as useContentPanelLayout, d as useLanguage, f as useResource, h as useSpec, i as DocsProvider, l as useDeclaration, m as useSnippet, n as Declaration, o as PropertySettingsType, p as useSettings, r as DocsContextType, s as useAvailableLanguages, t as ContentPanelLayout, u as useDocs } from "../docs-FJV1-6V2.js";
|
|
14
|
+
import { a as useNavigation, i as NavigationProviderProps, n as NavigationHandler, r as NavigationProvider, t as NavigationContextType } from "../navigation-CIQImbWI.js";
|
|
15
|
+
import { a as useMarkdownContext, i as useHighlight, n as MarkdownProvider, o as useRenderMarkdown, r as MarkdownProviderProps, t as MarkdownContext } from "../markdown-IA9nH38V.js";
|
|
15
16
|
|
|
16
17
|
//#region src/contexts/index.d.ts
|
|
17
18
|
declare namespace index_d_exports {
|
|
18
|
-
export { ComponentProvider, ComponentsContextType, ContentPanelLayout, Declaration, DocsContextType, DocsProvider, DocsProviderProps, MarkdownContext, MarkdownProvider, MarkdownProviderProps, NavigationContextType, NavigationHandler, NavigationProvider, NavigationProviderProps, PropertySettingsType, customizeComponents, useComponentContext, useComponents, useContentPanelLayout, useDeclaration, useDocs, useHighlight, useLanguage, useLanguageComponents, useMarkdownContext, useNavigation, useRenderMarkdown, useResource, useSettings, useSnippet, useSpec };
|
|
19
|
+
export { ComponentProvider, ComponentsContextType, ContentPanelLayout, Declaration, DocsContextType, DocsProvider, DocsProviderProps, MarkdownContext, MarkdownProvider, MarkdownProviderProps, NavigationContextType, NavigationHandler, NavigationProvider, NavigationProviderProps, PropertySettingsType, customizeComponents, useAvailableLanguages, useComponentContext, useComponents, useContentPanelLayout, useDeclaration, useDocs, useHighlight, useLanguage, useLanguageComponents, useMarkdownContext, useNavigation, useRenderMarkdown, useResource, useSettings, useSnippet, useSpec };
|
|
19
20
|
}
|
|
20
21
|
declare function useLanguageComponents(): LanguageComponentDefinition;
|
|
21
22
|
//#endregion
|
|
22
|
-
export { ComponentProvider, ComponentsContextType, ContentPanelLayout, Declaration, DocsContextType, DocsProvider, DocsProviderProps, MarkdownContext, MarkdownProvider, MarkdownProviderProps, NavigationContextType, NavigationHandler, NavigationProvider, NavigationProviderProps, PropertySettingsType, customizeComponents, index_d_exports as t, useComponentContext, useComponents, useContentPanelLayout, useDeclaration, useDocs, useHighlight, useLanguage, useLanguageComponents, useMarkdownContext, useNavigation, useRenderMarkdown, useResource, useSettings, useSnippet, useSpec };
|
|
23
|
+
export { ComponentProvider, ComponentsContextType, ContentPanelLayout, Declaration, DocsContextType, DocsProvider, DocsProviderProps, MarkdownContext, MarkdownProvider, MarkdownProviderProps, NavigationContextType, NavigationHandler, NavigationProvider, NavigationProviderProps, PropertySettingsType, customizeComponents, index_d_exports as t, useAvailableLanguages, useComponentContext, useComponents, useContentPanelLayout, useDeclaration, useDocs, useHighlight, useLanguage, useLanguageComponents, useMarkdownContext, useNavigation, useRenderMarkdown, useResource, useSettings, useSnippet, useSpec };
|
package/dist/contexts/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as useDocs, c as useSettings, i as useDeclaration, l as useSnippet, n as useAvailableLanguages, o as useLanguage, r as useContentPanelLayout, s as useResource, t as DocsProvider, u as useSpec } from "../docs-6PYi1eEV.js";
|
|
2
2
|
import { i as useComponents, n as customizeComponents, r as useComponentContext, t as ComponentProvider } from "../component-generics-POFirVVb.js";
|
|
3
3
|
import { n as useNavigation, t as NavigationProvider } from "../navigation-aoYZ_tl4.js";
|
|
4
|
-
import { a as useRenderMarkdown, i as useMarkdownContext, n as MarkdownProvider, r as useHighlight, t as MarkdownContext } from "../markdown-
|
|
5
|
-
import { n as useLanguageComponents } from "../contexts-
|
|
4
|
+
import { a as useRenderMarkdown, i as useMarkdownContext, n as MarkdownProvider, r as useHighlight, t as MarkdownContext } from "../markdown-DHjcD13O.js";
|
|
5
|
+
import { n as useLanguageComponents } from "../contexts-DMjqoc7S.js";
|
|
6
6
|
|
|
7
|
-
export { ComponentProvider, DocsProvider, MarkdownContext, MarkdownProvider, NavigationProvider, customizeComponents, useComponentContext, useComponents, useContentPanelLayout, useDeclaration, useDocs, useHighlight, useLanguage, useLanguageComponents, useMarkdownContext, useNavigation, useRenderMarkdown, useResource, useSettings, useSnippet, useSpec };
|
|
7
|
+
export { ComponentProvider, DocsProvider, MarkdownContext, MarkdownProvider, NavigationProvider, customizeComponents, useAvailableLanguages, useComponentContext, useComponents, useContentPanelLayout, useDeclaration, useDocs, useHighlight, useLanguage, useLanguageComponents, useMarkdownContext, useNavigation, useRenderMarkdown, useResource, useSettings, useSnippet, useSpec };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as useMarkdownContext, i as useHighlight, n as MarkdownProvider, o as useRenderMarkdown, r as MarkdownProviderProps, t as MarkdownContext } from "../markdown-
|
|
1
|
+
import { a as useMarkdownContext, i as useHighlight, n as MarkdownProvider, o as useRenderMarkdown, r as MarkdownProviderProps, t as MarkdownContext } from "../markdown-IA9nH38V.js";
|
|
2
2
|
export { MarkdownContext, MarkdownProvider, MarkdownProviderProps, useHighlight, useMarkdownContext, useRenderMarkdown };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../docs-
|
|
2
|
-
import { a as useRenderMarkdown, i as useMarkdownContext, n as MarkdownProvider, r as useHighlight, t as MarkdownContext } from "../markdown-
|
|
1
|
+
import "../docs-6PYi1eEV.js";
|
|
2
|
+
import { a as useRenderMarkdown, i as useMarkdownContext, n as MarkdownProvider, r as useHighlight, t as MarkdownContext } from "../markdown-DHjcD13O.js";
|
|
3
3
|
|
|
4
4
|
export { MarkdownContext, MarkdownProvider, useHighlight, useMarkdownContext, useRenderMarkdown };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as useNavigation, i as NavigationProviderProps, n as NavigationHandler, r as NavigationProvider, t as NavigationContextType } from "../navigation-
|
|
1
|
+
import { a as useNavigation, i as NavigationProviderProps, n as NavigationHandler, r as NavigationProvider, t as NavigationContextType } from "../navigation-CIQImbWI.js";
|
|
2
2
|
export { NavigationContextType, NavigationHandler, NavigationProvider, NavigationProviderProps, useNavigation };
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import "../primitives-
|
|
2
|
-
import "../breadcrumbs-
|
|
3
|
-
import "../method-
|
|
4
|
-
import "../properties-
|
|
5
|
-
import "../sdk-
|
|
6
|
-
import "../snippets-
|
|
7
|
-
import "../overview-
|
|
8
|
-
import "../sidebar-
|
|
9
|
-
import
|
|
1
|
+
import "../primitives-Bmr19wBU.js";
|
|
2
|
+
import "../breadcrumbs-CpdCGzeH.js";
|
|
3
|
+
import "../method-CZDrcjKP.js";
|
|
4
|
+
import "../properties-Dx6tQNus.js";
|
|
5
|
+
import "../sdk-BDzHdl2y.js";
|
|
6
|
+
import "../snippets-Dfd3zU_j.js";
|
|
7
|
+
import "../overview-DVklHrbY.js";
|
|
8
|
+
import "../sdk-sidebar-CoVgP38f.js";
|
|
9
|
+
import "../stl-sidebar-nQWQbRVM.js";
|
|
10
|
+
import { t as index_d_exports } from "../index-Dz6SFEud.js";
|
|
10
11
|
|
|
11
12
|
//#region src/contexts/use-components.d.ts
|
|
12
13
|
declare const useComponents: () => typeof index_d_exports;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./chunk-BN_g-Awi.js";
|
|
2
|
-
import { a as
|
|
2
|
+
import { a as useDocs, c as useSettings, i as useDeclaration, l as useSnippet, n as useAvailableLanguages, o as useLanguage, r as useContentPanelLayout, s as useResource, t as DocsProvider, u as useSpec } from "./docs-6PYi1eEV.js";
|
|
3
3
|
import { i as useComponents, n as customizeComponents, r as useComponentContext, t as ComponentProvider } from "./component-generics-POFirVVb.js";
|
|
4
4
|
import { n as useNavigation, t as NavigationProvider } from "./navigation-aoYZ_tl4.js";
|
|
5
|
-
import { a as useRenderMarkdown, i as useMarkdownContext, n as MarkdownProvider, r as useHighlight, t as MarkdownContext } from "./markdown-
|
|
5
|
+
import { a as useRenderMarkdown, i as useMarkdownContext, n as MarkdownProvider, r as useHighlight, t as MarkdownContext } from "./markdown-DHjcD13O.js";
|
|
6
6
|
|
|
7
7
|
//#region src/contexts/index.tsx
|
|
8
8
|
var contexts_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -12,6 +12,7 @@ var contexts_exports = /* @__PURE__ */ __exportAll({
|
|
|
12
12
|
MarkdownProvider: () => MarkdownProvider,
|
|
13
13
|
NavigationProvider: () => NavigationProvider,
|
|
14
14
|
customizeComponents: () => customizeComponents,
|
|
15
|
+
useAvailableLanguages: () => useAvailableLanguages,
|
|
15
16
|
useComponentContext: () => useComponentContext,
|
|
16
17
|
useComponents: () => useComponents,
|
|
17
18
|
useContentPanelLayout: () => useContentPanelLayout,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./chunk-BN_g-Awi.js";
|
|
2
|
-
import { n as useLanguageComponents } from "./contexts-
|
|
2
|
+
import { n as useLanguageComponents } from "./contexts-DMjqoc7S.js";
|
|
3
3
|
import { t as useComponents } from "./use-components-BUz3GbO4.js";
|
|
4
|
-
import { t as style_default } from "./style-
|
|
4
|
+
import { t as style_default } from "./style-Bxr5gqcM.js";
|
|
5
5
|
import * as React$1 from "react";
|
|
6
6
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
|
|
@@ -28,6 +28,10 @@ function useDeclaration(stainlessPath, required, language) {
|
|
|
28
28
|
if (required && !decl) throw new Error(`Declaration not found for '${stainlessPath}'`);
|
|
29
29
|
return decl;
|
|
30
30
|
}
|
|
31
|
+
function useAvailableLanguages(stainlessPath) {
|
|
32
|
+
const spec = useSpec();
|
|
33
|
+
return Object.keys(spec?.decls ?? {}).filter((lang) => spec?.decls?.[lang]?.[stainlessPath] !== void 0);
|
|
34
|
+
}
|
|
31
35
|
function useResource(name) {
|
|
32
36
|
return useSpec()?.resources?.[name];
|
|
33
37
|
}
|
|
@@ -51,4 +55,4 @@ function DocsProvider({ spec, language, settings, children }) {
|
|
|
51
55
|
}
|
|
52
56
|
|
|
53
57
|
//#endregion
|
|
54
|
-
export {
|
|
58
|
+
export { useDocs as a, useSettings as c, useDeclaration as i, useSnippet as l, useAvailableLanguages as n, useLanguage as o, useContentPanelLayout as r, useResource as s, DocsProvider as t, useSpec as u };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as SpecLanguage, g as Spec, l as LanguageDeclNodes, p as Resource } from "./index-DuHyTVVD.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime83 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/contexts/docs.d.ts
|
|
6
6
|
type ContentPanelLayout = 'double-pane' | 'single-pane';
|
|
@@ -30,8 +30,9 @@ declare function useSettings(): {
|
|
|
30
30
|
declare function useSnippet(stainlessPath: string, language?: SpecLanguage, variant?: string): string | undefined;
|
|
31
31
|
type Declaration = LanguageDeclNodes[SpecLanguage];
|
|
32
32
|
declare function useDeclaration<Required extends boolean>(stainlessPath: string, required: Required, language?: SpecLanguage): (Required extends true ? never : undefined) | Declaration;
|
|
33
|
+
declare function useAvailableLanguages(stainlessPath: string): SpecLanguage[];
|
|
33
34
|
declare function useResource(name: string): Resource | undefined;
|
|
34
|
-
declare function useLanguage(): "
|
|
35
|
+
declare function useLanguage(): "http" | "node" | "python" | "go" | "typescript" | "terraform" | "ruby" | "java" | "kotlin" | "csharp" | "php" | "cli";
|
|
35
36
|
declare function useContentPanelLayout(): ContentPanelLayout;
|
|
36
37
|
type DocsProviderProps = DocsContextType & {
|
|
37
38
|
children: React$1.ReactNode;
|
|
@@ -41,6 +42,6 @@ declare function DocsProvider({
|
|
|
41
42
|
language,
|
|
42
43
|
settings,
|
|
43
44
|
children
|
|
44
|
-
}: DocsProviderProps):
|
|
45
|
+
}: DocsProviderProps): react_jsx_runtime83.JSX.Element;
|
|
45
46
|
//#endregion
|
|
46
|
-
export { DocsProviderProps as a,
|
|
47
|
+
export { DocsProviderProps as a, useContentPanelLayout as c, useLanguage as d, useResource as f, useSpec as h, DocsProvider as i, useDeclaration as l, useSnippet as m, Declaration as n, PropertySettingsType as o, useSettings as p, DocsContextType as r, useAvailableLanguages as s, ContentPanelLayout as t, useDocs as u };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as SpecLanguage, g as Spec, l as LanguageDeclNodes, p as Resource } from "./index-DuHyTVVD.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime33 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/contexts/docs.d.ts
|
|
6
6
|
type ContentPanelLayout = 'double-pane' | 'single-pane';
|
|
@@ -30,6 +30,7 @@ declare function useSettings(): {
|
|
|
30
30
|
declare function useSnippet(stainlessPath: string, language?: SpecLanguage, variant?: string): string | undefined;
|
|
31
31
|
type Declaration = LanguageDeclNodes[SpecLanguage];
|
|
32
32
|
declare function useDeclaration<Required extends boolean>(stainlessPath: string, required: Required, language?: SpecLanguage): (Required extends true ? never : undefined) | Declaration;
|
|
33
|
+
declare function useAvailableLanguages(stainlessPath: string): SpecLanguage[];
|
|
33
34
|
declare function useResource(name: string): Resource | undefined;
|
|
34
35
|
declare function useLanguage(): "cli" | "csharp" | "go" | "http" | "java" | "kotlin" | "node" | "php" | "python" | "ruby" | "terraform" | "typescript";
|
|
35
36
|
declare function useContentPanelLayout(): ContentPanelLayout;
|
|
@@ -41,6 +42,6 @@ declare function DocsProvider({
|
|
|
41
42
|
language,
|
|
42
43
|
settings,
|
|
43
44
|
children
|
|
44
|
-
}: DocsProviderProps):
|
|
45
|
+
}: DocsProviderProps): react_jsx_runtime33.JSX.Element;
|
|
45
46
|
//#endregion
|
|
46
|
-
export { DocsProviderProps as a,
|
|
47
|
+
export { DocsProviderProps as a, useContentPanelLayout as c, useLanguage as d, useResource as f, useSpec as h, DocsProvider as i, useDeclaration as l, useSnippet as m, Declaration as n, PropertySettingsType as o, useSettings as p, DocsContextType as r, useAvailableLanguages as s, ContentPanelLayout as t, useDocs as u };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./chunk-BN_g-Awi.js";
|
|
2
|
-
import { n as useLanguageComponents } from "./contexts-
|
|
2
|
+
import { n as useLanguageComponents } from "./contexts-DMjqoc7S.js";
|
|
3
3
|
import { t as useComponents } from "./use-components-BUz3GbO4.js";
|
|
4
|
-
import { t as style_default } from "./style-
|
|
4
|
+
import { t as style_default } from "./style-Bxr5gqcM.js";
|
|
5
5
|
import * as React$1 from "react";
|
|
6
6
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./chunk-BN_g-Awi.js";
|
|
2
|
-
import {
|
|
3
|
-
import { n as useLanguageComponents } from "./contexts-
|
|
2
|
+
import { i as useDeclaration, o as useLanguage, u as useSpec } from "./docs-6PYi1eEV.js";
|
|
3
|
+
import { n as useLanguageComponents } from "./contexts-DMjqoc7S.js";
|
|
4
4
|
import { t as useComponents } from "./use-components-BUz3GbO4.js";
|
|
5
|
-
import { t as style_default } from "./style-
|
|
6
|
-
import { i as PropertyToggle } from "./properties-
|
|
5
|
+
import { t as style_default } from "./style-Bxr5gqcM.js";
|
|
6
|
+
import { i as PropertyToggle } from "./properties-4w8hy0hf.js";
|
|
7
|
+
import { y as useStreamingResponse } from "./sdk-afI6c7Wd.js";
|
|
7
8
|
import React from "react";
|
|
8
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
9
10
|
|
|
@@ -233,6 +234,7 @@ function MethodSignature({ decl }) {
|
|
|
233
234
|
}
|
|
234
235
|
function MethodInfo({ decl, children }) {
|
|
235
236
|
const Docs = useComponents();
|
|
237
|
+
const streamingResponse = useStreamingResponse(decl);
|
|
236
238
|
const params = Object.entries(decl.paramsChildren).filter(([, value]) => value.length).map(([location, value]) => /* @__PURE__ */ jsx(React.Fragment, { children: /* @__PURE__ */ jsxs("div", {
|
|
237
239
|
className: style_default.MethodParameters,
|
|
238
240
|
"data-stldocs-property-group": location.at(0),
|
|
@@ -251,6 +253,8 @@ function MethodInfo({ decl, children }) {
|
|
|
251
253
|
children: /* @__PURE__ */ jsx(Docs.SDKChildren, { paths: decl.bodyParamsChildren?.["application/json"] ?? [] })
|
|
252
254
|
})]
|
|
253
255
|
}, "method-info-section"));
|
|
256
|
+
const responseChildren = "responseChildren" in decl && decl.responseChildren && decl.responseChildren.length > 0 ? [...decl.responseChildren] : [];
|
|
257
|
+
if (streamingResponse) responseChildren.push(streamingResponse);
|
|
254
258
|
return /* @__PURE__ */ jsxs("div", {
|
|
255
259
|
className: style_default.MethodInfo,
|
|
256
260
|
children: [
|
|
@@ -259,12 +263,12 @@ function MethodInfo({ decl, children }) {
|
|
|
259
263
|
children
|
|
260
264
|
}),
|
|
261
265
|
params.length > 0 && params,
|
|
262
|
-
|
|
266
|
+
responseChildren.length > 0 && /* @__PURE__ */ jsxs("div", {
|
|
263
267
|
className: style_default.MethodInfoSection,
|
|
264
268
|
children: [/* @__PURE__ */ jsxs("h5", { children: ["Returns", /* @__PURE__ */ jsx(PropertyToggle, { target: "returns" })] }), /* @__PURE__ */ jsx("div", {
|
|
265
269
|
className: style_default.MethodReturns,
|
|
266
270
|
"data-stldocs-property-group": "returns",
|
|
267
|
-
children: /* @__PURE__ */ jsx(Docs.SDKChildren, { paths:
|
|
271
|
+
children: /* @__PURE__ */ jsx(Docs.SDKChildren, { paths: responseChildren })
|
|
268
272
|
})]
|
|
269
273
|
})
|
|
270
274
|
]
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as PropertyProps$8 } from "./properties-
|
|
1
|
+
import { a as GoAST, c as JavaAST, f as PythonAST, i as DeclarationNode, m as RubyAST, n as CLIAST, o as HttpAST, r as CSharpAST, v as TSAST, y as Type$8 } from "./index-DuHyTVVD.js";
|
|
2
|
+
import { i as PropertyProps$8 } from "./properties-NrkX1jGk.js";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
import React, { ReactNode } from "react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime90 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/languages/typescript.d.ts
|
|
8
8
|
declare namespace typescript_d_exports {
|
|
@@ -13,16 +13,16 @@ type TypeProps$7 = {
|
|
|
13
13
|
};
|
|
14
14
|
declare function TypeName$7({
|
|
15
15
|
type
|
|
16
|
-
}: TypeProps$7): string |
|
|
16
|
+
}: TypeProps$7): string | react_jsx_runtime90.JSX.Element;
|
|
17
17
|
declare function Type$7({
|
|
18
18
|
type
|
|
19
|
-
}: TypeProps$7):
|
|
19
|
+
}: TypeProps$7): react_jsx_runtime90.JSX.Element;
|
|
20
20
|
type MethodSignatureProps$7 = {
|
|
21
21
|
decl: TSAST.TSDeclFunction;
|
|
22
22
|
};
|
|
23
23
|
declare function MethodSignature$7({
|
|
24
24
|
decl
|
|
25
|
-
}: MethodSignatureProps$7):
|
|
25
|
+
}: MethodSignatureProps$7): react_jsx_runtime90.JSX.Element;
|
|
26
26
|
type PropertyProps$7 = {
|
|
27
27
|
decl: TSAST.TSDeclaration;
|
|
28
28
|
children: PropertyFn;
|
|
@@ -36,7 +36,7 @@ type DeclarationProps$7 = {
|
|
|
36
36
|
};
|
|
37
37
|
declare function Declaration$7({
|
|
38
38
|
decl
|
|
39
|
-
}: DeclarationProps$7):
|
|
39
|
+
}: DeclarationProps$7): react_jsx_runtime90.JSX.Element | undefined;
|
|
40
40
|
declare namespace java_d_exports {
|
|
41
41
|
export { Declaration$6 as Declaration, DeclarationProps$6 as DeclarationProps, MethodSignature$6 as MethodSignature, MethodSignatureProps$6 as MethodSignatureProps, Property$6 as Property, PropertyProps$6 as PropertyProps, Type$6 as Type, TypeName$6 as TypeName };
|
|
42
42
|
}
|
|
@@ -47,17 +47,17 @@ type TypeProps$6 = {
|
|
|
47
47
|
declare function TypeName$6({
|
|
48
48
|
type,
|
|
49
49
|
optional
|
|
50
|
-
}: TypeProps$6):
|
|
50
|
+
}: TypeProps$6): react_jsx_runtime90.JSX.Element | "List";
|
|
51
51
|
declare function Type$6({
|
|
52
52
|
type,
|
|
53
53
|
optional
|
|
54
|
-
}: TypeProps$6):
|
|
54
|
+
}: TypeProps$6): react_jsx_runtime90.JSX.Element;
|
|
55
55
|
type MethodSignatureProps$6 = {
|
|
56
56
|
decl: JavaAST.JavaDeclFunction;
|
|
57
57
|
};
|
|
58
58
|
declare function MethodSignature$6({
|
|
59
59
|
decl
|
|
60
|
-
}: MethodSignatureProps$6):
|
|
60
|
+
}: MethodSignatureProps$6): react_jsx_runtime90.JSX.Element;
|
|
61
61
|
type PropertyProps$6 = {
|
|
62
62
|
decl: JavaAST.JavaDeclaration;
|
|
63
63
|
children: PropertyFn;
|
|
@@ -71,7 +71,7 @@ type DeclarationProps$6 = {
|
|
|
71
71
|
};
|
|
72
72
|
declare function Declaration$6({
|
|
73
73
|
decl
|
|
74
|
-
}: DeclarationProps$6):
|
|
74
|
+
}: DeclarationProps$6): react_jsx_runtime90.JSX.Element | null | undefined;
|
|
75
75
|
declare namespace go_d_exports {
|
|
76
76
|
export { Declaration$5 as Declaration, DeclarationProps$5 as DeclarationProps, MethodSignature$5 as MethodSignature, MethodSignatureProps$5 as MethodSignatureProps, Property$5 as Property, PropertyProps$5 as PropertyProps, Type$5 as Type, TypeName$5 as TypeName, TypeProps$5 as TypeProps };
|
|
77
77
|
}
|
|
@@ -80,16 +80,16 @@ type TypeProps$5 = {
|
|
|
80
80
|
};
|
|
81
81
|
declare function TypeName$5({
|
|
82
82
|
type
|
|
83
|
-
}: TypeProps$5): string |
|
|
83
|
+
}: TypeProps$5): string | react_jsx_runtime90.JSX.Element;
|
|
84
84
|
declare function Type$5({
|
|
85
85
|
type
|
|
86
|
-
}: TypeProps$5):
|
|
86
|
+
}: TypeProps$5): react_jsx_runtime90.JSX.Element;
|
|
87
87
|
type MethodSignatureProps$5 = {
|
|
88
88
|
decl: GoAST.GoDeclFunction;
|
|
89
89
|
};
|
|
90
90
|
declare function MethodSignature$5({
|
|
91
91
|
decl
|
|
92
|
-
}: MethodSignatureProps$5):
|
|
92
|
+
}: MethodSignatureProps$5): react_jsx_runtime90.JSX.Element;
|
|
93
93
|
type PropertyProps$5 = {
|
|
94
94
|
decl: GoAST.GoDeclaration;
|
|
95
95
|
children: PropertyFn;
|
|
@@ -103,7 +103,7 @@ type DeclarationProps$5 = {
|
|
|
103
103
|
};
|
|
104
104
|
declare function Declaration$5({
|
|
105
105
|
decl
|
|
106
|
-
}: DeclarationProps$5):
|
|
106
|
+
}: DeclarationProps$5): react_jsx_runtime90.JSX.Element | undefined;
|
|
107
107
|
declare namespace python_d_exports {
|
|
108
108
|
export { Declaration$4 as Declaration, DeclarationProps$4 as DeclarationProps, MethodSignature$4 as MethodSignature, MethodSignatureProps$4 as MethodSignatureProps, Property$4 as Property, PropertyProps$4 as PropertyProps, Type$4 as Type, TypeName$4 as TypeName };
|
|
109
109
|
}
|
|
@@ -112,16 +112,16 @@ type TypeProps$4 = {
|
|
|
112
112
|
};
|
|
113
113
|
declare function TypeName$4({
|
|
114
114
|
type
|
|
115
|
-
}: TypeProps$4): string |
|
|
115
|
+
}: TypeProps$4): string | react_jsx_runtime90.JSX.Element;
|
|
116
116
|
declare function Type$4({
|
|
117
117
|
type
|
|
118
|
-
}: TypeProps$4):
|
|
118
|
+
}: TypeProps$4): react_jsx_runtime90.JSX.Element;
|
|
119
119
|
type MethodSignatureProps$4 = {
|
|
120
120
|
decl: PythonAST.PythonDeclFunction;
|
|
121
121
|
};
|
|
122
122
|
declare function MethodSignature$4({
|
|
123
123
|
decl
|
|
124
|
-
}: MethodSignatureProps$4):
|
|
124
|
+
}: MethodSignatureProps$4): react_jsx_runtime90.JSX.Element;
|
|
125
125
|
type PropertyProps$4 = {
|
|
126
126
|
decl: PythonAST.PythonDeclaration;
|
|
127
127
|
children: PropertyFn;
|
|
@@ -135,7 +135,7 @@ type DeclarationProps$4 = {
|
|
|
135
135
|
};
|
|
136
136
|
declare function Declaration$4({
|
|
137
137
|
decl
|
|
138
|
-
}: DeclarationProps$4):
|
|
138
|
+
}: DeclarationProps$4): react_jsx_runtime90.JSX.Element | undefined;
|
|
139
139
|
declare namespace ruby_d_exports {
|
|
140
140
|
export { Declaration$3 as Declaration, DeclarationProps$3 as DeclarationProps, MethodSignature$3 as MethodSignature, MethodSignatureProps$3 as MethodSignatureProps, Property$3 as Property, PropertyProps$3 as PropertyProps, Type$3 as Type, TypeName$3 as TypeName };
|
|
141
141
|
}
|
|
@@ -144,16 +144,16 @@ type TypeProps$3 = {
|
|
|
144
144
|
};
|
|
145
145
|
declare function TypeName$3({
|
|
146
146
|
type
|
|
147
|
-
}: TypeProps$3): string |
|
|
147
|
+
}: TypeProps$3): string | react_jsx_runtime90.JSX.Element;
|
|
148
148
|
declare function Type$3({
|
|
149
149
|
type
|
|
150
|
-
}: TypeProps$3):
|
|
150
|
+
}: TypeProps$3): react_jsx_runtime90.JSX.Element;
|
|
151
151
|
type MethodSignatureProps$3 = {
|
|
152
152
|
decl: RubyAST.RubyDeclFunction;
|
|
153
153
|
};
|
|
154
154
|
declare function MethodSignature$3({
|
|
155
155
|
decl
|
|
156
|
-
}: MethodSignatureProps$3):
|
|
156
|
+
}: MethodSignatureProps$3): react_jsx_runtime90.JSX.Element;
|
|
157
157
|
type PropertyProps$3 = {
|
|
158
158
|
decl: RubyAST.RubyDeclaration;
|
|
159
159
|
children: PropertyFn;
|
|
@@ -167,7 +167,7 @@ type DeclarationProps$3 = {
|
|
|
167
167
|
};
|
|
168
168
|
declare function Declaration$3({
|
|
169
169
|
decl
|
|
170
|
-
}: DeclarationProps$3):
|
|
170
|
+
}: DeclarationProps$3): react_jsx_runtime90.JSX.Element | undefined;
|
|
171
171
|
declare namespace http_d_exports {
|
|
172
172
|
export { Declaration$2 as Declaration, DeclarationProps$2 as DeclarationProps, MethodInfo, MethodSignature$2 as MethodSignature, MethodSignatureProps$2 as MethodSignatureProps, Property$2 as Property, PropertyProps$2 as PropertyProps, Type$2 as Type, TypeName$2 as TypeName };
|
|
173
173
|
}
|
|
@@ -176,10 +176,10 @@ type TypeProps$2 = {
|
|
|
176
176
|
};
|
|
177
177
|
declare function TypeName$2({
|
|
178
178
|
type
|
|
179
|
-
}: TypeProps$2): string |
|
|
179
|
+
}: TypeProps$2): string | react_jsx_runtime90.JSX.Element;
|
|
180
180
|
declare function Type$2({
|
|
181
181
|
type
|
|
182
|
-
}: TypeProps$2):
|
|
182
|
+
}: TypeProps$2): react_jsx_runtime90.JSX.Element | undefined;
|
|
183
183
|
type MethodSignatureProps$2 = {
|
|
184
184
|
decl: HttpAST.HttpDeclFunction;
|
|
185
185
|
};
|
|
@@ -191,7 +191,7 @@ declare function MethodInfo({
|
|
|
191
191
|
children
|
|
192
192
|
}: MethodSignatureProps$2 & {
|
|
193
193
|
children: React.ReactNode;
|
|
194
|
-
}):
|
|
194
|
+
}): react_jsx_runtime90.JSX.Element;
|
|
195
195
|
type PropertyProps$2 = {
|
|
196
196
|
decl: HttpAST.HttpDeclaration;
|
|
197
197
|
children: PropertyFn;
|
|
@@ -205,27 +205,27 @@ type DeclarationProps$2 = {
|
|
|
205
205
|
};
|
|
206
206
|
declare function Declaration$2({
|
|
207
207
|
decl
|
|
208
|
-
}: DeclarationProps$2):
|
|
208
|
+
}: DeclarationProps$2): react_jsx_runtime90.JSX.Element | undefined;
|
|
209
209
|
declare namespace csharp_d_exports {
|
|
210
210
|
export { Declaration$1 as Declaration, DeclarationProps$1 as DeclarationProps, MethodSignature$1 as MethodSignature, MethodSignatureProps$1 as MethodSignatureProps, Property$1 as Property, PropertyProps$1 as PropertyProps, Type$1 as Type, TypeName$1 as TypeName };
|
|
211
211
|
}
|
|
212
212
|
declare function TypeName$1({
|
|
213
213
|
type,
|
|
214
214
|
optional
|
|
215
|
-
}: TypeProps$1):
|
|
215
|
+
}: TypeProps$1): react_jsx_runtime90.JSX.Element;
|
|
216
216
|
type TypeProps$1 = {
|
|
217
217
|
type: CSharpAST.CSharpType;
|
|
218
218
|
optional?: boolean;
|
|
219
219
|
};
|
|
220
220
|
declare function Type$1({
|
|
221
221
|
type
|
|
222
|
-
}: TypeProps$1):
|
|
222
|
+
}: TypeProps$1): react_jsx_runtime90.JSX.Element;
|
|
223
223
|
type MethodSignatureProps$1 = {
|
|
224
224
|
decl: CSharpAST.CSharpDeclFunction;
|
|
225
225
|
};
|
|
226
226
|
declare function MethodSignature$1({
|
|
227
227
|
decl
|
|
228
|
-
}: MethodSignatureProps$1):
|
|
228
|
+
}: MethodSignatureProps$1): react_jsx_runtime90.JSX.Element;
|
|
229
229
|
type PropertyProps$1 = {
|
|
230
230
|
decl: CSharpAST.CSharpDeclaration;
|
|
231
231
|
children: PropertyFn;
|
|
@@ -239,21 +239,21 @@ type DeclarationProps$1 = {
|
|
|
239
239
|
};
|
|
240
240
|
declare function Declaration$1({
|
|
241
241
|
decl
|
|
242
|
-
}: DeclarationProps$1):
|
|
242
|
+
}: DeclarationProps$1): react_jsx_runtime90.JSX.Element | null | undefined;
|
|
243
243
|
declare namespace cli_d_exports {
|
|
244
244
|
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
|
245
245
|
}
|
|
246
246
|
type TypeProps = {
|
|
247
247
|
type: HttpAST.HttpType;
|
|
248
248
|
};
|
|
249
|
-
declare function TypeName(props: TypeProps): string |
|
|
250
|
-
declare function Type(props: TypeProps):
|
|
249
|
+
declare function TypeName(props: TypeProps): string | react_jsx_runtime90.JSX.Element;
|
|
250
|
+
declare function Type(props: TypeProps): react_jsx_runtime90.JSX.Element | undefined;
|
|
251
251
|
type MethodSignatureProps = {
|
|
252
252
|
decl: CLIAST.CLICommand;
|
|
253
253
|
};
|
|
254
254
|
declare function MethodSignature({
|
|
255
255
|
decl
|
|
256
|
-
}: MethodSignatureProps):
|
|
256
|
+
}: MethodSignatureProps): react_jsx_runtime90.JSX.Element;
|
|
257
257
|
type PropertyProps = {
|
|
258
258
|
decl: CLIAST.CLIDeclaration;
|
|
259
259
|
children: PropertyFn;
|
|
@@ -267,7 +267,7 @@ type DeclarationProps = {
|
|
|
267
267
|
};
|
|
268
268
|
declare function Declaration({
|
|
269
269
|
decl
|
|
270
|
-
}: DeclarationProps):
|
|
270
|
+
}: DeclarationProps): react_jsx_runtime90.JSX.Element | undefined;
|
|
271
271
|
declare namespace index_d_exports {
|
|
272
272
|
export { LanguageComponentDefinition, PropertyFn, cli_d_exports as cli, csharp_d_exports as csharp, go_d_exports as go, http_d_exports as http, java_d_exports as java, kotlin, node, python_d_exports as python, ruby_d_exports as ruby, typescript_d_exports as typescript };
|
|
273
273
|
}
|
|
@@ -1688,4 +1688,4 @@ declare namespace GoAST {
|
|
|
1688
1688
|
export type { GoAST_GoDeclConst as GoDeclConst, GoAST_GoDeclFunction as GoDeclFunction, GoAST_GoDeclProperty as GoDeclProperty, GoAST_GoDeclReference as GoDeclReference, GoAST_GoDeclType as GoDeclType, GoAST_GoDeclTypeAlias as GoDeclTypeAlias, GoAST_GoDeclaration as GoDeclaration, GoAST_GoFunctionParameter as GoFunctionParameter, GoAST_GoGenericParameter as GoGenericParameter, GoAST_GoIdentifier as GoIdentifier, GoAST_GoType as GoType, GoAST_GoTypeAny as GoTypeAny, GoAST_GoTypeArray as GoTypeArray, GoAST_GoTypeBool as GoTypeBool, GoAST_GoTypeError as GoTypeError, GoAST_GoTypeFloat as GoTypeFloat, GoAST_GoTypeInt as GoTypeInt, GoAST_GoTypeInterface as GoTypeInterface, GoAST_GoTypeMap as GoTypeMap, GoAST_GoTypePointer as GoTypePointer, GoAST_GoTypeReference as GoTypeReference, GoAST_GoTypeString as GoTypeString, GoAST_GoTypeStruct as GoTypeStruct, GoAST_GoTypeUnknown as GoTypeUnknown };
|
|
1689
1689
|
}
|
|
1690
1690
|
//#endregion
|
|
1691
|
-
export {
|
|
1691
|
+
export { SpecLanguage as _, GoAST as a, JavaAST as c, Model as d, PythonAST as f, Spec as g, SnippetLanguage as h, DeclarationNode as i, LanguageDeclNodes as l, RubyAST as m, CLIAST as n, HttpAST as o, Resource as p, CSharpAST as r, ID as s, BaseDeclaration as t, Method as u, TSAST as v, Type as y };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { a as Join, c as ListViewProps, d as ToggleButtonProps, f as Tooltip, i as InputProps, l as Markdown, n as Expander, o as Link, p as VirtualExpander, r as Input, s as ListView, t as Badge, u as ToggleButton } from "./primitives-Bmr19wBU.js";
|
|
2
|
+
import { n as generateApiBreadcrumbs, t as SDKBreadcrumbs } from "./breadcrumbs-CpdCGzeH.js";
|
|
3
|
+
import { a as MethodHeaderProps, c as MethodProps, i as MethodHeader, l as MethodRoute, n as MethodDescription, o as MethodInfo, r as MethodDescriptionProps, s as MethodInfoProps, t as Method, u as MethodRouteProps } from "./method-CZDrcjKP.js";
|
|
4
|
+
import { a as PropertyTitle, c as PropertyToggleProps, i as PropertyProps, n as PropertyDescription, o as PropertyTitleProps, r as PropertyDescriptionProps, s as PropertyToggle, t as Property } from "./properties-Dx6tQNus.js";
|
|
5
|
+
import { C as SDKSnippetLanguagesType, D as useStreamingResponse, E as useReferenceNesting, S as SDKSnippetLanguages, T as usePropertyModel, _ as SDKModel, a as SDKChildren, b as SDKRequestTitle, c as SDKDeclaration, d as SDKLanguageBlock, f as SDKMethod, g as SDKMethodProps, h as SDKMethodNotImplemented, i as ReferenceNestingContextType, l as SDKExample, m as SDKMethodInfo, n as PropertyModelContextType, o as SDKConstraints, p as SDKMethodHeader, r as ReferenceNestingContext, s as SDKConstraintsProps, t as PropertyModelContext, u as SDKIcon, v as SDKModelProps, w as TransformRequestSnippetFn, x as SDKRequestTitleProps, y as SDKReference } from "./sdk-BDzHdl2y.js";
|
|
6
|
+
import { a as SnippetContainer, c as SnippetProps, d as SnippetResponse, i as SnippetCodeProps, l as SnippetRequestContainer, n as SnippetButtons, o as SnippetContainerProps, r as SnippetCode, s as SnippetFooter, t as Snippet, u as SnippetRequestContainerProps } from "./snippets-Dfd3zU_j.js";
|
|
7
|
+
import { a as SDKResource, c as SDKRoot, i as SDKOverviewProps, l as SDKRootProps, n as SDKMethodSummaryProps, o as SDKResourceHeader, r as SDKOverview, s as SDKResourceProps, t as SDKMethodSummary } from "./overview-DVklHrbY.js";
|
|
8
|
+
import { n as SDKSidebarProps, t as SDKSidebar } from "./sdk-sidebar-CoVgP38f.js";
|
|
9
|
+
import { a as StlSidebarProps, i as StlSidebarLink, n as StlSidebarEntry, r as StlSidebarGroup, t as StlSidebar } from "./stl-sidebar-nQWQbRVM.js";
|
|
10
|
+
|
|
11
|
+
//#region src/components/index.d.ts
|
|
12
|
+
declare namespace index_d_exports {
|
|
13
|
+
export { Badge, Expander, Input, InputProps, Join, Link, ListView, ListViewProps, Markdown, Method, MethodDescription, MethodDescriptionProps, MethodHeader, MethodHeaderProps, MethodInfo, MethodInfoProps, MethodProps, MethodRoute, MethodRouteProps, Property, PropertyDescription, PropertyDescriptionProps, PropertyModelContext, PropertyModelContextType, PropertyProps, PropertyTitle, PropertyTitleProps, PropertyToggle, PropertyToggleProps, ReferenceNestingContext, ReferenceNestingContextType, SDKBreadcrumbs, SDKChildren, SDKConstraints, SDKConstraintsProps, SDKDeclaration, SDKExample, SDKIcon, SDKLanguageBlock, SDKMethod, SDKMethodHeader, SDKMethodInfo, SDKMethodNotImplemented, SDKMethodProps, SDKMethodSummary, SDKMethodSummaryProps, SDKModel, SDKModelProps, SDKOverview, SDKOverviewProps, SDKReference, SDKRequestTitle, SDKRequestTitleProps, SDKResource, SDKResourceHeader, SDKResourceProps, SDKRoot, SDKRootProps, SDKSidebar, SDKSidebarProps, SDKSnippetLanguages, SDKSnippetLanguagesType, Snippet, SnippetButtons, SnippetCode, SnippetCodeProps, SnippetContainer, SnippetContainerProps, SnippetFooter, SnippetProps, SnippetRequestContainer, SnippetRequestContainerProps, SnippetResponse, StlSidebar, StlSidebarEntry, StlSidebarGroup, StlSidebarLink, StlSidebarProps, ToggleButton, ToggleButtonProps, Tooltip, TransformRequestSnippetFn, VirtualExpander, generateApiBreadcrumbs, usePropertyModel, useReferenceNesting, useStreamingResponse };
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { index_d_exports as t };
|