@stainless-api/docs-search 0.1.0-beta.25 → 0.1.0-beta.26

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/context.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { f as ResultType, g as SearchSettings, h as SearchParams } from "./types-CvCRt8tg.js";
1
+ import { f as ResultType, g as SearchSettings, h as SearchParams } from "./types-C_uoiqUJ.js";
2
2
  import * as react_jsx_runtime0 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/context.d.ts
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { l as QueryKindsType, u as ResultData } from "./types-CvCRt8tg.js";
1
+ import { l as QueryKindsType, u as ResultData } from "./types-C_uoiqUJ.js";
2
2
  import * as react_jsx_runtime0 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/form.d.ts
package/dist/indexer.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { b as Resource, n as IndexEntry, x as Spec } from "./types-CvCRt8tg.js";
1
+ import { b as Resource, n as IndexEntry, x as Spec } from "./types-C_uoiqUJ.js";
2
2
  import { DocsLanguage } from "@stainless-api/docs-ui/routing";
3
3
 
4
4
  //#region src/indexer.d.ts
@@ -17,7 +17,7 @@ declare function generateChatIndex(spec: Spec): Generator<{
17
17
  qualified?: undefined;
18
18
  ident?: undefined;
19
19
  } | {
20
- language: "cli" | "csharp" | "go" | "http" | "java" | "kotlin" | "node" | "php" | "python" | "ruby" | "terraform" | "typescript";
20
+ language: "node" | "cli" | "csharp" | "go" | "http" | "java" | "kotlin" | "php" | "python" | "ruby" | "terraform" | "typescript";
21
21
  title: string;
22
22
  name: string;
23
23
  endpoint: string;
package/dist/mcp.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as IndexEntry, r as IndexMethod, x as Spec } from "./types-CvCRt8tg.js";
1
+ import { n as IndexEntry, r as IndexMethod, x as Spec } from "./types-C_uoiqUJ.js";
2
2
  import { generateIndex } from "./indexer.js";
3
3
  import { DocsLanguage } from "@stainless-api/docs-ui/routing";
4
4
 
@@ -1,4 +1,4 @@
1
- import { f as ResultType, g as SearchSettings, h as SearchParams, n as IndexEntry, s as ProseIndexEntry, x as Spec } from "../types-CvCRt8tg.js";
1
+ import { f as ResultType, g as SearchSettings, h as SearchParams, n as IndexEntry, s as ProseIndexEntry, x as Spec } from "../types-C_uoiqUJ.js";
2
2
 
3
3
  //#region src/providers/algolia.d.ts
4
4
  declare function buildIndex(appId: string, indexName: string, writeKey: string, content: Spec | IndexEntry[], renderMarkdown: (_: string) => string | null): Promise<void>;
@@ -1,4 +1,4 @@
1
- import { n as IndexEntry, x as Spec } from "../types-CvCRt8tg.js";
1
+ import { n as IndexEntry, x as Spec } from "../types-C_uoiqUJ.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,4 +1,4 @@
1
- import { t as GuideResultType } from "../types-CvCRt8tg.js";
1
+ import { t as GuideResultType } from "../types-C_uoiqUJ.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,4 +1,4 @@
1
- import { n as IndexEntry, x as Spec } from "../types-CvCRt8tg.js";
1
+ import { n as IndexEntry, x as Spec } from "../types-C_uoiqUJ.js";
2
2
  import { DocsLanguage } from "@stainless-api/docs-ui/routing";
3
3
 
4
4
  //#region src/providers/walker.d.ts
@@ -153,7 +153,7 @@ interface Config {
153
153
  } | undefined;
154
154
  } | undefined;
155
155
  description?: string | undefined;
156
- languages?: ('node' | 'typescript' | 'python' | 'java' | 'kotlin' | 'go' | 'ruby' | 'terraform' | 'http')[] | undefined;
156
+ languages?: SupportedLanguage[] | undefined;
157
157
  snippets?: {
158
158
  exclude_languages?: string[] | undefined;
159
159
  } | undefined;
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-CvCRt8tg.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-C_uoiqUJ.js";
2
2
  export { GuideResultType, IndexEntry, IndexMethod, IndexModel, IndexProperty, IndexResource, ProseIndexEntry, QueryKinds, QueryKindsType, ResultData, ResultRecordType, ResultType, RoutableJsonNode, SearchAttributeNames, SearchParams, SearchSettings, 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.25",
3
+ "version": "0.1.0-beta.26",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -19,7 +19,7 @@
19
19
  "fuse.js": "^7.1.0",
20
20
  "htmlparser2": "^10.1.0",
21
21
  "lucide-react": "^0.562.0",
22
- "@stainless-api/docs-ui": "0.1.0-beta.72",
22
+ "@stainless-api/docs-ui": "0.1.0-beta.73",
23
23
  "@stainless-api/ui-primitives": "0.1.0-beta.47"
24
24
  },
25
25
  "devDependencies": {
@@ -32,7 +32,7 @@
32
32
  "tsdown": "^0.20.0",
33
33
  "typescript": "5.9.3",
34
34
  "@stainless/eslint-config": "0.1.0-beta.1",
35
- "@stainless/sdk-json": "^0.1.0-beta.5"
35
+ "@stainless/sdk-json": "^0.1.0-beta.6"
36
36
  },
37
37
  "exports": {
38
38
  ".": {