@stainless-api/docs-ui 0.1.0-beta.70 → 0.1.0-beta.72
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-Cvm5Ifm7.d.ts → breadcrumbs-46Qjx1Pd.d.ts} +3 -3
- package/dist/{breadcrumbs-BhYwbXkc.d.ts → breadcrumbs-BZ4wBC9-.d.ts} +3 -3
- package/dist/{breadcrumbs-DA4WgDhR.js → breadcrumbs-BiBfNqBI.js} +2 -2
- package/dist/{cli-F3kMmeoJ.js → cli-hduQ5XS1.js} +3 -3
- package/dist/{component-P9sn5yyG.js → component-BU8BTbqz.js} +2 -2
- package/dist/{component-generics-zU0Pqx8m.d.ts → component-generics-Bw4ZOyEG.d.ts} +2 -2
- package/dist/{component-generics-ByGsYTc8.d.ts → component-generics-D-WarFUb.d.ts} +2 -2
- package/dist/components/MaskedInput.d.ts +3 -3
- package/dist/components/MaskedInput.js +1 -1
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +5 -5
- package/dist/components/icons.d.ts +12 -12
- package/dist/components/index.d.ts +14 -11
- package/dist/components/index.js +14 -14
- package/dist/components/method.d.ts +1 -1
- package/dist/components/method.js +5 -5
- package/dist/components/overview.d.ts +1 -1
- package/dist/components/overview.js +6 -6
- package/dist/components/primitives.d.ts +1 -1
- package/dist/components/primitives.js +4 -4
- package/dist/components/properties.d.ts +1 -1
- package/dist/components/properties.js +4 -4
- package/dist/components/sdk-sidebar.d.ts +1 -1
- package/dist/components/sdk-sidebar.js +5 -5
- package/dist/components/sdk.d.ts +1 -1
- package/dist/components/sdk.js +4 -4
- package/dist/components/snippets.d.ts +14 -3
- package/dist/components/snippets.js +5 -5
- package/dist/components/stl-sidebar.d.ts +1 -1
- package/dist/components/stl-sidebar.js +1 -1
- package/dist/{components-w1JmIrB0.js → components-9NMl1791.js} +10 -9
- package/dist/contexts/component-generics.d.ts +1 -1
- package/dist/contexts/component-types.d.ts +13 -11
- package/dist/contexts/component.d.ts +15 -14
- package/dist/contexts/component.js +24 -24
- package/dist/contexts/docs.d.ts +2 -2
- package/dist/contexts/docs.js +2 -2
- package/dist/contexts/index.d.ts +14 -23
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/markdown.d.ts +1 -1
- package/dist/contexts/markdown.js +2 -2
- package/dist/contexts/navigation.d.ts +1 -1
- package/dist/contexts/use-components.d.ts +13 -10
- package/dist/{contexts-CVj20VV4.js → contexts-_NNW5yqC.js} +5 -2
- package/dist/{csharp-D6_jlynY.js → csharp-sn5CJu9t.js} +2 -2
- package/dist/{docs-g4IPmtZr.d.ts → docs-Cu9Yl6-y.d.ts} +24 -6
- package/dist/docs-YgoQ3bzY.js +81 -0
- package/dist/{docs-z3fl2eW-.d.ts → docs-xb5wYGjM.d.ts} +25 -7
- package/dist/{go-COaHV3Hc.js → go-BoaAVmP0.js} +2 -2
- package/dist/{http-fOPCX17A.js → http-B3qTyMc3.js} +5 -5
- package/dist/index-BOmn7DHa.d.ts +428 -0
- package/dist/index-BvcPmB0r.d.ts +428 -0
- package/dist/{index-CwjGm9zX.d.ts → index-W4Td2Hl7.d.ts} +46 -31
- package/dist/index.d.ts +14 -17
- package/dist/index.js +24 -24
- package/dist/{java-CxGSJVvv.js → java-BiLRuLuD.js} +3 -3
- package/dist/languages/cli.d.ts +13 -11
- package/dist/languages/cli.js +15 -15
- package/dist/languages/csharp.d.ts +13 -11
- package/dist/languages/csharp.js +4 -4
- package/dist/languages/go.d.ts +13 -11
- package/dist/languages/go.js +4 -4
- package/dist/languages/http.d.ts +13 -11
- package/dist/languages/http.js +14 -14
- package/dist/languages/index.d.ts +13 -11
- package/dist/languages/index.js +23 -23
- package/dist/languages/java.d.ts +13 -11
- package/dist/languages/java.js +4 -4
- package/dist/languages/python.d.ts +13 -11
- package/dist/languages/python.js +4 -4
- package/dist/languages/ruby.d.ts +13 -11
- package/dist/languages/ruby.js +4 -4
- package/dist/languages/terraform.d.ts +13 -11
- package/dist/languages/terraform.js +4 -4
- package/dist/languages/typescript.d.ts +13 -11
- package/dist/languages/typescript.js +4 -4
- package/dist/languages-vUhD5Hu_.js +30 -0
- package/dist/markdown/index.d.ts +2 -2
- package/dist/markdown/index.js +24 -24
- package/dist/markdown/printer.d.ts +2 -2
- package/dist/markdown/printer.js +25 -25
- package/dist/markdown/utils.d.ts +4 -4
- package/dist/markdown/utils.js +3 -3
- package/dist/{markdown-Cibv9fDR.d.ts → markdown-BszOPZhh.d.ts} +2 -2
- package/dist/{markdown-CTKHMLVr.js → markdown-Cq3XEhrR.js} +1 -1
- package/dist/{markdown-Cdh0TSHp.d.ts → markdown-plMAoN22.d.ts} +2 -2
- package/dist/{method-630cPKDl.d.ts → method-C4PgTWAu.d.ts} +6 -6
- package/dist/{method-BzkPRXGL.d.ts → method-D6R_farj.d.ts} +6 -6
- package/dist/{method-BPDUyBlD.js → method-DjzVBzZe.js} +2 -2
- package/dist/{navigation-BW-SBvb4.d.ts → navigation-HiZWRl34.d.ts} +3 -3
- package/dist/{navigation-DWYqC_HX.d.ts → navigation-MrP4Ubbg.d.ts} +3 -3
- package/dist/{overview-Cui1XtuC.d.ts → overview-CTeKhpQq.d.ts} +7 -7
- package/dist/{overview-RXc9iPzz.d.ts → overview-Yf1PTJNi.d.ts} +7 -7
- package/dist/{overview-DFwfIK6k.js → overview-ocTARt-j.js} +5 -5
- package/dist/{primitives-DJEqe_r1.js → primitives-CNG-fEhQ.js} +3 -3
- package/dist/{primitives-DhGxFYx6.d.ts → primitives-K7NijV36.d.ts} +11 -11
- package/dist/{primitives-MsH-h0bU.d.ts → primitives-WGxdBJDS.d.ts} +11 -11
- package/dist/{properties-C9W4QJ_F.d.ts → properties-Bu4nW9JD.d.ts} +5 -5
- package/dist/{properties-BnbBKd5a.js → properties-DQU0NBzb.js} +11 -5
- package/dist/{python-DsTuWCKE.js → python-nqOBH7GS.js} +2 -2
- package/dist/{routing-Cm_9XJiQ.d.ts → routing-pAL4V4hv.d.ts} +1 -1
- package/dist/routing.d.ts +1 -1
- package/dist/{ruby-BncKp6hd.js → ruby-BBc8HdIt.js} +3 -3
- package/dist/{sdk-Bw99eXxA.js → sdk-BSdgEEJw.js} +13 -7
- package/dist/{sdk-GMOw94wL.d.ts → sdk-BVCk1ox2.d.ts} +17 -17
- package/dist/{sdk-BvZeXpsj.d.ts → sdk-Dm0S-XQE.d.ts} +17 -17
- package/dist/{sdk-sidebar-VNY2-O1Y.d.ts → sdk-sidebar-B1ehT_xI.d.ts} +3 -3
- package/dist/{sdk-sidebar-V_MTkVw8.js → sdk-sidebar-BDn8S1xS.js} +1 -1
- package/dist/{sdk-sidebar-NCBSWuUW.d.ts → sdk-sidebar-Dqeu7C1-.d.ts} +3 -3
- package/dist/snippets-CLpNVNlA.js +181 -0
- package/dist/spec.d.ts +2 -2
- package/dist/spec.js +1 -1
- package/dist/{stl-sidebar-CXzs_shz.d.ts → stl-sidebar-BTTErIJs.d.ts} +2 -2
- package/dist/{stl-sidebar-DSkUHwcU.d.ts → stl-sidebar-C7GNALtk.d.ts} +2 -2
- package/dist/{stl-sidebar-WtimNrk1.js → stl-sidebar-DC5UOJiT.js} +1 -1
- package/dist/{style-HpXpcJ9v.js → style-DJIYkFhO.js} +6 -0
- package/dist/style.d.ts +6 -0
- package/dist/style.js +1 -1
- package/dist/styles/main.css +59 -14
- package/dist/styles.css +59 -14
- package/dist/{terraform-B95X4rNK.js → terraform-DVx2ea2h.js} +3 -3
- package/dist/{typescript-n46M9OtL.js → typescript-Cmk-jBBw.js} +3 -3
- package/dist/utils.d.ts +1 -1
- package/package.json +2 -2
- package/dist/docs-BmOB2f-I.js +0 -61
- package/dist/index-B8Zys1C2.d.ts +0 -347
- package/dist/index-C5Zmb2CI.d.ts +0 -16
- package/dist/index-D7PkxNgB.d.ts +0 -16
- package/dist/index-DIaM6Ync.d.ts +0 -347
- package/dist/languages-B6eap2M6.js +0 -30
- package/dist/routing-utiR5mY3.d.ts +0 -61
- package/dist/snippets-BehbU3rt.js +0 -164
- package/dist/snippets-Bj7Ey56K.d.ts +0 -53
- package/dist/snippets-CQQSDvg2.d.ts +0 -53
|
@@ -0,0 +1,428 @@
|
|
|
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 };
|
|
@@ -110,7 +110,7 @@ type DiscriminatorObject = {
|
|
|
110
110
|
type ExampleObject = {
|
|
111
111
|
summary?: string;
|
|
112
112
|
description?: string;
|
|
113
|
-
value?:
|
|
113
|
+
value?: unknown;
|
|
114
114
|
externalValue?: string;
|
|
115
115
|
};
|
|
116
116
|
type EncodingsObject = {
|
|
@@ -138,7 +138,7 @@ type ResponseContentObject = {
|
|
|
138
138
|
type HeadersObject = {
|
|
139
139
|
[key: string]: HeaderObject;
|
|
140
140
|
};
|
|
141
|
-
type SupportedLanguage = 'node' | 'typescript' | 'python' | 'go' | 'java' | 'kotlin' | 'ruby' | 'terraform' | 'cli' | 'php' | 'csharp' | 'http';
|
|
141
|
+
type SupportedLanguage = 'node' | 'typescript' | 'python' | 'go' | 'java' | 'kotlin' | 'ruby' | 'terraform' | 'cli' | 'php' | 'csharp' | 'sql' | 'http' | 'openapi';
|
|
142
142
|
interface Config {
|
|
143
143
|
docs: {
|
|
144
144
|
title?: string | undefined;
|
|
@@ -159,22 +159,7 @@ interface Config {
|
|
|
159
159
|
show_security?: boolean | undefined;
|
|
160
160
|
show_readme?: boolean | undefined;
|
|
161
161
|
base_path?: string | undefined;
|
|
162
|
-
navigation?:
|
|
163
|
-
menubar?: {
|
|
164
|
-
title: string;
|
|
165
|
-
icon?: 'Github' | 'BookOpen' | 'Code' | 'Folder' | 'Mail' | 'NPM' | 'Search' | 'Package' | 'User' | 'Pen' | 'Pencil' | 'Wrench' | 'Bot' | 'FileText' | 'Lightbulb' | 'Sparkles' | 'Menu' | 'History' | undefined;
|
|
166
|
-
variant?: 'ghost-muted' | 'outline-muted' | 'outline' | undefined;
|
|
167
|
-
href?: string | undefined;
|
|
168
|
-
page?: string | undefined;
|
|
169
|
-
}[] | undefined;
|
|
170
|
-
sidebar?: {
|
|
171
|
-
title: string;
|
|
172
|
-
icon?: 'Github' | 'BookOpen' | 'Code' | 'Folder' | 'Mail' | 'NPM' | 'Search' | 'Package' | 'User' | 'Pen' | 'Pencil' | 'Wrench' | 'Bot' | 'FileText' | 'Lightbulb' | 'Sparkles' | 'Menu' | 'History' | undefined;
|
|
173
|
-
variant?: 'ghost-muted' | 'outline-muted' | 'outline' | undefined;
|
|
174
|
-
href?: string | undefined;
|
|
175
|
-
page?: string | undefined;
|
|
176
|
-
}[] | undefined;
|
|
177
|
-
} | undefined;
|
|
162
|
+
navigation?: unknown;
|
|
178
163
|
pages?: Record<string, string> | undefined;
|
|
179
164
|
resources?: {
|
|
180
165
|
title: string;
|
|
@@ -224,7 +209,8 @@ type HttpDeclProperty = BaseDeclaration & {
|
|
|
224
209
|
location?: string;
|
|
225
210
|
type: HttpType;
|
|
226
211
|
constraints?: Constraints;
|
|
227
|
-
default?:
|
|
212
|
+
default?: unknown;
|
|
213
|
+
examples?: unknown[];
|
|
228
214
|
optional?: boolean;
|
|
229
215
|
nullable?: boolean;
|
|
230
216
|
declare?: boolean;
|
|
@@ -356,6 +342,7 @@ type RubyDeclProperty = BaseDeclaration & {
|
|
|
356
342
|
type: RubyType;
|
|
357
343
|
constraints?: Constraints;
|
|
358
344
|
optional?: boolean;
|
|
345
|
+
examples?: unknown[];
|
|
359
346
|
schemaType?: SchemaType;
|
|
360
347
|
modelPath?: string;
|
|
361
348
|
childrenParentSchema?: SchemaType;
|
|
@@ -481,7 +468,7 @@ declare namespace RubyAST {
|
|
|
481
468
|
export type { RubyAST_RubyDeclClass as RubyDeclClass, RubyAST_RubyDeclFunction as RubyDeclFunction, RubyAST_RubyDeclProperty as RubyDeclProperty, RubyAST_RubyDeclReference as RubyDeclReference, RubyAST_RubyDeclTypeAlias as RubyDeclTypeAlias, RubyAST_RubyDeclaration as RubyDeclaration, RubyAST_RubyFunctionArgument as RubyFunctionArgument, RubyAST_RubyIdentifier as RubyIdentifier, RubyAST_RubyType as RubyType, RubyAST_RubyTypeArray as RubyTypeArray, RubyAST_RubyTypeBinary as RubyTypeBinary, RubyAST_RubyTypeBoolean as RubyTypeBoolean, RubyAST_RubyTypeBuiltinClass as RubyTypeBuiltinClass, RubyAST_RubyTypeFloat as RubyTypeFloat, RubyAST_RubyTypeInteger as RubyTypeInteger, RubyAST_RubyTypeIntersection as RubyTypeIntersection, RubyAST_RubyTypeLiteral as RubyTypeLiteral, RubyAST_RubyTypeMap as RubyTypeMap, RubyAST_RubyTypeNull as RubyTypeNull, RubyAST_RubyTypeObject as RubyTypeObject, RubyAST_RubyTypeParameter as RubyTypeParameter, RubyAST_RubyTypeReference as RubyTypeReference, RubyAST_RubyTypeString as RubyTypeString, RubyAST_RubyTypeUnion as RubyTypeUnion, RubyAST_RubyTypeUnknown as RubyTypeUnknown };
|
|
482
469
|
}
|
|
483
470
|
type SDKSchemaReference = never;
|
|
484
|
-
type SDKSchemaType =
|
|
471
|
+
type SDKSchemaType = string;
|
|
485
472
|
type SDKPropertySchemaReference<T = never> = never;
|
|
486
473
|
/**
|
|
487
474
|
* Base declaration types for CLI command AST
|
|
@@ -506,7 +493,7 @@ type CLICommand = BaseDeclaration & {
|
|
|
506
493
|
ident: string;
|
|
507
494
|
qualified?: string;
|
|
508
495
|
docstring?: string;
|
|
509
|
-
parameters?:
|
|
496
|
+
parameters?: unknown[];
|
|
510
497
|
responseType?: HttpType;
|
|
511
498
|
};
|
|
512
499
|
/**
|
|
@@ -534,10 +521,10 @@ type CLIFlag = BaseDeclaration & {
|
|
|
534
521
|
docstring?: string;
|
|
535
522
|
optional?: boolean;
|
|
536
523
|
type?: HttpType;
|
|
537
|
-
constraints?:
|
|
524
|
+
constraints?: unknown;
|
|
538
525
|
schemaType?: string;
|
|
539
526
|
modelPath?: string;
|
|
540
|
-
childrenParentSchema?:
|
|
527
|
+
childrenParentSchema?: unknown;
|
|
541
528
|
children?: ID[];
|
|
542
529
|
};
|
|
543
530
|
/**
|
|
@@ -550,10 +537,10 @@ type CLISchemaProperty = BaseDeclaration & {
|
|
|
550
537
|
type?: HttpType;
|
|
551
538
|
docstring?: string;
|
|
552
539
|
optional?: boolean;
|
|
553
|
-
constraints?:
|
|
540
|
+
constraints?: unknown;
|
|
554
541
|
schemaType?: string;
|
|
555
542
|
children?: ID[];
|
|
556
|
-
childrenParentSchema?:
|
|
543
|
+
childrenParentSchema?: unknown;
|
|
557
544
|
};
|
|
558
545
|
/**
|
|
559
546
|
* Represents data piped in to stdin
|
|
@@ -618,6 +605,7 @@ type CSharpDeclProperty = BaseDeclaration & {
|
|
|
618
605
|
type: CSharpType;
|
|
619
606
|
optional?: boolean;
|
|
620
607
|
nullable?: boolean;
|
|
608
|
+
examples?: unknown[];
|
|
621
609
|
schemaType?: SchemaType;
|
|
622
610
|
modelPath?: string;
|
|
623
611
|
childrenParentSchema?: SchemaType;
|
|
@@ -732,6 +720,7 @@ type JavaDeclProperty = BaseDeclaration & {
|
|
|
732
720
|
ident: JavaIdentifier;
|
|
733
721
|
type: JavaType;
|
|
734
722
|
optional?: boolean;
|
|
723
|
+
examples?: unknown[];
|
|
735
724
|
schemaType?: SchemaType;
|
|
736
725
|
modelPath?: string;
|
|
737
726
|
childrenParentSchema?: SchemaType;
|
|
@@ -841,6 +830,7 @@ type PhpDeclParam = BaseDeclaration & {
|
|
|
841
830
|
optional: boolean;
|
|
842
831
|
isPositional: boolean;
|
|
843
832
|
default?: unknown;
|
|
833
|
+
examples?: unknown[];
|
|
844
834
|
oasRef?: string;
|
|
845
835
|
modelPath?: string;
|
|
846
836
|
docstring?: string;
|
|
@@ -866,6 +856,7 @@ type PhpDeclClassProperty = BaseDeclaration & {
|
|
|
866
856
|
nullable: boolean;
|
|
867
857
|
docstring?: string;
|
|
868
858
|
default?: string;
|
|
859
|
+
examples?: unknown[];
|
|
869
860
|
deprecated?: string | boolean;
|
|
870
861
|
modelPath?: string;
|
|
871
862
|
children?: ID[];
|
|
@@ -994,7 +985,8 @@ type PythonDeclProperty = BaseDeclaration & {
|
|
|
994
985
|
type: PythonType;
|
|
995
986
|
constraints?: Constraints;
|
|
996
987
|
optional?: boolean;
|
|
997
|
-
default?:
|
|
988
|
+
default?: unknown;
|
|
989
|
+
examples?: unknown[];
|
|
998
990
|
schemaType?: SchemaType;
|
|
999
991
|
modelPath?: string;
|
|
1000
992
|
childrenParentSchema?: SchemaType;
|
|
@@ -1163,7 +1155,8 @@ type TerraformAttribute = {
|
|
|
1163
1155
|
isBodyRootParam?: boolean;
|
|
1164
1156
|
syntheticType?: 'id' | 'find-by' | 'max-items' | 'items' | 'timeout';
|
|
1165
1157
|
schemaType: TerraformSchemaType;
|
|
1166
|
-
pathExpr: PathExpression$1;
|
|
1158
|
+
pathExpr: PathExpression$1; /** whether this attribute is immediately nested inside a computed (or computed_optional) collection/object */
|
|
1159
|
+
nestedInComputedAttribute?: boolean;
|
|
1167
1160
|
};
|
|
1168
1161
|
declare const TerraformPathValidations: readonly ['requiredTogether', 'atLeastOneOf', 'exactlyOneOf', 'conflicting'];
|
|
1169
1162
|
type PathValidators = Record<(typeof TerraformPathValidations)[number], PathExpression$1[][]>;
|
|
@@ -1310,7 +1303,8 @@ type TSDeclProperty = BaseDeclaration & {
|
|
|
1310
1303
|
constraints?: Constraints;
|
|
1311
1304
|
optional?: boolean;
|
|
1312
1305
|
declare?: boolean;
|
|
1313
|
-
default?:
|
|
1306
|
+
default?: unknown;
|
|
1307
|
+
examples?: unknown[];
|
|
1314
1308
|
schemaType?: SchemaType;
|
|
1315
1309
|
modelPath?: string;
|
|
1316
1310
|
childrenParentSchema?: SchemaType;
|
|
@@ -1498,7 +1492,27 @@ type Spec = {
|
|
|
1498
1492
|
} };
|
|
1499
1493
|
readme: { [lang in SpecLanguage]?: string };
|
|
1500
1494
|
decls: { [lang in SpecLanguage]?: Record<string, LanguageDeclNodes[lang]> };
|
|
1501
|
-
snippets: { [key in SnippetLanguage]?: Record<string,
|
|
1495
|
+
snippets: { [key in SnippetLanguage]?: Record<string, {
|
|
1496
|
+
default: {
|
|
1497
|
+
content: string;
|
|
1498
|
+
};
|
|
1499
|
+
[key: `custom:${string}`]: {
|
|
1500
|
+
content: string;
|
|
1501
|
+
};
|
|
1502
|
+
}> };
|
|
1503
|
+
snippetResponses: {
|
|
1504
|
+
http: Record<string, {
|
|
1505
|
+
default?: {
|
|
1506
|
+
status: string;
|
|
1507
|
+
content: string;
|
|
1508
|
+
contentType?: string;
|
|
1509
|
+
}[];
|
|
1510
|
+
[key: `custom:${string}`]: {
|
|
1511
|
+
status?: string;
|
|
1512
|
+
content: string;
|
|
1513
|
+
}[];
|
|
1514
|
+
}>;
|
|
1515
|
+
};
|
|
1502
1516
|
};
|
|
1503
1517
|
type Resource = (HasConfigRef & HasStainlessPath) & {
|
|
1504
1518
|
kind: 'resource';
|
|
@@ -1522,7 +1536,7 @@ type Method = (HasStainlessPath & HasOASRef) & {
|
|
|
1522
1536
|
summary?: string;
|
|
1523
1537
|
httpMethod: string;
|
|
1524
1538
|
endpoint: string;
|
|
1525
|
-
deprecated?: string | boolean;
|
|
1539
|
+
deprecated?: string | boolean; /** @deprecated - use snippetResponses at the top level */
|
|
1526
1540
|
exampleResponses?: Record<string, ResponseContentObject>;
|
|
1527
1541
|
security: Record<string, string[]>[] | undefined;
|
|
1528
1542
|
'x-api-token-group'?: string[];
|
|
@@ -1627,7 +1641,8 @@ type GoDeclProperty = BaseDeclaration & {
|
|
|
1627
1641
|
type: GoType;
|
|
1628
1642
|
constraints?: Constraints;
|
|
1629
1643
|
optional?: boolean;
|
|
1630
|
-
default?:
|
|
1644
|
+
default?: unknown;
|
|
1645
|
+
examples?: unknown[];
|
|
1631
1646
|
schemaType?: SchemaType;
|
|
1632
1647
|
modelPath?: string;
|
|
1633
1648
|
childrenParentSchema?: SchemaType;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,20 +1,17 @@
|
|
|
1
|
-
import "./primitives-
|
|
2
|
-
import "./breadcrumbs-
|
|
3
|
-
import "./method-
|
|
4
|
-
import "./properties-
|
|
5
|
-
import { v as routing_d_exports } from "./routing-
|
|
6
|
-
import "./sdk-
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
11
|
-
import
|
|
12
|
-
import "./
|
|
13
|
-
import
|
|
14
|
-
import "./
|
|
15
|
-
import "./navigation-DWYqC_HX.js";
|
|
16
|
-
import "./markdown-Cibv9fDR.js";
|
|
17
|
-
import { t as index_d_exports$1 } from "./contexts/index.js";
|
|
1
|
+
import "./primitives-WGxdBJDS.js";
|
|
2
|
+
import "./breadcrumbs-46Qjx1Pd.js";
|
|
3
|
+
import "./method-D6R_farj.js";
|
|
4
|
+
import "./properties-Bu4nW9JD.js";
|
|
5
|
+
import { v as routing_d_exports } from "./routing-pAL4V4hv.js";
|
|
6
|
+
import "./sdk-Dm0S-XQE.js";
|
|
7
|
+
import { h as index_d_exports$1, t as index_d_exports, y as index_d_exports$2 } from "./index-BOmn7DHa.js";
|
|
8
|
+
import "./navigation-HiZWRl34.js";
|
|
9
|
+
import "./markdown-plMAoN22.js";
|
|
10
|
+
import "./component-generics-Bw4ZOyEG.js";
|
|
11
|
+
import "./docs-xb5wYGjM.js";
|
|
12
|
+
import "./overview-CTeKhpQq.js";
|
|
13
|
+
import "./sdk-sidebar-Dqeu7C1-.js";
|
|
14
|
+
import "./stl-sidebar-BTTErIJs.js";
|
|
18
15
|
import { t as utils_d_exports } from "./utils.js";
|
|
19
16
|
import _default from "./style.js";
|
|
20
17
|
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 };
|