@stainless-api/docs-ui 0.1.0-beta.72 → 0.1.0-beta.74

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.
Files changed (135) hide show
  1. package/dist/{chunk-BN_g-Awi.js → chunk-BYypO7fO.js} +3 -3
  2. package/dist/components/MaskedInput.d.ts +1 -1
  3. package/dist/components/MaskedInput.js +1 -1
  4. package/dist/components/breadcrumbs.d.ts +24 -1
  5. package/dist/components/breadcrumbs.js +62 -7
  6. package/dist/components/icons.d.ts +12 -12
  7. package/dist/components/icons.js +883 -1
  8. package/dist/components/index.d.ts +16 -14
  9. package/dist/components/index.js +72 -18
  10. package/dist/components/method.d.ts +58 -1
  11. package/dist/components/method.js +95 -8
  12. package/dist/components/overview.d.ts +38 -1
  13. package/dist/components/overview.js +137 -9
  14. package/dist/components/primitives.d.ts +104 -1
  15. package/dist/components/primitives.js +250 -6
  16. package/dist/components/properties.d.ts +53 -1
  17. package/dist/components/properties.js +138 -7
  18. package/dist/components/sdk-sidebar.d.ts +14 -1
  19. package/dist/components/sdk-sidebar.js +50 -8
  20. package/dist/components/sdk.d.ts +121 -1
  21. package/dist/components/sdk.js +404 -8
  22. package/dist/components/snippets.d.ts +70 -13
  23. package/dist/components/snippets.js +182 -7
  24. package/dist/components/stl-sidebar.d.ts +57 -1
  25. package/dist/components/stl-sidebar.js +105 -3
  26. package/dist/contexts/component-generics.d.ts +29 -1
  27. package/dist/contexts/component-generics.js +31 -1
  28. package/dist/contexts/component-types.d.ts +4 -15
  29. package/dist/contexts/component.d.ts +7 -17
  30. package/dist/contexts/component.js +22 -28
  31. package/dist/contexts/docs.d.ts +61 -1
  32. package/dist/contexts/docs.js +89 -1
  33. package/dist/contexts/index.d.ts +13 -14
  34. package/dist/contexts/index.js +44 -6
  35. package/dist/contexts/markdown.d.ts +21 -1
  36. package/dist/contexts/markdown.js +47 -2
  37. package/dist/contexts/navigation.d.ts +28 -1
  38. package/dist/contexts/navigation.js +22 -1
  39. package/dist/contexts/use-components.d.ts +1 -13
  40. package/dist/contexts/use-components.js +6 -2
  41. package/dist/{index-W4Td2Hl7.d.ts → index-PdnFhQF9.d.ts} +1 -1
  42. package/dist/index.d.ts +4 -14
  43. package/dist/index.js +7 -30
  44. package/dist/languages/cli.d.ts +38 -14
  45. package/dist/languages/cli.js +166 -20
  46. package/dist/languages/csharp.d.ts +42 -14
  47. package/dist/languages/csharp.js +283 -8
  48. package/dist/languages/go.d.ts +40 -14
  49. package/dist/languages/go.js +303 -8
  50. package/dist/languages/http.d.ts +46 -14
  51. package/dist/languages/http.js +390 -19
  52. package/dist/languages/index.d.ts +50 -14
  53. package/dist/languages/index.js +30 -28
  54. package/dist/languages/java.d.ts +43 -14
  55. package/dist/languages/java.js +403 -8
  56. package/dist/languages/python.d.ts +40 -14
  57. package/dist/languages/python.js +269 -8
  58. package/dist/languages/ruby.d.ts +40 -14
  59. package/dist/languages/ruby.js +387 -8
  60. package/dist/languages/terraform.d.ts +48 -14
  61. package/dist/languages/terraform.js +243 -8
  62. package/dist/languages/typescript.d.ts +40 -14
  63. package/dist/languages/typescript.js +449 -8
  64. package/dist/markdown/index.d.ts +1 -2
  65. package/dist/markdown/index.js +1 -28
  66. package/dist/markdown/printer.d.ts +2 -2
  67. package/dist/markdown/printer.js +6 -30
  68. package/dist/markdown/utils.d.ts +3 -3
  69. package/dist/routing.d.ts +61 -2
  70. package/dist/routing.js +204 -2
  71. package/dist/spec.d.ts +4 -4
  72. package/dist/spec.js +2 -2
  73. package/dist/style.js +176 -1
  74. package/dist/use-strict-context-L0c8JKg4.js +16 -0
  75. package/dist/utils.d.ts +1 -1
  76. package/dist/utils.js +53 -2
  77. package/package.json +3 -3
  78. package/dist/breadcrumbs-46Qjx1Pd.d.ts +0 -25
  79. package/dist/breadcrumbs-BZ4wBC9-.d.ts +0 -25
  80. package/dist/breadcrumbs-BiBfNqBI.js +0 -63
  81. package/dist/cli-hduQ5XS1.js +0 -166
  82. package/dist/component-BU8BTbqz.js +0 -23
  83. package/dist/component-generics-Bw4ZOyEG.d.ts +0 -30
  84. package/dist/component-generics-D-WarFUb.d.ts +0 -30
  85. package/dist/component-generics-POFirVVb.js +0 -45
  86. package/dist/components-9NMl1791.js +0 -72
  87. package/dist/contexts-_NNW5yqC.js +0 -44
  88. package/dist/csharp-sn5CJu9t.js +0 -283
  89. package/dist/docs-Cu9Yl6-y.d.ts +0 -66
  90. package/dist/docs-YgoQ3bzY.js +0 -81
  91. package/dist/docs-xb5wYGjM.d.ts +0 -66
  92. package/dist/go-BoaAVmP0.js +0 -303
  93. package/dist/http-B3qTyMc3.js +0 -389
  94. package/dist/icons-BYKn5X8E.js +0 -885
  95. package/dist/index-BOmn7DHa.d.ts +0 -428
  96. package/dist/index-BvcPmB0r.d.ts +0 -428
  97. package/dist/java-BiLRuLuD.js +0 -403
  98. package/dist/languages-vUhD5Hu_.js +0 -30
  99. package/dist/markdown-BszOPZhh.d.ts +0 -22
  100. package/dist/markdown-Cq3XEhrR.js +0 -49
  101. package/dist/markdown-plMAoN22.d.ts +0 -22
  102. package/dist/method-C4PgTWAu.d.ts +0 -59
  103. package/dist/method-D6R_farj.d.ts +0 -59
  104. package/dist/method-DjzVBzZe.js +0 -96
  105. package/dist/navigation-HiZWRl34.d.ts +0 -29
  106. package/dist/navigation-MrP4Ubbg.d.ts +0 -29
  107. package/dist/navigation-aoYZ_tl4.js +0 -24
  108. package/dist/overview-CTeKhpQq.d.ts +0 -39
  109. package/dist/overview-Yf1PTJNi.d.ts +0 -39
  110. package/dist/overview-ocTARt-j.js +0 -138
  111. package/dist/primitives-CNG-fEhQ.js +0 -250
  112. package/dist/primitives-K7NijV36.d.ts +0 -105
  113. package/dist/primitives-WGxdBJDS.d.ts +0 -105
  114. package/dist/properties-Bu4nW9JD.d.ts +0 -54
  115. package/dist/properties-Bynmj9_H.d.ts +0 -54
  116. package/dist/properties-DQU0NBzb.js +0 -138
  117. package/dist/python-nqOBH7GS.js +0 -269
  118. package/dist/routing-C64k4fmX.js +0 -205
  119. package/dist/routing-pAL4V4hv.d.ts +0 -61
  120. package/dist/ruby-BBc8HdIt.js +0 -387
  121. package/dist/sdk-BSdgEEJw.js +0 -405
  122. package/dist/sdk-BVCk1ox2.d.ts +0 -122
  123. package/dist/sdk-Dm0S-XQE.d.ts +0 -122
  124. package/dist/sdk-sidebar-B1ehT_xI.d.ts +0 -15
  125. package/dist/sdk-sidebar-BDn8S1xS.js +0 -50
  126. package/dist/sdk-sidebar-Dqeu7C1-.d.ts +0 -15
  127. package/dist/snippets-CLpNVNlA.js +0 -181
  128. package/dist/stl-sidebar-BTTErIJs.d.ts +0 -58
  129. package/dist/stl-sidebar-C7GNALtk.d.ts +0 -58
  130. package/dist/stl-sidebar-DC5UOJiT.js +0 -106
  131. package/dist/style-DJIYkFhO.js +0 -178
  132. package/dist/terraform-DVx2ea2h.js +0 -243
  133. package/dist/typescript-Cmk-jBBw.js +0 -449
  134. package/dist/use-components-BUz3GbO4.js +0 -7
  135. package/dist/utils-DPbkW1Tz.js +0 -54
