@stainless-api/docs-ui 0.1.0-beta.57 → 0.1.0-beta.58
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-CCViAnPI.js → breadcrumbs-3q1o8SBZ.js} +2 -2
- package/dist/{breadcrumbs-BFCcsaL5.d.ts → breadcrumbs-Bu4Lz7cO.d.ts} +4 -4
- package/dist/{component-generics-CXfH4VNh.d.ts → component-generics-CLPqY1b3.d.ts} +2 -2
- package/dist/{component-2IFa97aV.js → component-l0Q5m3CM.js} +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 +2 -2
- package/dist/components/icons.d.ts +11 -11
- package/dist/components/index.d.ts +9 -9
- package/dist/components/index.js +9 -9
- 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 +1 -1
- package/dist/components/snippets.d.ts +2 -2
- package/dist/components/snippets.js +1 -1
- package/dist/{components-B6opXKh2.js → components-BdOXrvW2.js} +8 -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-Cs2V5Q49.js → csharp-ZbePFjQO.js} +7 -7
- package/dist/{docs-AUJrRqst.d.ts → docs-8bJ2Zq-a.d.ts} +4 -5
- package/dist/{go-jtKybF5f.js → go-B0LsOWv5.js} +1 -1
- package/dist/{http-ByTnZCdl.js → http-DhFmbdJn.js} +2 -2
- package/dist/{index-CBfCrZxK.d.ts → index-BON8gAFi.d.ts} +8 -8
- package/dist/index-BtmA2psc.d.ts +1587 -0
- package/dist/{index-DUvl24AZ.d.ts → index-qF_YVWCx.d.ts} +19 -19
- package/dist/index.d.ts +15 -15
- package/dist/index.js +18 -18
- package/dist/{java-CSfLt_jp.js → java-DnoViM8r.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-X8bJZjuW.js → languages-DkMjjyDN.js} +7 -7
- package/dist/markdown/index.d.ts +5 -5
- package/dist/markdown/index.js +18 -18
- package/dist/markdown/md.js +2 -2
- package/dist/markdown/printer.d.ts +6 -6
- package/dist/markdown/printer.js +33 -32
- package/dist/markdown/utils.d.ts +5 -5
- package/dist/{markdown-CqEZJJrZ.d.ts → markdown-DTp4ociY.d.ts} +2 -2
- package/dist/{method-CD_dwBsB.d.ts → method-ClPGsX68.d.ts} +6 -6
- package/dist/{method-BPsNdtwS.js → method-pJ_RhZj-.js} +2 -2
- package/dist/{navigation-BlOvTCTX.d.ts → navigation-DzgC_T1S.d.ts} +3 -3
- package/dist/{overview-CVTaIlP6.d.ts → overview-CdbaBavs.d.ts} +11 -11
- package/dist/{overview-BslKVsRE.js → overview-DYiiAHTd.js} +6 -6
- package/dist/{primitives-Da9sUCQo.d.ts → primitives-Cw5uBUQk.d.ts} +11 -11
- package/dist/{primitives-CCj2Pn-o.js → primitives-DHsRAENq.js} +1 -1
- package/dist/{properties-CEjSSMRr.d.ts → properties-Bn_hArWT.d.ts} +5 -5
- package/dist/{properties-DhttBLpf.js → properties-WqNSu-9K.js} +1 -1
- package/dist/{python-BU7eaJMy.js → python-Bj1XJ1je.js} +1 -1
- package/dist/{routing-CUnVDpU-.d.ts → routing-BHkWbZpp.d.ts} +5 -5
- package/dist/routing.d.ts +1 -1
- package/dist/{ruby-LiJ6VW-R.js → ruby-CUOmUwz-.js} +1 -1
- package/dist/{sdk-CL6r5JlK.d.ts → sdk-BiLj2q7E.d.ts} +22 -22
- package/dist/{sdk-CbNqFzOI.js → sdk-DoprvjCy.js} +1 -1
- package/dist/{sidebar-ZNWRDHyv.js → sidebar-4QeeafnE.js} +2 -2
- package/dist/{sidebar-BDwx6h14.d.ts → sidebar-DimNfsmt.d.ts} +9 -9
- package/dist/{snippets-CO4kIovz.js → snippets-BPHTjwpN.js} +6 -12
- package/dist/{snippets-DePfv2T6.d.ts → snippets-CQrk6Dfj.d.ts} +11 -11
- package/dist/spec.d.ts +24 -24
- package/dist/{style-Vk87Pfuy.js → style-WTDMMzqU.js} +0 -1
- package/dist/style.d.ts +0 -1
- package/dist/style.js +1 -1
- package/dist/styles/main.css +9 -1
- package/dist/styles.css +9 -1
- package/dist/{typescript-C8J1uyak.js → typescript-B4wuVmP1.js} +1 -1
- package/dist/utils.d.ts +6 -6
- package/package.json +3 -3
- package/dist/breadcrumbs-DTHE6aca.d.ts +0 -25
- package/dist/component-generics-Dbwqv7EL.d.ts +0 -30
- package/dist/docs-BQbH-a6R.d.ts +0 -47
- package/dist/index-Bk5AWxiZ.d.ts +0 -274
- package/dist/index-CxTvYsqI.d.ts +0 -15
- package/dist/markdown-V_bNKjle.d.ts +0 -22
- package/dist/method-CkGKALRi.d.ts +0 -59
- package/dist/navigation-CXQA2RZo.d.ts +0 -29
- package/dist/overview-DFrenwhf.d.ts +0 -39
- package/dist/primitives-DiDzLHoK.d.ts +0 -104
- package/dist/properties-CXDSYNGL.d.ts +0 -54
- package/dist/sdk-CenwRRXT.d.ts +0 -118
- package/dist/sidebar-CcX4PdH0.d.ts +0 -36
- package/dist/snippets-ykHHsG1B.d.ts +0 -51
package/dist/sdk-CenwRRXT.d.ts
DELETED
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { t as DocsLanguage } from "./routing-CUnVDpU-.js";
|
|
2
|
-
import * as React$1 from "react";
|
|
3
|
-
import * as react_jsx_runtime74 from "react/jsx-runtime";
|
|
4
|
-
import * as SDKJSON from "@stainless/sdk-json";
|
|
5
|
-
|
|
6
|
-
//#region src/components/sdk.d.ts
|
|
7
|
-
type PropertyModelContextType = {
|
|
8
|
-
modelPath?: string;
|
|
9
|
-
propertyPath?: string;
|
|
10
|
-
};
|
|
11
|
-
declare const PropertyModelContext: React$1.Context<PropertyModelContextType>;
|
|
12
|
-
declare function usePropertyModel(): PropertyModelContextType;
|
|
13
|
-
type ReferenceNestingContextType = string[];
|
|
14
|
-
declare const ReferenceNestingContext: React$1.Context<ReferenceNestingContextType>;
|
|
15
|
-
declare function useReferenceNesting(): ReferenceNestingContextType;
|
|
16
|
-
type SDKSnippetLanguagesType = Record<SDKJSON.SnippetLanguage, {
|
|
17
|
-
name: string;
|
|
18
|
-
}>;
|
|
19
|
-
declare const SDKSnippetLanguages: SDKSnippetLanguagesType;
|
|
20
|
-
type TransformRequestSnippetFn = ({
|
|
21
|
-
snippet,
|
|
22
|
-
language
|
|
23
|
-
}: {
|
|
24
|
-
snippet: string;
|
|
25
|
-
language: DocsLanguage;
|
|
26
|
-
}) => string;
|
|
27
|
-
type SDKChildrenProps = {
|
|
28
|
-
paths: SDKJSON.ID[];
|
|
29
|
-
expand?: boolean;
|
|
30
|
-
depth?: number;
|
|
31
|
-
};
|
|
32
|
-
declare function SDKChildren({
|
|
33
|
-
paths,
|
|
34
|
-
expand,
|
|
35
|
-
depth
|
|
36
|
-
}: SDKChildrenProps): react_jsx_runtime74.JSX.Element;
|
|
37
|
-
type SDKDeclarationProps = {
|
|
38
|
-
path: string;
|
|
39
|
-
expand?: boolean;
|
|
40
|
-
depth?: number;
|
|
41
|
-
};
|
|
42
|
-
declare function SDKDeclaration({
|
|
43
|
-
path,
|
|
44
|
-
expand,
|
|
45
|
-
depth
|
|
46
|
-
}: SDKDeclarationProps): react_jsx_runtime74.JSX.Element;
|
|
47
|
-
type SDKConstraintsProps = {
|
|
48
|
-
constraints?: Record<string, any>;
|
|
49
|
-
};
|
|
50
|
-
declare function SDKConstraints({
|
|
51
|
-
constraints
|
|
52
|
-
}: SDKConstraintsProps): react_jsx_runtime74.JSX.Element | undefined;
|
|
53
|
-
type SDKIconProps = {
|
|
54
|
-
language: SDKJSON.SnippetLanguage;
|
|
55
|
-
size?: number;
|
|
56
|
-
};
|
|
57
|
-
declare function SDKIcon({
|
|
58
|
-
language
|
|
59
|
-
}: SDKIconProps): react_jsx_runtime74.JSX.Element | null;
|
|
60
|
-
type SDKRequestTitleProps = {
|
|
61
|
-
snippetLanguage: SDKJSON.SnippetLanguage;
|
|
62
|
-
};
|
|
63
|
-
declare function SDKRequestTitle({
|
|
64
|
-
snippetLanguage
|
|
65
|
-
}: SDKRequestTitleProps): react_jsx_runtime74.JSX.Element;
|
|
66
|
-
type SDKExampleProps = {
|
|
67
|
-
method: SDKJSON.Method;
|
|
68
|
-
transformRequestSnippet?: TransformRequestSnippetFn;
|
|
69
|
-
};
|
|
70
|
-
declare function SDKExample({
|
|
71
|
-
method,
|
|
72
|
-
transformRequestSnippet
|
|
73
|
-
}: SDKExampleProps): react_jsx_runtime74.JSX.Element;
|
|
74
|
-
type SDKMethodProps = {
|
|
75
|
-
method: SDKJSON.Method;
|
|
76
|
-
transformRequestSnippet?: TransformRequestSnippetFn;
|
|
77
|
-
};
|
|
78
|
-
declare function SDKMethodHeader({
|
|
79
|
-
method
|
|
80
|
-
}: SDKMethodProps): react_jsx_runtime74.JSX.Element;
|
|
81
|
-
declare function SDKMethodInfo({
|
|
82
|
-
method
|
|
83
|
-
}: SDKMethodProps): react_jsx_runtime74.JSX.Element;
|
|
84
|
-
declare function SDKMethod({
|
|
85
|
-
method,
|
|
86
|
-
transformRequestSnippet
|
|
87
|
-
}: SDKMethodProps): react_jsx_runtime74.JSX.Element;
|
|
88
|
-
type SDKModelProps = {
|
|
89
|
-
model: SDKJSON.Model;
|
|
90
|
-
};
|
|
91
|
-
declare function SDKModel({
|
|
92
|
-
model
|
|
93
|
-
}: SDKModelProps): react_jsx_runtime74.JSX.Element | null;
|
|
94
|
-
type SDKReferenceProps = {
|
|
95
|
-
stainlessPath: string;
|
|
96
|
-
children?: React$1.ReactNode;
|
|
97
|
-
};
|
|
98
|
-
declare function SDKReference({
|
|
99
|
-
stainlessPath,
|
|
100
|
-
children
|
|
101
|
-
}: SDKReferenceProps): string | number | bigint | boolean | react_jsx_runtime74.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
|
-
type SDKLanguageBlockProps = {
|
|
103
|
-
language: DocsLanguage;
|
|
104
|
-
version: string;
|
|
105
|
-
install: string;
|
|
106
|
-
links: {
|
|
107
|
-
repo: string;
|
|
108
|
-
docs: string;
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
declare function SDKLanguageBlock({
|
|
112
|
-
language,
|
|
113
|
-
version,
|
|
114
|
-
install,
|
|
115
|
-
links
|
|
116
|
-
}: SDKLanguageBlockProps): react_jsx_runtime74.JSX.Element;
|
|
117
|
-
//#endregion
|
|
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,36 +0,0 @@
|
|
|
1
|
-
import * as React$1 from "react";
|
|
2
|
-
import * as react_jsx_runtime74 from "react/jsx-runtime";
|
|
3
|
-
import * as SDKJSON from "@stainless/sdk-json";
|
|
4
|
-
|
|
5
|
-
//#region src/components/sidebar.d.ts
|
|
6
|
-
type SidebarExpanderProps = {
|
|
7
|
-
open?: boolean;
|
|
8
|
-
summary: React$1.ReactNode;
|
|
9
|
-
children?: React$1.ReactNode;
|
|
10
|
-
};
|
|
11
|
-
declare function SidebarExpander({
|
|
12
|
-
open,
|
|
13
|
-
summary,
|
|
14
|
-
children
|
|
15
|
-
}: SidebarExpanderProps): react_jsx_runtime74.JSX.Element;
|
|
16
|
-
type SidebarMethodProps = {
|
|
17
|
-
method: SDKJSON.Method;
|
|
18
|
-
};
|
|
19
|
-
declare function SidebarMethod({
|
|
20
|
-
method
|
|
21
|
-
}: SidebarMethodProps): react_jsx_runtime74.JSX.Element;
|
|
22
|
-
type SidebarResourceProps = {
|
|
23
|
-
resource: SDKJSON.Resource;
|
|
24
|
-
};
|
|
25
|
-
declare function SidebarResource({
|
|
26
|
-
resource
|
|
27
|
-
}: SidebarResourceProps): react_jsx_runtime74.JSX.Element;
|
|
28
|
-
type SidebarProps = {
|
|
29
|
-
resources: SDKJSON.Resource[];
|
|
30
|
-
selectedPath?: string;
|
|
31
|
-
};
|
|
32
|
-
declare function Sidebar({
|
|
33
|
-
resources
|
|
34
|
-
}: SidebarProps): react_jsx_runtime74.JSX.Element;
|
|
35
|
-
//#endregion
|
|
36
|
-
export { SidebarProps as a, SidebarMethodProps as i, SidebarExpander as n, SidebarResource as o, SidebarMethod as r, SidebarResourceProps as s, Sidebar as t };
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { C as TransformRequestSnippetFn } from "./sdk-CL6r5JlK.js";
|
|
2
|
-
import * as React$1 from "react";
|
|
3
|
-
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
4
|
-
import * as SDKJSON from "@stainless/sdk-json";
|
|
5
|
-
|
|
6
|
-
//#region src/components/snippets.d.ts
|
|
7
|
-
type SnippetCodeProps = {
|
|
8
|
-
content: string;
|
|
9
|
-
signature?: string;
|
|
10
|
-
language?: string;
|
|
11
|
-
};
|
|
12
|
-
declare function SnippetCode({
|
|
13
|
-
content,
|
|
14
|
-
language
|
|
15
|
-
}: SnippetCodeProps): react_jsx_runtime14.JSX.Element;
|
|
16
|
-
type SnippetProps = {
|
|
17
|
-
method: SDKJSON.Method;
|
|
18
|
-
requestTitle?: React$1.ReactNode;
|
|
19
|
-
transformRequestSnippet?: TransformRequestSnippetFn;
|
|
20
|
-
};
|
|
21
|
-
type SnippetContainerProps = {
|
|
22
|
-
children: React$1.ReactNode;
|
|
23
|
-
signature?: string;
|
|
24
|
-
};
|
|
25
|
-
declare function SnippetContainer({
|
|
26
|
-
children
|
|
27
|
-
}: SnippetContainerProps): react_jsx_runtime14.JSX.Element;
|
|
28
|
-
type SnippetRequestContainerProps = {
|
|
29
|
-
children?: React$1.ReactNode;
|
|
30
|
-
signature?: string;
|
|
31
|
-
};
|
|
32
|
-
declare function SnippetRequestContainer({
|
|
33
|
-
children
|
|
34
|
-
}: SnippetRequestContainerProps): react_jsx_runtime14.JSX.Element;
|
|
35
|
-
declare function Snippet({
|
|
36
|
-
requestTitle,
|
|
37
|
-
method,
|
|
38
|
-
transformRequestSnippet
|
|
39
|
-
}: SnippetProps): react_jsx_runtime14.JSX.Element | null;
|
|
40
|
-
declare function SnippetButtons({
|
|
41
|
-
content
|
|
42
|
-
}: {
|
|
43
|
-
content: string;
|
|
44
|
-
}): react_jsx_runtime14.JSX.Element;
|
|
45
|
-
declare function SnippetResponse({
|
|
46
|
-
responses
|
|
47
|
-
}: {
|
|
48
|
-
responses: SDKJSON.Method['exampleResponses'];
|
|
49
|
-
}): react_jsx_runtime14.JSX.Element | null;
|
|
50
|
-
//#endregion
|
|
51
|
-
export { SnippetContainer as a, SnippetRequestContainer as c, SnippetCodeProps as i, SnippetRequestContainerProps as l, SnippetButtons as n, SnippetContainerProps as o, SnippetCode as r, SnippetProps as s, Snippet as t, SnippetResponse as u };
|