@stainless-api/docs-ui 0.1.0-beta.48 → 0.1.0-beta.49
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-TNRag6Vy.d.ts → breadcrumbs-DEyC9k79.d.ts} +2 -2
- package/dist/breadcrumbs-nSFZO5Gf.js +63 -0
- package/dist/component-DRO8kQSp.js +23 -0
- package/dist/{component-generics-F0_Dx7UT.js → component-generics-B6Fn47Mz.js} +1 -1
- package/dist/{component-generics-Cs7jFHLq.d.ts → component-generics-COP53CRn.d.ts} +2 -2
- package/dist/component-generics-fyFHB6qA.d.ts +30 -0
- package/dist/components/MaskedInput.d.ts +1 -1
- package/dist/components/MaskedInput.js +1 -1
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +7 -9
- package/dist/components/icons.d.ts +11 -11
- package/dist/components/icons.js +1 -1
- package/dist/components/index.d.ts +9 -9
- package/dist/components/index.js +16 -9
- package/dist/components/method.d.ts +1 -1
- package/dist/components/method.js +8 -9
- package/dist/components/overview.d.ts +1 -1
- package/dist/components/overview.js +9 -9
- package/dist/components/primitives.d.ts +1 -1
- package/dist/components/primitives.js +6 -9
- package/dist/components/properties.d.ts +1 -1
- package/dist/components/properties.js +7 -9
- package/dist/components/sdk.d.ts +1 -1
- package/dist/components/sdk.js +8 -9
- package/dist/components/sidebar.d.ts +1 -1
- package/dist/components/sidebar.js +9 -9
- package/dist/components/snippets.d.ts +2 -2
- package/dist/components/snippets.js +7 -9
- package/dist/components-D7M-BwNI.js +71 -0
- package/dist/contexts/component-generics.d.ts +1 -1
- package/dist/contexts/component-generics.js +1 -1
- package/dist/contexts/component-types.d.ts +10 -10
- package/dist/contexts/component.d.ts +13 -13
- package/dist/contexts/component.js +25 -9
- package/dist/contexts/docs.d.ts +1 -1
- package/dist/contexts/docs.js +1 -1
- package/dist/contexts/index.d.ts +16 -17
- package/dist/contexts/index.js +6 -10
- package/dist/contexts/markdown.d.ts +1 -1
- package/dist/contexts/markdown.js +2 -2
- package/dist/contexts/navigation.d.ts +1 -1
- package/dist/contexts/navigation.js +1 -1
- package/dist/contexts/use-components.d.ts +9 -9
- package/dist/contexts/use-components.js +2 -2
- package/dist/contexts-p3rRZDlM.js +39 -0
- package/dist/csharp-CDSxfCZE.js +283 -0
- package/dist/docs-yYrp-uzs.d.ts +47 -0
- package/dist/go-1c3S5ETL.js +303 -0
- package/dist/http-2QNWXH9t.js +330 -0
- package/dist/{index-Dt1TxDPe.d.ts → index-BQpRynot.d.ts} +8 -8
- package/dist/{index-BPQVqZ6-.d.ts → index-CnilsjrJ.d.ts} +30 -30
- package/dist/index-Ct0NcQUK.d.ts +274 -0
- package/dist/{index-D_zoydBM.d.ts → index-D6NhcxHd.d.ts} +6 -7
- package/dist/index-LboM0f0c.d.ts +15 -0
- package/dist/index-avtZIGmX.d.ts +13 -0
- package/dist/index.d.ts +18 -19
- package/dist/index.js +27 -12
- package/dist/java-BbjF_oUI.js +403 -0
- package/dist/languages/csharp.d.ts +10 -10
- package/dist/languages/csharp.js +7 -9
- package/dist/languages/go.d.ts +10 -10
- package/dist/languages/go.js +7 -9
- package/dist/languages/http.d.ts +10 -10
- package/dist/languages/http.js +17 -9
- package/dist/languages/index.d.ts +10 -10
- package/dist/languages/index.js +24 -9
- package/dist/languages/java.d.ts +10 -10
- package/dist/languages/java.js +7 -9
- package/dist/languages/python.d.ts +10 -10
- package/dist/languages/python.js +7 -9
- package/dist/languages/ruby.d.ts +10 -10
- package/dist/languages/ruby.js +7 -9
- package/dist/languages/typescript.d.ts +10 -10
- package/dist/languages/typescript.js +7 -9
- package/dist/languages-BCYZjzuS.js +26 -0
- package/dist/markdown/index.d.ts +4 -3
- package/dist/markdown/index.js +103 -10
- package/dist/markdown/md.js +1 -1
- package/dist/markdown/printer.d.ts +2 -0
- package/dist/markdown/printer.js +28 -0
- package/dist/markdown/utils.d.ts +2 -2
- package/dist/markdown/utils.js +1 -1
- package/dist/{markdown-J4fsbXbi.d.ts → markdown-C8o8WrwG.d.ts} +2 -2
- package/dist/{markdown-Bx-mQFEj.js → markdown-CxdeWgjV.js} +1 -1
- package/dist/markdown-DA2cRtlr.d.ts +22 -0
- package/dist/{method-uqti5jIi.d.ts → method-B6eAtYl2.d.ts} +7 -7
- package/dist/method-CE08mUME.js +115 -0
- package/dist/{navigation-DztmhdsO.d.ts → navigation-BfAVGPgw.d.ts} +3 -3
- package/dist/navigation-CjBnMcop.d.ts +29 -0
- package/dist/{overview-CXiAiRu3.d.ts → overview-CswoJHww.d.ts} +6 -6
- package/dist/overview-DeZSiqFa.d.ts +39 -0
- package/dist/overview-S2hUqPXA.js +139 -0
- package/dist/primitives-BIWfwN5L.js +258 -0
- package/dist/{primitives-CS8fdjfv.d.ts → primitives-Caj5rKBc.d.ts} +9 -9
- package/dist/primitives-CbqXZ-5f.d.ts +97 -0
- package/dist/printer-DBw4S_Jn.d.ts +13 -0
- package/dist/printer-DVZVkqAr.d.ts +13 -0
- package/dist/printer-bNxiG6UB.js +74 -0
- package/dist/{properties-Bf600pp5.d.ts → properties-BkUlpvU4.d.ts} +5 -5
- package/dist/properties-jlGW3USi.js +131 -0
- package/dist/python-USOwFDv_.js +279 -0
- package/dist/{routing-BcGPNh2R.d.ts → routing-CMqh1cTZ.d.ts} +1 -1
- package/dist/routing-Dhmv52Fd.d.ts +54 -0
- package/dist/{routing-BGBmkDBL.js → routing-Wbb7YECB.js} +1 -1
- package/dist/routing.d.ts +1 -1
- package/dist/routing.js +1 -1
- package/dist/ruby-CSvGbSLe.js +387 -0
- package/dist/{sdk-CuOpWo9I.d.ts → sdk-BOwYR0k6.d.ts} +14 -14
- package/dist/sdk-CSCbbn3O.js +336 -0
- package/dist/sdk-CdhDsvo3.d.ts +118 -0
- package/dist/{sidebar-CqfIoVcr.d.ts → sidebar-BXz93vSy.d.ts} +5 -5
- package/dist/sidebar-CWyvCrJ0.js +81 -0
- package/dist/snippets-BQLXEIf6.js +161 -0
- package/dist/{snippets-BwifQYD4.d.ts → snippets-CbVFNmfq.d.ts} +8 -8
- package/dist/snippets-Wjo2dJNw.d.ts +51 -0
- package/dist/spec.d.ts +3 -3
- package/dist/spec.js +2 -2
- package/dist/style.d.ts +1 -1
- package/dist/style.js +1 -1
- package/dist/styles/resets.css +2 -1
- package/dist/styles.css +7 -3
- package/dist/typescript-DXG9psK3.js +449 -0
- package/dist/{use-components-BAHidYIO.js → use-components-RWQbviGq.js} +1 -1
- package/dist/{utils-DAOeBdRL.d.ts → utils-CTGH5e8c.d.ts} +2 -2
- package/dist/utils-DNKOwa7D.d.ts +21 -0
- package/dist/{utils-0z34vxY4.js → utils-D_1AWSRX.js} +2 -2
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +1 -1
- package/package.json +6 -20
- package/dist/contexts/search.d.ts +0 -2
- package/dist/contexts/search.js +0 -11
- package/dist/contexts-D3ClFTt3.js +0 -4117
- package/dist/pagefind-BHm6c3fb.js +0 -15
- package/dist/search/index.d.ts +0 -25
- package/dist/search/index.js +0 -332
- package/dist/search/mcp.d.ts +0 -13
- package/dist/search/mcp.js +0 -43
- package/dist/search/providers/algolia.d.ts +0 -24
- package/dist/search/providers/algolia.js +0 -11
- package/dist/search/providers/fuse.d.ts +0 -18
- package/dist/search/providers/fuse.js +0 -27
- package/dist/search/providers/pagefind.d.ts +0 -6
- package/dist/search/providers/pagefind.js +0 -3
- package/dist/search/providers/walker.d.ts +0 -9
- package/dist/search/providers/walker.js +0 -31
- package/dist/search/types.d.ts +0 -2
- package/dist/search/types.js +0 -3
- package/dist/search-DvzBAFUW.d.ts +0 -21
- package/dist/types-9YHj_ZeX.d.ts +0 -91
- package/dist/types-mRzd9aqe.js +0 -35
- /package/dist/{chunk-BWfJHHBp.js → chunk-DRcLgZ1e.js} +0 -0
- /package/dist/{docs-DGpIHBGY.d.ts → docs-B8-nCRaa.d.ts} +0 -0
- /package/dist/{docs-CNvEp0VL.js → docs-CXqi26jB.js} +0 -0
- /package/dist/{icons-DzBceOQw.js → icons-Ckod9aod.js} +0 -0
- /package/dist/{md-D5AxFoS4.js → md-oM2tUaCA.js} +0 -0
- /package/dist/{navigation-bydkHNUW.js → navigation-C5TN0SgC.js} +0 -0
- /package/dist/{style-D8hwSwrv.d.ts → style-D7RO5ymE.d.ts} +0 -0
- /package/dist/{style-0miv2y38.js → style-gnVEeXFj.js} +0 -0
- /package/dist/{utils-CiZXDoFR.js → utils-CqnL9Fc3.js} +0 -0
- /package/dist/{utils-BcWczffA.d.ts → utils-d8paVwKN.d.ts} +0 -0
package/dist/types-9YHj_ZeX.d.ts
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { t as DocsLanguage } from "./routing-BcGPNh2R.js";
|
|
2
|
-
import * as SDKJSON from "@stainless/sdk-json";
|
|
3
|
-
|
|
4
|
-
//#region src/search/types.d.ts
|
|
5
|
-
type SearchSettings = {
|
|
6
|
-
appId: string;
|
|
7
|
-
searchKey: string;
|
|
8
|
-
indexName: string;
|
|
9
|
-
assistant?: string;
|
|
10
|
-
};
|
|
11
|
-
type SearchParams = {
|
|
12
|
-
query: string;
|
|
13
|
-
language?: DocsLanguage | null;
|
|
14
|
-
kind?: QueryKindsType | null;
|
|
15
|
-
};
|
|
16
|
-
declare const QueryKinds: readonly ["all", "resource", "http_method", "model", "property", "guide"];
|
|
17
|
-
type QueryKindsType = (typeof QueryKinds)[number];
|
|
18
|
-
type IndexModel = {
|
|
19
|
-
kind: 'model';
|
|
20
|
-
title: string;
|
|
21
|
-
children?: string[];
|
|
22
|
-
ident?: string;
|
|
23
|
-
};
|
|
24
|
-
type IndexProperty = {
|
|
25
|
-
kind: 'property';
|
|
26
|
-
docstring?: string;
|
|
27
|
-
type?: string;
|
|
28
|
-
};
|
|
29
|
-
type IndexResource = {
|
|
30
|
-
kind: 'resource';
|
|
31
|
-
title: string;
|
|
32
|
-
Name: string;
|
|
33
|
-
QualifiedName: string;
|
|
34
|
-
};
|
|
35
|
-
type IndexMethod = Pick<SDKJSON.Method, 'kind' | 'summary' | 'description' | 'endpoint' | 'httpMethod'> & {
|
|
36
|
-
title: string;
|
|
37
|
-
qualified?: string;
|
|
38
|
-
ident?: string;
|
|
39
|
-
};
|
|
40
|
-
declare const SearchableAttributes: readonly ["name", "title", "ident", "Name", "qualified", "QualifiedName", "endpoint", "summary", "description", "docstring"];
|
|
41
|
-
declare const SearchableAttributesChat: string[];
|
|
42
|
-
declare const SearchableAttributesProse: string[];
|
|
43
|
-
type SearchAttributeNames = (typeof SearchableAttributes)[number];
|
|
44
|
-
type RoutableJsonNode = SDKJSON.Method | SDKJSON.Model | SDKJSON.Resource;
|
|
45
|
-
type IndexEntry = Pick<RoutableJsonNode, 'name' | 'stainlessPath'> & (IndexProperty | IndexModel | IndexResource | IndexMethod) & {
|
|
46
|
-
language: DocsLanguage;
|
|
47
|
-
priority: number;
|
|
48
|
-
crumbs: string[];
|
|
49
|
-
};
|
|
50
|
-
type ResultRecordType = IndexEntry & {
|
|
51
|
-
objectID: string;
|
|
52
|
-
_highlightResult: Record<SearchAttributeNames, {
|
|
53
|
-
value: string;
|
|
54
|
-
}>;
|
|
55
|
-
};
|
|
56
|
-
type ResultType = {
|
|
57
|
-
hits: ResultRecordType[];
|
|
58
|
-
facets?: Record<string, Record<string, number>>;
|
|
59
|
-
nbHits: number;
|
|
60
|
-
};
|
|
61
|
-
type GuideResultType = {
|
|
62
|
-
id: string;
|
|
63
|
-
score: number;
|
|
64
|
-
words: number[];
|
|
65
|
-
data: {
|
|
66
|
-
excerpt: string;
|
|
67
|
-
url: string;
|
|
68
|
-
word_count: number;
|
|
69
|
-
meta: {
|
|
70
|
-
title: string;
|
|
71
|
-
};
|
|
72
|
-
sub_results: {
|
|
73
|
-
url: string;
|
|
74
|
-
title: string;
|
|
75
|
-
excerpt: string;
|
|
76
|
-
}[];
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
type ResultData = {
|
|
80
|
-
items: Array<ResultRecordType | GuideResultType>;
|
|
81
|
-
counts: Partial<Record<QueryKindsType, number>>;
|
|
82
|
-
};
|
|
83
|
-
type ProseIndexEntry = {
|
|
84
|
-
id?: string;
|
|
85
|
-
tag: string;
|
|
86
|
-
content: string;
|
|
87
|
-
source?: string;
|
|
88
|
-
[additional: string]: unknown;
|
|
89
|
-
};
|
|
90
|
-
//#endregion
|
|
91
|
-
export { SearchableAttributes as _, IndexProperty as a, QueryKinds as c, ResultRecordType as d, ResultType as f, SearchSettings as g, SearchParams as h, IndexModel as i, QueryKindsType as l, SearchAttributeNames as m, IndexEntry as n, IndexResource as o, RoutableJsonNode as p, IndexMethod as r, ProseIndexEntry as s, GuideResultType as t, ResultData as u, SearchableAttributesChat as v, SearchableAttributesProse as y };
|
package/dist/types-mRzd9aqe.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
//#region src/search/types.ts
|
|
2
|
-
const QueryKinds = [
|
|
3
|
-
"all",
|
|
4
|
-
"resource",
|
|
5
|
-
"http_method",
|
|
6
|
-
"model",
|
|
7
|
-
"property",
|
|
8
|
-
"guide"
|
|
9
|
-
];
|
|
10
|
-
const SearchableAttributes = [
|
|
11
|
-
"name",
|
|
12
|
-
"title",
|
|
13
|
-
"ident",
|
|
14
|
-
"Name",
|
|
15
|
-
"qualified",
|
|
16
|
-
"QualifiedName",
|
|
17
|
-
"endpoint",
|
|
18
|
-
"summary",
|
|
19
|
-
"description",
|
|
20
|
-
"docstring"
|
|
21
|
-
];
|
|
22
|
-
const SearchableAttributesChat = [
|
|
23
|
-
"title",
|
|
24
|
-
"name",
|
|
25
|
-
"endpoint",
|
|
26
|
-
"summary",
|
|
27
|
-
"description",
|
|
28
|
-
"qualified",
|
|
29
|
-
"ident",
|
|
30
|
-
"content"
|
|
31
|
-
];
|
|
32
|
-
const SearchableAttributesProse = ["content"];
|
|
33
|
-
|
|
34
|
-
//#endregion
|
|
35
|
-
export { SearchableAttributesProse as i, SearchableAttributes as n, SearchableAttributesChat as r, QueryKinds as t };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|