@stainless-api/docs-ui 0.1.0-beta.53 → 0.1.0-beta.55
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-DgJ-MlEX.d.ts → breadcrumbs-DbMfWbzf.d.ts} +6 -1
- package/dist/{breadcrumbs-CMuhzgT7.js → breadcrumbs-DgN-xdoA.js} +3 -3
- package/dist/{component-BYfWhHQW.js → component-CjLDkCLe.js} +2 -2
- package/dist/{component-generics-DXP3ULvt.d.ts → component-generics-jEHMmsET.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 +2 -2
- package/dist/components/breadcrumbs.js +3 -3
- package/dist/components/icons.d.ts +11 -11
- package/dist/components/index.d.ts +10 -10
- package/dist/components/index.js +10 -10
- package/dist/components/method.d.ts +1 -1
- package/dist/components/method.js +2 -2
- package/dist/components/overview.d.ts +1 -1
- package/dist/components/overview.js +3 -3
- package/dist/components/primitives.d.ts +1 -1
- package/dist/components/primitives.js +1 -1
- package/dist/components/properties.d.ts +1 -1
- package/dist/components/properties.js +1 -1
- package/dist/components/sdk.d.ts +1 -1
- package/dist/components/sdk.js +1 -1
- package/dist/components/sidebar.d.ts +1 -1
- package/dist/components/sidebar.js +3 -3
- package/dist/components/snippets.d.ts +2 -2
- package/dist/components/snippets.js +1 -1
- package/dist/{components-D8QDCui1.js → components-oq97SH1A.js} +9 -8
- package/dist/contexts/component-generics.d.ts +1 -1
- package/dist/contexts/component-types.d.ts +10 -10
- package/dist/contexts/component.d.ts +13 -13
- package/dist/contexts/component.js +18 -18
- package/dist/contexts/docs.d.ts +1 -1
- package/dist/contexts/index.d.ts +14 -14
- package/dist/contexts/markdown.d.ts +1 -1
- package/dist/contexts/navigation.d.ts +1 -1
- package/dist/contexts/use-components.d.ts +9 -9
- package/dist/{csharp-Ba5efX6D.js → csharp-E3FbT47c.js} +1 -1
- package/dist/{docs-AUJrRqst.d.ts → docs-B8ujUobE.d.ts} +2 -2
- package/dist/{go-CpQCf3l5.js → go-DNSFGJle.js} +1 -1
- package/dist/{http-DnXtwYax.js → http-DXRdcllM.js} +2 -2
- package/dist/{index-DBINmyRo.d.ts → index-DJSj_TkD.d.ts} +30 -30
- package/dist/{index-xsX1w-7u.d.ts → index-DhAIZ735.d.ts} +8 -8
- package/dist/index.d.ts +15 -15
- package/dist/index.js +18 -18
- package/dist/{java-BnaaIuAz.js → java-X1yS0K52.js} +1 -1
- package/dist/languages/csharp.d.ts +10 -10
- package/dist/languages/csharp.js +1 -1
- package/dist/languages/go.d.ts +10 -10
- package/dist/languages/go.js +1 -1
- package/dist/languages/http.d.ts +10 -10
- package/dist/languages/http.js +10 -10
- package/dist/languages/index.d.ts +10 -10
- package/dist/languages/index.js +17 -17
- package/dist/languages/java.d.ts +10 -10
- package/dist/languages/java.js +1 -1
- package/dist/languages/python.d.ts +10 -10
- package/dist/languages/python.js +1 -1
- package/dist/languages/ruby.d.ts +10 -10
- package/dist/languages/ruby.js +1 -1
- package/dist/languages/typescript.d.ts +10 -10
- package/dist/languages/typescript.js +1 -1
- package/dist/{languages-DXv7zsEW.js → languages-Ir9QQoCT.js} +7 -7
- package/dist/markdown/index.d.ts +1 -1
- package/dist/markdown/index.js +18 -18
- package/dist/markdown/printer.d.ts +1 -1
- package/dist/markdown/printer.js +19 -19
- package/dist/markdown/utils.d.ts +2 -2
- package/dist/{markdown--wN50S_T.d.ts → markdown-BeBRJqrt.d.ts} +2 -2
- package/dist/{method-qhstNvML.js → method-nEcioXL5.js} +2 -2
- package/dist/{overview-Cy78uUKW.d.ts → overview-5f2psBcl.d.ts} +6 -6
- package/dist/{overview-B0C2Jc86.js → overview-BQk6WvtS.js} +3 -3
- package/dist/{primitives-DBllhZFN.js → primitives-1WQd5NT-.js} +2 -2
- package/dist/{primitives-Bjj20ctf.d.ts → primitives-BBa2vKex.d.ts} +9 -9
- package/dist/{properties-N8WgxEHE.js → properties-BTdEzx5f.js} +1 -1
- package/dist/{properties-BRaEgTX5.d.ts → properties-Clv76Ne3.d.ts} +5 -5
- package/dist/{python-DsTU3C4E.js → python-DqdvqQ9I.js} +1 -1
- package/dist/routing.d.ts +1 -1
- package/dist/{ruby-CLGbdYN8.js → ruby-CHeld1ey.js} +1 -1
- package/dist/{sdk-BKdaidz1.js → sdk-DEoUlY8I.js} +1 -1
- package/dist/{sdk-zkHxx2nq.d.ts → sdk-DT9NI4cv.d.ts} +13 -13
- package/dist/{sidebar-BWDZQSmn.js → sidebar-D_cK7JN_.js} +2 -2
- package/dist/{sidebar-sPFdjATU.d.ts → sidebar-M9RnjNtV.d.ts} +5 -5
- package/dist/{snippets-DYnUt5eM.js → snippets-BiXJx1BL.js} +1 -1
- package/dist/{snippets-B0sKAjU-.d.ts → snippets-swUWTk4z.d.ts} +8 -8
- package/dist/spec.d.ts +1 -1
- package/dist/{style-gnVEeXFj.js → style-cJZFOvnF.js} +3 -0
- package/dist/style.d.ts +3 -0
- package/dist/style.js +1 -1
- package/dist/styles/primitives.css +11 -6
- package/dist/styles/search.css +51 -32
- package/dist/styles.css +63 -39
- package/dist/{typescript-CJraLOyM.js → typescript-C--P_L-R.js} +1 -1
- package/package.json +2 -2
- package/dist/breadcrumbs-B3lvHi-c.d.ts +0 -20
- package/dist/component-generics-VJ70v3jX.d.ts +0 -30
- package/dist/docs-MVz2XX5s.d.ts +0 -47
- package/dist/index-CNuNmlhP.d.ts +0 -274
- package/dist/index-CX7THZ5A.d.ts +0 -15
- package/dist/markdown-V_bNKjle.d.ts +0 -22
- package/dist/method-CrNc3HtN.d.ts +0 -71
- package/dist/navigation-BJKh5ucf.d.ts +0 -29
- package/dist/overview-DaVwshbY.d.ts +0 -39
- package/dist/primitives-DsRHkHGI.d.ts +0 -97
- package/dist/properties-fj-2sAW8.d.ts +0 -54
- package/dist/routing-BcWYAHJp.d.ts +0 -54
- package/dist/sdk-BBe_u8ZX.d.ts +0 -118
- package/dist/sidebar-BaDPwqdV.d.ts +0 -36
- package/dist/snippets-BQgrub4H.d.ts +0 -51
package/dist/index-CNuNmlhP.d.ts
DELETED
|
@@ -1,274 +0,0 @@
|
|
|
1
|
-
import { i as PropertyProps$7 } from "./properties-fj-2sAW8.js";
|
|
2
|
-
import * as React$1 from "react";
|
|
3
|
-
import React, { ReactNode } from "react";
|
|
4
|
-
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
5
|
-
import { CSharpAST, DeclarationNode, GoAST, HttpAST, JavaAST, PythonAST, RubyAST, TSAST, Type } from "@stainless/sdk-json";
|
|
6
|
-
|
|
7
|
-
//#region src/languages/typescript.d.ts
|
|
8
|
-
declare namespace typescript_d_exports {
|
|
9
|
-
export { Declaration$6 as Declaration, DeclarationProps$6 as DeclarationProps, MethodSignature$6 as MethodSignature, MethodSignatureProps$6 as MethodSignatureProps, Property$6 as Property, PropertyProps$6 as PropertyProps, Type$7 as Type, TypeName$6 as TypeName };
|
|
10
|
-
}
|
|
11
|
-
type TypeProps$6 = {
|
|
12
|
-
type: TSAST.TSType;
|
|
13
|
-
};
|
|
14
|
-
declare function TypeName$6({
|
|
15
|
-
type
|
|
16
|
-
}: TypeProps$6): string | react_jsx_runtime18.JSX.Element;
|
|
17
|
-
declare function Type$7({
|
|
18
|
-
type
|
|
19
|
-
}: TypeProps$6): react_jsx_runtime18.JSX.Element;
|
|
20
|
-
type MethodSignatureProps$6 = {
|
|
21
|
-
decl: TSAST.TSDeclFunction;
|
|
22
|
-
};
|
|
23
|
-
declare function MethodSignature$6({
|
|
24
|
-
decl
|
|
25
|
-
}: MethodSignatureProps$6): react_jsx_runtime18.JSX.Element;
|
|
26
|
-
type PropertyProps$6 = {
|
|
27
|
-
decl: TSAST.TSDeclaration;
|
|
28
|
-
children: PropertyFn;
|
|
29
|
-
};
|
|
30
|
-
declare function Property$6({
|
|
31
|
-
decl,
|
|
32
|
-
children
|
|
33
|
-
}: PropertyProps$6): React$1.ReactNode;
|
|
34
|
-
type DeclarationProps$6 = {
|
|
35
|
-
decl: TSAST.TSDeclaration;
|
|
36
|
-
};
|
|
37
|
-
declare function Declaration$6({
|
|
38
|
-
decl
|
|
39
|
-
}: DeclarationProps$6): react_jsx_runtime18.JSX.Element | undefined;
|
|
40
|
-
declare namespace java_d_exports {
|
|
41
|
-
export { Declaration$5 as Declaration, DeclarationProps$5 as DeclarationProps, MethodSignature$5 as MethodSignature, MethodSignatureProps$5 as MethodSignatureProps, Property$5 as Property, PropertyProps$5 as PropertyProps, Type$6 as Type, TypeName$5 as TypeName };
|
|
42
|
-
}
|
|
43
|
-
type TypeProps$5 = {
|
|
44
|
-
type: JavaAST.JavaType;
|
|
45
|
-
optional?: boolean;
|
|
46
|
-
};
|
|
47
|
-
declare function TypeName$5({
|
|
48
|
-
type,
|
|
49
|
-
optional
|
|
50
|
-
}: TypeProps$5): react_jsx_runtime18.JSX.Element | "List";
|
|
51
|
-
declare function Type$6({
|
|
52
|
-
type,
|
|
53
|
-
optional
|
|
54
|
-
}: TypeProps$5): react_jsx_runtime18.JSX.Element;
|
|
55
|
-
type MethodSignatureProps$5 = {
|
|
56
|
-
decl: JavaAST.JavaDeclFunction;
|
|
57
|
-
};
|
|
58
|
-
declare function MethodSignature$5({
|
|
59
|
-
decl
|
|
60
|
-
}: MethodSignatureProps$5): react_jsx_runtime18.JSX.Element;
|
|
61
|
-
type PropertyProps$5 = {
|
|
62
|
-
decl: JavaAST.JavaDeclaration;
|
|
63
|
-
children: PropertyFn;
|
|
64
|
-
};
|
|
65
|
-
declare function Property$5({
|
|
66
|
-
decl,
|
|
67
|
-
children
|
|
68
|
-
}: PropertyProps$5): React$1.ReactNode;
|
|
69
|
-
type DeclarationProps$5 = {
|
|
70
|
-
decl: JavaAST.JavaDeclaration;
|
|
71
|
-
};
|
|
72
|
-
declare function Declaration$5({
|
|
73
|
-
decl
|
|
74
|
-
}: DeclarationProps$5): react_jsx_runtime18.JSX.Element | null | undefined;
|
|
75
|
-
declare namespace go_d_exports {
|
|
76
|
-
export { Declaration$4 as Declaration, DeclarationProps$4 as DeclarationProps, MethodSignature$4 as MethodSignature, MethodSignatureProps$4 as MethodSignatureProps, Property$4 as Property, PropertyProps$4 as PropertyProps, Type$5 as Type, TypeName$4 as TypeName, TypeProps$4 as TypeProps };
|
|
77
|
-
}
|
|
78
|
-
type TypeProps$4 = {
|
|
79
|
-
type: GoAST.GoType;
|
|
80
|
-
};
|
|
81
|
-
declare function TypeName$4({
|
|
82
|
-
type
|
|
83
|
-
}: TypeProps$4): string | react_jsx_runtime18.JSX.Element;
|
|
84
|
-
declare function Type$5({
|
|
85
|
-
type
|
|
86
|
-
}: TypeProps$4): react_jsx_runtime18.JSX.Element;
|
|
87
|
-
type MethodSignatureProps$4 = {
|
|
88
|
-
decl: GoAST.GoDeclFunction;
|
|
89
|
-
};
|
|
90
|
-
declare function MethodSignature$4({
|
|
91
|
-
decl
|
|
92
|
-
}: MethodSignatureProps$4): react_jsx_runtime18.JSX.Element;
|
|
93
|
-
type PropertyProps$4 = {
|
|
94
|
-
decl: GoAST.GoDeclaration;
|
|
95
|
-
children: PropertyFn;
|
|
96
|
-
};
|
|
97
|
-
declare function Property$4({
|
|
98
|
-
decl,
|
|
99
|
-
children
|
|
100
|
-
}: PropertyProps$4): React$1.ReactNode;
|
|
101
|
-
type DeclarationProps$4 = {
|
|
102
|
-
decl: GoAST.GoDeclaration;
|
|
103
|
-
};
|
|
104
|
-
declare function Declaration$4({
|
|
105
|
-
decl
|
|
106
|
-
}: DeclarationProps$4): react_jsx_runtime18.JSX.Element | undefined;
|
|
107
|
-
declare namespace python_d_exports {
|
|
108
|
-
export { Declaration$3 as Declaration, DeclarationProps$3 as DeclarationProps, MethodSignature$3 as MethodSignature, MethodSignatureProps$3 as MethodSignatureProps, Property$3 as Property, PropertyProps$3 as PropertyProps, Type$4 as Type, TypeName$3 as TypeName };
|
|
109
|
-
}
|
|
110
|
-
type TypeProps$3 = {
|
|
111
|
-
type: PythonAST.PythonType;
|
|
112
|
-
};
|
|
113
|
-
declare function TypeName$3({
|
|
114
|
-
type
|
|
115
|
-
}: TypeProps$3): string | react_jsx_runtime18.JSX.Element;
|
|
116
|
-
declare function Type$4({
|
|
117
|
-
type
|
|
118
|
-
}: TypeProps$3): react_jsx_runtime18.JSX.Element;
|
|
119
|
-
type MethodSignatureProps$3 = {
|
|
120
|
-
decl: PythonAST.PythonDeclFunction;
|
|
121
|
-
};
|
|
122
|
-
declare function MethodSignature$3({
|
|
123
|
-
decl
|
|
124
|
-
}: MethodSignatureProps$3): react_jsx_runtime18.JSX.Element;
|
|
125
|
-
type PropertyProps$3 = {
|
|
126
|
-
decl: PythonAST.PythonDeclaration;
|
|
127
|
-
children: PropertyFn;
|
|
128
|
-
};
|
|
129
|
-
declare function Property$3({
|
|
130
|
-
decl,
|
|
131
|
-
children
|
|
132
|
-
}: PropertyProps$3): React$1.ReactNode;
|
|
133
|
-
type DeclarationProps$3 = {
|
|
134
|
-
decl: PythonAST.PythonDeclaration;
|
|
135
|
-
};
|
|
136
|
-
declare function Declaration$3({
|
|
137
|
-
decl
|
|
138
|
-
}: DeclarationProps$3): react_jsx_runtime18.JSX.Element | undefined;
|
|
139
|
-
declare namespace ruby_d_exports {
|
|
140
|
-
export { Declaration$2 as Declaration, DeclarationProps$2 as DeclarationProps, MethodSignature$2 as MethodSignature, MethodSignatureProps$2 as MethodSignatureProps, Property$2 as Property, PropertyProps$2 as PropertyProps, Type$3 as Type, TypeName$2 as TypeName };
|
|
141
|
-
}
|
|
142
|
-
type TypeProps$2 = {
|
|
143
|
-
type: RubyAST.RubyType;
|
|
144
|
-
};
|
|
145
|
-
declare function TypeName$2({
|
|
146
|
-
type
|
|
147
|
-
}: TypeProps$2): string | react_jsx_runtime18.JSX.Element;
|
|
148
|
-
declare function Type$3({
|
|
149
|
-
type
|
|
150
|
-
}: TypeProps$2): react_jsx_runtime18.JSX.Element;
|
|
151
|
-
type MethodSignatureProps$2 = {
|
|
152
|
-
decl: RubyAST.RubyDeclFunction;
|
|
153
|
-
};
|
|
154
|
-
declare function MethodSignature$2({
|
|
155
|
-
decl
|
|
156
|
-
}: MethodSignatureProps$2): react_jsx_runtime18.JSX.Element;
|
|
157
|
-
type PropertyProps$2 = {
|
|
158
|
-
decl: RubyAST.RubyDeclaration;
|
|
159
|
-
children: PropertyFn;
|
|
160
|
-
};
|
|
161
|
-
declare function Property$2({
|
|
162
|
-
decl,
|
|
163
|
-
children
|
|
164
|
-
}: PropertyProps$2): React$1.ReactNode;
|
|
165
|
-
type DeclarationProps$2 = {
|
|
166
|
-
decl: RubyAST.RubyDeclaration;
|
|
167
|
-
};
|
|
168
|
-
declare function Declaration$2({
|
|
169
|
-
decl
|
|
170
|
-
}: DeclarationProps$2): react_jsx_runtime18.JSX.Element | undefined;
|
|
171
|
-
declare namespace http_d_exports {
|
|
172
|
-
export { Declaration$1 as Declaration, DeclarationProps$1 as DeclarationProps, MethodInfo, MethodSignature$1 as MethodSignature, MethodSignatureProps$1 as MethodSignatureProps, Property$1 as Property, PropertyProps$1 as PropertyProps, Type$2 as Type, TypeName$1 as TypeName };
|
|
173
|
-
}
|
|
174
|
-
type TypeProps$1 = {
|
|
175
|
-
type: HttpAST.HttpType;
|
|
176
|
-
};
|
|
177
|
-
declare function TypeName$1({
|
|
178
|
-
type
|
|
179
|
-
}: TypeProps$1): string | react_jsx_runtime18.JSX.Element;
|
|
180
|
-
declare function Type$2({
|
|
181
|
-
type
|
|
182
|
-
}: TypeProps$1): react_jsx_runtime18.JSX.Element | undefined;
|
|
183
|
-
type MethodSignatureProps$1 = {
|
|
184
|
-
decl: HttpAST.HttpDeclFunction;
|
|
185
|
-
};
|
|
186
|
-
declare function MethodSignature$1({
|
|
187
|
-
decl
|
|
188
|
-
}: MethodSignatureProps$1): null;
|
|
189
|
-
declare function MethodInfo({
|
|
190
|
-
decl,
|
|
191
|
-
children
|
|
192
|
-
}: MethodSignatureProps$1 & {
|
|
193
|
-
children: React.ReactNode;
|
|
194
|
-
}): react_jsx_runtime18.JSX.Element;
|
|
195
|
-
type PropertyProps$1 = {
|
|
196
|
-
decl: HttpAST.HttpDeclaration;
|
|
197
|
-
children: PropertyFn;
|
|
198
|
-
};
|
|
199
|
-
declare function Property$1({
|
|
200
|
-
decl,
|
|
201
|
-
children
|
|
202
|
-
}: PropertyProps$1): React.ReactNode;
|
|
203
|
-
type DeclarationProps$1 = {
|
|
204
|
-
decl: HttpAST.HttpDeclaration;
|
|
205
|
-
};
|
|
206
|
-
declare function Declaration$1({
|
|
207
|
-
decl
|
|
208
|
-
}: DeclarationProps$1): react_jsx_runtime18.JSX.Element | undefined;
|
|
209
|
-
declare namespace csharp_d_exports {
|
|
210
|
-
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type$1 as Type, TypeName };
|
|
211
|
-
}
|
|
212
|
-
declare function TypeName({
|
|
213
|
-
type,
|
|
214
|
-
optional
|
|
215
|
-
}: TypeProps): react_jsx_runtime18.JSX.Element;
|
|
216
|
-
type TypeProps = {
|
|
217
|
-
type: CSharpAST.CSharpType;
|
|
218
|
-
optional?: boolean;
|
|
219
|
-
};
|
|
220
|
-
declare function Type$1({
|
|
221
|
-
type
|
|
222
|
-
}: TypeProps): react_jsx_runtime18.JSX.Element;
|
|
223
|
-
type MethodSignatureProps = {
|
|
224
|
-
decl: CSharpAST.CSharpDeclFunction;
|
|
225
|
-
};
|
|
226
|
-
declare function MethodSignature({
|
|
227
|
-
decl
|
|
228
|
-
}: MethodSignatureProps): react_jsx_runtime18.JSX.Element;
|
|
229
|
-
type PropertyProps = {
|
|
230
|
-
decl: CSharpAST.CSharpDeclaration;
|
|
231
|
-
children: PropertyFn;
|
|
232
|
-
};
|
|
233
|
-
declare function Property({
|
|
234
|
-
decl,
|
|
235
|
-
children
|
|
236
|
-
}: PropertyProps): React$1.ReactNode;
|
|
237
|
-
type DeclarationProps = {
|
|
238
|
-
decl: CSharpAST.CSharpDeclaration;
|
|
239
|
-
};
|
|
240
|
-
declare function Declaration({
|
|
241
|
-
decl
|
|
242
|
-
}: DeclarationProps): react_jsx_runtime18.JSX.Element | null | undefined;
|
|
243
|
-
declare namespace index_d_exports {
|
|
244
|
-
export { LanguageComponentDefinition, PropertyFn, csharp_d_exports as csharp, go_d_exports as go, http_d_exports as http, java_d_exports as java, kotlin, node, python_d_exports as python, ruby_d_exports as ruby, typescript_d_exports as typescript };
|
|
245
|
-
}
|
|
246
|
-
declare const node: typeof typescript_d_exports;
|
|
247
|
-
declare const kotlin: typeof java_d_exports;
|
|
248
|
-
type PropertyFn = (params: PropertyProps$7) => ReactNode;
|
|
249
|
-
interface LanguageComponentDefinition {
|
|
250
|
-
Declaration(props: {
|
|
251
|
-
decl: DeclarationNode;
|
|
252
|
-
}): ReactNode;
|
|
253
|
-
Property(props: {
|
|
254
|
-
decl: DeclarationNode;
|
|
255
|
-
children: PropertyFn;
|
|
256
|
-
}): ReactNode;
|
|
257
|
-
TypeName(props: {
|
|
258
|
-
type: Type;
|
|
259
|
-
optional?: boolean;
|
|
260
|
-
}): ReactNode;
|
|
261
|
-
Type(props: {
|
|
262
|
-
type: Type;
|
|
263
|
-
optional?: boolean;
|
|
264
|
-
}): ReactNode;
|
|
265
|
-
MethodSignature(props: {
|
|
266
|
-
decl: DeclarationNode;
|
|
267
|
-
}): ReactNode;
|
|
268
|
-
MethodInfo?(props: {
|
|
269
|
-
decl: DeclarationNode;
|
|
270
|
-
children?: ReactNode;
|
|
271
|
-
}): ReactNode;
|
|
272
|
-
}
|
|
273
|
-
//#endregion
|
|
274
|
-
export { Declaration$5 as $, PropertyProps$2 as A, Type$4 as B, TypeName$1 as C, MethodSignature$2 as D, DeclarationProps$2 as E, DeclarationProps$3 as F, MethodSignature$4 as G, python_d_exports as H, MethodSignature$3 as I, PropertyProps$4 as J, MethodSignatureProps$4 as K, MethodSignatureProps$3 as L, TypeName$2 as M, ruby_d_exports as N, MethodSignatureProps$2 as O, Declaration$3 as P, go_d_exports as Q, Property$3 as R, Type$2 as S, Declaration$2 as T, Declaration$4 as U, TypeName$3 as V, DeclarationProps$4 as W, TypeName$4 as X, Type$5 as Y, TypeProps$4 as Z, MethodInfo as _, node as a, Type$6 as at, Property$1 as b, MethodSignature as c, Declaration$6 as ct, PropertyProps as d, MethodSignatureProps$6 as dt, DeclarationProps$5 as et, Type$1 as f, Property$6 as ft, DeclarationProps$1 as g, typescript_d_exports as gt, Declaration$1 as h, TypeName$6 as ht, kotlin as i, PropertyProps$5 as it, Type$3 as j, Property$2 as k, MethodSignatureProps as l, DeclarationProps$6 as lt, csharp_d_exports as m, Type$7 as mt, PropertyFn as n, MethodSignatureProps$5 as nt, Declaration as o, TypeName$5 as ot, TypeName as p, PropertyProps$6 as pt, Property$4 as q, index_d_exports as r, Property$5 as rt, DeclarationProps as s, java_d_exports as st, LanguageComponentDefinition as t, MethodSignature$5 as tt, Property as u, MethodSignature$6 as ut, MethodSignature$1 as v, http_d_exports as w, PropertyProps$1 as x, MethodSignatureProps$1 as y, PropertyProps$3 as z };
|
package/dist/index-CX7THZ5A.d.ts
DELETED
|
@@ -1,15 +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-Bjj20ctf.js";
|
|
2
|
-
import { t as SDKBreadcrumbs } from "./breadcrumbs-B3lvHi-c.js";
|
|
3
|
-
import { a as MethodDescription, c as MethodHeaderProps, d as MethodInfo, f as MethodInfoProps, h as MethodRouteProps, i as Method, l as MethodIconBadge, m as MethodRoute, n as HttpMethodIcons, o as MethodDescriptionProps, p as MethodProps, r as HttpMethods, s as MethodHeader, t as HTTPMethod, u as MethodIconProps } from "./method-CrNc3HtN.js";
|
|
4
|
-
import { a as PropertyTitle, c as PropertyToggleProps, i as PropertyProps, n as PropertyDescription, o as PropertyTitleProps, r as PropertyDescriptionProps, s as PropertyToggle, t as Property } from "./properties-BRaEgTX5.js";
|
|
5
|
-
import { C as TransformRequestSnippetFn, S as SDKSnippetLanguagesType, T as useReferenceNesting, _ as SDKModelProps, a as SDKChildren, b as SDKRequestTitleProps, c as SDKDeclaration, d as SDKLanguageBlock, f as SDKMethod, g as SDKModel, h as SDKMethodProps, 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 SDKReference, w as usePropertyModel, x as SDKSnippetLanguages, y as SDKRequestTitle } from "./sdk-BBe_u8ZX.js";
|
|
6
|
-
import { a as SnippetContainer, c as SnippetRequestContainer, i as SnippetCodeProps, l as SnippetRequestContainerProps, n as SnippetButtons, o as SnippetContainerProps, r as SnippetCode, s as SnippetProps, t as Snippet, u as SnippetResponse } from "./snippets-B0sKAjU-.js";
|
|
7
|
-
import { a as SDKResource, c as SDKRoot, i as SDKOverviewProps, l as SDKRootProps, n as SDKMethodSummaryProps, o as SDKResourceHeader, r as SDKOverview, s as SDKResourceProps, t as SDKMethodSummary } from "./overview-Cy78uUKW.js";
|
|
8
|
-
import { a as SidebarProps, i as SidebarMethodProps, n as SidebarExpander, o as SidebarResource, r as SidebarMethod, s as SidebarResourceProps, t as Sidebar } from "./sidebar-sPFdjATU.js";
|
|
9
|
-
|
|
10
|
-
//#region src/components/index.d.ts
|
|
11
|
-
declare namespace index_d_exports {
|
|
12
|
-
export { Badge, Expander, HTTPMethod, HttpMethodIcons, HttpMethods, Input, InputProps, Join, Link, ListView, ListViewProps, Markdown, Method, MethodDescription, MethodDescriptionProps, MethodHeader, MethodHeaderProps, MethodIconBadge, MethodIconProps, MethodInfo, MethodInfoProps, MethodProps, MethodRoute, MethodRouteProps, Property, PropertyDescription, PropertyDescriptionProps, PropertyModelContext, PropertyModelContextType, PropertyProps, PropertyTitle, PropertyTitleProps, PropertyToggle, PropertyToggleProps, ReferenceNestingContext, ReferenceNestingContextType, SDKBreadcrumbs, SDKChildren, SDKConstraints, SDKConstraintsProps, SDKDeclaration, SDKExample, SDKIcon, SDKLanguageBlock, SDKMethod, SDKMethodHeader, SDKMethodInfo, SDKMethodProps, SDKMethodSummary, SDKMethodSummaryProps, SDKModel, SDKModelProps, SDKOverview, SDKOverviewProps, SDKReference, SDKRequestTitle, SDKRequestTitleProps, SDKResource, SDKResourceHeader, SDKResourceProps, SDKRoot, SDKRootProps, SDKSnippetLanguages, SDKSnippetLanguagesType, Sidebar, SidebarExpander, SidebarMethod, SidebarMethodProps, SidebarProps, SidebarResource, SidebarResourceProps, Snippet, SnippetButtons, SnippetCode, SnippetCodeProps, SnippetContainer, SnippetContainerProps, SnippetProps, SnippetRequestContainer, SnippetRequestContainerProps, SnippetResponse, ToggleButton, ToggleButtonProps, Tooltip, TransformRequestSnippetFn, VirtualExpander, usePropertyModel, useReferenceNesting };
|
|
13
|
-
}
|
|
14
|
-
//#endregion
|
|
15
|
-
export { index_d_exports as t };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as React$1 from "react";
|
|
2
|
-
import * as react_jsx_runtime88 from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
//#region src/contexts/markdown.d.ts
|
|
5
|
-
type MarkdownContext = {
|
|
6
|
-
highlight: (content: string, language: string) => string | Promise<string>;
|
|
7
|
-
render: (content: string) => string | Promise<string>;
|
|
8
|
-
};
|
|
9
|
-
declare const MarkdownContext: React$1.Context<MarkdownContext>;
|
|
10
|
-
declare const useMarkdownContext: () => MarkdownContext;
|
|
11
|
-
declare function useRenderMarkdown(content?: string): string | undefined;
|
|
12
|
-
declare function useHighlight(content: string, language?: string): string;
|
|
13
|
-
type MarkdownProviderProps = MarkdownContext & {
|
|
14
|
-
children: React$1.ReactNode;
|
|
15
|
-
};
|
|
16
|
-
declare function MarkdownProvider({
|
|
17
|
-
render,
|
|
18
|
-
highlight,
|
|
19
|
-
children
|
|
20
|
-
}: MarkdownProviderProps): react_jsx_runtime88.JSX.Element;
|
|
21
|
-
//#endregion
|
|
22
|
-
export { useMarkdownContext as a, useHighlight as i, MarkdownProvider as n, useRenderMarkdown as o, MarkdownProviderProps as r, MarkdownContext as t };
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import * as React$1 from "react";
|
|
2
|
-
import { ReactNode } from "react";
|
|
3
|
-
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
4
|
-
import { LucideIcon } from "lucide-react";
|
|
5
|
-
|
|
6
|
-
//#region src/components/method.d.ts
|
|
7
|
-
declare const HttpMethods: string[];
|
|
8
|
-
type HTTPMethod = (typeof HttpMethods)[number];
|
|
9
|
-
declare const HttpMethodIcons: Record<HTTPMethod, LucideIcon>;
|
|
10
|
-
type MethodIconProps = {
|
|
11
|
-
httpMethod?: string;
|
|
12
|
-
showName?: boolean;
|
|
13
|
-
};
|
|
14
|
-
declare function MethodIconBadge({
|
|
15
|
-
httpMethod,
|
|
16
|
-
showName
|
|
17
|
-
}: MethodIconProps): react_jsx_runtime17.JSX.Element | null;
|
|
18
|
-
type MethodHeaderProps = {
|
|
19
|
-
title: ReactNode;
|
|
20
|
-
level?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5';
|
|
21
|
-
signature?: ReactNode;
|
|
22
|
-
badges?: ReactNode;
|
|
23
|
-
children?: ReactNode;
|
|
24
|
-
};
|
|
25
|
-
declare function MethodHeader({
|
|
26
|
-
title,
|
|
27
|
-
badges,
|
|
28
|
-
signature,
|
|
29
|
-
children,
|
|
30
|
-
level
|
|
31
|
-
}: MethodHeaderProps): react_jsx_runtime17.JSX.Element;
|
|
32
|
-
type MethodRouteProps = {
|
|
33
|
-
httpMethod?: string;
|
|
34
|
-
endpoint?: string | ReactNode;
|
|
35
|
-
iconOnly?: boolean;
|
|
36
|
-
};
|
|
37
|
-
declare function MethodRoute({
|
|
38
|
-
httpMethod,
|
|
39
|
-
endpoint,
|
|
40
|
-
iconOnly
|
|
41
|
-
}: MethodRouteProps): react_jsx_runtime17.JSX.Element;
|
|
42
|
-
type MethodDescriptionProps = {
|
|
43
|
-
description?: string;
|
|
44
|
-
};
|
|
45
|
-
declare function MethodDescription({
|
|
46
|
-
description
|
|
47
|
-
}: MethodDescriptionProps): react_jsx_runtime17.JSX.Element | undefined;
|
|
48
|
-
type MethodInfoProps = {
|
|
49
|
-
children?: ReactNode;
|
|
50
|
-
parameters?: ReactNode;
|
|
51
|
-
returns?: ReactNode;
|
|
52
|
-
};
|
|
53
|
-
declare function MethodInfo({
|
|
54
|
-
children,
|
|
55
|
-
parameters,
|
|
56
|
-
returns
|
|
57
|
-
}: MethodInfoProps): react_jsx_runtime17.JSX.Element;
|
|
58
|
-
type MethodProps = {
|
|
59
|
-
id?: string;
|
|
60
|
-
header?: ReactNode;
|
|
61
|
-
children?: ReactNode;
|
|
62
|
-
} & React$1.HTMLProps<HTMLDivElement>;
|
|
63
|
-
declare function Method({
|
|
64
|
-
id,
|
|
65
|
-
header,
|
|
66
|
-
children,
|
|
67
|
-
className,
|
|
68
|
-
...props
|
|
69
|
-
}: MethodProps): react_jsx_runtime17.JSX.Element;
|
|
70
|
-
//#endregion
|
|
71
|
-
export { MethodDescription as a, MethodHeaderProps as c, MethodInfo as d, MethodInfoProps as f, MethodRouteProps as h, Method as i, MethodIconBadge as l, MethodRoute as m, HttpMethodIcons as n, MethodDescriptionProps as o, MethodProps as p, HttpMethods as r, MethodHeader as s, HTTPMethod as t, MethodIconProps as u };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { t as DocsLanguage } from "./routing-BcWYAHJp.js";
|
|
2
|
-
import * as React$1 from "react";
|
|
3
|
-
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
4
|
-
|
|
5
|
-
//#region src/contexts/navigation.d.ts
|
|
6
|
-
type NavigationHandler = (ev: React$1.MouseEvent | null, opts: {
|
|
7
|
-
href: string;
|
|
8
|
-
language: DocsLanguage;
|
|
9
|
-
stainlessPath: string;
|
|
10
|
-
scroll: boolean;
|
|
11
|
-
}) => void;
|
|
12
|
-
type NavigationContextType = {
|
|
13
|
-
basePath?: string;
|
|
14
|
-
selectedPath?: string;
|
|
15
|
-
navigationPath?: string[];
|
|
16
|
-
onNavigate?: NavigationHandler;
|
|
17
|
-
};
|
|
18
|
-
declare function useNavigation(): NavigationContextType;
|
|
19
|
-
type NavigationProviderProps = NavigationContextType & {
|
|
20
|
-
children: React$1.ReactNode;
|
|
21
|
-
};
|
|
22
|
-
declare function NavigationProvider({
|
|
23
|
-
basePath,
|
|
24
|
-
selectedPath,
|
|
25
|
-
onNavigate,
|
|
26
|
-
children
|
|
27
|
-
}: NavigationProviderProps): react_jsx_runtime23.JSX.Element;
|
|
28
|
-
//#endregion
|
|
29
|
-
export { useNavigation as a, NavigationProviderProps as i, NavigationHandler as n, NavigationProvider as r, NavigationContextType as t };
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
2
|
-
import * as SDKJSON from "@stainless/sdk-json";
|
|
3
|
-
|
|
4
|
-
//#region src/components/overview.d.ts
|
|
5
|
-
type SDKResourceProps = {
|
|
6
|
-
resource: SDKJSON.Resource;
|
|
7
|
-
parents?: SDKJSON.Resource[];
|
|
8
|
-
};
|
|
9
|
-
declare function SDKResourceHeader({
|
|
10
|
-
resource,
|
|
11
|
-
parents
|
|
12
|
-
}: SDKResourceProps): react_jsx_runtime22.JSX.Element | null;
|
|
13
|
-
type SDKMethodSummaryProps = {
|
|
14
|
-
method: SDKJSON.Method;
|
|
15
|
-
};
|
|
16
|
-
declare function SDKMethodSummary({
|
|
17
|
-
method
|
|
18
|
-
}: SDKMethodSummaryProps): react_jsx_runtime22.JSX.Element;
|
|
19
|
-
declare function SDKResource({
|
|
20
|
-
resource,
|
|
21
|
-
parents,
|
|
22
|
-
showModels
|
|
23
|
-
}: SDKResourceProps & {
|
|
24
|
-
showModels?: boolean;
|
|
25
|
-
}): react_jsx_runtime22.JSX.Element;
|
|
26
|
-
type SDKOverviewProps = {
|
|
27
|
-
resource: SDKJSON.Resource;
|
|
28
|
-
};
|
|
29
|
-
declare function SDKOverview({
|
|
30
|
-
resource
|
|
31
|
-
}: SDKOverviewProps): react_jsx_runtime22.JSX.Element;
|
|
32
|
-
type SDKRootProps = {
|
|
33
|
-
stainlessPath: string;
|
|
34
|
-
};
|
|
35
|
-
declare function SDKRoot({
|
|
36
|
-
stainlessPath
|
|
37
|
-
}: SDKRootProps): react_jsx_runtime22.JSX.Element | null;
|
|
38
|
-
//#endregion
|
|
39
|
-
export { SDKResource as a, SDKRoot as c, SDKOverviewProps as i, SDKRootProps as l, SDKMethodSummaryProps as n, SDKResourceHeader as o, SDKOverview as r, SDKResourceProps as s, SDKMethodSummary as t };
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import * as React$1 from "react";
|
|
2
|
-
import { ReactNode } from "react";
|
|
3
|
-
import * as react_jsx_runtime51 from "react/jsx-runtime";
|
|
4
|
-
|
|
5
|
-
//#region src/components/primitives.d.ts
|
|
6
|
-
type JoinProps = {
|
|
7
|
-
items: ReactNode[];
|
|
8
|
-
limit?: number;
|
|
9
|
-
children: ReactNode;
|
|
10
|
-
};
|
|
11
|
-
declare function Join({
|
|
12
|
-
items,
|
|
13
|
-
limit,
|
|
14
|
-
children
|
|
15
|
-
}: JoinProps): react_jsx_runtime51.JSX.Element[];
|
|
16
|
-
type ExpanderProps = {
|
|
17
|
-
id?: string;
|
|
18
|
-
open?: boolean;
|
|
19
|
-
summary: ReactNode;
|
|
20
|
-
virtual?: boolean;
|
|
21
|
-
muted?: boolean;
|
|
22
|
-
children?: ReactNode;
|
|
23
|
-
};
|
|
24
|
-
declare function Expander({
|
|
25
|
-
id,
|
|
26
|
-
open,
|
|
27
|
-
summary,
|
|
28
|
-
virtual,
|
|
29
|
-
muted,
|
|
30
|
-
children
|
|
31
|
-
}: ExpanderProps): react_jsx_runtime51.JSX.Element;
|
|
32
|
-
declare function VirtualExpander({
|
|
33
|
-
id,
|
|
34
|
-
open: isOpen,
|
|
35
|
-
muted,
|
|
36
|
-
summary,
|
|
37
|
-
children
|
|
38
|
-
}: Omit<ExpanderProps, 'virtual'>): react_jsx_runtime51.JSX.Element;
|
|
39
|
-
declare function Markdown({
|
|
40
|
-
content
|
|
41
|
-
}: {
|
|
42
|
-
content: string;
|
|
43
|
-
}): "" | react_jsx_runtime51.JSX.Element | undefined;
|
|
44
|
-
type BadgeProps = {
|
|
45
|
-
id: string;
|
|
46
|
-
children?: ReactNode;
|
|
47
|
-
};
|
|
48
|
-
declare function Badge({
|
|
49
|
-
id,
|
|
50
|
-
children
|
|
51
|
-
}: BadgeProps): react_jsx_runtime51.JSX.Element;
|
|
52
|
-
type TooltipProps = {
|
|
53
|
-
content: ReactNode;
|
|
54
|
-
children: ReactNode;
|
|
55
|
-
};
|
|
56
|
-
declare function Tooltip({
|
|
57
|
-
content,
|
|
58
|
-
children
|
|
59
|
-
}: TooltipProps): string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime51.JSX.Element | null | undefined;
|
|
60
|
-
type LinkProps = {
|
|
61
|
-
stainlessPath: string;
|
|
62
|
-
scroll?: boolean;
|
|
63
|
-
children?: ReactNode;
|
|
64
|
-
} & React$1.HTMLProps<HTMLAnchorElement>;
|
|
65
|
-
declare function Link({
|
|
66
|
-
stainlessPath,
|
|
67
|
-
scroll,
|
|
68
|
-
children,
|
|
69
|
-
...props
|
|
70
|
-
}: LinkProps): string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime51.JSX.Element | null | undefined;
|
|
71
|
-
type InputProps = {
|
|
72
|
-
left?: ReactNode;
|
|
73
|
-
right?: ReactNode;
|
|
74
|
-
ref?: React$1.Ref<HTMLInputElement>;
|
|
75
|
-
} & React$1.InputHTMLAttributes<HTMLInputElement>;
|
|
76
|
-
declare const Input: React$1.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
77
|
-
type ToggleButtonProps = {
|
|
78
|
-
children?: ReactNode;
|
|
79
|
-
selected?: boolean;
|
|
80
|
-
} & React$1.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
81
|
-
declare const ToggleButton: React$1.ForwardRefExoticComponent<{
|
|
82
|
-
children?: ReactNode;
|
|
83
|
-
selected?: boolean;
|
|
84
|
-
} & React$1.ButtonHTMLAttributes<HTMLButtonElement> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
85
|
-
type ListViewProps<TItem> = {
|
|
86
|
-
items: Array<TItem>;
|
|
87
|
-
itemDelegate: (item: TItem, selected: boolean) => React$1.ReactNode;
|
|
88
|
-
onSelectListItem?: (item: TItem) => void;
|
|
89
|
-
} & React$1.HTMLAttributes<HTMLDivElement>;
|
|
90
|
-
declare function ListView<TItem>({
|
|
91
|
-
items,
|
|
92
|
-
itemDelegate,
|
|
93
|
-
onSelectListItem,
|
|
94
|
-
...rest
|
|
95
|
-
}: ListViewProps<TItem>): react_jsx_runtime51.JSX.Element;
|
|
96
|
-
//#endregion
|
|
97
|
-
export { Join as a, ListViewProps as c, ToggleButtonProps as d, Tooltip as f, InputProps as i, Markdown as l, Expander as n, Link as o, VirtualExpander as p, Input as r, ListView as s, Badge as t, ToggleButton as u };
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import * as react_jsx_runtime59 from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
//#region src/components/properties.d.ts
|
|
5
|
-
type PropertyToggleProps = {
|
|
6
|
-
target: string;
|
|
7
|
-
};
|
|
8
|
-
declare function PropertyToggle({
|
|
9
|
-
target
|
|
10
|
-
}: PropertyToggleProps): react_jsx_runtime59.JSX.Element;
|
|
11
|
-
type PropertyDescriptionProps = {
|
|
12
|
-
description?: string;
|
|
13
|
-
};
|
|
14
|
-
declare function PropertyDescription({
|
|
15
|
-
description
|
|
16
|
-
}: PropertyDescriptionProps): react_jsx_runtime59.JSX.Element | undefined;
|
|
17
|
-
type PropertyTitleProps = {
|
|
18
|
-
title?: string;
|
|
19
|
-
};
|
|
20
|
-
declare function PropertyTitle({
|
|
21
|
-
title
|
|
22
|
-
}: PropertyTitleProps): react_jsx_runtime59.JSX.Element | undefined;
|
|
23
|
-
type PropertyProps = {
|
|
24
|
-
id?: string;
|
|
25
|
-
name?: ReactNode;
|
|
26
|
-
typeName?: ReactNode;
|
|
27
|
-
badges?: ReactNode;
|
|
28
|
-
type?: ReactNode;
|
|
29
|
-
description?: string;
|
|
30
|
-
title?: string;
|
|
31
|
-
expand?: boolean;
|
|
32
|
-
deprecated?: boolean | string;
|
|
33
|
-
additional?: ReactNode;
|
|
34
|
-
declaration?: ReactNode;
|
|
35
|
-
constraints?: ReactNode;
|
|
36
|
-
children?: ReactNode;
|
|
37
|
-
};
|
|
38
|
-
declare function Property({
|
|
39
|
-
id,
|
|
40
|
-
name,
|
|
41
|
-
typeName,
|
|
42
|
-
badges,
|
|
43
|
-
type,
|
|
44
|
-
declaration,
|
|
45
|
-
description,
|
|
46
|
-
title,
|
|
47
|
-
deprecated,
|
|
48
|
-
expand,
|
|
49
|
-
additional,
|
|
50
|
-
constraints,
|
|
51
|
-
children
|
|
52
|
-
}: PropertyProps): react_jsx_runtime59.JSX.Element;
|
|
53
|
-
//#endregion
|
|
54
|
-
export { PropertyTitle as a, PropertyToggleProps as c, PropertyProps as i, PropertyDescription as n, PropertyTitleProps as o, PropertyDescriptionProps as r, PropertyToggle as s, Property as t };
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import * as SDKJSON from "@stainless/sdk-json";
|
|
2
|
-
|
|
3
|
-
//#region src/routing.d.ts
|
|
4
|
-
declare namespace routing_d_exports {
|
|
5
|
-
export { DocsLanguage, LanguageNames, Languages, ParsedStainlessPath, RouteEntry, SpecTreeEntry, SupportedLanguageSyntaxes, expandToElement, findNavigationPath, generateRoute, generateRouteList, getLanguageSnippet, getResource, isSupportedLanguage, parseRoute, parseStainlessPath, scrollToPath, trimStainlessPath, updateHistory, walkTree };
|
|
6
|
-
}
|
|
7
|
-
declare const Languages: readonly ["http", "node", "python", "go", "typescript", "terraform", "ruby", "java", "kotlin", "csharp", "php"];
|
|
8
|
-
declare const SupportedLanguageSyntaxes: string[];
|
|
9
|
-
type DocsLanguage = (typeof Languages)[number];
|
|
10
|
-
declare const LanguageNames: Record<DocsLanguage, string>;
|
|
11
|
-
declare function getLanguageSnippet(language: DocsLanguage): "node.default" | "go.default" | "python.default" | "terraform.default" | "http.curl" | "typescript.default" | "ruby.default" | "java.default" | "kotlin.default" | "csharp.default" | "php.default";
|
|
12
|
-
declare function isSupportedLanguage(language: string): language is DocsLanguage;
|
|
13
|
-
type ParsedStainlessPath = ReturnType<typeof parseStainlessPath>;
|
|
14
|
-
declare function parseStainlessPath(stainlessPath: string): {
|
|
15
|
-
resource: string[] | null;
|
|
16
|
-
method: string | null;
|
|
17
|
-
model: string | null;
|
|
18
|
-
routable: string | undefined;
|
|
19
|
-
} | null;
|
|
20
|
-
declare function trimStainlessPath(stainlessPath: string): string;
|
|
21
|
-
declare function getResource(stainlessPath: string): string | undefined;
|
|
22
|
-
declare function parseRoute(basePath: string, route: string): {
|
|
23
|
-
stainlessPath: string;
|
|
24
|
-
language: DocsLanguage;
|
|
25
|
-
};
|
|
26
|
-
declare function generateRoute(basePath: string, language: string, stainlessPath: string): string | null;
|
|
27
|
-
type SpecTreeEntry = {
|
|
28
|
-
data: SDKJSON.Method | SDKJSON.Resource | SDKJSON.Model;
|
|
29
|
-
path: string[];
|
|
30
|
-
};
|
|
31
|
-
declare function walkTree(spec: SDKJSON.Spec, includeModels?: boolean): Generator<SpecTreeEntry, void, any>;
|
|
32
|
-
type RouteEntry = {
|
|
33
|
-
title: string;
|
|
34
|
-
kind: SpecTreeEntry['data']['kind'];
|
|
35
|
-
language: DocsLanguage;
|
|
36
|
-
stainlessPath: string;
|
|
37
|
-
slug: string;
|
|
38
|
-
};
|
|
39
|
-
declare function generateRouteList({
|
|
40
|
-
spec,
|
|
41
|
-
languages,
|
|
42
|
-
excludeLanguages
|
|
43
|
-
}: {
|
|
44
|
-
spec: SDKJSON.Spec;
|
|
45
|
-
languages?: DocsLanguage[];
|
|
46
|
-
excludeLanguages?: DocsLanguage[];
|
|
47
|
-
}): RouteEntry[];
|
|
48
|
-
type ResourceOrMethod = SDKJSON.Resource | SDKJSON.Method;
|
|
49
|
-
declare function findNavigationPath(items: ResourceOrMethod[], target: string): string[] | undefined;
|
|
50
|
-
declare function expandToElement(el: HTMLElement | null): void;
|
|
51
|
-
declare function scrollToPath(stainlessPath: string): void;
|
|
52
|
-
declare function updateHistory(basePath: string, language: DocsLanguage, stainlessPath: string): void;
|
|
53
|
-
//#endregion
|
|
54
|
-
export { routing_d_exports as _, RouteEntry as a, updateHistory as b, expandToElement as c, generateRouteList as d, getLanguageSnippet as f, parseStainlessPath as g, parseRoute as h, ParsedStainlessPath as i, findNavigationPath as l, isSupportedLanguage as m, LanguageNames as n, SpecTreeEntry as o, getResource as p, Languages as r, SupportedLanguageSyntaxes as s, DocsLanguage as t, generateRoute as u, scrollToPath as v, walkTree as x, trimStainlessPath as y };
|