@stainless-api/docs-ui 0.1.0-beta.57 → 0.1.0-beta.59

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.
Files changed (139) hide show
  1. package/dist/{breadcrumbs-CCViAnPI.js → breadcrumbs-85Y-pybq.js} +3 -3
  2. package/dist/{breadcrumbs-BFCcsaL5.d.ts → breadcrumbs-D1pqkQVq.d.ts} +4 -4
  3. package/dist/cli-CoLvH9jq.js +157 -0
  4. package/dist/{component-2IFa97aV.js → component-CF9lLzZX.js} +3 -3
  5. package/dist/{component-generics-Dbwqv7EL.d.ts → component-generics-CIV4pVmh.d.ts} +2 -2
  6. package/dist/components/MaskedInput.d.ts +3 -3
  7. package/dist/components/MaskedInput.js +1 -1
  8. package/dist/components/breadcrumbs.d.ts +1 -1
  9. package/dist/components/breadcrumbs.js +7 -7
  10. package/dist/components/icons.d.ts +17 -12
  11. package/dist/components/icons.js +2 -2
  12. package/dist/components/index.d.ts +10 -10
  13. package/dist/components/index.js +17 -17
  14. package/dist/components/method.d.ts +1 -1
  15. package/dist/components/method.js +8 -8
  16. package/dist/components/overview.d.ts +1 -1
  17. package/dist/components/overview.js +9 -9
  18. package/dist/components/primitives.d.ts +1 -1
  19. package/dist/components/primitives.js +6 -6
  20. package/dist/components/properties.d.ts +1 -1
  21. package/dist/components/properties.js +7 -7
  22. package/dist/components/sdk.d.ts +1 -1
  23. package/dist/components/sdk.js +8 -8
  24. package/dist/components/sidebar.d.ts +1 -1
  25. package/dist/components/sidebar.js +7 -7
  26. package/dist/components/snippets.d.ts +3 -3
  27. package/dist/components/snippets.js +8 -8
  28. package/dist/{components-B6opXKh2.js → components-Bz5h0Y4x.js} +10 -9
  29. package/dist/contexts/component-generics.d.ts +1 -1
  30. package/dist/contexts/component-generics.js +1 -1
  31. package/dist/contexts/component-types.d.ts +10 -10
  32. package/dist/contexts/component.d.ts +13 -13
  33. package/dist/contexts/component.js +26 -25
  34. package/dist/contexts/docs.d.ts +2 -2
  35. package/dist/contexts/docs.js +1 -1
  36. package/dist/contexts/index.d.ts +16 -16
  37. package/dist/contexts/index.js +5 -5
  38. package/dist/contexts/markdown.d.ts +1 -1
  39. package/dist/contexts/markdown.js +2 -2
  40. package/dist/contexts/navigation.d.ts +1 -1
  41. package/dist/contexts/navigation.js +1 -1
  42. package/dist/contexts/use-components.d.ts +9 -9
  43. package/dist/contexts/use-components.js +2 -2
  44. package/dist/{contexts-CLpvBI91.js → contexts-DZfPd182.js} +5 -5
  45. package/dist/{csharp-Cs2V5Q49.js → csharp-BbNnLZWW.js} +10 -10
  46. package/dist/{docs-BQbH-a6R.d.ts → docs-BVs5MLfL.d.ts} +6 -7
  47. package/dist/{go-jtKybF5f.js → go-OFa_5xje.js} +4 -4
  48. package/dist/{http-ByTnZCdl.js → http-olFAYLFq.js} +8 -7
  49. package/dist/{icons-Ckod9aod.js → icons-DMkAA03z.js} +17 -1
  50. package/dist/index-BHy63Zur.d.ts +302 -0
  51. package/dist/index-Ct7H30x1.d.ts +1691 -0
  52. package/dist/{index-CxTvYsqI.d.ts → index-JJET_1EX.d.ts} +9 -9
  53. package/dist/index.d.ts +15 -15
  54. package/dist/index.js +28 -27
  55. package/dist/{java-CSfLt_jp.js → java-Bw0o13Wk.js} +5 -5
  56. package/dist/languages/cli.d.ts +11 -0
  57. package/dist/languages/cli.js +20 -0
  58. package/dist/languages/csharp.d.ts +10 -10
  59. package/dist/languages/csharp.js +7 -7
  60. package/dist/languages/go.d.ts +10 -10
  61. package/dist/languages/go.js +7 -7
  62. package/dist/languages/http.d.ts +10 -10
  63. package/dist/languages/http.js +17 -17
  64. package/dist/languages/index.d.ts +11 -11
  65. package/dist/languages/index.js +26 -25
  66. package/dist/languages/java.d.ts +10 -10
  67. package/dist/languages/java.js +7 -7
  68. package/dist/languages/python.d.ts +10 -10
  69. package/dist/languages/python.js +7 -7
  70. package/dist/languages/ruby.d.ts +10 -10
  71. package/dist/languages/ruby.js +7 -7
  72. package/dist/languages/typescript.d.ts +10 -10
  73. package/dist/languages/typescript.js +7 -7
  74. package/dist/languages-DW_T-Th6.js +28 -0
  75. package/dist/markdown/index.d.ts +5 -5
  76. package/dist/markdown/index.js +26 -25
  77. package/dist/markdown/md.js +2 -2
  78. package/dist/markdown/printer.d.ts +6 -6
  79. package/dist/markdown/printer.js +42 -40
  80. package/dist/markdown/utils.d.ts +5 -5
  81. package/dist/{markdown-V_bNKjle.d.ts → markdown-BXDwR9bo.d.ts} +2 -2
  82. package/dist/{markdown-CxdeWgjV.js → markdown-ZzVcn4kq.js} +3 -2
  83. package/dist/{method-CD_dwBsB.d.ts → method-B-AEMp1G.d.ts} +6 -6
  84. package/dist/{method-BPsNdtwS.js → method-Dktsfckf.js} +3 -3
  85. package/dist/{navigation-BlOvTCTX.d.ts → navigation-CEMwVe3s.d.ts} +3 -3
  86. package/dist/{overview-CVTaIlP6.d.ts → overview-BzJqrxc6.d.ts} +11 -11
  87. package/dist/{overview-BslKVsRE.js → overview-EkRigi6e.js} +11 -11
  88. package/dist/{primitives-CCj2Pn-o.js → primitives-BVaiiY63.js} +7 -7
  89. package/dist/{primitives-Da9sUCQo.d.ts → primitives-CDxnkX_O.d.ts} +12 -11
  90. package/dist/{properties-DhttBLpf.js → properties-BHvUHbcf.js} +3 -3
  91. package/dist/{properties-CEjSSMRr.d.ts → properties-fAurDGW2.d.ts} +5 -5
  92. package/dist/{python-BU7eaJMy.js → python-D8NWX7Cb.js} +4 -4
  93. package/dist/{routing-CUnVDpU-.d.ts → routing-BifRCZt4.d.ts} +7 -7
  94. package/dist/{routing-Dl0FprK1.js → routing-Fzn1XfX_.js} +7 -4
  95. package/dist/routing.d.ts +1 -1
  96. package/dist/routing.js +1 -1
  97. package/dist/{ruby-LiJ6VW-R.js → ruby-DOUaLhKJ.js} +5 -5
  98. package/dist/{sdk-CbNqFzOI.js → sdk-DrK2bq-v.js} +11 -9
  99. package/dist/{sdk-CenwRRXT.d.ts → sdk-DwyhWkhn.d.ts} +22 -22
  100. package/dist/{sidebar-ZNWRDHyv.js → sidebar-BLGIKgRI.js} +5 -5
  101. package/dist/{sidebar-CcX4PdH0.d.ts → sidebar-BbCq6Ibl.d.ts} +9 -9
  102. package/dist/{snippets-CO4kIovz.js → snippets-D4VhtZIC.js} +38 -36
  103. package/dist/snippets-VclrBnJJ.d.ts +53 -0
  104. package/dist/spec.d.ts +26 -26
  105. package/dist/spec.js +2 -2
  106. package/dist/{style-Vk87Pfuy.js → style-TeAZuiHh.js} +1 -1
  107. package/dist/style.d.ts +1 -1
  108. package/dist/style.js +1 -1
  109. package/dist/styles/main.css +34 -15
  110. package/dist/styles/primitives.css +2 -1
  111. package/dist/styles/resets.css +1 -1
  112. package/dist/styles.css +37 -17
  113. package/dist/{typescript-C8J1uyak.js → typescript-DDa446mB.js} +6 -6
  114. package/dist/{use-components-DBx5LZk0.js → use-components-Dbin0y07.js} +1 -1
  115. package/dist/{utils-C12Fme2N.js → utils-BoRmEFRn.js} +2 -2
  116. package/dist/utils.d.ts +6 -6
  117. package/dist/utils.js +1 -1
  118. package/package.json +4 -4
  119. package/dist/breadcrumbs-DTHE6aca.d.ts +0 -25
  120. package/dist/component-generics-CXfH4VNh.d.ts +0 -30
  121. package/dist/docs-AUJrRqst.d.ts +0 -47
  122. package/dist/index-Bk5AWxiZ.d.ts +0 -274
  123. package/dist/index-CBfCrZxK.d.ts +0 -15
  124. package/dist/index-DUvl24AZ.d.ts +0 -274
  125. package/dist/languages-X8bJZjuW.js +0 -26
  126. package/dist/markdown-CqEZJJrZ.d.ts +0 -22
  127. package/dist/method-CkGKALRi.d.ts +0 -59
  128. package/dist/navigation-CXQA2RZo.d.ts +0 -29
  129. package/dist/overview-DFrenwhf.d.ts +0 -39
  130. package/dist/primitives-DiDzLHoK.d.ts +0 -104
  131. package/dist/properties-CXDSYNGL.d.ts +0 -54
  132. package/dist/sdk-CL6r5JlK.d.ts +0 -118
  133. package/dist/sidebar-BDwx6h14.d.ts +0 -36
  134. package/dist/snippets-DePfv2T6.d.ts +0 -51
  135. package/dist/snippets-ykHHsG1B.d.ts +0 -51
  136. /package/dist/{chunk-CAbhIZi1.js → chunk-Du3t87LU.js} +0 -0
  137. /package/dist/{component-generics-B6Fn47Mz.js → component-generics-CmIGbBLq.js} +0 -0
  138. /package/dist/{docs-CXqi26jB.js → docs-Bw-eLYjA.js} +0 -0
  139. /package/dist/{navigation-C5TN0SgC.js → navigation-By1sQl6M.js} +0 -0
