@teambit/insights 1.0.512 → 1.0.513

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.
@@ -0,0 +1,2684 @@
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": "ExportSchema",
18
+ "location": {
19
+ "filePath": "index.ts",
20
+ "line": 1,
21
+ "character": 10
22
+ },
23
+ "signature": "class InsightManager",
24
+ "name": "InsightManager",
25
+ "exportNode": {
26
+ "__schema": "ClassSchema",
27
+ "location": {
28
+ "filePath": "insight-manager.ts",
29
+ "line": 12,
30
+ "character": 1
31
+ },
32
+ "signature": "class InsightManager",
33
+ "name": "InsightManager",
34
+ "members": [
35
+ {
36
+ "__schema": "VariableLikeSchema",
37
+ "location": {
38
+ "filePath": "insight-manager.ts",
39
+ "line": 14,
40
+ "character": 3
41
+ },
42
+ "doc": {
43
+ "__schema": "DocSchema",
44
+ "location": {
45
+ "filePath": "insight-manager.ts",
46
+ "line": 13,
47
+ "character": 3
48
+ },
49
+ "raw": "/** insights is an insight registry */",
50
+ "comment": "insights is an insight registry",
51
+ "tags": []
52
+ },
53
+ "signature": "(property) InsightManager.insights: Map<string, Insight>",
54
+ "name": "insights",
55
+ "type": {
56
+ "__schema": "TypeRefSchema",
57
+ "location": {
58
+ "filePath": "insight-manager.ts",
59
+ "line": 14,
60
+ "character": 22
61
+ },
62
+ "name": "Map",
63
+ "typeArgs": [
64
+ {
65
+ "__schema": "KeywordTypeSchema",
66
+ "location": {
67
+ "filePath": "insight-manager.ts",
68
+ "line": 14,
69
+ "character": 26
70
+ },
71
+ "name": "string"
72
+ },
73
+ {
74
+ "__schema": "TypeRefSchema",
75
+ "location": {
76
+ "filePath": "insight-manager.ts",
77
+ "line": 14,
78
+ "character": 34
79
+ },
80
+ "name": "Insight"
81
+ }
82
+ ]
83
+ },
84
+ "isOptional": true,
85
+ "defaultValue": "new Map()"
86
+ },
87
+ {
88
+ "__schema": "ConstructorSchema",
89
+ "location": {
90
+ "filePath": "insight-manager.ts",
91
+ "line": 15,
92
+ "character": 3
93
+ },
94
+ "signature": "constructor InsightManager(insights: Insight[]): InsightManager",
95
+ "name": "constructor",
96
+ "params": [
97
+ {
98
+ "__schema": "ParameterSchema",
99
+ "location": {
100
+ "filePath": "insight-manager.ts",
101
+ "line": 19,
102
+ "character": 5
103
+ },
104
+ "name": "insights",
105
+ "type": {
106
+ "__schema": "TypeArraySchema",
107
+ "location": {
108
+ "filePath": "insight-manager.ts",
109
+ "line": 19,
110
+ "character": 15
111
+ },
112
+ "type": {
113
+ "__schema": "TypeRefSchema",
114
+ "location": {
115
+ "filePath": "insight-manager.ts",
116
+ "line": 19,
117
+ "character": 15
118
+ },
119
+ "name": "Insight"
120
+ }
121
+ },
122
+ "isOptional": false,
123
+ "isSpread": false
124
+ }
125
+ ],
126
+ "returnType": {
127
+ "__schema": "ThisTypeSchema",
128
+ "location": {
129
+ "filePath": "insight-manager.ts",
130
+ "line": 12,
131
+ "character": 1
132
+ },
133
+ "name": "InsightManager"
134
+ },
135
+ "modifiers": []
136
+ },
137
+ {
138
+ "__schema": "FunctionLikeSchema",
139
+ "location": {
140
+ "filePath": "insight-manager.ts",
141
+ "line": 29,
142
+ "character": 3
143
+ },
144
+ "doc": {
145
+ "__schema": "DocSchema",
146
+ "location": {
147
+ "filePath": "insight-manager.ts",
148
+ "line": 26,
149
+ "character": 3
150
+ },
151
+ "raw": "/**\n * registers a new insight and returns the updated insight registry map\n */",
152
+ "comment": "registers a new insight and returns the updated insight registry map",
153
+ "tags": []
154
+ },
155
+ "signature": "(method) InsightManager.register(insight: Insight): void",
156
+ "name": "register",
157
+ "params": [
158
+ {
159
+ "__schema": "ParameterSchema",
160
+ "location": {
161
+ "filePath": "insight-manager.ts",
162
+ "line": 29,
163
+ "character": 12
164
+ },
165
+ "name": "insight",
166
+ "type": {
167
+ "__schema": "TypeRefSchema",
168
+ "location": {
169
+ "filePath": "insight-manager.ts",
170
+ "line": 29,
171
+ "character": 21
172
+ },
173
+ "name": "Insight"
174
+ },
175
+ "isOptional": false,
176
+ "isSpread": false
177
+ }
178
+ ],
179
+ "returnType": {
180
+ "__schema": "InferenceTypeSchema",
181
+ "location": {
182
+ "filePath": "insight-manager.ts",
183
+ "line": 29,
184
+ "character": 3
185
+ },
186
+ "type": "void"
187
+ },
188
+ "modifiers": []
189
+ },
190
+ {
191
+ "__schema": "FunctionLikeSchema",
192
+ "location": {
193
+ "filePath": "insight-manager.ts",
194
+ "line": 39,
195
+ "character": 3
196
+ },
197
+ "doc": {
198
+ "__schema": "DocSchema",
199
+ "location": {
200
+ "filePath": "insight-manager.ts",
201
+ "line": 36,
202
+ "character": 3
203
+ },
204
+ "raw": "/**\n * list of all registered insights\n */",
205
+ "comment": "list of all registered insights",
206
+ "tags": []
207
+ },
208
+ "signature": "(method) InsightManager.listInsights(): string[]",
209
+ "name": "listInsights",
210
+ "params": [],
211
+ "returnType": {
212
+ "__schema": "TypeArraySchema",
213
+ "location": {
214
+ "filePath": "insight-manager.ts",
215
+ "line": 39,
216
+ "character": 19
217
+ },
218
+ "type": {
219
+ "__schema": "KeywordTypeSchema",
220
+ "location": {
221
+ "filePath": "insight-manager.ts",
222
+ "line": 39,
223
+ "character": 19
224
+ },
225
+ "name": "string"
226
+ }
227
+ },
228
+ "modifiers": []
229
+ },
230
+ {
231
+ "__schema": "FunctionLikeSchema",
232
+ "location": {
233
+ "filePath": "insight-manager.ts",
234
+ "line": 46,
235
+ "character": 3
236
+ },
237
+ "doc": {
238
+ "__schema": "DocSchema",
239
+ "location": {
240
+ "filePath": "insight-manager.ts",
241
+ "line": 43,
242
+ "character": 3
243
+ },
244
+ "raw": "/**\n * gets a specific insight by its name or undefined if doesn't exist\n */",
245
+ "comment": "gets a specific insight by its name or undefined if doesn't exist",
246
+ "tags": []
247
+ },
248
+ "signature": "(method) InsightManager.getByName(insightName: string): Insight | undefined",
249
+ "name": "getByName",
250
+ "params": [
251
+ {
252
+ "__schema": "ParameterSchema",
253
+ "location": {
254
+ "filePath": "insight-manager.ts",
255
+ "line": 46,
256
+ "character": 13
257
+ },
258
+ "name": "insightName",
259
+ "type": {
260
+ "__schema": "KeywordTypeSchema",
261
+ "location": {
262
+ "filePath": "insight-manager.ts",
263
+ "line": 46,
264
+ "character": 26
265
+ },
266
+ "name": "string"
267
+ },
268
+ "isOptional": false,
269
+ "isSpread": false
270
+ }
271
+ ],
272
+ "returnType": {
273
+ "__schema": "TypeUnionSchema",
274
+ "location": {
275
+ "filePath": "insight-manager.ts",
276
+ "line": 46,
277
+ "character": 35
278
+ },
279
+ "types": [
280
+ {
281
+ "__schema": "TypeRefSchema",
282
+ "location": {
283
+ "filePath": "insight-manager.ts",
284
+ "line": 46,
285
+ "character": 35
286
+ },
287
+ "name": "Insight"
288
+ },
289
+ {
290
+ "__schema": "KeywordTypeSchema",
291
+ "location": {
292
+ "filePath": "insight-manager.ts",
293
+ "line": 46,
294
+ "character": 45
295
+ },
296
+ "name": "undefined"
297
+ }
298
+ ]
299
+ },
300
+ "modifiers": []
301
+ },
302
+ {
303
+ "__schema": "FunctionLikeSchema",
304
+ "location": {
305
+ "filePath": "insight-manager.ts",
306
+ "line": 53,
307
+ "character": 3
308
+ },
309
+ "doc": {
310
+ "__schema": "DocSchema",
311
+ "location": {
312
+ "filePath": "insight-manager.ts",
313
+ "line": 50,
314
+ "character": 3
315
+ },
316
+ "raw": "/**\n * deletes a specific insight by its name if exists\n */",
317
+ "comment": "deletes a specific insight by its name if exists",
318
+ "tags": []
319
+ },
320
+ "signature": "(method) InsightManager.delete(insightName: string): void",
321
+ "name": "delete",
322
+ "params": [
323
+ {
324
+ "__schema": "ParameterSchema",
325
+ "location": {
326
+ "filePath": "insight-manager.ts",
327
+ "line": 53,
328
+ "character": 10
329
+ },
330
+ "name": "insightName",
331
+ "type": {
332
+ "__schema": "KeywordTypeSchema",
333
+ "location": {
334
+ "filePath": "insight-manager.ts",
335
+ "line": 53,
336
+ "character": 23
337
+ },
338
+ "name": "string"
339
+ },
340
+ "isOptional": false,
341
+ "isSpread": false
342
+ }
343
+ ],
344
+ "returnType": {
345
+ "__schema": "InferenceTypeSchema",
346
+ "location": {
347
+ "filePath": "insight-manager.ts",
348
+ "line": 53,
349
+ "character": 3
350
+ },
351
+ "type": "void"
352
+ },
353
+ "modifiers": []
354
+ },
355
+ {
356
+ "__schema": "FunctionLikeSchema",
357
+ "location": {
358
+ "filePath": "insight-manager.ts",
359
+ "line": 64,
360
+ "character": 3
361
+ },
362
+ "doc": {
363
+ "__schema": "DocSchema",
364
+ "location": {
365
+ "filePath": "insight-manager.ts",
366
+ "line": 60,
367
+ "character": 3
368
+ },
369
+ "raw": "/**\n * execute an array of insights\n *\n */",
370
+ "comment": "execute an array of insights",
371
+ "tags": []
372
+ },
373
+ "signature": "(method) InsightManager.run(insightNames: string[], opts: RunInsightOptions): Promise<InsightResult[]>",
374
+ "name": "run",
375
+ "params": [
376
+ {
377
+ "__schema": "ParameterSchema",
378
+ "location": {
379
+ "filePath": "insight-manager.ts",
380
+ "line": 64,
381
+ "character": 13
382
+ },
383
+ "name": "insightNames",
384
+ "type": {
385
+ "__schema": "TypeArraySchema",
386
+ "location": {
387
+ "filePath": "insight-manager.ts",
388
+ "line": 64,
389
+ "character": 27
390
+ },
391
+ "type": {
392
+ "__schema": "KeywordTypeSchema",
393
+ "location": {
394
+ "filePath": "insight-manager.ts",
395
+ "line": 64,
396
+ "character": 27
397
+ },
398
+ "name": "string"
399
+ }
400
+ },
401
+ "isOptional": false,
402
+ "isSpread": false
403
+ },
404
+ {
405
+ "__schema": "ParameterSchema",
406
+ "location": {
407
+ "filePath": "insight-manager.ts",
408
+ "line": 64,
409
+ "character": 37
410
+ },
411
+ "name": "opts",
412
+ "type": {
413
+ "__schema": "TypeRefSchema",
414
+ "location": {
415
+ "filePath": "insight-manager.ts",
416
+ "line": 64,
417
+ "character": 43
418
+ },
419
+ "name": "RunInsightOptions"
420
+ },
421
+ "isOptional": false,
422
+ "isSpread": false
423
+ }
424
+ ],
425
+ "returnType": {
426
+ "__schema": "TypeRefSchema",
427
+ "location": {
428
+ "filePath": "insight-manager.ts",
429
+ "line": 64,
430
+ "character": 63
431
+ },
432
+ "name": "Promise",
433
+ "typeArgs": [
434
+ {
435
+ "__schema": "TypeArraySchema",
436
+ "location": {
437
+ "filePath": "insight-manager.ts",
438
+ "line": 64,
439
+ "character": 71
440
+ },
441
+ "type": {
442
+ "__schema": "TypeRefSchema",
443
+ "location": {
444
+ "filePath": "insight-manager.ts",
445
+ "line": 64,
446
+ "character": 71
447
+ },
448
+ "name": "InsightResult"
449
+ }
450
+ }
451
+ ]
452
+ },
453
+ "modifiers": [
454
+ "async"
455
+ ]
456
+ },
457
+ {
458
+ "__schema": "FunctionLikeSchema",
459
+ "location": {
460
+ "filePath": "insight-manager.ts",
461
+ "line": 86,
462
+ "character": 3
463
+ },
464
+ "doc": {
465
+ "__schema": "DocSchema",
466
+ "location": {
467
+ "filePath": "insight-manager.ts",
468
+ "line": 82,
469
+ "character": 3
470
+ },
471
+ "raw": "/**\n * execute all insights in the registry\n *\n */",
472
+ "comment": "execute all insights in the registry",
473
+ "tags": []
474
+ },
475
+ "signature": "(method) InsightManager.runAll(opts: RunInsightOptions): Promise<InsightResult[]>",
476
+ "name": "runAll",
477
+ "params": [
478
+ {
479
+ "__schema": "ParameterSchema",
480
+ "location": {
481
+ "filePath": "insight-manager.ts",
482
+ "line": 86,
483
+ "character": 16
484
+ },
485
+ "name": "opts",
486
+ "type": {
487
+ "__schema": "TypeRefSchema",
488
+ "location": {
489
+ "filePath": "insight-manager.ts",
490
+ "line": 86,
491
+ "character": 22
492
+ },
493
+ "name": "RunInsightOptions"
494
+ },
495
+ "isOptional": false,
496
+ "isSpread": false
497
+ }
498
+ ],
499
+ "returnType": {
500
+ "__schema": "TypeRefSchema",
501
+ "location": {
502
+ "filePath": "insight-manager.ts",
503
+ "line": 86,
504
+ "character": 42
505
+ },
506
+ "name": "Promise",
507
+ "typeArgs": [
508
+ {
509
+ "__schema": "TypeArraySchema",
510
+ "location": {
511
+ "filePath": "insight-manager.ts",
512
+ "line": 86,
513
+ "character": 50
514
+ },
515
+ "type": {
516
+ "__schema": "TypeRefSchema",
517
+ "location": {
518
+ "filePath": "insight-manager.ts",
519
+ "line": 86,
520
+ "character": 50
521
+ },
522
+ "name": "InsightResult"
523
+ }
524
+ }
525
+ ]
526
+ },
527
+ "modifiers": [
528
+ "async"
529
+ ]
530
+ }
531
+ ],
532
+ "extendsNodes": [],
533
+ "implementNodes": []
534
+ }
535
+ },
536
+ {
537
+ "__schema": "ExportSchema",
538
+ "location": {
539
+ "filePath": "index.ts",
540
+ "line": 2,
541
+ "character": 15
542
+ },
543
+ "signature": "interface Insight",
544
+ "name": "Insight",
545
+ "exportNode": {
546
+ "__schema": "InterfaceSchema",
547
+ "location": {
548
+ "filePath": "insight.ts",
549
+ "line": 21,
550
+ "character": 1
551
+ },
552
+ "signature": "interface Insight",
553
+ "name": "Insight",
554
+ "members": [
555
+ {
556
+ "__schema": "VariableLikeSchema",
557
+ "location": {
558
+ "filePath": "insight.ts",
559
+ "line": 22,
560
+ "character": 3
561
+ },
562
+ "signature": "(property) Insight.name: string",
563
+ "name": "name",
564
+ "type": {
565
+ "__schema": "KeywordTypeSchema",
566
+ "location": {
567
+ "filePath": "insight.ts",
568
+ "line": 22,
569
+ "character": 9
570
+ },
571
+ "name": "string"
572
+ },
573
+ "isOptional": false
574
+ },
575
+ {
576
+ "__schema": "VariableLikeSchema",
577
+ "location": {
578
+ "filePath": "insight.ts",
579
+ "line": 23,
580
+ "character": 3
581
+ },
582
+ "signature": "(property) Insight.description: string",
583
+ "name": "description",
584
+ "type": {
585
+ "__schema": "KeywordTypeSchema",
586
+ "location": {
587
+ "filePath": "insight.ts",
588
+ "line": 23,
589
+ "character": 16
590
+ },
591
+ "name": "string"
592
+ },
593
+ "isOptional": false
594
+ },
595
+ {
596
+ "__schema": "FunctionLikeSchema",
597
+ "location": {
598
+ "filePath": "insight.ts",
599
+ "line": 28,
600
+ "character": 3
601
+ },
602
+ "doc": {
603
+ "__schema": "DocSchema",
604
+ "location": {
605
+ "filePath": "insight.ts",
606
+ "line": 25,
607
+ "character": 3
608
+ },
609
+ "raw": "/**\n * runs a specific insight using _runInsight, gets a RawResult, and uses _formatData to transform the output to InsightResult.\n */",
610
+ "comment": "runs a specific insight using _runInsight, gets a RawResult, and uses _formatData to transform the output to InsightResult.",
611
+ "tags": []
612
+ },
613
+ "signature": "(method) Insight.run(opts?: RunInsightOptions): Promise<InsightResult>",
614
+ "name": "run",
615
+ "params": [
616
+ {
617
+ "__schema": "ParameterSchema",
618
+ "location": {
619
+ "filePath": "insight.ts",
620
+ "line": 28,
621
+ "character": 7
622
+ },
623
+ "name": "opts",
624
+ "type": {
625
+ "__schema": "TypeRefSchema",
626
+ "location": {
627
+ "filePath": "insight.ts",
628
+ "line": 28,
629
+ "character": 14
630
+ },
631
+ "name": "RunInsightOptions"
632
+ },
633
+ "isOptional": true,
634
+ "isSpread": false
635
+ }
636
+ ],
637
+ "returnType": {
638
+ "__schema": "TypeRefSchema",
639
+ "location": {
640
+ "filePath": "insight.ts",
641
+ "line": 28,
642
+ "character": 34
643
+ },
644
+ "name": "Promise",
645
+ "typeArgs": [
646
+ {
647
+ "__schema": "TypeRefSchema",
648
+ "location": {
649
+ "filePath": "insight.ts",
650
+ "line": 28,
651
+ "character": 42
652
+ },
653
+ "name": "InsightResult"
654
+ }
655
+ ]
656
+ },
657
+ "modifiers": []
658
+ },
659
+ {
660
+ "__schema": "FunctionLikeSchema",
661
+ "location": {
662
+ "filePath": "insight.ts",
663
+ "line": 34,
664
+ "character": 3
665
+ },
666
+ "doc": {
667
+ "__schema": "DocSchema",
668
+ "location": {
669
+ "filePath": "insight.ts",
670
+ "line": 30,
671
+ "character": 3
672
+ },
673
+ "raw": "/**\n * add the results from the insights as a component-issue so then bit-status could show them and bit-tag could block\n * them.\n */",
674
+ "comment": "add the results from the insights as a component-issue so then bit-status could show them and bit-tag could block\nthem.",
675
+ "tags": []
676
+ },
677
+ "signature": "(method) Insight.addAsComponentIssue?(components: Component[]): Promise<void>",
678
+ "name": "addAsComponentIssue",
679
+ "params": [
680
+ {
681
+ "__schema": "ParameterSchema",
682
+ "location": {
683
+ "filePath": "insight.ts",
684
+ "line": 34,
685
+ "character": 24
686
+ },
687
+ "name": "components",
688
+ "type": {
689
+ "__schema": "TypeArraySchema",
690
+ "location": {
691
+ "filePath": "insight.ts",
692
+ "line": 34,
693
+ "character": 36
694
+ },
695
+ "type": {
696
+ "__schema": "TypeRefSchema",
697
+ "location": {
698
+ "filePath": "insight.ts",
699
+ "line": 34,
700
+ "character": 36
701
+ },
702
+ "name": "Component"
703
+ }
704
+ },
705
+ "isOptional": false,
706
+ "isSpread": false
707
+ }
708
+ ],
709
+ "returnType": {
710
+ "__schema": "TypeRefSchema",
711
+ "location": {
712
+ "filePath": "insight.ts",
713
+ "line": 34,
714
+ "character": 50
715
+ },
716
+ "name": "Promise",
717
+ "typeArgs": [
718
+ {
719
+ "__schema": "KeywordTypeSchema",
720
+ "location": {
721
+ "filePath": "insight.ts",
722
+ "line": 34,
723
+ "character": 58
724
+ },
725
+ "name": "void"
726
+ }
727
+ ]
728
+ },
729
+ "modifiers": []
730
+ }
731
+ ],
732
+ "extendsNodes": []
733
+ }
734
+ },
735
+ {
736
+ "__schema": "ExportSchema",
737
+ "location": {
738
+ "filePath": "index.ts",
739
+ "line": 3,
740
+ "character": 15
741
+ },
742
+ "signature": "class InsightsMain",
743
+ "name": "InsightsMain",
744
+ "exportNode": {
745
+ "__schema": "ClassSchema",
746
+ "location": {
747
+ "filePath": "insights.main.runtime.ts",
748
+ "line": 13,
749
+ "character": 1
750
+ },
751
+ "signature": "class InsightsMain",
752
+ "name": "InsightsMain",
753
+ "members": [
754
+ {
755
+ "__schema": "ConstructorSchema",
756
+ "location": {
757
+ "filePath": "insights.main.runtime.ts",
758
+ "line": 14,
759
+ "character": 3
760
+ },
761
+ "signature": "constructor InsightsMain(insightManager: InsightManager): InsightsMain",
762
+ "name": "constructor",
763
+ "params": [
764
+ {
765
+ "__schema": "ParameterSchema",
766
+ "location": {
767
+ "filePath": "insights.main.runtime.ts",
768
+ "line": 14,
769
+ "character": 15
770
+ },
771
+ "name": "insightManager",
772
+ "type": {
773
+ "__schema": "TypeRefSchema",
774
+ "location": {
775
+ "filePath": "insights.main.runtime.ts",
776
+ "line": 14,
777
+ "character": 39
778
+ },
779
+ "name": "InsightManager"
780
+ },
781
+ "isOptional": false,
782
+ "isSpread": false
783
+ }
784
+ ],
785
+ "returnType": {
786
+ "__schema": "ThisTypeSchema",
787
+ "location": {
788
+ "filePath": "insights.main.runtime.ts",
789
+ "line": 13,
790
+ "character": 1
791
+ },
792
+ "name": "InsightsMain"
793
+ },
794
+ "modifiers": []
795
+ },
796
+ {
797
+ "__schema": "FunctionLikeSchema",
798
+ "location": {
799
+ "filePath": "insights.main.runtime.ts",
800
+ "line": 16,
801
+ "character": 3
802
+ },
803
+ "signature": "(method) InsightsMain.runInsights(names: string[], opts: RunInsightOptions): Promise<InsightResult[]>",
804
+ "name": "runInsights",
805
+ "params": [
806
+ {
807
+ "__schema": "ParameterSchema",
808
+ "location": {
809
+ "filePath": "insights.main.runtime.ts",
810
+ "line": 16,
811
+ "character": 21
812
+ },
813
+ "name": "names",
814
+ "type": {
815
+ "__schema": "TypeArraySchema",
816
+ "location": {
817
+ "filePath": "insights.main.runtime.ts",
818
+ "line": 16,
819
+ "character": 28
820
+ },
821
+ "type": {
822
+ "__schema": "KeywordTypeSchema",
823
+ "location": {
824
+ "filePath": "insights.main.runtime.ts",
825
+ "line": 16,
826
+ "character": 28
827
+ },
828
+ "name": "string"
829
+ }
830
+ },
831
+ "isOptional": false,
832
+ "isSpread": false
833
+ },
834
+ {
835
+ "__schema": "ParameterSchema",
836
+ "location": {
837
+ "filePath": "insights.main.runtime.ts",
838
+ "line": 16,
839
+ "character": 38
840
+ },
841
+ "name": "opts",
842
+ "type": {
843
+ "__schema": "TypeRefSchema",
844
+ "location": {
845
+ "filePath": "insights.main.runtime.ts",
846
+ "line": 16,
847
+ "character": 44
848
+ },
849
+ "name": "RunInsightOptions"
850
+ },
851
+ "isOptional": false,
852
+ "isSpread": false
853
+ }
854
+ ],
855
+ "returnType": {
856
+ "__schema": "InferenceTypeSchema",
857
+ "location": {
858
+ "filePath": "insights.main.runtime.ts",
859
+ "line": 16,
860
+ "character": 3
861
+ },
862
+ "type": "Promise<InsightResult[]>"
863
+ },
864
+ "modifiers": [
865
+ "async"
866
+ ]
867
+ },
868
+ {
869
+ "__schema": "FunctionLikeSchema",
870
+ "location": {
871
+ "filePath": "insights.main.runtime.ts",
872
+ "line": 27,
873
+ "character": 3
874
+ },
875
+ "signature": "(method) InsightsMain.listInsights(): string[]",
876
+ "name": "listInsights",
877
+ "params": [],
878
+ "returnType": {
879
+ "__schema": "InferenceTypeSchema",
880
+ "location": {
881
+ "filePath": "insights.main.runtime.ts",
882
+ "line": 27,
883
+ "character": 3
884
+ },
885
+ "type": "string[]"
886
+ },
887
+ "modifiers": []
888
+ },
889
+ {
890
+ "__schema": "FunctionLikeSchema",
891
+ "location": {
892
+ "filePath": "insights.main.runtime.ts",
893
+ "line": 31,
894
+ "character": 3
895
+ },
896
+ "signature": "(method) InsightsMain.addInsightsAsComponentIssues(components: Component[], issuesToIgnore: string[]): Promise<void>",
897
+ "name": "addInsightsAsComponentIssues",
898
+ "params": [
899
+ {
900
+ "__schema": "ParameterSchema",
901
+ "location": {
902
+ "filePath": "insights.main.runtime.ts",
903
+ "line": 31,
904
+ "character": 38
905
+ },
906
+ "name": "components",
907
+ "type": {
908
+ "__schema": "TypeArraySchema",
909
+ "location": {
910
+ "filePath": "insights.main.runtime.ts",
911
+ "line": 31,
912
+ "character": 50
913
+ },
914
+ "type": {
915
+ "__schema": "TypeRefSchema",
916
+ "location": {
917
+ "filePath": "insights.main.runtime.ts",
918
+ "line": 31,
919
+ "character": 50
920
+ },
921
+ "name": "Component"
922
+ }
923
+ },
924
+ "isOptional": false,
925
+ "isSpread": false
926
+ },
927
+ {
928
+ "__schema": "ParameterSchema",
929
+ "location": {
930
+ "filePath": "insights.main.runtime.ts",
931
+ "line": 31,
932
+ "character": 63
933
+ },
934
+ "name": "issuesToIgnore",
935
+ "type": {
936
+ "__schema": "TypeArraySchema",
937
+ "location": {
938
+ "filePath": "insights.main.runtime.ts",
939
+ "line": 31,
940
+ "character": 79
941
+ },
942
+ "type": {
943
+ "__schema": "KeywordTypeSchema",
944
+ "location": {
945
+ "filePath": "insights.main.runtime.ts",
946
+ "line": 31,
947
+ "character": 79
948
+ },
949
+ "name": "string"
950
+ }
951
+ },
952
+ "isOptional": false,
953
+ "isSpread": false
954
+ }
955
+ ],
956
+ "returnType": {
957
+ "__schema": "InferenceTypeSchema",
958
+ "location": {
959
+ "filePath": "insights.main.runtime.ts",
960
+ "line": 31,
961
+ "character": 3
962
+ },
963
+ "type": "Promise<void>"
964
+ },
965
+ "modifiers": [
966
+ "async"
967
+ ]
968
+ },
969
+ {
970
+ "__schema": "VariableLikeSchema",
971
+ "location": {
972
+ "filePath": "insights.main.runtime.ts",
973
+ "line": 43,
974
+ "character": 3
975
+ },
976
+ "signature": "(property) InsightsMain.slots: never[]",
977
+ "name": "slots",
978
+ "type": {
979
+ "__schema": "InferenceTypeSchema",
980
+ "location": {
981
+ "filePath": "insights.main.runtime.ts",
982
+ "line": 43,
983
+ "character": 3
984
+ },
985
+ "type": "never[]"
986
+ },
987
+ "isOptional": true,
988
+ "defaultValue": "[]"
989
+ },
990
+ {
991
+ "__schema": "VariableLikeSchema",
992
+ "location": {
993
+ "filePath": "insights.main.runtime.ts",
994
+ "line": 44,
995
+ "character": 3
996
+ },
997
+ "signature": "(property) InsightsMain.dependencies: Aspect[]",
998
+ "name": "dependencies",
999
+ "type": {
1000
+ "__schema": "InferenceTypeSchema",
1001
+ "location": {
1002
+ "filePath": "insights.main.runtime.ts",
1003
+ "line": 44,
1004
+ "character": 3
1005
+ },
1006
+ "type": "Aspect[]"
1007
+ },
1008
+ "isOptional": true,
1009
+ "defaultValue": "[GraphAspect, CLIAspect, IssuesAspect]"
1010
+ },
1011
+ {
1012
+ "__schema": "VariableLikeSchema",
1013
+ "location": {
1014
+ "filePath": "insights.main.runtime.ts",
1015
+ "line": 45,
1016
+ "character": 3
1017
+ },
1018
+ "signature": "(property) InsightsMain.runtime: RuntimeDefinition",
1019
+ "name": "runtime",
1020
+ "type": {
1021
+ "__schema": "InferenceTypeSchema",
1022
+ "location": {
1023
+ "filePath": "insights.main.runtime.ts",
1024
+ "line": 45,
1025
+ "character": 3
1026
+ },
1027
+ "type": "RuntimeDefinition"
1028
+ },
1029
+ "isOptional": true,
1030
+ "defaultValue": "MainRuntime"
1031
+ },
1032
+ {
1033
+ "__schema": "VariableLikeSchema",
1034
+ "location": {
1035
+ "filePath": "insights.main.runtime.ts",
1036
+ "line": 46,
1037
+ "character": 3
1038
+ },
1039
+ "signature": "(property) InsightsMain.config: {\n silence: boolean;\n}",
1040
+ "name": "config",
1041
+ "type": {
1042
+ "__schema": "InferenceTypeSchema",
1043
+ "location": {
1044
+ "filePath": "insights.main.runtime.ts",
1045
+ "line": 46,
1046
+ "character": 3
1047
+ },
1048
+ "type": "{\n silence: boolean;\n}"
1049
+ },
1050
+ "isOptional": true,
1051
+ "defaultValue": "{\n silence: false,\n }"
1052
+ },
1053
+ {
1054
+ "__schema": "FunctionLikeSchema",
1055
+ "location": {
1056
+ "filePath": "insights.main.runtime.ts",
1057
+ "line": 49,
1058
+ "character": 3
1059
+ },
1060
+ "signature": "(method) InsightsMain.provider([graphMain, cli, issues]: [GraphMain, CLIMain, IssuesMain]): Promise<InsightsMain>",
1061
+ "name": "provider",
1062
+ "params": [
1063
+ {
1064
+ "__schema": "ParameterSchema",
1065
+ "location": {
1066
+ "filePath": "insights.main.runtime.ts",
1067
+ "line": 49,
1068
+ "character": 25
1069
+ },
1070
+ "name": "[ graphMain, cli, issues ]",
1071
+ "type": {
1072
+ "__schema": "TupleTypeSchema",
1073
+ "location": {
1074
+ "filePath": "insights.main.runtime.ts",
1075
+ "line": 49,
1076
+ "character": 51
1077
+ },
1078
+ "elements": [
1079
+ {
1080
+ "__schema": "TypeRefSchema",
1081
+ "location": {
1082
+ "filePath": "insights.main.runtime.ts",
1083
+ "line": 49,
1084
+ "character": 52
1085
+ },
1086
+ "name": "GraphMain"
1087
+ },
1088
+ {
1089
+ "__schema": "TypeRefSchema",
1090
+ "location": {
1091
+ "filePath": "insights.main.runtime.ts",
1092
+ "line": 49,
1093
+ "character": 63
1094
+ },
1095
+ "name": "CLIMain"
1096
+ },
1097
+ {
1098
+ "__schema": "TypeRefSchema",
1099
+ "location": {
1100
+ "filePath": "insights.main.runtime.ts",
1101
+ "line": 49,
1102
+ "character": 72
1103
+ },
1104
+ "name": "IssuesMain"
1105
+ }
1106
+ ]
1107
+ },
1108
+ "isOptional": false,
1109
+ "isSpread": false
1110
+ }
1111
+ ],
1112
+ "returnType": {
1113
+ "__schema": "InferenceTypeSchema",
1114
+ "location": {
1115
+ "filePath": "insights.main.runtime.ts",
1116
+ "line": 49,
1117
+ "character": 3
1118
+ },
1119
+ "type": "Promise<InsightsMain>"
1120
+ },
1121
+ "modifiers": [
1122
+ "static",
1123
+ "async"
1124
+ ]
1125
+ }
1126
+ ],
1127
+ "extendsNodes": [],
1128
+ "implementNodes": []
1129
+ }
1130
+ },
1131
+ {
1132
+ "__schema": "ExportSchema",
1133
+ "location": {
1134
+ "filePath": "index.ts",
1135
+ "line": 4,
1136
+ "character": 10
1137
+ },
1138
+ "signature": "const InsightsAspect: Aspect",
1139
+ "name": "InsightsAspect",
1140
+ "exportNode": {
1141
+ "__schema": "VariableLikeSchema",
1142
+ "location": {
1143
+ "filePath": "insights.aspect.ts",
1144
+ "line": 3,
1145
+ "character": 14
1146
+ },
1147
+ "signature": "const InsightsAspect: Aspect",
1148
+ "name": "InsightsAspect",
1149
+ "type": {
1150
+ "__schema": "TypeRefSchema",
1151
+ "location": {
1152
+ "filePath": "insights.aspect.ts",
1153
+ "line": 3,
1154
+ "character": 14
1155
+ },
1156
+ "name": "Aspect",
1157
+ "componentId": {
1158
+ "scope": "teambit.harmony",
1159
+ "name": "harmony",
1160
+ "version": "0.4.6"
1161
+ }
1162
+ },
1163
+ "isOptional": false,
1164
+ "defaultValue": "Aspect.create({\n id: 'teambit.explorer/insights',\n dependencies: [],\n defaultConfig: {},\n})"
1165
+ }
1166
+ },
1167
+ {
1168
+ "__schema": "ExportSchema",
1169
+ "location": {
1170
+ "filePath": "index.ts",
1171
+ "line": 5,
1172
+ "character": 10
1173
+ },
1174
+ "signature": "const INSIGHT_CIRCULAR_DEPS_NAME: \"circular\"",
1175
+ "name": "INSIGHT_CIRCULAR_DEPS_NAME",
1176
+ "exportNode": {
1177
+ "__schema": "VariableLikeSchema",
1178
+ "location": {
1179
+ "filePath": "all-insights/find-circulars.ts",
1180
+ "line": 8,
1181
+ "character": 14
1182
+ },
1183
+ "signature": "const INSIGHT_CIRCULAR_DEPS_NAME: \"circular\"",
1184
+ "name": "INSIGHT_CIRCULAR_DEPS_NAME",
1185
+ "type": {
1186
+ "__schema": "InferenceTypeSchema",
1187
+ "location": {
1188
+ "filePath": "all-insights/find-circulars.ts",
1189
+ "line": 8,
1190
+ "character": 14
1191
+ },
1192
+ "type": "\"circular\""
1193
+ },
1194
+ "isOptional": false,
1195
+ "defaultValue": "'circular'"
1196
+ }
1197
+ }
1198
+ ],
1199
+ "internals": []
1200
+ },
1201
+ "internals": [
1202
+ {
1203
+ "__schema": "ModuleSchema",
1204
+ "location": {
1205
+ "filePath": "insight-manager.ts",
1206
+ "line": 1,
1207
+ "character": 1
1208
+ },
1209
+ "exports": [
1210
+ {
1211
+ "__schema": "TypeSchema",
1212
+ "location": {
1213
+ "filePath": "insight-manager.ts",
1214
+ "line": 7,
1215
+ "character": 1
1216
+ },
1217
+ "signature": "type RunInsightOptions = {\n renderData?: boolean;\n includeDeps?: boolean;\n ids?: ComponentID[];\n}",
1218
+ "name": "RunInsightOptions",
1219
+ "type": {
1220
+ "__schema": "TypeLiteralSchema",
1221
+ "location": {
1222
+ "filePath": "insight-manager.ts",
1223
+ "line": 7,
1224
+ "character": 33
1225
+ },
1226
+ "members": [
1227
+ {
1228
+ "__schema": "VariableLikeSchema",
1229
+ "location": {
1230
+ "filePath": "insight-manager.ts",
1231
+ "line": 8,
1232
+ "character": 3
1233
+ },
1234
+ "signature": "(property) renderData?: boolean | undefined",
1235
+ "name": "renderData",
1236
+ "type": {
1237
+ "__schema": "KeywordTypeSchema",
1238
+ "location": {
1239
+ "filePath": "insight-manager.ts",
1240
+ "line": 8,
1241
+ "character": 16
1242
+ },
1243
+ "name": "boolean"
1244
+ },
1245
+ "isOptional": true
1246
+ },
1247
+ {
1248
+ "__schema": "VariableLikeSchema",
1249
+ "location": {
1250
+ "filePath": "insight-manager.ts",
1251
+ "line": 9,
1252
+ "character": 3
1253
+ },
1254
+ "signature": "(property) includeDeps?: boolean | undefined",
1255
+ "name": "includeDeps",
1256
+ "type": {
1257
+ "__schema": "KeywordTypeSchema",
1258
+ "location": {
1259
+ "filePath": "insight-manager.ts",
1260
+ "line": 9,
1261
+ "character": 17
1262
+ },
1263
+ "name": "boolean"
1264
+ },
1265
+ "isOptional": true
1266
+ },
1267
+ {
1268
+ "__schema": "VariableLikeSchema",
1269
+ "location": {
1270
+ "filePath": "insight-manager.ts",
1271
+ "line": 10,
1272
+ "character": 3
1273
+ },
1274
+ "signature": "(property) ids?: ComponentID[] | undefined",
1275
+ "name": "ids",
1276
+ "type": {
1277
+ "__schema": "TypeArraySchema",
1278
+ "location": {
1279
+ "filePath": "insight-manager.ts",
1280
+ "line": 10,
1281
+ "character": 9
1282
+ },
1283
+ "type": {
1284
+ "__schema": "TypeRefSchema",
1285
+ "location": {
1286
+ "filePath": "insight-manager.ts",
1287
+ "line": 10,
1288
+ "character": 9
1289
+ },
1290
+ "name": "ComponentID"
1291
+ }
1292
+ },
1293
+ "isOptional": true
1294
+ }
1295
+ ]
1296
+ }
1297
+ },
1298
+ {
1299
+ "__schema": "ClassSchema",
1300
+ "location": {
1301
+ "filePath": "insight-manager.ts",
1302
+ "line": 12,
1303
+ "character": 1
1304
+ },
1305
+ "signature": "class InsightManager",
1306
+ "name": "InsightManager",
1307
+ "members": [
1308
+ {
1309
+ "__schema": "VariableLikeSchema",
1310
+ "location": {
1311
+ "filePath": "insight-manager.ts",
1312
+ "line": 14,
1313
+ "character": 3
1314
+ },
1315
+ "doc": {
1316
+ "__schema": "DocSchema",
1317
+ "location": {
1318
+ "filePath": "insight-manager.ts",
1319
+ "line": 13,
1320
+ "character": 3
1321
+ },
1322
+ "raw": "/** insights is an insight registry */",
1323
+ "comment": "insights is an insight registry",
1324
+ "tags": []
1325
+ },
1326
+ "signature": "(property) InsightManager.insights: Map<string, Insight>",
1327
+ "name": "insights",
1328
+ "type": {
1329
+ "__schema": "TypeRefSchema",
1330
+ "location": {
1331
+ "filePath": "insight-manager.ts",
1332
+ "line": 14,
1333
+ "character": 22
1334
+ },
1335
+ "name": "Map",
1336
+ "typeArgs": [
1337
+ {
1338
+ "__schema": "KeywordTypeSchema",
1339
+ "location": {
1340
+ "filePath": "insight-manager.ts",
1341
+ "line": 14,
1342
+ "character": 26
1343
+ },
1344
+ "name": "string"
1345
+ },
1346
+ {
1347
+ "__schema": "TypeRefSchema",
1348
+ "location": {
1349
+ "filePath": "insight-manager.ts",
1350
+ "line": 14,
1351
+ "character": 34
1352
+ },
1353
+ "name": "Insight"
1354
+ }
1355
+ ]
1356
+ },
1357
+ "isOptional": true,
1358
+ "defaultValue": "new Map()"
1359
+ },
1360
+ {
1361
+ "__schema": "ConstructorSchema",
1362
+ "location": {
1363
+ "filePath": "insight-manager.ts",
1364
+ "line": 15,
1365
+ "character": 3
1366
+ },
1367
+ "signature": "constructor InsightManager(insights: Insight[]): InsightManager",
1368
+ "name": "constructor",
1369
+ "params": [
1370
+ {
1371
+ "__schema": "ParameterSchema",
1372
+ "location": {
1373
+ "filePath": "insight-manager.ts",
1374
+ "line": 19,
1375
+ "character": 5
1376
+ },
1377
+ "name": "insights",
1378
+ "type": {
1379
+ "__schema": "TypeArraySchema",
1380
+ "location": {
1381
+ "filePath": "insight-manager.ts",
1382
+ "line": 19,
1383
+ "character": 15
1384
+ },
1385
+ "type": {
1386
+ "__schema": "TypeRefSchema",
1387
+ "location": {
1388
+ "filePath": "insight-manager.ts",
1389
+ "line": 19,
1390
+ "character": 15
1391
+ },
1392
+ "name": "Insight"
1393
+ }
1394
+ },
1395
+ "isOptional": false,
1396
+ "isSpread": false
1397
+ }
1398
+ ],
1399
+ "returnType": {
1400
+ "__schema": "ThisTypeSchema",
1401
+ "location": {
1402
+ "filePath": "insight-manager.ts",
1403
+ "line": 12,
1404
+ "character": 1
1405
+ },
1406
+ "name": "InsightManager"
1407
+ },
1408
+ "modifiers": []
1409
+ },
1410
+ {
1411
+ "__schema": "FunctionLikeSchema",
1412
+ "location": {
1413
+ "filePath": "insight-manager.ts",
1414
+ "line": 29,
1415
+ "character": 3
1416
+ },
1417
+ "doc": {
1418
+ "__schema": "DocSchema",
1419
+ "location": {
1420
+ "filePath": "insight-manager.ts",
1421
+ "line": 26,
1422
+ "character": 3
1423
+ },
1424
+ "raw": "/**\n * registers a new insight and returns the updated insight registry map\n */",
1425
+ "comment": "registers a new insight and returns the updated insight registry map",
1426
+ "tags": []
1427
+ },
1428
+ "signature": "(method) InsightManager.register(insight: Insight): void",
1429
+ "name": "register",
1430
+ "params": [
1431
+ {
1432
+ "__schema": "ParameterSchema",
1433
+ "location": {
1434
+ "filePath": "insight-manager.ts",
1435
+ "line": 29,
1436
+ "character": 12
1437
+ },
1438
+ "name": "insight",
1439
+ "type": {
1440
+ "__schema": "TypeRefSchema",
1441
+ "location": {
1442
+ "filePath": "insight-manager.ts",
1443
+ "line": 29,
1444
+ "character": 21
1445
+ },
1446
+ "name": "Insight"
1447
+ },
1448
+ "isOptional": false,
1449
+ "isSpread": false
1450
+ }
1451
+ ],
1452
+ "returnType": {
1453
+ "__schema": "InferenceTypeSchema",
1454
+ "location": {
1455
+ "filePath": "insight-manager.ts",
1456
+ "line": 29,
1457
+ "character": 3
1458
+ },
1459
+ "type": "void"
1460
+ },
1461
+ "modifiers": []
1462
+ },
1463
+ {
1464
+ "__schema": "FunctionLikeSchema",
1465
+ "location": {
1466
+ "filePath": "insight-manager.ts",
1467
+ "line": 39,
1468
+ "character": 3
1469
+ },
1470
+ "doc": {
1471
+ "__schema": "DocSchema",
1472
+ "location": {
1473
+ "filePath": "insight-manager.ts",
1474
+ "line": 36,
1475
+ "character": 3
1476
+ },
1477
+ "raw": "/**\n * list of all registered insights\n */",
1478
+ "comment": "list of all registered insights",
1479
+ "tags": []
1480
+ },
1481
+ "signature": "(method) InsightManager.listInsights(): string[]",
1482
+ "name": "listInsights",
1483
+ "params": [],
1484
+ "returnType": {
1485
+ "__schema": "TypeArraySchema",
1486
+ "location": {
1487
+ "filePath": "insight-manager.ts",
1488
+ "line": 39,
1489
+ "character": 19
1490
+ },
1491
+ "type": {
1492
+ "__schema": "KeywordTypeSchema",
1493
+ "location": {
1494
+ "filePath": "insight-manager.ts",
1495
+ "line": 39,
1496
+ "character": 19
1497
+ },
1498
+ "name": "string"
1499
+ }
1500
+ },
1501
+ "modifiers": []
1502
+ },
1503
+ {
1504
+ "__schema": "FunctionLikeSchema",
1505
+ "location": {
1506
+ "filePath": "insight-manager.ts",
1507
+ "line": 46,
1508
+ "character": 3
1509
+ },
1510
+ "doc": {
1511
+ "__schema": "DocSchema",
1512
+ "location": {
1513
+ "filePath": "insight-manager.ts",
1514
+ "line": 43,
1515
+ "character": 3
1516
+ },
1517
+ "raw": "/**\n * gets a specific insight by its name or undefined if doesn't exist\n */",
1518
+ "comment": "gets a specific insight by its name or undefined if doesn't exist",
1519
+ "tags": []
1520
+ },
1521
+ "signature": "(method) InsightManager.getByName(insightName: string): Insight | undefined",
1522
+ "name": "getByName",
1523
+ "params": [
1524
+ {
1525
+ "__schema": "ParameterSchema",
1526
+ "location": {
1527
+ "filePath": "insight-manager.ts",
1528
+ "line": 46,
1529
+ "character": 13
1530
+ },
1531
+ "name": "insightName",
1532
+ "type": {
1533
+ "__schema": "KeywordTypeSchema",
1534
+ "location": {
1535
+ "filePath": "insight-manager.ts",
1536
+ "line": 46,
1537
+ "character": 26
1538
+ },
1539
+ "name": "string"
1540
+ },
1541
+ "isOptional": false,
1542
+ "isSpread": false
1543
+ }
1544
+ ],
1545
+ "returnType": {
1546
+ "__schema": "TypeUnionSchema",
1547
+ "location": {
1548
+ "filePath": "insight-manager.ts",
1549
+ "line": 46,
1550
+ "character": 35
1551
+ },
1552
+ "types": [
1553
+ {
1554
+ "__schema": "TypeRefSchema",
1555
+ "location": {
1556
+ "filePath": "insight-manager.ts",
1557
+ "line": 46,
1558
+ "character": 35
1559
+ },
1560
+ "name": "Insight"
1561
+ },
1562
+ {
1563
+ "__schema": "KeywordTypeSchema",
1564
+ "location": {
1565
+ "filePath": "insight-manager.ts",
1566
+ "line": 46,
1567
+ "character": 45
1568
+ },
1569
+ "name": "undefined"
1570
+ }
1571
+ ]
1572
+ },
1573
+ "modifiers": []
1574
+ },
1575
+ {
1576
+ "__schema": "FunctionLikeSchema",
1577
+ "location": {
1578
+ "filePath": "insight-manager.ts",
1579
+ "line": 53,
1580
+ "character": 3
1581
+ },
1582
+ "doc": {
1583
+ "__schema": "DocSchema",
1584
+ "location": {
1585
+ "filePath": "insight-manager.ts",
1586
+ "line": 50,
1587
+ "character": 3
1588
+ },
1589
+ "raw": "/**\n * deletes a specific insight by its name if exists\n */",
1590
+ "comment": "deletes a specific insight by its name if exists",
1591
+ "tags": []
1592
+ },
1593
+ "signature": "(method) InsightManager.delete(insightName: string): void",
1594
+ "name": "delete",
1595
+ "params": [
1596
+ {
1597
+ "__schema": "ParameterSchema",
1598
+ "location": {
1599
+ "filePath": "insight-manager.ts",
1600
+ "line": 53,
1601
+ "character": 10
1602
+ },
1603
+ "name": "insightName",
1604
+ "type": {
1605
+ "__schema": "KeywordTypeSchema",
1606
+ "location": {
1607
+ "filePath": "insight-manager.ts",
1608
+ "line": 53,
1609
+ "character": 23
1610
+ },
1611
+ "name": "string"
1612
+ },
1613
+ "isOptional": false,
1614
+ "isSpread": false
1615
+ }
1616
+ ],
1617
+ "returnType": {
1618
+ "__schema": "InferenceTypeSchema",
1619
+ "location": {
1620
+ "filePath": "insight-manager.ts",
1621
+ "line": 53,
1622
+ "character": 3
1623
+ },
1624
+ "type": "void"
1625
+ },
1626
+ "modifiers": []
1627
+ },
1628
+ {
1629
+ "__schema": "FunctionLikeSchema",
1630
+ "location": {
1631
+ "filePath": "insight-manager.ts",
1632
+ "line": 64,
1633
+ "character": 3
1634
+ },
1635
+ "doc": {
1636
+ "__schema": "DocSchema",
1637
+ "location": {
1638
+ "filePath": "insight-manager.ts",
1639
+ "line": 60,
1640
+ "character": 3
1641
+ },
1642
+ "raw": "/**\n * execute an array of insights\n *\n */",
1643
+ "comment": "execute an array of insights",
1644
+ "tags": []
1645
+ },
1646
+ "signature": "(method) InsightManager.run(insightNames: string[], opts: RunInsightOptions): Promise<InsightResult[]>",
1647
+ "name": "run",
1648
+ "params": [
1649
+ {
1650
+ "__schema": "ParameterSchema",
1651
+ "location": {
1652
+ "filePath": "insight-manager.ts",
1653
+ "line": 64,
1654
+ "character": 13
1655
+ },
1656
+ "name": "insightNames",
1657
+ "type": {
1658
+ "__schema": "TypeArraySchema",
1659
+ "location": {
1660
+ "filePath": "insight-manager.ts",
1661
+ "line": 64,
1662
+ "character": 27
1663
+ },
1664
+ "type": {
1665
+ "__schema": "KeywordTypeSchema",
1666
+ "location": {
1667
+ "filePath": "insight-manager.ts",
1668
+ "line": 64,
1669
+ "character": 27
1670
+ },
1671
+ "name": "string"
1672
+ }
1673
+ },
1674
+ "isOptional": false,
1675
+ "isSpread": false
1676
+ },
1677
+ {
1678
+ "__schema": "ParameterSchema",
1679
+ "location": {
1680
+ "filePath": "insight-manager.ts",
1681
+ "line": 64,
1682
+ "character": 37
1683
+ },
1684
+ "name": "opts",
1685
+ "type": {
1686
+ "__schema": "TypeRefSchema",
1687
+ "location": {
1688
+ "filePath": "insight-manager.ts",
1689
+ "line": 64,
1690
+ "character": 43
1691
+ },
1692
+ "name": "RunInsightOptions"
1693
+ },
1694
+ "isOptional": false,
1695
+ "isSpread": false
1696
+ }
1697
+ ],
1698
+ "returnType": {
1699
+ "__schema": "TypeRefSchema",
1700
+ "location": {
1701
+ "filePath": "insight-manager.ts",
1702
+ "line": 64,
1703
+ "character": 63
1704
+ },
1705
+ "name": "Promise",
1706
+ "typeArgs": [
1707
+ {
1708
+ "__schema": "TypeArraySchema",
1709
+ "location": {
1710
+ "filePath": "insight-manager.ts",
1711
+ "line": 64,
1712
+ "character": 71
1713
+ },
1714
+ "type": {
1715
+ "__schema": "TypeRefSchema",
1716
+ "location": {
1717
+ "filePath": "insight-manager.ts",
1718
+ "line": 64,
1719
+ "character": 71
1720
+ },
1721
+ "name": "InsightResult"
1722
+ }
1723
+ }
1724
+ ]
1725
+ },
1726
+ "modifiers": [
1727
+ "async"
1728
+ ]
1729
+ },
1730
+ {
1731
+ "__schema": "FunctionLikeSchema",
1732
+ "location": {
1733
+ "filePath": "insight-manager.ts",
1734
+ "line": 86,
1735
+ "character": 3
1736
+ },
1737
+ "doc": {
1738
+ "__schema": "DocSchema",
1739
+ "location": {
1740
+ "filePath": "insight-manager.ts",
1741
+ "line": 82,
1742
+ "character": 3
1743
+ },
1744
+ "raw": "/**\n * execute all insights in the registry\n *\n */",
1745
+ "comment": "execute all insights in the registry",
1746
+ "tags": []
1747
+ },
1748
+ "signature": "(method) InsightManager.runAll(opts: RunInsightOptions): Promise<InsightResult[]>",
1749
+ "name": "runAll",
1750
+ "params": [
1751
+ {
1752
+ "__schema": "ParameterSchema",
1753
+ "location": {
1754
+ "filePath": "insight-manager.ts",
1755
+ "line": 86,
1756
+ "character": 16
1757
+ },
1758
+ "name": "opts",
1759
+ "type": {
1760
+ "__schema": "TypeRefSchema",
1761
+ "location": {
1762
+ "filePath": "insight-manager.ts",
1763
+ "line": 86,
1764
+ "character": 22
1765
+ },
1766
+ "name": "RunInsightOptions"
1767
+ },
1768
+ "isOptional": false,
1769
+ "isSpread": false
1770
+ }
1771
+ ],
1772
+ "returnType": {
1773
+ "__schema": "TypeRefSchema",
1774
+ "location": {
1775
+ "filePath": "insight-manager.ts",
1776
+ "line": 86,
1777
+ "character": 42
1778
+ },
1779
+ "name": "Promise",
1780
+ "typeArgs": [
1781
+ {
1782
+ "__schema": "TypeArraySchema",
1783
+ "location": {
1784
+ "filePath": "insight-manager.ts",
1785
+ "line": 86,
1786
+ "character": 50
1787
+ },
1788
+ "type": {
1789
+ "__schema": "TypeRefSchema",
1790
+ "location": {
1791
+ "filePath": "insight-manager.ts",
1792
+ "line": 86,
1793
+ "character": 50
1794
+ },
1795
+ "name": "InsightResult"
1796
+ }
1797
+ }
1798
+ ]
1799
+ },
1800
+ "modifiers": [
1801
+ "async"
1802
+ ]
1803
+ }
1804
+ ],
1805
+ "extendsNodes": [],
1806
+ "implementNodes": []
1807
+ }
1808
+ ],
1809
+ "internals": []
1810
+ },
1811
+ {
1812
+ "__schema": "ModuleSchema",
1813
+ "location": {
1814
+ "filePath": "insight.ts",
1815
+ "line": 1,
1816
+ "character": 1
1817
+ },
1818
+ "exports": [
1819
+ {
1820
+ "__schema": "TypeSchema",
1821
+ "location": {
1822
+ "filePath": "insight.ts",
1823
+ "line": 4,
1824
+ "character": 1
1825
+ },
1826
+ "signature": "type InsightMetaData = {\n name: string;\n description: string;\n}",
1827
+ "name": "InsightMetaData",
1828
+ "type": {
1829
+ "__schema": "TypeLiteralSchema",
1830
+ "location": {
1831
+ "filePath": "insight.ts",
1832
+ "line": 4,
1833
+ "character": 31
1834
+ },
1835
+ "members": [
1836
+ {
1837
+ "__schema": "VariableLikeSchema",
1838
+ "location": {
1839
+ "filePath": "insight.ts",
1840
+ "line": 5,
1841
+ "character": 3
1842
+ },
1843
+ "signature": "(property) name: string",
1844
+ "name": "name",
1845
+ "type": {
1846
+ "__schema": "KeywordTypeSchema",
1847
+ "location": {
1848
+ "filePath": "insight.ts",
1849
+ "line": 5,
1850
+ "character": 9
1851
+ },
1852
+ "name": "string"
1853
+ },
1854
+ "isOptional": false
1855
+ },
1856
+ {
1857
+ "__schema": "VariableLikeSchema",
1858
+ "location": {
1859
+ "filePath": "insight.ts",
1860
+ "line": 6,
1861
+ "character": 3
1862
+ },
1863
+ "signature": "(property) description: string",
1864
+ "name": "description",
1865
+ "type": {
1866
+ "__schema": "KeywordTypeSchema",
1867
+ "location": {
1868
+ "filePath": "insight.ts",
1869
+ "line": 6,
1870
+ "character": 16
1871
+ },
1872
+ "name": "string"
1873
+ },
1874
+ "isOptional": false
1875
+ }
1876
+ ]
1877
+ }
1878
+ },
1879
+ {
1880
+ "__schema": "TypeSchema",
1881
+ "location": {
1882
+ "filePath": "insight.ts",
1883
+ "line": 9,
1884
+ "character": 1
1885
+ },
1886
+ "signature": "type InsightResult = {\n metaData: InsightMetaData;\n message: string;\n data: any;\n renderedData?: string;\n}",
1887
+ "name": "InsightResult",
1888
+ "type": {
1889
+ "__schema": "TypeLiteralSchema",
1890
+ "location": {
1891
+ "filePath": "insight.ts",
1892
+ "line": 9,
1893
+ "character": 29
1894
+ },
1895
+ "members": [
1896
+ {
1897
+ "__schema": "VariableLikeSchema",
1898
+ "location": {
1899
+ "filePath": "insight.ts",
1900
+ "line": 10,
1901
+ "character": 3
1902
+ },
1903
+ "signature": "(property) metaData: InsightMetaData",
1904
+ "name": "metaData",
1905
+ "type": {
1906
+ "__schema": "TypeRefSchema",
1907
+ "location": {
1908
+ "filePath": "insight.ts",
1909
+ "line": 10,
1910
+ "character": 3
1911
+ },
1912
+ "name": "InsightMetaData",
1913
+ "internalFilePath": "insight.ts"
1914
+ },
1915
+ "isOptional": false
1916
+ },
1917
+ {
1918
+ "__schema": "VariableLikeSchema",
1919
+ "location": {
1920
+ "filePath": "insight.ts",
1921
+ "line": 11,
1922
+ "character": 3
1923
+ },
1924
+ "signature": "(property) message: string",
1925
+ "name": "message",
1926
+ "type": {
1927
+ "__schema": "KeywordTypeSchema",
1928
+ "location": {
1929
+ "filePath": "insight.ts",
1930
+ "line": 11,
1931
+ "character": 12
1932
+ },
1933
+ "name": "string"
1934
+ },
1935
+ "isOptional": false
1936
+ },
1937
+ {
1938
+ "__schema": "VariableLikeSchema",
1939
+ "location": {
1940
+ "filePath": "insight.ts",
1941
+ "line": 12,
1942
+ "character": 3
1943
+ },
1944
+ "signature": "(property) data: any",
1945
+ "name": "data",
1946
+ "type": {
1947
+ "__schema": "KeywordTypeSchema",
1948
+ "location": {
1949
+ "filePath": "insight.ts",
1950
+ "line": 12,
1951
+ "character": 9
1952
+ },
1953
+ "name": "any"
1954
+ },
1955
+ "isOptional": false
1956
+ },
1957
+ {
1958
+ "__schema": "VariableLikeSchema",
1959
+ "location": {
1960
+ "filePath": "insight.ts",
1961
+ "line": 13,
1962
+ "character": 3
1963
+ },
1964
+ "signature": "(property) renderedData?: string | undefined",
1965
+ "name": "renderedData",
1966
+ "type": {
1967
+ "__schema": "KeywordTypeSchema",
1968
+ "location": {
1969
+ "filePath": "insight.ts",
1970
+ "line": 13,
1971
+ "character": 18
1972
+ },
1973
+ "name": "string"
1974
+ },
1975
+ "isOptional": true
1976
+ }
1977
+ ]
1978
+ }
1979
+ },
1980
+ {
1981
+ "__schema": "TypeSchema",
1982
+ "location": {
1983
+ "filePath": "insight.ts",
1984
+ "line": 16,
1985
+ "character": 1
1986
+ },
1987
+ "signature": "type RawResult = {\n message: string;\n data: any;\n}",
1988
+ "name": "RawResult",
1989
+ "type": {
1990
+ "__schema": "TypeLiteralSchema",
1991
+ "location": {
1992
+ "filePath": "insight.ts",
1993
+ "line": 16,
1994
+ "character": 25
1995
+ },
1996
+ "members": [
1997
+ {
1998
+ "__schema": "VariableLikeSchema",
1999
+ "location": {
2000
+ "filePath": "insight.ts",
2001
+ "line": 17,
2002
+ "character": 3
2003
+ },
2004
+ "signature": "(property) message: string",
2005
+ "name": "message",
2006
+ "type": {
2007
+ "__schema": "KeywordTypeSchema",
2008
+ "location": {
2009
+ "filePath": "insight.ts",
2010
+ "line": 17,
2011
+ "character": 12
2012
+ },
2013
+ "name": "string"
2014
+ },
2015
+ "isOptional": false
2016
+ },
2017
+ {
2018
+ "__schema": "VariableLikeSchema",
2019
+ "location": {
2020
+ "filePath": "insight.ts",
2021
+ "line": 18,
2022
+ "character": 3
2023
+ },
2024
+ "signature": "(property) data: any",
2025
+ "name": "data",
2026
+ "type": {
2027
+ "__schema": "KeywordTypeSchema",
2028
+ "location": {
2029
+ "filePath": "insight.ts",
2030
+ "line": 18,
2031
+ "character": 9
2032
+ },
2033
+ "name": "any"
2034
+ },
2035
+ "isOptional": false
2036
+ }
2037
+ ]
2038
+ }
2039
+ },
2040
+ {
2041
+ "__schema": "InterfaceSchema",
2042
+ "location": {
2043
+ "filePath": "insight.ts",
2044
+ "line": 21,
2045
+ "character": 1
2046
+ },
2047
+ "signature": "interface Insight",
2048
+ "name": "Insight",
2049
+ "members": [
2050
+ {
2051
+ "__schema": "VariableLikeSchema",
2052
+ "location": {
2053
+ "filePath": "insight.ts",
2054
+ "line": 22,
2055
+ "character": 3
2056
+ },
2057
+ "signature": "(property) Insight.name: string",
2058
+ "name": "name",
2059
+ "type": {
2060
+ "__schema": "KeywordTypeSchema",
2061
+ "location": {
2062
+ "filePath": "insight.ts",
2063
+ "line": 22,
2064
+ "character": 9
2065
+ },
2066
+ "name": "string"
2067
+ },
2068
+ "isOptional": false
2069
+ },
2070
+ {
2071
+ "__schema": "VariableLikeSchema",
2072
+ "location": {
2073
+ "filePath": "insight.ts",
2074
+ "line": 23,
2075
+ "character": 3
2076
+ },
2077
+ "signature": "(property) Insight.description: string",
2078
+ "name": "description",
2079
+ "type": {
2080
+ "__schema": "KeywordTypeSchema",
2081
+ "location": {
2082
+ "filePath": "insight.ts",
2083
+ "line": 23,
2084
+ "character": 16
2085
+ },
2086
+ "name": "string"
2087
+ },
2088
+ "isOptional": false
2089
+ },
2090
+ {
2091
+ "__schema": "FunctionLikeSchema",
2092
+ "location": {
2093
+ "filePath": "insight.ts",
2094
+ "line": 28,
2095
+ "character": 3
2096
+ },
2097
+ "doc": {
2098
+ "__schema": "DocSchema",
2099
+ "location": {
2100
+ "filePath": "insight.ts",
2101
+ "line": 25,
2102
+ "character": 3
2103
+ },
2104
+ "raw": "/**\n * runs a specific insight using _runInsight, gets a RawResult, and uses _formatData to transform the output to InsightResult.\n */",
2105
+ "comment": "runs a specific insight using _runInsight, gets a RawResult, and uses _formatData to transform the output to InsightResult.",
2106
+ "tags": []
2107
+ },
2108
+ "signature": "(method) Insight.run(opts?: RunInsightOptions): Promise<InsightResult>",
2109
+ "name": "run",
2110
+ "params": [
2111
+ {
2112
+ "__schema": "ParameterSchema",
2113
+ "location": {
2114
+ "filePath": "insight.ts",
2115
+ "line": 28,
2116
+ "character": 7
2117
+ },
2118
+ "name": "opts",
2119
+ "type": {
2120
+ "__schema": "TypeRefSchema",
2121
+ "location": {
2122
+ "filePath": "insight.ts",
2123
+ "line": 28,
2124
+ "character": 14
2125
+ },
2126
+ "name": "RunInsightOptions"
2127
+ },
2128
+ "isOptional": true,
2129
+ "isSpread": false
2130
+ }
2131
+ ],
2132
+ "returnType": {
2133
+ "__schema": "TypeRefSchema",
2134
+ "location": {
2135
+ "filePath": "insight.ts",
2136
+ "line": 28,
2137
+ "character": 34
2138
+ },
2139
+ "name": "Promise",
2140
+ "typeArgs": [
2141
+ {
2142
+ "__schema": "TypeRefSchema",
2143
+ "location": {
2144
+ "filePath": "insight.ts",
2145
+ "line": 28,
2146
+ "character": 42
2147
+ },
2148
+ "name": "InsightResult"
2149
+ }
2150
+ ]
2151
+ },
2152
+ "modifiers": []
2153
+ },
2154
+ {
2155
+ "__schema": "FunctionLikeSchema",
2156
+ "location": {
2157
+ "filePath": "insight.ts",
2158
+ "line": 34,
2159
+ "character": 3
2160
+ },
2161
+ "doc": {
2162
+ "__schema": "DocSchema",
2163
+ "location": {
2164
+ "filePath": "insight.ts",
2165
+ "line": 30,
2166
+ "character": 3
2167
+ },
2168
+ "raw": "/**\n * add the results from the insights as a component-issue so then bit-status could show them and bit-tag could block\n * them.\n */",
2169
+ "comment": "add the results from the insights as a component-issue so then bit-status could show them and bit-tag could block\nthem.",
2170
+ "tags": []
2171
+ },
2172
+ "signature": "(method) Insight.addAsComponentIssue?(components: Component[]): Promise<void>",
2173
+ "name": "addAsComponentIssue",
2174
+ "params": [
2175
+ {
2176
+ "__schema": "ParameterSchema",
2177
+ "location": {
2178
+ "filePath": "insight.ts",
2179
+ "line": 34,
2180
+ "character": 24
2181
+ },
2182
+ "name": "components",
2183
+ "type": {
2184
+ "__schema": "TypeArraySchema",
2185
+ "location": {
2186
+ "filePath": "insight.ts",
2187
+ "line": 34,
2188
+ "character": 36
2189
+ },
2190
+ "type": {
2191
+ "__schema": "TypeRefSchema",
2192
+ "location": {
2193
+ "filePath": "insight.ts",
2194
+ "line": 34,
2195
+ "character": 36
2196
+ },
2197
+ "name": "Component"
2198
+ }
2199
+ },
2200
+ "isOptional": false,
2201
+ "isSpread": false
2202
+ }
2203
+ ],
2204
+ "returnType": {
2205
+ "__schema": "TypeRefSchema",
2206
+ "location": {
2207
+ "filePath": "insight.ts",
2208
+ "line": 34,
2209
+ "character": 50
2210
+ },
2211
+ "name": "Promise",
2212
+ "typeArgs": [
2213
+ {
2214
+ "__schema": "KeywordTypeSchema",
2215
+ "location": {
2216
+ "filePath": "insight.ts",
2217
+ "line": 34,
2218
+ "character": 58
2219
+ },
2220
+ "name": "void"
2221
+ }
2222
+ ]
2223
+ },
2224
+ "modifiers": []
2225
+ }
2226
+ ],
2227
+ "extendsNodes": []
2228
+ }
2229
+ ],
2230
+ "internals": []
2231
+ },
2232
+ {
2233
+ "__schema": "ModuleSchema",
2234
+ "location": {
2235
+ "filePath": "insights.main.runtime.ts",
2236
+ "line": 1,
2237
+ "character": 1
2238
+ },
2239
+ "exports": [
2240
+ {
2241
+ "__schema": "ClassSchema",
2242
+ "location": {
2243
+ "filePath": "insights.main.runtime.ts",
2244
+ "line": 13,
2245
+ "character": 1
2246
+ },
2247
+ "signature": "class InsightsMain",
2248
+ "name": "InsightsMain",
2249
+ "members": [
2250
+ {
2251
+ "__schema": "ConstructorSchema",
2252
+ "location": {
2253
+ "filePath": "insights.main.runtime.ts",
2254
+ "line": 14,
2255
+ "character": 3
2256
+ },
2257
+ "signature": "constructor InsightsMain(insightManager: InsightManager): InsightsMain",
2258
+ "name": "constructor",
2259
+ "params": [
2260
+ {
2261
+ "__schema": "ParameterSchema",
2262
+ "location": {
2263
+ "filePath": "insights.main.runtime.ts",
2264
+ "line": 14,
2265
+ "character": 15
2266
+ },
2267
+ "name": "insightManager",
2268
+ "type": {
2269
+ "__schema": "TypeRefSchema",
2270
+ "location": {
2271
+ "filePath": "insights.main.runtime.ts",
2272
+ "line": 14,
2273
+ "character": 39
2274
+ },
2275
+ "name": "InsightManager"
2276
+ },
2277
+ "isOptional": false,
2278
+ "isSpread": false
2279
+ }
2280
+ ],
2281
+ "returnType": {
2282
+ "__schema": "ThisTypeSchema",
2283
+ "location": {
2284
+ "filePath": "insights.main.runtime.ts",
2285
+ "line": 13,
2286
+ "character": 1
2287
+ },
2288
+ "name": "InsightsMain"
2289
+ },
2290
+ "modifiers": []
2291
+ },
2292
+ {
2293
+ "__schema": "FunctionLikeSchema",
2294
+ "location": {
2295
+ "filePath": "insights.main.runtime.ts",
2296
+ "line": 16,
2297
+ "character": 3
2298
+ },
2299
+ "signature": "(method) InsightsMain.runInsights(names: string[], opts: RunInsightOptions): Promise<InsightResult[]>",
2300
+ "name": "runInsights",
2301
+ "params": [
2302
+ {
2303
+ "__schema": "ParameterSchema",
2304
+ "location": {
2305
+ "filePath": "insights.main.runtime.ts",
2306
+ "line": 16,
2307
+ "character": 21
2308
+ },
2309
+ "name": "names",
2310
+ "type": {
2311
+ "__schema": "TypeArraySchema",
2312
+ "location": {
2313
+ "filePath": "insights.main.runtime.ts",
2314
+ "line": 16,
2315
+ "character": 28
2316
+ },
2317
+ "type": {
2318
+ "__schema": "KeywordTypeSchema",
2319
+ "location": {
2320
+ "filePath": "insights.main.runtime.ts",
2321
+ "line": 16,
2322
+ "character": 28
2323
+ },
2324
+ "name": "string"
2325
+ }
2326
+ },
2327
+ "isOptional": false,
2328
+ "isSpread": false
2329
+ },
2330
+ {
2331
+ "__schema": "ParameterSchema",
2332
+ "location": {
2333
+ "filePath": "insights.main.runtime.ts",
2334
+ "line": 16,
2335
+ "character": 38
2336
+ },
2337
+ "name": "opts",
2338
+ "type": {
2339
+ "__schema": "TypeRefSchema",
2340
+ "location": {
2341
+ "filePath": "insights.main.runtime.ts",
2342
+ "line": 16,
2343
+ "character": 44
2344
+ },
2345
+ "name": "RunInsightOptions"
2346
+ },
2347
+ "isOptional": false,
2348
+ "isSpread": false
2349
+ }
2350
+ ],
2351
+ "returnType": {
2352
+ "__schema": "InferenceTypeSchema",
2353
+ "location": {
2354
+ "filePath": "insights.main.runtime.ts",
2355
+ "line": 16,
2356
+ "character": 3
2357
+ },
2358
+ "type": "Promise<InsightResult[]>"
2359
+ },
2360
+ "modifiers": [
2361
+ "async"
2362
+ ]
2363
+ },
2364
+ {
2365
+ "__schema": "FunctionLikeSchema",
2366
+ "location": {
2367
+ "filePath": "insights.main.runtime.ts",
2368
+ "line": 27,
2369
+ "character": 3
2370
+ },
2371
+ "signature": "(method) InsightsMain.listInsights(): string[]",
2372
+ "name": "listInsights",
2373
+ "params": [],
2374
+ "returnType": {
2375
+ "__schema": "InferenceTypeSchema",
2376
+ "location": {
2377
+ "filePath": "insights.main.runtime.ts",
2378
+ "line": 27,
2379
+ "character": 3
2380
+ },
2381
+ "type": "string[]"
2382
+ },
2383
+ "modifiers": []
2384
+ },
2385
+ {
2386
+ "__schema": "FunctionLikeSchema",
2387
+ "location": {
2388
+ "filePath": "insights.main.runtime.ts",
2389
+ "line": 31,
2390
+ "character": 3
2391
+ },
2392
+ "signature": "(method) InsightsMain.addInsightsAsComponentIssues(components: Component[], issuesToIgnore: string[]): Promise<void>",
2393
+ "name": "addInsightsAsComponentIssues",
2394
+ "params": [
2395
+ {
2396
+ "__schema": "ParameterSchema",
2397
+ "location": {
2398
+ "filePath": "insights.main.runtime.ts",
2399
+ "line": 31,
2400
+ "character": 38
2401
+ },
2402
+ "name": "components",
2403
+ "type": {
2404
+ "__schema": "TypeArraySchema",
2405
+ "location": {
2406
+ "filePath": "insights.main.runtime.ts",
2407
+ "line": 31,
2408
+ "character": 50
2409
+ },
2410
+ "type": {
2411
+ "__schema": "TypeRefSchema",
2412
+ "location": {
2413
+ "filePath": "insights.main.runtime.ts",
2414
+ "line": 31,
2415
+ "character": 50
2416
+ },
2417
+ "name": "Component"
2418
+ }
2419
+ },
2420
+ "isOptional": false,
2421
+ "isSpread": false
2422
+ },
2423
+ {
2424
+ "__schema": "ParameterSchema",
2425
+ "location": {
2426
+ "filePath": "insights.main.runtime.ts",
2427
+ "line": 31,
2428
+ "character": 63
2429
+ },
2430
+ "name": "issuesToIgnore",
2431
+ "type": {
2432
+ "__schema": "TypeArraySchema",
2433
+ "location": {
2434
+ "filePath": "insights.main.runtime.ts",
2435
+ "line": 31,
2436
+ "character": 79
2437
+ },
2438
+ "type": {
2439
+ "__schema": "KeywordTypeSchema",
2440
+ "location": {
2441
+ "filePath": "insights.main.runtime.ts",
2442
+ "line": 31,
2443
+ "character": 79
2444
+ },
2445
+ "name": "string"
2446
+ }
2447
+ },
2448
+ "isOptional": false,
2449
+ "isSpread": false
2450
+ }
2451
+ ],
2452
+ "returnType": {
2453
+ "__schema": "InferenceTypeSchema",
2454
+ "location": {
2455
+ "filePath": "insights.main.runtime.ts",
2456
+ "line": 31,
2457
+ "character": 3
2458
+ },
2459
+ "type": "Promise<void>"
2460
+ },
2461
+ "modifiers": [
2462
+ "async"
2463
+ ]
2464
+ },
2465
+ {
2466
+ "__schema": "VariableLikeSchema",
2467
+ "location": {
2468
+ "filePath": "insights.main.runtime.ts",
2469
+ "line": 43,
2470
+ "character": 3
2471
+ },
2472
+ "signature": "(property) InsightsMain.slots: never[]",
2473
+ "name": "slots",
2474
+ "type": {
2475
+ "__schema": "InferenceTypeSchema",
2476
+ "location": {
2477
+ "filePath": "insights.main.runtime.ts",
2478
+ "line": 43,
2479
+ "character": 3
2480
+ },
2481
+ "type": "never[]"
2482
+ },
2483
+ "isOptional": true,
2484
+ "defaultValue": "[]"
2485
+ },
2486
+ {
2487
+ "__schema": "VariableLikeSchema",
2488
+ "location": {
2489
+ "filePath": "insights.main.runtime.ts",
2490
+ "line": 44,
2491
+ "character": 3
2492
+ },
2493
+ "signature": "(property) InsightsMain.dependencies: Aspect[]",
2494
+ "name": "dependencies",
2495
+ "type": {
2496
+ "__schema": "InferenceTypeSchema",
2497
+ "location": {
2498
+ "filePath": "insights.main.runtime.ts",
2499
+ "line": 44,
2500
+ "character": 3
2501
+ },
2502
+ "type": "Aspect[]"
2503
+ },
2504
+ "isOptional": true,
2505
+ "defaultValue": "[GraphAspect, CLIAspect, IssuesAspect]"
2506
+ },
2507
+ {
2508
+ "__schema": "VariableLikeSchema",
2509
+ "location": {
2510
+ "filePath": "insights.main.runtime.ts",
2511
+ "line": 45,
2512
+ "character": 3
2513
+ },
2514
+ "signature": "(property) InsightsMain.runtime: RuntimeDefinition",
2515
+ "name": "runtime",
2516
+ "type": {
2517
+ "__schema": "InferenceTypeSchema",
2518
+ "location": {
2519
+ "filePath": "insights.main.runtime.ts",
2520
+ "line": 45,
2521
+ "character": 3
2522
+ },
2523
+ "type": "RuntimeDefinition"
2524
+ },
2525
+ "isOptional": true,
2526
+ "defaultValue": "MainRuntime"
2527
+ },
2528
+ {
2529
+ "__schema": "VariableLikeSchema",
2530
+ "location": {
2531
+ "filePath": "insights.main.runtime.ts",
2532
+ "line": 46,
2533
+ "character": 3
2534
+ },
2535
+ "signature": "(property) InsightsMain.config: {\n silence: boolean;\n}",
2536
+ "name": "config",
2537
+ "type": {
2538
+ "__schema": "InferenceTypeSchema",
2539
+ "location": {
2540
+ "filePath": "insights.main.runtime.ts",
2541
+ "line": 46,
2542
+ "character": 3
2543
+ },
2544
+ "type": "{\n silence: boolean;\n}"
2545
+ },
2546
+ "isOptional": true,
2547
+ "defaultValue": "{\n silence: false,\n }"
2548
+ },
2549
+ {
2550
+ "__schema": "FunctionLikeSchema",
2551
+ "location": {
2552
+ "filePath": "insights.main.runtime.ts",
2553
+ "line": 49,
2554
+ "character": 3
2555
+ },
2556
+ "signature": "(method) InsightsMain.provider([graphMain, cli, issues]: [GraphMain, CLIMain, IssuesMain]): Promise<InsightsMain>",
2557
+ "name": "provider",
2558
+ "params": [
2559
+ {
2560
+ "__schema": "ParameterSchema",
2561
+ "location": {
2562
+ "filePath": "insights.main.runtime.ts",
2563
+ "line": 49,
2564
+ "character": 25
2565
+ },
2566
+ "name": "[ graphMain, cli, issues ]",
2567
+ "type": {
2568
+ "__schema": "TupleTypeSchema",
2569
+ "location": {
2570
+ "filePath": "insights.main.runtime.ts",
2571
+ "line": 49,
2572
+ "character": 51
2573
+ },
2574
+ "elements": [
2575
+ {
2576
+ "__schema": "TypeRefSchema",
2577
+ "location": {
2578
+ "filePath": "insights.main.runtime.ts",
2579
+ "line": 49,
2580
+ "character": 52
2581
+ },
2582
+ "name": "GraphMain"
2583
+ },
2584
+ {
2585
+ "__schema": "TypeRefSchema",
2586
+ "location": {
2587
+ "filePath": "insights.main.runtime.ts",
2588
+ "line": 49,
2589
+ "character": 63
2590
+ },
2591
+ "name": "CLIMain"
2592
+ },
2593
+ {
2594
+ "__schema": "TypeRefSchema",
2595
+ "location": {
2596
+ "filePath": "insights.main.runtime.ts",
2597
+ "line": 49,
2598
+ "character": 72
2599
+ },
2600
+ "name": "IssuesMain"
2601
+ }
2602
+ ]
2603
+ },
2604
+ "isOptional": false,
2605
+ "isSpread": false
2606
+ }
2607
+ ],
2608
+ "returnType": {
2609
+ "__schema": "InferenceTypeSchema",
2610
+ "location": {
2611
+ "filePath": "insights.main.runtime.ts",
2612
+ "line": 49,
2613
+ "character": 3
2614
+ },
2615
+ "type": "Promise<InsightsMain>"
2616
+ },
2617
+ "modifiers": [
2618
+ "static",
2619
+ "async"
2620
+ ]
2621
+ }
2622
+ ],
2623
+ "extendsNodes": [],
2624
+ "implementNodes": []
2625
+ }
2626
+ ],
2627
+ "internals": [
2628
+ {
2629
+ "__schema": "UnImplementedSchema",
2630
+ "location": {
2631
+ "filePath": "insights.main.runtime.ts",
2632
+ "line": 63,
2633
+ "character": 1
2634
+ },
2635
+ "name": "InsightsAspect.addRuntime(InsightsMain);",
2636
+ "type": "ExpressionStatement"
2637
+ }
2638
+ ]
2639
+ },
2640
+ {
2641
+ "__schema": "ModuleSchema",
2642
+ "location": {
2643
+ "filePath": "insights.aspect.ts",
2644
+ "line": 1,
2645
+ "character": 1
2646
+ },
2647
+ "exports": [
2648
+ {
2649
+ "__schema": "VariableLikeSchema",
2650
+ "location": {
2651
+ "filePath": "insights.aspect.ts",
2652
+ "line": 3,
2653
+ "character": 14
2654
+ },
2655
+ "signature": "const InsightsAspect: Aspect",
2656
+ "name": "InsightsAspect",
2657
+ "type": {
2658
+ "__schema": "TypeRefSchema",
2659
+ "location": {
2660
+ "filePath": "insights.aspect.ts",
2661
+ "line": 3,
2662
+ "character": 14
2663
+ },
2664
+ "name": "Aspect",
2665
+ "componentId": {
2666
+ "scope": "teambit.harmony",
2667
+ "name": "harmony",
2668
+ "version": "0.4.6"
2669
+ }
2670
+ },
2671
+ "isOptional": false,
2672
+ "defaultValue": "Aspect.create({\n id: 'teambit.explorer/insights',\n dependencies: [],\n defaultConfig: {},\n})"
2673
+ }
2674
+ ],
2675
+ "internals": []
2676
+ }
2677
+ ],
2678
+ "componentId": {
2679
+ "scope": "teambit.explorer",
2680
+ "name": "insights",
2681
+ "version": "1.0.513"
2682
+ },
2683
+ "taggedModuleExports": []
2684
+ }