@stainless-api/docs-ui 0.1.0-beta.60 → 0.1.0-beta.61
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-BagP1oN2.d.ts → breadcrumbs-BVskoBYz.d.ts} +3 -3
- package/dist/{breadcrumbs-seA1JsK4.d.ts → breadcrumbs-C9LLJyuJ.d.ts} +3 -3
- package/dist/{breadcrumbs-85Y-pybq.js → breadcrumbs-CqA6kow2.js} +3 -3
- package/dist/{cli-CoLvH9jq.js → cli-0bJ66S1r.js} +5 -5
- package/dist/{component-CF9lLzZX.js → component-CjJJYIxG.js} +3 -3
- package/dist/{component-generics-DS5pysMb.d.ts → component-generics-BC_P155r.d.ts} +2 -2
- package/dist/{component-generics-BblkOh-y.d.ts → component-generics-BkwbbxJF.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 +7 -7
- package/dist/components/icons.d.ts +12 -12
- package/dist/components/icons.js +1 -1
- package/dist/components/index.d.ts +9 -9
- package/dist/components/index.js +16 -16
- package/dist/components/method.d.ts +1 -1
- package/dist/components/method.js +8 -8
- package/dist/components/overview.d.ts +1 -1
- package/dist/components/overview.js +9 -9
- package/dist/components/primitives.d.ts +1 -1
- package/dist/components/primitives.js +6 -6
- package/dist/components/properties.d.ts +1 -1
- package/dist/components/properties.js +7 -7
- package/dist/components/sdk.d.ts +1 -1
- package/dist/components/sdk.js +8 -8
- package/dist/components/sidebar.d.ts +1 -1
- package/dist/components/sidebar.js +7 -7
- package/dist/components/snippets.d.ts +2 -2
- package/dist/components/snippets.js +7 -7
- package/dist/{components-Bz5h0Y4x.js → components-FEHnQBJC.js} +9 -9
- package/dist/contexts/component-generics.d.ts +1 -1
- package/dist/contexts/component-generics.js +1 -1
- package/dist/contexts/component-types.d.ts +10 -10
- package/dist/contexts/component.d.ts +13 -13
- package/dist/contexts/component.js +26 -26
- package/dist/contexts/docs.d.ts +1 -1
- package/dist/contexts/docs.js +1 -1
- package/dist/contexts/index.d.ts +14 -14
- package/dist/contexts/index.js +5 -5
- 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/navigation.js +1 -1
- package/dist/contexts/use-components.d.ts +9 -9
- package/dist/contexts/use-components.js +2 -2
- package/dist/{contexts-DZfPd182.js → contexts-CeV_L_Iy.js} +5 -5
- package/dist/{csharp-BbNnLZWW.js → csharp-Dl2RIiYP.js} +4 -4
- package/dist/{docs-DFS6wkGm.d.ts → docs--qWFuJCM.d.ts} +3 -3
- package/dist/{docs-DdWB4Wsv.d.ts → docs-DSFRsmbQ.d.ts} +3 -3
- package/dist/{go-OFa_5xje.js → go-DuKdRGqU.js} +4 -4
- package/dist/{http-olFAYLFq.js → http-C7bu4oCl.js} +8 -8
- package/dist/{index-Dp5biTf5.d.ts → index-C0qvL4yP.d.ts} +8 -8
- package/dist/{index-BdrPd64A.d.ts → index-DE1vA8T2.d.ts} +35 -35
- package/dist/{index-DTl8aUkb.d.ts → index-DsFyACw9.d.ts} +8 -8
- package/dist/{index-CLMudlDX.d.ts → index-FDM-j9s-.d.ts} +35 -35
- package/dist/index.d.ts +15 -15
- package/dist/index.js +28 -28
- package/dist/{java-Bw0o13Wk.js → java-DSyzO-6F.js} +5 -5
- package/dist/languages/cli.d.ts +10 -10
- package/dist/languages/cli.js +18 -18
- package/dist/languages/csharp.d.ts +10 -10
- package/dist/languages/csharp.js +7 -7
- package/dist/languages/go.d.ts +10 -10
- package/dist/languages/go.js +7 -7
- package/dist/languages/http.d.ts +10 -10
- package/dist/languages/http.js +17 -17
- package/dist/languages/index.d.ts +10 -10
- package/dist/languages/index.js +25 -25
- package/dist/languages/java.d.ts +10 -10
- package/dist/languages/java.js +7 -7
- package/dist/languages/python.d.ts +10 -10
- package/dist/languages/python.js +7 -7
- package/dist/languages/ruby.d.ts +10 -10
- package/dist/languages/ruby.js +7 -7
- package/dist/languages/typescript.d.ts +10 -10
- package/dist/languages/typescript.js +7 -7
- package/dist/languages-BO5YJ6cy.js +28 -0
- package/dist/markdown/index.d.ts +2 -2
- package/dist/markdown/index.js +27 -27
- package/dist/markdown/printer.d.ts +2 -2
- package/dist/markdown/printer.js +28 -28
- package/dist/markdown/utils.d.ts +3 -3
- package/dist/markdown/utils.js +2 -2
- package/dist/{markdown-Dyn0NA2f.d.ts → markdown-B517MrZh.d.ts} +2 -2
- package/dist/{markdown-DtbgEdDt.d.ts → markdown-C7Tb41LZ.d.ts} +2 -2
- package/dist/{markdown-ZzVcn4kq.js → markdown-D2JWyRws.js} +1 -1
- package/dist/{method-C850sHPB.d.ts → method-BaQEZVlw.d.ts} +6 -6
- package/dist/{method-CxjUvijp.d.ts → method-Dln4ZTIB.d.ts} +6 -6
- package/dist/{method-Dktsfckf.js → method-jTnA0G8m.js} +3 -3
- package/dist/{navigation-DLQvobDt.d.ts → navigation-XhIgqXwM.d.ts} +3 -3
- package/dist/{navigation-Dk55c7au.d.ts → navigation-rKdts-BR.d.ts} +3 -3
- package/dist/{overview-DVu-9kpm.d.ts → overview-B3kgyac2.d.ts} +7 -7
- package/dist/{overview-EkRigi6e.js → overview-BnagZfH1.js} +8 -8
- package/dist/{overview-rRsC-Yi_.d.ts → overview-Dp-gGl3v.d.ts} +7 -7
- package/dist/{primitives-DP-cTr1W.d.ts → primitives-B6zu2rrx.d.ts} +11 -11
- package/dist/{primitives-BVaiiY63.js → primitives-DQLc9kN7.js} +5 -5
- package/dist/{primitives-DR4XbZ2t.d.ts → primitives-VtUGoYwX.d.ts} +11 -11
- package/dist/{properties-Ll927UYJ.d.ts → properties-Bun4nfUE.d.ts} +5 -5
- package/dist/{properties-BHvUHbcf.js → properties-DGL2J11L.js} +3 -3
- package/dist/{properties-lx53LZPl.d.ts → properties-ZOIqpkET.d.ts} +5 -5
- package/dist/{python-D8NWX7Cb.js → python-D8ABqtn1.js} +4 -4
- package/dist/{routing-Fzn1XfX_.js → routing-Ce0_tBW6.js} +1 -1
- package/dist/{routing-sjrF8U7O.d.ts → routing-CtbZJru_.d.ts} +1 -1
- package/dist/routing.d.ts +1 -1
- package/dist/routing.js +1 -1
- package/dist/{ruby-DOUaLhKJ.js → ruby-261jvCjl.js} +5 -5
- package/dist/{sdk-Dhu_gfzq.d.ts → sdk-BebFnWYL.d.ts} +15 -15
- package/dist/{sdk-DdW_-RBy.d.ts → sdk-CIxaNoAs.d.ts} +15 -15
- package/dist/{sdk-DrK2bq-v.js → sdk-GGpyGTao.js} +9 -9
- package/dist/{sidebar-BLGIKgRI.js → sidebar-BWno0E4w.js} +4 -4
- package/dist/{sidebar-CUaX1IBW.d.ts → sidebar-CLsIJZZf.d.ts} +6 -6
- package/dist/{sidebar-DukWbBrE.d.ts → sidebar-D4m_pVpS.d.ts} +6 -6
- package/dist/{snippets-Bi0ZADmt.d.ts → snippets-CwVjwsAo.d.ts} +9 -9
- package/dist/{snippets-CocIZMn0.d.ts → snippets-Ym3mnHO3.d.ts} +9 -9
- package/dist/{snippets-D4VhtZIC.js → snippets-kI8eNs1F.js} +4 -4
- package/dist/spec.d.ts +2 -2
- package/dist/spec.js +5 -5
- package/dist/style.js +1 -1
- package/dist/styles.css +5 -0
- package/dist/{typescript-DDa446mB.js → typescript-D924WidI.js} +5 -5
- package/dist/{use-components-Dbin0y07.js → use-components-BUz3GbO4.js} +1 -1
- package/dist/{utils-BoRmEFRn.js → utils-D01mAUfQ.js} +2 -2
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +1 -1
- package/package.json +3 -3
- package/dist/languages-DW_T-Th6.js +0 -28
- /package/dist/{chunk-Du3t87LU.js → chunk-BN_g-Awi.js} +0 -0
- /package/dist/{component-generics-CmIGbBLq.js → component-generics-POFirVVb.js} +0 -0
- /package/dist/{docs-Bw-eLYjA.js → docs-Di94viZV.js} +0 -0
- /package/dist/{icons-DMkAA03z.js → icons-BYKn5X8E.js} +0 -0
- /package/dist/{index-Ct7H30x1.d.ts → index-zNpvNvtN.d.ts} +0 -0
- /package/dist/{navigation-By1sQl6M.js → navigation-aoYZ_tl4.js} +0 -0
- /package/dist/{style-TeAZuiHh.js → style-LwfvXElj.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as Resource, l as Method } from "./index-
|
|
2
|
-
import * as
|
|
1
|
+
import { f as Resource, l as Method } from "./index-zNpvNvtN.js";
|
|
2
|
+
import * as react_jsx_runtime42 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/overview.d.ts
|
|
5
5
|
type SDKResourceProps = {
|
|
@@ -9,31 +9,31 @@ type SDKResourceProps = {
|
|
|
9
9
|
declare function SDKResourceHeader({
|
|
10
10
|
resource,
|
|
11
11
|
parents
|
|
12
|
-
}: SDKResourceProps):
|
|
12
|
+
}: SDKResourceProps): react_jsx_runtime42.JSX.Element | null;
|
|
13
13
|
type SDKMethodSummaryProps = {
|
|
14
14
|
method: Method;
|
|
15
15
|
};
|
|
16
16
|
declare function SDKMethodSummary({
|
|
17
17
|
method
|
|
18
|
-
}: SDKMethodSummaryProps):
|
|
18
|
+
}: SDKMethodSummaryProps): react_jsx_runtime42.JSX.Element;
|
|
19
19
|
declare function SDKResource({
|
|
20
20
|
resource,
|
|
21
21
|
parents,
|
|
22
22
|
showModels
|
|
23
23
|
}: SDKResourceProps & {
|
|
24
24
|
showModels?: boolean;
|
|
25
|
-
}):
|
|
25
|
+
}): react_jsx_runtime42.JSX.Element;
|
|
26
26
|
type SDKOverviewProps = {
|
|
27
27
|
resource: Resource;
|
|
28
28
|
};
|
|
29
29
|
declare function SDKOverview({
|
|
30
30
|
resource
|
|
31
|
-
}: SDKOverviewProps):
|
|
31
|
+
}: SDKOverviewProps): react_jsx_runtime42.JSX.Element;
|
|
32
32
|
type SDKRootProps = {
|
|
33
33
|
stainlessPath: string;
|
|
34
34
|
};
|
|
35
35
|
declare function SDKRoot({
|
|
36
36
|
stainlessPath
|
|
37
|
-
}: SDKRootProps):
|
|
37
|
+
}: SDKRootProps): react_jsx_runtime42.JSX.Element | null;
|
|
38
38
|
//#endregion
|
|
39
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,6 +1,6 @@
|
|
|
1
1
|
import * as react0 from "react";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime27 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/primitives.d.ts
|
|
6
6
|
type JoinProps = {
|
|
@@ -12,7 +12,7 @@ declare function Join({
|
|
|
12
12
|
items,
|
|
13
13
|
limit,
|
|
14
14
|
children
|
|
15
|
-
}: JoinProps):
|
|
15
|
+
}: JoinProps): react_jsx_runtime27.JSX.Element[];
|
|
16
16
|
type ExpanderProps = {
|
|
17
17
|
id?: string;
|
|
18
18
|
open?: boolean;
|
|
@@ -28,19 +28,19 @@ declare function Expander({
|
|
|
28
28
|
virtual,
|
|
29
29
|
muted,
|
|
30
30
|
children
|
|
31
|
-
}: ExpanderProps):
|
|
31
|
+
}: ExpanderProps): react_jsx_runtime27.JSX.Element;
|
|
32
32
|
declare function VirtualExpander({
|
|
33
33
|
id,
|
|
34
34
|
open: isOpen,
|
|
35
35
|
muted,
|
|
36
36
|
summary,
|
|
37
37
|
children
|
|
38
|
-
}: Omit<ExpanderProps, 'virtual'>):
|
|
38
|
+
}: Omit<ExpanderProps, 'virtual'>): react_jsx_runtime27.JSX.Element;
|
|
39
39
|
declare function Markdown({
|
|
40
40
|
content
|
|
41
41
|
}: {
|
|
42
42
|
content: string;
|
|
43
|
-
}): "" |
|
|
43
|
+
}): "" | react_jsx_runtime27.JSX.Element | undefined;
|
|
44
44
|
type BadgeProps = {
|
|
45
45
|
id: string;
|
|
46
46
|
children?: ReactNode;
|
|
@@ -48,7 +48,7 @@ type BadgeProps = {
|
|
|
48
48
|
declare function Badge({
|
|
49
49
|
id,
|
|
50
50
|
children
|
|
51
|
-
}: BadgeProps):
|
|
51
|
+
}: BadgeProps): react_jsx_runtime27.JSX.Element;
|
|
52
52
|
type TooltipProps = {
|
|
53
53
|
content: ReactNode;
|
|
54
54
|
children: ReactNode;
|
|
@@ -56,7 +56,7 @@ type TooltipProps = {
|
|
|
56
56
|
declare function Tooltip({
|
|
57
57
|
content,
|
|
58
58
|
children
|
|
59
|
-
}: TooltipProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> |
|
|
59
|
+
}: TooltipProps): string | number | bigint | boolean | react_jsx_runtime27.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
|
|
60
60
|
type LinkProps = {
|
|
61
61
|
stainlessPath: string;
|
|
62
62
|
scroll?: boolean;
|
|
@@ -67,7 +67,7 @@ declare function Link({
|
|
|
67
67
|
scroll,
|
|
68
68
|
children,
|
|
69
69
|
...props
|
|
70
|
-
}: LinkProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> |
|
|
70
|
+
}: LinkProps): string | number | bigint | boolean | react_jsx_runtime27.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
|
|
71
71
|
type InputProps = {
|
|
72
72
|
left?: ReactNode;
|
|
73
73
|
right?: ReactNode;
|
|
@@ -79,7 +79,7 @@ declare function Input({
|
|
|
79
79
|
ref,
|
|
80
80
|
className,
|
|
81
81
|
...props
|
|
82
|
-
}: InputProps):
|
|
82
|
+
}: InputProps): react_jsx_runtime27.JSX.Element;
|
|
83
83
|
type ToggleButtonProps = {
|
|
84
84
|
children?: ReactNode;
|
|
85
85
|
selected?: boolean;
|
|
@@ -89,7 +89,7 @@ declare function ToggleButton({
|
|
|
89
89
|
selected,
|
|
90
90
|
ref,
|
|
91
91
|
...props
|
|
92
|
-
}: ToggleButtonProps):
|
|
92
|
+
}: ToggleButtonProps): react_jsx_runtime27.JSX.Element;
|
|
93
93
|
type ListViewProps<TItem> = {
|
|
94
94
|
items: Array<TItem>;
|
|
95
95
|
itemDelegate: (item: TItem, selected: boolean) => React.ReactNode;
|
|
@@ -100,6 +100,6 @@ declare function ListView<TItem>({
|
|
|
100
100
|
itemDelegate,
|
|
101
101
|
onSelectListItem,
|
|
102
102
|
...rest
|
|
103
|
-
}: ListViewProps<TItem>):
|
|
103
|
+
}: ListViewProps<TItem>): react_jsx_runtime27.JSX.Element;
|
|
104
104
|
//#endregion
|
|
105
105
|
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,8 +1,8 @@
|
|
|
1
|
-
import { a as useLanguage, s as useSettings } from "./docs-
|
|
2
|
-
import { n as useNavigation } from "./navigation-
|
|
3
|
-
import { a as useRenderMarkdown } from "./markdown-
|
|
4
|
-
import { t as style_default } from "./style-
|
|
5
|
-
import { o as generateRoute } from "./routing-
|
|
1
|
+
import { a as useLanguage, s as useSettings } from "./docs-Di94viZV.js";
|
|
2
|
+
import { n as useNavigation } from "./navigation-aoYZ_tl4.js";
|
|
3
|
+
import { a as useRenderMarkdown } from "./markdown-D2JWyRws.js";
|
|
4
|
+
import { t as style_default } from "./style-LwfvXElj.js";
|
|
5
|
+
import { o as generateRoute } from "./routing-Ce0_tBW6.js";
|
|
6
6
|
import { Fragment, createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import clsx from "clsx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react0 from "react";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime53 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/primitives.d.ts
|
|
6
6
|
type JoinProps = {
|
|
@@ -12,7 +12,7 @@ declare function Join({
|
|
|
12
12
|
items,
|
|
13
13
|
limit,
|
|
14
14
|
children
|
|
15
|
-
}: JoinProps):
|
|
15
|
+
}: JoinProps): react_jsx_runtime53.JSX.Element[];
|
|
16
16
|
type ExpanderProps = {
|
|
17
17
|
id?: string;
|
|
18
18
|
open?: boolean;
|
|
@@ -28,19 +28,19 @@ declare function Expander({
|
|
|
28
28
|
virtual,
|
|
29
29
|
muted,
|
|
30
30
|
children
|
|
31
|
-
}: ExpanderProps):
|
|
31
|
+
}: ExpanderProps): react_jsx_runtime53.JSX.Element;
|
|
32
32
|
declare function VirtualExpander({
|
|
33
33
|
id,
|
|
34
34
|
open: isOpen,
|
|
35
35
|
muted,
|
|
36
36
|
summary,
|
|
37
37
|
children
|
|
38
|
-
}: Omit<ExpanderProps, 'virtual'>):
|
|
38
|
+
}: Omit<ExpanderProps, 'virtual'>): react_jsx_runtime53.JSX.Element;
|
|
39
39
|
declare function Markdown({
|
|
40
40
|
content
|
|
41
41
|
}: {
|
|
42
42
|
content: string;
|
|
43
|
-
}): "" |
|
|
43
|
+
}): "" | react_jsx_runtime53.JSX.Element | undefined;
|
|
44
44
|
type BadgeProps = {
|
|
45
45
|
id: string;
|
|
46
46
|
children?: ReactNode;
|
|
@@ -48,7 +48,7 @@ type BadgeProps = {
|
|
|
48
48
|
declare function Badge({
|
|
49
49
|
id,
|
|
50
50
|
children
|
|
51
|
-
}: BadgeProps):
|
|
51
|
+
}: BadgeProps): react_jsx_runtime53.JSX.Element;
|
|
52
52
|
type TooltipProps = {
|
|
53
53
|
content: ReactNode;
|
|
54
54
|
children: ReactNode;
|
|
@@ -56,7 +56,7 @@ type TooltipProps = {
|
|
|
56
56
|
declare function Tooltip({
|
|
57
57
|
content,
|
|
58
58
|
children
|
|
59
|
-
}: TooltipProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> |
|
|
59
|
+
}: TooltipProps): string | number | bigint | boolean | react_jsx_runtime53.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
|
|
60
60
|
type LinkProps = {
|
|
61
61
|
stainlessPath: string;
|
|
62
62
|
scroll?: boolean;
|
|
@@ -67,7 +67,7 @@ declare function Link({
|
|
|
67
67
|
scroll,
|
|
68
68
|
children,
|
|
69
69
|
...props
|
|
70
|
-
}: LinkProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> |
|
|
70
|
+
}: LinkProps): string | number | bigint | boolean | react_jsx_runtime53.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
|
|
71
71
|
type InputProps = {
|
|
72
72
|
left?: ReactNode;
|
|
73
73
|
right?: ReactNode;
|
|
@@ -79,7 +79,7 @@ declare function Input({
|
|
|
79
79
|
ref,
|
|
80
80
|
className,
|
|
81
81
|
...props
|
|
82
|
-
}: InputProps):
|
|
82
|
+
}: InputProps): react_jsx_runtime53.JSX.Element;
|
|
83
83
|
type ToggleButtonProps = {
|
|
84
84
|
children?: ReactNode;
|
|
85
85
|
selected?: boolean;
|
|
@@ -89,7 +89,7 @@ declare function ToggleButton({
|
|
|
89
89
|
selected,
|
|
90
90
|
ref,
|
|
91
91
|
...props
|
|
92
|
-
}: ToggleButtonProps):
|
|
92
|
+
}: ToggleButtonProps): react_jsx_runtime53.JSX.Element;
|
|
93
93
|
type ListViewProps<TItem> = {
|
|
94
94
|
items: Array<TItem>;
|
|
95
95
|
itemDelegate: (item: TItem, selected: boolean) => React.ReactNode;
|
|
@@ -100,6 +100,6 @@ declare function ListView<TItem>({
|
|
|
100
100
|
itemDelegate,
|
|
101
101
|
onSelectListItem,
|
|
102
102
|
...rest
|
|
103
|
-
}: ListViewProps<TItem>):
|
|
103
|
+
}: ListViewProps<TItem>): react_jsx_runtime53.JSX.Element;
|
|
104
104
|
//#endregion
|
|
105
105
|
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,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/properties.d.ts
|
|
5
5
|
type PropertyToggleProps = {
|
|
@@ -7,19 +7,19 @@ type PropertyToggleProps = {
|
|
|
7
7
|
};
|
|
8
8
|
declare function PropertyToggle({
|
|
9
9
|
target
|
|
10
|
-
}: PropertyToggleProps):
|
|
10
|
+
}: PropertyToggleProps): react_jsx_runtime16.JSX.Element;
|
|
11
11
|
type PropertyDescriptionProps = {
|
|
12
12
|
description?: string;
|
|
13
13
|
};
|
|
14
14
|
declare function PropertyDescription({
|
|
15
15
|
description
|
|
16
|
-
}: PropertyDescriptionProps):
|
|
16
|
+
}: PropertyDescriptionProps): react_jsx_runtime16.JSX.Element | undefined;
|
|
17
17
|
type PropertyTitleProps = {
|
|
18
18
|
title?: string;
|
|
19
19
|
};
|
|
20
20
|
declare function PropertyTitle({
|
|
21
21
|
title
|
|
22
|
-
}: PropertyTitleProps):
|
|
22
|
+
}: PropertyTitleProps): react_jsx_runtime16.JSX.Element | undefined;
|
|
23
23
|
type PropertyProps = {
|
|
24
24
|
id?: string;
|
|
25
25
|
name?: ReactNode;
|
|
@@ -49,6 +49,6 @@ declare function Property({
|
|
|
49
49
|
additional,
|
|
50
50
|
constraints,
|
|
51
51
|
children
|
|
52
|
-
}: PropertyProps):
|
|
52
|
+
}: PropertyProps): react_jsx_runtime16.JSX.Element;
|
|
53
53
|
//#endregion
|
|
54
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,6 +1,6 @@
|
|
|
1
|
-
import { a as useLanguage, s as useSettings } from "./docs-
|
|
2
|
-
import { t as useComponents } from "./use-components-
|
|
3
|
-
import { t as style_default } from "./style-
|
|
1
|
+
import { a as useLanguage, s as useSettings } from "./docs-Di94viZV.js";
|
|
2
|
+
import { t as useComponents } from "./use-components-BUz3GbO4.js";
|
|
3
|
+
import { t as style_default } from "./style-LwfvXElj.js";
|
|
4
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { ArrowDownWideNarrowIcon, ArrowUpNarrowWideIcon } from "lucide-react";
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime46 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/properties.d.ts
|
|
5
5
|
type PropertyToggleProps = {
|
|
@@ -7,19 +7,19 @@ type PropertyToggleProps = {
|
|
|
7
7
|
};
|
|
8
8
|
declare function PropertyToggle({
|
|
9
9
|
target
|
|
10
|
-
}: PropertyToggleProps):
|
|
10
|
+
}: PropertyToggleProps): react_jsx_runtime46.JSX.Element;
|
|
11
11
|
type PropertyDescriptionProps = {
|
|
12
12
|
description?: string;
|
|
13
13
|
};
|
|
14
14
|
declare function PropertyDescription({
|
|
15
15
|
description
|
|
16
|
-
}: PropertyDescriptionProps):
|
|
16
|
+
}: PropertyDescriptionProps): react_jsx_runtime46.JSX.Element | undefined;
|
|
17
17
|
type PropertyTitleProps = {
|
|
18
18
|
title?: string;
|
|
19
19
|
};
|
|
20
20
|
declare function PropertyTitle({
|
|
21
21
|
title
|
|
22
|
-
}: PropertyTitleProps):
|
|
22
|
+
}: PropertyTitleProps): react_jsx_runtime46.JSX.Element | undefined;
|
|
23
23
|
type PropertyProps = {
|
|
24
24
|
id?: string;
|
|
25
25
|
name?: ReactNode;
|
|
@@ -49,6 +49,6 @@ declare function Property({
|
|
|
49
49
|
additional,
|
|
50
50
|
constraints,
|
|
51
51
|
children
|
|
52
|
-
}: PropertyProps):
|
|
52
|
+
}: PropertyProps): react_jsx_runtime46.JSX.Element;
|
|
53
53
|
//#endregion
|
|
54
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,7 +1,7 @@
|
|
|
1
|
-
import { t as __exportAll } from "./chunk-
|
|
2
|
-
import { n as useLanguageComponents } from "./contexts-
|
|
3
|
-
import { t as useComponents } from "./use-components-
|
|
4
|
-
import { t as style_default } from "./style-
|
|
1
|
+
import { t as __exportAll } from "./chunk-BN_g-Awi.js";
|
|
2
|
+
import { n as useLanguageComponents } from "./contexts-CeV_L_Iy.js";
|
|
3
|
+
import { t as useComponents } from "./use-components-BUz3GbO4.js";
|
|
4
|
+
import { t as style_default } from "./style-LwfvXElj.js";
|
|
5
5
|
import * as React$1 from "react";
|
|
6
6
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
|
package/dist/routing.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as RouteEntry, b as updateHistory, c as expandToElement, d as generateRouteList, f as getLanguageSnippet, g as parseStainlessPath, h as parseRoute, i as ParsedStainlessPath, l as findNavigationPath, m as isSupportedLanguage, n as LanguageNames, o as SpecTreeEntry, p as getResource, r as Languages, s as SupportedLanguageSyntaxes, t as DocsLanguage, u as generateRoute, v as scrollToPath, x as walkTree, y as trimStainlessPath } from "./routing-
|
|
1
|
+
import { a as RouteEntry, b as updateHistory, c as expandToElement, d as generateRouteList, f as getLanguageSnippet, g as parseStainlessPath, h as parseRoute, i as ParsedStainlessPath, l as findNavigationPath, m as isSupportedLanguage, n as LanguageNames, o as SpecTreeEntry, p as getResource, r as Languages, s as SupportedLanguageSyntaxes, t as DocsLanguage, u as generateRoute, v as scrollToPath, x as walkTree, y as trimStainlessPath } from "./routing-CtbZJru_.js";
|
|
2
2
|
export { DocsLanguage, LanguageNames, Languages, ParsedStainlessPath, RouteEntry, SpecTreeEntry, SupportedLanguageSyntaxes, expandToElement, findNavigationPath, generateRoute, generateRouteList, getLanguageSnippet, getResource, isSupportedLanguage, parseRoute, parseStainlessPath, scrollToPath, trimStainlessPath, updateHistory, walkTree };
|
package/dist/routing.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as walkTree, a as findNavigationPath, c as getLanguageSnippet, d as parseRoute, f as parseStainlessPath, g as updateHistory, h as trimStainlessPath, i as expandToElement, l as getResource, m as scrollToPath, n as Languages, o as generateRoute, r as SupportedLanguageSyntaxes, s as generateRouteList, t as LanguageNames, u as isSupportedLanguage } from "./routing-
|
|
1
|
+
import { _ as walkTree, a as findNavigationPath, c as getLanguageSnippet, d as parseRoute, f as parseStainlessPath, g as updateHistory, h as trimStainlessPath, i as expandToElement, l as getResource, m as scrollToPath, n as Languages, o as generateRoute, r as SupportedLanguageSyntaxes, s as generateRouteList, t as LanguageNames, u as isSupportedLanguage } from "./routing-Ce0_tBW6.js";
|
|
2
2
|
|
|
3
3
|
export { LanguageNames, Languages, SupportedLanguageSyntaxes, expandToElement, findNavigationPath, generateRoute, generateRouteList, getLanguageSnippet, getResource, isSupportedLanguage, parseRoute, parseStainlessPath, scrollToPath, trimStainlessPath, updateHistory, walkTree };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as __exportAll } from "./chunk-
|
|
2
|
-
import { a as useLanguage, l as useSpec, r as useDeclaration } from "./docs-
|
|
3
|
-
import { n as useLanguageComponents } from "./contexts-
|
|
4
|
-
import { t as useComponents } from "./use-components-
|
|
5
|
-
import { t as style_default } from "./style-
|
|
1
|
+
import { t as __exportAll } from "./chunk-BN_g-Awi.js";
|
|
2
|
+
import { a as useLanguage, l as useSpec, r as useDeclaration } from "./docs-Di94viZV.js";
|
|
3
|
+
import { n as useLanguageComponents } from "./contexts-CeV_L_Iy.js";
|
|
4
|
+
import { t as useComponents } from "./use-components-BUz3GbO4.js";
|
|
5
|
+
import { t as style_default } from "./style-LwfvXElj.js";
|
|
6
6
|
import * as React$1 from "react";
|
|
7
7
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { l as Method, m as SnippetLanguage, o as ID, u as Model } from "./index-
|
|
2
|
-
import { t as DocsLanguage } from "./routing-
|
|
1
|
+
import { l as Method, m as SnippetLanguage, o as ID, u as Model } from "./index-zNpvNvtN.js";
|
|
2
|
+
import { t as DocsLanguage } from "./routing-CtbZJru_.js";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime51 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/sdk.d.ts
|
|
7
7
|
type PropertyModelContextType = {
|
|
@@ -33,7 +33,7 @@ declare function SDKChildren({
|
|
|
33
33
|
paths,
|
|
34
34
|
expand,
|
|
35
35
|
depth
|
|
36
|
-
}: SDKChildrenProps):
|
|
36
|
+
}: SDKChildrenProps): react_jsx_runtime51.JSX.Element;
|
|
37
37
|
type SDKDeclarationProps = {
|
|
38
38
|
path: string;
|
|
39
39
|
expand?: boolean;
|
|
@@ -43,26 +43,26 @@ declare function SDKDeclaration({
|
|
|
43
43
|
path,
|
|
44
44
|
expand,
|
|
45
45
|
depth
|
|
46
|
-
}: SDKDeclarationProps):
|
|
46
|
+
}: SDKDeclarationProps): react_jsx_runtime51.JSX.Element;
|
|
47
47
|
type SDKConstraintsProps = {
|
|
48
48
|
constraints?: Record<string, any>;
|
|
49
49
|
};
|
|
50
50
|
declare function SDKConstraints({
|
|
51
51
|
constraints
|
|
52
|
-
}: SDKConstraintsProps):
|
|
52
|
+
}: SDKConstraintsProps): react_jsx_runtime51.JSX.Element | undefined;
|
|
53
53
|
type SDKIconProps = {
|
|
54
54
|
language: SnippetLanguage;
|
|
55
55
|
size?: number;
|
|
56
56
|
};
|
|
57
57
|
declare function SDKIcon({
|
|
58
58
|
language
|
|
59
|
-
}: SDKIconProps):
|
|
59
|
+
}: SDKIconProps): react_jsx_runtime51.JSX.Element | null;
|
|
60
60
|
type SDKRequestTitleProps = {
|
|
61
61
|
snippetLanguage: SnippetLanguage;
|
|
62
62
|
};
|
|
63
63
|
declare function SDKRequestTitle({
|
|
64
64
|
snippetLanguage
|
|
65
|
-
}: SDKRequestTitleProps):
|
|
65
|
+
}: SDKRequestTitleProps): react_jsx_runtime51.JSX.Element;
|
|
66
66
|
type SDKExampleProps = {
|
|
67
67
|
method: Method;
|
|
68
68
|
transformRequestSnippet?: TransformRequestSnippetFn;
|
|
@@ -70,27 +70,27 @@ type SDKExampleProps = {
|
|
|
70
70
|
declare function SDKExample({
|
|
71
71
|
method,
|
|
72
72
|
transformRequestSnippet
|
|
73
|
-
}: SDKExampleProps):
|
|
73
|
+
}: SDKExampleProps): react_jsx_runtime51.JSX.Element;
|
|
74
74
|
type SDKMethodProps = {
|
|
75
75
|
method: Method;
|
|
76
76
|
transformRequestSnippet?: TransformRequestSnippetFn;
|
|
77
77
|
};
|
|
78
78
|
declare function SDKMethodHeader({
|
|
79
79
|
method
|
|
80
|
-
}: SDKMethodProps):
|
|
80
|
+
}: SDKMethodProps): react_jsx_runtime51.JSX.Element;
|
|
81
81
|
declare function SDKMethodInfo({
|
|
82
82
|
method
|
|
83
|
-
}: SDKMethodProps):
|
|
83
|
+
}: SDKMethodProps): react_jsx_runtime51.JSX.Element;
|
|
84
84
|
declare function SDKMethod({
|
|
85
85
|
method,
|
|
86
86
|
transformRequestSnippet
|
|
87
|
-
}: SDKMethodProps):
|
|
87
|
+
}: SDKMethodProps): react_jsx_runtime51.JSX.Element;
|
|
88
88
|
type SDKModelProps = {
|
|
89
89
|
model: Model;
|
|
90
90
|
};
|
|
91
91
|
declare function SDKModel({
|
|
92
92
|
model
|
|
93
|
-
}: SDKModelProps):
|
|
93
|
+
}: SDKModelProps): react_jsx_runtime51.JSX.Element | null;
|
|
94
94
|
type SDKReferenceProps = {
|
|
95
95
|
stainlessPath: string;
|
|
96
96
|
children?: React$1.ReactNode;
|
|
@@ -98,7 +98,7 @@ type SDKReferenceProps = {
|
|
|
98
98
|
declare function SDKReference({
|
|
99
99
|
stainlessPath,
|
|
100
100
|
children
|
|
101
|
-
}: SDKReferenceProps): string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> |
|
|
101
|
+
}: SDKReferenceProps): string | number | bigint | boolean | react_jsx_runtime51.JSX.Element | 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> | null | undefined;
|
|
102
102
|
type SDKLanguageBlockProps = {
|
|
103
103
|
language: DocsLanguage;
|
|
104
104
|
version: string;
|
|
@@ -113,6 +113,6 @@ declare function SDKLanguageBlock({
|
|
|
113
113
|
version,
|
|
114
114
|
install,
|
|
115
115
|
links
|
|
116
|
-
}: SDKLanguageBlockProps):
|
|
116
|
+
}: SDKLanguageBlockProps): react_jsx_runtime51.JSX.Element;
|
|
117
117
|
//#endregion
|
|
118
118
|
export { TransformRequestSnippetFn as C, SDKSnippetLanguagesType as S, useReferenceNesting as T, SDKModelProps as _, SDKChildren as a, SDKRequestTitleProps as b, SDKDeclaration as c, SDKLanguageBlock as d, SDKMethod as f, SDKModel as g, SDKMethodProps as h, ReferenceNestingContextType as i, SDKExample as l, SDKMethodInfo as m, PropertyModelContextType as n, SDKConstraints as o, SDKMethodHeader as p, ReferenceNestingContext as r, SDKConstraintsProps as s, PropertyModelContext as t, SDKIcon as u, SDKReference as v, usePropertyModel as w, SDKSnippetLanguages as x, SDKRequestTitle as y };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { l as Method, m as SnippetLanguage, o as ID, u as Model } from "./index-
|
|
2
|
-
import { t as DocsLanguage } from "./routing-
|
|
1
|
+
import { l as Method, m as SnippetLanguage, o as ID, u as Model } from "./index-zNpvNvtN.js";
|
|
2
|
+
import { t as DocsLanguage } from "./routing-CtbZJru_.js";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/sdk.d.ts
|
|
7
7
|
type PropertyModelContextType = {
|
|
@@ -33,7 +33,7 @@ declare function SDKChildren({
|
|
|
33
33
|
paths,
|
|
34
34
|
expand,
|
|
35
35
|
depth
|
|
36
|
-
}: SDKChildrenProps):
|
|
36
|
+
}: SDKChildrenProps): react_jsx_runtime20.JSX.Element;
|
|
37
37
|
type SDKDeclarationProps = {
|
|
38
38
|
path: string;
|
|
39
39
|
expand?: boolean;
|
|
@@ -43,26 +43,26 @@ declare function SDKDeclaration({
|
|
|
43
43
|
path,
|
|
44
44
|
expand,
|
|
45
45
|
depth
|
|
46
|
-
}: SDKDeclarationProps):
|
|
46
|
+
}: SDKDeclarationProps): react_jsx_runtime20.JSX.Element;
|
|
47
47
|
type SDKConstraintsProps = {
|
|
48
48
|
constraints?: Record<string, any>;
|
|
49
49
|
};
|
|
50
50
|
declare function SDKConstraints({
|
|
51
51
|
constraints
|
|
52
|
-
}: SDKConstraintsProps):
|
|
52
|
+
}: SDKConstraintsProps): react_jsx_runtime20.JSX.Element | undefined;
|
|
53
53
|
type SDKIconProps = {
|
|
54
54
|
language: SnippetLanguage;
|
|
55
55
|
size?: number;
|
|
56
56
|
};
|
|
57
57
|
declare function SDKIcon({
|
|
58
58
|
language
|
|
59
|
-
}: SDKIconProps):
|
|
59
|
+
}: SDKIconProps): react_jsx_runtime20.JSX.Element | null;
|
|
60
60
|
type SDKRequestTitleProps = {
|
|
61
61
|
snippetLanguage: SnippetLanguage;
|
|
62
62
|
};
|
|
63
63
|
declare function SDKRequestTitle({
|
|
64
64
|
snippetLanguage
|
|
65
|
-
}: SDKRequestTitleProps):
|
|
65
|
+
}: SDKRequestTitleProps): react_jsx_runtime20.JSX.Element;
|
|
66
66
|
type SDKExampleProps = {
|
|
67
67
|
method: Method;
|
|
68
68
|
transformRequestSnippet?: TransformRequestSnippetFn;
|
|
@@ -70,27 +70,27 @@ type SDKExampleProps = {
|
|
|
70
70
|
declare function SDKExample({
|
|
71
71
|
method,
|
|
72
72
|
transformRequestSnippet
|
|
73
|
-
}: SDKExampleProps):
|
|
73
|
+
}: SDKExampleProps): react_jsx_runtime20.JSX.Element;
|
|
74
74
|
type SDKMethodProps = {
|
|
75
75
|
method: Method;
|
|
76
76
|
transformRequestSnippet?: TransformRequestSnippetFn;
|
|
77
77
|
};
|
|
78
78
|
declare function SDKMethodHeader({
|
|
79
79
|
method
|
|
80
|
-
}: SDKMethodProps):
|
|
80
|
+
}: SDKMethodProps): react_jsx_runtime20.JSX.Element;
|
|
81
81
|
declare function SDKMethodInfo({
|
|
82
82
|
method
|
|
83
|
-
}: SDKMethodProps):
|
|
83
|
+
}: SDKMethodProps): react_jsx_runtime20.JSX.Element;
|
|
84
84
|
declare function SDKMethod({
|
|
85
85
|
method,
|
|
86
86
|
transformRequestSnippet
|
|
87
|
-
}: SDKMethodProps):
|
|
87
|
+
}: SDKMethodProps): react_jsx_runtime20.JSX.Element;
|
|
88
88
|
type SDKModelProps = {
|
|
89
89
|
model: Model;
|
|
90
90
|
};
|
|
91
91
|
declare function SDKModel({
|
|
92
92
|
model
|
|
93
|
-
}: SDKModelProps):
|
|
93
|
+
}: SDKModelProps): react_jsx_runtime20.JSX.Element | null;
|
|
94
94
|
type SDKReferenceProps = {
|
|
95
95
|
stainlessPath: string;
|
|
96
96
|
children?: React$1.ReactNode;
|
|
@@ -98,7 +98,7 @@ type SDKReferenceProps = {
|
|
|
98
98
|
declare function SDKReference({
|
|
99
99
|
stainlessPath,
|
|
100
100
|
children
|
|
101
|
-
}: SDKReferenceProps): string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> |
|
|
101
|
+
}: SDKReferenceProps): string | number | bigint | boolean | react_jsx_runtime20.JSX.Element | 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> | null | undefined;
|
|
102
102
|
type SDKLanguageBlockProps = {
|
|
103
103
|
language: DocsLanguage;
|
|
104
104
|
version: string;
|
|
@@ -113,6 +113,6 @@ declare function SDKLanguageBlock({
|
|
|
113
113
|
version,
|
|
114
114
|
install,
|
|
115
115
|
links
|
|
116
|
-
}: SDKLanguageBlockProps):
|
|
116
|
+
}: SDKLanguageBlockProps): react_jsx_runtime20.JSX.Element;
|
|
117
117
|
//#endregion
|
|
118
118
|
export { TransformRequestSnippetFn as C, SDKSnippetLanguagesType as S, useReferenceNesting as T, SDKModelProps as _, SDKChildren as a, SDKRequestTitleProps as b, SDKDeclaration as c, SDKLanguageBlock as d, SDKMethod as f, SDKModel as g, SDKMethodProps as h, ReferenceNestingContextType as i, SDKExample as l, SDKMethodInfo as m, PropertyModelContextType as n, SDKConstraints as o, SDKMethodHeader as p, ReferenceNestingContext as r, SDKConstraintsProps as s, PropertyModelContext as t, SDKIcon as u, SDKReference as v, usePropertyModel as w, SDKSnippetLanguages as x, SDKRequestTitle as y };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as useLanguage, l as useSpec, n as useContentPanelLayout, r as useDeclaration, s as useSettings } from "./docs-
|
|
2
|
-
import { n as useNavigation } from "./navigation-
|
|
3
|
-
import { n as useLanguageComponents } from "./contexts-
|
|
4
|
-
import { t as useComponents } from "./use-components-
|
|
5
|
-
import { t as style_default } from "./style-
|
|
6
|
-
import { c as getLanguageSnippet, t as LanguageNames } from "./routing-
|
|
7
|
-
import { a as JavaIcon, c as PythonIcon, d as TypescriptIcon, i as GoIcon, l as RubyIcon, n as CSharpIcon, o as KotlinIcon, r as CurlIcon, s as PowershellIcon, t as CLIIcon, u as TerraformIcon } from "./icons-
|
|
1
|
+
import { a as useLanguage, l as useSpec, n as useContentPanelLayout, r as useDeclaration, s as useSettings } from "./docs-Di94viZV.js";
|
|
2
|
+
import { n as useNavigation } from "./navigation-aoYZ_tl4.js";
|
|
3
|
+
import { n as useLanguageComponents } from "./contexts-CeV_L_Iy.js";
|
|
4
|
+
import { t as useComponents } from "./use-components-BUz3GbO4.js";
|
|
5
|
+
import { t as style_default } from "./style-LwfvXElj.js";
|
|
6
|
+
import { c as getLanguageSnippet, t as LanguageNames } from "./routing-Ce0_tBW6.js";
|
|
7
|
+
import { a as JavaIcon, c as PythonIcon, d as TypescriptIcon, i as GoIcon, l as RubyIcon, n as CSharpIcon, o as KotlinIcon, r as CurlIcon, s as PowershellIcon, t as CLIIcon, u as TerraformIcon } from "./icons-BYKn5X8E.js";
|
|
8
8
|
import * as React$1 from "react";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import clsx from "clsx";
|
|
@@ -185,8 +185,8 @@ function SDKMethodInfo({ method }) {
|
|
|
185
185
|
if (items.length > 1) return false;
|
|
186
186
|
const item = items[0];
|
|
187
187
|
if (!item) return false;
|
|
188
|
-
const decl
|
|
189
|
-
return decl
|
|
188
|
+
const decl = spec?.decls?.[language]?.[item];
|
|
189
|
+
return decl && "children" in decl && decl.children && decl.children.length > 0;
|
|
190
190
|
}
|
|
191
191
|
return /* @__PURE__ */ jsx(Docs.MethodInfo, {
|
|
192
192
|
parameters: "paramsChildren" in decl && Array.isArray(decl.paramsChildren) && decl.paramsChildren.length > 0 && /* @__PURE__ */ jsx(Docs.SDKChildren, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as useNavigation } from "./navigation-
|
|
2
|
-
import { t as useComponents } from "./use-components-
|
|
3
|
-
import { t as style_default } from "./style-
|
|
4
|
-
import { r as isResourceEmpty } from "./utils-
|
|
1
|
+
import { n as useNavigation } from "./navigation-aoYZ_tl4.js";
|
|
2
|
+
import { t as useComponents } from "./use-components-BUz3GbO4.js";
|
|
3
|
+
import { t as style_default } from "./style-LwfvXElj.js";
|
|
4
|
+
import { r as isResourceEmpty } from "./utils-D01mAUfQ.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import { ChevronDown, ChevronRight } from "lucide-react";
|