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