@stainless-api/docs-search 0.1.0-beta.31 → 0.1.0-beta.33
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/{index-ax9-8vsm.d.ts → index-B6k7CNFb.d.ts} +133 -129
- 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/walker.d.ts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +5 -5
|
@@ -167,13 +167,14 @@ interface Config {
|
|
|
167
167
|
}[] | undefined;
|
|
168
168
|
} | undefined;
|
|
169
169
|
}
|
|
170
|
-
type
|
|
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
|
|
175
|
+
type DiagnosticInfo = {
|
|
175
176
|
code: string;
|
|
176
|
-
level:
|
|
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';
|
|
@@ -292,132 +299,6 @@ type HttpTypeBinary = BaseType & {
|
|
|
292
299
|
type HttpTypeUnknown = BaseType & {
|
|
293
300
|
kind: 'HttpTypeUnknown';
|
|
294
301
|
};
|
|
295
|
-
type RubyDeclaration = RubyDeclFunction | RubyDeclClass | RubyDeclProperty | RubyDeclTypeAlias | RubyDeclReference | ErrorDecl;
|
|
296
|
-
type RubyDeclFunction = BaseDeclaration & {
|
|
297
|
-
kind: 'RubyDeclFunction';
|
|
298
|
-
ident: RubyIdentifier;
|
|
299
|
-
args: RubyFunctionArgument[];
|
|
300
|
-
qualified?: string;
|
|
301
|
-
returns?: RubyType;
|
|
302
|
-
paramsChildren?: ID[];
|
|
303
|
-
bodyParamsChildren?: Record<string, ID[]>;
|
|
304
|
-
responseChildren?: ID[];
|
|
305
|
-
};
|
|
306
|
-
type RubyFunctionArgument = {
|
|
307
|
-
kind: 'RubyFunctionArgument';
|
|
308
|
-
ident: RubyIdentifier;
|
|
309
|
-
optional: boolean;
|
|
310
|
-
type: RubyType;
|
|
311
|
-
};
|
|
312
|
-
type RubyDeclProperty = BaseDeclaration & {
|
|
313
|
-
kind: 'RubyDeclProperty';
|
|
314
|
-
ident: string;
|
|
315
|
-
docstring?: string;
|
|
316
|
-
title?: string;
|
|
317
|
-
location?: string;
|
|
318
|
-
type: RubyType;
|
|
319
|
-
constraints?: Constraints;
|
|
320
|
-
optional?: boolean;
|
|
321
|
-
examples?: unknown[];
|
|
322
|
-
schemaType?: SchemaType;
|
|
323
|
-
modelPath?: string;
|
|
324
|
-
childrenParentSchema?: SchemaType;
|
|
325
|
-
children?: ID[];
|
|
326
|
-
};
|
|
327
|
-
type RubyDeclClass = BaseDeclaration & {
|
|
328
|
-
kind: 'RubyDeclClass';
|
|
329
|
-
ident: string;
|
|
330
|
-
docstring?: string;
|
|
331
|
-
type: RubyType;
|
|
332
|
-
optional?: boolean;
|
|
333
|
-
children?: ID[];
|
|
334
|
-
};
|
|
335
|
-
type RubyDeclTypeAlias = BaseDeclaration & {
|
|
336
|
-
kind: 'RubyDeclTypeAlias';
|
|
337
|
-
docstring?: string;
|
|
338
|
-
ident: RubyIdentifier;
|
|
339
|
-
typeParameters?: RubyTypeParameter[];
|
|
340
|
-
type: RubyType;
|
|
341
|
-
children?: ID[];
|
|
342
|
-
};
|
|
343
|
-
type RubyTypeParameter = {
|
|
344
|
-
kind: 'RubyTypeParameter';
|
|
345
|
-
name: RubyIdentifier;
|
|
346
|
-
constraint?: RubyType;
|
|
347
|
-
default?: RubyType;
|
|
348
|
-
};
|
|
349
|
-
type RubyIdentifier = string;
|
|
350
|
-
type RubyDeclReference = BaseDeclaration & {
|
|
351
|
-
kind: 'RubyDeclReference';
|
|
352
|
-
docstring?: string;
|
|
353
|
-
type: RubyType;
|
|
354
|
-
children?: ID[];
|
|
355
|
-
};
|
|
356
|
-
type RubyType = RubyTypeReference | RubyTypeObject | RubyTypeArray | RubyTypeMap | RubyTypeString | RubyTypeInteger | RubyTypeFloat | RubyTypeBoolean | RubyTypeNull | RubyTypeBinary | RubyTypeUnknown | RubyTypeLiteral | RubyTypeUnion | RubyTypeIntersection | RubyTypeBuiltinClass;
|
|
357
|
-
type RubyTypeReference = BaseType & {
|
|
358
|
-
kind: 'RubyTypeReference';
|
|
359
|
-
ident: RubyIdentifier;
|
|
360
|
-
typeParameters?: RubyType[];
|
|
361
|
-
schemaType?: SchemaType;
|
|
362
|
-
$ref?: ID;
|
|
363
|
-
};
|
|
364
|
-
type RubyTypeObject = BaseType & {
|
|
365
|
-
kind: 'RubyTypeObject';
|
|
366
|
-
members: {
|
|
367
|
-
ident: RubyIdentifier;
|
|
368
|
-
optional?: boolean;
|
|
369
|
-
}[];
|
|
370
|
-
};
|
|
371
|
-
type RubyTypeMap = BaseType & {
|
|
372
|
-
kind: 'RubyTypeMap';
|
|
373
|
-
indexType: RubyType;
|
|
374
|
-
itemType: RubyType;
|
|
375
|
-
};
|
|
376
|
-
type RubyTypeArray = BaseType & {
|
|
377
|
-
kind: 'RubyTypeArray';
|
|
378
|
-
elementType: RubyType;
|
|
379
|
-
};
|
|
380
|
-
type RubyTypeUnion = BaseType & {
|
|
381
|
-
kind: 'RubyTypeUnion';
|
|
382
|
-
types: RubyType[];
|
|
383
|
-
};
|
|
384
|
-
type RubyTypeIntersection = BaseType & {
|
|
385
|
-
kind: 'RubyTypeIntersection';
|
|
386
|
-
types: RubyType[];
|
|
387
|
-
};
|
|
388
|
-
type RubyTypeLiteral = BaseType & {
|
|
389
|
-
kind: 'RubyTypeLiteral';
|
|
390
|
-
literal: string | boolean | number;
|
|
391
|
-
};
|
|
392
|
-
type RubyTypeBuiltinClass = BaseType & {
|
|
393
|
-
kind: 'RubyTypeBuiltinClass';
|
|
394
|
-
className: string;
|
|
395
|
-
};
|
|
396
|
-
type RubyTypeString = BaseType & {
|
|
397
|
-
kind: 'RubyTypeString';
|
|
398
|
-
};
|
|
399
|
-
type RubyTypeInteger = BaseType & {
|
|
400
|
-
kind: 'RubyTypeInteger';
|
|
401
|
-
};
|
|
402
|
-
type RubyTypeFloat = BaseType & {
|
|
403
|
-
kind: 'RubyTypeFloat';
|
|
404
|
-
};
|
|
405
|
-
type RubyTypeBoolean = BaseType & {
|
|
406
|
-
kind: 'RubyTypeBoolean';
|
|
407
|
-
};
|
|
408
|
-
type RubyTypeNull = BaseType & {
|
|
409
|
-
kind: 'RubyTypeNull';
|
|
410
|
-
};
|
|
411
|
-
type RubyTypeBinary = BaseType & {
|
|
412
|
-
kind: 'RubyTypeBinary';
|
|
413
|
-
contentType: string[];
|
|
414
|
-
};
|
|
415
|
-
type RubyTypeUnknown = BaseType & {
|
|
416
|
-
kind: 'RubyTypeUnknown';
|
|
417
|
-
};
|
|
418
|
-
type SDKSchemaReference = never;
|
|
419
|
-
type SDKSchemaType = string;
|
|
420
|
-
type SDKPropertySchemaReference<T = never> = never;
|
|
421
302
|
/**
|
|
422
303
|
* Base declaration types for CLI command AST
|
|
423
304
|
*/
|
|
@@ -937,6 +818,129 @@ type PythonTypeLiteral = BaseType & {
|
|
|
937
818
|
kind: 'PythonTypeLiteral';
|
|
938
819
|
literal: PythonLiteral;
|
|
939
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
|
+
};
|
|
940
944
|
type PrimitiveNumberProps$1 = {
|
|
941
945
|
oneof?: (number | bigint)[];
|
|
942
946
|
default: number | bigint | null;
|
package/dist/indexer.d.ts
CHANGED
package/dist/mcp.d.ts
CHANGED
package/dist/providers/fuse.d.ts
CHANGED
package/dist/types.d.ts
CHANGED
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.33",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
"react-dom": ">=19.0.0"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@algolia/client-search": "^5.49.
|
|
16
|
+
"@algolia/client-search": "^5.49.1",
|
|
17
17
|
"@markdoc/markdoc": "^0.5.4",
|
|
18
18
|
"cheerio": "^1.2.0",
|
|
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.
|
|
23
|
-
"@stainless-api/ui-primitives": "0.1.0-beta.
|
|
22
|
+
"@stainless-api/docs-ui": "0.1.0-beta.80",
|
|
23
|
+
"@stainless-api/ui-primitives": "0.1.0-beta.49"
|
|
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.
|
|
35
|
+
"@stainless/sdk-json": "^0.1.0-beta.9"
|
|
36
36
|
},
|
|
37
37
|
"exports": {
|
|
38
38
|
".": {
|