@teambit/issues 1.0.257 → 1.0.258

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