@@ -1,29 +0,0 @@
1
- import { t as DocsLanguage } from "./routing-CUnVDpU-.js";
2
- import * as React$1 from "react";
3
- import * as react_jsx_runtime89 from "react/jsx-runtime";
4
-
5
- //#region src/contexts/navigation.d.ts
6
- type NavigationHandler = (ev: React$1.MouseEvent | null, opts: {
7
- href: string;
8
- language: DocsLanguage;
9
- stainlessPath: string;
10
- scroll: boolean;
11
- }) => void;
12
- type NavigationContextType = {
13
- basePath?: string;
14
- selectedPath?: string;
15
- navigationPath?: string[];
16
- onNavigate?: NavigationHandler;
17
- };
18
- declare function useNavigation(): NavigationContextType;
19
- type NavigationProviderProps = NavigationContextType & {
20
- children: React$1.ReactNode;
21
- };
22
- declare function NavigationProvider({
23
- basePath,
24
- selectedPath,
25
- onNavigate,
26
- children
27
- }: NavigationProviderProps): react_jsx_runtime89.JSX.Element;
28
- //#endregion
29
- export { useNavigation as a, NavigationProviderProps as i, NavigationHandler as n, NavigationProvider as r, NavigationContextType as t };
@@ -1,39 +0,0 @@
1
- import * as react_jsx_runtime51 from "react/jsx-runtime";
2
- import * as SDKJSON from "@stainless/sdk-json";
3
-
4
- //#region src/components/overview.d.ts
5
- type SDKResourceProps = {
6
- resource: SDKJSON.Resource;
7
- parents?: SDKJSON.Resource[];
8
- };
9
- declare function SDKResourceHeader({
10
- resource,
11
- parents
12
- }: SDKResourceProps): react_jsx_runtime51.JSX.Element | null;
13
- type SDKMethodSummaryProps = {
14
- method: SDKJSON.Method;
15
- };
16
- declare function SDKMethodSummary({
17
- method
18
- }: SDKMethodSummaryProps): react_jsx_runtime51.JSX.Element;
19
- declare function SDKResource({
20
- resource,
21
- parents,
22
- showModels
23
- }: SDKResourceProps & {
24
- showModels?: boolean;
25
- }): react_jsx_runtime51.JSX.Element;
26
- type SDKOverviewProps = {
27
- resource: SDKJSON.Resource;
28
- };
29
- declare function SDKOverview({
30
- resource
31
- }: SDKOverviewProps): react_jsx_runtime51.JSX.Element;
32
- type SDKRootProps = {
33
- stainlessPath: string;
34
- };
35
- declare function SDKRoot({
36
- stainlessPath
37
- }: SDKRootProps): react_jsx_runtime51.JSX.Element | null;
38
- //#endregion
39
- export { SDKResource as a, SDKRoot as c, SDKOverviewProps as i, SDKRootProps as l, SDKMethodSummaryProps as n, SDKResourceHeader as o, SDKOverview as r, SDKResourceProps as s, SDKMethodSummary as t };
@@ -1,104 +0,0 @@
1
- import * as react0 from "react";
2
- import { ReactNode } from "react";
3
- import * as react_jsx_runtime60 from "react/jsx-runtime";
4
-
5
- //#region src/components/primitives.d.ts
6
- type JoinProps = {
7
- items: ReactNode[];
8
- limit?: number;
9
- children: ReactNode;
10
- };
11
- declare function Join({
12
- items,
13
- limit,
14
- children
15
- }: JoinProps): react_jsx_runtime60.JSX.Element[];
16
- type ExpanderProps = {
17
- id?: string;
18
- open?: boolean;
19
- summary: ReactNode;
20
- virtual?: boolean;
21
- muted?: boolean;
22
- children?: ReactNode;
23
- };
24
- declare function Expander({
25
- id,
26
- open,
27
- summary,
28
- virtual,
29
- muted,
30
- children
31
- }: ExpanderProps): react_jsx_runtime60.JSX.Element;
32
- declare function VirtualExpander({
33
- id,
34
- open: isOpen,
35
- muted,
36
- summary,
37
- children
38
- }: Omit<ExpanderProps, 'virtual'>): react_jsx_runtime60.JSX.Element;
39
- declare function Markdown({
40
- content
41
- }: {
42
- content: string;
43
- }): "" | react_jsx_runtime60.JSX.Element | undefined;
44
- type BadgeProps = {
45
- id: string;
46
- children?: ReactNode;
47
- };
48
- declare function Badge({
49
- id,
50
- children
51
- }: BadgeProps): react_jsx_runtime60.JSX.Element;
52
- type TooltipProps = {
53
- content: ReactNode;
54
- children: ReactNode;
55
- };
56
- declare function Tooltip({
57
- content,
58
- children
59
- }: TooltipProps): string | number | bigint | boolean | react_jsx_runtime60.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
- type LinkProps = {
61
- stainlessPath: string;
62
- scroll?: boolean;
63
- children?: ReactNode;
64
- } & React.HTMLProps<HTMLAnchorElement>;
65
- declare function Link({
66
- stainlessPath,
67
- scroll,
68
- children,
69
- ...props
70
- }: LinkProps): string | number | bigint | boolean | react_jsx_runtime60.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
- type InputProps = {
72
- left?: ReactNode;
73
- right?: ReactNode;
74
- ref?: React.Ref<HTMLInputElement>;
75
- } & React.InputHTMLAttributes<HTMLInputElement>;
76
- declare function Input({
77
- left,
78
- right,
79
- ref,
80
- ...props
81
- }: InputProps): react_jsx_runtime60.JSX.Element;
82
- type ToggleButtonProps = {
83
- children?: ReactNode;
84
- selected?: boolean;
85
- } & React.ComponentProps<'button'>;
86
- declare function ToggleButton({
87
- children,
88
- selected,
89
- ref,
90
- ...props
91
- }: ToggleButtonProps): react_jsx_runtime60.JSX.Element;
92
- type ListViewProps<TItem> = {
93
- items: Array<TItem>;
94
- itemDelegate: (item: TItem, selected: boolean) => React.ReactNode;
95
- onSelectListItem?: (item: TItem) => void;
96
- } & React.HTMLAttributes<HTMLDivElement>;
97
- declare function ListView<TItem>({
98
- items,
99
- itemDelegate,
100
- onSelectListItem,
101
- ...rest
102
- }: ListViewProps<TItem>): react_jsx_runtime60.JSX.Element;
103
- //#endregion
104
- export { Join as a, ListViewProps as c, ToggleButtonProps as d, Tooltip as f, InputProps as i, Markdown as l, Expander as n, Link as o, VirtualExpander as p, Input as r, ListView as s, Badge as t, ToggleButton as u };
@@ -1,54 +0,0 @@
1
- import { ReactNode } from "react";
2
- import * as react_jsx_runtime66 from "react/jsx-runtime";
3
-
4
- //#region src/components/properties.d.ts
5
- type PropertyToggleProps = {
6
- target: string;
7
- };
8
- declare function PropertyToggle({
9
- target
10
- }: PropertyToggleProps): react_jsx_runtime66.JSX.Element;
11
- type PropertyDescriptionProps = {
12
- description?: string;
13
- };
14
- declare function PropertyDescription({
15
- description
16
- }: PropertyDescriptionProps): react_jsx_runtime66.JSX.Element | undefined;
17
- type PropertyTitleProps = {
18
- title?: string;
19
- };
20
- declare function PropertyTitle({
21
- title
22
- }: PropertyTitleProps): react_jsx_runtime66.JSX.Element | undefined;
23
- type PropertyProps = {
24
- id?: string;
25
- name?: ReactNode;
26
- typeName?: ReactNode;
27
- badges?: ReactNode;
28
- type?: ReactNode;
29
- description?: string;
30
- title?: string;
31
- expand?: boolean;
32
- deprecated?: boolean | string;
33
- additional?: ReactNode;
34
- declaration?: ReactNode;
35
- constraints?: ReactNode;
36
- children?: ReactNode;
37
- };
38
- declare function Property({
39
- id,
40
- name,
41
- typeName,
42
- badges,
43
- type,
44
- declaration,
45
- description,
46
- title,
47
- deprecated,
48
- expand,
49
- additional,
50
- constraints,
51
- children
52
- }: PropertyProps): react_jsx_runtime66.JSX.Element;
53
- //#endregion
54
- export { PropertyTitle as a, PropertyToggleProps as c, PropertyProps as i, PropertyDescription as n, PropertyTitleProps as o, PropertyDescriptionProps as r, PropertyToggle as s, Property as t };
@@ -1,118 +0,0 @@
1
- import { t as DocsLanguage } from "./routing-CUnVDpU-.js";
2
- import * as React$1 from "react";
3
- import * as react_jsx_runtime34 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_runtime34.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_runtime34.JSX.Element;
47
- type SDKConstraintsProps = {
48
- constraints?: Record<string, any>;
49
- };
50
- declare function SDKConstraints({
51
- constraints
52
- }: SDKConstraintsProps): react_jsx_runtime34.JSX.Element | undefined;
53
- type SDKIconProps = {
54
- language: SDKJSON.SnippetLanguage;
55
- size?: number;
56
- };
57
- declare function SDKIcon({
58
- language
59
- }: SDKIconProps): react_jsx_runtime34.JSX.Element | null;
60
- type SDKRequestTitleProps = {
61
- snippetLanguage: SDKJSON.SnippetLanguage;
62
- };
63
- declare function SDKRequestTitle({
64
- snippetLanguage
65
- }: SDKRequestTitleProps): react_jsx_runtime34.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_runtime34.JSX.Element;
74
- type SDKMethodProps = {
75
- method: SDKJSON.Method;
76
- transformRequestSnippet?: TransformRequestSnippetFn;
77
- };
78
- declare function SDKMethodHeader({
79
- method
80
- }: SDKMethodProps): react_jsx_runtime34.JSX.Element;
81
- declare function SDKMethodInfo({
82
- method
83
- }: SDKMethodProps): react_jsx_runtime34.JSX.Element;
84
- declare function SDKMethod({
85
- method,
86
- transformRequestSnippet
87
- }: SDKMethodProps): react_jsx_runtime34.JSX.Element;
88
- type SDKModelProps = {
89
- model: SDKJSON.Model;
90
- };
91
- declare function SDKModel({
92
- model
93
- }: SDKModelProps): react_jsx_runtime34.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_runtime34.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_runtime34.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_runtime35 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_runtime35.JSX.Element;
16
- type SidebarMethodProps = {
17
- method: SDKJSON.Method;
18
- };
19
- declare function SidebarMethod({
20
- method
21
- }: SidebarMethodProps): react_jsx_runtime35.JSX.Element;
22
- type SidebarResourceProps = {
23
- resource: SDKJSON.Resource;
24
- };
25
- declare function SidebarResource({
26
- resource
27
- }: SidebarResourceProps): react_jsx_runtime35.JSX.Element;
28
- type SidebarProps = {
29
- resources: SDKJSON.Resource[];
30
- selectedPath?: string;
31
- };
32
- declare function Sidebar({
33
- resources
34
- }: SidebarProps): react_jsx_runtime35.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-CenwRRXT.js";
2
- import * as React$1 from "react";
3
- import * as react_jsx_runtime28 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_runtime28.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_runtime28.JSX.Element;
28
- type SnippetRequestContainerProps = {
29
- children?: React$1.ReactNode;
30
- signature?: string;
31
- };
32
- declare function SnippetRequestContainer({
33
- children
34
- }: SnippetRequestContainerProps): react_jsx_runtime28.JSX.Element;
35
- declare function Snippet({
36
- requestTitle,
37
- method,
38
- transformRequestSnippet
39
- }: SnippetProps): react_jsx_runtime28.JSX.Element | null;
40
- declare function SnippetButtons({
41
- content
42
- }: {
43
- content: string;
44
- }): react_jsx_runtime28.JSX.Element;
45
- declare function SnippetResponse({
46
- responses
47
- }: {
48
- responses: SDKJSON.Method['exampleResponses'];
49
- }): react_jsx_runtime28.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 };
@@ -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 };
File without changes
File without changes