@stainless-api/docs-search 0.1.0-beta.45 → 0.1.0-beta.46
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/indexer.d.ts +1 -1
- package/dist/mcp.d.ts +1 -1
- package/dist/providers/algolia.d.ts +1 -1
- package/dist/providers/fuse.d.ts +1 -1
- package/dist/providers/pagefind.d.ts +1 -1
- package/dist/providers/walker.d.ts +1 -1
- package/dist/{types-O3Jwo7Us.d.ts → types-DH8q6hlw.d.ts} +4 -2
- package/dist/types.d.ts +1 -1
- package/package.json +8 -9
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-DH8q6hlw.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
package/dist/indexer.d.ts
CHANGED
package/dist/mcp.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as IndexEntry, r as IndexMethod, x as Spec } from "./types-
|
|
1
|
+
import { n as IndexEntry, r as IndexMethod, x as Spec } from "./types-DH8q6hlw.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-
|
|
1
|
+
import { f as ResultType, g as SearchSettings, h as SearchParams, n as IndexEntry, s as ProseIndexEntry, x as Spec } from "../types-DH8q6hlw.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>;
|
package/dist/providers/fuse.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as IndexEntry, x as Spec } from "../types-
|
|
1
|
+
import { n as IndexEntry, x as Spec } from "../types-DH8q6hlw.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-
|
|
1
|
+
import { t as GuideResultType } from "../types-DH8q6hlw.js";
|
|
2
2
|
|
|
3
3
|
//#region src/providers/pagefind.d.ts
|
|
4
4
|
declare function guideSearch(loadPath: string, query: string, limit?: number): Promise<GuideResultType[]>;
|
|
@@ -168,8 +168,8 @@ interface Config {
|
|
|
168
168
|
}[] | undefined;
|
|
169
169
|
} | undefined;
|
|
170
170
|
}
|
|
171
|
-
type InternalDiagnosticLevel = 'fatal' | 'internal_error' | 'error' | 'warning' | 'note';
|
|
172
|
-
type DiagnosticLevel = Exclude<InternalDiagnosticLevel, 'internal_error'>;
|
|
171
|
+
type InternalDiagnosticLevel = 'fatal' | 'user_generated_fatal' | 'internal_error' | 'error' | 'warning' | 'note';
|
|
172
|
+
type DiagnosticLevel = Exclude<InternalDiagnosticLevel, 'user_generated_fatal' | 'internal_error'>;
|
|
173
173
|
type AutoFixOp = SimplifyDeep<{
|
|
174
174
|
file: 'config';
|
|
175
175
|
} & Operation>;
|
|
@@ -877,6 +877,7 @@ type RubyIdentifier = string;
|
|
|
877
877
|
type RubyDeclReference = BaseDeclaration & {
|
|
878
878
|
kind: 'RubyDeclReference';
|
|
879
879
|
docstring?: string;
|
|
880
|
+
ident?: RubyIdentifier;
|
|
880
881
|
type: RubyType;
|
|
881
882
|
children?: ID[];
|
|
882
883
|
};
|
|
@@ -890,6 +891,7 @@ type RubyTypeReference = BaseType & {
|
|
|
890
891
|
};
|
|
891
892
|
type RubyTypeObject = BaseType & {
|
|
892
893
|
kind: 'RubyTypeObject';
|
|
894
|
+
ident: RubyIdentifier | null;
|
|
893
895
|
members: {
|
|
894
896
|
ident: RubyIdentifier;
|
|
895
897
|
optional?: boolean;
|
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-DH8q6hlw.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.
|
|
3
|
+
"version": "0.1.0-beta.46",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -15,23 +15,22 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@algolia/client-search": "^5.50.1",
|
|
17
17
|
"@markdoc/markdoc": "^0.5.7",
|
|
18
|
-
"
|
|
19
|
-
"fuse.js": "^7.2.0",
|
|
18
|
+
"fuse.js": "^7.3.0",
|
|
20
19
|
"lucide-react": "^0.577.0",
|
|
21
|
-
"@stainless-api/
|
|
22
|
-
"@stainless-api/ui
|
|
20
|
+
"@stainless-api/ui-primitives": "0.1.0-beta.53",
|
|
21
|
+
"@stainless-api/docs-ui": "0.1.0-beta.93"
|
|
23
22
|
},
|
|
24
23
|
"devDependencies": {
|
|
25
|
-
"@types/node": "24.12.
|
|
24
|
+
"@types/node": "24.12.2",
|
|
26
25
|
"@types/react": "19.2.14",
|
|
27
26
|
"@types/react-dom": "^19.2.3",
|
|
28
|
-
"dotenv": "17.4.
|
|
27
|
+
"dotenv": "17.4.1",
|
|
29
28
|
"react": "^19.2.4",
|
|
30
29
|
"react-dom": "^19.2.4",
|
|
31
30
|
"tsdown": "^0.21.7",
|
|
32
31
|
"typescript": "6.0.2",
|
|
33
|
-
"@stainless/eslint-config": "0.1.0-beta.
|
|
34
|
-
"@stainless/sdk-json": "^0.1.0-beta.
|
|
32
|
+
"@stainless/eslint-config": "0.1.0-beta.2",
|
|
33
|
+
"@stainless/sdk-json": "^0.1.0-beta.10"
|
|
35
34
|
},
|
|
36
35
|
"exports": {
|
|
37
36
|
".": {
|