@stainless-api/docs-ui 0.1.0-beta.44 → 0.1.0-beta.47
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-BWIz-BrA.d.ts → breadcrumbs-Bg3nNgu9.d.ts} +2 -2
- package/dist/{component-generics-ofm2M82q.d.ts → component-generics-DrrwsjTH.d.ts} +2 -2
- package/dist/components/MaskedInput.d.ts +14 -0
- package/dist/components/MaskedInput.js +76 -0
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +13 -13
- package/dist/components/icons.d.ts +16 -11
- package/dist/components/icons.js +2 -2
- package/dist/components/index.d.ts +11 -11
- package/dist/components/index.js +14 -14
- package/dist/components/method.d.ts +1 -1
- package/dist/components/method.js +13 -13
- package/dist/components/overview.d.ts +1 -1
- package/dist/components/overview.js +13 -13
- package/dist/components/primitives.d.ts +1 -1
- package/dist/components/primitives.js +13 -13
- package/dist/components/properties.d.ts +2 -2
- package/dist/components/properties.js +14 -14
- package/dist/components/sdk.d.ts +2 -2
- package/dist/components/sdk.js +13 -13
- package/dist/components/sidebar.d.ts +1 -1
- package/dist/components/sidebar.js +13 -13
- package/dist/components/snippets.d.ts +4 -4
- package/dist/components/snippets.js +14 -14
- package/dist/contexts/component-generics.d.ts +1 -1
- package/dist/contexts/component-generics.js +1 -1
- package/dist/contexts/component-types.d.ts +11 -11
- package/dist/contexts/component.d.ts +14 -14
- package/dist/contexts/component.js +13 -13
- package/dist/contexts/docs.d.ts +1 -1
- package/dist/contexts/docs.js +1 -1
- package/dist/contexts/index.d.ts +18 -18
- package/dist/contexts/index.js +13 -13
- package/dist/contexts/markdown.d.ts +1 -1
- package/dist/contexts/markdown.js +2 -2
- package/dist/contexts/navigation.d.ts +2 -2
- package/dist/contexts/navigation.js +1 -1
- package/dist/contexts/search.d.ts +3 -3
- package/dist/contexts/search.js +13 -13
- package/dist/contexts/use-components.d.ts +10 -10
- package/dist/contexts/use-components.js +2 -2
- package/dist/{contexts-2HSNy-rE.js → contexts-D3ClFTt3.js} +434 -166
- package/dist/{docs-BvahWQ28.d.ts → docs-DGpIHBGY.d.ts} +4 -3
- package/dist/{icons-yb-Jhkmg.js → icons-DzBceOQw.js} +117 -1
- package/dist/{index--xwumGAy.d.ts → index-Bt01VI67.d.ts} +6 -6
- package/dist/{index-C6aGoMyw.d.ts → index-CTSOZqei.d.ts} +113 -79
- package/dist/{index-BYYbjUs7.d.ts → index-CeFeLPGr.d.ts} +9 -9
- package/dist/index.d.ts +20 -20
- package/dist/index.js +13 -13
- package/dist/languages/csharp.d.ts +12 -0
- package/dist/languages/csharp.js +15 -0
- package/dist/languages/go.d.ts +11 -11
- package/dist/languages/go.js +13 -13
- package/dist/languages/http.d.ts +11 -11
- package/dist/languages/http.js +13 -13
- package/dist/languages/index.d.ts +12 -12
- package/dist/languages/index.js +14 -14
- package/dist/languages/java.d.ts +11 -11
- package/dist/languages/java.js +13 -13
- package/dist/languages/python.d.ts +11 -11
- package/dist/languages/python.js +13 -13
- package/dist/languages/ruby.d.ts +11 -11
- package/dist/languages/ruby.js +13 -13
- package/dist/languages/typescript.d.ts +11 -11
- package/dist/languages/typescript.js +13 -13
- package/dist/markdown/index.d.ts +3 -3
- package/dist/markdown/index.js +13 -13
- package/dist/markdown/md.js +1 -1
- package/dist/markdown/utils.d.ts +3 -3
- package/dist/markdown/utils.js +1 -1
- package/dist/{markdown-Diyg-eof.js → markdown-Bx-mQFEj.js} +1 -1
- package/dist/{markdown-R3kFvQtF.d.ts → markdown-COcowhve.d.ts} +2 -2
- package/dist/{method-DigRMq69.d.ts → method-DI8ARQ3m.d.ts} +7 -7
- package/dist/{navigation-qVV3i91K.d.ts → navigation-Cg69h_9U.d.ts} +3 -3
- package/dist/{overview-CAseV8q5.d.ts → overview-Bv43Hf_w.d.ts} +6 -6
- package/dist/{primitives-DKSwbXPi.d.ts → primitives-Br-H_CYo.d.ts} +11 -13
- package/dist/{properties-CqXos0BH.d.ts → properties-RPXKwEeY.d.ts} +13 -5
- package/dist/{routing-qs2YNG9o.js → routing-BGBmkDBL.js} +9 -4
- package/dist/{routing-DNN8R6bZ.d.ts → routing-nN1nc0jx.d.ts} +2 -2
- package/dist/routing.d.ts +1 -1
- package/dist/routing.js +1 -1
- package/dist/{sdk-Rlr-Kw5_.d.ts → sdk-Ck0IERc7.d.ts} +14 -15
- package/dist/search/index.d.ts +6 -6
- package/dist/search/index.js +15 -15
- package/dist/search/mcp.d.ts +13 -0
- package/dist/search/mcp.js +45 -0
- package/dist/search/providers/algolia.d.ts +2 -2
- package/dist/search/providers/algolia.js +13 -13
- package/dist/search/providers/fuse.d.ts +2 -2
- package/dist/search/providers/fuse.js +13 -13
- package/dist/search/providers/pagefind.d.ts +2 -2
- package/dist/search/providers/pagefind.js +1 -1
- package/dist/search/providers/walker.d.ts +2 -2
- package/dist/search/providers/walker.js +13 -13
- package/dist/search/types.d.ts +2 -2
- package/dist/search/types.js +1 -1
- package/dist/{search-1-mboDcE.d.ts → search-B9SJyFXg.d.ts} +3 -3
- package/dist/{sidebar-C1v1VnyN.d.ts → sidebar-b3y7VIbU.d.ts} +5 -5
- package/dist/{snippets-CmrvrMkn.d.ts → snippets-XTXit9Ya.d.ts} +13 -8
- package/dist/spec.d.ts +2 -2
- package/dist/spec.js +2 -2
- package/dist/{style-BhhgPVF6.js → style-0miv2y38.js} +4 -0
- package/dist/{style-p4qTfnmO.d.ts → style-D8hwSwrv.d.ts} +4 -0
- package/dist/style.d.ts +1 -1
- package/dist/style.js +1 -1
- package/dist/styles/main.css +11 -8
- package/dist/styles/primitives.css +37 -2
- package/dist/styles.css +48 -10
- package/dist/{types-BSnSUlkN.d.ts → types-D7Ipu1J2.d.ts} +1 -1
- package/dist/{use-components-BHEwm0mE.js → use-components-BAHidYIO.js} +1 -1
- package/dist/{utils-FnJ4tyuN.js → utils-0z34vxY4.js} +2 -2
- package/dist/{utils-C5oXAzyN.d.ts → utils-CJElSUwc.d.ts} +2 -2
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +2 -2
- package/package.json +7 -4
- /package/dist/{chunk-Bf_Gc_jT.js → chunk-BWfJHHBp.js} +0 -0
- /package/dist/{component-generics-D3ybuN5r.js → component-generics-F0_Dx7UT.js} +0 -0
- /package/dist/{docs-CopwX9a7.js → docs-CNvEp0VL.js} +0 -0
- /package/dist/{md-DxiV1_vy.js → md-D5AxFoS4.js} +0 -0
- /package/dist/{navigation-CGr5_w6z.js → navigation-bydkHNUW.js} +0 -0
- /package/dist/{pagefind-BaK1krMe.js → pagefind-BHm6c3fb.js} +0 -0
- /package/dist/{types-u0fUIalc.js → types-mRzd9aqe.js} +0 -0
- /package/dist/{utils-D43p_yTd.d.ts → utils-BcWczffA.d.ts} +0 -0
- /package/dist/{utils-Jo_o4DX9.js → utils-CiZXDoFR.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime23 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_runtime23.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_runtime23.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_runtime23.JSX.Element;
|
|
39
39
|
declare function Markdown({
|
|
40
40
|
content
|
|
41
41
|
}: {
|
|
42
42
|
content: string;
|
|
43
|
-
}): "" |
|
|
43
|
+
}): "" | react_jsx_runtime23.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_runtime23.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 |
|
|
59
|
+
}: TooltipProps): string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime23.JSX.Element | null | undefined;
|
|
60
60
|
type LinkProps = {
|
|
61
61
|
stainlessPath: string;
|
|
62
62
|
scroll?: boolean;
|
|
@@ -67,15 +67,13 @@ declare function Link({
|
|
|
67
67
|
scroll,
|
|
68
68
|
children,
|
|
69
69
|
...props
|
|
70
|
-
}: LinkProps): string | number | bigint | boolean |
|
|
70
|
+
}: LinkProps): string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime23.JSX.Element | null | undefined;
|
|
71
71
|
type InputProps = {
|
|
72
72
|
left?: ReactNode;
|
|
73
73
|
right?: ReactNode;
|
|
74
|
+
ref?: React$1.Ref<HTMLInputElement>;
|
|
74
75
|
} & React$1.InputHTMLAttributes<HTMLInputElement>;
|
|
75
|
-
declare const Input: React$1.ForwardRefExoticComponent<
|
|
76
|
-
left?: ReactNode;
|
|
77
|
-
right?: ReactNode;
|
|
78
|
-
} & React$1.InputHTMLAttributes<HTMLInputElement> & React$1.RefAttributes<HTMLInputElement>>;
|
|
76
|
+
declare const Input: React$1.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
79
77
|
type ToggleButtonProps = {
|
|
80
78
|
children?: ReactNode;
|
|
81
79
|
selected?: boolean;
|
|
@@ -94,6 +92,6 @@ declare function ListView<TItem>({
|
|
|
94
92
|
itemDelegate,
|
|
95
93
|
onSelectListItem,
|
|
96
94
|
...rest
|
|
97
|
-
}: ListViewProps<TItem>):
|
|
95
|
+
}: ListViewProps<TItem>): react_jsx_runtime23.JSX.Element;
|
|
98
96
|
//#endregion
|
|
99
97
|
export { Join as a, ListViewProps as c, ToggleButtonProps as d, Tooltip as f, InputProps as i, Markdown as l, Expander as n, Link as o, VirtualExpander as p, Input as r, ListView as s, Badge as t, ToggleButton as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime31 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/properties.d.ts
|
|
5
5
|
type PropertyToggleProps = {
|
|
@@ -7,13 +7,19 @@ type PropertyToggleProps = {
|
|
|
7
7
|
};
|
|
8
8
|
declare function PropertyToggle({
|
|
9
9
|
target
|
|
10
|
-
}: PropertyToggleProps):
|
|
10
|
+
}: PropertyToggleProps): react_jsx_runtime31.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_runtime31.JSX.Element | undefined;
|
|
17
|
+
type PropertyTitleProps = {
|
|
18
|
+
title?: string;
|
|
19
|
+
};
|
|
20
|
+
declare function PropertyTitle({
|
|
21
|
+
title
|
|
22
|
+
}: PropertyTitleProps): react_jsx_runtime31.JSX.Element | undefined;
|
|
17
23
|
type PropertyProps = {
|
|
18
24
|
id?: string;
|
|
19
25
|
name?: ReactNode;
|
|
@@ -21,6 +27,7 @@ type PropertyProps = {
|
|
|
21
27
|
badges?: ReactNode;
|
|
22
28
|
type?: ReactNode;
|
|
23
29
|
description?: string;
|
|
30
|
+
title?: string;
|
|
24
31
|
expand?: boolean;
|
|
25
32
|
deprecated?: boolean | string;
|
|
26
33
|
additional?: ReactNode;
|
|
@@ -36,11 +43,12 @@ declare function Property({
|
|
|
36
43
|
type,
|
|
37
44
|
declaration,
|
|
38
45
|
description,
|
|
46
|
+
title,
|
|
39
47
|
deprecated,
|
|
40
48
|
expand,
|
|
41
49
|
additional,
|
|
42
50
|
constraints,
|
|
43
51
|
children
|
|
44
|
-
}: PropertyProps):
|
|
52
|
+
}: PropertyProps): react_jsx_runtime31.JSX.Element;
|
|
45
53
|
//#endregion
|
|
46
|
-
export {
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import { t as __export } from "./chunk-
|
|
1
|
+
import { t as __export } from "./chunk-BWfJHHBp.js";
|
|
2
2
|
|
|
3
3
|
//#region src/routing.ts
|
|
4
4
|
var routing_exports = /* @__PURE__ */ __export({
|
|
@@ -28,7 +28,9 @@ const Languages = [
|
|
|
28
28
|
"terraform",
|
|
29
29
|
"ruby",
|
|
30
30
|
"java",
|
|
31
|
-
"kotlin"
|
|
31
|
+
"kotlin",
|
|
32
|
+
"csharp",
|
|
33
|
+
"php"
|
|
32
34
|
];
|
|
33
35
|
const SupportedLanguageSyntaxes = [
|
|
34
36
|
"http",
|
|
@@ -39,7 +41,8 @@ const SupportedLanguageSyntaxes = [
|
|
|
39
41
|
"terraform",
|
|
40
42
|
"ruby",
|
|
41
43
|
"java",
|
|
42
|
-
"kotlin"
|
|
44
|
+
"kotlin",
|
|
45
|
+
"csharp"
|
|
43
46
|
];
|
|
44
47
|
const LanguageNames = {
|
|
45
48
|
http: "HTTP",
|
|
@@ -50,7 +53,9 @@ const LanguageNames = {
|
|
|
50
53
|
ruby: "Ruby",
|
|
51
54
|
java: "Java",
|
|
52
55
|
kotlin: "Kotlin",
|
|
53
|
-
terraform: "Terraform"
|
|
56
|
+
terraform: "Terraform",
|
|
57
|
+
csharp: "C#",
|
|
58
|
+
php: "PHP"
|
|
54
59
|
};
|
|
55
60
|
function getLanguageSnippet(language) {
|
|
56
61
|
return language === "http" ? "http.curl" : `${language}.default`;
|
|
@@ -4,11 +4,11 @@ import * as SDKJSON from "@stainless/sdk-json";
|
|
|
4
4
|
declare namespace routing_d_exports {
|
|
5
5
|
export { DocsLanguage, LanguageNames, Languages, ParsedStainlessPath, RouteEntry, SpecTreeEntry, SupportedLanguageSyntaxes, expandToElement, findNavigationPath, generateRoute, generateRouteList, getLanguageSnippet, getResource, isSupportedLanguage, parseRoute, parseStainlessPath, scrollToPath, trimStainlessPath, updateHistory, walkTree };
|
|
6
6
|
}
|
|
7
|
-
declare const Languages: readonly ["http", "node", "python", "go", "typescript", "terraform", "ruby", "java", "kotlin"];
|
|
7
|
+
declare const Languages: readonly ["http", "node", "python", "go", "typescript", "terraform", "ruby", "java", "kotlin", "csharp", "php"];
|
|
8
8
|
declare const SupportedLanguageSyntaxes: string[];
|
|
9
9
|
type DocsLanguage = (typeof Languages)[number];
|
|
10
10
|
declare const LanguageNames: Record<DocsLanguage, string>;
|
|
11
|
-
declare function getLanguageSnippet(language: DocsLanguage): "http.curl" | "node.default" | "go.default" | "python.default" | "terraform.default" | "typescript.default" | "ruby.default" | "java.default" | "kotlin.default";
|
|
11
|
+
declare function getLanguageSnippet(language: DocsLanguage): "http.curl" | "node.default" | "go.default" | "python.default" | "terraform.default" | "typescript.default" | "ruby.default" | "java.default" | "kotlin.default" | "csharp.default" | "php.default";
|
|
12
12
|
declare function isSupportedLanguage(language: string): language is DocsLanguage;
|
|
13
13
|
type ParsedStainlessPath = ReturnType<typeof parseStainlessPath>;
|
|
14
14
|
declare function parseStainlessPath(stainlessPath: string): {
|
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-nN1nc0jx.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-BGBmkDBL.js";
|
|
2
2
|
|
|
3
3
|
export { LanguageNames, Languages, SupportedLanguageSyntaxes, expandToElement, findNavigationPath, generateRoute, generateRouteList, getLanguageSnippet, getResource, isSupportedLanguage, parseRoute, parseStainlessPath, scrollToPath, trimStainlessPath, updateHistory, walkTree };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as DocsLanguage } from "./routing-
|
|
1
|
+
import { t as DocsLanguage } from "./routing-nN1nc0jx.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime35 from "react/jsx-runtime";
|
|
4
4
|
import * as SDKJSON from "@stainless/sdk-json";
|
|
5
5
|
|
|
6
6
|
//#region src/components/sdk.d.ts
|
|
@@ -15,7 +15,6 @@ declare const ReferenceNestingContext: React$1.Context<ReferenceNestingContextTy
|
|
|
15
15
|
declare function useReferenceNesting(): ReferenceNestingContextType;
|
|
16
16
|
type SDKSnippetLanguagesType = Record<SDKJSON.SnippetLanguage, {
|
|
17
17
|
name: string;
|
|
18
|
-
icon: string;
|
|
19
18
|
}>;
|
|
20
19
|
declare const SDKSnippetLanguages: SDKSnippetLanguagesType;
|
|
21
20
|
type TransformRequestSnippetFn = ({
|
|
@@ -34,7 +33,7 @@ declare function SDKChildren({
|
|
|
34
33
|
paths,
|
|
35
34
|
expand,
|
|
36
35
|
depth
|
|
37
|
-
}: SDKChildrenProps):
|
|
36
|
+
}: SDKChildrenProps): react_jsx_runtime35.JSX.Element;
|
|
38
37
|
type SDKDeclarationProps = {
|
|
39
38
|
path: string;
|
|
40
39
|
expand?: boolean;
|
|
@@ -44,26 +43,26 @@ declare function SDKDeclaration({
|
|
|
44
43
|
path,
|
|
45
44
|
expand,
|
|
46
45
|
depth
|
|
47
|
-
}: SDKDeclarationProps):
|
|
46
|
+
}: SDKDeclarationProps): react_jsx_runtime35.JSX.Element;
|
|
48
47
|
type SDKConstraintsProps = {
|
|
49
48
|
constraints?: Record<string, any>;
|
|
50
49
|
};
|
|
51
50
|
declare function SDKConstraints({
|
|
52
51
|
constraints
|
|
53
|
-
}: SDKConstraintsProps):
|
|
52
|
+
}: SDKConstraintsProps): react_jsx_runtime35.JSX.Element | undefined;
|
|
54
53
|
type SDKIconProps = {
|
|
55
54
|
language: SDKJSON.SnippetLanguage;
|
|
56
55
|
size?: number;
|
|
57
56
|
};
|
|
58
57
|
declare function SDKIcon({
|
|
59
58
|
language
|
|
60
|
-
}: SDKIconProps):
|
|
59
|
+
}: SDKIconProps): react_jsx_runtime35.JSX.Element | null;
|
|
61
60
|
type SDKRequestTitleProps = {
|
|
62
61
|
snippetLanguage: SDKJSON.SnippetLanguage;
|
|
63
62
|
};
|
|
64
63
|
declare function SDKRequestTitle({
|
|
65
64
|
snippetLanguage
|
|
66
|
-
}: SDKRequestTitleProps):
|
|
65
|
+
}: SDKRequestTitleProps): react_jsx_runtime35.JSX.Element;
|
|
67
66
|
type SDKExampleProps = {
|
|
68
67
|
method: SDKJSON.Method;
|
|
69
68
|
transformRequestSnippet?: TransformRequestSnippetFn;
|
|
@@ -71,27 +70,27 @@ type SDKExampleProps = {
|
|
|
71
70
|
declare function SDKExample({
|
|
72
71
|
method,
|
|
73
72
|
transformRequestSnippet
|
|
74
|
-
}: SDKExampleProps):
|
|
73
|
+
}: SDKExampleProps): react_jsx_runtime35.JSX.Element;
|
|
75
74
|
type SDKMethodProps = {
|
|
76
75
|
method: SDKJSON.Method;
|
|
77
76
|
transformRequestSnippet?: TransformRequestSnippetFn;
|
|
78
77
|
};
|
|
79
78
|
declare function SDKMethodHeader({
|
|
80
79
|
method
|
|
81
|
-
}: SDKMethodProps):
|
|
80
|
+
}: SDKMethodProps): react_jsx_runtime35.JSX.Element;
|
|
82
81
|
declare function SDKMethodInfo({
|
|
83
82
|
method
|
|
84
|
-
}: SDKMethodProps):
|
|
83
|
+
}: SDKMethodProps): react_jsx_runtime35.JSX.Element;
|
|
85
84
|
declare function SDKMethod({
|
|
86
85
|
method,
|
|
87
86
|
transformRequestSnippet
|
|
88
|
-
}: SDKMethodProps):
|
|
87
|
+
}: SDKMethodProps): react_jsx_runtime35.JSX.Element;
|
|
89
88
|
type SDKModelProps = {
|
|
90
89
|
model: SDKJSON.Model;
|
|
91
90
|
};
|
|
92
91
|
declare function SDKModel({
|
|
93
92
|
model
|
|
94
|
-
}: SDKModelProps):
|
|
93
|
+
}: SDKModelProps): react_jsx_runtime35.JSX.Element | null;
|
|
95
94
|
type SDKReferenceProps = {
|
|
96
95
|
stainlessPath: string;
|
|
97
96
|
children?: React$1.ReactNode;
|
|
@@ -99,7 +98,7 @@ type SDKReferenceProps = {
|
|
|
99
98
|
declare function SDKReference({
|
|
100
99
|
stainlessPath,
|
|
101
100
|
children
|
|
102
|
-
}: SDKReferenceProps): string | number | bigint | boolean |
|
|
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> | react_jsx_runtime35.JSX.Element | null | undefined;
|
|
103
102
|
type SDKLanguageBlockProps = {
|
|
104
103
|
language: DocsLanguage;
|
|
105
104
|
version: string;
|
|
@@ -114,6 +113,6 @@ declare function SDKLanguageBlock({
|
|
|
114
113
|
version,
|
|
115
114
|
install,
|
|
116
115
|
links
|
|
117
|
-
}: SDKLanguageBlockProps):
|
|
116
|
+
}: SDKLanguageBlockProps): react_jsx_runtime35.JSX.Element;
|
|
118
117
|
//#endregion
|
|
119
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 };
|
package/dist/search/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../routing-
|
|
2
|
-
import { l as QueryKindsType, u as ResultData } from "../types-
|
|
3
|
-
import * as
|
|
1
|
+
import "../routing-nN1nc0jx.js";
|
|
2
|
+
import { l as QueryKindsType, u as ResultData } from "../types-D7Ipu1J2.js";
|
|
3
|
+
import * as react_jsx_runtime90 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/search/form.d.ts
|
|
6
|
-
declare function SearchForm():
|
|
6
|
+
declare function SearchForm(): react_jsx_runtime90.JSX.Element;
|
|
7
7
|
type SearchFilterProps = {
|
|
8
8
|
results: ResultData;
|
|
9
9
|
filterKind: QueryKindsType;
|
|
@@ -13,7 +13,7 @@ declare function SearchFilter({
|
|
|
13
13
|
results,
|
|
14
14
|
filterKind,
|
|
15
15
|
onChange
|
|
16
|
-
}: SearchFilterProps):
|
|
16
|
+
}: SearchFilterProps): react_jsx_runtime90.JSX.Element;
|
|
17
17
|
type SearchModalProps = {
|
|
18
18
|
id?: string;
|
|
19
19
|
open?: boolean;
|
|
@@ -21,6 +21,6 @@ type SearchModalProps = {
|
|
|
21
21
|
declare function SearchModal({
|
|
22
22
|
id,
|
|
23
23
|
open: isOpen
|
|
24
|
-
}: SearchModalProps):
|
|
24
|
+
}: SearchModalProps): react_jsx_runtime90.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { SearchFilter, SearchFilterProps, SearchForm, SearchModal, SearchModalProps };
|
package/dist/search/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { a as useLanguage } from "../docs-
|
|
2
|
-
import "../component-generics-
|
|
3
|
-
import "../navigation-
|
|
4
|
-
import "../markdown-
|
|
5
|
-
import "../routing-
|
|
6
|
-
import { t as style_default } from "../style-
|
|
7
|
-
import { t as useComponents } from "../use-components-
|
|
8
|
-
import { a as useSearchContext, i as useSearch } from "../contexts-
|
|
9
|
-
import "../icons-
|
|
10
|
-
import "../utils-
|
|
11
|
-
import "../md-
|
|
12
|
-
import "../utils-
|
|
13
|
-
import { t as QueryKinds } from "../types-
|
|
14
|
-
import { t as guideSearch } from "../pagefind-
|
|
1
|
+
import { a as useLanguage } from "../docs-CNvEp0VL.js";
|
|
2
|
+
import "../component-generics-F0_Dx7UT.js";
|
|
3
|
+
import "../navigation-bydkHNUW.js";
|
|
4
|
+
import "../markdown-Bx-mQFEj.js";
|
|
5
|
+
import "../routing-BGBmkDBL.js";
|
|
6
|
+
import { t as style_default } from "../style-0miv2y38.js";
|
|
7
|
+
import { t as useComponents } from "../use-components-BAHidYIO.js";
|
|
8
|
+
import { a as useSearchContext, i as useSearch } from "../contexts-D3ClFTt3.js";
|
|
9
|
+
import "../icons-DzBceOQw.js";
|
|
10
|
+
import "../utils-0z34vxY4.js";
|
|
11
|
+
import "../md-D5AxFoS4.js";
|
|
12
|
+
import "../utils-CiZXDoFR.js";
|
|
13
|
+
import { t as QueryKinds } from "../types-mRzd9aqe.js";
|
|
14
|
+
import { t as guideSearch } from "../pagefind-BHm6c3fb.js";
|
|
15
15
|
import * as React$1 from "react";
|
|
16
16
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
17
17
|
import { BookOpenText, Box, Code, Folder, Search, Wrench, X } from "lucide-react";
|
|
@@ -242,7 +242,7 @@ function SearchForm() {
|
|
|
242
242
|
language
|
|
243
243
|
})]);
|
|
244
244
|
setResults({
|
|
245
|
-
items: filterKind === "guide" ? guideResults : [...guideResults, ...apiResults?.hits ?? []],
|
|
245
|
+
items: filterKind === "guide" ? guideResults : filterKind === "all" ? [...guideResults.slice(0, 5), ...apiResults?.hits ?? []] : apiResults?.hits ?? [],
|
|
246
246
|
counts: {
|
|
247
247
|
...apiResults?.facets?.["kind"],
|
|
248
248
|
guide: guideResults.length,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { t as DocsLanguage } from "../routing-nN1nc0jx.js";
|
|
2
|
+
import { n as IndexEntry, r as IndexMethod } from "../types-D7Ipu1J2.js";
|
|
3
|
+
import * as SDKJSON from "@stainless/sdk-json";
|
|
4
|
+
|
|
5
|
+
//#region src/search/indexer.d.ts
|
|
6
|
+
|
|
7
|
+
declare function generateIndex(spec: SDKJSON.Spec, renderMarkdownFn?: (_: string) => string | null, includeTypes?: boolean): Generator<IndexEntry>;
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region src/search/mcp.d.ts
|
|
10
|
+
type Item = IndexEntry & IndexMethod;
|
|
11
|
+
declare function render(spec: SDKJSON.Spec, language: DocsLanguage, items: Item[], includeModelProperties: boolean): any;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { generateIndex, render };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import "../docs-CNvEp0VL.js";
|
|
2
|
+
import "../component-generics-F0_Dx7UT.js";
|
|
3
|
+
import "../navigation-bydkHNUW.js";
|
|
4
|
+
import "../markdown-Bx-mQFEj.js";
|
|
5
|
+
import { f as parseStainlessPath } from "../routing-BGBmkDBL.js";
|
|
6
|
+
import "../style-0miv2y38.js";
|
|
7
|
+
import "../use-components-BAHidYIO.js";
|
|
8
|
+
import { p as renderMarkdown, u as generateIndex } from "../contexts-D3ClFTt3.js";
|
|
9
|
+
import "../icons-DzBceOQw.js";
|
|
10
|
+
import { n as getResourceFromSpec } from "../utils-0z34vxY4.js";
|
|
11
|
+
import "../md-D5AxFoS4.js";
|
|
12
|
+
import "../utils-CiZXDoFR.js";
|
|
13
|
+
import "../types-mRzd9aqe.js";
|
|
14
|
+
|
|
15
|
+
//#region src/search/mcp.ts
|
|
16
|
+
function consolidate(results) {
|
|
17
|
+
const resources = /* @__PURE__ */ new Set();
|
|
18
|
+
const methods = /* @__PURE__ */ new Set();
|
|
19
|
+
for (const entry of results) {
|
|
20
|
+
const parsed = parseStainlessPath(entry.stainlessPath);
|
|
21
|
+
if (parsed.method) methods.add(parsed.routable);
|
|
22
|
+
else resources.add(parsed.routable);
|
|
23
|
+
}
|
|
24
|
+
const filtered = Array.from(methods).filter((path) => !resources.has(path.split(" >").at(0)));
|
|
25
|
+
return [...resources, ...filtered];
|
|
26
|
+
}
|
|
27
|
+
function render(spec, language, items, includeModelProperties) {
|
|
28
|
+
const env = {
|
|
29
|
+
spec,
|
|
30
|
+
language,
|
|
31
|
+
options: {
|
|
32
|
+
renderNestedResources: false,
|
|
33
|
+
includeModelProperties
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
const output = consolidate(items).map((entry) => {
|
|
37
|
+
const parsed = parseStainlessPath(entry);
|
|
38
|
+
const resource = getResourceFromSpec(parsed.resource, spec);
|
|
39
|
+
return [entry, renderMarkdown(env, parsed.method ? resource.methods[parsed.method] : resource)];
|
|
40
|
+
});
|
|
41
|
+
return Object.fromEntries(output);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
//#endregion
|
|
45
|
+
export { generateIndex, render };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../routing-
|
|
2
|
-
import { f as ResultType, g as SearchSettings, h as SearchParams, s as ProseIndexEntry } from "../../types-
|
|
1
|
+
import "../../routing-nN1nc0jx.js";
|
|
2
|
+
import { f as ResultType, g as SearchSettings, h as SearchParams, s as ProseIndexEntry } from "../../types-D7Ipu1J2.js";
|
|
3
3
|
import * as SDKJSON from "@stainless/sdk-json";
|
|
4
4
|
|
|
5
5
|
//#region src/search/providers/algolia.d.ts
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "../../docs-
|
|
2
|
-
import "../../component-generics-
|
|
3
|
-
import "../../navigation-
|
|
4
|
-
import "../../markdown-
|
|
5
|
-
import "../../routing-
|
|
6
|
-
import "../../style-
|
|
7
|
-
import "../../use-components-
|
|
8
|
-
import { c as buildProseIndex, l as search, o as buildChatIndex, s as buildIndex } from "../../contexts-
|
|
9
|
-
import "../../icons-
|
|
10
|
-
import "../../utils-
|
|
11
|
-
import "../../md-
|
|
12
|
-
import "../../utils-
|
|
13
|
-
import "../../types-
|
|
1
|
+
import "../../docs-CNvEp0VL.js";
|
|
2
|
+
import "../../component-generics-F0_Dx7UT.js";
|
|
3
|
+
import "../../navigation-bydkHNUW.js";
|
|
4
|
+
import "../../markdown-Bx-mQFEj.js";
|
|
5
|
+
import "../../routing-BGBmkDBL.js";
|
|
6
|
+
import "../../style-0miv2y38.js";
|
|
7
|
+
import "../../use-components-BAHidYIO.js";
|
|
8
|
+
import { c as buildProseIndex, l as search, o as buildChatIndex, s as buildIndex } from "../../contexts-D3ClFTt3.js";
|
|
9
|
+
import "../../icons-DzBceOQw.js";
|
|
10
|
+
import "../../utils-0z34vxY4.js";
|
|
11
|
+
import "../../md-D5AxFoS4.js";
|
|
12
|
+
import "../../utils-CiZXDoFR.js";
|
|
13
|
+
import "../../types-mRzd9aqe.js";
|
|
14
14
|
|
|
15
15
|
export { buildChatIndex, buildIndex, buildProseIndex, search };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as DocsLanguage } from "../../routing-
|
|
2
|
-
import { n as IndexEntry } from "../../types-
|
|
1
|
+
import { t as DocsLanguage } from "../../routing-nN1nc0jx.js";
|
|
2
|
+
import { n as IndexEntry } from "../../types-D7Ipu1J2.js";
|
|
3
3
|
import * as fuse_js0 from "fuse.js";
|
|
4
4
|
import { FuseIndex } from "fuse.js";
|
|
5
5
|
import * as SDKJSON from "@stainless/sdk-json";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "../../docs-
|
|
2
|
-
import "../../component-generics-
|
|
3
|
-
import "../../navigation-
|
|
4
|
-
import "../../markdown-
|
|
5
|
-
import "../../routing-
|
|
6
|
-
import "../../style-
|
|
7
|
-
import "../../use-components-
|
|
8
|
-
import { u as generateIndex } from "../../contexts-
|
|
9
|
-
import "../../icons-
|
|
10
|
-
import "../../utils-
|
|
11
|
-
import "../../md-
|
|
12
|
-
import "../../utils-
|
|
13
|
-
import { n as SearchableAttributes } from "../../types-
|
|
1
|
+
import "../../docs-CNvEp0VL.js";
|
|
2
|
+
import "../../component-generics-F0_Dx7UT.js";
|
|
3
|
+
import "../../navigation-bydkHNUW.js";
|
|
4
|
+
import "../../markdown-Bx-mQFEj.js";
|
|
5
|
+
import "../../routing-BGBmkDBL.js";
|
|
6
|
+
import "../../style-0miv2y38.js";
|
|
7
|
+
import "../../use-components-BAHidYIO.js";
|
|
8
|
+
import { u as generateIndex } from "../../contexts-D3ClFTt3.js";
|
|
9
|
+
import "../../icons-DzBceOQw.js";
|
|
10
|
+
import "../../utils-0z34vxY4.js";
|
|
11
|
+
import "../../md-D5AxFoS4.js";
|
|
12
|
+
import "../../utils-CiZXDoFR.js";
|
|
13
|
+
import { n as SearchableAttributes } from "../../types-mRzd9aqe.js";
|
|
14
14
|
import Fuse from "fuse.js";
|
|
15
15
|
|
|
16
16
|
//#region src/search/providers/fuse.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../routing-
|
|
2
|
-
import { t as GuideResultType } from "../../types-
|
|
1
|
+
import "../../routing-nN1nc0jx.js";
|
|
2
|
+
import { t as GuideResultType } from "../../types-D7Ipu1J2.js";
|
|
3
3
|
|
|
4
4
|
//#region src/search/providers/pagefind.d.ts
|
|
5
5
|
declare function guideSearch(loadPath: string, query: string, limit?: number): Promise<GuideResultType[]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as DocsLanguage } from "../../routing-
|
|
2
|
-
import { n as IndexEntry } from "../../types-
|
|
1
|
+
import { t as DocsLanguage } from "../../routing-nN1nc0jx.js";
|
|
2
|
+
import { n as IndexEntry } from "../../types-D7Ipu1J2.js";
|
|
3
3
|
import * as SDKJSON from "@stainless/sdk-json";
|
|
4
4
|
|
|
5
5
|
//#region src/search/providers/walker.d.ts
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "../../docs-
|
|
2
|
-
import "../../component-generics-
|
|
3
|
-
import "../../navigation-
|
|
4
|
-
import "../../markdown-
|
|
5
|
-
import "../../routing-
|
|
6
|
-
import "../../style-
|
|
7
|
-
import "../../use-components-
|
|
8
|
-
import { u as generateIndex } from "../../contexts-
|
|
9
|
-
import "../../icons-
|
|
10
|
-
import "../../utils-
|
|
11
|
-
import "../../md-
|
|
12
|
-
import "../../utils-
|
|
13
|
-
import { n as SearchableAttributes } from "../../types-
|
|
1
|
+
import "../../docs-CNvEp0VL.js";
|
|
2
|
+
import "../../component-generics-F0_Dx7UT.js";
|
|
3
|
+
import "../../navigation-bydkHNUW.js";
|
|
4
|
+
import "../../markdown-Bx-mQFEj.js";
|
|
5
|
+
import "../../routing-BGBmkDBL.js";
|
|
6
|
+
import "../../style-0miv2y38.js";
|
|
7
|
+
import "../../use-components-BAHidYIO.js";
|
|
8
|
+
import { u as generateIndex } from "../../contexts-D3ClFTt3.js";
|
|
9
|
+
import "../../icons-DzBceOQw.js";
|
|
10
|
+
import "../../utils-0z34vxY4.js";
|
|
11
|
+
import "../../md-D5AxFoS4.js";
|
|
12
|
+
import "../../utils-CiZXDoFR.js";
|
|
13
|
+
import { n as SearchableAttributes } from "../../types-mRzd9aqe.js";
|
|
14
14
|
|
|
15
15
|
//#region src/search/providers/walker.ts
|
|
16
16
|
function buildIndex(spec) {
|
package/dist/search/types.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../routing-
|
|
2
|
-
import { _ as SearchableAttributes, a as IndexProperty, c as QueryKinds, d as ResultRecordType, f as ResultType, g as SearchSettings, h as SearchParams, i as IndexModel, l as QueryKindsType, m as SearchAttributeNames, n as IndexEntry, o as IndexResource, p as RoutableJsonNode, r as IndexMethod, s as ProseIndexEntry, t as GuideResultType, u as ResultData, v as SearchableAttributesChat, y as SearchableAttributesProse } from "../types-
|
|
1
|
+
import "../routing-nN1nc0jx.js";
|
|
2
|
+
import { _ as SearchableAttributes, a as IndexProperty, c as QueryKinds, d as ResultRecordType, f as ResultType, g as SearchSettings, h as SearchParams, i as IndexModel, l as QueryKindsType, m as SearchAttributeNames, n as IndexEntry, o as IndexResource, p as RoutableJsonNode, r as IndexMethod, s as ProseIndexEntry, t as GuideResultType, u as ResultData, v as SearchableAttributesChat, y as SearchableAttributesProse } from "../types-D7Ipu1J2.js";
|
|
3
3
|
export { GuideResultType, IndexEntry, IndexMethod, IndexModel, IndexProperty, IndexResource, ProseIndexEntry, QueryKinds, QueryKindsType, ResultData, ResultRecordType, ResultType, RoutableJsonNode, SearchAttributeNames, SearchParams, SearchSettings, SearchableAttributes, SearchableAttributesChat, SearchableAttributesProse };
|
package/dist/search/types.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as SearchableAttributesProse, n as SearchableAttributes, r as SearchableAttributesChat, t as QueryKinds } from "../types-
|
|
1
|
+
import { i as SearchableAttributesProse, n as SearchableAttributes, r as SearchableAttributesChat, t as QueryKinds } from "../types-mRzd9aqe.js";
|
|
2
2
|
|
|
3
3
|
export { QueryKinds, SearchableAttributes, SearchableAttributesChat, SearchableAttributesProse };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as ResultType, g as SearchSettings, h as SearchParams } from "./types-
|
|
1
|
+
import { f as ResultType, g as SearchSettings, h as SearchParams } from "./types-D7Ipu1J2.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime64 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/contexts/search.d.ts
|
|
6
6
|
type SearchContextType = {
|
|
@@ -16,6 +16,6 @@ type SearchProviderProps = SearchContextType & {
|
|
|
16
16
|
declare function SearchProvider({
|
|
17
17
|
children,
|
|
18
18
|
...props
|
|
19
|
-
}: SearchProviderProps):
|
|
19
|
+
}: SearchProviderProps): react_jsx_runtime64.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { useSearchContext as a, useSearch as i, SearchProvider as n, SearchProviderProps as r, SearchContextType as t };
|