@stainless-api/docs-ui 0.1.0-beta.87 → 0.1.0-beta.89
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/components/icons.js +5 -5
- package/dist/components/index.d.ts +2 -2
- package/dist/components/sdk.d.ts +1 -1
- package/dist/components/snippets.d.ts +1 -1
- package/dist/contexts/component-types.d.ts +1 -1
- package/dist/contexts/component.d.ts +1 -1
- package/dist/contexts/docs.d.ts +1 -1
- package/dist/contexts/index.d.ts +3 -3
- package/dist/contexts/navigation.d.ts +1 -1
- package/dist/contexts/use-components.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/languages/cli.d.ts +1 -1
- package/dist/languages/csharp.d.ts +1 -1
- package/dist/languages/go.d.ts +1 -1
- package/dist/languages/http.d.ts +1 -1
- package/dist/languages/index.d.ts +1 -1
- package/dist/languages/java.d.ts +1 -1
- package/dist/languages/php.d.ts +1 -1
- package/dist/languages/python.d.ts +1 -1
- package/dist/languages/ruby.d.ts +1 -1
- package/dist/languages/terraform.d.ts +1 -1
- package/dist/languages/typescript.d.ts +1 -1
- package/dist/markdown/printer.d.ts +1 -1
- package/dist/markdown/utils.d.ts +2 -2
- package/dist/routing.d.ts +1 -1
- package/dist/spec.d.ts +3 -3
- package/dist/styles/main.css +5 -9
- package/dist/styles/primitives.css +9 -9
- package/dist/styles.css +14 -18
- package/package.json +4 -4
- package/dist/docs-BomxNGuD.d.ts +0 -62
- package/dist/index-uRQlPa4x.d.ts +0 -464
- package/dist/navigation-22WDJvRF.d.ts +0 -29
- package/dist/routing-C_fawH40.d.ts +0 -61
- package/dist/sdk-Cx2Z7bDk.d.ts +0 -128
package/dist/components/icons.js
CHANGED
|
@@ -121,9 +121,9 @@ function GoIcon({ className }) {
|
|
|
121
121
|
return /* @__PURE__ */ jsxs("svg", {
|
|
122
122
|
xmlns: "http://www.w3.org/2000/svg",
|
|
123
123
|
width: "24",
|
|
124
|
-
height: "
|
|
124
|
+
height: "24",
|
|
125
125
|
className,
|
|
126
|
-
viewBox: "0
|
|
126
|
+
viewBox: "0 -7 24 24",
|
|
127
127
|
fill: "none",
|
|
128
128
|
children: [/* @__PURE__ */ jsx("path", {
|
|
129
129
|
fillRule: "evenodd",
|
|
@@ -748,9 +748,9 @@ function RubyIcon({ className }) {
|
|
|
748
748
|
function TerraformIcon({ className }) {
|
|
749
749
|
return /* @__PURE__ */ jsxs("svg", {
|
|
750
750
|
xmlns: "http://www.w3.org/2000/svg",
|
|
751
|
-
width: "
|
|
752
|
-
height: "
|
|
753
|
-
viewBox: "
|
|
751
|
+
width: "24",
|
|
752
|
+
height: "24",
|
|
753
|
+
viewBox: "-1 0 22 22",
|
|
754
754
|
fill: "none",
|
|
755
755
|
className,
|
|
756
756
|
children: [
|
|
@@ -2,8 +2,8 @@ import { a as Join, c as ListViewProps, d as ToggleButtonProps, f as Tooltip, i
|
|
|
2
2
|
import { n as generateApiBreadcrumbs, t as SDKBreadcrumbs } from "../breadcrumbs-DC2_z7nh.js";
|
|
3
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-CNRMOUfn.js";
|
|
4
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-CVwrzWVa.js";
|
|
5
|
-
import { A as useStreamingResponse, C as SDKRequestTitleProps, D as useDeclarationParents, E as TransformRequestSnippetFn, O as usePropertyModel, S as SDKRequestTitle, T as SDKSnippetLanguagesType, _ as SDKMethodNotImplemented, a as ReferenceNestingContextType, b as SDKModelProps, c as SDKConstraintsProps, d as SDKIcon, f as SDKLanguageBlock, g as SDKMethodInfoContent, h as SDKMethodInfo, i as ReferenceNestingContext, k as useReferenceNesting, l as SDKDeclaration, m as SDKMethodHeader, n as PropertyModelContext, o as SDKChildren, p as SDKMethod, r as PropertyModelContextType, s as SDKConstraints, t as DeclarationParentsContextType, u as SDKExample, v as SDKMethodProps, w as SDKSnippetLanguages, x as SDKReference, y as SDKModel } from "../sdk-
|
|
6
|
-
import { a as SnippetButtons, c as SnippetContainer, d as SnippetProps, f as SnippetRequestContainer, i as Snippet, l as SnippetContainerProps, m as SnippetResponse, n as MultiSnippets, o as SnippetCode, p as SnippetRequestContainerProps, r as MultiSnippetsProps, s as SnippetCodeProps, u as SnippetFooter } from "../index-
|
|
5
|
+
import { A as useStreamingResponse, C as SDKRequestTitleProps, D as useDeclarationParents, E as TransformRequestSnippetFn, O as usePropertyModel, S as SDKRequestTitle, T as SDKSnippetLanguagesType, _ as SDKMethodNotImplemented, a as ReferenceNestingContextType, b as SDKModelProps, c as SDKConstraintsProps, d as SDKIcon, f as SDKLanguageBlock, g as SDKMethodInfoContent, h as SDKMethodInfo, i as ReferenceNestingContext, k as useReferenceNesting, l as SDKDeclaration, m as SDKMethodHeader, n as PropertyModelContext, o as SDKChildren, p as SDKMethod, r as PropertyModelContextType, s as SDKConstraints, t as DeclarationParentsContextType, u as SDKExample, v as SDKMethodProps, w as SDKSnippetLanguages, x as SDKReference, y as SDKModel } from "../sdk-BkW3MDco.js";
|
|
6
|
+
import { a as SnippetButtons, c as SnippetContainer, d as SnippetProps, f as SnippetRequestContainer, i as Snippet, l as SnippetContainerProps, m as SnippetResponse, n as MultiSnippets, o as SnippetCode, p as SnippetRequestContainerProps, r as MultiSnippetsProps, s as SnippetCodeProps, u as SnippetFooter } from "../index-gGDaf6FK.js";
|
|
7
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-CDvh184n.js";
|
|
8
8
|
import { n as SDKSidebarProps, t as SDKSidebar } from "../sdk-sidebar-BpDlOMat.js";
|
|
9
9
|
import { a as StlSidebarProps, i as StlSidebarLink, n as StlSidebarEntry, o as StlSidebarTarget, r as StlSidebarGroup, t as StlSidebar } from "../stl-sidebar-CKrR5ZGs.js";
|
package/dist/components/sdk.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as useStreamingResponse, C as SDKRequestTitleProps, D as useDeclarationParents, E as TransformRequestSnippetFn, O as usePropertyModel, S as SDKRequestTitle, T as SDKSnippetLanguagesType, _ as SDKMethodNotImplemented, a as ReferenceNestingContextType, b as SDKModelProps, c as SDKConstraintsProps, d as SDKIcon, f as SDKLanguageBlock, g as SDKMethodInfoContent, h as SDKMethodInfo, i as ReferenceNestingContext, k as useReferenceNesting, l as SDKDeclaration, m as SDKMethodHeader, n as PropertyModelContext, o as SDKChildren, p as SDKMethod, r as PropertyModelContextType, s as SDKConstraints, t as DeclarationParentsContextType, u as SDKExample, v as SDKMethodProps, w as SDKSnippetLanguages, x as SDKReference, y as SDKModel } from "../sdk-
|
|
1
|
+
import { A as useStreamingResponse, C as SDKRequestTitleProps, D as useDeclarationParents, E as TransformRequestSnippetFn, O as usePropertyModel, S as SDKRequestTitle, T as SDKSnippetLanguagesType, _ as SDKMethodNotImplemented, a as ReferenceNestingContextType, b as SDKModelProps, c as SDKConstraintsProps, d as SDKIcon, f as SDKLanguageBlock, g as SDKMethodInfoContent, h as SDKMethodInfo, i as ReferenceNestingContext, k as useReferenceNesting, l as SDKDeclaration, m as SDKMethodHeader, n as PropertyModelContext, o as SDKChildren, p as SDKMethod, r as PropertyModelContextType, s as SDKConstraints, t as DeclarationParentsContextType, u as SDKExample, v as SDKMethodProps, w as SDKSnippetLanguages, x as SDKReference, y as SDKModel } from "../sdk-BkW3MDco.js";
|
|
2
2
|
export { DeclarationParentsContextType, PropertyModelContext, PropertyModelContextType, ReferenceNestingContext, ReferenceNestingContextType, SDKChildren, SDKConstraints, SDKConstraintsProps, SDKDeclaration, SDKExample, SDKIcon, SDKLanguageBlock, SDKMethod, SDKMethodHeader, SDKMethodInfo, SDKMethodInfoContent, SDKMethodNotImplemented, SDKMethodProps, SDKModel, SDKModelProps, SDKReference, SDKRequestTitle, SDKRequestTitleProps, SDKSnippetLanguages, SDKSnippetLanguagesType, TransformRequestSnippetFn, useDeclarationParents, usePropertyModel, useReferenceNesting, useStreamingResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SnippetButtons, c as SnippetContainer, d as SnippetProps, f as SnippetRequestContainer, i as Snippet, l as SnippetContainerProps, m as SnippetResponse, n as MultiSnippets, o as SnippetCode, p as SnippetRequestContainerProps, r as MultiSnippetsProps, s as SnippetCodeProps, u as SnippetFooter } from "../index-
|
|
1
|
+
import { a as SnippetButtons, c as SnippetContainer, d as SnippetProps, f as SnippetRequestContainer, i as Snippet, l as SnippetContainerProps, m as SnippetResponse, n as MultiSnippets, o as SnippetCode, p as SnippetRequestContainerProps, r as MultiSnippetsProps, s as SnippetCodeProps, u as SnippetFooter } from "../index-gGDaf6FK.js";
|
|
2
2
|
export { MultiSnippets, MultiSnippetsProps, Snippet, SnippetButtons, SnippetCode, SnippetCodeProps, SnippetContainer, SnippetContainerProps, SnippetFooter, SnippetProps, SnippetRequestContainer, SnippetRequestContainerProps, SnippetResponse };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as index_d_exports, y as index_d_exports$1 } from "../index-
|
|
1
|
+
import { t as index_d_exports, y as index_d_exports$1 } from "../index-gGDaf6FK.js";
|
|
2
2
|
//#region src/contexts/component-types.d.ts
|
|
3
3
|
type AppComponents = typeof index_d_exports;
|
|
4
4
|
type AppLanguage = typeof index_d_exports$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as index_d_exports, y as index_d_exports$1 } from "../index-
|
|
1
|
+
import { t as index_d_exports, y as index_d_exports$1 } from "../index-gGDaf6FK.js";
|
|
2
2
|
import { n as ComponentsContextType } from "../component-generics-q-ujwX4P.js";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
package/dist/contexts/docs.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as useSnippetResponse, a as DocsProviderProps, c as useContentPanelLayout, d as useIgnoredResources, f as useLanguage, g as useSnippetIds, h as useSnippet, i as DocsProvider, l as useDeclaration, m as useSettings, n as Declaration, o as PropertySettingsType, p as useResource, r as DocsContextType, s as useAvailableLanguages, t as ContentPanelLayout, u as useDocs, v as useSnippets, y as useSpec } from "../docs-
|
|
1
|
+
import { _ as useSnippetResponse, a as DocsProviderProps, c as useContentPanelLayout, d as useIgnoredResources, f as useLanguage, g as useSnippetIds, h as useSnippet, i as DocsProvider, l as useDeclaration, m as useSettings, n as Declaration, o as PropertySettingsType, p as useResource, r as DocsContextType, s as useAvailableLanguages, t as ContentPanelLayout, u as useDocs, v as useSnippets, y as useSpec } from "../docs-DSjdvCh5.js";
|
|
2
2
|
export { ContentPanelLayout, Declaration, DocsContextType, DocsProvider, DocsProviderProps, PropertySettingsType, useAvailableLanguages, useContentPanelLayout, useDeclaration, useDocs, useIgnoredResources, useLanguage, useResource, useSettings, useSnippet, useSnippetIds, useSnippetResponse, useSnippets, useSpec };
|
package/dist/contexts/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as useLanguageComponents } from "../index-
|
|
2
|
-
import { a as useNavigation, i as NavigationProviderProps, n as NavigationHandler, r as NavigationProvider, t as NavigationContextType } from "../navigation-
|
|
1
|
+
import { g as useLanguageComponents } from "../index-gGDaf6FK.js";
|
|
2
|
+
import { a as useNavigation, i as NavigationProviderProps, n as NavigationHandler, r as NavigationProvider, t as NavigationContextType } from "../navigation-C9ckAfpV.js";
|
|
3
3
|
import { a as SuspensefulMarkdownProvider, c as useRenderMarkdown, i as MarkdownProviderProps, n as MarkdownContextValue, o as useHighlight, r as MarkdownProvider, s as useMarkdownContext, t as MarkdownContext } from "../markdown-Cwdboi_V.js";
|
|
4
4
|
import { a as useComponents, i as useComponentContext, n as ComponentsContextType, r as customizeComponents, t as ComponentProvider } from "../component-generics-q-ujwX4P.js";
|
|
5
|
-
import { _ as useSnippetResponse, a as DocsProviderProps, c as useContentPanelLayout, d as useIgnoredResources, f as useLanguage, g as useSnippetIds, h as useSnippet, i as DocsProvider, l as useDeclaration, m as useSettings, n as Declaration, o as PropertySettingsType, p as useResource, r as DocsContextType, s as useAvailableLanguages, t as ContentPanelLayout, u as useDocs, v as useSnippets, y as useSpec } from "../docs-
|
|
5
|
+
import { _ as useSnippetResponse, a as DocsProviderProps, c as useContentPanelLayout, d as useIgnoredResources, f as useLanguage, g as useSnippetIds, h as useSnippet, i as DocsProvider, l as useDeclaration, m as useSettings, n as Declaration, o as PropertySettingsType, p as useResource, r as DocsContextType, s as useAvailableLanguages, t as ContentPanelLayout, u as useDocs, v as useSnippets, y as useSpec } from "../docs-DSjdvCh5.js";
|
|
6
6
|
export { ComponentProvider, ComponentsContextType, ContentPanelLayout, Declaration, DocsContextType, DocsProvider, DocsProviderProps, MarkdownContext, MarkdownContextValue, MarkdownProvider, MarkdownProviderProps, NavigationContextType, NavigationHandler, NavigationProvider, NavigationProviderProps, PropertySettingsType, SuspensefulMarkdownProvider, customizeComponents, useAvailableLanguages, useComponentContext, useComponents, useContentPanelLayout, useDeclaration, useDocs, useHighlight, useIgnoredResources, useLanguage, useLanguageComponents, useMarkdownContext, useNavigation, useRenderMarkdown, useResource, useSettings, useSnippet, useSnippetIds, useSnippetResponse, useSnippets, useSpec };
|
|
@@ -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-C9ckAfpV.js";
|
|
2
2
|
export { NavigationContextType, NavigationHandler, NavigationProvider, NavigationProviderProps, useNavigation };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { v as routing_d_exports } from "./routing-
|
|
2
|
-
import { h as index_d_exports$1, t as index_d_exports, y as index_d_exports$2 } from "./index-
|
|
1
|
+
import { v as routing_d_exports } from "./routing-yTSG7nWM.js";
|
|
2
|
+
import { h as index_d_exports$1, t as index_d_exports, y as index_d_exports$2 } from "./index-gGDaf6FK.js";
|
|
3
3
|
import { t as utils_d_exports } from "./utils.js";
|
|
4
4
|
import _default from "./style.js";
|
|
5
5
|
export { index_d_exports as components, index_d_exports$1 as contexts, index_d_exports$2 as languages, routing_d_exports as routing, _default as style, utils_d_exports as utils };
|
package/dist/languages/cli.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { B as PropertyProps, F as Declaration, H as TypeName, I as DeclarationProps, L as MethodSignature, R as MethodSignatureProps, V as Type, z as Property } from "../index-
|
|
1
|
+
import { B as PropertyProps, F as Declaration, H as TypeName, I as DeclarationProps, L as MethodSignature, R as MethodSignatureProps, V as Type, z as Property } from "../index-gGDaf6FK.js";
|
|
2
2
|
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as Declaration, at as Type, et as DeclarationProps, it as PropertyProps, nt as MethodSignatureProps, ot as TypeName, rt as Property, tt as MethodSignature } from "../index-
|
|
1
|
+
import { $ as Declaration, at as Type, et as DeclarationProps, it as PropertyProps, nt as MethodSignatureProps, ot as TypeName, rt as Property, tt as MethodSignature } from "../index-gGDaf6FK.js";
|
|
2
2
|
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
package/dist/languages/go.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Bt as Property, Ht as Type, It as Declaration, Lt as DeclarationProps, Rt as MethodSignature, Ut as TypeName, Vt as PropertyProps, Wt as TypeProps, zt as MethodSignatureProps } from "../index-
|
|
1
|
+
import { Bt as Property, Ht as Type, It as Declaration, Lt as DeclarationProps, Rt as MethodSignature, Ut as TypeName, Vt as PropertyProps, Wt as TypeProps, zt as MethodSignatureProps } from "../index-gGDaf6FK.js";
|
|
2
2
|
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName, TypeProps };
|
package/dist/languages/http.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ct as Declaration, dt as MethodSignature, ft as MethodSignatureProps, gt as TypeName, ht as Type, lt as DeclarationProps, mt as PropertyProps, pt as Property, ut as MethodInfo } from "../index-
|
|
1
|
+
import { ct as Declaration, dt as MethodSignature, ft as MethodSignatureProps, gt as TypeName, ht as Type, lt as DeclarationProps, mt as PropertyProps, pt as Property, ut as MethodInfo } from "../index-gGDaf6FK.js";
|
|
2
2
|
export { Declaration, DeclarationProps, MethodInfo, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Et as ruby_d_exports, Ft as python_d_exports, Gt as go_d_exports, P as terraform_d_exports, Q as php_d_exports, U as cli_d_exports, _ as LanguageComponentDefinition, _t as http_d_exports, b as kotlin, en as java_d_exports, ln as typescript_d_exports, st as csharp_d_exports, v as PropertyFn, x as node } from "../index-
|
|
1
|
+
import { Et as ruby_d_exports, Ft as python_d_exports, Gt as go_d_exports, P as terraform_d_exports, Q as php_d_exports, U as cli_d_exports, _ as LanguageComponentDefinition, _t as http_d_exports, b as kotlin, en as java_d_exports, ln as typescript_d_exports, st as csharp_d_exports, v as PropertyFn, x as node } from "../index-gGDaf6FK.js";
|
|
2
2
|
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, php_d_exports as php, python_d_exports as python, ruby_d_exports as ruby, terraform_d_exports as terraform, typescript_d_exports as typescript };
|
package/dist/languages/java.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $t as TypeName, Jt as MethodSignature, Kt as Declaration, Qt as Type, Xt as Property, Yt as MethodSignatureProps, Zt as PropertyProps, qt as DeclarationProps } from "../index-
|
|
1
|
+
import { $t as TypeName, Jt as MethodSignature, Kt as Declaration, Qt as Type, Xt as Property, Yt as MethodSignatureProps, Zt as PropertyProps, qt as DeclarationProps } from "../index-gGDaf6FK.js";
|
|
2
2
|
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
package/dist/languages/php.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { G as DeclarationProps, J as Property, K as MethodSignature, W as Declaration, X as Type, Y as PropertyProps, Z as TypeName, q as MethodSignatureProps } from "../index-
|
|
1
|
+
import { G as DeclarationProps, J as Property, K as MethodSignature, W as Declaration, X as Type, Y as PropertyProps, Z as TypeName, q as MethodSignatureProps } from "../index-gGDaf6FK.js";
|
|
2
2
|
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { At as MethodSignatureProps, Dt as Declaration, Mt as PropertyProps, Nt as Type, Ot as DeclarationProps, Pt as TypeName, jt as Property, kt as MethodSignature } from "../index-
|
|
1
|
+
import { At as MethodSignatureProps, Dt as Declaration, Mt as PropertyProps, Nt as Type, Ot as DeclarationProps, Pt as TypeName, jt as Property, kt as MethodSignature } from "../index-gGDaf6FK.js";
|
|
2
2
|
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
package/dist/languages/ruby.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ct as PropertyProps, St as Property, Tt as TypeName, bt as MethodSignature, vt as Declaration, wt as Type, xt as MethodSignatureProps, yt as DeclarationProps } from "../index-
|
|
1
|
+
import { Ct as PropertyProps, St as Property, Tt as TypeName, bt as MethodSignature, vt as Declaration, wt as Type, xt as MethodSignatureProps, yt as DeclarationProps } from "../index-gGDaf6FK.js";
|
|
2
2
|
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as Type, C as DeclarationProps, D as Resource, E as PropertyProps, M as TypeProps, N as isResourceEntirelyUnsupported, O as ResourceProps, S as Declaration, T as Property, j as TypeName, k as TerraformSource, w as MethodSignature } from "../index-
|
|
1
|
+
import { A as Type, C as DeclarationProps, D as Resource, E as PropertyProps, M as TypeProps, N as isResourceEntirelyUnsupported, O as ResourceProps, S as Declaration, T as Property, j as TypeName, k as TerraformSource, w as MethodSignature } from "../index-gGDaf6FK.js";
|
|
2
2
|
export { Declaration, DeclarationProps, MethodSignature, Property, PropertyProps, Resource, ResourceProps, TerraformSource, Type, TypeName, TypeProps, isResourceEntirelyUnsupported };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { an as Property, cn as TypeName, in as MethodSignatureProps, nn as DeclarationProps, on as PropertyProps, rn as MethodSignature, sn as Type, tn as Declaration } from "../index-
|
|
1
|
+
import { an as Property, cn as TypeName, in as MethodSignatureProps, nn as DeclarationProps, on as PropertyProps, rn as MethodSignature, sn as Type, tn as Declaration } from "../index-gGDaf6FK.js";
|
|
2
2
|
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as Type, i as DeclarationNode } from "../index-DFr9Mesr.js";
|
|
2
|
-
import { t as DocsLanguage } from "../routing-
|
|
2
|
+
import { t as DocsLanguage } from "../routing-yTSG7nWM.js";
|
|
3
3
|
|
|
4
4
|
//#region src/markdown/printer.d.ts
|
|
5
5
|
declare namespace printer_d_exports {
|
package/dist/markdown/utils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { u as LanguageDeclNodes, v as Spec, y as SpecLanguage } from "../index-DFr9Mesr.js";
|
|
2
|
-
import { t as DocsLanguage } from "../routing-
|
|
3
|
-
import { E as TransformRequestSnippetFn } from "../sdk-
|
|
2
|
+
import { t as DocsLanguage } from "../routing-yTSG7nWM.js";
|
|
3
|
+
import { E as TransformRequestSnippetFn } from "../sdk-BkW3MDco.js";
|
|
4
4
|
|
|
5
5
|
//#region src/markdown/utils.d.ts
|
|
6
6
|
type EnvironmentType = {
|
package/dist/routing.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { S as walkTree, _ as parseStainlessPath, a as RouteEntry, b as trimStainlessPath, c as expandToElement, d as generateRoute, f as generateRouteList, g as parseRoute, h as isSupportedLanguage, i as ParsedStainlessPath, l as findNavigationPath, m as getResource, n as LanguageNames, o as SpecTreeEntry, p as getLanguageSnippet, r as Languages, s as SupportedLanguageSyntaxes, t as DocsLanguage, u as generateMissingRouteList, x as updateHistory, y as scrollToPath } from "./routing-
|
|
1
|
+
import { S as walkTree, _ as parseStainlessPath, a as RouteEntry, b as trimStainlessPath, c as expandToElement, d as generateRoute, f as generateRouteList, g as parseRoute, h as isSupportedLanguage, i as ParsedStainlessPath, l as findNavigationPath, m as getResource, n as LanguageNames, o as SpecTreeEntry, p as getLanguageSnippet, r as Languages, s as SupportedLanguageSyntaxes, t as DocsLanguage, u as generateMissingRouteList, x as updateHistory, y as scrollToPath } from "./routing-yTSG7nWM.js";
|
|
2
2
|
export { DocsLanguage, LanguageNames, Languages, ParsedStainlessPath, RouteEntry, SpecTreeEntry, SupportedLanguageSyntaxes, expandToElement, findNavigationPath, generateMissingRouteList, generateRoute, generateRouteList, getLanguageSnippet, getResource, isSupportedLanguage, parseRoute, parseStainlessPath, scrollToPath, trimStainlessPath, updateHistory, walkTree };
|
package/dist/spec.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as Method, f as Model, h as Resource, i as DeclarationNode, v as Spec, y as SpecLanguage } from "./index-DFr9Mesr.js";
|
|
2
|
-
import { t as DocsLanguage } from "./routing-
|
|
2
|
+
import { t as DocsLanguage } from "./routing-yTSG7nWM.js";
|
|
3
3
|
|
|
4
4
|
//#region src/spec.d.ts
|
|
5
5
|
type SecurityScheme = Spec['security_schemes'][number];
|
|
@@ -36,13 +36,13 @@ declare function generateNavigation(resource: Partial<Resource>): {
|
|
|
36
36
|
declare function generateSpecForResource(spec: Spec, name: string, lang: DocsLanguage, transforms: SpecTransforms): Partial<Spec>;
|
|
37
37
|
declare function transform(spec: Spec, transforms: SpecTransforms): {
|
|
38
38
|
name: string;
|
|
39
|
-
lang: "
|
|
39
|
+
lang: "http" | "node" | "python" | "go" | "typescript" | "terraform" | "ruby" | "java" | "kotlin" | "csharp" | "php" | "cli";
|
|
40
40
|
spec: Partial<Spec>;
|
|
41
41
|
}[];
|
|
42
42
|
declare function split(spec: Spec, transforms?: SpecTransforms): {
|
|
43
43
|
resources: ReturnType<typeof transform>;
|
|
44
44
|
navigation: {
|
|
45
|
-
languages: ("
|
|
45
|
+
languages: ("http" | "node" | "python" | "go" | "typescript" | "terraform" | "ruby" | "java" | "kotlin" | "csharp" | "php" | "cli" | "sql" | "openapi")[] | undefined;
|
|
46
46
|
resources: {
|
|
47
47
|
[k: string]: {
|
|
48
48
|
title: string | undefined;
|
package/dist/styles/main.css
CHANGED
|
@@ -192,6 +192,10 @@
|
|
|
192
192
|
color: var(--stl-color-foreground-muted);
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
+
& .stldocs-type-preview:is([data-stldocs-language="http"] .stldocs-type-preview) {
|
|
196
|
+
font-family: var(--stl-typography-font);
|
|
197
|
+
}
|
|
198
|
+
|
|
195
199
|
& .stldocs-property-type, & .stldocs-property-declaration {
|
|
196
200
|
& .stldocs-type-preview[data-stldocs-type-preview="union"] .stldocs-type-preview[data-stldocs-type-preview="properties"] {
|
|
197
201
|
display: none;
|
|
@@ -232,7 +236,7 @@
|
|
|
232
236
|
transition: background-color .1s;
|
|
233
237
|
}
|
|
234
238
|
|
|
235
|
-
& .stldocs-property-description, & .stldocs-property-title {
|
|
239
|
+
& .stldocs-property-description, & .stldocs-property-title, & .stldocs-property-content {
|
|
236
240
|
font-size: var(--stl-typography-scale-sm);
|
|
237
241
|
color: var(--stl-color-foreground-reduced);
|
|
238
242
|
|
|
@@ -302,14 +306,6 @@
|
|
|
302
306
|
margin-right: .4rem;
|
|
303
307
|
}
|
|
304
308
|
}
|
|
305
|
-
|
|
306
|
-
& .stldocs-property-constraint-value {
|
|
307
|
-
background-color: var(--stldocs-color-bg-inline-code);
|
|
308
|
-
color: var(--stl-color-foreground-reduced);
|
|
309
|
-
font-family: var(--stl-typography-font-mono);
|
|
310
|
-
border-radius: 4px;
|
|
311
|
-
padding: 3px 4px;
|
|
312
|
-
}
|
|
313
309
|
}
|
|
314
310
|
|
|
315
311
|
& .stldocs-property-type:not(:first-child), & .stldocs-property .stldocs-property-type {
|
|
@@ -197,15 +197,6 @@
|
|
|
197
197
|
color: var(--stl-color-link-foreground);
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
& code:not(pre code) {
|
|
201
|
-
font-family: var(--stl-typography-font-mono);
|
|
202
|
-
background-color: var(--stldocs-color-bg-inline-code);
|
|
203
|
-
word-break: break-all;
|
|
204
|
-
border-radius: 4px;
|
|
205
|
-
padding: 0 4px;
|
|
206
|
-
font-size: .84rem;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
200
|
& strong {
|
|
210
201
|
font-weight: bold;
|
|
211
202
|
}
|
|
@@ -246,6 +237,15 @@
|
|
|
246
237
|
}
|
|
247
238
|
}
|
|
248
239
|
|
|
240
|
+
.stldocs-root .stldocs-content code:not(pre code), .stldocs-root .stldocs-property-constraint .stldocs-property-constraint-value {
|
|
241
|
+
font-family: var(--stl-typography-font-mono);
|
|
242
|
+
background-color: var(--stldocs-color-bg-inline-code);
|
|
243
|
+
word-break: break-all;
|
|
244
|
+
border-radius: 4px;
|
|
245
|
+
padding: 0 4px;
|
|
246
|
+
font-size: .84rem;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
249
|
.stldocs-root .stldocs-input {
|
|
250
250
|
border: 1px solid var(--stl-color-border);
|
|
251
251
|
background: var(--stl-color-background);
|
package/dist/styles.css
CHANGED
|
@@ -1441,15 +1441,6 @@ a.stl-ui-button {
|
|
|
1441
1441
|
color: var(--stl-color-link-foreground);
|
|
1442
1442
|
}
|
|
1443
1443
|
|
|
1444
|
-
& code:not(pre code) {
|
|
1445
|
-
font-family: var(--stl-typography-font-mono);
|
|
1446
|
-
background-color: var(--stldocs-color-bg-inline-code);
|
|
1447
|
-
word-break: break-all;
|
|
1448
|
-
border-radius: 4px;
|
|
1449
|
-
padding: 0 4px;
|
|
1450
|
-
font-size: .84rem;
|
|
1451
|
-
}
|
|
1452
|
-
|
|
1453
1444
|
& strong {
|
|
1454
1445
|
font-weight: bold;
|
|
1455
1446
|
}
|
|
@@ -1490,6 +1481,15 @@ a.stl-ui-button {
|
|
|
1490
1481
|
}
|
|
1491
1482
|
}
|
|
1492
1483
|
|
|
1484
|
+
.stldocs-root .stldocs-content code:not(pre code), .stldocs-root .stldocs-property-constraint .stldocs-property-constraint-value {
|
|
1485
|
+
font-family: var(--stl-typography-font-mono);
|
|
1486
|
+
background-color: var(--stldocs-color-bg-inline-code);
|
|
1487
|
+
word-break: break-all;
|
|
1488
|
+
border-radius: 4px;
|
|
1489
|
+
padding: 0 4px;
|
|
1490
|
+
font-size: .84rem;
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
1493
|
.stldocs-root .stldocs-input {
|
|
1494
1494
|
border: 1px solid var(--stl-color-border);
|
|
1495
1495
|
background: var(--stl-color-background);
|
|
@@ -1926,6 +1926,10 @@ a.stl-ui-button {
|
|
|
1926
1926
|
color: var(--stl-color-foreground-muted);
|
|
1927
1927
|
}
|
|
1928
1928
|
|
|
1929
|
+
& .stldocs-type-preview:is([data-stldocs-language="http"] .stldocs-type-preview) {
|
|
1930
|
+
font-family: var(--stl-typography-font);
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1929
1933
|
& .stldocs-property-type, & .stldocs-property-declaration {
|
|
1930
1934
|
& .stldocs-type-preview[data-stldocs-type-preview="union"] .stldocs-type-preview[data-stldocs-type-preview="properties"] {
|
|
1931
1935
|
display: none;
|
|
@@ -1966,7 +1970,7 @@ a.stl-ui-button {
|
|
|
1966
1970
|
transition: background-color .1s;
|
|
1967
1971
|
}
|
|
1968
1972
|
|
|
1969
|
-
& .stldocs-property-description, & .stldocs-property-title {
|
|
1973
|
+
& .stldocs-property-description, & .stldocs-property-title, & .stldocs-property-content {
|
|
1970
1974
|
font-size: var(--stl-typography-scale-sm);
|
|
1971
1975
|
color: var(--stl-color-foreground-reduced);
|
|
1972
1976
|
|
|
@@ -2036,14 +2040,6 @@ a.stl-ui-button {
|
|
|
2036
2040
|
margin-right: .4rem;
|
|
2037
2041
|
}
|
|
2038
2042
|
}
|
|
2039
|
-
|
|
2040
|
-
& .stldocs-property-constraint-value {
|
|
2041
|
-
background-color: var(--stldocs-color-bg-inline-code);
|
|
2042
|
-
color: var(--stl-color-foreground-reduced);
|
|
2043
|
-
font-family: var(--stl-typography-font-mono);
|
|
2044
|
-
border-radius: 4px;
|
|
2045
|
-
padding: 3px 4px;
|
|
2046
|
-
}
|
|
2047
2043
|
}
|
|
2048
2044
|
|
|
2049
2045
|
& .stldocs-property-type:not(:first-child), & .stldocs-property .stldocs-property-type {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stainless-api/docs-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.0-beta.
|
|
4
|
+
"version": "0.1.0-beta.89",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@markdoc/markdoc": "^0.5.6",
|
|
18
18
|
"clsx": "^2.1.1",
|
|
19
|
-
"htmlparser2": "^
|
|
19
|
+
"htmlparser2": "^11.0.0",
|
|
20
20
|
"lucide-react": "^0.577.0",
|
|
21
21
|
"@stainless-api/ui-primitives": "0.1.0-beta.50"
|
|
22
22
|
},
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"react-dom": "^19.2.4",
|
|
31
31
|
"tsdown": "^0.21.4",
|
|
32
32
|
"typescript": "5.9.3",
|
|
33
|
-
"@stainless/
|
|
34
|
-
"@stainless/
|
|
33
|
+
"@stainless/eslint-config": "0.1.0-beta.1",
|
|
34
|
+
"@stainless/sdk-json": "^0.1.0-beta.9"
|
|
35
35
|
},
|
|
36
36
|
"exports": {
|
|
37
37
|
".": {
|
package/dist/docs-BomxNGuD.d.ts
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { h as Resource, u as LanguageDeclNodes, v as Spec, y as SpecLanguage } from "./index-DFr9Mesr.js";
|
|
2
|
-
import * as React$1 from "react";
|
|
3
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
-
|
|
5
|
-
//#region src/contexts/docs.d.ts
|
|
6
|
-
type ContentPanelLayout = 'double-pane' | 'single-pane';
|
|
7
|
-
type PropertySettingsType = {
|
|
8
|
-
types?: 'simple' | 'rich';
|
|
9
|
-
includeModelProperties?: boolean | 'method-page';
|
|
10
|
-
collapseDescription?: boolean | 'show-first-line';
|
|
11
|
-
showTitle?: boolean;
|
|
12
|
-
expandDepth?: number;
|
|
13
|
-
};
|
|
14
|
-
type DocsContextType = {
|
|
15
|
-
language: SpecLanguage;
|
|
16
|
-
spec: Spec | null;
|
|
17
|
-
settings?: {
|
|
18
|
-
properties?: PropertySettingsType;
|
|
19
|
-
contentPanelLayout?: ContentPanelLayout;
|
|
20
|
-
virtualExpanders?: boolean;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
declare function useDocs(): DocsContextType;
|
|
24
|
-
declare function useSpec(): Spec | null;
|
|
25
|
-
declare function useSettings(): {
|
|
26
|
-
properties?: PropertySettingsType;
|
|
27
|
-
contentPanelLayout?: ContentPanelLayout;
|
|
28
|
-
virtualExpanders?: boolean;
|
|
29
|
-
} | undefined;
|
|
30
|
-
declare function useSnippets(stainlessPath: string, language?: SpecLanguage): {
|
|
31
|
-
[key: `custom:${string}`]: {
|
|
32
|
-
content: string;
|
|
33
|
-
};
|
|
34
|
-
default: {
|
|
35
|
-
content: string;
|
|
36
|
-
};
|
|
37
|
-
} | undefined;
|
|
38
|
-
declare function useSnippetIds(stainlessPath: string, language?: SpecLanguage): SnippetId[] | undefined;
|
|
39
|
-
type SnippetId = keyof NonNullable<ReturnType<typeof useSnippets>>;
|
|
40
|
-
declare function useSnippet(stainlessPath: string, language?: SpecLanguage, snippetId?: SnippetId): string | undefined;
|
|
41
|
-
declare function useSnippetResponse(stainlessPath: string, snippetId?: SnippetId): {
|
|
42
|
-
status?: string;
|
|
43
|
-
content: string;
|
|
44
|
-
}[] | undefined;
|
|
45
|
-
type Declaration = LanguageDeclNodes[SpecLanguage];
|
|
46
|
-
declare function useDeclaration<Required extends boolean>(stainlessPath: string, required: Required, language?: SpecLanguage): (Required extends true ? never : undefined) | Declaration;
|
|
47
|
-
declare function useAvailableLanguages(stainlessPath: string): SpecLanguage[];
|
|
48
|
-
declare function useIgnoredResources(): string[];
|
|
49
|
-
declare function useResource(name: string): Resource | undefined;
|
|
50
|
-
declare function useLanguage(): "cli" | "csharp" | "go" | "http" | "java" | "kotlin" | "node" | "php" | "python" | "ruby" | "terraform" | "typescript";
|
|
51
|
-
declare function useContentPanelLayout(): ContentPanelLayout;
|
|
52
|
-
type DocsProviderProps = DocsContextType & {
|
|
53
|
-
children: React$1.ReactNode;
|
|
54
|
-
};
|
|
55
|
-
declare function DocsProvider({
|
|
56
|
-
spec,
|
|
57
|
-
language,
|
|
58
|
-
settings,
|
|
59
|
-
children
|
|
60
|
-
}: DocsProviderProps): react_jsx_runtime0.JSX.Element;
|
|
61
|
-
//#endregion
|
|
62
|
-
export { useSnippetResponse as _, DocsProviderProps as a, useContentPanelLayout as c, useIgnoredResources as d, useLanguage as f, useSnippetIds as g, useSnippet as h, DocsProvider as i, useDeclaration as l, useSettings as m, Declaration as n, PropertySettingsType as o, useResource as p, DocsContextType as r, useAvailableLanguages as s, ContentPanelLayout as t, useDocs as u, useSnippets as v, useSpec as y };
|
package/dist/index-uRQlPa4x.d.ts
DELETED
|
@@ -1,464 +0,0 @@
|
|
|
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-DFE_4MvV.js";
|
|
2
|
-
import { S as Type$10, a as GoAST, b as TSAST, d as Method, g as RubyAST, h as Resource$1, i as DeclarationNode, l as JavaAST, m as PythonAST, n as CLIAST, o as HasStainlessPath, p as PhpAST, r as CSharpAST, s as HttpAST, x as TerraformAST } from "./index-DFr9Mesr.js";
|
|
3
|
-
import { n as generateApiBreadcrumbs, t as SDKBreadcrumbs } from "./breadcrumbs-DC2_z7nh.js";
|
|
4
|
-
import { a as MethodHeaderProps, c as MethodProps, i as MethodHeader, l as MethodRoute, n as MethodDescription, o as MethodInfo$1, r as MethodDescriptionProps, s as MethodInfoProps, t as Method$1, u as MethodRouteProps } from "./method-CNRMOUfn.js";
|
|
5
|
-
import { a as PropertyTitle, c as PropertyToggleProps, i as PropertyProps$10, n as PropertyDescription, o as PropertyTitleProps, r as PropertyDescriptionProps, s as PropertyToggle, t as Property$10 } from "./properties-CVwrzWVa.js";
|
|
6
|
-
import { A as useStreamingResponse, C as SDKRequestTitleProps, D as useDeclarationParents, E as TransformRequestSnippetFn, O as usePropertyModel, S as SDKRequestTitle, T as SDKSnippetLanguagesType, _ as SDKMethodNotImplemented, a as ReferenceNestingContextType, b as SDKModelProps, c as SDKConstraintsProps, d as SDKIcon, f as SDKLanguageBlock, g as SDKMethodInfoContent, h as SDKMethodInfo, i as ReferenceNestingContext, k as useReferenceNesting, l as SDKDeclaration, m as SDKMethodHeader, n as PropertyModelContext, o as SDKChildren, p as SDKMethod, r as PropertyModelContextType, s as SDKConstraints, t as DeclarationParentsContextType, u as SDKExample, v as SDKMethodProps, w as SDKSnippetLanguages, x as SDKReference, y as SDKModel } from "./sdk-Cx2Z7bDk.js";
|
|
7
|
-
import { a as useNavigation, i as NavigationProviderProps, n as NavigationHandler, r as NavigationProvider, t as NavigationContextType } from "./navigation-22WDJvRF.js";
|
|
8
|
-
import { a as SuspensefulMarkdownProvider, c as useRenderMarkdown, i as MarkdownProviderProps, n as MarkdownContextValue, o as useHighlight, r as MarkdownProvider, s as useMarkdownContext, t as MarkdownContext } from "./markdown-Cwdboi_V.js";
|
|
9
|
-
import { a as useComponents, i as useComponentContext, n as ComponentsContextType, r as customizeComponents, t as ComponentProvider } from "./component-generics-q-ujwX4P.js";
|
|
10
|
-
import { _ as useSnippetResponse, a as DocsProviderProps, c as useContentPanelLayout, d as useIgnoredResources, f as useLanguage, g as useSnippetIds, h as useSnippet, i as DocsProvider, l as useDeclaration, m as useSettings, n as Declaration$10, o as PropertySettingsType, p as useResource, r as DocsContextType, s as useAvailableLanguages, t as ContentPanelLayout, u as useDocs, v as useSnippets, y as useSpec } from "./docs-BomxNGuD.js";
|
|
11
|
-
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-CDvh184n.js";
|
|
12
|
-
import { n as SDKSidebarProps, t as SDKSidebar } from "./sdk-sidebar-BpDlOMat.js";
|
|
13
|
-
import { a as StlSidebarProps, i as StlSidebarLink, n as StlSidebarEntry, o as StlSidebarTarget, r as StlSidebarGroup, t as StlSidebar } from "./stl-sidebar-CKrR5ZGs.js";
|
|
14
|
-
import * as React$1 from "react";
|
|
15
|
-
import React, { ReactNode } from "react";
|
|
16
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
17
|
-
|
|
18
|
-
//#region src/languages/typescript.d.ts
|
|
19
|
-
declare namespace typescript_d_exports {
|
|
20
|
-
export { Declaration$9 as Declaration, DeclarationProps$9 as DeclarationProps, MethodSignature$9 as MethodSignature, MethodSignatureProps$8 as MethodSignatureProps, Property$9 as Property, PropertyProps$9 as PropertyProps, Type$9 as Type, TypeName$9 as TypeName };
|
|
21
|
-
}
|
|
22
|
-
type TypeProps$9 = {
|
|
23
|
-
type: TSAST.TSType;
|
|
24
|
-
};
|
|
25
|
-
declare function TypeName$9({
|
|
26
|
-
type
|
|
27
|
-
}: TypeProps$9): string | react_jsx_runtime0.JSX.Element;
|
|
28
|
-
declare function Type$9({
|
|
29
|
-
type
|
|
30
|
-
}: TypeProps$9): react_jsx_runtime0.JSX.Element;
|
|
31
|
-
type MethodSignatureProps$8 = {
|
|
32
|
-
decl: TSAST.TSDeclFunction;
|
|
33
|
-
};
|
|
34
|
-
declare function MethodSignature$9({
|
|
35
|
-
decl
|
|
36
|
-
}: MethodSignatureProps$8): react_jsx_runtime0.JSX.Element;
|
|
37
|
-
type PropertyProps$9 = {
|
|
38
|
-
decl: TSAST.TSDeclaration;
|
|
39
|
-
children: PropertyFn;
|
|
40
|
-
};
|
|
41
|
-
declare function Property$9({
|
|
42
|
-
decl,
|
|
43
|
-
children
|
|
44
|
-
}: PropertyProps$9): React$1.ReactNode;
|
|
45
|
-
type DeclarationProps$9 = {
|
|
46
|
-
decl: TSAST.TSDeclaration;
|
|
47
|
-
};
|
|
48
|
-
declare function Declaration$9({
|
|
49
|
-
decl
|
|
50
|
-
}: DeclarationProps$9): react_jsx_runtime0.JSX.Element | undefined;
|
|
51
|
-
declare namespace java_d_exports {
|
|
52
|
-
export { Declaration$8 as Declaration, DeclarationProps$8 as DeclarationProps, MethodSignature$8 as MethodSignature, MethodSignatureProps$7 as MethodSignatureProps, Property$8 as Property, PropertyProps$8 as PropertyProps, Type$8 as Type, TypeName$8 as TypeName };
|
|
53
|
-
}
|
|
54
|
-
type TypeProps$8 = {
|
|
55
|
-
type: JavaAST.JavaType;
|
|
56
|
-
optional?: boolean;
|
|
57
|
-
};
|
|
58
|
-
declare function TypeName$8({
|
|
59
|
-
type,
|
|
60
|
-
optional
|
|
61
|
-
}: TypeProps$8): react_jsx_runtime0.JSX.Element | "List";
|
|
62
|
-
declare function Type$8({
|
|
63
|
-
type,
|
|
64
|
-
optional
|
|
65
|
-
}: TypeProps$8): react_jsx_runtime0.JSX.Element;
|
|
66
|
-
type MethodSignatureProps$7 = {
|
|
67
|
-
decl: JavaAST.JavaDeclFunction;
|
|
68
|
-
};
|
|
69
|
-
declare function MethodSignature$8({
|
|
70
|
-
decl
|
|
71
|
-
}: MethodSignatureProps$7): react_jsx_runtime0.JSX.Element;
|
|
72
|
-
type PropertyProps$8 = {
|
|
73
|
-
decl: JavaAST.JavaDeclaration;
|
|
74
|
-
children: PropertyFn;
|
|
75
|
-
};
|
|
76
|
-
declare function Property$8({
|
|
77
|
-
decl,
|
|
78
|
-
children
|
|
79
|
-
}: PropertyProps$8): React$1.ReactNode;
|
|
80
|
-
type DeclarationProps$8 = {
|
|
81
|
-
decl: JavaAST.JavaDeclaration;
|
|
82
|
-
};
|
|
83
|
-
declare function Declaration$8({
|
|
84
|
-
decl
|
|
85
|
-
}: DeclarationProps$8): react_jsx_runtime0.JSX.Element | null | undefined;
|
|
86
|
-
declare namespace go_d_exports {
|
|
87
|
-
export { Declaration$7 as Declaration, DeclarationProps$7 as DeclarationProps, MethodSignature$7 as MethodSignature, MethodSignatureProps$6 as MethodSignatureProps, Property$7 as Property, PropertyProps$7 as PropertyProps, Type$7 as Type, TypeName$7 as TypeName, TypeProps$7 as TypeProps };
|
|
88
|
-
}
|
|
89
|
-
type TypeProps$7 = {
|
|
90
|
-
type: GoAST.GoType;
|
|
91
|
-
};
|
|
92
|
-
declare function TypeName$7({
|
|
93
|
-
type
|
|
94
|
-
}: TypeProps$7): string | react_jsx_runtime0.JSX.Element;
|
|
95
|
-
declare function Type$7({
|
|
96
|
-
type
|
|
97
|
-
}: TypeProps$7): react_jsx_runtime0.JSX.Element;
|
|
98
|
-
type MethodSignatureProps$6 = {
|
|
99
|
-
decl: GoAST.GoDeclFunction;
|
|
100
|
-
};
|
|
101
|
-
declare function MethodSignature$7({
|
|
102
|
-
decl
|
|
103
|
-
}: MethodSignatureProps$6): react_jsx_runtime0.JSX.Element;
|
|
104
|
-
type PropertyProps$7 = {
|
|
105
|
-
decl: GoAST.GoDeclaration;
|
|
106
|
-
children: PropertyFn;
|
|
107
|
-
};
|
|
108
|
-
declare function Property$7({
|
|
109
|
-
decl,
|
|
110
|
-
children
|
|
111
|
-
}: PropertyProps$7): React$1.ReactNode;
|
|
112
|
-
type DeclarationProps$7 = {
|
|
113
|
-
decl: GoAST.GoDeclaration;
|
|
114
|
-
};
|
|
115
|
-
declare function Declaration$7({
|
|
116
|
-
decl
|
|
117
|
-
}: DeclarationProps$7): react_jsx_runtime0.JSX.Element | undefined;
|
|
118
|
-
declare namespace python_d_exports {
|
|
119
|
-
export { Declaration$6 as Declaration, DeclarationProps$6 as DeclarationProps, MethodSignature$6 as MethodSignature, MethodSignatureProps$5 as MethodSignatureProps, Property$6 as Property, PropertyProps$6 as PropertyProps, Type$6 as Type, TypeName$6 as TypeName };
|
|
120
|
-
}
|
|
121
|
-
type TypeProps$6 = {
|
|
122
|
-
type: PythonAST.PythonType;
|
|
123
|
-
};
|
|
124
|
-
declare function TypeName$6({
|
|
125
|
-
type
|
|
126
|
-
}: TypeProps$6): string | react_jsx_runtime0.JSX.Element;
|
|
127
|
-
declare function Type$6({
|
|
128
|
-
type
|
|
129
|
-
}: TypeProps$6): react_jsx_runtime0.JSX.Element;
|
|
130
|
-
type MethodSignatureProps$5 = {
|
|
131
|
-
decl: PythonAST.PythonDeclFunction;
|
|
132
|
-
};
|
|
133
|
-
declare function MethodSignature$6({
|
|
134
|
-
decl
|
|
135
|
-
}: MethodSignatureProps$5): react_jsx_runtime0.JSX.Element;
|
|
136
|
-
type PropertyProps$6 = {
|
|
137
|
-
decl: PythonAST.PythonDeclaration;
|
|
138
|
-
children: PropertyFn;
|
|
139
|
-
};
|
|
140
|
-
declare function Property$6({
|
|
141
|
-
decl,
|
|
142
|
-
children
|
|
143
|
-
}: PropertyProps$6): React$1.ReactNode;
|
|
144
|
-
type DeclarationProps$6 = {
|
|
145
|
-
decl: PythonAST.PythonDeclaration;
|
|
146
|
-
};
|
|
147
|
-
declare function Declaration$6({
|
|
148
|
-
decl
|
|
149
|
-
}: DeclarationProps$6): react_jsx_runtime0.JSX.Element | undefined;
|
|
150
|
-
declare namespace ruby_d_exports {
|
|
151
|
-
export { Declaration$5 as Declaration, DeclarationProps$5 as DeclarationProps, MethodSignature$5 as MethodSignature, MethodSignatureProps$4 as MethodSignatureProps, Property$5 as Property, PropertyProps$5 as PropertyProps, Type$5 as Type, TypeName$5 as TypeName };
|
|
152
|
-
}
|
|
153
|
-
type TypeProps$5 = {
|
|
154
|
-
type: RubyAST.RubyType;
|
|
155
|
-
};
|
|
156
|
-
declare function TypeName$5({
|
|
157
|
-
type
|
|
158
|
-
}: TypeProps$5): string | react_jsx_runtime0.JSX.Element;
|
|
159
|
-
declare function Type$5({
|
|
160
|
-
type
|
|
161
|
-
}: TypeProps$5): react_jsx_runtime0.JSX.Element;
|
|
162
|
-
type MethodSignatureProps$4 = {
|
|
163
|
-
decl: RubyAST.RubyDeclFunction;
|
|
164
|
-
};
|
|
165
|
-
declare function MethodSignature$5({
|
|
166
|
-
decl
|
|
167
|
-
}: MethodSignatureProps$4): react_jsx_runtime0.JSX.Element;
|
|
168
|
-
type PropertyProps$5 = {
|
|
169
|
-
decl: RubyAST.RubyDeclaration;
|
|
170
|
-
children: PropertyFn;
|
|
171
|
-
};
|
|
172
|
-
declare function Property$5({
|
|
173
|
-
decl,
|
|
174
|
-
children
|
|
175
|
-
}: PropertyProps$5): React$1.ReactNode;
|
|
176
|
-
type DeclarationProps$5 = {
|
|
177
|
-
decl: RubyAST.RubyDeclaration;
|
|
178
|
-
};
|
|
179
|
-
declare function Declaration$5({
|
|
180
|
-
decl
|
|
181
|
-
}: DeclarationProps$5): react_jsx_runtime0.JSX.Element | undefined;
|
|
182
|
-
declare namespace http_d_exports {
|
|
183
|
-
export { Declaration$4 as Declaration, DeclarationProps$4 as DeclarationProps, MethodInfo, MethodSignature$4 as MethodSignature, MethodSignatureProps$3 as MethodSignatureProps, Property$4 as Property, PropertyProps$4 as PropertyProps, Type$4 as Type, TypeName$4 as TypeName };
|
|
184
|
-
}
|
|
185
|
-
type TypeProps$4 = {
|
|
186
|
-
type: HttpAST.HttpType;
|
|
187
|
-
};
|
|
188
|
-
declare function TypeName$4({
|
|
189
|
-
type
|
|
190
|
-
}: TypeProps$4): string | react_jsx_runtime0.JSX.Element;
|
|
191
|
-
declare function Type$4({
|
|
192
|
-
type
|
|
193
|
-
}: TypeProps$4): react_jsx_runtime0.JSX.Element;
|
|
194
|
-
type MethodSignatureProps$3 = {
|
|
195
|
-
decl: HttpAST.HttpDeclFunction;
|
|
196
|
-
};
|
|
197
|
-
declare function MethodSignature$4({
|
|
198
|
-
decl
|
|
199
|
-
}: MethodSignatureProps$3): null;
|
|
200
|
-
declare function MethodInfo({
|
|
201
|
-
decl,
|
|
202
|
-
children
|
|
203
|
-
}: MethodSignatureProps$3 & {
|
|
204
|
-
children: React.ReactNode;
|
|
205
|
-
}): react_jsx_runtime0.JSX.Element;
|
|
206
|
-
type PropertyProps$4 = {
|
|
207
|
-
decl: HttpAST.HttpDeclaration;
|
|
208
|
-
children: PropertyFn;
|
|
209
|
-
};
|
|
210
|
-
declare function Property$4({
|
|
211
|
-
decl,
|
|
212
|
-
children
|
|
213
|
-
}: PropertyProps$4): React.ReactNode;
|
|
214
|
-
type DeclarationProps$4 = {
|
|
215
|
-
decl: HttpAST.HttpDeclaration;
|
|
216
|
-
};
|
|
217
|
-
declare function Declaration$4({
|
|
218
|
-
decl
|
|
219
|
-
}: DeclarationProps$4): react_jsx_runtime0.JSX.Element | undefined;
|
|
220
|
-
declare namespace csharp_d_exports {
|
|
221
|
-
export { Declaration$3 as Declaration, DeclarationProps$3 as DeclarationProps, MethodSignature$3 as MethodSignature, MethodSignatureProps$2 as MethodSignatureProps, Property$3 as Property, PropertyProps$3 as PropertyProps, Type$3 as Type, TypeName$3 as TypeName };
|
|
222
|
-
}
|
|
223
|
-
declare function TypeName$3({
|
|
224
|
-
type,
|
|
225
|
-
optional
|
|
226
|
-
}: TypeProps$3): react_jsx_runtime0.JSX.Element;
|
|
227
|
-
type TypeProps$3 = {
|
|
228
|
-
type: CSharpAST.CSharpType;
|
|
229
|
-
optional?: boolean;
|
|
230
|
-
};
|
|
231
|
-
declare function Type$3({
|
|
232
|
-
type
|
|
233
|
-
}: TypeProps$3): react_jsx_runtime0.JSX.Element;
|
|
234
|
-
type MethodSignatureProps$2 = {
|
|
235
|
-
decl: CSharpAST.CSharpDeclFunction;
|
|
236
|
-
};
|
|
237
|
-
declare function MethodSignature$3({
|
|
238
|
-
decl
|
|
239
|
-
}: MethodSignatureProps$2): react_jsx_runtime0.JSX.Element;
|
|
240
|
-
type PropertyProps$3 = {
|
|
241
|
-
decl: CSharpAST.CSharpDeclaration;
|
|
242
|
-
children: PropertyFn;
|
|
243
|
-
};
|
|
244
|
-
declare function Property$3({
|
|
245
|
-
decl,
|
|
246
|
-
children
|
|
247
|
-
}: PropertyProps$3): React$1.ReactNode;
|
|
248
|
-
type DeclarationProps$3 = {
|
|
249
|
-
decl: CSharpAST.CSharpDeclaration;
|
|
250
|
-
};
|
|
251
|
-
declare function Declaration$3({
|
|
252
|
-
decl
|
|
253
|
-
}: DeclarationProps$3): react_jsx_runtime0.JSX.Element | null | undefined;
|
|
254
|
-
declare namespace php_d_exports {
|
|
255
|
-
export { Declaration$2 as Declaration, DeclarationProps$2 as DeclarationProps, MethodSignature$2 as MethodSignature, MethodSignatureProps$1 as MethodSignatureProps, Property$2 as Property, PropertyProps$2 as PropertyProps, Type$2 as Type, TypeName$2 as TypeName };
|
|
256
|
-
}
|
|
257
|
-
type TypeProps$2 = {
|
|
258
|
-
type: PhpAST.PhpType;
|
|
259
|
-
};
|
|
260
|
-
declare function TypeName$2({
|
|
261
|
-
type
|
|
262
|
-
}: TypeProps$2): string | react_jsx_runtime0.JSX.Element;
|
|
263
|
-
declare function Type$2({
|
|
264
|
-
type
|
|
265
|
-
}: TypeProps$2): react_jsx_runtime0.JSX.Element;
|
|
266
|
-
type MethodSignatureProps$1 = {
|
|
267
|
-
decl: PhpAST.PhpDeclMethod;
|
|
268
|
-
};
|
|
269
|
-
declare function MethodSignature$2({
|
|
270
|
-
decl
|
|
271
|
-
}: MethodSignatureProps$1): react_jsx_runtime0.JSX.Element;
|
|
272
|
-
type PropertyProps$2 = {
|
|
273
|
-
decl: PhpAST.PhpDeclaration;
|
|
274
|
-
children: PropertyFn;
|
|
275
|
-
};
|
|
276
|
-
declare function Property$2({
|
|
277
|
-
decl,
|
|
278
|
-
children
|
|
279
|
-
}: PropertyProps$2): React$1.ReactNode;
|
|
280
|
-
type DeclarationProps$2 = {
|
|
281
|
-
decl: PhpAST.PhpDeclaration;
|
|
282
|
-
};
|
|
283
|
-
declare function Declaration$2({
|
|
284
|
-
decl
|
|
285
|
-
}: DeclarationProps$2): react_jsx_runtime0.JSX.Element | undefined;
|
|
286
|
-
declare namespace cli_d_exports {
|
|
287
|
-
export { Declaration$1 as Declaration, DeclarationProps$1 as DeclarationProps, MethodSignature$1 as MethodSignature, MethodSignatureProps, Property$1 as Property, PropertyProps$1 as PropertyProps, Type$1 as Type, TypeName$1 as TypeName };
|
|
288
|
-
}
|
|
289
|
-
type TypeProps$1 = {
|
|
290
|
-
type: HttpAST.HttpType;
|
|
291
|
-
};
|
|
292
|
-
declare function TypeName$1(props: TypeProps$1): string | react_jsx_runtime0.JSX.Element;
|
|
293
|
-
declare function Type$1({
|
|
294
|
-
type
|
|
295
|
-
}: TypeProps$1): react_jsx_runtime0.JSX.Element;
|
|
296
|
-
type MethodSignatureProps = {
|
|
297
|
-
decl: CLIAST.CLICommand;
|
|
298
|
-
};
|
|
299
|
-
declare function MethodSignature$1({
|
|
300
|
-
decl
|
|
301
|
-
}: MethodSignatureProps): react_jsx_runtime0.JSX.Element;
|
|
302
|
-
type PropertyProps$1 = {
|
|
303
|
-
decl: CLIAST.CLIDeclaration;
|
|
304
|
-
children: PropertyFn;
|
|
305
|
-
};
|
|
306
|
-
declare function Property$1({
|
|
307
|
-
decl,
|
|
308
|
-
children
|
|
309
|
-
}: PropertyProps$1): React.ReactNode;
|
|
310
|
-
type DeclarationProps$1 = {
|
|
311
|
-
decl: CLIAST.CLIDeclaration;
|
|
312
|
-
};
|
|
313
|
-
declare function Declaration$1({
|
|
314
|
-
decl
|
|
315
|
-
}: DeclarationProps$1): react_jsx_runtime0.JSX.Element | undefined;
|
|
316
|
-
declare namespace terraform_d_exports {
|
|
317
|
-
export { Declaration, DeclarationProps, MethodSignature, Property, PropertyProps, Resource, ResourceProps, TerraformSource, Type, TypeName, TypeProps, isResourceEntirelyUnsupported };
|
|
318
|
-
}
|
|
319
|
-
type TypeProps = {
|
|
320
|
-
type: TerraformAST.AttributeType;
|
|
321
|
-
};
|
|
322
|
-
declare function TypeName({
|
|
323
|
-
type
|
|
324
|
-
}: TypeProps): react_jsx_runtime0.JSX.Element;
|
|
325
|
-
declare function Type({
|
|
326
|
-
type
|
|
327
|
-
}: TypeProps): react_jsx_runtime0.JSX.Element | undefined;
|
|
328
|
-
declare function MethodSignature(): null;
|
|
329
|
-
type PropertyProps = {
|
|
330
|
-
decl: TerraformAST.TerraformDeclaration;
|
|
331
|
-
children: PropertyFn;
|
|
332
|
-
};
|
|
333
|
-
declare function Property({
|
|
334
|
-
decl,
|
|
335
|
-
children
|
|
336
|
-
}: PropertyProps): React$1.ReactNode;
|
|
337
|
-
declare function TerraformSource({
|
|
338
|
-
path,
|
|
339
|
-
group
|
|
340
|
-
}: {
|
|
341
|
-
path: string;
|
|
342
|
-
group: string;
|
|
343
|
-
}): react_jsx_runtime0.JSX.Element | undefined;
|
|
344
|
-
type DeclarationProps = {
|
|
345
|
-
decl: TerraformAST.TerraformDeclaration;
|
|
346
|
-
};
|
|
347
|
-
declare function Declaration({
|
|
348
|
-
decl
|
|
349
|
-
}: DeclarationProps): react_jsx_runtime0.JSX.Element | undefined;
|
|
350
|
-
declare function isResourceEntirelyUnsupported(resource: Resource$1, decls?: Record<string, unknown>): boolean;
|
|
351
|
-
type ResourceProps = {
|
|
352
|
-
resource: Resource$1;
|
|
353
|
-
parents?: Resource$1[];
|
|
354
|
-
};
|
|
355
|
-
declare function Resource({
|
|
356
|
-
resource,
|
|
357
|
-
parents
|
|
358
|
-
}: ResourceProps): react_jsx_runtime0.JSX.Element | undefined;
|
|
359
|
-
declare namespace index_d_exports$2 {
|
|
360
|
-
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, php_d_exports as php, python_d_exports as python, ruby_d_exports as ruby, terraform_d_exports as terraform, typescript_d_exports as typescript };
|
|
361
|
-
}
|
|
362
|
-
declare const node: typeof typescript_d_exports;
|
|
363
|
-
declare const kotlin: typeof java_d_exports;
|
|
364
|
-
type PropertyFn = (params: PropertyProps$10) => ReactNode;
|
|
365
|
-
interface LanguageComponentDefinition {
|
|
366
|
-
Declaration: (props: {
|
|
367
|
-
decl: DeclarationNode;
|
|
368
|
-
}) => ReactNode;
|
|
369
|
-
Property: (props: {
|
|
370
|
-
decl: DeclarationNode;
|
|
371
|
-
children: PropertyFn;
|
|
372
|
-
}) => ReactNode;
|
|
373
|
-
TypeName: (props: {
|
|
374
|
-
type: Type$10;
|
|
375
|
-
optional?: boolean;
|
|
376
|
-
}) => ReactNode;
|
|
377
|
-
Type: (props: {
|
|
378
|
-
type: Type$10;
|
|
379
|
-
optional?: boolean;
|
|
380
|
-
}) => ReactNode;
|
|
381
|
-
MethodSignature: (props: {
|
|
382
|
-
decl: DeclarationNode;
|
|
383
|
-
}) => ReactNode;
|
|
384
|
-
MethodInfo?: (props: {
|
|
385
|
-
decl: DeclarationNode;
|
|
386
|
-
children?: ReactNode;
|
|
387
|
-
}) => ReactNode;
|
|
388
|
-
Resource?: (props: {
|
|
389
|
-
resource: Resource$1;
|
|
390
|
-
parents?: Resource$1[];
|
|
391
|
-
}) => ReactNode;
|
|
392
|
-
}
|
|
393
|
-
declare namespace index_d_exports$1 {
|
|
394
|
-
export { ComponentProvider, ComponentsContextType, ContentPanelLayout, Declaration$10 as Declaration, DocsContextType, DocsProvider, DocsProviderProps, MarkdownContext, MarkdownContextValue, MarkdownProvider, MarkdownProviderProps, NavigationContextType, NavigationHandler, NavigationProvider, NavigationProviderProps, PropertySettingsType, SuspensefulMarkdownProvider, customizeComponents, useAvailableLanguages, useComponentContext, useComponents, useContentPanelLayout, useDeclaration, useDocs, useHighlight, useIgnoredResources, useLanguage, useLanguageComponents, useMarkdownContext, useNavigation, useRenderMarkdown, useResource, useSettings, useSnippet, useSnippetIds, useSnippetResponse, useSnippets, useSpec };
|
|
395
|
-
}
|
|
396
|
-
declare function useLanguageComponents(): LanguageComponentDefinition;
|
|
397
|
-
//#endregion
|
|
398
|
-
//#region src/components/snippets.d.ts
|
|
399
|
-
type SnippetCodeProps = {
|
|
400
|
-
content: string;
|
|
401
|
-
signature?: string;
|
|
402
|
-
language?: string;
|
|
403
|
-
};
|
|
404
|
-
declare function SnippetCode({
|
|
405
|
-
content,
|
|
406
|
-
language
|
|
407
|
-
}: SnippetCodeProps): react_jsx_runtime0.JSX.Element;
|
|
408
|
-
type SnippetContainerProps = {
|
|
409
|
-
method: Partial<Method> & HasStainlessPath;
|
|
410
|
-
children: React.ReactNode;
|
|
411
|
-
signature?: string;
|
|
412
|
-
} & React.ComponentProps<'div'>;
|
|
413
|
-
declare function SnippetContainer({
|
|
414
|
-
children,
|
|
415
|
-
className,
|
|
416
|
-
...props
|
|
417
|
-
}: SnippetContainerProps): react_jsx_runtime0.JSX.Element;
|
|
418
|
-
type SnippetRequestContainerProps = {
|
|
419
|
-
children?: React.ReactNode;
|
|
420
|
-
signature?: string;
|
|
421
|
-
};
|
|
422
|
-
declare function SnippetRequestContainer({
|
|
423
|
-
children
|
|
424
|
-
}: SnippetRequestContainerProps): react_jsx_runtime0.JSX.Element;
|
|
425
|
-
type SnippetProps = {
|
|
426
|
-
requestTitle?: React.ReactNode;
|
|
427
|
-
method: Partial<Method> & HasStainlessPath;
|
|
428
|
-
snippet?: Parameters<typeof useSnippet>[2];
|
|
429
|
-
transformRequestSnippet?: TransformRequestSnippetFn;
|
|
430
|
-
};
|
|
431
|
-
declare function Snippet({
|
|
432
|
-
requestTitle,
|
|
433
|
-
method,
|
|
434
|
-
snippet,
|
|
435
|
-
transformRequestSnippet
|
|
436
|
-
}: SnippetProps): react_jsx_runtime0.JSX.Element | null;
|
|
437
|
-
type MultiSnippetsProps = {
|
|
438
|
-
method: Partial<Method> & HasStainlessPath;
|
|
439
|
-
requestTitle?: React.ReactNode;
|
|
440
|
-
};
|
|
441
|
-
declare function MultiSnippets({
|
|
442
|
-
requestTitle,
|
|
443
|
-
method
|
|
444
|
-
}: MultiSnippetsProps): react_jsx_runtime0.JSX.Element | null;
|
|
445
|
-
declare function SnippetButtons({
|
|
446
|
-
content
|
|
447
|
-
}: {
|
|
448
|
-
content: string;
|
|
449
|
-
}): react_jsx_runtime0.JSX.Element;
|
|
450
|
-
declare function SnippetFooter(): React.ReactNode;
|
|
451
|
-
declare function SnippetResponse({
|
|
452
|
-
responses
|
|
453
|
-
}: {
|
|
454
|
-
responses?: {
|
|
455
|
-
status?: string;
|
|
456
|
-
content: string;
|
|
457
|
-
contentType?: string;
|
|
458
|
-
}[];
|
|
459
|
-
}): react_jsx_runtime0.JSX.Element | null;
|
|
460
|
-
declare namespace index_d_exports {
|
|
461
|
-
export { Badge, DeclarationParentsContextType, Expander, Input, InputProps, Join, Link, ListView, ListViewProps, Markdown, Method$1 as Method, MethodDescription, MethodDescriptionProps, MethodHeader, MethodHeaderProps, MethodInfo$1 as MethodInfo, MethodInfoProps, MethodProps, MethodRoute, MethodRouteProps, MultiSnippets, MultiSnippetsProps, Property$10 as Property, PropertyDescription, PropertyDescriptionProps, PropertyModelContext, PropertyModelContextType, PropertyProps$10 as PropertyProps, PropertyTitle, PropertyTitleProps, PropertyToggle, PropertyToggleProps, ReferenceNestingContext, ReferenceNestingContextType, SDKBreadcrumbs, SDKChildren, SDKConstraints, SDKConstraintsProps, SDKDeclaration, SDKExample, SDKIcon, SDKLanguageBlock, SDKMethod, SDKMethodHeader, SDKMethodInfo, SDKMethodInfoContent, 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, StlSidebarTarget, ToggleButton, ToggleButtonProps, Tooltip, TransformRequestSnippetFn, VirtualExpander, generateApiBreadcrumbs, useDeclarationParents, usePropertyModel, useReferenceNesting, useStreamingResponse };
|
|
462
|
-
}
|
|
463
|
-
//#endregion
|
|
464
|
-
export { Declaration$3 as $, TypeName$8 as $t, Type as A, MethodSignatureProps$5 as At, PropertyProps$1 as B, Property$7 as Bt, DeclarationProps as C, PropertyProps$5 as Ct, Resource as D, Declaration$6 as Dt, PropertyProps as E, ruby_d_exports as Et, Declaration$1 as F, python_d_exports as Ft, DeclarationProps$2 as G, go_d_exports as Gt, TypeName$1 as H, Type$7 as Ht, DeclarationProps$1 as I, Declaration$7 as It, Property$2 as J, MethodSignature$8 as Jt, MethodSignature$2 as K, Declaration$8 as Kt, MethodSignature$1 as L, DeclarationProps$7 as Lt, TypeProps as M, PropertyProps$6 as Mt, isResourceEntirelyUnsupported as N, Type$6 as Nt, ResourceProps as O, DeclarationProps$6 as Ot, terraform_d_exports as P, TypeName$6 as Pt, php_d_exports as Q, Type$8 as Qt, MethodSignatureProps as R, MethodSignature$7 as Rt, Declaration as S, Property$5 as St, Property as T, TypeName$5 as Tt, cli_d_exports as U, TypeName$7 as Ut, Type$1 as V, PropertyProps$7 as Vt, Declaration$2 as W, TypeProps$7 as Wt, Type$2 as X, Property$8 as Xt, PropertyProps$2 as Y, MethodSignatureProps$7 as Yt, TypeName$2 as Z, PropertyProps$8 as Zt, LanguageComponentDefinition as _, http_d_exports as _t, SnippetButtons as a, Property$9 as an, Type$3 as at, kotlin as b, MethodSignature$5 as bt, SnippetContainer as c, TypeName$9 as cn, Declaration$4 as ct, SnippetProps as d, MethodSignature$4 as dt, java_d_exports as en, DeclarationProps$3 as et, SnippetRequestContainer as f, MethodSignatureProps$3 as ft, useLanguageComponents as g, TypeName$4 as gt, index_d_exports$1 as h, Type$4 as ht, Snippet as i, MethodSignatureProps$8 as in, PropertyProps$3 as it, TypeName as j, Property$6 as jt, TerraformSource as k, MethodSignature$6 as kt, SnippetContainerProps as l, typescript_d_exports as ln, DeclarationProps$4 as lt, SnippetResponse as m, PropertyProps$4 as mt, MultiSnippets as n, DeclarationProps$9 as nn, MethodSignatureProps$2 as nt, SnippetCode as o, PropertyProps$9 as on, TypeName$3 as ot, SnippetRequestContainerProps as p, Property$4 as pt, MethodSignatureProps$1 as q, DeclarationProps$8 as qt, MultiSnippetsProps as r, MethodSignature$9 as rn, Property$3 as rt, SnippetCodeProps as s, Type$9 as sn, csharp_d_exports as st, index_d_exports as t, Declaration$9 as tn, MethodSignature$3 as tt, SnippetFooter as u, MethodInfo as ut, PropertyFn as v, Declaration$5 as vt, MethodSignature as w, Type$5 as wt, node as x, MethodSignatureProps$4 as xt, index_d_exports$2 as y, DeclarationProps$5 as yt, Property$1 as z, MethodSignatureProps$6 as zt };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { t as DocsLanguage } from "./routing-C_fawH40.js";
|
|
2
|
-
import * as React$1 from "react";
|
|
3
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
-
|
|
5
|
-
//#region src/contexts/navigation.d.ts
|
|
6
|
-
type NavigationHandler = (ev: React$1.MouseEvent | null, opts: {
|
|
7
|
-
href: string;
|
|
8
|
-
language: DocsLanguage;
|
|
9
|
-
stainlessPath: string;
|
|
10
|
-
scroll: boolean;
|
|
11
|
-
}) => void;
|
|
12
|
-
type NavigationContextType = {
|
|
13
|
-
basePath?: string;
|
|
14
|
-
selectedPath?: string;
|
|
15
|
-
navigationPath?: string[];
|
|
16
|
-
onNavigate?: NavigationHandler;
|
|
17
|
-
};
|
|
18
|
-
declare function useNavigation(): NavigationContextType;
|
|
19
|
-
type NavigationProviderProps = NavigationContextType & {
|
|
20
|
-
children: React$1.ReactNode;
|
|
21
|
-
};
|
|
22
|
-
declare function NavigationProvider({
|
|
23
|
-
basePath,
|
|
24
|
-
selectedPath,
|
|
25
|
-
onNavigate,
|
|
26
|
-
children
|
|
27
|
-
}: NavigationProviderProps): react_jsx_runtime0.JSX.Element;
|
|
28
|
-
//#endregion
|
|
29
|
-
export { useNavigation as a, NavigationProviderProps as i, NavigationHandler as n, NavigationProvider as r, NavigationContextType as t };
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { d as Method, f as Model, h as Resource, v as Spec } from "./index-DFr9Mesr.js";
|
|
2
|
-
|
|
3
|
-
//#region src/routing.d.ts
|
|
4
|
-
declare namespace routing_d_exports {
|
|
5
|
-
export { DocsLanguage, LanguageNames, Languages, ParsedStainlessPath, RouteEntry, SpecTreeEntry, SupportedLanguageSyntaxes, expandToElement, findNavigationPath, generateMissingRouteList, generateRoute, generateRouteList, getLanguageSnippet, getResource, isSupportedLanguage, parseRoute, parseStainlessPath, scrollToPath, trimStainlessPath, updateHistory, walkTree };
|
|
6
|
-
}
|
|
7
|
-
declare const Languages: readonly ["http", "node", "python", "go", "typescript", "terraform", "ruby", "java", "kotlin", "csharp", "php", "cli"];
|
|
8
|
-
declare const SupportedLanguageSyntaxes: string[];
|
|
9
|
-
type DocsLanguage = (typeof Languages)[number];
|
|
10
|
-
declare const LanguageNames: Record<DocsLanguage, string>;
|
|
11
|
-
declare function getLanguageSnippet(language: DocsLanguage): "cli.default" | "csharp.default" | "go.default" | "http.curl" | "java.default" | "kotlin.default" | "node.default" | "php.default" | "python.default" | "ruby.default" | "terraform.default" | "typescript.default";
|
|
12
|
-
declare function isSupportedLanguage(language: string): language is DocsLanguage;
|
|
13
|
-
type ParsedStainlessPath = ReturnType<typeof parseStainlessPath>;
|
|
14
|
-
declare function parseStainlessPath(stainlessPath: string): {
|
|
15
|
-
resource: string[] | null;
|
|
16
|
-
method: string | null;
|
|
17
|
-
model: string | null;
|
|
18
|
-
routable: string | undefined;
|
|
19
|
-
} | null;
|
|
20
|
-
declare function trimStainlessPath(stainlessPath: string): string;
|
|
21
|
-
declare function getResource(stainlessPath: string): string | undefined;
|
|
22
|
-
declare function parseRoute(basePath: string, route: string): {
|
|
23
|
-
stainlessPath: string;
|
|
24
|
-
language: DocsLanguage;
|
|
25
|
-
};
|
|
26
|
-
declare function generateRoute(basePath: string, language: string, stainlessPath: string): string | null;
|
|
27
|
-
type SpecTreeEntry = {
|
|
28
|
-
data: Method | Resource | Model;
|
|
29
|
-
path: string[];
|
|
30
|
-
};
|
|
31
|
-
declare function walkTree(spec: Spec, includeModels?: boolean): Generator<SpecTreeEntry, void, any>;
|
|
32
|
-
type RouteEntry = {
|
|
33
|
-
title: string;
|
|
34
|
-
kind: SpecTreeEntry['data']['kind'];
|
|
35
|
-
language: DocsLanguage;
|
|
36
|
-
stainlessPath: string;
|
|
37
|
-
slug: string;
|
|
38
|
-
};
|
|
39
|
-
declare function generateRouteList({
|
|
40
|
-
spec,
|
|
41
|
-
languages,
|
|
42
|
-
excludeLanguages
|
|
43
|
-
}: {
|
|
44
|
-
spec: Spec;
|
|
45
|
-
languages?: DocsLanguage[];
|
|
46
|
-
excludeLanguages?: DocsLanguage[];
|
|
47
|
-
}): RouteEntry[];
|
|
48
|
-
declare function generateMissingRouteList({
|
|
49
|
-
spec,
|
|
50
|
-
basePath
|
|
51
|
-
}: {
|
|
52
|
-
spec: Spec;
|
|
53
|
-
basePath: string;
|
|
54
|
-
}): string[];
|
|
55
|
-
type ResourceOrMethod = Resource | Method;
|
|
56
|
-
declare function findNavigationPath(items: ResourceOrMethod[], target: string): string[] | undefined;
|
|
57
|
-
declare function expandToElement(el: HTMLElement | null): void;
|
|
58
|
-
declare function scrollToPath(stainlessPath: string): void;
|
|
59
|
-
declare function updateHistory(basePath: string, language: DocsLanguage, stainlessPath: string): void;
|
|
60
|
-
//#endregion
|
|
61
|
-
export { walkTree as S, parseStainlessPath as _, RouteEntry as a, trimStainlessPath as b, expandToElement as c, generateRoute as d, generateRouteList as f, parseRoute as g, isSupportedLanguage as h, ParsedStainlessPath as i, findNavigationPath as l, getResource as m, LanguageNames as n, SpecTreeEntry as o, getLanguageSnippet as p, Languages as r, SupportedLanguageSyntaxes as s, DocsLanguage as t, generateMissingRouteList as u, routing_d_exports as v, updateHistory as x, scrollToPath as y };
|
package/dist/sdk-Cx2Z7bDk.d.ts
DELETED
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { _ as SnippetLanguage, c as ID, d as Method, f as Model, o as HasStainlessPath, t as BaseDeclaration } from "./index-DFr9Mesr.js";
|
|
2
|
-
import { t as DocsLanguage } from "./routing-C_fawH40.js";
|
|
3
|
-
import * as React$1 from "react";
|
|
4
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
|
-
|
|
6
|
-
//#region src/components/sdk.d.ts
|
|
7
|
-
type PropertyModelContextType = {
|
|
8
|
-
modelPath?: string;
|
|
9
|
-
propertyPath?: string;
|
|
10
|
-
};
|
|
11
|
-
declare const PropertyModelContext: React$1.Context<PropertyModelContextType>;
|
|
12
|
-
declare function usePropertyModel(): PropertyModelContextType;
|
|
13
|
-
type ReferenceNestingContextType = string[];
|
|
14
|
-
declare const ReferenceNestingContext: React$1.Context<ReferenceNestingContextType>;
|
|
15
|
-
declare function useReferenceNesting(): ReferenceNestingContextType;
|
|
16
|
-
type DeclarationParentsContextType = ReadonlySet<string>;
|
|
17
|
-
declare function useDeclarationParents(): DeclarationParentsContextType;
|
|
18
|
-
type SDKSnippetLanguagesType = Record<SnippetLanguage, {
|
|
19
|
-
name: string;
|
|
20
|
-
}>;
|
|
21
|
-
declare const SDKSnippetLanguages: SDKSnippetLanguagesType;
|
|
22
|
-
type TransformRequestSnippetFn = ({
|
|
23
|
-
snippet,
|
|
24
|
-
language
|
|
25
|
-
}: {
|
|
26
|
-
snippet: string;
|
|
27
|
-
language: DocsLanguage;
|
|
28
|
-
}) => string;
|
|
29
|
-
type SDKChildrenProps = {
|
|
30
|
-
paths: ID[];
|
|
31
|
-
expand?: boolean;
|
|
32
|
-
depth?: number;
|
|
33
|
-
};
|
|
34
|
-
declare function SDKChildren({
|
|
35
|
-
paths,
|
|
36
|
-
expand,
|
|
37
|
-
depth
|
|
38
|
-
}: SDKChildrenProps): react_jsx_runtime0.JSX.Element;
|
|
39
|
-
type SDKDeclarationProps = {
|
|
40
|
-
path: string;
|
|
41
|
-
expand?: boolean;
|
|
42
|
-
depth?: number;
|
|
43
|
-
};
|
|
44
|
-
declare function SDKDeclaration({
|
|
45
|
-
path,
|
|
46
|
-
expand,
|
|
47
|
-
depth
|
|
48
|
-
}: SDKDeclarationProps): react_jsx_runtime0.JSX.Element;
|
|
49
|
-
type SDKConstraintsProps = {
|
|
50
|
-
constraints?: Record<string, unknown>;
|
|
51
|
-
};
|
|
52
|
-
declare function SDKConstraints({
|
|
53
|
-
constraints
|
|
54
|
-
}: SDKConstraintsProps): react_jsx_runtime0.JSX.Element | undefined;
|
|
55
|
-
type SDKIconProps = {
|
|
56
|
-
language: SnippetLanguage;
|
|
57
|
-
size?: number;
|
|
58
|
-
};
|
|
59
|
-
declare function SDKIcon({
|
|
60
|
-
language
|
|
61
|
-
}: SDKIconProps): react_jsx_runtime0.JSX.Element | null;
|
|
62
|
-
type SDKRequestTitleProps = {
|
|
63
|
-
snippetLanguage: SnippetLanguage;
|
|
64
|
-
};
|
|
65
|
-
declare function SDKRequestTitle({
|
|
66
|
-
snippetLanguage
|
|
67
|
-
}: SDKRequestTitleProps): react_jsx_runtime0.JSX.Element;
|
|
68
|
-
type SDKExampleProps = {
|
|
69
|
-
method: Partial<Method> & HasStainlessPath;
|
|
70
|
-
transformRequestSnippet?: TransformRequestSnippetFn;
|
|
71
|
-
};
|
|
72
|
-
declare function SDKExample({
|
|
73
|
-
method,
|
|
74
|
-
transformRequestSnippet
|
|
75
|
-
}: SDKExampleProps): react_jsx_runtime0.JSX.Element;
|
|
76
|
-
type SDKMethodProps = {
|
|
77
|
-
method: Method;
|
|
78
|
-
transformRequestSnippet?: TransformRequestSnippetFn;
|
|
79
|
-
};
|
|
80
|
-
declare function SDKMethodHeader({
|
|
81
|
-
method
|
|
82
|
-
}: SDKMethodProps): react_jsx_runtime0.JSX.Element;
|
|
83
|
-
declare function useStreamingResponse(method: BaseDeclaration): ID | undefined;
|
|
84
|
-
declare function SDKMethodInfo({
|
|
85
|
-
method,
|
|
86
|
-
children
|
|
87
|
-
}: SDKMethodProps & {
|
|
88
|
-
children?: React$1.ReactNode;
|
|
89
|
-
}): react_jsx_runtime0.JSX.Element;
|
|
90
|
-
declare function SDKMethodNotImplemented({
|
|
91
|
-
method
|
|
92
|
-
}: SDKMethodProps): react_jsx_runtime0.JSX.Element;
|
|
93
|
-
declare function SDKMethodInfoContent(_props: SDKMethodProps): React$1.ReactNode;
|
|
94
|
-
declare function SDKMethod({
|
|
95
|
-
method,
|
|
96
|
-
transformRequestSnippet
|
|
97
|
-
}: SDKMethodProps): react_jsx_runtime0.JSX.Element;
|
|
98
|
-
type SDKModelProps = {
|
|
99
|
-
model: Model;
|
|
100
|
-
};
|
|
101
|
-
declare function SDKModel({
|
|
102
|
-
model
|
|
103
|
-
}: SDKModelProps): react_jsx_runtime0.JSX.Element | null;
|
|
104
|
-
type SDKReferenceProps = {
|
|
105
|
-
stainlessPath: string;
|
|
106
|
-
children?: React$1.ReactNode;
|
|
107
|
-
};
|
|
108
|
-
declare function SDKReference({
|
|
109
|
-
stainlessPath,
|
|
110
|
-
children
|
|
111
|
-
}: SDKReferenceProps): string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime0.JSX.Element | null | undefined;
|
|
112
|
-
type SDKLanguageBlockProps = {
|
|
113
|
-
language: DocsLanguage;
|
|
114
|
-
version: string;
|
|
115
|
-
install: string;
|
|
116
|
-
links: {
|
|
117
|
-
repo: string;
|
|
118
|
-
docs: string;
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
declare function SDKLanguageBlock({
|
|
122
|
-
language,
|
|
123
|
-
version,
|
|
124
|
-
install,
|
|
125
|
-
links
|
|
126
|
-
}: SDKLanguageBlockProps): react_jsx_runtime0.JSX.Element;
|
|
127
|
-
//#endregion
|
|
128
|
-
export { useStreamingResponse as A, SDKRequestTitleProps as C, useDeclarationParents as D, TransformRequestSnippetFn as E, usePropertyModel as O, SDKRequestTitle as S, SDKSnippetLanguagesType as T, SDKMethodNotImplemented as _, ReferenceNestingContextType as a, SDKModelProps as b, SDKConstraintsProps as c, SDKIcon as d, SDKLanguageBlock as f, SDKMethodInfoContent as g, SDKMethodInfo as h, ReferenceNestingContext as i, useReferenceNesting as k, SDKDeclaration as l, SDKMethodHeader as m, PropertyModelContext as n, SDKChildren as o, SDKMethod as p, PropertyModelContextType as r, SDKConstraints as s, DeclarationParentsContextType as t, SDKExample as u, SDKMethodProps as v, SDKSnippetLanguages as w, SDKReference as x, SDKModel as y };
|