@teambit/issues 1.0.158 → 1.0.159

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,1451 @@
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": "issues.main.runtime.ts",
20
+ "line": 18,
21
+ "character": 1
22
+ },
23
+ "signature": "class IssuesMain",
24
+ "name": "IssuesMain",
25
+ "members": [
26
+ {
27
+ "__schema": "ConstructorSchema",
28
+ "location": {
29
+ "filePath": "issues.main.runtime.ts",
30
+ "line": 19,
31
+ "character": 3
32
+ },
33
+ "signature": "constructor IssuesMain(config: IssuesConfig, addComponentsIssuesSlot: AddComponentsIssuesSlot): IssuesMain",
34
+ "name": "constructor",
35
+ "params": [
36
+ {
37
+ "__schema": "ParameterSchema",
38
+ "location": {
39
+ "filePath": "issues.main.runtime.ts",
40
+ "line": 19,
41
+ "character": 15
42
+ },
43
+ "name": "config",
44
+ "type": {
45
+ "__schema": "TypeRefSchema",
46
+ "location": {
47
+ "filePath": "issues.main.runtime.ts",
48
+ "line": 19,
49
+ "character": 31
50
+ },
51
+ "name": "IssuesConfig"
52
+ },
53
+ "isOptional": false,
54
+ "isSpread": false
55
+ },
56
+ {
57
+ "__schema": "ParameterSchema",
58
+ "location": {
59
+ "filePath": "issues.main.runtime.ts",
60
+ "line": 19,
61
+ "character": 45
62
+ },
63
+ "name": "addComponentsIssuesSlot",
64
+ "type": {
65
+ "__schema": "TypeRefSchema",
66
+ "location": {
67
+ "filePath": "issues.main.runtime.ts",
68
+ "line": 19,
69
+ "character": 78
70
+ },
71
+ "name": "AddComponentsIssuesSlot"
72
+ },
73
+ "isOptional": false,
74
+ "isSpread": false
75
+ }
76
+ ],
77
+ "returnType": {
78
+ "__schema": "ThisTypeSchema",
79
+ "location": {
80
+ "filePath": "issues.main.runtime.ts",
81
+ "line": 18,
82
+ "character": 1
83
+ },
84
+ "name": "IssuesMain"
85
+ },
86
+ "modifiers": []
87
+ },
88
+ {
89
+ "__schema": "FunctionLikeSchema",
90
+ "location": {
91
+ "filePath": "issues.main.runtime.ts",
92
+ "line": 21,
93
+ "character": 3
94
+ },
95
+ "signature": "(method) IssuesMain.getIssuesToIgnoreGlobally(): string[]",
96
+ "name": "getIssuesToIgnoreGlobally",
97
+ "params": [],
98
+ "returnType": {
99
+ "__schema": "TypeArraySchema",
100
+ "location": {
101
+ "filePath": "issues.main.runtime.ts",
102
+ "line": 21,
103
+ "character": 32
104
+ },
105
+ "type": {
106
+ "__schema": "KeywordTypeSchema",
107
+ "location": {
108
+ "filePath": "issues.main.runtime.ts",
109
+ "line": 21,
110
+ "character": 32
111
+ },
112
+ "name": "string"
113
+ }
114
+ },
115
+ "modifiers": []
116
+ },
117
+ {
118
+ "__schema": "FunctionLikeSchema",
119
+ "location": {
120
+ "filePath": "issues.main.runtime.ts",
121
+ "line": 27,
122
+ "character": 3
123
+ },
124
+ "signature": "(method) IssuesMain.getIssuesToIgnorePerComponent(component: Component): string[]",
125
+ "name": "getIssuesToIgnorePerComponent",
126
+ "params": [
127
+ {
128
+ "__schema": "ParameterSchema",
129
+ "location": {
130
+ "filePath": "issues.main.runtime.ts",
131
+ "line": 27,
132
+ "character": 33
133
+ },
134
+ "name": "component",
135
+ "type": {
136
+ "__schema": "TypeRefSchema",
137
+ "location": {
138
+ "filePath": "issues.main.runtime.ts",
139
+ "line": 27,
140
+ "character": 44
141
+ },
142
+ "name": "Component"
143
+ },
144
+ "isOptional": false,
145
+ "isSpread": false
146
+ }
147
+ ],
148
+ "returnType": {
149
+ "__schema": "TypeArraySchema",
150
+ "location": {
151
+ "filePath": "issues.main.runtime.ts",
152
+ "line": 27,
153
+ "character": 56
154
+ },
155
+ "type": {
156
+ "__schema": "KeywordTypeSchema",
157
+ "location": {
158
+ "filePath": "issues.main.runtime.ts",
159
+ "line": 27,
160
+ "character": 56
161
+ },
162
+ "name": "string"
163
+ }
164
+ },
165
+ "modifiers": []
166
+ },
167
+ {
168
+ "__schema": "FunctionLikeSchema",
169
+ "location": {
170
+ "filePath": "issues.main.runtime.ts",
171
+ "line": 43,
172
+ "character": 3
173
+ },
174
+ "signature": "(method) IssuesMain.listIssues(): {\n name: string;\n description: string;\n solution: string;\n isTagBlocker: boolean;\n}[]",
175
+ "name": "listIssues",
176
+ "params": [],
177
+ "returnType": {
178
+ "__schema": "InferenceTypeSchema",
179
+ "location": {
180
+ "filePath": "issues.main.runtime.ts",
181
+ "line": 43,
182
+ "character": 3
183
+ },
184
+ "type": "{\n name: string;\n description: string;\n solution: string;\n isTagBlocker: boolean;\n}[]"
185
+ },
186
+ "modifiers": []
187
+ },
188
+ {
189
+ "__schema": "FunctionLikeSchema",
190
+ "location": {
191
+ "filePath": "issues.main.runtime.ts",
192
+ "line": 57,
193
+ "character": 3
194
+ },
195
+ "signature": "(method) IssuesMain.removeIgnoredIssuesFromComponents(components: Component[], extraIssuesToIgnore?: string[]): void",
196
+ "name": "removeIgnoredIssuesFromComponents",
197
+ "params": [
198
+ {
199
+ "__schema": "ParameterSchema",
200
+ "location": {
201
+ "filePath": "issues.main.runtime.ts",
202
+ "line": 57,
203
+ "character": 37
204
+ },
205
+ "name": "components",
206
+ "type": {
207
+ "__schema": "TypeArraySchema",
208
+ "location": {
209
+ "filePath": "issues.main.runtime.ts",
210
+ "line": 57,
211
+ "character": 49
212
+ },
213
+ "type": {
214
+ "__schema": "TypeRefSchema",
215
+ "location": {
216
+ "filePath": "issues.main.runtime.ts",
217
+ "line": 57,
218
+ "character": 49
219
+ },
220
+ "name": "Component"
221
+ }
222
+ },
223
+ "isOptional": false,
224
+ "isSpread": false
225
+ },
226
+ {
227
+ "__schema": "ParameterSchema",
228
+ "location": {
229
+ "filePath": "issues.main.runtime.ts",
230
+ "line": 57,
231
+ "character": 62
232
+ },
233
+ "name": "extraIssuesToIgnore",
234
+ "type": {
235
+ "__schema": "TypeArraySchema",
236
+ "location": {
237
+ "filePath": "issues.main.runtime.ts",
238
+ "line": 57,
239
+ "character": 83
240
+ },
241
+ "type": {
242
+ "__schema": "KeywordTypeSchema",
243
+ "location": {
244
+ "filePath": "issues.main.runtime.ts",
245
+ "line": 57,
246
+ "character": 83
247
+ },
248
+ "name": "string"
249
+ }
250
+ },
251
+ "isOptional": true,
252
+ "defaultValue": "[]",
253
+ "isSpread": false
254
+ }
255
+ ],
256
+ "returnType": {
257
+ "__schema": "InferenceTypeSchema",
258
+ "location": {
259
+ "filePath": "issues.main.runtime.ts",
260
+ "line": 57,
261
+ "character": 3
262
+ },
263
+ "type": "void"
264
+ },
265
+ "modifiers": []
266
+ },
267
+ {
268
+ "__schema": "FunctionLikeSchema",
269
+ "location": {
270
+ "filePath": "issues.main.runtime.ts",
271
+ "line": 74,
272
+ "character": 3
273
+ },
274
+ "doc": {
275
+ "__schema": "DocSchema",
276
+ "location": {
277
+ "filePath": "issues.main.runtime.ts",
278
+ "line": 68,
279
+ "character": 3
280
+ },
281
+ "raw": "/**\n * register to this slot in order to add a component-issue in bit-status and bit-snap/tag.\n * your function gets all components in one param and the issuesToIgnore as a second param, you don't need to check\n * for issuesToIgnore. if the issue you added is configured to be ignored, it'll be ignored later in the process.\n * this is useful for optimization, if you don't want to calculate the component issue when it's ignored.\n */",
282
+ "comment": "register to this slot in order to add a component-issue in bit-status and bit-snap/tag.\nyour function gets all components in one param and the issuesToIgnore as a second param, you don't need to check\nfor issuesToIgnore. if the issue you added is configured to be ignored, it'll be ignored later in the process.\nthis is useful for optimization, if you don't want to calculate the component issue when it's ignored."
283
+ },
284
+ "signature": "(method) IssuesMain.registerAddComponentsIssues(addComponentsIssues: AddComponentsIssues): void",
285
+ "name": "registerAddComponentsIssues",
286
+ "params": [
287
+ {
288
+ "__schema": "ParameterSchema",
289
+ "location": {
290
+ "filePath": "issues.main.runtime.ts",
291
+ "line": 74,
292
+ "character": 31
293
+ },
294
+ "name": "addComponentsIssues",
295
+ "type": {
296
+ "__schema": "TypeRefSchema",
297
+ "location": {
298
+ "filePath": "issues.main.runtime.ts",
299
+ "line": 74,
300
+ "character": 52
301
+ },
302
+ "name": "AddComponentsIssues"
303
+ },
304
+ "isOptional": false,
305
+ "isSpread": false
306
+ }
307
+ ],
308
+ "returnType": {
309
+ "__schema": "InferenceTypeSchema",
310
+ "location": {
311
+ "filePath": "issues.main.runtime.ts",
312
+ "line": 74,
313
+ "character": 3
314
+ },
315
+ "type": "void"
316
+ },
317
+ "modifiers": []
318
+ },
319
+ {
320
+ "__schema": "FunctionLikeSchema",
321
+ "location": {
322
+ "filePath": "issues.main.runtime.ts",
323
+ "line": 78,
324
+ "character": 3
325
+ },
326
+ "signature": "(method) IssuesMain.triggerAddComponentIssues(components: Component[], issuesToIgnore: string[]): Promise<void>",
327
+ "name": "triggerAddComponentIssues",
328
+ "params": [
329
+ {
330
+ "__schema": "ParameterSchema",
331
+ "location": {
332
+ "filePath": "issues.main.runtime.ts",
333
+ "line": 78,
334
+ "character": 35
335
+ },
336
+ "name": "components",
337
+ "type": {
338
+ "__schema": "TypeArraySchema",
339
+ "location": {
340
+ "filePath": "issues.main.runtime.ts",
341
+ "line": 78,
342
+ "character": 47
343
+ },
344
+ "type": {
345
+ "__schema": "TypeRefSchema",
346
+ "location": {
347
+ "filePath": "issues.main.runtime.ts",
348
+ "line": 78,
349
+ "character": 47
350
+ },
351
+ "name": "Component"
352
+ }
353
+ },
354
+ "isOptional": false,
355
+ "isSpread": false
356
+ },
357
+ {
358
+ "__schema": "ParameterSchema",
359
+ "location": {
360
+ "filePath": "issues.main.runtime.ts",
361
+ "line": 78,
362
+ "character": 60
363
+ },
364
+ "name": "issuesToIgnore",
365
+ "type": {
366
+ "__schema": "TypeArraySchema",
367
+ "location": {
368
+ "filePath": "issues.main.runtime.ts",
369
+ "line": 78,
370
+ "character": 76
371
+ },
372
+ "type": {
373
+ "__schema": "KeywordTypeSchema",
374
+ "location": {
375
+ "filePath": "issues.main.runtime.ts",
376
+ "line": 78,
377
+ "character": 76
378
+ },
379
+ "name": "string"
380
+ }
381
+ },
382
+ "isOptional": false,
383
+ "isSpread": false
384
+ }
385
+ ],
386
+ "returnType": {
387
+ "__schema": "InferenceTypeSchema",
388
+ "location": {
389
+ "filePath": "issues.main.runtime.ts",
390
+ "line": 78,
391
+ "character": 3
392
+ },
393
+ "type": "Promise<void>"
394
+ },
395
+ "modifiers": [
396
+ "async"
397
+ ]
398
+ },
399
+ {
400
+ "__schema": "VariableLikeSchema",
401
+ "location": {
402
+ "filePath": "issues.main.runtime.ts",
403
+ "line": 83,
404
+ "character": 3
405
+ },
406
+ "signature": "(property) IssuesMain.slots: ((registerFn: () => string) => SlotRegistry<AddComponentsIssues>)[]",
407
+ "name": "slots",
408
+ "type": {
409
+ "__schema": "InferenceTypeSchema",
410
+ "location": {
411
+ "filePath": "issues.main.runtime.ts",
412
+ "line": 83,
413
+ "character": 3
414
+ },
415
+ "type": "((registerFn: () => string) => SlotRegistry<AddComponentsIssues>)[]"
416
+ },
417
+ "isOptional": true,
418
+ "defaultValue": "[Slot.withType<AddComponentsIssues>()]"
419
+ },
420
+ {
421
+ "__schema": "VariableLikeSchema",
422
+ "location": {
423
+ "filePath": "issues.main.runtime.ts",
424
+ "line": 84,
425
+ "character": 3
426
+ },
427
+ "signature": "(property) IssuesMain.dependencies: Aspect[]",
428
+ "name": "dependencies",
429
+ "type": {
430
+ "__schema": "InferenceTypeSchema",
431
+ "location": {
432
+ "filePath": "issues.main.runtime.ts",
433
+ "line": 84,
434
+ "character": 3
435
+ },
436
+ "type": "Aspect[]"
437
+ },
438
+ "isOptional": true,
439
+ "defaultValue": "[CLIAspect]"
440
+ },
441
+ {
442
+ "__schema": "VariableLikeSchema",
443
+ "location": {
444
+ "filePath": "issues.main.runtime.ts",
445
+ "line": 85,
446
+ "character": 3
447
+ },
448
+ "signature": "(property) IssuesMain.defaultConfig: {\n ignoreIssues: never[];\n}",
449
+ "name": "defaultConfig",
450
+ "type": {
451
+ "__schema": "InferenceTypeSchema",
452
+ "location": {
453
+ "filePath": "issues.main.runtime.ts",
454
+ "line": 85,
455
+ "character": 3
456
+ },
457
+ "type": "{\n ignoreIssues: never[];\n}"
458
+ },
459
+ "isOptional": true,
460
+ "defaultValue": "{\n ignoreIssues: [],\n }"
461
+ },
462
+ {
463
+ "__schema": "VariableLikeSchema",
464
+ "location": {
465
+ "filePath": "issues.main.runtime.ts",
466
+ "line": 88,
467
+ "character": 3
468
+ },
469
+ "signature": "(property) IssuesMain.runtime: RuntimeDefinition",
470
+ "name": "runtime",
471
+ "type": {
472
+ "__schema": "InferenceTypeSchema",
473
+ "location": {
474
+ "filePath": "issues.main.runtime.ts",
475
+ "line": 88,
476
+ "character": 3
477
+ },
478
+ "type": "RuntimeDefinition"
479
+ },
480
+ "isOptional": true,
481
+ "defaultValue": "MainRuntime"
482
+ },
483
+ {
484
+ "__schema": "FunctionLikeSchema",
485
+ "location": {
486
+ "filePath": "issues.main.runtime.ts",
487
+ "line": 89,
488
+ "character": 3
489
+ },
490
+ "signature": "(method) IssuesMain.provider([cli]: [CLIMain], config: IssuesConfig, [addComponentsIssuesSlot]: [AddComponentsIssuesSlot]): Promise<IssuesMain>",
491
+ "name": "provider",
492
+ "params": [
493
+ {
494
+ "__schema": "ParameterSchema",
495
+ "location": {
496
+ "filePath": "issues.main.runtime.ts",
497
+ "line": 89,
498
+ "character": 25
499
+ },
500
+ "name": "[ cli ]",
501
+ "type": {
502
+ "__schema": "TupleTypeSchema",
503
+ "location": {
504
+ "filePath": "issues.main.runtime.ts",
505
+ "line": 89,
506
+ "character": 32
507
+ },
508
+ "elements": [
509
+ {
510
+ "__schema": "TypeRefSchema",
511
+ "location": {
512
+ "filePath": "issues.main.runtime.ts",
513
+ "line": 89,
514
+ "character": 33
515
+ },
516
+ "name": "CLIMain"
517
+ }
518
+ ]
519
+ },
520
+ "isOptional": false,
521
+ "isSpread": false
522
+ },
523
+ {
524
+ "__schema": "ParameterSchema",
525
+ "location": {
526
+ "filePath": "issues.main.runtime.ts",
527
+ "line": 89,
528
+ "character": 43
529
+ },
530
+ "name": "config",
531
+ "type": {
532
+ "__schema": "TypeRefSchema",
533
+ "location": {
534
+ "filePath": "issues.main.runtime.ts",
535
+ "line": 89,
536
+ "character": 51
537
+ },
538
+ "name": "IssuesConfig"
539
+ },
540
+ "isOptional": false,
541
+ "isSpread": false
542
+ },
543
+ {
544
+ "__schema": "ParameterSchema",
545
+ "location": {
546
+ "filePath": "issues.main.runtime.ts",
547
+ "line": 89,
548
+ "character": 65
549
+ },
550
+ "name": "[ addComponentsIssuesSlot ]",
551
+ "type": {
552
+ "__schema": "TupleTypeSchema",
553
+ "location": {
554
+ "filePath": "issues.main.runtime.ts",
555
+ "line": 89,
556
+ "character": 92
557
+ },
558
+ "elements": [
559
+ {
560
+ "__schema": "TypeRefSchema",
561
+ "location": {
562
+ "filePath": "issues.main.runtime.ts",
563
+ "line": 89,
564
+ "character": 93
565
+ },
566
+ "name": "AddComponentsIssuesSlot"
567
+ }
568
+ ]
569
+ },
570
+ "isOptional": false,
571
+ "isSpread": false
572
+ }
573
+ ],
574
+ "returnType": {
575
+ "__schema": "InferenceTypeSchema",
576
+ "location": {
577
+ "filePath": "issues.main.runtime.ts",
578
+ "line": 89,
579
+ "character": 3
580
+ },
581
+ "type": "Promise<IssuesMain>"
582
+ },
583
+ "modifiers": [
584
+ "static",
585
+ "async"
586
+ ]
587
+ }
588
+ ],
589
+ "extendsNodes": [],
590
+ "implementNodes": []
591
+ },
592
+ {
593
+ "__schema": "UnImplementedSchema",
594
+ "location": {
595
+ "filePath": "index.ts",
596
+ "line": 4,
597
+ "character": 16
598
+ },
599
+ "name": "IssuesAspect",
600
+ "type": "Identifier"
601
+ },
602
+ {
603
+ "__schema": "VariableLikeSchema",
604
+ "location": {
605
+ "filePath": "issues.aspect.ts",
606
+ "line": 3,
607
+ "character": 14
608
+ },
609
+ "signature": "const IssuesAspect: Aspect",
610
+ "name": "IssuesAspect",
611
+ "type": {
612
+ "__schema": "TypeRefSchema",
613
+ "location": {
614
+ "filePath": "issues.aspect.ts",
615
+ "line": 3,
616
+ "character": 14
617
+ },
618
+ "name": "Aspect",
619
+ "componentId": {
620
+ "scope": "teambit.harmony",
621
+ "name": "harmony",
622
+ "version": "0.4.6"
623
+ }
624
+ },
625
+ "isOptional": false,
626
+ "defaultValue": "Aspect.create({\n id: 'teambit.component/issues',\n})"
627
+ }
628
+ ],
629
+ "internals": []
630
+ },
631
+ "internals": [
632
+ {
633
+ "__schema": "ModuleSchema",
634
+ "location": {
635
+ "filePath": "issues.main.runtime.ts",
636
+ "line": 1,
637
+ "character": 1
638
+ },
639
+ "exports": [
640
+ {
641
+ "__schema": "TypeSchema",
642
+ "location": {
643
+ "filePath": "issues.main.runtime.ts",
644
+ "line": 10,
645
+ "character": 1
646
+ },
647
+ "signature": "type IssuesConfig = {\n ignoreIssues: string[];\n}",
648
+ "name": "IssuesConfig",
649
+ "type": {
650
+ "__schema": "TypeLiteralSchema",
651
+ "location": {
652
+ "filePath": "issues.main.runtime.ts",
653
+ "line": 10,
654
+ "character": 28
655
+ },
656
+ "members": [
657
+ {
658
+ "__schema": "VariableLikeSchema",
659
+ "location": {
660
+ "filePath": "issues.main.runtime.ts",
661
+ "line": 11,
662
+ "character": 3
663
+ },
664
+ "signature": "(property) ignoreIssues: string[]",
665
+ "name": "ignoreIssues",
666
+ "type": {
667
+ "__schema": "TypeArraySchema",
668
+ "location": {
669
+ "filePath": "issues.main.runtime.ts",
670
+ "line": 11,
671
+ "character": 17
672
+ },
673
+ "type": {
674
+ "__schema": "KeywordTypeSchema",
675
+ "location": {
676
+ "filePath": "issues.main.runtime.ts",
677
+ "line": 11,
678
+ "character": 17
679
+ },
680
+ "name": "string"
681
+ }
682
+ },
683
+ "isOptional": false
684
+ }
685
+ ]
686
+ }
687
+ },
688
+ {
689
+ "__schema": "TypeSchema",
690
+ "location": {
691
+ "filePath": "issues.main.runtime.ts",
692
+ "line": 14,
693
+ "character": 1
694
+ },
695
+ "signature": "type AddComponentsIssues = (components: Component[], issuesToIgnore: string[]) => Promise<void>",
696
+ "name": "AddComponentsIssues",
697
+ "type": {
698
+ "__schema": "FunctionLikeSchema",
699
+ "location": {
700
+ "filePath": "issues.main.runtime.ts",
701
+ "line": 14,
702
+ "character": 35
703
+ },
704
+ "signature": "(components: Component[], issuesToIgnore: string[]): Promise<void>",
705
+ "name": "",
706
+ "params": [
707
+ {
708
+ "__schema": "ParameterSchema",
709
+ "location": {
710
+ "filePath": "issues.main.runtime.ts",
711
+ "line": 14,
712
+ "character": 36
713
+ },
714
+ "name": "components",
715
+ "type": {
716
+ "__schema": "TypeArraySchema",
717
+ "location": {
718
+ "filePath": "issues.main.runtime.ts",
719
+ "line": 14,
720
+ "character": 48
721
+ },
722
+ "type": {
723
+ "__schema": "TypeRefSchema",
724
+ "location": {
725
+ "filePath": "issues.main.runtime.ts",
726
+ "line": 14,
727
+ "character": 48
728
+ },
729
+ "name": "Component"
730
+ }
731
+ },
732
+ "isOptional": false,
733
+ "isSpread": false
734
+ },
735
+ {
736
+ "__schema": "ParameterSchema",
737
+ "location": {
738
+ "filePath": "issues.main.runtime.ts",
739
+ "line": 14,
740
+ "character": 61
741
+ },
742
+ "name": "issuesToIgnore",
743
+ "type": {
744
+ "__schema": "TypeArraySchema",
745
+ "location": {
746
+ "filePath": "issues.main.runtime.ts",
747
+ "line": 14,
748
+ "character": 77
749
+ },
750
+ "type": {
751
+ "__schema": "KeywordTypeSchema",
752
+ "location": {
753
+ "filePath": "issues.main.runtime.ts",
754
+ "line": 14,
755
+ "character": 77
756
+ },
757
+ "name": "string"
758
+ }
759
+ },
760
+ "isOptional": false,
761
+ "isSpread": false
762
+ }
763
+ ],
764
+ "returnType": {
765
+ "__schema": "TypeRefSchema",
766
+ "location": {
767
+ "filePath": "issues.main.runtime.ts",
768
+ "line": 14,
769
+ "character": 90
770
+ },
771
+ "name": "Promise",
772
+ "typeArgs": [
773
+ {
774
+ "__schema": "KeywordTypeSchema",
775
+ "location": {
776
+ "filePath": "issues.main.runtime.ts",
777
+ "line": 14,
778
+ "character": 98
779
+ },
780
+ "name": "void"
781
+ }
782
+ ]
783
+ },
784
+ "modifiers": []
785
+ }
786
+ },
787
+ {
788
+ "__schema": "TypeSchema",
789
+ "location": {
790
+ "filePath": "issues.main.runtime.ts",
791
+ "line": 16,
792
+ "character": 1
793
+ },
794
+ "signature": "type AddComponentsIssuesSlot = SlotRegistry<AddComponentsIssues>",
795
+ "name": "AddComponentsIssuesSlot",
796
+ "type": {
797
+ "__schema": "TypeRefSchema",
798
+ "location": {
799
+ "filePath": "issues.main.runtime.ts",
800
+ "line": 16,
801
+ "character": 39
802
+ },
803
+ "name": "SlotRegistry",
804
+ "typeArgs": [
805
+ {
806
+ "__schema": "TypeRefSchema",
807
+ "location": {
808
+ "filePath": "issues.main.runtime.ts",
809
+ "line": 16,
810
+ "character": 52
811
+ },
812
+ "name": "AddComponentsIssues"
813
+ }
814
+ ]
815
+ }
816
+ },
817
+ {
818
+ "__schema": "ClassSchema",
819
+ "location": {
820
+ "filePath": "issues.main.runtime.ts",
821
+ "line": 18,
822
+ "character": 1
823
+ },
824
+ "signature": "class IssuesMain",
825
+ "name": "IssuesMain",
826
+ "members": [
827
+ {
828
+ "__schema": "ConstructorSchema",
829
+ "location": {
830
+ "filePath": "issues.main.runtime.ts",
831
+ "line": 19,
832
+ "character": 3
833
+ },
834
+ "signature": "constructor IssuesMain(config: IssuesConfig, addComponentsIssuesSlot: AddComponentsIssuesSlot): IssuesMain",
835
+ "name": "constructor",
836
+ "params": [
837
+ {
838
+ "__schema": "ParameterSchema",
839
+ "location": {
840
+ "filePath": "issues.main.runtime.ts",
841
+ "line": 19,
842
+ "character": 15
843
+ },
844
+ "name": "config",
845
+ "type": {
846
+ "__schema": "TypeRefSchema",
847
+ "location": {
848
+ "filePath": "issues.main.runtime.ts",
849
+ "line": 19,
850
+ "character": 31
851
+ },
852
+ "name": "IssuesConfig"
853
+ },
854
+ "isOptional": false,
855
+ "isSpread": false
856
+ },
857
+ {
858
+ "__schema": "ParameterSchema",
859
+ "location": {
860
+ "filePath": "issues.main.runtime.ts",
861
+ "line": 19,
862
+ "character": 45
863
+ },
864
+ "name": "addComponentsIssuesSlot",
865
+ "type": {
866
+ "__schema": "TypeRefSchema",
867
+ "location": {
868
+ "filePath": "issues.main.runtime.ts",
869
+ "line": 19,
870
+ "character": 78
871
+ },
872
+ "name": "AddComponentsIssuesSlot"
873
+ },
874
+ "isOptional": false,
875
+ "isSpread": false
876
+ }
877
+ ],
878
+ "returnType": {
879
+ "__schema": "ThisTypeSchema",
880
+ "location": {
881
+ "filePath": "issues.main.runtime.ts",
882
+ "line": 18,
883
+ "character": 1
884
+ },
885
+ "name": "IssuesMain"
886
+ },
887
+ "modifiers": []
888
+ },
889
+ {
890
+ "__schema": "FunctionLikeSchema",
891
+ "location": {
892
+ "filePath": "issues.main.runtime.ts",
893
+ "line": 21,
894
+ "character": 3
895
+ },
896
+ "signature": "(method) IssuesMain.getIssuesToIgnoreGlobally(): string[]",
897
+ "name": "getIssuesToIgnoreGlobally",
898
+ "params": [],
899
+ "returnType": {
900
+ "__schema": "TypeArraySchema",
901
+ "location": {
902
+ "filePath": "issues.main.runtime.ts",
903
+ "line": 21,
904
+ "character": 32
905
+ },
906
+ "type": {
907
+ "__schema": "KeywordTypeSchema",
908
+ "location": {
909
+ "filePath": "issues.main.runtime.ts",
910
+ "line": 21,
911
+ "character": 32
912
+ },
913
+ "name": "string"
914
+ }
915
+ },
916
+ "modifiers": []
917
+ },
918
+ {
919
+ "__schema": "FunctionLikeSchema",
920
+ "location": {
921
+ "filePath": "issues.main.runtime.ts",
922
+ "line": 27,
923
+ "character": 3
924
+ },
925
+ "signature": "(method) IssuesMain.getIssuesToIgnorePerComponent(component: Component): string[]",
926
+ "name": "getIssuesToIgnorePerComponent",
927
+ "params": [
928
+ {
929
+ "__schema": "ParameterSchema",
930
+ "location": {
931
+ "filePath": "issues.main.runtime.ts",
932
+ "line": 27,
933
+ "character": 33
934
+ },
935
+ "name": "component",
936
+ "type": {
937
+ "__schema": "TypeRefSchema",
938
+ "location": {
939
+ "filePath": "issues.main.runtime.ts",
940
+ "line": 27,
941
+ "character": 44
942
+ },
943
+ "name": "Component"
944
+ },
945
+ "isOptional": false,
946
+ "isSpread": false
947
+ }
948
+ ],
949
+ "returnType": {
950
+ "__schema": "TypeArraySchema",
951
+ "location": {
952
+ "filePath": "issues.main.runtime.ts",
953
+ "line": 27,
954
+ "character": 56
955
+ },
956
+ "type": {
957
+ "__schema": "KeywordTypeSchema",
958
+ "location": {
959
+ "filePath": "issues.main.runtime.ts",
960
+ "line": 27,
961
+ "character": 56
962
+ },
963
+ "name": "string"
964
+ }
965
+ },
966
+ "modifiers": []
967
+ },
968
+ {
969
+ "__schema": "FunctionLikeSchema",
970
+ "location": {
971
+ "filePath": "issues.main.runtime.ts",
972
+ "line": 43,
973
+ "character": 3
974
+ },
975
+ "signature": "(method) IssuesMain.listIssues(): {\n name: string;\n description: string;\n solution: string;\n isTagBlocker: boolean;\n}[]",
976
+ "name": "listIssues",
977
+ "params": [],
978
+ "returnType": {
979
+ "__schema": "InferenceTypeSchema",
980
+ "location": {
981
+ "filePath": "issues.main.runtime.ts",
982
+ "line": 43,
983
+ "character": 3
984
+ },
985
+ "type": "{\n name: string;\n description: string;\n solution: string;\n isTagBlocker: boolean;\n}[]"
986
+ },
987
+ "modifiers": []
988
+ },
989
+ {
990
+ "__schema": "FunctionLikeSchema",
991
+ "location": {
992
+ "filePath": "issues.main.runtime.ts",
993
+ "line": 57,
994
+ "character": 3
995
+ },
996
+ "signature": "(method) IssuesMain.removeIgnoredIssuesFromComponents(components: Component[], extraIssuesToIgnore?: string[]): void",
997
+ "name": "removeIgnoredIssuesFromComponents",
998
+ "params": [
999
+ {
1000
+ "__schema": "ParameterSchema",
1001
+ "location": {
1002
+ "filePath": "issues.main.runtime.ts",
1003
+ "line": 57,
1004
+ "character": 37
1005
+ },
1006
+ "name": "components",
1007
+ "type": {
1008
+ "__schema": "TypeArraySchema",
1009
+ "location": {
1010
+ "filePath": "issues.main.runtime.ts",
1011
+ "line": 57,
1012
+ "character": 49
1013
+ },
1014
+ "type": {
1015
+ "__schema": "TypeRefSchema",
1016
+ "location": {
1017
+ "filePath": "issues.main.runtime.ts",
1018
+ "line": 57,
1019
+ "character": 49
1020
+ },
1021
+ "name": "Component"
1022
+ }
1023
+ },
1024
+ "isOptional": false,
1025
+ "isSpread": false
1026
+ },
1027
+ {
1028
+ "__schema": "ParameterSchema",
1029
+ "location": {
1030
+ "filePath": "issues.main.runtime.ts",
1031
+ "line": 57,
1032
+ "character": 62
1033
+ },
1034
+ "name": "extraIssuesToIgnore",
1035
+ "type": {
1036
+ "__schema": "TypeArraySchema",
1037
+ "location": {
1038
+ "filePath": "issues.main.runtime.ts",
1039
+ "line": 57,
1040
+ "character": 83
1041
+ },
1042
+ "type": {
1043
+ "__schema": "KeywordTypeSchema",
1044
+ "location": {
1045
+ "filePath": "issues.main.runtime.ts",
1046
+ "line": 57,
1047
+ "character": 83
1048
+ },
1049
+ "name": "string"
1050
+ }
1051
+ },
1052
+ "isOptional": true,
1053
+ "defaultValue": "[]",
1054
+ "isSpread": false
1055
+ }
1056
+ ],
1057
+ "returnType": {
1058
+ "__schema": "InferenceTypeSchema",
1059
+ "location": {
1060
+ "filePath": "issues.main.runtime.ts",
1061
+ "line": 57,
1062
+ "character": 3
1063
+ },
1064
+ "type": "void"
1065
+ },
1066
+ "modifiers": []
1067
+ },
1068
+ {
1069
+ "__schema": "FunctionLikeSchema",
1070
+ "location": {
1071
+ "filePath": "issues.main.runtime.ts",
1072
+ "line": 74,
1073
+ "character": 3
1074
+ },
1075
+ "doc": {
1076
+ "__schema": "DocSchema",
1077
+ "location": {
1078
+ "filePath": "issues.main.runtime.ts",
1079
+ "line": 68,
1080
+ "character": 3
1081
+ },
1082
+ "raw": "/**\n * register to this slot in order to add a component-issue in bit-status and bit-snap/tag.\n * your function gets all components in one param and the issuesToIgnore as a second param, you don't need to check\n * for issuesToIgnore. if the issue you added is configured to be ignored, it'll be ignored later in the process.\n * this is useful for optimization, if you don't want to calculate the component issue when it's ignored.\n */",
1083
+ "comment": "register to this slot in order to add a component-issue in bit-status and bit-snap/tag.\nyour function gets all components in one param and the issuesToIgnore as a second param, you don't need to check\nfor issuesToIgnore. if the issue you added is configured to be ignored, it'll be ignored later in the process.\nthis is useful for optimization, if you don't want to calculate the component issue when it's ignored."
1084
+ },
1085
+ "signature": "(method) IssuesMain.registerAddComponentsIssues(addComponentsIssues: AddComponentsIssues): void",
1086
+ "name": "registerAddComponentsIssues",
1087
+ "params": [
1088
+ {
1089
+ "__schema": "ParameterSchema",
1090
+ "location": {
1091
+ "filePath": "issues.main.runtime.ts",
1092
+ "line": 74,
1093
+ "character": 31
1094
+ },
1095
+ "name": "addComponentsIssues",
1096
+ "type": {
1097
+ "__schema": "TypeRefSchema",
1098
+ "location": {
1099
+ "filePath": "issues.main.runtime.ts",
1100
+ "line": 74,
1101
+ "character": 52
1102
+ },
1103
+ "name": "AddComponentsIssues"
1104
+ },
1105
+ "isOptional": false,
1106
+ "isSpread": false
1107
+ }
1108
+ ],
1109
+ "returnType": {
1110
+ "__schema": "InferenceTypeSchema",
1111
+ "location": {
1112
+ "filePath": "issues.main.runtime.ts",
1113
+ "line": 74,
1114
+ "character": 3
1115
+ },
1116
+ "type": "void"
1117
+ },
1118
+ "modifiers": []
1119
+ },
1120
+ {
1121
+ "__schema": "FunctionLikeSchema",
1122
+ "location": {
1123
+ "filePath": "issues.main.runtime.ts",
1124
+ "line": 78,
1125
+ "character": 3
1126
+ },
1127
+ "signature": "(method) IssuesMain.triggerAddComponentIssues(components: Component[], issuesToIgnore: string[]): Promise<void>",
1128
+ "name": "triggerAddComponentIssues",
1129
+ "params": [
1130
+ {
1131
+ "__schema": "ParameterSchema",
1132
+ "location": {
1133
+ "filePath": "issues.main.runtime.ts",
1134
+ "line": 78,
1135
+ "character": 35
1136
+ },
1137
+ "name": "components",
1138
+ "type": {
1139
+ "__schema": "TypeArraySchema",
1140
+ "location": {
1141
+ "filePath": "issues.main.runtime.ts",
1142
+ "line": 78,
1143
+ "character": 47
1144
+ },
1145
+ "type": {
1146
+ "__schema": "TypeRefSchema",
1147
+ "location": {
1148
+ "filePath": "issues.main.runtime.ts",
1149
+ "line": 78,
1150
+ "character": 47
1151
+ },
1152
+ "name": "Component"
1153
+ }
1154
+ },
1155
+ "isOptional": false,
1156
+ "isSpread": false
1157
+ },
1158
+ {
1159
+ "__schema": "ParameterSchema",
1160
+ "location": {
1161
+ "filePath": "issues.main.runtime.ts",
1162
+ "line": 78,
1163
+ "character": 60
1164
+ },
1165
+ "name": "issuesToIgnore",
1166
+ "type": {
1167
+ "__schema": "TypeArraySchema",
1168
+ "location": {
1169
+ "filePath": "issues.main.runtime.ts",
1170
+ "line": 78,
1171
+ "character": 76
1172
+ },
1173
+ "type": {
1174
+ "__schema": "KeywordTypeSchema",
1175
+ "location": {
1176
+ "filePath": "issues.main.runtime.ts",
1177
+ "line": 78,
1178
+ "character": 76
1179
+ },
1180
+ "name": "string"
1181
+ }
1182
+ },
1183
+ "isOptional": false,
1184
+ "isSpread": false
1185
+ }
1186
+ ],
1187
+ "returnType": {
1188
+ "__schema": "InferenceTypeSchema",
1189
+ "location": {
1190
+ "filePath": "issues.main.runtime.ts",
1191
+ "line": 78,
1192
+ "character": 3
1193
+ },
1194
+ "type": "Promise<void>"
1195
+ },
1196
+ "modifiers": [
1197
+ "async"
1198
+ ]
1199
+ },
1200
+ {
1201
+ "__schema": "VariableLikeSchema",
1202
+ "location": {
1203
+ "filePath": "issues.main.runtime.ts",
1204
+ "line": 83,
1205
+ "character": 3
1206
+ },
1207
+ "signature": "(property) IssuesMain.slots: ((registerFn: () => string) => SlotRegistry<AddComponentsIssues>)[]",
1208
+ "name": "slots",
1209
+ "type": {
1210
+ "__schema": "InferenceTypeSchema",
1211
+ "location": {
1212
+ "filePath": "issues.main.runtime.ts",
1213
+ "line": 83,
1214
+ "character": 3
1215
+ },
1216
+ "type": "((registerFn: () => string) => SlotRegistry<AddComponentsIssues>)[]"
1217
+ },
1218
+ "isOptional": true,
1219
+ "defaultValue": "[Slot.withType<AddComponentsIssues>()]"
1220
+ },
1221
+ {
1222
+ "__schema": "VariableLikeSchema",
1223
+ "location": {
1224
+ "filePath": "issues.main.runtime.ts",
1225
+ "line": 84,
1226
+ "character": 3
1227
+ },
1228
+ "signature": "(property) IssuesMain.dependencies: Aspect[]",
1229
+ "name": "dependencies",
1230
+ "type": {
1231
+ "__schema": "InferenceTypeSchema",
1232
+ "location": {
1233
+ "filePath": "issues.main.runtime.ts",
1234
+ "line": 84,
1235
+ "character": 3
1236
+ },
1237
+ "type": "Aspect[]"
1238
+ },
1239
+ "isOptional": true,
1240
+ "defaultValue": "[CLIAspect]"
1241
+ },
1242
+ {
1243
+ "__schema": "VariableLikeSchema",
1244
+ "location": {
1245
+ "filePath": "issues.main.runtime.ts",
1246
+ "line": 85,
1247
+ "character": 3
1248
+ },
1249
+ "signature": "(property) IssuesMain.defaultConfig: {\n ignoreIssues: never[];\n}",
1250
+ "name": "defaultConfig",
1251
+ "type": {
1252
+ "__schema": "InferenceTypeSchema",
1253
+ "location": {
1254
+ "filePath": "issues.main.runtime.ts",
1255
+ "line": 85,
1256
+ "character": 3
1257
+ },
1258
+ "type": "{\n ignoreIssues: never[];\n}"
1259
+ },
1260
+ "isOptional": true,
1261
+ "defaultValue": "{\n ignoreIssues: [],\n }"
1262
+ },
1263
+ {
1264
+ "__schema": "VariableLikeSchema",
1265
+ "location": {
1266
+ "filePath": "issues.main.runtime.ts",
1267
+ "line": 88,
1268
+ "character": 3
1269
+ },
1270
+ "signature": "(property) IssuesMain.runtime: RuntimeDefinition",
1271
+ "name": "runtime",
1272
+ "type": {
1273
+ "__schema": "InferenceTypeSchema",
1274
+ "location": {
1275
+ "filePath": "issues.main.runtime.ts",
1276
+ "line": 88,
1277
+ "character": 3
1278
+ },
1279
+ "type": "RuntimeDefinition"
1280
+ },
1281
+ "isOptional": true,
1282
+ "defaultValue": "MainRuntime"
1283
+ },
1284
+ {
1285
+ "__schema": "FunctionLikeSchema",
1286
+ "location": {
1287
+ "filePath": "issues.main.runtime.ts",
1288
+ "line": 89,
1289
+ "character": 3
1290
+ },
1291
+ "signature": "(method) IssuesMain.provider([cli]: [CLIMain], config: IssuesConfig, [addComponentsIssuesSlot]: [AddComponentsIssuesSlot]): Promise<IssuesMain>",
1292
+ "name": "provider",
1293
+ "params": [
1294
+ {
1295
+ "__schema": "ParameterSchema",
1296
+ "location": {
1297
+ "filePath": "issues.main.runtime.ts",
1298
+ "line": 89,
1299
+ "character": 25
1300
+ },
1301
+ "name": "[ cli ]",
1302
+ "type": {
1303
+ "__schema": "TupleTypeSchema",
1304
+ "location": {
1305
+ "filePath": "issues.main.runtime.ts",
1306
+ "line": 89,
1307
+ "character": 32
1308
+ },
1309
+ "elements": [
1310
+ {
1311
+ "__schema": "TypeRefSchema",
1312
+ "location": {
1313
+ "filePath": "issues.main.runtime.ts",
1314
+ "line": 89,
1315
+ "character": 33
1316
+ },
1317
+ "name": "CLIMain"
1318
+ }
1319
+ ]
1320
+ },
1321
+ "isOptional": false,
1322
+ "isSpread": false
1323
+ },
1324
+ {
1325
+ "__schema": "ParameterSchema",
1326
+ "location": {
1327
+ "filePath": "issues.main.runtime.ts",
1328
+ "line": 89,
1329
+ "character": 43
1330
+ },
1331
+ "name": "config",
1332
+ "type": {
1333
+ "__schema": "TypeRefSchema",
1334
+ "location": {
1335
+ "filePath": "issues.main.runtime.ts",
1336
+ "line": 89,
1337
+ "character": 51
1338
+ },
1339
+ "name": "IssuesConfig"
1340
+ },
1341
+ "isOptional": false,
1342
+ "isSpread": false
1343
+ },
1344
+ {
1345
+ "__schema": "ParameterSchema",
1346
+ "location": {
1347
+ "filePath": "issues.main.runtime.ts",
1348
+ "line": 89,
1349
+ "character": 65
1350
+ },
1351
+ "name": "[ addComponentsIssuesSlot ]",
1352
+ "type": {
1353
+ "__schema": "TupleTypeSchema",
1354
+ "location": {
1355
+ "filePath": "issues.main.runtime.ts",
1356
+ "line": 89,
1357
+ "character": 92
1358
+ },
1359
+ "elements": [
1360
+ {
1361
+ "__schema": "TypeRefSchema",
1362
+ "location": {
1363
+ "filePath": "issues.main.runtime.ts",
1364
+ "line": 89,
1365
+ "character": 93
1366
+ },
1367
+ "name": "AddComponentsIssuesSlot"
1368
+ }
1369
+ ]
1370
+ },
1371
+ "isOptional": false,
1372
+ "isSpread": false
1373
+ }
1374
+ ],
1375
+ "returnType": {
1376
+ "__schema": "InferenceTypeSchema",
1377
+ "location": {
1378
+ "filePath": "issues.main.runtime.ts",
1379
+ "line": 89,
1380
+ "character": 3
1381
+ },
1382
+ "type": "Promise<IssuesMain>"
1383
+ },
1384
+ "modifiers": [
1385
+ "static",
1386
+ "async"
1387
+ ]
1388
+ }
1389
+ ],
1390
+ "extendsNodes": [],
1391
+ "implementNodes": []
1392
+ }
1393
+ ],
1394
+ "internals": [
1395
+ {
1396
+ "__schema": "UnImplementedSchema",
1397
+ "location": {
1398
+ "filePath": "issues.main.runtime.ts",
1399
+ "line": 96,
1400
+ "character": 1
1401
+ },
1402
+ "name": "IssuesAspect.addRuntime(IssuesMain);",
1403
+ "type": "ExpressionStatement"
1404
+ }
1405
+ ]
1406
+ },
1407
+ {
1408
+ "__schema": "ModuleSchema",
1409
+ "location": {
1410
+ "filePath": "issues.aspect.ts",
1411
+ "line": 1,
1412
+ "character": 1
1413
+ },
1414
+ "exports": [
1415
+ {
1416
+ "__schema": "VariableLikeSchema",
1417
+ "location": {
1418
+ "filePath": "issues.aspect.ts",
1419
+ "line": 3,
1420
+ "character": 14
1421
+ },
1422
+ "signature": "const IssuesAspect: Aspect",
1423
+ "name": "IssuesAspect",
1424
+ "type": {
1425
+ "__schema": "TypeRefSchema",
1426
+ "location": {
1427
+ "filePath": "issues.aspect.ts",
1428
+ "line": 3,
1429
+ "character": 14
1430
+ },
1431
+ "name": "Aspect",
1432
+ "componentId": {
1433
+ "scope": "teambit.harmony",
1434
+ "name": "harmony",
1435
+ "version": "0.4.6"
1436
+ }
1437
+ },
1438
+ "isOptional": false,
1439
+ "defaultValue": "Aspect.create({\n id: 'teambit.component/issues',\n})"
1440
+ }
1441
+ ],
1442
+ "internals": []
1443
+ }
1444
+ ],
1445
+ "componentId": {
1446
+ "scope": "teambit.component",
1447
+ "name": "issues",
1448
+ "version": "1.0.159"
1449
+ },
1450
+ "taggedModuleExports": []
1451
+ }