@@ -1,428 +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-K7NijV36.js";
2
- import { a as GoAST, b as TerraformAST, d as Method, h as RubyAST, i as DeclarationNode, l as JavaAST, m as Resource$1, n as CLIAST, o as HasStainlessPath, p as PythonAST, r as CSharpAST, s as HttpAST, x as Type$9, y as TSAST } from "./index-W4Td2Hl7.js";
3
- import { n as generateApiBreadcrumbs, t as SDKBreadcrumbs } from "./breadcrumbs-BZ4wBC9-.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-C4PgTWAu.js";
5
- import { a as PropertyTitle, c as PropertyToggleProps, i as PropertyProps$9, n as PropertyDescription, o as PropertyTitleProps, r as PropertyDescriptionProps, s as PropertyToggle, t as Property$9 } from "./properties-Bynmj9_H.js";
6
- import { C as SDKSnippetLanguagesType, D as useStreamingResponse, E as useReferenceNesting, S as SDKSnippetLanguages, T as usePropertyModel, _ as SDKModel, a as SDKChildren, b as SDKRequestTitle, c as SDKDeclaration, d as SDKLanguageBlock, f as SDKMethod, g as SDKMethodProps, h as SDKMethodNotImplemented, i as ReferenceNestingContextType, l as SDKExample, m as SDKMethodInfo, n as PropertyModelContextType, o as SDKConstraints, p as SDKMethodHeader, r as ReferenceNestingContext, s as SDKConstraintsProps, t as PropertyModelContext, u as SDKIcon, v as SDKModelProps, w as TransformRequestSnippetFn, x as SDKRequestTitleProps, y as SDKReference } from "./sdk-BVCk1ox2.js";
7
- import { a as useNavigation, i as NavigationProviderProps, n as NavigationHandler, r as NavigationProvider, t as NavigationContextType } from "./navigation-MrP4Ubbg.js";
8
- import { a as useMarkdownContext, i as useHighlight, n as MarkdownProvider, o as useRenderMarkdown, r as MarkdownProviderProps, t as MarkdownContext } from "./markdown-BszOPZhh.js";
9
- import { a as useComponents, i as useComponentContext, n as ComponentsContextType, r as customizeComponents, t as ComponentProvider } from "./component-generics-D-WarFUb.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$9, 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-Cu9Yl6-y.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-Yf1PTJNi.js";
12
- import { n as SDKSidebarProps, t as SDKSidebar } from "./sdk-sidebar-B1ehT_xI.js";
13
- import { a as StlSidebarProps, i as StlSidebarLink, n as StlSidebarEntry, o as StlSidebarTarget, r as StlSidebarGroup, t as StlSidebar } from "./stl-sidebar-C7GNALtk.js";
14
- import * as React$1 from "react";
15
- import React, { ReactNode } from "react";
16
- import * as react_jsx_runtime95 from "react/jsx-runtime";
17
-
18
- //#region src/languages/typescript.d.ts
19
- declare namespace typescript_d_exports {
20
- 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 };
21
- }
22
- type TypeProps$8 = {
23
- type: TSAST.TSType;
24
- };
25
- declare function TypeName$8({
26
- type
27
- }: TypeProps$8): string | react_jsx_runtime95.JSX.Element;
28
- declare function Type$8({
29
- type
30
- }: TypeProps$8): react_jsx_runtime95.JSX.Element;
31
- type MethodSignatureProps$7 = {
32
- decl: TSAST.TSDeclFunction;
33
- };
34
- declare function MethodSignature$8({
35
- decl
36
- }: MethodSignatureProps$7): react_jsx_runtime95.JSX.Element;
37
- type PropertyProps$8 = {
38
- decl: TSAST.TSDeclaration;
39
- children: PropertyFn;
40
- };
41
- declare function Property$8({
42
- decl,
43
- children
44
- }: PropertyProps$8): React$1.ReactNode;
45
- type DeclarationProps$8 = {
46
- decl: TSAST.TSDeclaration;
47
- };
48
- declare function Declaration$8({
49
- decl
50
- }: DeclarationProps$8): react_jsx_runtime95.JSX.Element | undefined;
51
- declare namespace java_d_exports {
52
- 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 };
53
- }
54
- type TypeProps$7 = {
55
- type: JavaAST.JavaType;
56
- optional?: boolean;
57
- };
58
- declare function TypeName$7({
59
- type,
60
- optional
61
- }: TypeProps$7): react_jsx_runtime95.JSX.Element | "List";
62
- declare function Type$7({
63
- type,
64
- optional
65
- }: TypeProps$7): react_jsx_runtime95.JSX.Element;
66
- type MethodSignatureProps$6 = {
67
- decl: JavaAST.JavaDeclFunction;
68
- };
69
- declare function MethodSignature$7({
70
- decl
71
- }: MethodSignatureProps$6): react_jsx_runtime95.JSX.Element;
72
- type PropertyProps$7 = {
73
- decl: JavaAST.JavaDeclaration;
74
- children: PropertyFn;
75
- };
76
- declare function Property$7({
77
- decl,
78
- children
79
- }: PropertyProps$7): React$1.ReactNode;
80
- type DeclarationProps$7 = {
81
- decl: JavaAST.JavaDeclaration;
82
- };
83
- declare function Declaration$7({
84
- decl
85
- }: DeclarationProps$7): react_jsx_runtime95.JSX.Element | null | undefined;
86
- declare namespace go_d_exports {
87
- 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, TypeProps$6 as TypeProps };
88
- }
89
- type TypeProps$6 = {
90
- type: GoAST.GoType;
91
- };
92
- declare function TypeName$6({
93
- type
94
- }: TypeProps$6): string | react_jsx_runtime95.JSX.Element;
95
- declare function Type$6({
96
- type
97
- }: TypeProps$6): react_jsx_runtime95.JSX.Element;
98
- type MethodSignatureProps$5 = {
99
- decl: GoAST.GoDeclFunction;
100
- };
101
- declare function MethodSignature$6({
102
- decl
103
- }: MethodSignatureProps$5): react_jsx_runtime95.JSX.Element;
104
- type PropertyProps$6 = {
105
- decl: GoAST.GoDeclaration;
106
- children: PropertyFn;
107
- };
108
- declare function Property$6({
109
- decl,
110
- children
111
- }: PropertyProps$6): React$1.ReactNode;
112
- type DeclarationProps$6 = {
113
- decl: GoAST.GoDeclaration;
114
- };
115
- declare function Declaration$6({
116
- decl
117
- }: DeclarationProps$6): react_jsx_runtime95.JSX.Element | undefined;
118
- declare namespace python_d_exports {
119
- 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 };
120
- }
121
- type TypeProps$5 = {
122
- type: PythonAST.PythonType;
123
- };
124
- declare function TypeName$5({
125
- type
126
- }: TypeProps$5): string | react_jsx_runtime95.JSX.Element;
127
- declare function Type$5({
128
- type
129
- }: TypeProps$5): react_jsx_runtime95.JSX.Element;
130
- type MethodSignatureProps$4 = {
131
- decl: PythonAST.PythonDeclFunction;
132
- };
133
- declare function MethodSignature$5({
134
- decl
135
- }: MethodSignatureProps$4): react_jsx_runtime95.JSX.Element;
136
- type PropertyProps$5 = {
137
- decl: PythonAST.PythonDeclaration;
138
- children: PropertyFn;
139
- };
140
- declare function Property$5({
141
- decl,
142
- children
143
- }: PropertyProps$5): React$1.ReactNode;
144
- type DeclarationProps$5 = {
145
- decl: PythonAST.PythonDeclaration;
146
- };
147
- declare function Declaration$5({
148
- decl
149
- }: DeclarationProps$5): react_jsx_runtime95.JSX.Element | undefined;
150
- declare namespace ruby_d_exports {
151
- export { Declaration$4 as Declaration, DeclarationProps$4 as DeclarationProps, MethodSignature$4 as MethodSignature, MethodSignatureProps$3 as MethodSignatureProps, Property$4 as Property, PropertyProps$4 as PropertyProps, Type$4 as Type, TypeName$4 as TypeName };
152
- }
153
- type TypeProps$4 = {
154
- type: RubyAST.RubyType;
155
- };
156
- declare function TypeName$4({
157
- type
158
- }: TypeProps$4): string | react_jsx_runtime95.JSX.Element;
159
- declare function Type$4({
160
- type
161
- }: TypeProps$4): react_jsx_runtime95.JSX.Element;
162
- type MethodSignatureProps$3 = {
163
- decl: RubyAST.RubyDeclFunction;
164
- };
165
- declare function MethodSignature$4({
166
- decl
167
- }: MethodSignatureProps$3): react_jsx_runtime95.JSX.Element;
168
- type PropertyProps$4 = {
169
- decl: RubyAST.RubyDeclaration;
170
- children: PropertyFn;
171
- };
172
- declare function Property$4({
173
- decl,
174
- children
175
- }: PropertyProps$4): React$1.ReactNode;
176
- type DeclarationProps$4 = {
177
- decl: RubyAST.RubyDeclaration;
178
- };
179
- declare function Declaration$4({
180
- decl
181
- }: DeclarationProps$4): react_jsx_runtime95.JSX.Element | undefined;
182
- declare namespace http_d_exports {
183
- export { Declaration$3 as Declaration, DeclarationProps$3 as DeclarationProps, MethodInfo, MethodSignature$3 as MethodSignature, MethodSignatureProps$2 as MethodSignatureProps, Property$3 as Property, PropertyProps$3 as PropertyProps, Type$3 as Type, TypeName$3 as TypeName };
184
- }
185
- type TypeProps$3 = {
186
- type: HttpAST.HttpType;
187
- };
188
- declare function TypeName$3({
189
- type
190
- }: TypeProps$3): string | react_jsx_runtime95.JSX.Element;
191
- declare function Type$3({
192
- type
193
- }: TypeProps$3): react_jsx_runtime95.JSX.Element;
194
- type MethodSignatureProps$2 = {
195
- decl: HttpAST.HttpDeclFunction;
196
- };
197
- declare function MethodSignature$3({
198
- decl
199
- }: MethodSignatureProps$2): null;
200
- declare function MethodInfo({
201
- decl,
202
- children
203
- }: MethodSignatureProps$2 & {
204
- children: React.ReactNode;
205
- }): react_jsx_runtime95.JSX.Element;
206
- type PropertyProps$3 = {
207
- decl: HttpAST.HttpDeclaration;
208
- children: PropertyFn;
209
- };
210
- declare function Property$3({
211
- decl,
212
- children
213
- }: PropertyProps$3): React.ReactNode;
214
- type DeclarationProps$3 = {
215
- decl: HttpAST.HttpDeclaration;
216
- };
217
- declare function Declaration$3({
218
- decl
219
- }: DeclarationProps$3): react_jsx_runtime95.JSX.Element | undefined;
220
- declare namespace csharp_d_exports {
221
- 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 };
222
- }
223
- declare function TypeName$2({
224
- type,
225
- optional
226
- }: TypeProps$2): react_jsx_runtime95.JSX.Element;
227
- type TypeProps$2 = {
228
- type: CSharpAST.CSharpType;
229
- optional?: boolean;
230
- };
231
- declare function Type$2({
232
- type
233
- }: TypeProps$2): react_jsx_runtime95.JSX.Element;
234
- type MethodSignatureProps$1 = {
235
- decl: CSharpAST.CSharpDeclFunction;
236
- };
237
- declare function MethodSignature$2({
238
- decl
239
- }: MethodSignatureProps$1): react_jsx_runtime95.JSX.Element;
240
- type PropertyProps$2 = {
241
- decl: CSharpAST.CSharpDeclaration;
242
- children: PropertyFn;
243
- };
244
- declare function Property$2({
245
- decl,
246
- children
247
- }: PropertyProps$2): React$1.ReactNode;
248
- type DeclarationProps$2 = {
249
- decl: CSharpAST.CSharpDeclaration;
250
- };
251
- declare function Declaration$2({
252
- decl
253
- }: DeclarationProps$2): react_jsx_runtime95.JSX.Element | null | undefined;
254
- declare namespace cli_d_exports {
255
- 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 };
256
- }
257
- type TypeProps$1 = {
258
- type: HttpAST.HttpType;
259
- };
260
- declare function TypeName$1(props: TypeProps$1): string | react_jsx_runtime95.JSX.Element;
261
- declare function Type$1({
262
- type
263
- }: TypeProps$1): react_jsx_runtime95.JSX.Element;
264
- type MethodSignatureProps = {
265
- decl: CLIAST.CLICommand;
266
- };
267
- declare function MethodSignature$1({
268
- decl
269
- }: MethodSignatureProps): react_jsx_runtime95.JSX.Element;
270
- type PropertyProps$1 = {
271
- decl: CLIAST.CLIDeclaration;
272
- children: PropertyFn;
273
- };
274
- declare function Property$1({
275
- decl,
276
- children
277
- }: PropertyProps$1): React.ReactNode;
278
- type DeclarationProps$1 = {
279
- decl: CLIAST.CLIDeclaration;
280
- };
281
- declare function Declaration$1({
282
- decl
283
- }: DeclarationProps$1): react_jsx_runtime95.JSX.Element | undefined;
284
- declare namespace terraform_d_exports {
285
- export { Declaration, DeclarationProps, MethodSignature, Property, PropertyProps, Resource, ResourceProps, TerraformSource, Type, TypeName, TypeProps };
286
- }
287
- type TypeProps = {
288
- type: TerraformAST.AttributeType;
289
- };
290
- declare function TypeName({
291
- type
292
- }: TypeProps): react_jsx_runtime95.JSX.Element;
293
- declare function Type({
294
- type
295
- }: TypeProps): react_jsx_runtime95.JSX.Element | undefined;
296
- declare function MethodSignature(): null;
297
- type PropertyProps = {
298
- decl: TerraformAST.TerraformDeclaration;
299
- children: PropertyFn;
300
- };
301
- declare function Property({
302
- decl,
303
- children
304
- }: PropertyProps): React$1.ReactNode;
305
- declare function TerraformSource({
306
- path,
307
- group
308
- }: {
309
- path: string;
310
- group: string;
311
- }): react_jsx_runtime95.JSX.Element | undefined;
312
- type DeclarationProps = {
313
- decl: TerraformAST.TerraformDeclaration;
314
- };
315
- declare function Declaration({
316
- decl
317
- }: DeclarationProps): react_jsx_runtime95.JSX.Element | undefined;
318
- type ResourceProps = {
319
- resource: Resource$1;
320
- };
321
- declare function Resource({
322
- resource
323
- }: ResourceProps): react_jsx_runtime95.JSX.Element;
324
- declare namespace index_d_exports$2 {
325
- export { LanguageComponentDefinition, PropertyFn, cli_d_exports as cli, csharp_d_exports as csharp, go_d_exports as go, http_d_exports as http, java_d_exports as java, kotlin, node, python_d_exports as python, ruby_d_exports as ruby, terraform_d_exports as terraform, typescript_d_exports as typescript };
326
- }
327
- declare const node: typeof typescript_d_exports;
328
- declare const kotlin: typeof java_d_exports;
329
- type PropertyFn = (params: PropertyProps$9) => ReactNode;
330
- interface LanguageComponentDefinition {
331
- Declaration(props: {
332
- decl: DeclarationNode;
333
- }): ReactNode;
334
- Property(props: {
335
- decl: DeclarationNode;
336
- children: PropertyFn;
337
- }): ReactNode;
338
- TypeName(props: {
339
- type: Type$9;
340
- optional?: boolean;
341
- }): ReactNode;
342
- Type(props: {
343
- type: Type$9;
344
- optional?: boolean;
345
- }): ReactNode;
346
- MethodSignature(props: {
347
- decl: DeclarationNode;
348
- }): ReactNode;
349
- MethodInfo?(props: {
350
- decl: DeclarationNode;
351
- children?: ReactNode;
352
- }): ReactNode;
353
- Resource?(props: {
354
- resource: Resource$1;
355
- }): ReactNode;
356
- }
357
- declare namespace index_d_exports$1 {
358
- export { ComponentProvider, ComponentsContextType, ContentPanelLayout, Declaration$9 as Declaration, DocsContextType, DocsProvider, DocsProviderProps, MarkdownContext, MarkdownProvider, MarkdownProviderProps, NavigationContextType, NavigationHandler, NavigationProvider, NavigationProviderProps, PropertySettingsType, customizeComponents, useAvailableLanguages, useComponentContext, useComponents, useContentPanelLayout, useDeclaration, useDocs, useHighlight, useIgnoredResources, useLanguage, useLanguageComponents, useMarkdownContext, useNavigation, useRenderMarkdown, useResource, useSettings, useSnippet, useSnippetIds, useSnippetResponse, useSnippets, useSpec };
359
- }
360
- declare function useLanguageComponents(): LanguageComponentDefinition;
361
- //#endregion
362
- //#region src/components/snippets.d.ts
363
- type SnippetCodeProps = {
364
- content: string;
365
- signature?: string;
366
- language?: string;
367
- };
368
- declare function SnippetCode({
369
- content,
370
- language
371
- }: SnippetCodeProps): react_jsx_runtime95.JSX.Element;
372
- type SnippetContainerProps = {
373
- method: Partial<Method> & HasStainlessPath;
374
- children: React$1.ReactNode;
375
- signature?: string;
376
- } & React$1.ComponentProps<'div'>;
377
- declare function SnippetContainer({
378
- children,
379
- className,
380
- ...props
381
- }: SnippetContainerProps): react_jsx_runtime95.JSX.Element;
382
- type SnippetRequestContainerProps = {
383
- children?: React$1.ReactNode;
384
- signature?: string;
385
- };
386
- declare function SnippetRequestContainer({
387
- children
388
- }: SnippetRequestContainerProps): react_jsx_runtime95.JSX.Element;
389
- type SnippetProps = {
390
- requestTitle?: React$1.ReactNode;
391
- method: Partial<Method> & HasStainlessPath;
392
- snippet?: Parameters<typeof useSnippet>[2];
393
- transformRequestSnippet?: TransformRequestSnippetFn;
394
- };
395
- declare function Snippet({
396
- requestTitle,
397
- method,
398
- snippet,
399
- transformRequestSnippet
400
- }: SnippetProps): react_jsx_runtime95.JSX.Element | null;
401
- type MultiSnippetsProps = {
402
- method: Partial<Method> & HasStainlessPath;
403
- requestTitle?: React$1.ReactNode;
404
- };
405
- declare function MultiSnippets({
406
- requestTitle,
407
- method
408
- }: MultiSnippetsProps): react_jsx_runtime95.JSX.Element | null;
409
- declare function SnippetButtons({
410
- content
411
- }: {
412
- content: string;
413
- }): react_jsx_runtime95.JSX.Element;
414
- declare function SnippetFooter(): React$1.ReactNode;
415
- declare function SnippetResponse({
416
- responses
417
- }: {
418
- responses?: {
419
- status?: string;
420
- content: string;
421
- contentType?: string;
422
- }[];
423
- }): react_jsx_runtime95.JSX.Element | null;
424
- declare namespace index_d_exports {
425
- export { Badge, 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$9 as Property, PropertyDescription, PropertyDescriptionProps, PropertyModelContext, PropertyModelContextType, PropertyProps$9 as PropertyProps, PropertyTitle, PropertyTitleProps, PropertyToggle, PropertyToggleProps, ReferenceNestingContext, ReferenceNestingContextType, SDKBreadcrumbs, SDKChildren, SDKConstraints, SDKConstraintsProps, SDKDeclaration, SDKExample, SDKIcon, SDKLanguageBlock, SDKMethod, SDKMethodHeader, SDKMethodInfo, SDKMethodNotImplemented, SDKMethodProps, SDKMethodSummary, SDKMethodSummaryProps, SDKModel, SDKModelProps, SDKOverview, SDKOverviewProps, SDKReference, SDKRequestTitle, SDKRequestTitleProps, SDKResource, SDKResourceHeader, SDKResourceProps, SDKRoot, SDKRootProps, SDKSidebar, SDKSidebarProps, SDKSnippetLanguages, SDKSnippetLanguagesType, Snippet, SnippetButtons, SnippetCode, SnippetCodeProps, SnippetContainer, SnippetContainerProps, SnippetFooter, SnippetProps, SnippetRequestContainer, SnippetRequestContainerProps, SnippetResponse, StlSidebar, StlSidebarEntry, StlSidebarGroup, StlSidebarLink, StlSidebarProps, StlSidebarTarget, ToggleButton, ToggleButtonProps, Tooltip, TransformRequestSnippetFn, VirtualExpander, generateApiBreadcrumbs, usePropertyModel, useReferenceNesting, useStreamingResponse };
426
- }
427
- //#endregion
428
- export { DeclarationProps$3 as $, typescript_d_exports as $t, Type as A, Property$6 as At, Type$1 as B, Property$7 as Bt, DeclarationProps as C, Type$5 as Ct, Resource as D, DeclarationProps$6 as Dt, PropertyProps as E, Declaration$6 as Et, DeclarationProps$1 as F, go_d_exports as Ft, MethodSignature$2 as G, Declaration$8 as Gt, cli_d_exports as H, Type$7 as Ht, MethodSignature$1 as I, Declaration$7 as It, PropertyProps$2 as J, MethodSignatureProps$7 as Jt, MethodSignatureProps$1 as K, DeclarationProps$8 as Kt, MethodSignatureProps as L, DeclarationProps$7 as Lt, TypeProps as M, Type$6 as Mt, terraform_d_exports as N, TypeName$6 as Nt, ResourceProps as O, MethodSignature$6 as Ot, Declaration$1 as P, TypeProps$6 as Pt, Declaration$3 as Q, TypeName$8 as Qt, Property$1 as R, MethodSignature$7 as Rt, Declaration as S, PropertyProps$5 as St, Property as T, python_d_exports as Tt, Declaration$2 as U, TypeName$7 as Ut, TypeName$1 as V, PropertyProps$7 as Vt, DeclarationProps$2 as W, java_d_exports as Wt, TypeName$2 as X, PropertyProps$8 as Xt, Type$2 as Y, Property$8 as Yt, csharp_d_exports as Z, Type$8 as Zt, LanguageComponentDefinition as _, Declaration$5 as _t, SnippetButtons as a, Type$3 as at, kotlin as b, MethodSignatureProps$4 as bt, SnippetContainer as c, Declaration$4 as ct, SnippetProps as d, MethodSignatureProps$3 as dt, MethodInfo as et, SnippetRequestContainer as f, Property$4 as ft, useLanguageComponents as g, ruby_d_exports as gt, index_d_exports$1 as h, TypeName$4 as ht, Snippet as i, PropertyProps$3 as it, TypeName as j, PropertyProps$6 as jt, TerraformSource as k, MethodSignatureProps$5 as kt, SnippetContainerProps as l, DeclarationProps$4 as lt, SnippetResponse as m, Type$4 as mt, MultiSnippets as n, MethodSignatureProps$2 as nt, SnippetCode as o, TypeName$3 as ot, SnippetRequestContainerProps as p, PropertyProps$4 as pt, Property$2 as q, MethodSignature$8 as qt, MultiSnippetsProps as r, Property$3 as rt, SnippetCodeProps as s, http_d_exports as st, index_d_exports as t, MethodSignature$3 as tt, SnippetFooter as u, MethodSignature$4 as ut, PropertyFn as v, DeclarationProps$5 as vt, MethodSignature as w, TypeName$5 as wt, node as x, Property$5 as xt, index_d_exports$2 as y, MethodSignature$5 as yt, PropertyProps$1 as z, MethodSignatureProps$6 as zt };