@stainless-api/docs-ui 0.1.0-beta.64 → 0.1.0-beta.66
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--UnnviuM.d.ts → breadcrumbs-Cvm5Ifm7.d.ts} +2 -2
- package/dist/{breadcrumbs-D-5T4feJ.d.ts → breadcrumbs-Dko96jXU.d.ts} +2 -2
- package/dist/{breadcrumbs-LWaLZTKQ.js → breadcrumbs-qxCW6sK2.js} +2 -2
- package/dist/{cli-DxaqMIw8.js → cli-ByPDdxBS.js} +3 -3
- package/dist/{component-DJPAOOcm.js → component-CjdWk4ni.js} +2 -2
- package/dist/{component-generics-MlWbpDgJ.d.ts → component-generics-DpFQSmh3.d.ts} +2 -2
- package/dist/{component-generics-B7o0uTDM.d.ts → component-generics-ILcegpY7.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 +10 -10
- package/dist/components/index.js +13 -13
- 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 +2 -2
- package/dist/components/snippets.js +4 -4
- package/dist/components/stl-sidebar.d.ts +1 -1
- package/dist/components/stl-sidebar.js +1 -1
- package/dist/{components-BDWui61-.js → components-BPWzaaJS.js} +9 -9
- package/dist/contexts/component-generics.d.ts +1 -1
- package/dist/contexts/component-types.d.ts +11 -11
- package/dist/contexts/component.d.ts +14 -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 +17 -17
- 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 +10 -10
- package/dist/{contexts-DMjqoc7S.js → contexts-CVj20VV4.js} +3 -2
- package/dist/{csharp-DG58HgOR.js → csharp-D6_jlynY.js} +2 -2
- package/dist/{docs-6PYi1eEV.js → docs-BmOB2f-I.js} +4 -1
- package/dist/{docs-QzBZ07DA.d.ts → docs-DlLOlML9.d.ts} +5 -4
- package/dist/{docs-B7UKWxWn.d.ts → docs-Rs5JBYig.d.ts} +6 -5
- package/dist/{go-FsjdFhA1.js → go-COaHV3Hc.js} +2 -2
- package/dist/{http-BjtWXfQq.js → http-DwJsFd9q.js} +34 -5
- package/dist/{index-DRblqs_x.d.ts → index-CTFc7TGI.d.ts} +9 -9
- package/dist/{index-DbDRmfDC.d.ts → index-CsJEVcDt.d.ts} +39 -39
- package/dist/{index-DJvggpZ-.d.ts → index-DDrwJ0SM.d.ts} +9 -9
- package/dist/{index-D7cYRCX9.d.ts → index-aj8DLe5b.d.ts} +39 -39
- package/dist/index.d.ts +16 -16
- package/dist/index.js +24 -24
- package/dist/{java-Bd6ywsPr.js → java-CxGSJVvv.js} +3 -3
- package/dist/languages/cli.d.ts +11 -11
- package/dist/languages/cli.js +15 -15
- package/dist/languages/csharp.d.ts +11 -11
- package/dist/languages/csharp.js +4 -4
- package/dist/languages/go.d.ts +11 -11
- package/dist/languages/go.js +4 -4
- package/dist/languages/http.d.ts +11 -11
- package/dist/languages/http.js +14 -14
- package/dist/languages/index.d.ts +11 -11
- package/dist/languages/index.js +23 -23
- package/dist/languages/java.d.ts +11 -11
- package/dist/languages/java.js +4 -4
- package/dist/languages/python.d.ts +11 -11
- package/dist/languages/python.js +4 -4
- package/dist/languages/ruby.d.ts +11 -11
- package/dist/languages/ruby.js +4 -4
- package/dist/languages/terraform.d.ts +11 -11
- package/dist/languages/terraform.js +4 -4
- package/dist/languages/typescript.d.ts +11 -11
- package/dist/languages/typescript.js +4 -4
- package/dist/languages-Doc82_aw.js +30 -0
- package/dist/markdown/index.d.ts +1 -1
- package/dist/markdown/index.js +24 -24
- package/dist/markdown/printer.d.ts +1 -1
- package/dist/markdown/printer.js +25 -25
- package/dist/markdown/utils.d.ts +3 -3
- package/dist/{markdown-Dg9HMal8.d.ts → markdown-9xLfF9XX.d.ts} +2 -2
- package/dist/{markdown-DHjcD13O.js → markdown-CTKHMLVr.js} +1 -1
- package/dist/{markdown-DJp68jgE.d.ts → markdown-CmIFP37L.d.ts} +2 -2
- package/dist/{method-Cz2lZSmc.js → method-BPDUyBlD.js} +9 -3
- package/dist/{method-Co4oGHq0.d.ts → method-Big14PnW.d.ts} +6 -6
- package/dist/{method-O9UBNEp2.d.ts → method-DUHSNgiz.d.ts} +6 -6
- package/dist/{navigation-D3NgO72i.d.ts → navigation-C7KdkOOQ.d.ts} +2 -2
- package/dist/{navigation-B4vW2BCl.d.ts → navigation-CCM6dFfw.d.ts} +3 -3
- package/dist/{overview-Cj_1NjH4.d.ts → overview-9WETRMa1.d.ts} +6 -6
- package/dist/{overview-LaDqIxPP.d.ts → overview-CKllPxLz.d.ts} +6 -6
- package/dist/{overview-Rmj_2SSL.js → overview-FVLGi7mE.js} +6 -6
- package/dist/{primitives-BVImQZIK.d.ts → primitives-CRE7xsC3.d.ts} +11 -11
- package/dist/{primitives-ClTSL56K.d.ts → primitives-D9X5xoGL.d.ts} +11 -11
- package/dist/{primitives-CLz53F72.js → primitives-WC1BbBHN.js} +3 -3
- package/dist/{properties-DrXRF5dN.d.ts → properties-7szOHHaS.d.ts} +5 -5
- package/dist/{properties-USEPePSD.js → properties-BnbBKd5a.js} +3 -2
- package/dist/{properties-CjcmtaiQ.d.ts → properties-C9W4QJ_F.d.ts} +5 -5
- package/dist/{python-DuKMXtnf.js → python-DsTuWCKE.js} +2 -2
- package/dist/routing.d.ts +1 -1
- package/dist/{ruby-caNh8R-U.js → ruby-CHdEJiJl.js} +3 -3
- package/dist/{sdk-BiZDCG58.d.ts → sdk-Bpy1Xo26.d.ts} +15 -15
- package/dist/{sdk-BjiDGP5c.js → sdk-CMMvOAdj.js} +10 -7
- package/dist/{sdk-hxjRpJH0.d.ts → sdk-DjgaAjFT.d.ts} +14 -14
- package/dist/{sdk-sidebar-f7SS4xxq.d.ts → sdk-sidebar-CkzuH3dr.d.ts} +2 -2
- package/dist/{sdk-sidebar-DdpmtIRH.js → sdk-sidebar-FL7e7_BM.js} +1 -1
- package/dist/{sdk-sidebar-COHATE2-.d.ts → sdk-sidebar-NCBSWuUW.d.ts} +2 -2
- package/dist/{snippets-Ci86b9RQ.d.ts → snippets--z2u74gP.d.ts} +8 -8
- package/dist/{snippets-DSwfbtDo.js → snippets-BehbU3rt.js} +4 -4
- package/dist/{snippets-DWblYtQ8.d.ts → snippets-C0caK7DR.d.ts} +8 -8
- package/dist/spec.d.ts +3 -3
- package/dist/{stl-sidebar-BKBJelb1.d.ts → stl-sidebar-DSkUHwcU.d.ts} +2 -2
- package/dist/{stl-sidebar-BUEH7mR_.d.ts → stl-sidebar-DXlcKE-a.d.ts} +2 -2
- package/dist/{stl-sidebar-Cygo6VjR.js → stl-sidebar-WtimNrk1.js} +1 -1
- package/dist/{style-Btdhlyzs.js → style-HpXpcJ9v.js} +1 -0
- package/dist/style.d.ts +1 -0
- package/dist/style.js +1 -1
- package/dist/styles/main.css +8 -2
- package/dist/styles/primitives.css +1 -1
- package/dist/styles.css +11 -6
- package/dist/{terraform-C5niSkCy.js → terraform-B95X4rNK.js} +3 -3
- package/dist/{typescript-MlS1z4sG.js → typescript-n46M9OtL.js} +3 -3
- package/package.json +2 -2
- package/dist/languages-BN8-A3YZ.js +0 -30
- package/dist/routing-BEbg8P4_.d.ts +0 -61
|
@@ -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 | null;
|
|
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 {
|
|
1
|
+
import { l as useSettings, o as useIgnoredResources, s as useLanguage } from "./docs-BmOB2f-I.js";
|
|
2
2
|
import { t as useComponents } from "./use-components-BUz3GbO4.js";
|
|
3
|
-
import { t as style_default } from "./style-
|
|
3
|
+
import { t as style_default } from "./style-HpXpcJ9v.js";
|
|
4
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { ArrowDownWideNarrowIcon, ArrowUpNarrowWideIcon } from "lucide-react";
|
|
6
6
|
|
|
@@ -43,6 +43,7 @@ function Property({ id, name, typeName, badges, type, declaration, description,
|
|
|
43
43
|
const Docs = useComponents();
|
|
44
44
|
const language = useLanguage();
|
|
45
45
|
const properties = useSettings()?.properties;
|
|
46
|
+
if (useIgnoredResources().includes(id || "")) return null;
|
|
46
47
|
const { collapseDescription, showTitle } = properties ?? {};
|
|
47
48
|
const types = properties?.types;
|
|
48
49
|
const textContent = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime32 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_runtime32.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_runtime32.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_runtime32.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_runtime32.JSX.Element | null;
|
|
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
1
|
import { t as __exportAll } from "./chunk-BN_g-Awi.js";
|
|
2
|
-
import { n as useLanguageComponents } from "./contexts-
|
|
2
|
+
import { n as useLanguageComponents } from "./contexts-CVj20VV4.js";
|
|
3
3
|
import { t as useComponents } from "./use-components-BUz3GbO4.js";
|
|
4
|
-
import { t as style_default } from "./style-
|
|
4
|
+
import { t as style_default } from "./style-HpXpcJ9v.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 { S as walkTree, _ as parseStainlessPath, a as RouteEntry, b as trimStainlessPath, c as expandToElement, d as generateRoute, f as generateRouteList, g as parseRoute, h as isSupportedLanguage, i as ParsedStainlessPath, l as findNavigationPath, m as getResource, n as LanguageNames, o as SpecTreeEntry, p as getLanguageSnippet, r as Languages, s as SupportedLanguageSyntaxes, t as DocsLanguage, u as generateMissingRouteList, x as updateHistory, y as scrollToPath } from "./routing-
|
|
1
|
+
import { S as walkTree, _ as parseStainlessPath, a as RouteEntry, b as trimStainlessPath, c as expandToElement, d as generateRoute, f as generateRouteList, g as parseRoute, h as isSupportedLanguage, i as ParsedStainlessPath, l as findNavigationPath, m as getResource, n as LanguageNames, o as SpecTreeEntry, p as getLanguageSnippet, r as Languages, s as SupportedLanguageSyntaxes, t as DocsLanguage, u as generateMissingRouteList, x as updateHistory, y as scrollToPath } from "./routing-Cm_9XJiQ.js";
|
|
2
2
|
export { DocsLanguage, LanguageNames, Languages, ParsedStainlessPath, RouteEntry, SpecTreeEntry, SupportedLanguageSyntaxes, expandToElement, findNavigationPath, generateMissingRouteList, generateRoute, generateRouteList, getLanguageSnippet, getResource, isSupportedLanguage, parseRoute, parseStainlessPath, scrollToPath, trimStainlessPath, updateHistory, walkTree };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./chunk-BN_g-Awi.js";
|
|
2
|
-
import {
|
|
3
|
-
import { n as useLanguageComponents } from "./contexts-
|
|
2
|
+
import { d as useSpec, i as useDeclaration, s as useLanguage } from "./docs-BmOB2f-I.js";
|
|
3
|
+
import { n as useLanguageComponents } from "./contexts-CVj20VV4.js";
|
|
4
4
|
import { t as useComponents } from "./use-components-BUz3GbO4.js";
|
|
5
|
-
import { t as style_default } from "./style-
|
|
5
|
+
import { t as style_default } from "./style-HpXpcJ9v.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
1
|
import { c as ID, d as Method, f as Model, g as SnippetLanguage, o as HasStainlessPath, t as BaseDeclaration } from "./index-CwjGm9zX.js";
|
|
2
|
-
import { t as DocsLanguage } from "./routing-
|
|
2
|
+
import { t as DocsLanguage } from "./routing-Cm_9XJiQ.js";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime37 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_runtime37.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_runtime37.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_runtime37.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_runtime37.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_runtime37.JSX.Element;
|
|
66
66
|
type SDKExampleProps = {
|
|
67
67
|
method: Partial<Method> & HasStainlessPath;
|
|
68
68
|
transformRequestSnippet?: TransformRequestSnippetFn;
|
|
@@ -70,31 +70,31 @@ type SDKExampleProps = {
|
|
|
70
70
|
declare function SDKExample({
|
|
71
71
|
method,
|
|
72
72
|
transformRequestSnippet
|
|
73
|
-
}: SDKExampleProps):
|
|
73
|
+
}: SDKExampleProps): react_jsx_runtime37.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_runtime37.JSX.Element;
|
|
81
81
|
declare function useStreamingResponse(method: BaseDeclaration): ID | undefined;
|
|
82
82
|
declare function SDKMethodInfo({
|
|
83
83
|
method
|
|
84
|
-
}: SDKMethodProps):
|
|
84
|
+
}: SDKMethodProps): react_jsx_runtime37.JSX.Element;
|
|
85
85
|
declare function SDKMethodNotImplemented({
|
|
86
86
|
method
|
|
87
|
-
}: SDKMethodProps):
|
|
87
|
+
}: SDKMethodProps): react_jsx_runtime37.JSX.Element;
|
|
88
88
|
declare function SDKMethod({
|
|
89
89
|
method,
|
|
90
90
|
transformRequestSnippet
|
|
91
|
-
}: SDKMethodProps):
|
|
91
|
+
}: SDKMethodProps): react_jsx_runtime37.JSX.Element;
|
|
92
92
|
type SDKModelProps = {
|
|
93
93
|
model: Model;
|
|
94
94
|
};
|
|
95
95
|
declare function SDKModel({
|
|
96
96
|
model
|
|
97
|
-
}: SDKModelProps):
|
|
97
|
+
}: SDKModelProps): react_jsx_runtime37.JSX.Element | null;
|
|
98
98
|
type SDKReferenceProps = {
|
|
99
99
|
stainlessPath: string;
|
|
100
100
|
children?: React$1.ReactNode;
|
|
@@ -102,7 +102,7 @@ type SDKReferenceProps = {
|
|
|
102
102
|
declare function SDKReference({
|
|
103
103
|
stainlessPath,
|
|
104
104
|
children
|
|
105
|
-
}: 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> |
|
|
105
|
+
}: 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> | react_jsx_runtime37.JSX.Element | null | undefined;
|
|
106
106
|
type SDKLanguageBlockProps = {
|
|
107
107
|
language: DocsLanguage;
|
|
108
108
|
version: string;
|
|
@@ -117,6 +117,6 @@ declare function SDKLanguageBlock({
|
|
|
117
117
|
version,
|
|
118
118
|
install,
|
|
119
119
|
links
|
|
120
|
-
}: SDKLanguageBlockProps):
|
|
120
|
+
}: SDKLanguageBlockProps): react_jsx_runtime37.JSX.Element;
|
|
121
121
|
//#endregion
|
|
122
122
|
export { SDKSnippetLanguagesType as C, useStreamingResponse as D, useReferenceNesting as E, SDKSnippetLanguages as S, usePropertyModel as T, SDKModel as _, SDKChildren as a, SDKRequestTitle as b, SDKDeclaration as c, SDKLanguageBlock as d, SDKMethod as f, SDKMethodProps as g, SDKMethodNotImplemented 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, SDKModelProps as v, TransformRequestSnippetFn as w, SDKRequestTitleProps as x, SDKReference as y };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as useSpec, i as useDeclaration, l as useSettings, n as useAvailableLanguages, r as useContentPanelLayout, s as useLanguage } from "./docs-BmOB2f-I.js";
|
|
2
2
|
import { n as useNavigation } from "./navigation-aoYZ_tl4.js";
|
|
3
|
-
import { n as useLanguageComponents } from "./contexts-
|
|
3
|
+
import { n as useLanguageComponents } from "./contexts-CVj20VV4.js";
|
|
4
4
|
import { t as useComponents } from "./use-components-BUz3GbO4.js";
|
|
5
|
-
import { t as style_default } from "./style-
|
|
6
|
-
import { l as getLanguageSnippet, s as generateRoute, t as LanguageNames } from "./routing-B7QoUwlD.js";
|
|
5
|
+
import { t as style_default } from "./style-HpXpcJ9v.js";
|
|
6
|
+
import { l as getLanguageSnippet, p as parseStainlessPath, s as generateRoute, t as LanguageNames } from "./routing-B7QoUwlD.js";
|
|
7
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";
|
|
@@ -65,10 +65,13 @@ function SDKDeclaration({ path, expand, depth = 0 }) {
|
|
|
65
65
|
})
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
+
const parsedPath = selectedPath ? parseStainlessPath(selectedPath) : null;
|
|
69
|
+
const modelPropSetting = settings?.properties?.includeModelProperties;
|
|
70
|
+
const inlineModelProps = modelPropSetting === "method-page" ? Boolean(parsedPath?.method) : modelPropSetting !== false;
|
|
68
71
|
const isUnion = "childrenParentSchema" in decl && decl.childrenParentSchema && ["enum", "union"].includes(decl.childrenParentSchema);
|
|
69
72
|
const id = model?.propertyPath ? `${model.propertyPath} + ${path}` : path;
|
|
70
73
|
const shouldExpand = selectedPath?.startsWith(path) && nesting.length < 1 || settings?.properties?.expandDepth && depth <= settings?.properties?.expandDepth && !isUnion || expand;
|
|
71
|
-
const hasChildren = "children" in decl && (decl.children?.length ?? 0) > 0 && !decl.children?.includes(path) && !(isUnion && decl.childrenParentSchema === "enum" && decl.children?.length === 1) && (
|
|
74
|
+
const hasChildren = "children" in decl && (decl.children?.length ?? 0) > 0 && !decl.children?.includes(path) && !(isUnion && decl.childrenParentSchema === "enum" && decl.children?.length === 1) && (inlineModelProps || !("modelPath" in decl));
|
|
72
75
|
const content = /* @__PURE__ */ jsx(Lang.Property, {
|
|
73
76
|
decl,
|
|
74
77
|
children: ({ ...props }) => /* @__PURE__ */ jsx(Docs.Property, {
|
|
@@ -162,7 +165,7 @@ function SDKMethodHeader({ method }) {
|
|
|
162
165
|
const decl = useDeclaration(method.stainlessPath, true);
|
|
163
166
|
return /* @__PURE__ */ jsx(Docs.MethodHeader, {
|
|
164
167
|
level: "h1",
|
|
165
|
-
title: method.summary
|
|
168
|
+
title: method.summary || method.title,
|
|
166
169
|
signature: /* @__PURE__ */ jsx(Lang.MethodSignature, { decl }),
|
|
167
170
|
badges: method.deprecated && /* @__PURE__ */ jsx(Docs.Badge, {
|
|
168
171
|
id: "deprecated",
|
|
@@ -227,7 +230,7 @@ function SDKMethodNotImplemented({ method }) {
|
|
|
227
230
|
className: style_default.Method,
|
|
228
231
|
children: [/* @__PURE__ */ jsx(Docs.MethodHeader, {
|
|
229
232
|
level: "h1",
|
|
230
|
-
title: method.summary
|
|
233
|
+
title: method.summary || method.title,
|
|
231
234
|
children: /* @__PURE__ */ jsx(Docs.MethodRoute, {
|
|
232
235
|
httpMethod: method.httpMethod,
|
|
233
236
|
endpoint: method.endpoint.split(" ", 2).at(-1)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as ID, d as Method, f as Model, g as SnippetLanguage, o as HasStainlessPath, t as BaseDeclaration } from "./index-CwjGm9zX.js";
|
|
2
2
|
import { t as DocsLanguage } from "./routing-Cm_9XJiQ.js";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime52 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_runtime52.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_runtime52.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_runtime52.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_runtime52.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_runtime52.JSX.Element;
|
|
66
66
|
type SDKExampleProps = {
|
|
67
67
|
method: Partial<Method> & HasStainlessPath;
|
|
68
68
|
transformRequestSnippet?: TransformRequestSnippetFn;
|
|
@@ -70,31 +70,31 @@ type SDKExampleProps = {
|
|
|
70
70
|
declare function SDKExample({
|
|
71
71
|
method,
|
|
72
72
|
transformRequestSnippet
|
|
73
|
-
}: SDKExampleProps):
|
|
73
|
+
}: SDKExampleProps): react_jsx_runtime52.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_runtime52.JSX.Element;
|
|
81
81
|
declare function useStreamingResponse(method: BaseDeclaration): ID | undefined;
|
|
82
82
|
declare function SDKMethodInfo({
|
|
83
83
|
method
|
|
84
|
-
}: SDKMethodProps):
|
|
84
|
+
}: SDKMethodProps): react_jsx_runtime52.JSX.Element;
|
|
85
85
|
declare function SDKMethodNotImplemented({
|
|
86
86
|
method
|
|
87
|
-
}: SDKMethodProps):
|
|
87
|
+
}: SDKMethodProps): react_jsx_runtime52.JSX.Element;
|
|
88
88
|
declare function SDKMethod({
|
|
89
89
|
method,
|
|
90
90
|
transformRequestSnippet
|
|
91
|
-
}: SDKMethodProps):
|
|
91
|
+
}: SDKMethodProps): react_jsx_runtime52.JSX.Element;
|
|
92
92
|
type SDKModelProps = {
|
|
93
93
|
model: Model;
|
|
94
94
|
};
|
|
95
95
|
declare function SDKModel({
|
|
96
96
|
model
|
|
97
|
-
}: SDKModelProps):
|
|
97
|
+
}: SDKModelProps): react_jsx_runtime52.JSX.Element | null;
|
|
98
98
|
type SDKReferenceProps = {
|
|
99
99
|
stainlessPath: string;
|
|
100
100
|
children?: React$1.ReactNode;
|
|
@@ -102,7 +102,7 @@ type SDKReferenceProps = {
|
|
|
102
102
|
declare function SDKReference({
|
|
103
103
|
stainlessPath,
|
|
104
104
|
children
|
|
105
|
-
}: SDKReferenceProps): string | number | bigint | boolean |
|
|
105
|
+
}: SDKReferenceProps): string | number | bigint | boolean | react_jsx_runtime52.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;
|
|
106
106
|
type SDKLanguageBlockProps = {
|
|
107
107
|
language: DocsLanguage;
|
|
108
108
|
version: string;
|
|
@@ -117,6 +117,6 @@ declare function SDKLanguageBlock({
|
|
|
117
117
|
version,
|
|
118
118
|
install,
|
|
119
119
|
links
|
|
120
|
-
}: SDKLanguageBlockProps):
|
|
120
|
+
}: SDKLanguageBlockProps): react_jsx_runtime52.JSX.Element;
|
|
121
121
|
//#endregion
|
|
122
122
|
export { SDKSnippetLanguagesType as C, useStreamingResponse as D, useReferenceNesting as E, SDKSnippetLanguages as S, usePropertyModel as T, SDKModel as _, SDKChildren as a, SDKRequestTitle as b, SDKDeclaration as c, SDKLanguageBlock as d, SDKMethod as f, SDKMethodProps as g, SDKMethodNotImplemented 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, SDKModelProps as v, TransformRequestSnippetFn as w, SDKRequestTitleProps as x, SDKReference as y };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as Resource } from "./index-CwjGm9zX.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime50 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/sdk-sidebar.d.ts
|
|
5
5
|
type SDKSidebarProps = {
|
|
@@ -10,6 +10,6 @@ type SDKSidebarProps = {
|
|
|
10
10
|
*/
|
|
11
11
|
declare function SDKSidebar({
|
|
12
12
|
resources
|
|
13
|
-
}: SDKSidebarProps):
|
|
13
|
+
}: SDKSidebarProps): react_jsx_runtime50.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { SDKSidebarProps as n, SDKSidebar as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as useNavigation } from "./navigation-aoYZ_tl4.js";
|
|
2
2
|
import { r as isResourceEmpty } from "./utils-KWHcUI-r.js";
|
|
3
|
-
import { t as StlSidebar } from "./stl-sidebar-
|
|
3
|
+
import { t as StlSidebar } from "./stl-sidebar-WtimNrk1.js";
|
|
4
4
|
import * as React$1 from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import { Badge, getHttpMethod } from "@stainless-api/ui-primitives";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as Resource } from "./index-CwjGm9zX.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime36 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/sdk-sidebar.d.ts
|
|
5
5
|
type SDKSidebarProps = {
|
|
@@ -10,6 +10,6 @@ type SDKSidebarProps = {
|
|
|
10
10
|
*/
|
|
11
11
|
declare function SDKSidebar({
|
|
12
12
|
resources
|
|
13
|
-
}: SDKSidebarProps):
|
|
13
|
+
}: SDKSidebarProps): react_jsx_runtime36.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { SDKSidebarProps as n, SDKSidebar as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as Method, o as HasStainlessPath } from "./index-CwjGm9zX.js";
|
|
2
|
-
import { w as TransformRequestSnippetFn } from "./sdk-
|
|
2
|
+
import { w as TransformRequestSnippetFn } from "./sdk-Bpy1Xo26.js";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime50 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/snippets.d.ts
|
|
7
7
|
type SnippetCodeProps = {
|
|
@@ -12,7 +12,7 @@ type SnippetCodeProps = {
|
|
|
12
12
|
declare function SnippetCode({
|
|
13
13
|
content,
|
|
14
14
|
language
|
|
15
|
-
}: SnippetCodeProps):
|
|
15
|
+
}: SnippetCodeProps): react_jsx_runtime50.JSX.Element;
|
|
16
16
|
type SnippetProps = {
|
|
17
17
|
method: Partial<Method> & HasStainlessPath;
|
|
18
18
|
requestTitle?: React$1.ReactNode;
|
|
@@ -25,29 +25,29 @@ type SnippetContainerProps = {
|
|
|
25
25
|
};
|
|
26
26
|
declare function SnippetContainer({
|
|
27
27
|
children
|
|
28
|
-
}: SnippetContainerProps):
|
|
28
|
+
}: SnippetContainerProps): react_jsx_runtime50.JSX.Element;
|
|
29
29
|
type SnippetRequestContainerProps = {
|
|
30
30
|
children?: React$1.ReactNode;
|
|
31
31
|
signature?: string;
|
|
32
32
|
};
|
|
33
33
|
declare function SnippetRequestContainer({
|
|
34
34
|
children
|
|
35
|
-
}: SnippetRequestContainerProps):
|
|
35
|
+
}: SnippetRequestContainerProps): react_jsx_runtime50.JSX.Element;
|
|
36
36
|
declare function Snippet({
|
|
37
37
|
requestTitle,
|
|
38
38
|
method,
|
|
39
39
|
transformRequestSnippet
|
|
40
|
-
}: SnippetProps):
|
|
40
|
+
}: SnippetProps): react_jsx_runtime50.JSX.Element | null;
|
|
41
41
|
declare function SnippetButtons({
|
|
42
42
|
content
|
|
43
43
|
}: {
|
|
44
44
|
content: string;
|
|
45
|
-
}):
|
|
45
|
+
}): react_jsx_runtime50.JSX.Element;
|
|
46
46
|
declare function SnippetFooter(): React$1.ReactNode;
|
|
47
47
|
declare function SnippetResponse({
|
|
48
48
|
responses
|
|
49
49
|
}: {
|
|
50
50
|
responses: Method['exampleResponses'];
|
|
51
|
-
}):
|
|
51
|
+
}): react_jsx_runtime50.JSX.Element | null;
|
|
52
52
|
//#endregion
|
|
53
53
|
export { SnippetContainer as a, SnippetProps as c, SnippetResponse as d, SnippetCodeProps as i, SnippetRequestContainer as l, SnippetButtons as n, SnippetContainerProps as o, SnippetCode as r, SnippetFooter as s, Snippet as t, SnippetRequestContainerProps as u };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as useDeclaration,
|
|
2
|
-
import { r as useHighlight } from "./markdown-
|
|
1
|
+
import { i as useDeclaration, s as useLanguage, u as useSnippet } from "./docs-BmOB2f-I.js";
|
|
2
|
+
import { r as useHighlight } from "./markdown-CTKHMLVr.js";
|
|
3
3
|
import { t as useComponents } from "./use-components-BUz3GbO4.js";
|
|
4
|
-
import { t as style_default } from "./style-
|
|
4
|
+
import { t as style_default } from "./style-HpXpcJ9v.js";
|
|
5
5
|
import * as React$1 from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import clsx from "clsx";
|
|
@@ -60,7 +60,7 @@ function Snippet({ requestTitle, method, transformRequestSnippet }) {
|
|
|
60
60
|
children: [httpMethod && /* @__PURE__ */ jsx(Badge.HTTP, {
|
|
61
61
|
method: httpMethod,
|
|
62
62
|
iconOnly: true
|
|
63
|
-
}), /* @__PURE__ */ jsx("h3", { children: method.summary
|
|
63
|
+
}), /* @__PURE__ */ jsx("h3", { children: method.summary || method.title })]
|
|
64
64
|
}),
|
|
65
65
|
/* @__PURE__ */ jsx("div", {
|
|
66
66
|
className: style_default.SnippetRequestTitleContent,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as Method, o as HasStainlessPath } from "./index-CwjGm9zX.js";
|
|
2
|
-
import { w as TransformRequestSnippetFn } from "./sdk-
|
|
2
|
+
import { w as TransformRequestSnippetFn } from "./sdk-DjgaAjFT.js";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime66 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/snippets.d.ts
|
|
7
7
|
type SnippetCodeProps = {
|
|
@@ -12,7 +12,7 @@ type SnippetCodeProps = {
|
|
|
12
12
|
declare function SnippetCode({
|
|
13
13
|
content,
|
|
14
14
|
language
|
|
15
|
-
}: SnippetCodeProps):
|
|
15
|
+
}: SnippetCodeProps): react_jsx_runtime66.JSX.Element;
|
|
16
16
|
type SnippetProps = {
|
|
17
17
|
method: Partial<Method> & HasStainlessPath;
|
|
18
18
|
requestTitle?: React$1.ReactNode;
|
|
@@ -25,29 +25,29 @@ type SnippetContainerProps = {
|
|
|
25
25
|
};
|
|
26
26
|
declare function SnippetContainer({
|
|
27
27
|
children
|
|
28
|
-
}: SnippetContainerProps):
|
|
28
|
+
}: SnippetContainerProps): react_jsx_runtime66.JSX.Element;
|
|
29
29
|
type SnippetRequestContainerProps = {
|
|
30
30
|
children?: React$1.ReactNode;
|
|
31
31
|
signature?: string;
|
|
32
32
|
};
|
|
33
33
|
declare function SnippetRequestContainer({
|
|
34
34
|
children
|
|
35
|
-
}: SnippetRequestContainerProps):
|
|
35
|
+
}: SnippetRequestContainerProps): react_jsx_runtime66.JSX.Element;
|
|
36
36
|
declare function Snippet({
|
|
37
37
|
requestTitle,
|
|
38
38
|
method,
|
|
39
39
|
transformRequestSnippet
|
|
40
|
-
}: SnippetProps):
|
|
40
|
+
}: SnippetProps): react_jsx_runtime66.JSX.Element | null;
|
|
41
41
|
declare function SnippetButtons({
|
|
42
42
|
content
|
|
43
43
|
}: {
|
|
44
44
|
content: string;
|
|
45
|
-
}):
|
|
45
|
+
}): react_jsx_runtime66.JSX.Element;
|
|
46
46
|
declare function SnippetFooter(): React$1.ReactNode;
|
|
47
47
|
declare function SnippetResponse({
|
|
48
48
|
responses
|
|
49
49
|
}: {
|
|
50
50
|
responses: Method['exampleResponses'];
|
|
51
|
-
}):
|
|
51
|
+
}): react_jsx_runtime66.JSX.Element | null;
|
|
52
52
|
//#endregion
|
|
53
53
|
export { SnippetContainer as a, SnippetProps as c, SnippetResponse as d, SnippetCodeProps as i, SnippetRequestContainer as l, SnippetButtons as n, SnippetContainerProps as o, SnippetCode as r, SnippetFooter as s, Snippet as t, SnippetRequestContainerProps as u };
|
package/dist/spec.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as Spec, d as Method, f as Model, i as DeclarationNode, m as Resource, v as SpecLanguage } from "./index-CwjGm9zX.js";
|
|
2
|
-
import { t as DocsLanguage } from "./routing-
|
|
2
|
+
import { t as DocsLanguage } from "./routing-Cm_9XJiQ.js";
|
|
3
3
|
|
|
4
4
|
//#region src/spec.d.ts
|
|
5
5
|
type SecurityScheme = Spec['security_schemes'][number];
|
|
@@ -36,13 +36,13 @@ declare function generateNavigation(resource: Partial<Resource>): {
|
|
|
36
36
|
declare function generateSpecForResource(spec: Spec, name: string, lang: DocsLanguage, transforms: SpecTransforms): Partial<Spec>;
|
|
37
37
|
declare function transform(spec: Spec, transforms: SpecTransforms): {
|
|
38
38
|
name: string;
|
|
39
|
-
lang: "
|
|
39
|
+
lang: "http" | "node" | "python" | "go" | "typescript" | "terraform" | "ruby" | "java" | "kotlin" | "csharp" | "php" | "cli";
|
|
40
40
|
spec: Partial<Spec>;
|
|
41
41
|
}[];
|
|
42
42
|
declare function split(spec: Spec, transforms?: SpecTransforms): {
|
|
43
43
|
resources: ReturnType<typeof transform>;
|
|
44
44
|
navigation: {
|
|
45
|
-
languages: ("
|
|
45
|
+
languages: ("http" | "node" | "python" | "go" | "typescript" | "terraform" | "ruby" | "java" | "kotlin")[] | undefined;
|
|
46
46
|
resources: {
|
|
47
47
|
[k: string]: {
|
|
48
48
|
title: string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime56 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/stl-sidebar.d.ts
|
|
5
5
|
declare module 'react' {
|
|
@@ -53,6 +53,6 @@ type StlSidebarProps = {
|
|
|
53
53
|
declare function StlSidebar({
|
|
54
54
|
entries,
|
|
55
55
|
withStarlightRestoration
|
|
56
|
-
}: StlSidebarProps):
|
|
56
|
+
}: StlSidebarProps): react_jsx_runtime56.JSX.Element;
|
|
57
57
|
//#endregion
|
|
58
58
|
export { StlSidebarProps as a, StlSidebarLink as i, StlSidebarEntry as n, StlSidebarTarget as o, StlSidebarGroup as r, StlSidebar as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime83 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/stl-sidebar.d.ts
|
|
5
5
|
declare module 'react' {
|
|
@@ -53,6 +53,6 @@ type StlSidebarProps = {
|
|
|
53
53
|
declare function StlSidebar({
|
|
54
54
|
entries,
|
|
55
55
|
withStarlightRestoration
|
|
56
|
-
}: StlSidebarProps):
|
|
56
|
+
}: StlSidebarProps): react_jsx_runtime83.JSX.Element;
|
|
57
57
|
//#endregion
|
|
58
58
|
export { StlSidebarProps as a, StlSidebarLink as i, StlSidebarEntry as n, StlSidebarTarget as o, StlSidebarGroup as r, StlSidebar as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as useComponents } from "./use-components-BUz3GbO4.js";
|
|
2
|
-
import { t as style_default } from "./style-
|
|
2
|
+
import { t as style_default } from "./style-HpXpcJ9v.js";
|
|
3
3
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { ChevronRight } from "lucide-react";
|
|
@@ -84,6 +84,7 @@ var style_default = {
|
|
|
84
84
|
MethodSummary: "stldocs-method-summary",
|
|
85
85
|
MethodSinglePane: "stldocs-method-single-pane",
|
|
86
86
|
MethodDoublePane: "stldocs-method-double-pane",
|
|
87
|
+
MethodAvailableLanguages: "stldocs-method-available-languages",
|
|
87
88
|
SignatureTitle: "stldocs-signature-title",
|
|
88
89
|
SignatureName: "stldocs-signature-name",
|
|
89
90
|
SignatureQualified: "stldocs-signature-qualified",
|
package/dist/style.d.ts
CHANGED
|
@@ -84,6 +84,7 @@ declare const _default: {
|
|
|
84
84
|
readonly MethodSummary: "stldocs-method-summary";
|
|
85
85
|
readonly MethodSinglePane: "stldocs-method-single-pane";
|
|
86
86
|
readonly MethodDoublePane: "stldocs-method-double-pane";
|
|
87
|
+
readonly MethodAvailableLanguages: "stldocs-method-available-languages";
|
|
87
88
|
readonly SignatureTitle: "stldocs-signature-title";
|
|
88
89
|
readonly SignatureName: "stldocs-signature-name";
|
|
89
90
|
readonly SignatureQualified: "stldocs-signature-qualified";
|
package/dist/style.js
CHANGED