@stainless-api/docs-ui 0.1.0-beta.85 → 0.1.0-beta.87
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-DC2_z7nh.d.ts +25 -0
- package/dist/chunk-pbuEa-1d.js +13 -0
- package/dist/component-generics-DYxBWv1v.js +42 -0
- package/dist/component-generics-q-ujwX4P.d.ts +30 -0
- package/dist/components/MaskedInput.d.ts +1 -1
- package/dist/components/MaskedInput.js +1 -3
- package/dist/components/breadcrumbs.d.ts +1 -24
- package/dist/components/breadcrumbs.js +2 -4
- package/dist/components/icons.js +4 -6
- package/dist/components/index.d.ts +10 -16
- package/dist/components/index.js +3 -5
- package/dist/components/method.d.ts +1 -58
- package/dist/components/method.js +12 -14
- package/dist/components/overview.d.ts +1 -38
- package/dist/components/overview.js +6 -5
- package/dist/components/primitives.d.ts +1 -106
- package/dist/components/primitives.js +2 -4
- package/dist/components/properties.d.ts +1 -53
- package/dist/components/properties.js +17 -19
- package/dist/components/sdk-sidebar.d.ts +1 -14
- package/dist/components/sdk-sidebar.js +2 -4
- package/dist/components/sdk.d.ts +1 -127
- package/dist/components/sdk.js +3 -5
- package/dist/components/snippets.d.ts +1 -70
- package/dist/components/snippets.js +16 -16
- package/dist/components/stl-sidebar.d.ts +1 -57
- package/dist/components/stl-sidebar.js +2 -4
- package/dist/contexts/component-generics.d.ts +1 -29
- package/dist/contexts/component-generics.js +2 -33
- package/dist/contexts/component-types.d.ts +3 -5
- package/dist/contexts/component.d.ts +4 -5
- package/dist/contexts/component.js +2 -5
- package/dist/contexts/docs.d.ts +1 -61
- package/dist/contexts/docs.js +1 -3
- package/dist/contexts/index.d.ts +6 -13
- package/dist/contexts/index.js +5 -7
- package/dist/contexts/markdown.d.ts +2 -22
- package/dist/contexts/markdown.js +28 -15
- package/dist/contexts/navigation.d.ts +1 -28
- package/dist/contexts/navigation.js +1 -3
- package/dist/contexts/use-components.d.ts +1 -2
- package/dist/contexts/use-components.js +2 -5
- package/dist/docs-BomxNGuD.d.ts +62 -0
- package/dist/docs-DSjdvCh5.d.ts +62 -0
- package/dist/index-gGDaf6FK.d.ts +464 -0
- package/dist/index-uRQlPa4x.d.ts +464 -0
- package/dist/index.d.ts +2 -4
- package/dist/index.js +2 -3
- package/dist/languages/cli.d.ts +2 -38
- package/dist/languages/cli.js +3 -5
- package/dist/languages/csharp.d.ts +2 -42
- package/dist/languages/csharp.js +3 -5
- package/dist/languages/go.d.ts +2 -40
- package/dist/languages/go.js +3 -5
- package/dist/languages/http.d.ts +2 -46
- package/dist/languages/http.js +5 -7
- package/dist/languages/index.d.ts +2 -51
- package/dist/languages/index.js +3 -5
- package/dist/languages/java.d.ts +2 -43
- package/dist/languages/java.js +3 -5
- package/dist/languages/php.d.ts +2 -40
- package/dist/languages/php.js +3 -5
- package/dist/languages/python.d.ts +2 -40
- package/dist/languages/python.js +3 -5
- package/dist/languages/ruby.d.ts +2 -40
- package/dist/languages/ruby.js +3 -5
- package/dist/languages/terraform.d.ts +2 -48
- package/dist/languages/terraform.js +25 -10
- package/dist/languages/typescript.d.ts +2 -40
- package/dist/languages/typescript.js +5 -7
- package/dist/markdown/index.d.ts +1 -1
- package/dist/markdown/index.js +3 -6
- package/dist/markdown/md.js +1 -3
- package/dist/markdown/printer.d.ts +2 -2
- package/dist/markdown/printer.js +3 -5
- package/dist/markdown/utils.d.ts +3 -3
- package/dist/markdown/utils.js +2 -4
- package/dist/markdown-Cwdboi_V.d.ts +33 -0
- package/dist/method-CNRMOUfn.d.ts +59 -0
- package/dist/navigation-22WDJvRF.d.ts +29 -0
- package/dist/navigation-C9ckAfpV.d.ts +29 -0
- package/dist/overview-CDvh184n.d.ts +39 -0
- package/dist/primitives-DFE_4MvV.d.ts +107 -0
- package/dist/properties-CVwrzWVa.d.ts +54 -0
- package/dist/routing-C_fawH40.d.ts +61 -0
- package/dist/routing-yTSG7nWM.d.ts +61 -0
- package/dist/routing.d.ts +2 -61
- package/dist/routing.js +2 -4
- package/dist/sdk-BkW3MDco.d.ts +128 -0
- package/dist/sdk-Cx2Z7bDk.d.ts +128 -0
- package/dist/sdk-sidebar-BpDlOMat.d.ts +15 -0
- package/dist/spec.d.ts +2 -2
- package/dist/spec.js +1 -3
- package/dist/stl-sidebar-CKrR5ZGs.d.ts +58 -0
- package/dist/style.js +1 -2
- package/dist/styles/main.css +333 -351
- package/dist/styles/primitives.css +133 -185
- package/dist/styles/resets.css +7 -14
- package/dist/styles/search.css +91 -96
- package/dist/styles/sidebar.css +44 -71
- package/dist/styles/variables.css +0 -5
- package/dist/styles.css +1008 -1263
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +2 -4
- package/package.json +9 -8
- package/dist/chunk-BYypO7fO.js +0 -18
- package/dist/styles/main.js +0 -0
- package/dist/styles/primitives.js +0 -0
- package/dist/styles/resets.js +0 -0
- package/dist/styles/search.js +0 -0
- package/dist/styles/sidebar.js +0 -0
- package/dist/styles/variables.js +0 -0
- package/dist/styles.mjs +0 -1
- package/dist/use-strict-context-Clb6Yjly.js +0 -16
- /package/dist/{index-pvh-w1xa.d.ts → index-DFr9Mesr.d.ts} +0 -0
|
@@ -0,0 +1,464 @@
|
|
|
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-BkW3MDco.js";
|
|
7
|
+
import { a as useNavigation, i as NavigationProviderProps, n as NavigationHandler, r as NavigationProvider, t as NavigationContextType } from "./navigation-C9ckAfpV.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-DSjdvCh5.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 };
|