@teambit/api-reference 1.0.186 → 1.0.188

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.
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.api-reference/api-reference@1.0.186" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.api-reference/api-reference@1.0.188" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/api-reference",
3
- "version": "1.0.186",
3
+ "version": "1.0.188",
4
4
  "homepage": "https://bit.cloud/teambit/api-reference/api-reference",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.api-reference",
8
8
  "name": "api-reference",
9
- "version": "1.0.186"
9
+ "version": "1.0.188"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -31,11 +31,11 @@
31
31
  "@teambit/api-reference.renderers.variable": "0.0.37",
32
32
  "@teambit/api-reference.sections.api-reference-page": "0.0.63",
33
33
  "@teambit/api-reference.sections.api-reference-section": "0.0.14",
34
- "@teambit/code": "1.0.186",
35
- "@teambit/component": "1.0.186",
34
+ "@teambit/code": "1.0.188",
35
+ "@teambit/component": "1.0.188",
36
36
  "@teambit/semantics.entities.semantic-schema": "0.0.68",
37
37
  "@teambit/tagged-exports": "0.0.9",
38
- "@teambit/ui": "1.0.186"
38
+ "@teambit/ui": "1.0.188"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/lodash": "4.14.165",
@@ -1,1172 +0,0 @@
1
- {
2
- "__schema": "APISchema",
3
- "location": {
4
- "filePath": "index.ts",
5
- "line": 1,
6
- "character": 1
7
- },
8
- "module": {
9
- "__schema": "ModuleSchema",
10
- "location": {
11
- "filePath": "index.ts",
12
- "line": 1,
13
- "character": 1
14
- },
15
- "exports": [
16
- {
17
- "__schema": "ClassSchema",
18
- "location": {
19
- "filePath": "api-reference.ui.runtime.tsx",
20
- "line": 33,
21
- "character": 1
22
- },
23
- "signature": "class APIReferenceUI",
24
- "name": "APIReferenceUI",
25
- "members": [
26
- {
27
- "__schema": "ConstructorSchema",
28
- "location": {
29
- "filePath": "api-reference.ui.runtime.tsx",
30
- "line": 34,
31
- "character": 3
32
- },
33
- "signature": "constructor APIReferenceUI(host: string, apiNodeRendererSlot: APINodeRendererSlot, code: CodeUI): APIReferenceUI",
34
- "name": "constructor",
35
- "params": [
36
- {
37
- "__schema": "ParameterSchema",
38
- "location": {
39
- "filePath": "api-reference.ui.runtime.tsx",
40
- "line": 34,
41
- "character": 15
42
- },
43
- "name": "host",
44
- "type": {
45
- "__schema": "KeywordTypeSchema",
46
- "location": {
47
- "filePath": "api-reference.ui.runtime.tsx",
48
- "line": 34,
49
- "character": 29
50
- },
51
- "name": "string"
52
- },
53
- "isOptional": false,
54
- "isSpread": false
55
- },
56
- {
57
- "__schema": "ParameterSchema",
58
- "location": {
59
- "filePath": "api-reference.ui.runtime.tsx",
60
- "line": 34,
61
- "character": 37
62
- },
63
- "name": "apiNodeRendererSlot",
64
- "type": {
65
- "__schema": "TypeRefSchema",
66
- "location": {
67
- "filePath": "api-reference.ui.runtime.tsx",
68
- "line": 34,
69
- "character": 66
70
- },
71
- "name": "APINodeRendererSlot"
72
- },
73
- "isOptional": false,
74
- "isSpread": false
75
- },
76
- {
77
- "__schema": "ParameterSchema",
78
- "location": {
79
- "filePath": "api-reference.ui.runtime.tsx",
80
- "line": 34,
81
- "character": 87
82
- },
83
- "name": "code",
84
- "type": {
85
- "__schema": "TypeRefSchema",
86
- "location": {
87
- "filePath": "api-reference.ui.runtime.tsx",
88
- "line": 34,
89
- "character": 101
90
- },
91
- "name": "CodeUI"
92
- },
93
- "isOptional": false,
94
- "isSpread": false
95
- }
96
- ],
97
- "returnType": {
98
- "__schema": "ThisTypeSchema",
99
- "location": {
100
- "filePath": "api-reference.ui.runtime.tsx",
101
- "line": 33,
102
- "character": 1
103
- },
104
- "name": "APIReferenceUI"
105
- },
106
- "modifiers": []
107
- },
108
- {
109
- "__schema": "VariableLikeSchema",
110
- "location": {
111
- "filePath": "api-reference.ui.runtime.tsx",
112
- "line": 36,
113
- "character": 3
114
- },
115
- "signature": "(property) APIReferenceUI.dependencies: Aspect[]",
116
- "name": "dependencies",
117
- "type": {
118
- "__schema": "InferenceTypeSchema",
119
- "location": {
120
- "filePath": "api-reference.ui.runtime.tsx",
121
- "line": 36,
122
- "character": 3
123
- },
124
- "type": "Aspect[]"
125
- },
126
- "isOptional": true,
127
- "defaultValue": "[ComponentAspect, CodeAspect]"
128
- },
129
- {
130
- "__schema": "VariableLikeSchema",
131
- "location": {
132
- "filePath": "api-reference.ui.runtime.tsx",
133
- "line": 37,
134
- "character": 3
135
- },
136
- "signature": "(property) APIReferenceUI.runtime: RuntimeDefinition",
137
- "name": "runtime",
138
- "type": {
139
- "__schema": "InferenceTypeSchema",
140
- "location": {
141
- "filePath": "api-reference.ui.runtime.tsx",
142
- "line": 37,
143
- "character": 3
144
- },
145
- "type": "RuntimeDefinition"
146
- },
147
- "isOptional": true,
148
- "defaultValue": "UIRuntime"
149
- },
150
- {
151
- "__schema": "VariableLikeSchema",
152
- "location": {
153
- "filePath": "api-reference.ui.runtime.tsx",
154
- "line": 38,
155
- "character": 3
156
- },
157
- "signature": "(property) APIReferenceUI.slots: ((registerFn: () => string) => SlotRegistry<APINodeRenderer[]>)[]",
158
- "name": "slots",
159
- "type": {
160
- "__schema": "InferenceTypeSchema",
161
- "location": {
162
- "filePath": "api-reference.ui.runtime.tsx",
163
- "line": 38,
164
- "character": 3
165
- },
166
- "type": "((registerFn: () => string) => SlotRegistry<APINodeRenderer[]>)[]"
167
- },
168
- "isOptional": true,
169
- "defaultValue": "[Slot.withType<APINodeRenderer[]>()]"
170
- },
171
- {
172
- "__schema": "ReactSchema",
173
- "location": {
174
- "filePath": "api-reference.ui.runtime.tsx",
175
- "line": 40,
176
- "character": 3
177
- },
178
- "signature": "(method) APIReferenceUI.getAPIPage(): React.JSX.Element",
179
- "name": "getAPIPage",
180
- "returnType": {
181
- "__schema": "TypeRefSchema",
182
- "location": {
183
- "filePath": "api-reference.ui.runtime.tsx",
184
- "line": 40,
185
- "character": 3
186
- },
187
- "name": "React.JSX.Element",
188
- "packageName": "react"
189
- },
190
- "modifiers": []
191
- },
192
- {
193
- "__schema": "VariableLikeSchema",
194
- "location": {
195
- "filePath": "api-reference.ui.runtime.tsx",
196
- "line": 49,
197
- "character": 3
198
- },
199
- "signature": "(property) APIReferenceUI.TaggedAPIPage: ({ componentId }: {\n componentId: string;\n}) => React.JSX.Element",
200
- "name": "TaggedAPIPage",
201
- "type": {
202
- "__schema": "InferenceTypeSchema",
203
- "location": {
204
- "filePath": "api-reference.ui.runtime.tsx",
205
- "line": 49,
206
- "character": 3
207
- },
208
- "type": "({ componentId }: {\n componentId: string;\n}) => React.JSX.Element"
209
- },
210
- "isOptional": true,
211
- "defaultValue": "({ componentId }: { componentId: string }) => {\n return (\n <APIRefRenderersProvider nodeRenderers={flatten(this.apiNodeRendererSlot.values())}>\n <TaggedExports componentId={componentId} />\n </APIRefRenderersProvider>\n );\n }"
212
- },
213
- {
214
- "__schema": "FunctionLikeSchema",
215
- "location": {
216
- "filePath": "api-reference.ui.runtime.tsx",
217
- "line": 57,
218
- "character": 3
219
- },
220
- "signature": "(method) APIReferenceUI.registerSchemaClass(schema: SchemaNodeConstructor): void",
221
- "name": "registerSchemaClass",
222
- "params": [
223
- {
224
- "__schema": "ParameterSchema",
225
- "location": {
226
- "filePath": "api-reference.ui.runtime.tsx",
227
- "line": 57,
228
- "character": 23
229
- },
230
- "name": "schema",
231
- "type": {
232
- "__schema": "TypeRefSchema",
233
- "location": {
234
- "filePath": "api-reference.ui.runtime.tsx",
235
- "line": 57,
236
- "character": 31
237
- },
238
- "name": "SchemaNodeConstructor"
239
- },
240
- "isOptional": false,
241
- "isSpread": false
242
- }
243
- ],
244
- "returnType": {
245
- "__schema": "InferenceTypeSchema",
246
- "location": {
247
- "filePath": "api-reference.ui.runtime.tsx",
248
- "line": 57,
249
- "character": 3
250
- },
251
- "type": "void"
252
- },
253
- "modifiers": []
254
- },
255
- {
256
- "__schema": "FunctionLikeSchema",
257
- "location": {
258
- "filePath": "api-reference.ui.runtime.tsx",
259
- "line": 61,
260
- "character": 3
261
- },
262
- "signature": "(method) APIReferenceUI.getSchemaClasses(): () => Record<string, SchemaNodeConstructor>",
263
- "name": "getSchemaClasses",
264
- "params": [],
265
- "returnType": {
266
- "__schema": "InferenceTypeSchema",
267
- "location": {
268
- "filePath": "api-reference.ui.runtime.tsx",
269
- "line": 61,
270
- "character": 3
271
- },
272
- "type": "() => Record<string, SchemaNodeConstructor>"
273
- },
274
- "modifiers": []
275
- },
276
- {
277
- "__schema": "FunctionLikeSchema",
278
- "location": {
279
- "filePath": "api-reference.ui.runtime.tsx",
280
- "line": 65,
281
- "character": 3
282
- },
283
- "signature": "(method) APIReferenceUI.registerAPINodeRenderer(apiNodeRenderers: APINodeRenderer[]): void",
284
- "name": "registerAPINodeRenderer",
285
- "params": [
286
- {
287
- "__schema": "ParameterSchema",
288
- "location": {
289
- "filePath": "api-reference.ui.runtime.tsx",
290
- "line": 65,
291
- "character": 27
292
- },
293
- "name": "apiNodeRenderers",
294
- "type": {
295
- "__schema": "TypeArraySchema",
296
- "location": {
297
- "filePath": "api-reference.ui.runtime.tsx",
298
- "line": 65,
299
- "character": 45
300
- },
301
- "type": {
302
- "__schema": "TypeRefSchema",
303
- "location": {
304
- "filePath": "api-reference.ui.runtime.tsx",
305
- "line": 65,
306
- "character": 45
307
- },
308
- "name": "APINodeRenderer"
309
- }
310
- },
311
- "isOptional": false,
312
- "isSpread": false
313
- }
314
- ],
315
- "returnType": {
316
- "__schema": "InferenceTypeSchema",
317
- "location": {
318
- "filePath": "api-reference.ui.runtime.tsx",
319
- "line": 65,
320
- "character": 3
321
- },
322
- "type": "void"
323
- },
324
- "modifiers": []
325
- },
326
- {
327
- "__schema": "VariableLikeSchema",
328
- "location": {
329
- "filePath": "api-reference.ui.runtime.tsx",
330
- "line": 69,
331
- "character": 3
332
- },
333
- "signature": "(property) APIReferenceUI.apiNodeRenderers: APINodeRenderer[]",
334
- "name": "apiNodeRenderers",
335
- "type": {
336
- "__schema": "TypeArraySchema",
337
- "location": {
338
- "filePath": "api-reference.ui.runtime.tsx",
339
- "line": 69,
340
- "character": 21
341
- },
342
- "type": {
343
- "__schema": "TypeRefSchema",
344
- "location": {
345
- "filePath": "api-reference.ui.runtime.tsx",
346
- "line": 69,
347
- "character": 21
348
- },
349
- "name": "APINodeRenderer"
350
- }
351
- },
352
- "isOptional": true,
353
- "defaultValue": "[\n classRenderer,\n typeRenderer,\n interfaceRenderer,\n variableRenderer,\n functionRenderer,\n enumRenderer,\n unresolvedRenderer,\n typeRefRenderer,\n typeIntersectionRenderer,\n typeUnionRenderer,\n parameterRenderer,\n typeLiteralRenderer,\n inferenceTypeRenderer,\n typeArrayRenderer,\n thisRenderer,\n decoratorRenderer,\n ]"
354
- },
355
- {
356
- "__schema": "FunctionLikeSchema",
357
- "location": {
358
- "filePath": "api-reference.ui.runtime.tsx",
359
- "line": 88,
360
- "character": 3
361
- },
362
- "signature": "(method) APIReferenceUI.provider([componentUI, codeUI]: [ComponentUI, CodeUI], _: any, [apiNodeRendererSlot]: [APINodeRendererSlot], harmony: Harmony): Promise<APIReferenceUI>",
363
- "name": "provider",
364
- "params": [
365
- {
366
- "__schema": "ParameterSchema",
367
- "location": {
368
- "filePath": "api-reference.ui.runtime.tsx",
369
- "line": 89,
370
- "character": 5
371
- },
372
- "name": "[ componentUI, codeUI ]",
373
- "type": {
374
- "__schema": "TupleTypeSchema",
375
- "location": {
376
- "filePath": "api-reference.ui.runtime.tsx",
377
- "line": 89,
378
- "character": 28
379
- },
380
- "elements": [
381
- {
382
- "__schema": "TypeRefSchema",
383
- "location": {
384
- "filePath": "api-reference.ui.runtime.tsx",
385
- "line": 89,
386
- "character": 29
387
- },
388
- "name": "ComponentUI"
389
- },
390
- {
391
- "__schema": "TypeRefSchema",
392
- "location": {
393
- "filePath": "api-reference.ui.runtime.tsx",
394
- "line": 89,
395
- "character": 42
396
- },
397
- "name": "CodeUI"
398
- }
399
- ]
400
- },
401
- "isOptional": false,
402
- "isSpread": false
403
- },
404
- {
405
- "__schema": "ParameterSchema",
406
- "location": {
407
- "filePath": "api-reference.ui.runtime.tsx",
408
- "line": 90,
409
- "character": 5
410
- },
411
- "name": "_",
412
- "type": {
413
- "__schema": "InferenceTypeSchema",
414
- "location": {
415
- "filePath": "api-reference.ui.runtime.tsx",
416
- "line": 90,
417
- "character": 5
418
- },
419
- "type": "any"
420
- },
421
- "isOptional": false,
422
- "isSpread": false
423
- },
424
- {
425
- "__schema": "ParameterSchema",
426
- "location": {
427
- "filePath": "api-reference.ui.runtime.tsx",
428
- "line": 91,
429
- "character": 5
430
- },
431
- "name": "[ apiNodeRendererSlot ]",
432
- "type": {
433
- "__schema": "TupleTypeSchema",
434
- "location": {
435
- "filePath": "api-reference.ui.runtime.tsx",
436
- "line": 91,
437
- "character": 28
438
- },
439
- "elements": [
440
- {
441
- "__schema": "TypeRefSchema",
442
- "location": {
443
- "filePath": "api-reference.ui.runtime.tsx",
444
- "line": 91,
445
- "character": 29
446
- },
447
- "name": "APINodeRendererSlot"
448
- }
449
- ]
450
- },
451
- "isOptional": false,
452
- "isSpread": false
453
- },
454
- {
455
- "__schema": "ParameterSchema",
456
- "location": {
457
- "filePath": "api-reference.ui.runtime.tsx",
458
- "line": 92,
459
- "character": 5
460
- },
461
- "name": "harmony",
462
- "type": {
463
- "__schema": "TypeRefSchema",
464
- "location": {
465
- "filePath": "api-reference.ui.runtime.tsx",
466
- "line": 92,
467
- "character": 14
468
- },
469
- "name": "Harmony"
470
- },
471
- "isOptional": false,
472
- "isSpread": false
473
- }
474
- ],
475
- "returnType": {
476
- "__schema": "InferenceTypeSchema",
477
- "location": {
478
- "filePath": "api-reference.ui.runtime.tsx",
479
- "line": 88,
480
- "character": 3
481
- },
482
- "type": "Promise<APIReferenceUI>"
483
- },
484
- "modifiers": [
485
- "static",
486
- "async"
487
- ]
488
- }
489
- ],
490
- "extendsNodes": [],
491
- "implementNodes": []
492
- },
493
- {
494
- "__schema": "TypeSchema",
495
- "location": {
496
- "filePath": "api-reference.ui.runtime.tsx",
497
- "line": 32,
498
- "character": 1
499
- },
500
- "signature": "type APINodeRendererSlot = SlotRegistry<APINodeRenderer[]>",
501
- "name": "APINodeRendererSlot",
502
- "type": {
503
- "__schema": "TypeRefSchema",
504
- "location": {
505
- "filePath": "api-reference.ui.runtime.tsx",
506
- "line": 32,
507
- "character": 35
508
- },
509
- "name": "SlotRegistry",
510
- "typeArgs": [
511
- {
512
- "__schema": "TypeArraySchema",
513
- "location": {
514
- "filePath": "api-reference.ui.runtime.tsx",
515
- "line": 32,
516
- "character": 48
517
- },
518
- "type": {
519
- "__schema": "TypeRefSchema",
520
- "location": {
521
- "filePath": "api-reference.ui.runtime.tsx",
522
- "line": 32,
523
- "character": 48
524
- },
525
- "name": "APINodeRenderer"
526
- }
527
- }
528
- ]
529
- }
530
- },
531
- {
532
- "__schema": "UnImplementedSchema",
533
- "location": {
534
- "filePath": "index.ts",
535
- "line": 4,
536
- "character": 16
537
- },
538
- "name": "APIReferenceAspect",
539
- "type": "Identifier"
540
- },
541
- {
542
- "__schema": "VariableLikeSchema",
543
- "location": {
544
- "filePath": "api-reference.aspect.ts",
545
- "line": 3,
546
- "character": 14
547
- },
548
- "signature": "const APIReferenceAspect: Aspect",
549
- "name": "APIReferenceAspect",
550
- "type": {
551
- "__schema": "TypeRefSchema",
552
- "location": {
553
- "filePath": "api-reference.aspect.ts",
554
- "line": 3,
555
- "character": 14
556
- },
557
- "name": "Aspect",
558
- "componentId": {
559
- "scope": "teambit.harmony",
560
- "name": "harmony",
561
- "version": "0.4.6"
562
- }
563
- },
564
- "isOptional": false,
565
- "defaultValue": "Aspect.create({\n id: 'teambit.api-reference/api-reference',\n})"
566
- }
567
- ],
568
- "internals": []
569
- },
570
- "internals": [
571
- {
572
- "__schema": "ModuleSchema",
573
- "location": {
574
- "filePath": "api-reference.ui.runtime.tsx",
575
- "line": 1,
576
- "character": 1
577
- },
578
- "exports": [
579
- {
580
- "__schema": "TypeSchema",
581
- "location": {
582
- "filePath": "api-reference.ui.runtime.tsx",
583
- "line": 32,
584
- "character": 1
585
- },
586
- "signature": "type APINodeRendererSlot = SlotRegistry<APINodeRenderer[]>",
587
- "name": "APINodeRendererSlot",
588
- "type": {
589
- "__schema": "TypeRefSchema",
590
- "location": {
591
- "filePath": "api-reference.ui.runtime.tsx",
592
- "line": 32,
593
- "character": 35
594
- },
595
- "name": "SlotRegistry",
596
- "typeArgs": [
597
- {
598
- "__schema": "TypeArraySchema",
599
- "location": {
600
- "filePath": "api-reference.ui.runtime.tsx",
601
- "line": 32,
602
- "character": 48
603
- },
604
- "type": {
605
- "__schema": "TypeRefSchema",
606
- "location": {
607
- "filePath": "api-reference.ui.runtime.tsx",
608
- "line": 32,
609
- "character": 48
610
- },
611
- "name": "APINodeRenderer"
612
- }
613
- }
614
- ]
615
- }
616
- },
617
- {
618
- "__schema": "ClassSchema",
619
- "location": {
620
- "filePath": "api-reference.ui.runtime.tsx",
621
- "line": 33,
622
- "character": 1
623
- },
624
- "signature": "class APIReferenceUI",
625
- "name": "APIReferenceUI",
626
- "members": [
627
- {
628
- "__schema": "ConstructorSchema",
629
- "location": {
630
- "filePath": "api-reference.ui.runtime.tsx",
631
- "line": 34,
632
- "character": 3
633
- },
634
- "signature": "constructor APIReferenceUI(host: string, apiNodeRendererSlot: APINodeRendererSlot, code: CodeUI): APIReferenceUI",
635
- "name": "constructor",
636
- "params": [
637
- {
638
- "__schema": "ParameterSchema",
639
- "location": {
640
- "filePath": "api-reference.ui.runtime.tsx",
641
- "line": 34,
642
- "character": 15
643
- },
644
- "name": "host",
645
- "type": {
646
- "__schema": "KeywordTypeSchema",
647
- "location": {
648
- "filePath": "api-reference.ui.runtime.tsx",
649
- "line": 34,
650
- "character": 29
651
- },
652
- "name": "string"
653
- },
654
- "isOptional": false,
655
- "isSpread": false
656
- },
657
- {
658
- "__schema": "ParameterSchema",
659
- "location": {
660
- "filePath": "api-reference.ui.runtime.tsx",
661
- "line": 34,
662
- "character": 37
663
- },
664
- "name": "apiNodeRendererSlot",
665
- "type": {
666
- "__schema": "TypeRefSchema",
667
- "location": {
668
- "filePath": "api-reference.ui.runtime.tsx",
669
- "line": 34,
670
- "character": 66
671
- },
672
- "name": "APINodeRendererSlot"
673
- },
674
- "isOptional": false,
675
- "isSpread": false
676
- },
677
- {
678
- "__schema": "ParameterSchema",
679
- "location": {
680
- "filePath": "api-reference.ui.runtime.tsx",
681
- "line": 34,
682
- "character": 87
683
- },
684
- "name": "code",
685
- "type": {
686
- "__schema": "TypeRefSchema",
687
- "location": {
688
- "filePath": "api-reference.ui.runtime.tsx",
689
- "line": 34,
690
- "character": 101
691
- },
692
- "name": "CodeUI"
693
- },
694
- "isOptional": false,
695
- "isSpread": false
696
- }
697
- ],
698
- "returnType": {
699
- "__schema": "ThisTypeSchema",
700
- "location": {
701
- "filePath": "api-reference.ui.runtime.tsx",
702
- "line": 33,
703
- "character": 1
704
- },
705
- "name": "APIReferenceUI"
706
- },
707
- "modifiers": []
708
- },
709
- {
710
- "__schema": "VariableLikeSchema",
711
- "location": {
712
- "filePath": "api-reference.ui.runtime.tsx",
713
- "line": 36,
714
- "character": 3
715
- },
716
- "signature": "(property) APIReferenceUI.dependencies: Aspect[]",
717
- "name": "dependencies",
718
- "type": {
719
- "__schema": "InferenceTypeSchema",
720
- "location": {
721
- "filePath": "api-reference.ui.runtime.tsx",
722
- "line": 36,
723
- "character": 3
724
- },
725
- "type": "Aspect[]"
726
- },
727
- "isOptional": true,
728
- "defaultValue": "[ComponentAspect, CodeAspect]"
729
- },
730
- {
731
- "__schema": "VariableLikeSchema",
732
- "location": {
733
- "filePath": "api-reference.ui.runtime.tsx",
734
- "line": 37,
735
- "character": 3
736
- },
737
- "signature": "(property) APIReferenceUI.runtime: RuntimeDefinition",
738
- "name": "runtime",
739
- "type": {
740
- "__schema": "InferenceTypeSchema",
741
- "location": {
742
- "filePath": "api-reference.ui.runtime.tsx",
743
- "line": 37,
744
- "character": 3
745
- },
746
- "type": "RuntimeDefinition"
747
- },
748
- "isOptional": true,
749
- "defaultValue": "UIRuntime"
750
- },
751
- {
752
- "__schema": "VariableLikeSchema",
753
- "location": {
754
- "filePath": "api-reference.ui.runtime.tsx",
755
- "line": 38,
756
- "character": 3
757
- },
758
- "signature": "(property) APIReferenceUI.slots: ((registerFn: () => string) => SlotRegistry<APINodeRenderer[]>)[]",
759
- "name": "slots",
760
- "type": {
761
- "__schema": "InferenceTypeSchema",
762
- "location": {
763
- "filePath": "api-reference.ui.runtime.tsx",
764
- "line": 38,
765
- "character": 3
766
- },
767
- "type": "((registerFn: () => string) => SlotRegistry<APINodeRenderer[]>)[]"
768
- },
769
- "isOptional": true,
770
- "defaultValue": "[Slot.withType<APINodeRenderer[]>()]"
771
- },
772
- {
773
- "__schema": "ReactSchema",
774
- "location": {
775
- "filePath": "api-reference.ui.runtime.tsx",
776
- "line": 40,
777
- "character": 3
778
- },
779
- "signature": "(method) APIReferenceUI.getAPIPage(): React.JSX.Element",
780
- "name": "getAPIPage",
781
- "returnType": {
782
- "__schema": "TypeRefSchema",
783
- "location": {
784
- "filePath": "api-reference.ui.runtime.tsx",
785
- "line": 40,
786
- "character": 3
787
- },
788
- "name": "React.JSX.Element",
789
- "packageName": "react"
790
- },
791
- "modifiers": []
792
- },
793
- {
794
- "__schema": "VariableLikeSchema",
795
- "location": {
796
- "filePath": "api-reference.ui.runtime.tsx",
797
- "line": 49,
798
- "character": 3
799
- },
800
- "signature": "(property) APIReferenceUI.TaggedAPIPage: ({ componentId }: {\n componentId: string;\n}) => React.JSX.Element",
801
- "name": "TaggedAPIPage",
802
- "type": {
803
- "__schema": "InferenceTypeSchema",
804
- "location": {
805
- "filePath": "api-reference.ui.runtime.tsx",
806
- "line": 49,
807
- "character": 3
808
- },
809
- "type": "({ componentId }: {\n componentId: string;\n}) => React.JSX.Element"
810
- },
811
- "isOptional": true,
812
- "defaultValue": "({ componentId }: { componentId: string }) => {\n return (\n <APIRefRenderersProvider nodeRenderers={flatten(this.apiNodeRendererSlot.values())}>\n <TaggedExports componentId={componentId} />\n </APIRefRenderersProvider>\n );\n }"
813
- },
814
- {
815
- "__schema": "FunctionLikeSchema",
816
- "location": {
817
- "filePath": "api-reference.ui.runtime.tsx",
818
- "line": 57,
819
- "character": 3
820
- },
821
- "signature": "(method) APIReferenceUI.registerSchemaClass(schema: SchemaNodeConstructor): void",
822
- "name": "registerSchemaClass",
823
- "params": [
824
- {
825
- "__schema": "ParameterSchema",
826
- "location": {
827
- "filePath": "api-reference.ui.runtime.tsx",
828
- "line": 57,
829
- "character": 23
830
- },
831
- "name": "schema",
832
- "type": {
833
- "__schema": "TypeRefSchema",
834
- "location": {
835
- "filePath": "api-reference.ui.runtime.tsx",
836
- "line": 57,
837
- "character": 31
838
- },
839
- "name": "SchemaNodeConstructor"
840
- },
841
- "isOptional": false,
842
- "isSpread": false
843
- }
844
- ],
845
- "returnType": {
846
- "__schema": "InferenceTypeSchema",
847
- "location": {
848
- "filePath": "api-reference.ui.runtime.tsx",
849
- "line": 57,
850
- "character": 3
851
- },
852
- "type": "void"
853
- },
854
- "modifiers": []
855
- },
856
- {
857
- "__schema": "FunctionLikeSchema",
858
- "location": {
859
- "filePath": "api-reference.ui.runtime.tsx",
860
- "line": 61,
861
- "character": 3
862
- },
863
- "signature": "(method) APIReferenceUI.getSchemaClasses(): () => Record<string, SchemaNodeConstructor>",
864
- "name": "getSchemaClasses",
865
- "params": [],
866
- "returnType": {
867
- "__schema": "InferenceTypeSchema",
868
- "location": {
869
- "filePath": "api-reference.ui.runtime.tsx",
870
- "line": 61,
871
- "character": 3
872
- },
873
- "type": "() => Record<string, SchemaNodeConstructor>"
874
- },
875
- "modifiers": []
876
- },
877
- {
878
- "__schema": "FunctionLikeSchema",
879
- "location": {
880
- "filePath": "api-reference.ui.runtime.tsx",
881
- "line": 65,
882
- "character": 3
883
- },
884
- "signature": "(method) APIReferenceUI.registerAPINodeRenderer(apiNodeRenderers: APINodeRenderer[]): void",
885
- "name": "registerAPINodeRenderer",
886
- "params": [
887
- {
888
- "__schema": "ParameterSchema",
889
- "location": {
890
- "filePath": "api-reference.ui.runtime.tsx",
891
- "line": 65,
892
- "character": 27
893
- },
894
- "name": "apiNodeRenderers",
895
- "type": {
896
- "__schema": "TypeArraySchema",
897
- "location": {
898
- "filePath": "api-reference.ui.runtime.tsx",
899
- "line": 65,
900
- "character": 45
901
- },
902
- "type": {
903
- "__schema": "TypeRefSchema",
904
- "location": {
905
- "filePath": "api-reference.ui.runtime.tsx",
906
- "line": 65,
907
- "character": 45
908
- },
909
- "name": "APINodeRenderer"
910
- }
911
- },
912
- "isOptional": false,
913
- "isSpread": false
914
- }
915
- ],
916
- "returnType": {
917
- "__schema": "InferenceTypeSchema",
918
- "location": {
919
- "filePath": "api-reference.ui.runtime.tsx",
920
- "line": 65,
921
- "character": 3
922
- },
923
- "type": "void"
924
- },
925
- "modifiers": []
926
- },
927
- {
928
- "__schema": "VariableLikeSchema",
929
- "location": {
930
- "filePath": "api-reference.ui.runtime.tsx",
931
- "line": 69,
932
- "character": 3
933
- },
934
- "signature": "(property) APIReferenceUI.apiNodeRenderers: APINodeRenderer[]",
935
- "name": "apiNodeRenderers",
936
- "type": {
937
- "__schema": "TypeArraySchema",
938
- "location": {
939
- "filePath": "api-reference.ui.runtime.tsx",
940
- "line": 69,
941
- "character": 21
942
- },
943
- "type": {
944
- "__schema": "TypeRefSchema",
945
- "location": {
946
- "filePath": "api-reference.ui.runtime.tsx",
947
- "line": 69,
948
- "character": 21
949
- },
950
- "name": "APINodeRenderer"
951
- }
952
- },
953
- "isOptional": true,
954
- "defaultValue": "[\n classRenderer,\n typeRenderer,\n interfaceRenderer,\n variableRenderer,\n functionRenderer,\n enumRenderer,\n unresolvedRenderer,\n typeRefRenderer,\n typeIntersectionRenderer,\n typeUnionRenderer,\n parameterRenderer,\n typeLiteralRenderer,\n inferenceTypeRenderer,\n typeArrayRenderer,\n thisRenderer,\n decoratorRenderer,\n ]"
955
- },
956
- {
957
- "__schema": "FunctionLikeSchema",
958
- "location": {
959
- "filePath": "api-reference.ui.runtime.tsx",
960
- "line": 88,
961
- "character": 3
962
- },
963
- "signature": "(method) APIReferenceUI.provider([componentUI, codeUI]: [ComponentUI, CodeUI], _: any, [apiNodeRendererSlot]: [APINodeRendererSlot], harmony: Harmony): Promise<APIReferenceUI>",
964
- "name": "provider",
965
- "params": [
966
- {
967
- "__schema": "ParameterSchema",
968
- "location": {
969
- "filePath": "api-reference.ui.runtime.tsx",
970
- "line": 89,
971
- "character": 5
972
- },
973
- "name": "[ componentUI, codeUI ]",
974
- "type": {
975
- "__schema": "TupleTypeSchema",
976
- "location": {
977
- "filePath": "api-reference.ui.runtime.tsx",
978
- "line": 89,
979
- "character": 28
980
- },
981
- "elements": [
982
- {
983
- "__schema": "TypeRefSchema",
984
- "location": {
985
- "filePath": "api-reference.ui.runtime.tsx",
986
- "line": 89,
987
- "character": 29
988
- },
989
- "name": "ComponentUI"
990
- },
991
- {
992
- "__schema": "TypeRefSchema",
993
- "location": {
994
- "filePath": "api-reference.ui.runtime.tsx",
995
- "line": 89,
996
- "character": 42
997
- },
998
- "name": "CodeUI"
999
- }
1000
- ]
1001
- },
1002
- "isOptional": false,
1003
- "isSpread": false
1004
- },
1005
- {
1006
- "__schema": "ParameterSchema",
1007
- "location": {
1008
- "filePath": "api-reference.ui.runtime.tsx",
1009
- "line": 90,
1010
- "character": 5
1011
- },
1012
- "name": "_",
1013
- "type": {
1014
- "__schema": "InferenceTypeSchema",
1015
- "location": {
1016
- "filePath": "api-reference.ui.runtime.tsx",
1017
- "line": 90,
1018
- "character": 5
1019
- },
1020
- "type": "any"
1021
- },
1022
- "isOptional": false,
1023
- "isSpread": false
1024
- },
1025
- {
1026
- "__schema": "ParameterSchema",
1027
- "location": {
1028
- "filePath": "api-reference.ui.runtime.tsx",
1029
- "line": 91,
1030
- "character": 5
1031
- },
1032
- "name": "[ apiNodeRendererSlot ]",
1033
- "type": {
1034
- "__schema": "TupleTypeSchema",
1035
- "location": {
1036
- "filePath": "api-reference.ui.runtime.tsx",
1037
- "line": 91,
1038
- "character": 28
1039
- },
1040
- "elements": [
1041
- {
1042
- "__schema": "TypeRefSchema",
1043
- "location": {
1044
- "filePath": "api-reference.ui.runtime.tsx",
1045
- "line": 91,
1046
- "character": 29
1047
- },
1048
- "name": "APINodeRendererSlot"
1049
- }
1050
- ]
1051
- },
1052
- "isOptional": false,
1053
- "isSpread": false
1054
- },
1055
- {
1056
- "__schema": "ParameterSchema",
1057
- "location": {
1058
- "filePath": "api-reference.ui.runtime.tsx",
1059
- "line": 92,
1060
- "character": 5
1061
- },
1062
- "name": "harmony",
1063
- "type": {
1064
- "__schema": "TypeRefSchema",
1065
- "location": {
1066
- "filePath": "api-reference.ui.runtime.tsx",
1067
- "line": 92,
1068
- "character": 14
1069
- },
1070
- "name": "Harmony"
1071
- },
1072
- "isOptional": false,
1073
- "isSpread": false
1074
- }
1075
- ],
1076
- "returnType": {
1077
- "__schema": "InferenceTypeSchema",
1078
- "location": {
1079
- "filePath": "api-reference.ui.runtime.tsx",
1080
- "line": 88,
1081
- "character": 3
1082
- },
1083
- "type": "Promise<APIReferenceUI>"
1084
- },
1085
- "modifiers": [
1086
- "static",
1087
- "async"
1088
- ]
1089
- }
1090
- ],
1091
- "extendsNodes": [],
1092
- "implementNodes": []
1093
- },
1094
- {
1095
- "__schema": "UnImplementedSchema",
1096
- "location": {
1097
- "filePath": "api-reference.ui.runtime.tsx",
1098
- "line": 109,
1099
- "character": 16
1100
- },
1101
- "name": "APIReferenceUI",
1102
- "type": "Identifier"
1103
- }
1104
- ],
1105
- "internals": [
1106
- {
1107
- "__schema": "UnImplementedSchema",
1108
- "location": {
1109
- "filePath": "api-reference.ui.runtime.tsx",
1110
- "line": 111,
1111
- "character": 1
1112
- },
1113
- "name": "APIReferenceAspect.addRuntime(APIReferenceUI);",
1114
- "type": "ExpressionStatement"
1115
- }
1116
- ]
1117
- },
1118
- {
1119
- "__schema": "ModuleSchema",
1120
- "location": {
1121
- "filePath": "api-reference.aspect.ts",
1122
- "line": 1,
1123
- "character": 1
1124
- },
1125
- "exports": [
1126
- {
1127
- "__schema": "VariableLikeSchema",
1128
- "location": {
1129
- "filePath": "api-reference.aspect.ts",
1130
- "line": 3,
1131
- "character": 14
1132
- },
1133
- "signature": "const APIReferenceAspect: Aspect",
1134
- "name": "APIReferenceAspect",
1135
- "type": {
1136
- "__schema": "TypeRefSchema",
1137
- "location": {
1138
- "filePath": "api-reference.aspect.ts",
1139
- "line": 3,
1140
- "character": 14
1141
- },
1142
- "name": "Aspect",
1143
- "componentId": {
1144
- "scope": "teambit.harmony",
1145
- "name": "harmony",
1146
- "version": "0.4.6"
1147
- }
1148
- },
1149
- "isOptional": false,
1150
- "defaultValue": "Aspect.create({\n id: 'teambit.api-reference/api-reference',\n})"
1151
- },
1152
- {
1153
- "__schema": "UnImplementedSchema",
1154
- "location": {
1155
- "filePath": "api-reference.aspect.ts",
1156
- "line": 7,
1157
- "character": 16
1158
- },
1159
- "name": "APIReferenceAspect",
1160
- "type": "Identifier"
1161
- }
1162
- ],
1163
- "internals": []
1164
- }
1165
- ],
1166
- "componentId": {
1167
- "scope": "teambit.api-reference",
1168
- "name": "api-reference",
1169
- "version": "1.0.186"
1170
- },
1171
- "taggedModuleExports": []
1172
- }