@stainless-api/docs-search 0.1.0-beta.30 → 0.1.0-beta.32

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.
@@ -167,13 +167,14 @@ interface Config {
167
167
  }[] | undefined;
168
168
  } | undefined;
169
169
  }
170
- type DiagnosticLevel = 'fatal' | 'error' | 'warning' | 'note';
170
+ type InternalDiagnosticLevel = 'fatal' | 'internal_error' | 'error' | 'warning' | 'note';
171
+ type DiagnosticLevel = Exclude<InternalDiagnosticLevel, 'internal_error'>;
171
172
  type AutoFixOp = SimplifyDeep<{
172
173
  file: 'config';
173
174
  } & Operation>;
174
- type DiagnosticExport = {
175
+ type DiagnosticInfo = {
175
176
  code: string;
176
- level: DiagnosticLevel;
177
+ level: InternalDiagnosticLevel;
177
178
  ignored: boolean;
178
179
  message: string;
179
180
  messageHtml: string;
@@ -191,6 +192,12 @@ type DiagnosticExport = {
191
192
  autoFixPlan: AutoFixOp[] | null;
192
193
  trace?: string;
193
194
  };
195
+ type DiagnosticExport = DiagnosticInfo & {
196
+ level: DiagnosticLevel;
197
+ };
198
+ type SDKSchemaReference = never;
199
+ type SDKSchemaType = string;
200
+ type SDKPropertySchemaReference<T = never> = never;
194
201
  type HttpDeclaration = HttpDeclFunction | HttpDeclProperty | HttpDeclTypeAlias | HttpDeclReference | ErrorDecl;
195
202
  type HttpDeclFunction = BaseDeclaration & {
196
203
  kind: 'HttpDeclFunction';
@@ -415,9 +422,6 @@ type RubyTypeBinary = BaseType & {
415
422
  type RubyTypeUnknown = BaseType & {
416
423
  kind: 'RubyTypeUnknown';
417
424
  };
418
- type SDKSchemaReference = never;
419
- type SDKSchemaType = string;
420
- type SDKPropertySchemaReference<T = never> = never;
421
425
  /**
422
426
  * Base declaration types for CLI command AST
423
427
  */
package/dist/indexer.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { i as Spec, r as Resource } from "./index-ax9-8vsm.js";
1
+ import { i as Spec, r as Resource } from "./index-BT26toSx.js";
2
2
  import { IndexEntry } from "./types.js";
3
3
  import { DocsLanguage } from "@stainless-api/docs-ui/routing";
4
4
 
package/dist/mcp.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { i as Spec } from "./index-ax9-8vsm.js";
1
+ import { i as Spec } from "./index-BT26toSx.js";
2
2
  import { IndexEntry, IndexMethod } from "./types.js";
3
3
  import { generateIndex } from "./indexer.js";
4
4
  import { DocsLanguage } from "@stainless-api/docs-ui/routing";
@@ -1,4 +1,4 @@
1
- import { i as Spec } from "../index-ax9-8vsm.js";
1
+ import { i as Spec } from "../index-BT26toSx.js";
2
2
  import { IndexEntry, ProseIndexEntry, ResultType, SearchParams, SearchSettings } from "../types.js";
3
3
 
4
4
  //#region src/providers/algolia.d.ts
@@ -1,4 +1,4 @@
1
- import { i as Spec } from "../index-ax9-8vsm.js";
1
+ import { i as Spec } from "../index-BT26toSx.js";
2
2
  import { IndexEntry } from "../types.js";
3
3
  import { DocsLanguage } from "@stainless-api/docs-ui/routing";
4
4
  import * as fuse_js0 from "fuse.js";
@@ -1,4 +1,4 @@
1
- import { i as Spec } from "../index-ax9-8vsm.js";
1
+ import { i as Spec } from "../index-BT26toSx.js";
2
2
  import { IndexEntry } from "../types.js";
3
3
  import { DocsLanguage } from "@stainless-api/docs-ui/routing";
4
4
 
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as Model, r as Resource, t as Method } from "./index-ax9-8vsm.js";
1
+ import { n as Model, r as Resource, t as Method } from "./index-BT26toSx.js";
2
2
  import { DocsLanguage } from "@stainless-api/docs-ui/routing";
3
3
 
4
4
  //#region src/types.d.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stainless-api/docs-search",
3
- "version": "0.1.0-beta.30",
3
+ "version": "0.1.0-beta.32",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -13,26 +13,26 @@
13
13
  "react-dom": ">=19.0.0"
14
14
  },
15
15
  "dependencies": {
16
- "@algolia/client-search": "^5.46.3",
16
+ "@algolia/client-search": "^5.49.1",
17
17
  "@markdoc/markdoc": "^0.5.4",
18
- "cheerio": "^1.1.2",
18
+ "cheerio": "^1.2.0",
19
19
  "fuse.js": "^7.1.0",
20
20
  "htmlparser2": "^10.1.0",
21
- "lucide-react": "^0.562.0",
22
- "@stainless-api/docs-ui": "0.1.0-beta.77",
23
- "@stainless-api/ui-primitives": "0.1.0-beta.48"
21
+ "lucide-react": "^0.574.0",
22
+ "@stainless-api/docs-ui": "0.1.0-beta.79",
23
+ "@stainless-api/ui-primitives": "0.1.0-beta.49"
24
24
  },
25
25
  "devDependencies": {
26
- "@types/node": "24.10.9",
27
- "@types/react": "19.2.10",
26
+ "@types/node": "24.10.13",
27
+ "@types/react": "19.2.14",
28
28
  "@types/react-dom": "^19.2.3",
29
- "dotenv": "17.2.3",
29
+ "dotenv": "17.3.1",
30
30
  "react": "^19.2.4",
31
31
  "react-dom": "^19.2.4",
32
32
  "tsdown": "^0.20.3",
33
33
  "typescript": "5.9.3",
34
34
  "@stainless/eslint-config": "0.1.0-beta.1",
35
- "@stainless/sdk-json": "^0.1.0-beta.7"
35
+ "@stainless/sdk-json": "^0.1.0-beta.8"
36
36
  },
37
37
  "exports": {
38
38
  ".": {