@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.
@@ -1,5 +1,5 @@
1
- import { n as generateIndex, t as generateChatIndex } from "./indexer-DBU0POrK.js";
2
- import { i as SearchableAttributesProse, n as SearchableAttributes, r as SearchableAttributesChat } from "./types-BZl4rMG9.js";
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
@@ -1,4 +1,4 @@
1
- import { i as search } from "./algolia-D_93RHAi.js";
1
+ import { i as search } from "./algolia-gvZUkKkS.js";
2
2
  import { createContext, useCallback, useContext } from "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
 
package/dist/context.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { f as ResultType, g as SearchSettings, h as SearchParams } from "./types-B5G2N6Aw.js";
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-DBU0POrK.js";
2
- import "./algolia-D_93RHAi.js";
3
- import { n as useSearch, r as useSearchContext, t as SearchProvider } from "./context-0GQv8iCh.js";
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
@@ -1,4 +1,4 @@
1
- import { l as QueryKindsType, u as ResultData } from "./types-B5G2N6Aw.js";
1
+ import { l as QueryKindsType, u as ResultData } from "./types-fPzO2V0p.js";
2
2
  import * as react_jsx_runtime0 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/form.d.ts
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
- import "./indexer-DBU0POrK.js";
2
- import { t as QueryKinds } from "./types-BZl4rMG9.js";
3
- import "./algolia-D_93RHAi.js";
4
- import { n as useSearch, r as useSearchContext } from "./context-0GQv8iCh.js";
5
- import { t as guideSearch } from "./pagefind-Dcn-gjDe.js";
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$1) => setFilterKind(filterKind$1)
279
+ onChange: (filterKind) => setFilterKind(filterKind)
280
280
  }),
281
281
  /* @__PURE__ */ jsx(Docs.ListView, {
282
282
  items: results?.items ?? [],
package/dist/mcp.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { b as Spec, n as IndexEntry, r as IndexMethod } from "./types-B5G2N6Aw.js";
1
+ import { b as Spec, n as IndexEntry, r as IndexMethod } from "./types-fPzO2V0p.js";
2
2
  import { DocsLanguage } from "@stainless-api/docs-ui/routing";
3
3
 
4
4
  //#region src/indexer.d.ts
package/dist/mcp.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n as generateIndex } from "./indexer-DBU0POrK.js";
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-B5G2N6Aw.js";
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-DBU0POrK.js";
2
- import { i as search, n as buildIndex, r as buildProseIndex, t as buildChatIndex } from "../algolia-D_93RHAi.js";
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 };
@@ -1,4 +1,4 @@
1
- import { b as Spec, n as IndexEntry } from "../types-B5G2N6Aw.js";
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";
@@ -1,5 +1,5 @@
1
- import { n as generateIndex } from "../indexer-DBU0POrK.js";
2
- import { n as SearchableAttributes } from "../types-BZl4rMG9.js";
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-B5G2N6Aw.js";
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[]>;
@@ -1,3 +1,3 @@
1
- import { t as guideSearch } from "../pagefind-Dcn-gjDe.js";
1
+ import { t as guideSearch } from "../pagefind-DCvI8YmZ.js";
2
2
 
3
3
  export { guideSearch };
@@ -1,4 +1,4 @@
1
- import { b as Spec, n as IndexEntry } from "../types-B5G2N6Aw.js";
1
+ import { b as Spec, n as IndexEntry } from "../types-fPzO2V0p.js";
2
2
  import { DocsLanguage } from "@stainless-api/docs-ui/routing";
3
3
 
4
4
  //#region src/providers/walker.d.ts
@@ -1,5 +1,5 @@
1
- import { n as generateIndex } from "../indexer-DBU0POrK.js";
2
- import { n as SearchableAttributes } from "../types-BZl4rMG9.js";
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-B5G2N6Aw.js";
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-BZl4rMG9.js";
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.13",
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.60",
23
- "@stainless-api/ui-primitives": "0.1.0-beta.44"
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-beta.3",
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