@stainless-api/docs-search 0.1.0-beta.13 → 0.1.0-beta.14
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/{algolia-D_93RHAi.js → algolia-gvZUkKkS.js} +2 -2
- package/dist/{context-0GQv8iCh.js → context-BeqLpg4u.js} +1 -1
- package/dist/context.d.ts +1 -1
- package/dist/context.js +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -6
- package/dist/mcp.d.ts +1 -1
- package/dist/mcp.js +1 -1
- package/dist/providers/algolia.d.ts +1 -1
- package/dist/providers/algolia.js +2 -2
- package/dist/providers/fuse.d.ts +1 -1
- package/dist/providers/fuse.js +2 -2
- package/dist/providers/pagefind.d.ts +1 -1
- package/dist/providers/pagefind.js +1 -1
- package/dist/providers/walker.d.ts +1 -1
- package/dist/providers/walker.js +2 -2
- package/dist/types.d.ts +1 -1
- package/dist/types.js +1 -1
- package/package.json +4 -4
- /package/dist/{indexer-DBU0POrK.js → indexer-BDmIxFRi.js} +0 -0
- /package/dist/{pagefind-Dcn-gjDe.js → pagefind-DCvI8YmZ.js} +0 -0
- /package/dist/{types-BZl4rMG9.js → types-DyGUPDP0.js} +0 -0
- /package/dist/{types-B5G2N6Aw.d.ts → types-fPzO2V0p.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as generateIndex, t as generateChatIndex } from "./indexer-
|
|
2
|
-
import { i as SearchableAttributesProse, n as SearchableAttributes, r as SearchableAttributesChat } from "./types-
|
|
1
|
+
import { n as generateIndex, t as generateChatIndex } from "./indexer-BDmIxFRi.js";
|
|
2
|
+
import { i as SearchableAttributesProse, n as SearchableAttributes, r as SearchableAttributesChat } from "./types-DyGUPDP0.js";
|
|
3
3
|
import { searchClient } from "@algolia/client-search";
|
|
4
4
|
|
|
5
5
|
//#region src/providers/algolia.ts
|
package/dist/context.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-fPzO2V0p.js";
|
|
2
2
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/context.d.ts
|
package/dist/context.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./indexer-
|
|
2
|
-
import "./algolia-
|
|
3
|
-
import { n as useSearch, r as useSearchContext, t as SearchProvider } from "./context-
|
|
1
|
+
import "./indexer-BDmIxFRi.js";
|
|
2
|
+
import "./algolia-gvZUkKkS.js";
|
|
3
|
+
import { n as useSearch, r as useSearchContext, t as SearchProvider } from "./context-BeqLpg4u.js";
|
|
4
4
|
|
|
5
5
|
export { SearchProvider, useSearch, useSearchContext };
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./indexer-
|
|
2
|
-
import { t as QueryKinds } from "./types-
|
|
3
|
-
import "./algolia-
|
|
4
|
-
import { n as useSearch, r as useSearchContext } from "./context-
|
|
5
|
-
import { t as guideSearch } from "./pagefind-
|
|
1
|
+
import "./indexer-BDmIxFRi.js";
|
|
2
|
+
import { t as QueryKinds } from "./types-DyGUPDP0.js";
|
|
3
|
+
import "./algolia-gvZUkKkS.js";
|
|
4
|
+
import { n as useSearch, r as useSearchContext } from "./context-BeqLpg4u.js";
|
|
5
|
+
import { t as guideSearch } from "./pagefind-DCvI8YmZ.js";
|
|
6
6
|
import { createElement, useEffect, useRef, useState } from "react";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { BookOpenText, Box, Code, Folder, Search, Wrench } from "lucide-react";
|
|
@@ -276,7 +276,7 @@ function SearchForm() {
|
|
|
276
276
|
/* @__PURE__ */ jsx(SearchFilter, {
|
|
277
277
|
results,
|
|
278
278
|
filterKind,
|
|
279
|
-
onChange: (filterKind
|
|
279
|
+
onChange: (filterKind) => setFilterKind(filterKind)
|
|
280
280
|
}),
|
|
281
281
|
/* @__PURE__ */ jsx(Docs.ListView, {
|
|
282
282
|
items: results?.items ?? [],
|
package/dist/mcp.d.ts
CHANGED
package/dist/mcp.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as generateIndex } from "./indexer-
|
|
1
|
+
import { n as generateIndex } from "./indexer-BDmIxFRi.js";
|
|
2
2
|
import { parseStainlessPath } from "@stainless-api/docs-ui/routing";
|
|
3
3
|
import { renderMarkdown } from "@stainless-api/docs-ui/markdown";
|
|
4
4
|
import { getResourceFromSpec } from "@stainless-api/docs-ui/utils";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as Spec, f as ResultType, g as SearchSettings, h as SearchParams, s as ProseIndexEntry } from "../types-
|
|
1
|
+
import { b as Spec, f as ResultType, g as SearchSettings, h as SearchParams, s as ProseIndexEntry } from "../types-fPzO2V0p.js";
|
|
2
2
|
|
|
3
3
|
//#region src/providers/algolia.d.ts
|
|
4
4
|
declare function buildIndex(appId: string, indexName: string, writeKey: string, spec: Spec, renderMarkdown: (_: string) => string | null): Promise<void>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../indexer-
|
|
2
|
-
import { i as search, n as buildIndex, r as buildProseIndex, t as buildChatIndex } from "../algolia-
|
|
1
|
+
import "../indexer-BDmIxFRi.js";
|
|
2
|
+
import { i as search, n as buildIndex, r as buildProseIndex, t as buildChatIndex } from "../algolia-gvZUkKkS.js";
|
|
3
3
|
|
|
4
4
|
export { buildChatIndex, buildIndex, buildProseIndex, search };
|
package/dist/providers/fuse.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as Spec, n as IndexEntry } from "../types-
|
|
1
|
+
import { b as Spec, n as IndexEntry } from "../types-fPzO2V0p.js";
|
|
2
2
|
import { DocsLanguage } from "@stainless-api/docs-ui/routing";
|
|
3
3
|
import * as fuse_js0 from "fuse.js";
|
|
4
4
|
import { FuseIndex } from "fuse.js";
|
package/dist/providers/fuse.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as generateIndex } from "../indexer-
|
|
2
|
-
import { n as SearchableAttributes } from "../types-
|
|
1
|
+
import { n as generateIndex } from "../indexer-BDmIxFRi.js";
|
|
2
|
+
import { n as SearchableAttributes } from "../types-DyGUPDP0.js";
|
|
3
3
|
import Fuse from "fuse.js";
|
|
4
4
|
|
|
5
5
|
//#region src/providers/fuse.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as GuideResultType } from "../types-
|
|
1
|
+
import { t as GuideResultType } from "../types-fPzO2V0p.js";
|
|
2
2
|
|
|
3
3
|
//#region src/providers/pagefind.d.ts
|
|
4
4
|
declare function guideSearch(loadPath: string, query: string, limit?: number): Promise<GuideResultType[]>;
|
package/dist/providers/walker.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as generateIndex } from "../indexer-
|
|
2
|
-
import { n as SearchableAttributes } from "../types-
|
|
1
|
+
import { n as generateIndex } from "../indexer-BDmIxFRi.js";
|
|
2
|
+
import { n as SearchableAttributes } from "../types-DyGUPDP0.js";
|
|
3
3
|
|
|
4
4
|
//#region src/providers/walker.ts
|
|
5
5
|
function buildIndex(spec) {
|
package/dist/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
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 { _ 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-fPzO2V0p.js";
|
|
2
2
|
export { GuideResultType, IndexEntry, IndexMethod, IndexModel, IndexProperty, IndexResource, ProseIndexEntry, QueryKinds, QueryKindsType, ResultData, ResultRecordType, ResultType, RoutableJsonNode, SearchAttributeNames, SearchParams, SearchSettings, SearchableAttributes, SearchableAttributesChat, SearchableAttributesProse };
|
package/dist/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-DyGUPDP0.js";
|
|
2
2
|
|
|
3
3
|
export { QueryKinds, SearchableAttributes, SearchableAttributesChat, SearchableAttributesProse };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stainless-api/docs-search",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.14",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"fuse.js": "^7.1.0",
|
|
20
20
|
"htmlparser2": "^10.0.0",
|
|
21
21
|
"lucide-react": "^0.562.0",
|
|
22
|
-
"@stainless-api/docs-ui": "0.1.0-beta.
|
|
23
|
-
"@stainless-api/ui-primitives": "0.1.0-beta.
|
|
22
|
+
"@stainless-api/docs-ui": "0.1.0-beta.61",
|
|
23
|
+
"@stainless-api/ui-primitives": "0.1.0-beta.45"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/node": "24.10.9",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"dotenv": "17.2.3",
|
|
30
30
|
"react": "^19.2.3",
|
|
31
31
|
"react-dom": "^19.2.3",
|
|
32
|
-
"tsdown": "^0.20.0
|
|
32
|
+
"tsdown": "^0.20.0",
|
|
33
33
|
"typescript": "5.9.3",
|
|
34
34
|
"@stainless/eslint-config": "0.1.0-beta.1",
|
|
35
35
|
"@stainless/sdk-json": "^0.1.0-beta.3"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|