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

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.
@@ -299,129 +299,6 @@ type HttpTypeBinary = BaseType & {
299
299
  type HttpTypeUnknown = BaseType & {
300
300
  kind: 'HttpTypeUnknown';
301
301
  };
302
- type RubyDeclaration = RubyDeclFunction | RubyDeclClass | RubyDeclProperty | RubyDeclTypeAlias | RubyDeclReference | ErrorDecl;
303
- type RubyDeclFunction = BaseDeclaration & {
304
- kind: 'RubyDeclFunction';
305
- ident: RubyIdentifier;
306
- args: RubyFunctionArgument[];
307
- qualified?: string;
308
- returns?: RubyType;
309
- paramsChildren?: ID[];
310
- bodyParamsChildren?: Record<string, ID[]>;
311
- responseChildren?: ID[];
312
- };
313
- type RubyFunctionArgument = {
314
- kind: 'RubyFunctionArgument';
315
- ident: RubyIdentifier;
316
- optional: boolean;
317
- type: RubyType;
318
- };
319
- type RubyDeclProperty = BaseDeclaration & {
320
- kind: 'RubyDeclProperty';
321
- ident: string;
322
- docstring?: string;
323
- title?: string;
324
- location?: string;
325
- type: RubyType;
326
- constraints?: Constraints;
327
- optional?: boolean;
328
- examples?: unknown[];
329
- schemaType?: SchemaType;
330
- modelPath?: string;
331
- childrenParentSchema?: SchemaType;
332
- children?: ID[];
333
- };
334
- type RubyDeclClass = BaseDeclaration & {
335
- kind: 'RubyDeclClass';
336
- ident: string;
337
- docstring?: string;
338
- type: RubyType;
339
- optional?: boolean;
340
- children?: ID[];
341
- };
342
- type RubyDeclTypeAlias = BaseDeclaration & {
343
- kind: 'RubyDeclTypeAlias';
344
- docstring?: string;
345
- ident: RubyIdentifier;
346
- typeParameters?: RubyTypeParameter[];
347
- type: RubyType;
348
- children?: ID[];
349
- };
350
- type RubyTypeParameter = {
351
- kind: 'RubyTypeParameter';
352
- name: RubyIdentifier;
353
- constraint?: RubyType;
354
- default?: RubyType;
355
- };
356
- type RubyIdentifier = string;
357
- type RubyDeclReference = BaseDeclaration & {
358
- kind: 'RubyDeclReference';
359
- docstring?: string;
360
- type: RubyType;
361
- children?: ID[];
362
- };
363
- type RubyType = RubyTypeReference | RubyTypeObject | RubyTypeArray | RubyTypeMap | RubyTypeString | RubyTypeInteger | RubyTypeFloat | RubyTypeBoolean | RubyTypeNull | RubyTypeBinary | RubyTypeUnknown | RubyTypeLiteral | RubyTypeUnion | RubyTypeIntersection | RubyTypeBuiltinClass;
364
- type RubyTypeReference = BaseType & {
365
- kind: 'RubyTypeReference';
366
- ident: RubyIdentifier;
367
- typeParameters?: RubyType[];
368
- schemaType?: SchemaType;
369
- $ref?: ID;
370
- };
371
- type RubyTypeObject = BaseType & {
372
- kind: 'RubyTypeObject';
373
- members: {
374
- ident: RubyIdentifier;
375
- optional?: boolean;
376
- }[];
377
- };
378
- type RubyTypeMap = BaseType & {
379
- kind: 'RubyTypeMap';
380
- indexType: RubyType;
381
- itemType: RubyType;
382
- };
383
- type RubyTypeArray = BaseType & {
384
- kind: 'RubyTypeArray';
385
- elementType: RubyType;
386
- };
387
- type RubyTypeUnion = BaseType & {
388
- kind: 'RubyTypeUnion';
389
- types: RubyType[];
390
- };
391
- type RubyTypeIntersection = BaseType & {
392
- kind: 'RubyTypeIntersection';
393
- types: RubyType[];
394
- };
395
- type RubyTypeLiteral = BaseType & {
396
- kind: 'RubyTypeLiteral';
397
- literal: string | boolean | number;
398
- };
399
- type RubyTypeBuiltinClass = BaseType & {
400
- kind: 'RubyTypeBuiltinClass';
401
- className: string;
402
- };
403
- type RubyTypeString = BaseType & {
404
- kind: 'RubyTypeString';
405
- };
406
- type RubyTypeInteger = BaseType & {
407
- kind: 'RubyTypeInteger';
408
- };
409
- type RubyTypeFloat = BaseType & {
410
- kind: 'RubyTypeFloat';
411
- };
412
- type RubyTypeBoolean = BaseType & {
413
- kind: 'RubyTypeBoolean';
414
- };
415
- type RubyTypeNull = BaseType & {
416
- kind: 'RubyTypeNull';
417
- };
418
- type RubyTypeBinary = BaseType & {
419
- kind: 'RubyTypeBinary';
420
- contentType: string[];
421
- };
422
- type RubyTypeUnknown = BaseType & {
423
- kind: 'RubyTypeUnknown';
424
- };
425
302
  /**
426
303
  * Base declaration types for CLI command AST
427
304
  */
@@ -941,6 +818,129 @@ type PythonTypeLiteral = BaseType & {
941
818
  kind: 'PythonTypeLiteral';
942
819
  literal: PythonLiteral;
943
820
  };
821
+ type RubyDeclaration = RubyDeclFunction | RubyDeclClass | RubyDeclProperty | RubyDeclTypeAlias | RubyDeclReference | ErrorDecl;
822
+ type RubyDeclFunction = BaseDeclaration & {
823
+ kind: 'RubyDeclFunction';
824
+ ident: RubyIdentifier;
825
+ args: RubyFunctionArgument[];
826
+ qualified?: string;
827
+ returns?: RubyType;
828
+ paramsChildren?: ID[];
829
+ bodyParamsChildren?: Record<string, ID[]>;
830
+ responseChildren?: ID[];
831
+ };
832
+ type RubyFunctionArgument = {
833
+ kind: 'RubyFunctionArgument';
834
+ ident: RubyIdentifier;
835
+ optional: boolean;
836
+ type: RubyType;
837
+ };
838
+ type RubyDeclProperty = BaseDeclaration & {
839
+ kind: 'RubyDeclProperty';
840
+ ident: string;
841
+ docstring?: string;
842
+ title?: string;
843
+ location?: string;
844
+ type: RubyType;
845
+ constraints?: Constraints;
846
+ optional?: boolean;
847
+ examples?: unknown[];
848
+ schemaType?: SchemaType;
849
+ modelPath?: string;
850
+ childrenParentSchema?: SchemaType;
851
+ children?: ID[];
852
+ };
853
+ type RubyDeclClass = BaseDeclaration & {
854
+ kind: 'RubyDeclClass';
855
+ ident: string;
856
+ docstring?: string;
857
+ type: RubyType;
858
+ optional?: boolean;
859
+ children?: ID[];
860
+ };
861
+ type RubyDeclTypeAlias = BaseDeclaration & {
862
+ kind: 'RubyDeclTypeAlias';
863
+ docstring?: string;
864
+ ident: RubyIdentifier;
865
+ typeParameters?: RubyTypeParameter[];
866
+ type: RubyType;
867
+ children?: ID[];
868
+ };
869
+ type RubyTypeParameter = {
870
+ kind: 'RubyTypeParameter';
871
+ name: RubyIdentifier;
872
+ constraint?: RubyType;
873
+ default?: RubyType;
874
+ };
875
+ type RubyIdentifier = string;
876
+ type RubyDeclReference = BaseDeclaration & {
877
+ kind: 'RubyDeclReference';
878
+ docstring?: string;
879
+ type: RubyType;
880
+ children?: ID[];
881
+ };
882
+ type RubyType = RubyTypeReference | RubyTypeObject | RubyTypeArray | RubyTypeMap | RubyTypeString | RubyTypeInteger | RubyTypeFloat | RubyTypeBoolean | RubyTypeNull | RubyTypeBinary | RubyTypeUnknown | RubyTypeLiteral | RubyTypeUnion | RubyTypeIntersection | RubyTypeBuiltinClass;
883
+ type RubyTypeReference = BaseType & {
884
+ kind: 'RubyTypeReference';
885
+ ident: RubyIdentifier;
886
+ typeParameters?: RubyType[];
887
+ schemaType?: SchemaType;
888
+ $ref?: ID;
889
+ };
890
+ type RubyTypeObject = BaseType & {
891
+ kind: 'RubyTypeObject';
892
+ members: {
893
+ ident: RubyIdentifier;
894
+ optional?: boolean;
895
+ }[];
896
+ };
897
+ type RubyTypeMap = BaseType & {
898
+ kind: 'RubyTypeMap';
899
+ indexType: RubyType;
900
+ itemType: RubyType;
901
+ };
902
+ type RubyTypeArray = BaseType & {
903
+ kind: 'RubyTypeArray';
904
+ elementType: RubyType;
905
+ };
906
+ type RubyTypeUnion = BaseType & {
907
+ kind: 'RubyTypeUnion';
908
+ types: RubyType[];
909
+ };
910
+ type RubyTypeIntersection = BaseType & {
911
+ kind: 'RubyTypeIntersection';
912
+ types: RubyType[];
913
+ };
914
+ type RubyTypeLiteral = BaseType & {
915
+ kind: 'RubyTypeLiteral';
916
+ literal: string | boolean | number;
917
+ };
918
+ type RubyTypeBuiltinClass = BaseType & {
919
+ kind: 'RubyTypeBuiltinClass';
920
+ className: string;
921
+ };
922
+ type RubyTypeString = BaseType & {
923
+ kind: 'RubyTypeString';
924
+ };
925
+ type RubyTypeInteger = BaseType & {
926
+ kind: 'RubyTypeInteger';
927
+ };
928
+ type RubyTypeFloat = BaseType & {
929
+ kind: 'RubyTypeFloat';
930
+ };
931
+ type RubyTypeBoolean = BaseType & {
932
+ kind: 'RubyTypeBoolean';
933
+ };
934
+ type RubyTypeNull = BaseType & {
935
+ kind: 'RubyTypeNull';
936
+ };
937
+ type RubyTypeBinary = BaseType & {
938
+ kind: 'RubyTypeBinary';
939
+ contentType: string[];
940
+ };
941
+ type RubyTypeUnknown = BaseType & {
942
+ kind: 'RubyTypeUnknown';
943
+ };
944
944
  type PrimitiveNumberProps$1 = {
945
945
  oneof?: (number | bigint)[];
946
946
  default: number | bigint | null;
package/dist/indexer.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { i as Spec, r as Resource } from "./index-BT26toSx.js";
1
+ import { i as Spec, r as Resource } from "./index-B6k7CNFb.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-BT26toSx.js";
1
+ import { i as Spec } from "./index-B6k7CNFb.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-BT26toSx.js";
1
+ import { i as Spec } from "../index-B6k7CNFb.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-BT26toSx.js";
1
+ import { i as Spec } from "../index-B6k7CNFb.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-BT26toSx.js";
1
+ import { i as Spec } from "../index-B6k7CNFb.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-BT26toSx.js";
1
+ import { n as Model, r as Resource, t as Method } from "./index-B6k7CNFb.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.32",
3
+ "version": "0.1.0-beta.34",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -19,8 +19,8 @@
19
19
  "fuse.js": "^7.1.0",
20
20
  "htmlparser2": "^10.1.0",
21
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"
22
+ "@stainless-api/ui-primitives": "0.1.0-beta.49",
23
+ "@stainless-api/docs-ui": "0.1.0-beta.81"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/node": "24.10.13",
@@ -32,7 +32,7 @@
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.8"
35
+ "@stainless/sdk-json": "^0.1.0-beta.9"
36
36
  },
37
37
  "exports": {
38
38
  ".": {