@teambit/remove 1.0.157 → 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,3362 @@
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": "remove.main.runtime.ts",
20
+ "line": 36,
21
+ "character": 1
22
+ },
23
+ "signature": "class RemoveMain",
24
+ "name": "RemoveMain",
25
+ "members": [
26
+ {
27
+ "__schema": "ConstructorSchema",
28
+ "location": {
29
+ "filePath": "remove.main.runtime.ts",
30
+ "line": 37,
31
+ "character": 3
32
+ },
33
+ "signature": "constructor RemoveMain(workspace: Workspace, logger: Logger, importer: ImporterMain, depResolver: DependencyResolverMain): RemoveMain",
34
+ "name": "constructor",
35
+ "params": [
36
+ {
37
+ "__schema": "ParameterSchema",
38
+ "location": {
39
+ "filePath": "remove.main.runtime.ts",
40
+ "line": 38,
41
+ "character": 5
42
+ },
43
+ "name": "workspace",
44
+ "type": {
45
+ "__schema": "TypeRefSchema",
46
+ "location": {
47
+ "filePath": "remove.main.runtime.ts",
48
+ "line": 38,
49
+ "character": 24
50
+ },
51
+ "name": "Workspace"
52
+ },
53
+ "isOptional": false,
54
+ "isSpread": false
55
+ },
56
+ {
57
+ "__schema": "ParameterSchema",
58
+ "location": {
59
+ "filePath": "remove.main.runtime.ts",
60
+ "line": 39,
61
+ "character": 5
62
+ },
63
+ "name": "logger",
64
+ "type": {
65
+ "__schema": "TypeRefSchema",
66
+ "location": {
67
+ "filePath": "remove.main.runtime.ts",
68
+ "line": 39,
69
+ "character": 20
70
+ },
71
+ "name": "Logger"
72
+ },
73
+ "isOptional": false,
74
+ "isSpread": false
75
+ },
76
+ {
77
+ "__schema": "ParameterSchema",
78
+ "location": {
79
+ "filePath": "remove.main.runtime.ts",
80
+ "line": 40,
81
+ "character": 5
82
+ },
83
+ "name": "importer",
84
+ "type": {
85
+ "__schema": "TypeRefSchema",
86
+ "location": {
87
+ "filePath": "remove.main.runtime.ts",
88
+ "line": 40,
89
+ "character": 23
90
+ },
91
+ "name": "ImporterMain"
92
+ },
93
+ "isOptional": false,
94
+ "isSpread": false
95
+ },
96
+ {
97
+ "__schema": "ParameterSchema",
98
+ "location": {
99
+ "filePath": "remove.main.runtime.ts",
100
+ "line": 41,
101
+ "character": 5
102
+ },
103
+ "name": "depResolver",
104
+ "type": {
105
+ "__schema": "TypeRefSchema",
106
+ "location": {
107
+ "filePath": "remove.main.runtime.ts",
108
+ "line": 41,
109
+ "character": 26
110
+ },
111
+ "name": "DependencyResolverMain"
112
+ },
113
+ "isOptional": false,
114
+ "isSpread": false
115
+ }
116
+ ],
117
+ "returnType": {
118
+ "__schema": "ThisTypeSchema",
119
+ "location": {
120
+ "filePath": "remove.main.runtime.ts",
121
+ "line": 36,
122
+ "character": 1
123
+ },
124
+ "name": "RemoveMain"
125
+ },
126
+ "modifiers": []
127
+ },
128
+ {
129
+ "__schema": "FunctionLikeSchema",
130
+ "location": {
131
+ "filePath": "remove.main.runtime.ts",
132
+ "line": 44,
133
+ "character": 3
134
+ },
135
+ "signature": "(method) RemoveMain.remove({ componentsPattern, force, remote, track, deleteFiles, }: {\n componentsPattern: string;\n force?: boolean;\n remote?: boolean;\n track?: boolean;\n deleteFiles?: boolean;\n}): Promise<RemoveComponentsResult>",
136
+ "name": "remove",
137
+ "params": [
138
+ {
139
+ "__schema": "ParameterSchema",
140
+ "location": {
141
+ "filePath": "remove.main.runtime.ts",
142
+ "line": 44,
143
+ "character": 16
144
+ },
145
+ "name": "{ componentsPattern, force = false, remote = false, track = false, deleteFiles = true }",
146
+ "type": {
147
+ "__schema": "TypeLiteralSchema",
148
+ "location": {
149
+ "filePath": "remove.main.runtime.ts",
150
+ "line": 50,
151
+ "character": 6
152
+ },
153
+ "members": [
154
+ {
155
+ "__schema": "VariableLikeSchema",
156
+ "location": {
157
+ "filePath": "remove.main.runtime.ts",
158
+ "line": 51,
159
+ "character": 5
160
+ },
161
+ "signature": "(property) componentsPattern: string",
162
+ "name": "componentsPattern",
163
+ "type": {
164
+ "__schema": "KeywordTypeSchema",
165
+ "location": {
166
+ "filePath": "remove.main.runtime.ts",
167
+ "line": 51,
168
+ "character": 24
169
+ },
170
+ "name": "string"
171
+ },
172
+ "isOptional": false
173
+ },
174
+ {
175
+ "__schema": "VariableLikeSchema",
176
+ "location": {
177
+ "filePath": "remove.main.runtime.ts",
178
+ "line": 52,
179
+ "character": 5
180
+ },
181
+ "signature": "(property) force?: boolean | undefined",
182
+ "name": "force",
183
+ "type": {
184
+ "__schema": "KeywordTypeSchema",
185
+ "location": {
186
+ "filePath": "remove.main.runtime.ts",
187
+ "line": 52,
188
+ "character": 13
189
+ },
190
+ "name": "boolean"
191
+ },
192
+ "isOptional": true
193
+ },
194
+ {
195
+ "__schema": "VariableLikeSchema",
196
+ "location": {
197
+ "filePath": "remove.main.runtime.ts",
198
+ "line": 53,
199
+ "character": 5
200
+ },
201
+ "signature": "(property) remote?: boolean | undefined",
202
+ "name": "remote",
203
+ "type": {
204
+ "__schema": "KeywordTypeSchema",
205
+ "location": {
206
+ "filePath": "remove.main.runtime.ts",
207
+ "line": 53,
208
+ "character": 14
209
+ },
210
+ "name": "boolean"
211
+ },
212
+ "isOptional": true
213
+ },
214
+ {
215
+ "__schema": "VariableLikeSchema",
216
+ "location": {
217
+ "filePath": "remove.main.runtime.ts",
218
+ "line": 54,
219
+ "character": 5
220
+ },
221
+ "signature": "(property) track?: boolean | undefined",
222
+ "name": "track",
223
+ "type": {
224
+ "__schema": "KeywordTypeSchema",
225
+ "location": {
226
+ "filePath": "remove.main.runtime.ts",
227
+ "line": 54,
228
+ "character": 13
229
+ },
230
+ "name": "boolean"
231
+ },
232
+ "isOptional": true
233
+ },
234
+ {
235
+ "__schema": "VariableLikeSchema",
236
+ "location": {
237
+ "filePath": "remove.main.runtime.ts",
238
+ "line": 55,
239
+ "character": 5
240
+ },
241
+ "signature": "(property) deleteFiles?: boolean | undefined",
242
+ "name": "deleteFiles",
243
+ "type": {
244
+ "__schema": "KeywordTypeSchema",
245
+ "location": {
246
+ "filePath": "remove.main.runtime.ts",
247
+ "line": 55,
248
+ "character": 19
249
+ },
250
+ "name": "boolean"
251
+ },
252
+ "isOptional": true
253
+ }
254
+ ]
255
+ },
256
+ "isOptional": false,
257
+ "objectBindingNodes": [
258
+ {
259
+ "__schema": "VariableLikeSchema",
260
+ "location": {
261
+ "filePath": "remove.main.runtime.ts",
262
+ "line": 51,
263
+ "character": 5
264
+ },
265
+ "signature": "(property) componentsPattern: string",
266
+ "name": "componentsPattern",
267
+ "type": {
268
+ "__schema": "KeywordTypeSchema",
269
+ "location": {
270
+ "filePath": "remove.main.runtime.ts",
271
+ "line": 51,
272
+ "character": 24
273
+ },
274
+ "name": "string"
275
+ },
276
+ "isOptional": false
277
+ },
278
+ {
279
+ "__schema": "VariableLikeSchema",
280
+ "location": {
281
+ "filePath": "remove.main.runtime.ts",
282
+ "line": 52,
283
+ "character": 5
284
+ },
285
+ "signature": "(property) force?: boolean | undefined",
286
+ "name": "force",
287
+ "type": {
288
+ "__schema": "KeywordTypeSchema",
289
+ "location": {
290
+ "filePath": "remove.main.runtime.ts",
291
+ "line": 52,
292
+ "character": 13
293
+ },
294
+ "name": "boolean"
295
+ },
296
+ "isOptional": true
297
+ },
298
+ {
299
+ "__schema": "VariableLikeSchema",
300
+ "location": {
301
+ "filePath": "remove.main.runtime.ts",
302
+ "line": 53,
303
+ "character": 5
304
+ },
305
+ "signature": "(property) remote?: boolean | undefined",
306
+ "name": "remote",
307
+ "type": {
308
+ "__schema": "KeywordTypeSchema",
309
+ "location": {
310
+ "filePath": "remove.main.runtime.ts",
311
+ "line": 53,
312
+ "character": 14
313
+ },
314
+ "name": "boolean"
315
+ },
316
+ "isOptional": true
317
+ },
318
+ {
319
+ "__schema": "VariableLikeSchema",
320
+ "location": {
321
+ "filePath": "remove.main.runtime.ts",
322
+ "line": 54,
323
+ "character": 5
324
+ },
325
+ "signature": "(property) track?: boolean | undefined",
326
+ "name": "track",
327
+ "type": {
328
+ "__schema": "KeywordTypeSchema",
329
+ "location": {
330
+ "filePath": "remove.main.runtime.ts",
331
+ "line": 54,
332
+ "character": 13
333
+ },
334
+ "name": "boolean"
335
+ },
336
+ "isOptional": true
337
+ },
338
+ {
339
+ "__schema": "VariableLikeSchema",
340
+ "location": {
341
+ "filePath": "remove.main.runtime.ts",
342
+ "line": 55,
343
+ "character": 5
344
+ },
345
+ "signature": "(property) deleteFiles?: boolean | undefined",
346
+ "name": "deleteFiles",
347
+ "type": {
348
+ "__schema": "KeywordTypeSchema",
349
+ "location": {
350
+ "filePath": "remove.main.runtime.ts",
351
+ "line": 55,
352
+ "character": 19
353
+ },
354
+ "name": "boolean"
355
+ },
356
+ "isOptional": true
357
+ }
358
+ ],
359
+ "isSpread": false
360
+ }
361
+ ],
362
+ "returnType": {
363
+ "__schema": "TypeRefSchema",
364
+ "location": {
365
+ "filePath": "remove.main.runtime.ts",
366
+ "line": 56,
367
+ "character": 7
368
+ },
369
+ "name": "Promise",
370
+ "typeArgs": [
371
+ {
372
+ "__schema": "TypeRefSchema",
373
+ "location": {
374
+ "filePath": "remove.main.runtime.ts",
375
+ "line": 56,
376
+ "character": 15
377
+ },
378
+ "name": "RemoveComponentsResult"
379
+ }
380
+ ]
381
+ },
382
+ "modifiers": [
383
+ "async"
384
+ ]
385
+ },
386
+ {
387
+ "__schema": "FunctionLikeSchema",
388
+ "location": {
389
+ "filePath": "remove.main.runtime.ts",
390
+ "line": 78,
391
+ "character": 3
392
+ },
393
+ "doc": {
394
+ "__schema": "DocSchema",
395
+ "location": {
396
+ "filePath": "remove.main.runtime.ts",
397
+ "line": 75,
398
+ "character": 3
399
+ },
400
+ "raw": "/**\n * remove components from the workspace.\n */",
401
+ "comment": "remove components from the workspace."
402
+ },
403
+ "signature": "(method) RemoveMain.removeLocallyByIds(ids: ComponentID[], { force, reasonForRemoval }?: {\n force?: boolean;\n reasonForRemoval?: string;\n}): Promise<RemoveComponentsResult>",
404
+ "name": "removeLocallyByIds",
405
+ "params": [
406
+ {
407
+ "__schema": "ParameterSchema",
408
+ "location": {
409
+ "filePath": "remove.main.runtime.ts",
410
+ "line": 79,
411
+ "character": 5
412
+ },
413
+ "name": "ids",
414
+ "type": {
415
+ "__schema": "TypeArraySchema",
416
+ "location": {
417
+ "filePath": "remove.main.runtime.ts",
418
+ "line": 79,
419
+ "character": 10
420
+ },
421
+ "type": {
422
+ "__schema": "TypeRefSchema",
423
+ "location": {
424
+ "filePath": "remove.main.runtime.ts",
425
+ "line": 79,
426
+ "character": 10
427
+ },
428
+ "name": "ComponentID"
429
+ }
430
+ },
431
+ "isOptional": false,
432
+ "isSpread": false
433
+ },
434
+ {
435
+ "__schema": "ParameterSchema",
436
+ "location": {
437
+ "filePath": "remove.main.runtime.ts",
438
+ "line": 80,
439
+ "character": 5
440
+ },
441
+ "name": "{ force = false, reasonForRemoval }",
442
+ "type": {
443
+ "__schema": "TypeLiteralSchema",
444
+ "location": {
445
+ "filePath": "remove.main.runtime.ts",
446
+ "line": 80,
447
+ "character": 42
448
+ },
449
+ "members": [
450
+ {
451
+ "__schema": "VariableLikeSchema",
452
+ "location": {
453
+ "filePath": "remove.main.runtime.ts",
454
+ "line": 80,
455
+ "character": 44
456
+ },
457
+ "signature": "(property) force?: boolean | undefined",
458
+ "name": "force",
459
+ "type": {
460
+ "__schema": "KeywordTypeSchema",
461
+ "location": {
462
+ "filePath": "remove.main.runtime.ts",
463
+ "line": 80,
464
+ "character": 52
465
+ },
466
+ "name": "boolean"
467
+ },
468
+ "isOptional": true
469
+ },
470
+ {
471
+ "__schema": "VariableLikeSchema",
472
+ "location": {
473
+ "filePath": "remove.main.runtime.ts",
474
+ "line": 80,
475
+ "character": 61
476
+ },
477
+ "signature": "(property) reasonForRemoval?: string | undefined",
478
+ "name": "reasonForRemoval",
479
+ "type": {
480
+ "__schema": "KeywordTypeSchema",
481
+ "location": {
482
+ "filePath": "remove.main.runtime.ts",
483
+ "line": 80,
484
+ "character": 80
485
+ },
486
+ "name": "string"
487
+ },
488
+ "isOptional": true
489
+ }
490
+ ]
491
+ },
492
+ "isOptional": true,
493
+ "defaultValue": "{}",
494
+ "objectBindingNodes": [
495
+ {
496
+ "__schema": "VariableLikeSchema",
497
+ "location": {
498
+ "filePath": "remove.main.runtime.ts",
499
+ "line": 80,
500
+ "character": 44
501
+ },
502
+ "signature": "(property) force?: boolean | undefined",
503
+ "name": "force",
504
+ "type": {
505
+ "__schema": "KeywordTypeSchema",
506
+ "location": {
507
+ "filePath": "remove.main.runtime.ts",
508
+ "line": 80,
509
+ "character": 52
510
+ },
511
+ "name": "boolean"
512
+ },
513
+ "isOptional": true
514
+ },
515
+ {
516
+ "__schema": "VariableLikeSchema",
517
+ "location": {
518
+ "filePath": "remove.main.runtime.ts",
519
+ "line": 80,
520
+ "character": 61
521
+ },
522
+ "signature": "(property) reasonForRemoval?: string | undefined",
523
+ "name": "reasonForRemoval",
524
+ "type": {
525
+ "__schema": "KeywordTypeSchema",
526
+ "location": {
527
+ "filePath": "remove.main.runtime.ts",
528
+ "line": 80,
529
+ "character": 80
530
+ },
531
+ "name": "string"
532
+ },
533
+ "isOptional": true
534
+ }
535
+ ],
536
+ "isSpread": false
537
+ }
538
+ ],
539
+ "returnType": {
540
+ "__schema": "InferenceTypeSchema",
541
+ "location": {
542
+ "filePath": "remove.main.runtime.ts",
543
+ "line": 78,
544
+ "character": 3
545
+ },
546
+ "type": "Promise<RemoveComponentsResult>"
547
+ },
548
+ "modifiers": [
549
+ "async"
550
+ ]
551
+ },
552
+ {
553
+ "__schema": "FunctionLikeSchema",
554
+ "location": {
555
+ "filePath": "remove.main.runtime.ts",
556
+ "line": 96,
557
+ "character": 3
558
+ },
559
+ "signature": "(method) RemoveMain.markRemoveComps(componentIds: ComponentID[], shouldUpdateMain?: boolean): Promise<ComponentID[]>",
560
+ "name": "markRemoveComps",
561
+ "params": [
562
+ {
563
+ "__schema": "ParameterSchema",
564
+ "location": {
565
+ "filePath": "remove.main.runtime.ts",
566
+ "line": 96,
567
+ "character": 25
568
+ },
569
+ "name": "componentIds",
570
+ "type": {
571
+ "__schema": "TypeArraySchema",
572
+ "location": {
573
+ "filePath": "remove.main.runtime.ts",
574
+ "line": 96,
575
+ "character": 39
576
+ },
577
+ "type": {
578
+ "__schema": "TypeRefSchema",
579
+ "location": {
580
+ "filePath": "remove.main.runtime.ts",
581
+ "line": 96,
582
+ "character": 39
583
+ },
584
+ "name": "ComponentID"
585
+ }
586
+ },
587
+ "isOptional": false,
588
+ "isSpread": false
589
+ },
590
+ {
591
+ "__schema": "ParameterSchema",
592
+ "location": {
593
+ "filePath": "remove.main.runtime.ts",
594
+ "line": 96,
595
+ "character": 54
596
+ },
597
+ "name": "shouldUpdateMain",
598
+ "type": {
599
+ "__schema": "InferenceTypeSchema",
600
+ "location": {
601
+ "filePath": "remove.main.runtime.ts",
602
+ "line": 96,
603
+ "character": 54
604
+ },
605
+ "type": "boolean"
606
+ },
607
+ "isOptional": true,
608
+ "defaultValue": "false",
609
+ "isSpread": false
610
+ }
611
+ ],
612
+ "returnType": {
613
+ "__schema": "InferenceTypeSchema",
614
+ "location": {
615
+ "filePath": "remove.main.runtime.ts",
616
+ "line": 96,
617
+ "character": 3
618
+ },
619
+ "type": "Promise<ComponentID[]>"
620
+ },
621
+ "modifiers": [
622
+ "async"
623
+ ]
624
+ },
625
+ {
626
+ "__schema": "FunctionLikeSchema",
627
+ "location": {
628
+ "filePath": "remove.main.runtime.ts",
629
+ "line": 114,
630
+ "character": 3
631
+ },
632
+ "signature": "(method) RemoveMain.deleteComps(componentsPattern: string, opts?: {\n updateMain?: boolean;\n}): Promise<ComponentID[]>",
633
+ "name": "deleteComps",
634
+ "params": [
635
+ {
636
+ "__schema": "ParameterSchema",
637
+ "location": {
638
+ "filePath": "remove.main.runtime.ts",
639
+ "line": 114,
640
+ "character": 21
641
+ },
642
+ "name": "componentsPattern",
643
+ "type": {
644
+ "__schema": "KeywordTypeSchema",
645
+ "location": {
646
+ "filePath": "remove.main.runtime.ts",
647
+ "line": 114,
648
+ "character": 40
649
+ },
650
+ "name": "string"
651
+ },
652
+ "isOptional": false,
653
+ "isSpread": false
654
+ },
655
+ {
656
+ "__schema": "ParameterSchema",
657
+ "location": {
658
+ "filePath": "remove.main.runtime.ts",
659
+ "line": 114,
660
+ "character": 48
661
+ },
662
+ "name": "opts",
663
+ "type": {
664
+ "__schema": "TypeLiteralSchema",
665
+ "location": {
666
+ "filePath": "remove.main.runtime.ts",
667
+ "line": 114,
668
+ "character": 54
669
+ },
670
+ "members": [
671
+ {
672
+ "__schema": "VariableLikeSchema",
673
+ "location": {
674
+ "filePath": "remove.main.runtime.ts",
675
+ "line": 114,
676
+ "character": 56
677
+ },
678
+ "signature": "(property) updateMain?: boolean | undefined",
679
+ "name": "updateMain",
680
+ "type": {
681
+ "__schema": "KeywordTypeSchema",
682
+ "location": {
683
+ "filePath": "remove.main.runtime.ts",
684
+ "line": 114,
685
+ "character": 69
686
+ },
687
+ "name": "boolean"
688
+ },
689
+ "isOptional": true
690
+ }
691
+ ]
692
+ },
693
+ "isOptional": true,
694
+ "defaultValue": "{}",
695
+ "isSpread": false
696
+ }
697
+ ],
698
+ "returnType": {
699
+ "__schema": "TypeRefSchema",
700
+ "location": {
701
+ "filePath": "remove.main.runtime.ts",
702
+ "line": 114,
703
+ "character": 86
704
+ },
705
+ "name": "Promise",
706
+ "typeArgs": [
707
+ {
708
+ "__schema": "TypeArraySchema",
709
+ "location": {
710
+ "filePath": "remove.main.runtime.ts",
711
+ "line": 114,
712
+ "character": 94
713
+ },
714
+ "type": {
715
+ "__schema": "TypeRefSchema",
716
+ "location": {
717
+ "filePath": "remove.main.runtime.ts",
718
+ "line": 114,
719
+ "character": 94
720
+ },
721
+ "name": "ComponentID"
722
+ }
723
+ }
724
+ ]
725
+ },
726
+ "modifiers": [
727
+ "async"
728
+ ]
729
+ },
730
+ {
731
+ "__schema": "FunctionLikeSchema",
732
+ "location": {
733
+ "filePath": "remove.main.runtime.ts",
734
+ "line": 148,
735
+ "character": 3
736
+ },
737
+ "doc": {
738
+ "__schema": "DocSchema",
739
+ "location": {
740
+ "filePath": "remove.main.runtime.ts",
741
+ "line": 136,
742
+ "character": 3
743
+ },
744
+ "raw": "/**\n * recover a soft-removed component.\n * there are 4 different scenarios.\n * 1. a component was just soft-removed, it wasn't snapped yet. so it's now in .bitmap with the \"removed\" aspect entry.\n * 1.a. the component still exists in the local scope. no need to import. write it from there.\n * 1.b. the component doesn't exist in the local scope. import it.\n * 2. soft-removed and then snapped. It's not in .bitmap now.\n * 3. soft-removed, snapped, exported. it's not in .bitmap now.\n * 4. a soft-removed components was imported, so it's now in .bitmap without the \"removed\" aspect entry.\n * 5. workspace is empty. the soft-removed component is on the remote.\n * returns `true` if it was recovered. `false` if the component wasn't soft-removed, so nothing to recover from.\n */",
745
+ "comment": "recover a soft-removed component.\nthere are 4 different scenarios.\n1. a component was just soft-removed, it wasn't snapped yet. so it's now in .bitmap with the \"removed\" aspect entry.\n1.a. the component still exists in the local scope. no need to import. write it from there.\n1.b. the component doesn't exist in the local scope. import it.\n2. soft-removed and then snapped. It's not in .bitmap now.\n3. soft-removed, snapped, exported. it's not in .bitmap now.\n4. a soft-removed components was imported, so it's now in .bitmap without the \"removed\" aspect entry.\n5. workspace is empty. the soft-removed component is on the remote.\nreturns `true` if it was recovered. `false` if the component wasn't soft-removed, so nothing to recover from."
746
+ },
747
+ "signature": "(method) RemoveMain.recover(compIdStr: string, options: RecoverOptions): Promise<boolean>",
748
+ "name": "recover",
749
+ "params": [
750
+ {
751
+ "__schema": "ParameterSchema",
752
+ "location": {
753
+ "filePath": "remove.main.runtime.ts",
754
+ "line": 148,
755
+ "character": 17
756
+ },
757
+ "name": "compIdStr",
758
+ "type": {
759
+ "__schema": "KeywordTypeSchema",
760
+ "location": {
761
+ "filePath": "remove.main.runtime.ts",
762
+ "line": 148,
763
+ "character": 28
764
+ },
765
+ "name": "string"
766
+ },
767
+ "isOptional": false,
768
+ "isSpread": false
769
+ },
770
+ {
771
+ "__schema": "ParameterSchema",
772
+ "location": {
773
+ "filePath": "remove.main.runtime.ts",
774
+ "line": 148,
775
+ "character": 36
776
+ },
777
+ "name": "options",
778
+ "type": {
779
+ "__schema": "TypeRefSchema",
780
+ "location": {
781
+ "filePath": "remove.main.runtime.ts",
782
+ "line": 148,
783
+ "character": 45
784
+ },
785
+ "name": "RecoverOptions"
786
+ },
787
+ "isOptional": false,
788
+ "isSpread": false
789
+ }
790
+ ],
791
+ "returnType": {
792
+ "__schema": "TypeRefSchema",
793
+ "location": {
794
+ "filePath": "remove.main.runtime.ts",
795
+ "line": 148,
796
+ "character": 62
797
+ },
798
+ "name": "Promise",
799
+ "typeArgs": [
800
+ {
801
+ "__schema": "KeywordTypeSchema",
802
+ "location": {
803
+ "filePath": "remove.main.runtime.ts",
804
+ "line": 148,
805
+ "character": 70
806
+ },
807
+ "name": "boolean"
808
+ }
809
+ ]
810
+ },
811
+ "modifiers": [
812
+ "async"
813
+ ]
814
+ },
815
+ {
816
+ "__schema": "FunctionLikeSchema",
817
+ "location": {
818
+ "filePath": "remove.main.runtime.ts",
819
+ "line": 233,
820
+ "character": 3
821
+ },
822
+ "signature": "(method) RemoveMain.getRemoveInfo(component: Component): RemoveInfo",
823
+ "name": "getRemoveInfo",
824
+ "params": [
825
+ {
826
+ "__schema": "ParameterSchema",
827
+ "location": {
828
+ "filePath": "remove.main.runtime.ts",
829
+ "line": 233,
830
+ "character": 17
831
+ },
832
+ "name": "component",
833
+ "type": {
834
+ "__schema": "TypeRefSchema",
835
+ "location": {
836
+ "filePath": "remove.main.runtime.ts",
837
+ "line": 233,
838
+ "character": 28
839
+ },
840
+ "name": "Component"
841
+ },
842
+ "isOptional": false,
843
+ "isSpread": false
844
+ }
845
+ ],
846
+ "returnType": {
847
+ "__schema": "TypeRefSchema",
848
+ "location": {
849
+ "filePath": "remove.main.runtime.ts",
850
+ "line": 233,
851
+ "character": 3
852
+ },
853
+ "name": "RemoveInfo"
854
+ },
855
+ "modifiers": []
856
+ },
857
+ {
858
+ "__schema": "FunctionLikeSchema",
859
+ "location": {
860
+ "filePath": "remove.main.runtime.ts",
861
+ "line": 240,
862
+ "character": 3
863
+ },
864
+ "signature": "(method) RemoveMain.isRemoved(component: Component): boolean",
865
+ "name": "isRemoved",
866
+ "params": [
867
+ {
868
+ "__schema": "ParameterSchema",
869
+ "location": {
870
+ "filePath": "remove.main.runtime.ts",
871
+ "line": 240,
872
+ "character": 13
873
+ },
874
+ "name": "component",
875
+ "type": {
876
+ "__schema": "TypeRefSchema",
877
+ "location": {
878
+ "filePath": "remove.main.runtime.ts",
879
+ "line": 240,
880
+ "character": 24
881
+ },
882
+ "name": "Component"
883
+ },
884
+ "isOptional": false,
885
+ "isSpread": false
886
+ }
887
+ ],
888
+ "returnType": {
889
+ "__schema": "KeywordTypeSchema",
890
+ "location": {
891
+ "filePath": "remove.main.runtime.ts",
892
+ "line": 240,
893
+ "character": 36
894
+ },
895
+ "name": "boolean"
896
+ },
897
+ "modifiers": []
898
+ },
899
+ {
900
+ "__schema": "FunctionLikeSchema",
901
+ "location": {
902
+ "filePath": "remove.main.runtime.ts",
903
+ "line": 247,
904
+ "character": 3
905
+ },
906
+ "doc": {
907
+ "__schema": "DocSchema",
908
+ "location": {
909
+ "filePath": "remove.main.runtime.ts",
910
+ "line": 244,
911
+ "character": 3
912
+ },
913
+ "raw": "/**\n * performant version of isRemoved() in case the component object is not available and loading it is expensive.\n */",
914
+ "comment": "performant version of isRemoved() in case the component object is not available and loading it is expensive."
915
+ },
916
+ "signature": "(method) RemoveMain.isRemovedByIdWithoutLoadingComponent(componentId: ComponentID): Promise<boolean>",
917
+ "name": "isRemovedByIdWithoutLoadingComponent",
918
+ "params": [
919
+ {
920
+ "__schema": "ParameterSchema",
921
+ "location": {
922
+ "filePath": "remove.main.runtime.ts",
923
+ "line": 247,
924
+ "character": 46
925
+ },
926
+ "name": "componentId",
927
+ "type": {
928
+ "__schema": "TypeRefSchema",
929
+ "location": {
930
+ "filePath": "remove.main.runtime.ts",
931
+ "line": 247,
932
+ "character": 59
933
+ },
934
+ "name": "ComponentID"
935
+ },
936
+ "isOptional": false,
937
+ "isSpread": false
938
+ }
939
+ ],
940
+ "returnType": {
941
+ "__schema": "TypeRefSchema",
942
+ "location": {
943
+ "filePath": "remove.main.runtime.ts",
944
+ "line": 247,
945
+ "character": 73
946
+ },
947
+ "name": "Promise",
948
+ "typeArgs": [
949
+ {
950
+ "__schema": "KeywordTypeSchema",
951
+ "location": {
952
+ "filePath": "remove.main.runtime.ts",
953
+ "line": 247,
954
+ "character": 81
955
+ },
956
+ "name": "boolean"
957
+ }
958
+ ]
959
+ },
960
+ "modifiers": [
961
+ "async"
962
+ ]
963
+ },
964
+ {
965
+ "__schema": "FunctionLikeSchema",
966
+ "location": {
967
+ "filePath": "remove.main.runtime.ts",
968
+ "line": 262,
969
+ "character": 3
970
+ },
971
+ "doc": {
972
+ "__schema": "DocSchema",
973
+ "location": {
974
+ "filePath": "remove.main.runtime.ts",
975
+ "line": 259,
976
+ "character": 3
977
+ },
978
+ "raw": "/**\n * get components that were soft-removed and tagged/snapped/merged but not exported yet.\n */",
979
+ "comment": "get components that were soft-removed and tagged/snapped/merged but not exported yet."
980
+ },
981
+ "signature": "(method) RemoveMain.getRemovedStaged(): Promise<ComponentID[]>",
982
+ "name": "getRemovedStaged",
983
+ "params": [],
984
+ "returnType": {
985
+ "__schema": "TypeRefSchema",
986
+ "location": {
987
+ "filePath": "remove.main.runtime.ts",
988
+ "line": 262,
989
+ "character": 29
990
+ },
991
+ "name": "Promise",
992
+ "typeArgs": [
993
+ {
994
+ "__schema": "TypeArraySchema",
995
+ "location": {
996
+ "filePath": "remove.main.runtime.ts",
997
+ "line": 262,
998
+ "character": 37
999
+ },
1000
+ "type": {
1001
+ "__schema": "TypeRefSchema",
1002
+ "location": {
1003
+ "filePath": "remove.main.runtime.ts",
1004
+ "line": 262,
1005
+ "character": 37
1006
+ },
1007
+ "name": "ComponentID"
1008
+ }
1009
+ }
1010
+ ]
1011
+ },
1012
+ "modifiers": [
1013
+ "async"
1014
+ ]
1015
+ },
1016
+ {
1017
+ "__schema": "FunctionLikeSchema",
1018
+ "location": {
1019
+ "filePath": "remove.main.runtime.ts",
1020
+ "line": 266,
1021
+ "character": 3
1022
+ },
1023
+ "signature": "(method) RemoveMain.addRemovedDependenciesIssues(components: Component[]): Promise<void>",
1024
+ "name": "addRemovedDependenciesIssues",
1025
+ "params": [
1026
+ {
1027
+ "__schema": "ParameterSchema",
1028
+ "location": {
1029
+ "filePath": "remove.main.runtime.ts",
1030
+ "line": 266,
1031
+ "character": 38
1032
+ },
1033
+ "name": "components",
1034
+ "type": {
1035
+ "__schema": "TypeArraySchema",
1036
+ "location": {
1037
+ "filePath": "remove.main.runtime.ts",
1038
+ "line": 266,
1039
+ "character": 50
1040
+ },
1041
+ "type": {
1042
+ "__schema": "TypeRefSchema",
1043
+ "location": {
1044
+ "filePath": "remove.main.runtime.ts",
1045
+ "line": 266,
1046
+ "character": 50
1047
+ },
1048
+ "name": "Component"
1049
+ }
1050
+ },
1051
+ "isOptional": false,
1052
+ "isSpread": false
1053
+ }
1054
+ ],
1055
+ "returnType": {
1056
+ "__schema": "InferenceTypeSchema",
1057
+ "location": {
1058
+ "filePath": "remove.main.runtime.ts",
1059
+ "line": 266,
1060
+ "character": 3
1061
+ },
1062
+ "type": "Promise<void>"
1063
+ },
1064
+ "modifiers": [
1065
+ "async"
1066
+ ]
1067
+ },
1068
+ {
1069
+ "__schema": "VariableLikeSchema",
1070
+ "location": {
1071
+ "filePath": "remove.main.runtime.ts",
1072
+ "line": 334,
1073
+ "character": 3
1074
+ },
1075
+ "signature": "(property) RemoveMain.slots: never[]",
1076
+ "name": "slots",
1077
+ "type": {
1078
+ "__schema": "InferenceTypeSchema",
1079
+ "location": {
1080
+ "filePath": "remove.main.runtime.ts",
1081
+ "line": 334,
1082
+ "character": 3
1083
+ },
1084
+ "type": "never[]"
1085
+ },
1086
+ "isOptional": true,
1087
+ "defaultValue": "[]"
1088
+ },
1089
+ {
1090
+ "__schema": "VariableLikeSchema",
1091
+ "location": {
1092
+ "filePath": "remove.main.runtime.ts",
1093
+ "line": 335,
1094
+ "character": 3
1095
+ },
1096
+ "signature": "(property) RemoveMain.dependencies: Aspect[]",
1097
+ "name": "dependencies",
1098
+ "type": {
1099
+ "__schema": "InferenceTypeSchema",
1100
+ "location": {
1101
+ "filePath": "remove.main.runtime.ts",
1102
+ "line": 335,
1103
+ "character": 3
1104
+ },
1105
+ "type": "Aspect[]"
1106
+ },
1107
+ "isOptional": true,
1108
+ "defaultValue": "[\n WorkspaceAspect,\n CLIAspect,\n LoggerAspect,\n ComponentAspect,\n ImporterAspect,\n DependencyResolverAspect,\n IssuesAspect,\n ]"
1109
+ },
1110
+ {
1111
+ "__schema": "VariableLikeSchema",
1112
+ "location": {
1113
+ "filePath": "remove.main.runtime.ts",
1114
+ "line": 344,
1115
+ "character": 3
1116
+ },
1117
+ "signature": "(property) RemoveMain.runtime: RuntimeDefinition",
1118
+ "name": "runtime",
1119
+ "type": {
1120
+ "__schema": "InferenceTypeSchema",
1121
+ "location": {
1122
+ "filePath": "remove.main.runtime.ts",
1123
+ "line": 344,
1124
+ "character": 3
1125
+ },
1126
+ "type": "RuntimeDefinition"
1127
+ },
1128
+ "isOptional": true,
1129
+ "defaultValue": "MainRuntime"
1130
+ },
1131
+ {
1132
+ "__schema": "FunctionLikeSchema",
1133
+ "location": {
1134
+ "filePath": "remove.main.runtime.ts",
1135
+ "line": 346,
1136
+ "character": 3
1137
+ },
1138
+ "signature": "(method) RemoveMain.provider([workspace, cli, loggerMain, componentAspect, importerMain, depResolver, issues]: [\n Workspace,\n CLIMain,\n LoggerMain,\n ComponentMain,\n ImporterMain,\n DependencyResolverMain,\n IssuesMain\n]): Promise<RemoveMain>",
1139
+ "name": "provider",
1140
+ "params": [
1141
+ {
1142
+ "__schema": "ParameterSchema",
1143
+ "location": {
1144
+ "filePath": "remove.main.runtime.ts",
1145
+ "line": 346,
1146
+ "character": 25
1147
+ },
1148
+ "name": "[ workspace, cli, loggerMain, componentAspect, importerMain, depResolver, issues ]",
1149
+ "type": {
1150
+ "__schema": "TupleTypeSchema",
1151
+ "location": {
1152
+ "filePath": "remove.main.runtime.ts",
1153
+ "line": 346,
1154
+ "character": 107
1155
+ },
1156
+ "elements": [
1157
+ {
1158
+ "__schema": "TypeRefSchema",
1159
+ "location": {
1160
+ "filePath": "remove.main.runtime.ts",
1161
+ "line": 347,
1162
+ "character": 5
1163
+ },
1164
+ "name": "Workspace"
1165
+ },
1166
+ {
1167
+ "__schema": "TypeRefSchema",
1168
+ "location": {
1169
+ "filePath": "remove.main.runtime.ts",
1170
+ "line": 348,
1171
+ "character": 5
1172
+ },
1173
+ "name": "CLIMain"
1174
+ },
1175
+ {
1176
+ "__schema": "TypeRefSchema",
1177
+ "location": {
1178
+ "filePath": "remove.main.runtime.ts",
1179
+ "line": 349,
1180
+ "character": 5
1181
+ },
1182
+ "name": "LoggerMain"
1183
+ },
1184
+ {
1185
+ "__schema": "TypeRefSchema",
1186
+ "location": {
1187
+ "filePath": "remove.main.runtime.ts",
1188
+ "line": 350,
1189
+ "character": 5
1190
+ },
1191
+ "name": "ComponentMain"
1192
+ },
1193
+ {
1194
+ "__schema": "TypeRefSchema",
1195
+ "location": {
1196
+ "filePath": "remove.main.runtime.ts",
1197
+ "line": 351,
1198
+ "character": 5
1199
+ },
1200
+ "name": "ImporterMain"
1201
+ },
1202
+ {
1203
+ "__schema": "TypeRefSchema",
1204
+ "location": {
1205
+ "filePath": "remove.main.runtime.ts",
1206
+ "line": 352,
1207
+ "character": 5
1208
+ },
1209
+ "name": "DependencyResolverMain"
1210
+ },
1211
+ {
1212
+ "__schema": "TypeRefSchema",
1213
+ "location": {
1214
+ "filePath": "remove.main.runtime.ts",
1215
+ "line": 353,
1216
+ "character": 5
1217
+ },
1218
+ "name": "IssuesMain"
1219
+ }
1220
+ ]
1221
+ },
1222
+ "isOptional": false,
1223
+ "isSpread": false
1224
+ }
1225
+ ],
1226
+ "returnType": {
1227
+ "__schema": "InferenceTypeSchema",
1228
+ "location": {
1229
+ "filePath": "remove.main.runtime.ts",
1230
+ "line": 346,
1231
+ "character": 3
1232
+ },
1233
+ "type": "Promise<RemoveMain>"
1234
+ },
1235
+ "modifiers": [
1236
+ "static",
1237
+ "async"
1238
+ ]
1239
+ }
1240
+ ],
1241
+ "extendsNodes": [],
1242
+ "implementNodes": []
1243
+ },
1244
+ {
1245
+ "__schema": "TypeSchema",
1246
+ "location": {
1247
+ "filePath": "remove.main.runtime.ts",
1248
+ "line": 28,
1249
+ "character": 1
1250
+ },
1251
+ "signature": "type RemoveInfo = {\n removed: boolean;\n removeOnMain?: boolean | undefined;\n}",
1252
+ "name": "RemoveInfo",
1253
+ "type": {
1254
+ "__schema": "TypeLiteralSchema",
1255
+ "location": {
1256
+ "filePath": "remove.main.runtime.ts",
1257
+ "line": 28,
1258
+ "character": 26
1259
+ },
1260
+ "members": [
1261
+ {
1262
+ "__schema": "VariableLikeSchema",
1263
+ "location": {
1264
+ "filePath": "remove.main.runtime.ts",
1265
+ "line": 29,
1266
+ "character": 3
1267
+ },
1268
+ "signature": "(property) removed: boolean",
1269
+ "name": "removed",
1270
+ "type": {
1271
+ "__schema": "KeywordTypeSchema",
1272
+ "location": {
1273
+ "filePath": "remove.main.runtime.ts",
1274
+ "line": 29,
1275
+ "character": 12
1276
+ },
1277
+ "name": "boolean"
1278
+ },
1279
+ "isOptional": false
1280
+ },
1281
+ {
1282
+ "__schema": "VariableLikeSchema",
1283
+ "location": {
1284
+ "filePath": "remove.main.runtime.ts",
1285
+ "line": 33,
1286
+ "character": 3
1287
+ },
1288
+ "doc": {
1289
+ "__schema": "DocSchema",
1290
+ "location": {
1291
+ "filePath": "remove.main.runtime.ts",
1292
+ "line": 30,
1293
+ "character": 3
1294
+ },
1295
+ "raw": "/**\n * whether to remove the component from default lane once merged\n */",
1296
+ "comment": "whether to remove the component from default lane once merged"
1297
+ },
1298
+ "signature": "(property) removeOnMain?: boolean | undefined",
1299
+ "name": "removeOnMain",
1300
+ "type": {
1301
+ "__schema": "KeywordTypeSchema",
1302
+ "location": {
1303
+ "filePath": "remove.main.runtime.ts",
1304
+ "line": 33,
1305
+ "character": 18
1306
+ },
1307
+ "name": "boolean"
1308
+ },
1309
+ "isOptional": true
1310
+ }
1311
+ ]
1312
+ }
1313
+ },
1314
+ {
1315
+ "__schema": "ClassSchema",
1316
+ "location": {
1317
+ "filePath": "removed-local-objects.ts",
1318
+ "line": 4,
1319
+ "character": 1
1320
+ },
1321
+ "signature": "class RemovedLocalObjects",
1322
+ "name": "RemovedLocalObjects",
1323
+ "members": [
1324
+ {
1325
+ "__schema": "VariableLikeSchema",
1326
+ "location": {
1327
+ "filePath": "removed-local-objects.ts",
1328
+ "line": 5,
1329
+ "character": 3
1330
+ },
1331
+ "signature": "(property) RemovedLocalObjects.modifiedComponents: ComponentIdList",
1332
+ "name": "modifiedComponents",
1333
+ "type": {
1334
+ "__schema": "TypeRefSchema",
1335
+ "location": {
1336
+ "filePath": "removed-local-objects.ts",
1337
+ "line": 5,
1338
+ "character": 3
1339
+ },
1340
+ "name": "ComponentIdList",
1341
+ "componentId": {
1342
+ "scope": "teambit.component",
1343
+ "name": "component-id",
1344
+ "version": "1.2.0"
1345
+ }
1346
+ },
1347
+ "isOptional": false
1348
+ },
1349
+ {
1350
+ "__schema": "ConstructorSchema",
1351
+ "location": {
1352
+ "filePath": "removed-local-objects.ts",
1353
+ "line": 6,
1354
+ "character": 3
1355
+ },
1356
+ "signature": "constructor RemovedLocalObjects(removedComponentIds?: ComponentIdList, missingComponents?: ComponentIdList, modifiedComponents?: ComponentIdList, dependentBits?: Record<string, any>, removedFromLane?: ComponentIdList): RemovedLocalObjects",
1357
+ "name": "constructor",
1358
+ "params": [
1359
+ {
1360
+ "__schema": "ParameterSchema",
1361
+ "location": {
1362
+ "filePath": "removed-local-objects.ts",
1363
+ "line": 7,
1364
+ "character": 5
1365
+ },
1366
+ "name": "removedComponentIds",
1367
+ "type": {
1368
+ "__schema": "TypeRefSchema",
1369
+ "location": {
1370
+ "filePath": "removed-local-objects.ts",
1371
+ "line": 7,
1372
+ "character": 27
1373
+ },
1374
+ "name": "ComponentIdList"
1375
+ },
1376
+ "isOptional": true,
1377
+ "isSpread": false
1378
+ },
1379
+ {
1380
+ "__schema": "ParameterSchema",
1381
+ "location": {
1382
+ "filePath": "removed-local-objects.ts",
1383
+ "line": 8,
1384
+ "character": 5
1385
+ },
1386
+ "name": "missingComponents",
1387
+ "type": {
1388
+ "__schema": "TypeRefSchema",
1389
+ "location": {
1390
+ "filePath": "removed-local-objects.ts",
1391
+ "line": 8,
1392
+ "character": 25
1393
+ },
1394
+ "name": "ComponentIdList"
1395
+ },
1396
+ "isOptional": true,
1397
+ "isSpread": false
1398
+ },
1399
+ {
1400
+ "__schema": "ParameterSchema",
1401
+ "location": {
1402
+ "filePath": "removed-local-objects.ts",
1403
+ "line": 9,
1404
+ "character": 5
1405
+ },
1406
+ "name": "modifiedComponents",
1407
+ "type": {
1408
+ "__schema": "TypeRefSchema",
1409
+ "location": {
1410
+ "filePath": "removed-local-objects.ts",
1411
+ "line": 9,
1412
+ "character": 26
1413
+ },
1414
+ "name": "ComponentIdList"
1415
+ },
1416
+ "isOptional": true,
1417
+ "isSpread": false
1418
+ },
1419
+ {
1420
+ "__schema": "ParameterSchema",
1421
+ "location": {
1422
+ "filePath": "removed-local-objects.ts",
1423
+ "line": 10,
1424
+ "character": 5
1425
+ },
1426
+ "name": "dependentBits",
1427
+ "type": {
1428
+ "__schema": "TypeRefSchema",
1429
+ "location": {
1430
+ "filePath": "removed-local-objects.ts",
1431
+ "line": 10,
1432
+ "character": 21
1433
+ },
1434
+ "name": "Record",
1435
+ "typeArgs": [
1436
+ {
1437
+ "__schema": "KeywordTypeSchema",
1438
+ "location": {
1439
+ "filePath": "removed-local-objects.ts",
1440
+ "line": 10,
1441
+ "character": 28
1442
+ },
1443
+ "name": "string"
1444
+ },
1445
+ {
1446
+ "__schema": "KeywordTypeSchema",
1447
+ "location": {
1448
+ "filePath": "removed-local-objects.ts",
1449
+ "line": 10,
1450
+ "character": 36
1451
+ },
1452
+ "name": "any"
1453
+ }
1454
+ ]
1455
+ },
1456
+ "isOptional": true,
1457
+ "isSpread": false
1458
+ },
1459
+ {
1460
+ "__schema": "ParameterSchema",
1461
+ "location": {
1462
+ "filePath": "removed-local-objects.ts",
1463
+ "line": 11,
1464
+ "character": 5
1465
+ },
1466
+ "name": "removedFromLane",
1467
+ "type": {
1468
+ "__schema": "TypeRefSchema",
1469
+ "location": {
1470
+ "filePath": "removed-local-objects.ts",
1471
+ "line": 11,
1472
+ "character": 23
1473
+ },
1474
+ "name": "ComponentIdList"
1475
+ },
1476
+ "isOptional": true,
1477
+ "isSpread": false
1478
+ }
1479
+ ],
1480
+ "returnType": {
1481
+ "__schema": "ThisTypeSchema",
1482
+ "location": {
1483
+ "filePath": "removed-local-objects.ts",
1484
+ "line": 4,
1485
+ "character": 1
1486
+ },
1487
+ "name": "RemovedLocalObjects"
1488
+ },
1489
+ "modifiers": []
1490
+ }
1491
+ ],
1492
+ "extendsNodes": [
1493
+ {
1494
+ "__schema": "ExpressionWithTypeArgumentsSchema",
1495
+ "location": {
1496
+ "filePath": "removed-local-objects.ts",
1497
+ "line": 4,
1498
+ "character": 42
1499
+ },
1500
+ "name": "extends RemovedObjects",
1501
+ "typeArgs": [],
1502
+ "expression": {
1503
+ "__schema": "TypeRefSchema",
1504
+ "location": {
1505
+ "filePath": "removed-local-objects.ts",
1506
+ "line": 4,
1507
+ "character": 42
1508
+ },
1509
+ "name": "RemovedObjects",
1510
+ "componentId": {
1511
+ "_legacy": {
1512
+ "scope": "teambit.component",
1513
+ "name": "remove",
1514
+ "version": "1.0.159"
1515
+ },
1516
+ "_scope": "teambit.component"
1517
+ }
1518
+ }
1519
+ }
1520
+ ],
1521
+ "implementNodes": []
1522
+ },
1523
+ {
1524
+ "__schema": "FunctionLikeSchema",
1525
+ "location": {
1526
+ "filePath": "remove-template.ts",
1527
+ "line": 5,
1528
+ "character": 1
1529
+ },
1530
+ "signature": "function removeTemplate({ dependentBits, modifiedComponents, removedComponentIds, missingComponents, removedFromLane }: {\n dependentBits: any;\n modifiedComponents?: never[] | undefined;\n removedComponentIds: any;\n missingComponents: any;\n removedFromLane: any;\n}, isRemote: any): string",
1531
+ "name": "removeTemplate",
1532
+ "params": [
1533
+ {
1534
+ "__schema": "ParameterSchema",
1535
+ "location": {
1536
+ "filePath": "remove-template.ts",
1537
+ "line": 6,
1538
+ "character": 3
1539
+ },
1540
+ "name": "{ dependentBits, modifiedComponents = [], removedComponentIds, missingComponents, removedFromLane }",
1541
+ "type": {
1542
+ "__schema": "TypeLiteralSchema",
1543
+ "location": {
1544
+ "filePath": "remove-template.ts",
1545
+ "line": 6,
1546
+ "character": 3
1547
+ },
1548
+ "members": [
1549
+ {
1550
+ "__schema": "InferenceTypeSchema",
1551
+ "location": {
1552
+ "filePath": "remove-template.ts",
1553
+ "line": 6,
1554
+ "character": 3
1555
+ },
1556
+ "name": "dependentBits",
1557
+ "type": "any"
1558
+ },
1559
+ {
1560
+ "__schema": "InferenceTypeSchema",
1561
+ "location": {
1562
+ "filePath": "remove-template.ts",
1563
+ "line": 6,
1564
+ "character": 3
1565
+ },
1566
+ "name": "modifiedComponents",
1567
+ "type": "never[]"
1568
+ },
1569
+ {
1570
+ "__schema": "InferenceTypeSchema",
1571
+ "location": {
1572
+ "filePath": "remove-template.ts",
1573
+ "line": 6,
1574
+ "character": 3
1575
+ },
1576
+ "name": "removedComponentIds",
1577
+ "type": "any"
1578
+ },
1579
+ {
1580
+ "__schema": "InferenceTypeSchema",
1581
+ "location": {
1582
+ "filePath": "remove-template.ts",
1583
+ "line": 6,
1584
+ "character": 3
1585
+ },
1586
+ "name": "missingComponents",
1587
+ "type": "any"
1588
+ },
1589
+ {
1590
+ "__schema": "InferenceTypeSchema",
1591
+ "location": {
1592
+ "filePath": "remove-template.ts",
1593
+ "line": 6,
1594
+ "character": 3
1595
+ },
1596
+ "name": "removedFromLane",
1597
+ "type": "any"
1598
+ }
1599
+ ]
1600
+ },
1601
+ "isOptional": false,
1602
+ "objectBindingNodes": [
1603
+ {
1604
+ "__schema": "InferenceTypeSchema",
1605
+ "location": {
1606
+ "filePath": "remove-template.ts",
1607
+ "line": 6,
1608
+ "character": 5
1609
+ },
1610
+ "name": "dependentBits",
1611
+ "type": "any",
1612
+ "isSpread": false
1613
+ },
1614
+ {
1615
+ "__schema": "InferenceTypeSchema",
1616
+ "location": {
1617
+ "filePath": "remove-template.ts",
1618
+ "line": 6,
1619
+ "character": 20
1620
+ },
1621
+ "name": "modifiedComponents",
1622
+ "type": "never[]",
1623
+ "defaultValue": "[]",
1624
+ "isSpread": false
1625
+ },
1626
+ {
1627
+ "__schema": "InferenceTypeSchema",
1628
+ "location": {
1629
+ "filePath": "remove-template.ts",
1630
+ "line": 6,
1631
+ "character": 45
1632
+ },
1633
+ "name": "removedComponentIds",
1634
+ "type": "any",
1635
+ "isSpread": false
1636
+ },
1637
+ {
1638
+ "__schema": "InferenceTypeSchema",
1639
+ "location": {
1640
+ "filePath": "remove-template.ts",
1641
+ "line": 6,
1642
+ "character": 66
1643
+ },
1644
+ "name": "missingComponents",
1645
+ "type": "any",
1646
+ "isSpread": false
1647
+ },
1648
+ {
1649
+ "__schema": "InferenceTypeSchema",
1650
+ "location": {
1651
+ "filePath": "remove-template.ts",
1652
+ "line": 6,
1653
+ "character": 85
1654
+ },
1655
+ "name": "removedFromLane",
1656
+ "type": "any",
1657
+ "isSpread": false
1658
+ }
1659
+ ],
1660
+ "isSpread": false
1661
+ },
1662
+ {
1663
+ "__schema": "ParameterSchema",
1664
+ "location": {
1665
+ "filePath": "remove-template.ts",
1666
+ "line": 7,
1667
+ "character": 3
1668
+ },
1669
+ "name": "isRemote",
1670
+ "type": {
1671
+ "__schema": "InferenceTypeSchema",
1672
+ "location": {
1673
+ "filePath": "remove-template.ts",
1674
+ "line": 7,
1675
+ "character": 3
1676
+ },
1677
+ "type": "any"
1678
+ },
1679
+ "isOptional": false,
1680
+ "isSpread": false
1681
+ }
1682
+ ],
1683
+ "returnType": {
1684
+ "__schema": "InferenceTypeSchema",
1685
+ "location": {
1686
+ "filePath": "remove-template.ts",
1687
+ "line": 5,
1688
+ "character": 1
1689
+ },
1690
+ "type": "string"
1691
+ },
1692
+ "modifiers": [
1693
+ "export"
1694
+ ]
1695
+ },
1696
+ {
1697
+ "__schema": "UnImplementedSchema",
1698
+ "location": {
1699
+ "filePath": "index.ts",
1700
+ "line": 6,
1701
+ "character": 16
1702
+ },
1703
+ "name": "RemoveAspect",
1704
+ "type": "Identifier"
1705
+ },
1706
+ {
1707
+ "__schema": "VariableLikeSchema",
1708
+ "location": {
1709
+ "filePath": "remove.aspect.ts",
1710
+ "line": 3,
1711
+ "character": 14
1712
+ },
1713
+ "signature": "const RemoveAspect: Aspect",
1714
+ "name": "RemoveAspect",
1715
+ "type": {
1716
+ "__schema": "TypeRefSchema",
1717
+ "location": {
1718
+ "filePath": "remove.aspect.ts",
1719
+ "line": 3,
1720
+ "character": 14
1721
+ },
1722
+ "name": "Aspect",
1723
+ "componentId": {
1724
+ "scope": "teambit.harmony",
1725
+ "name": "harmony",
1726
+ "version": "0.4.6"
1727
+ }
1728
+ },
1729
+ "isOptional": false,
1730
+ "defaultValue": "Aspect.create({\n id: 'teambit.component/remove',\n})"
1731
+ }
1732
+ ],
1733
+ "internals": []
1734
+ },
1735
+ "internals": [
1736
+ {
1737
+ "__schema": "ModuleSchema",
1738
+ "location": {
1739
+ "filePath": "remove.main.runtime.ts",
1740
+ "line": 1,
1741
+ "character": 1
1742
+ },
1743
+ "exports": [
1744
+ {
1745
+ "__schema": "TypeSchema",
1746
+ "location": {
1747
+ "filePath": "remove.main.runtime.ts",
1748
+ "line": 28,
1749
+ "character": 1
1750
+ },
1751
+ "signature": "type RemoveInfo = {\n removed: boolean;\n removeOnMain?: boolean | undefined;\n}",
1752
+ "name": "RemoveInfo",
1753
+ "type": {
1754
+ "__schema": "TypeLiteralSchema",
1755
+ "location": {
1756
+ "filePath": "remove.main.runtime.ts",
1757
+ "line": 28,
1758
+ "character": 26
1759
+ },
1760
+ "members": [
1761
+ {
1762
+ "__schema": "VariableLikeSchema",
1763
+ "location": {
1764
+ "filePath": "remove.main.runtime.ts",
1765
+ "line": 29,
1766
+ "character": 3
1767
+ },
1768
+ "signature": "(property) removed: boolean",
1769
+ "name": "removed",
1770
+ "type": {
1771
+ "__schema": "KeywordTypeSchema",
1772
+ "location": {
1773
+ "filePath": "remove.main.runtime.ts",
1774
+ "line": 29,
1775
+ "character": 12
1776
+ },
1777
+ "name": "boolean"
1778
+ },
1779
+ "isOptional": false
1780
+ },
1781
+ {
1782
+ "__schema": "VariableLikeSchema",
1783
+ "location": {
1784
+ "filePath": "remove.main.runtime.ts",
1785
+ "line": 33,
1786
+ "character": 3
1787
+ },
1788
+ "doc": {
1789
+ "__schema": "DocSchema",
1790
+ "location": {
1791
+ "filePath": "remove.main.runtime.ts",
1792
+ "line": 30,
1793
+ "character": 3
1794
+ },
1795
+ "raw": "/**\n * whether to remove the component from default lane once merged\n */",
1796
+ "comment": "whether to remove the component from default lane once merged"
1797
+ },
1798
+ "signature": "(property) removeOnMain?: boolean | undefined",
1799
+ "name": "removeOnMain",
1800
+ "type": {
1801
+ "__schema": "KeywordTypeSchema",
1802
+ "location": {
1803
+ "filePath": "remove.main.runtime.ts",
1804
+ "line": 33,
1805
+ "character": 18
1806
+ },
1807
+ "name": "boolean"
1808
+ },
1809
+ "isOptional": true
1810
+ }
1811
+ ]
1812
+ }
1813
+ },
1814
+ {
1815
+ "__schema": "ClassSchema",
1816
+ "location": {
1817
+ "filePath": "remove.main.runtime.ts",
1818
+ "line": 36,
1819
+ "character": 1
1820
+ },
1821
+ "signature": "class RemoveMain",
1822
+ "name": "RemoveMain",
1823
+ "members": [
1824
+ {
1825
+ "__schema": "ConstructorSchema",
1826
+ "location": {
1827
+ "filePath": "remove.main.runtime.ts",
1828
+ "line": 37,
1829
+ "character": 3
1830
+ },
1831
+ "signature": "constructor RemoveMain(workspace: Workspace, logger: Logger, importer: ImporterMain, depResolver: DependencyResolverMain): RemoveMain",
1832
+ "name": "constructor",
1833
+ "params": [
1834
+ {
1835
+ "__schema": "ParameterSchema",
1836
+ "location": {
1837
+ "filePath": "remove.main.runtime.ts",
1838
+ "line": 38,
1839
+ "character": 5
1840
+ },
1841
+ "name": "workspace",
1842
+ "type": {
1843
+ "__schema": "TypeRefSchema",
1844
+ "location": {
1845
+ "filePath": "remove.main.runtime.ts",
1846
+ "line": 38,
1847
+ "character": 24
1848
+ },
1849
+ "name": "Workspace"
1850
+ },
1851
+ "isOptional": false,
1852
+ "isSpread": false
1853
+ },
1854
+ {
1855
+ "__schema": "ParameterSchema",
1856
+ "location": {
1857
+ "filePath": "remove.main.runtime.ts",
1858
+ "line": 39,
1859
+ "character": 5
1860
+ },
1861
+ "name": "logger",
1862
+ "type": {
1863
+ "__schema": "TypeRefSchema",
1864
+ "location": {
1865
+ "filePath": "remove.main.runtime.ts",
1866
+ "line": 39,
1867
+ "character": 20
1868
+ },
1869
+ "name": "Logger"
1870
+ },
1871
+ "isOptional": false,
1872
+ "isSpread": false
1873
+ },
1874
+ {
1875
+ "__schema": "ParameterSchema",
1876
+ "location": {
1877
+ "filePath": "remove.main.runtime.ts",
1878
+ "line": 40,
1879
+ "character": 5
1880
+ },
1881
+ "name": "importer",
1882
+ "type": {
1883
+ "__schema": "TypeRefSchema",
1884
+ "location": {
1885
+ "filePath": "remove.main.runtime.ts",
1886
+ "line": 40,
1887
+ "character": 23
1888
+ },
1889
+ "name": "ImporterMain"
1890
+ },
1891
+ "isOptional": false,
1892
+ "isSpread": false
1893
+ },
1894
+ {
1895
+ "__schema": "ParameterSchema",
1896
+ "location": {
1897
+ "filePath": "remove.main.runtime.ts",
1898
+ "line": 41,
1899
+ "character": 5
1900
+ },
1901
+ "name": "depResolver",
1902
+ "type": {
1903
+ "__schema": "TypeRefSchema",
1904
+ "location": {
1905
+ "filePath": "remove.main.runtime.ts",
1906
+ "line": 41,
1907
+ "character": 26
1908
+ },
1909
+ "name": "DependencyResolverMain"
1910
+ },
1911
+ "isOptional": false,
1912
+ "isSpread": false
1913
+ }
1914
+ ],
1915
+ "returnType": {
1916
+ "__schema": "ThisTypeSchema",
1917
+ "location": {
1918
+ "filePath": "remove.main.runtime.ts",
1919
+ "line": 36,
1920
+ "character": 1
1921
+ },
1922
+ "name": "RemoveMain"
1923
+ },
1924
+ "modifiers": []
1925
+ },
1926
+ {
1927
+ "__schema": "FunctionLikeSchema",
1928
+ "location": {
1929
+ "filePath": "remove.main.runtime.ts",
1930
+ "line": 44,
1931
+ "character": 3
1932
+ },
1933
+ "signature": "(method) RemoveMain.remove({ componentsPattern, force, remote, track, deleteFiles, }: {\n componentsPattern: string;\n force?: boolean;\n remote?: boolean;\n track?: boolean;\n deleteFiles?: boolean;\n}): Promise<RemoveComponentsResult>",
1934
+ "name": "remove",
1935
+ "params": [
1936
+ {
1937
+ "__schema": "ParameterSchema",
1938
+ "location": {
1939
+ "filePath": "remove.main.runtime.ts",
1940
+ "line": 44,
1941
+ "character": 16
1942
+ },
1943
+ "name": "{ componentsPattern, force = false, remote = false, track = false, deleteFiles = true }",
1944
+ "type": {
1945
+ "__schema": "TypeLiteralSchema",
1946
+ "location": {
1947
+ "filePath": "remove.main.runtime.ts",
1948
+ "line": 50,
1949
+ "character": 6
1950
+ },
1951
+ "members": [
1952
+ {
1953
+ "__schema": "VariableLikeSchema",
1954
+ "location": {
1955
+ "filePath": "remove.main.runtime.ts",
1956
+ "line": 51,
1957
+ "character": 5
1958
+ },
1959
+ "signature": "(property) componentsPattern: string",
1960
+ "name": "componentsPattern",
1961
+ "type": {
1962
+ "__schema": "KeywordTypeSchema",
1963
+ "location": {
1964
+ "filePath": "remove.main.runtime.ts",
1965
+ "line": 51,
1966
+ "character": 24
1967
+ },
1968
+ "name": "string"
1969
+ },
1970
+ "isOptional": false
1971
+ },
1972
+ {
1973
+ "__schema": "VariableLikeSchema",
1974
+ "location": {
1975
+ "filePath": "remove.main.runtime.ts",
1976
+ "line": 52,
1977
+ "character": 5
1978
+ },
1979
+ "signature": "(property) force?: boolean | undefined",
1980
+ "name": "force",
1981
+ "type": {
1982
+ "__schema": "KeywordTypeSchema",
1983
+ "location": {
1984
+ "filePath": "remove.main.runtime.ts",
1985
+ "line": 52,
1986
+ "character": 13
1987
+ },
1988
+ "name": "boolean"
1989
+ },
1990
+ "isOptional": true
1991
+ },
1992
+ {
1993
+ "__schema": "VariableLikeSchema",
1994
+ "location": {
1995
+ "filePath": "remove.main.runtime.ts",
1996
+ "line": 53,
1997
+ "character": 5
1998
+ },
1999
+ "signature": "(property) remote?: boolean | undefined",
2000
+ "name": "remote",
2001
+ "type": {
2002
+ "__schema": "KeywordTypeSchema",
2003
+ "location": {
2004
+ "filePath": "remove.main.runtime.ts",
2005
+ "line": 53,
2006
+ "character": 14
2007
+ },
2008
+ "name": "boolean"
2009
+ },
2010
+ "isOptional": true
2011
+ },
2012
+ {
2013
+ "__schema": "VariableLikeSchema",
2014
+ "location": {
2015
+ "filePath": "remove.main.runtime.ts",
2016
+ "line": 54,
2017
+ "character": 5
2018
+ },
2019
+ "signature": "(property) track?: boolean | undefined",
2020
+ "name": "track",
2021
+ "type": {
2022
+ "__schema": "KeywordTypeSchema",
2023
+ "location": {
2024
+ "filePath": "remove.main.runtime.ts",
2025
+ "line": 54,
2026
+ "character": 13
2027
+ },
2028
+ "name": "boolean"
2029
+ },
2030
+ "isOptional": true
2031
+ },
2032
+ {
2033
+ "__schema": "VariableLikeSchema",
2034
+ "location": {
2035
+ "filePath": "remove.main.runtime.ts",
2036
+ "line": 55,
2037
+ "character": 5
2038
+ },
2039
+ "signature": "(property) deleteFiles?: boolean | undefined",
2040
+ "name": "deleteFiles",
2041
+ "type": {
2042
+ "__schema": "KeywordTypeSchema",
2043
+ "location": {
2044
+ "filePath": "remove.main.runtime.ts",
2045
+ "line": 55,
2046
+ "character": 19
2047
+ },
2048
+ "name": "boolean"
2049
+ },
2050
+ "isOptional": true
2051
+ }
2052
+ ]
2053
+ },
2054
+ "isOptional": false,
2055
+ "objectBindingNodes": [
2056
+ {
2057
+ "__schema": "VariableLikeSchema",
2058
+ "location": {
2059
+ "filePath": "remove.main.runtime.ts",
2060
+ "line": 51,
2061
+ "character": 5
2062
+ },
2063
+ "signature": "(property) componentsPattern: string",
2064
+ "name": "componentsPattern",
2065
+ "type": {
2066
+ "__schema": "KeywordTypeSchema",
2067
+ "location": {
2068
+ "filePath": "remove.main.runtime.ts",
2069
+ "line": 51,
2070
+ "character": 24
2071
+ },
2072
+ "name": "string"
2073
+ },
2074
+ "isOptional": false
2075
+ },
2076
+ {
2077
+ "__schema": "VariableLikeSchema",
2078
+ "location": {
2079
+ "filePath": "remove.main.runtime.ts",
2080
+ "line": 52,
2081
+ "character": 5
2082
+ },
2083
+ "signature": "(property) force?: boolean | undefined",
2084
+ "name": "force",
2085
+ "type": {
2086
+ "__schema": "KeywordTypeSchema",
2087
+ "location": {
2088
+ "filePath": "remove.main.runtime.ts",
2089
+ "line": 52,
2090
+ "character": 13
2091
+ },
2092
+ "name": "boolean"
2093
+ },
2094
+ "isOptional": true
2095
+ },
2096
+ {
2097
+ "__schema": "VariableLikeSchema",
2098
+ "location": {
2099
+ "filePath": "remove.main.runtime.ts",
2100
+ "line": 53,
2101
+ "character": 5
2102
+ },
2103
+ "signature": "(property) remote?: boolean | undefined",
2104
+ "name": "remote",
2105
+ "type": {
2106
+ "__schema": "KeywordTypeSchema",
2107
+ "location": {
2108
+ "filePath": "remove.main.runtime.ts",
2109
+ "line": 53,
2110
+ "character": 14
2111
+ },
2112
+ "name": "boolean"
2113
+ },
2114
+ "isOptional": true
2115
+ },
2116
+ {
2117
+ "__schema": "VariableLikeSchema",
2118
+ "location": {
2119
+ "filePath": "remove.main.runtime.ts",
2120
+ "line": 54,
2121
+ "character": 5
2122
+ },
2123
+ "signature": "(property) track?: boolean | undefined",
2124
+ "name": "track",
2125
+ "type": {
2126
+ "__schema": "KeywordTypeSchema",
2127
+ "location": {
2128
+ "filePath": "remove.main.runtime.ts",
2129
+ "line": 54,
2130
+ "character": 13
2131
+ },
2132
+ "name": "boolean"
2133
+ },
2134
+ "isOptional": true
2135
+ },
2136
+ {
2137
+ "__schema": "VariableLikeSchema",
2138
+ "location": {
2139
+ "filePath": "remove.main.runtime.ts",
2140
+ "line": 55,
2141
+ "character": 5
2142
+ },
2143
+ "signature": "(property) deleteFiles?: boolean | undefined",
2144
+ "name": "deleteFiles",
2145
+ "type": {
2146
+ "__schema": "KeywordTypeSchema",
2147
+ "location": {
2148
+ "filePath": "remove.main.runtime.ts",
2149
+ "line": 55,
2150
+ "character": 19
2151
+ },
2152
+ "name": "boolean"
2153
+ },
2154
+ "isOptional": true
2155
+ }
2156
+ ],
2157
+ "isSpread": false
2158
+ }
2159
+ ],
2160
+ "returnType": {
2161
+ "__schema": "TypeRefSchema",
2162
+ "location": {
2163
+ "filePath": "remove.main.runtime.ts",
2164
+ "line": 56,
2165
+ "character": 7
2166
+ },
2167
+ "name": "Promise",
2168
+ "typeArgs": [
2169
+ {
2170
+ "__schema": "TypeRefSchema",
2171
+ "location": {
2172
+ "filePath": "remove.main.runtime.ts",
2173
+ "line": 56,
2174
+ "character": 15
2175
+ },
2176
+ "name": "RemoveComponentsResult"
2177
+ }
2178
+ ]
2179
+ },
2180
+ "modifiers": [
2181
+ "async"
2182
+ ]
2183
+ },
2184
+ {
2185
+ "__schema": "FunctionLikeSchema",
2186
+ "location": {
2187
+ "filePath": "remove.main.runtime.ts",
2188
+ "line": 78,
2189
+ "character": 3
2190
+ },
2191
+ "doc": {
2192
+ "__schema": "DocSchema",
2193
+ "location": {
2194
+ "filePath": "remove.main.runtime.ts",
2195
+ "line": 75,
2196
+ "character": 3
2197
+ },
2198
+ "raw": "/**\n * remove components from the workspace.\n */",
2199
+ "comment": "remove components from the workspace."
2200
+ },
2201
+ "signature": "(method) RemoveMain.removeLocallyByIds(ids: ComponentID[], { force, reasonForRemoval }?: {\n force?: boolean;\n reasonForRemoval?: string;\n}): Promise<RemoveComponentsResult>",
2202
+ "name": "removeLocallyByIds",
2203
+ "params": [
2204
+ {
2205
+ "__schema": "ParameterSchema",
2206
+ "location": {
2207
+ "filePath": "remove.main.runtime.ts",
2208
+ "line": 79,
2209
+ "character": 5
2210
+ },
2211
+ "name": "ids",
2212
+ "type": {
2213
+ "__schema": "TypeArraySchema",
2214
+ "location": {
2215
+ "filePath": "remove.main.runtime.ts",
2216
+ "line": 79,
2217
+ "character": 10
2218
+ },
2219
+ "type": {
2220
+ "__schema": "TypeRefSchema",
2221
+ "location": {
2222
+ "filePath": "remove.main.runtime.ts",
2223
+ "line": 79,
2224
+ "character": 10
2225
+ },
2226
+ "name": "ComponentID"
2227
+ }
2228
+ },
2229
+ "isOptional": false,
2230
+ "isSpread": false
2231
+ },
2232
+ {
2233
+ "__schema": "ParameterSchema",
2234
+ "location": {
2235
+ "filePath": "remove.main.runtime.ts",
2236
+ "line": 80,
2237
+ "character": 5
2238
+ },
2239
+ "name": "{ force = false, reasonForRemoval }",
2240
+ "type": {
2241
+ "__schema": "TypeLiteralSchema",
2242
+ "location": {
2243
+ "filePath": "remove.main.runtime.ts",
2244
+ "line": 80,
2245
+ "character": 42
2246
+ },
2247
+ "members": [
2248
+ {
2249
+ "__schema": "VariableLikeSchema",
2250
+ "location": {
2251
+ "filePath": "remove.main.runtime.ts",
2252
+ "line": 80,
2253
+ "character": 44
2254
+ },
2255
+ "signature": "(property) force?: boolean | undefined",
2256
+ "name": "force",
2257
+ "type": {
2258
+ "__schema": "KeywordTypeSchema",
2259
+ "location": {
2260
+ "filePath": "remove.main.runtime.ts",
2261
+ "line": 80,
2262
+ "character": 52
2263
+ },
2264
+ "name": "boolean"
2265
+ },
2266
+ "isOptional": true
2267
+ },
2268
+ {
2269
+ "__schema": "VariableLikeSchema",
2270
+ "location": {
2271
+ "filePath": "remove.main.runtime.ts",
2272
+ "line": 80,
2273
+ "character": 61
2274
+ },
2275
+ "signature": "(property) reasonForRemoval?: string | undefined",
2276
+ "name": "reasonForRemoval",
2277
+ "type": {
2278
+ "__schema": "KeywordTypeSchema",
2279
+ "location": {
2280
+ "filePath": "remove.main.runtime.ts",
2281
+ "line": 80,
2282
+ "character": 80
2283
+ },
2284
+ "name": "string"
2285
+ },
2286
+ "isOptional": true
2287
+ }
2288
+ ]
2289
+ },
2290
+ "isOptional": true,
2291
+ "defaultValue": "{}",
2292
+ "objectBindingNodes": [
2293
+ {
2294
+ "__schema": "VariableLikeSchema",
2295
+ "location": {
2296
+ "filePath": "remove.main.runtime.ts",
2297
+ "line": 80,
2298
+ "character": 44
2299
+ },
2300
+ "signature": "(property) force?: boolean | undefined",
2301
+ "name": "force",
2302
+ "type": {
2303
+ "__schema": "KeywordTypeSchema",
2304
+ "location": {
2305
+ "filePath": "remove.main.runtime.ts",
2306
+ "line": 80,
2307
+ "character": 52
2308
+ },
2309
+ "name": "boolean"
2310
+ },
2311
+ "isOptional": true
2312
+ },
2313
+ {
2314
+ "__schema": "VariableLikeSchema",
2315
+ "location": {
2316
+ "filePath": "remove.main.runtime.ts",
2317
+ "line": 80,
2318
+ "character": 61
2319
+ },
2320
+ "signature": "(property) reasonForRemoval?: string | undefined",
2321
+ "name": "reasonForRemoval",
2322
+ "type": {
2323
+ "__schema": "KeywordTypeSchema",
2324
+ "location": {
2325
+ "filePath": "remove.main.runtime.ts",
2326
+ "line": 80,
2327
+ "character": 80
2328
+ },
2329
+ "name": "string"
2330
+ },
2331
+ "isOptional": true
2332
+ }
2333
+ ],
2334
+ "isSpread": false
2335
+ }
2336
+ ],
2337
+ "returnType": {
2338
+ "__schema": "InferenceTypeSchema",
2339
+ "location": {
2340
+ "filePath": "remove.main.runtime.ts",
2341
+ "line": 78,
2342
+ "character": 3
2343
+ },
2344
+ "type": "Promise<RemoveComponentsResult>"
2345
+ },
2346
+ "modifiers": [
2347
+ "async"
2348
+ ]
2349
+ },
2350
+ {
2351
+ "__schema": "FunctionLikeSchema",
2352
+ "location": {
2353
+ "filePath": "remove.main.runtime.ts",
2354
+ "line": 96,
2355
+ "character": 3
2356
+ },
2357
+ "signature": "(method) RemoveMain.markRemoveComps(componentIds: ComponentID[], shouldUpdateMain?: boolean): Promise<ComponentID[]>",
2358
+ "name": "markRemoveComps",
2359
+ "params": [
2360
+ {
2361
+ "__schema": "ParameterSchema",
2362
+ "location": {
2363
+ "filePath": "remove.main.runtime.ts",
2364
+ "line": 96,
2365
+ "character": 25
2366
+ },
2367
+ "name": "componentIds",
2368
+ "type": {
2369
+ "__schema": "TypeArraySchema",
2370
+ "location": {
2371
+ "filePath": "remove.main.runtime.ts",
2372
+ "line": 96,
2373
+ "character": 39
2374
+ },
2375
+ "type": {
2376
+ "__schema": "TypeRefSchema",
2377
+ "location": {
2378
+ "filePath": "remove.main.runtime.ts",
2379
+ "line": 96,
2380
+ "character": 39
2381
+ },
2382
+ "name": "ComponentID"
2383
+ }
2384
+ },
2385
+ "isOptional": false,
2386
+ "isSpread": false
2387
+ },
2388
+ {
2389
+ "__schema": "ParameterSchema",
2390
+ "location": {
2391
+ "filePath": "remove.main.runtime.ts",
2392
+ "line": 96,
2393
+ "character": 54
2394
+ },
2395
+ "name": "shouldUpdateMain",
2396
+ "type": {
2397
+ "__schema": "InferenceTypeSchema",
2398
+ "location": {
2399
+ "filePath": "remove.main.runtime.ts",
2400
+ "line": 96,
2401
+ "character": 54
2402
+ },
2403
+ "type": "boolean"
2404
+ },
2405
+ "isOptional": true,
2406
+ "defaultValue": "false",
2407
+ "isSpread": false
2408
+ }
2409
+ ],
2410
+ "returnType": {
2411
+ "__schema": "InferenceTypeSchema",
2412
+ "location": {
2413
+ "filePath": "remove.main.runtime.ts",
2414
+ "line": 96,
2415
+ "character": 3
2416
+ },
2417
+ "type": "Promise<ComponentID[]>"
2418
+ },
2419
+ "modifiers": [
2420
+ "async"
2421
+ ]
2422
+ },
2423
+ {
2424
+ "__schema": "FunctionLikeSchema",
2425
+ "location": {
2426
+ "filePath": "remove.main.runtime.ts",
2427
+ "line": 114,
2428
+ "character": 3
2429
+ },
2430
+ "signature": "(method) RemoveMain.deleteComps(componentsPattern: string, opts?: {\n updateMain?: boolean;\n}): Promise<ComponentID[]>",
2431
+ "name": "deleteComps",
2432
+ "params": [
2433
+ {
2434
+ "__schema": "ParameterSchema",
2435
+ "location": {
2436
+ "filePath": "remove.main.runtime.ts",
2437
+ "line": 114,
2438
+ "character": 21
2439
+ },
2440
+ "name": "componentsPattern",
2441
+ "type": {
2442
+ "__schema": "KeywordTypeSchema",
2443
+ "location": {
2444
+ "filePath": "remove.main.runtime.ts",
2445
+ "line": 114,
2446
+ "character": 40
2447
+ },
2448
+ "name": "string"
2449
+ },
2450
+ "isOptional": false,
2451
+ "isSpread": false
2452
+ },
2453
+ {
2454
+ "__schema": "ParameterSchema",
2455
+ "location": {
2456
+ "filePath": "remove.main.runtime.ts",
2457
+ "line": 114,
2458
+ "character": 48
2459
+ },
2460
+ "name": "opts",
2461
+ "type": {
2462
+ "__schema": "TypeLiteralSchema",
2463
+ "location": {
2464
+ "filePath": "remove.main.runtime.ts",
2465
+ "line": 114,
2466
+ "character": 54
2467
+ },
2468
+ "members": [
2469
+ {
2470
+ "__schema": "VariableLikeSchema",
2471
+ "location": {
2472
+ "filePath": "remove.main.runtime.ts",
2473
+ "line": 114,
2474
+ "character": 56
2475
+ },
2476
+ "signature": "(property) updateMain?: boolean | undefined",
2477
+ "name": "updateMain",
2478
+ "type": {
2479
+ "__schema": "KeywordTypeSchema",
2480
+ "location": {
2481
+ "filePath": "remove.main.runtime.ts",
2482
+ "line": 114,
2483
+ "character": 69
2484
+ },
2485
+ "name": "boolean"
2486
+ },
2487
+ "isOptional": true
2488
+ }
2489
+ ]
2490
+ },
2491
+ "isOptional": true,
2492
+ "defaultValue": "{}",
2493
+ "isSpread": false
2494
+ }
2495
+ ],
2496
+ "returnType": {
2497
+ "__schema": "TypeRefSchema",
2498
+ "location": {
2499
+ "filePath": "remove.main.runtime.ts",
2500
+ "line": 114,
2501
+ "character": 86
2502
+ },
2503
+ "name": "Promise",
2504
+ "typeArgs": [
2505
+ {
2506
+ "__schema": "TypeArraySchema",
2507
+ "location": {
2508
+ "filePath": "remove.main.runtime.ts",
2509
+ "line": 114,
2510
+ "character": 94
2511
+ },
2512
+ "type": {
2513
+ "__schema": "TypeRefSchema",
2514
+ "location": {
2515
+ "filePath": "remove.main.runtime.ts",
2516
+ "line": 114,
2517
+ "character": 94
2518
+ },
2519
+ "name": "ComponentID"
2520
+ }
2521
+ }
2522
+ ]
2523
+ },
2524
+ "modifiers": [
2525
+ "async"
2526
+ ]
2527
+ },
2528
+ {
2529
+ "__schema": "FunctionLikeSchema",
2530
+ "location": {
2531
+ "filePath": "remove.main.runtime.ts",
2532
+ "line": 148,
2533
+ "character": 3
2534
+ },
2535
+ "doc": {
2536
+ "__schema": "DocSchema",
2537
+ "location": {
2538
+ "filePath": "remove.main.runtime.ts",
2539
+ "line": 136,
2540
+ "character": 3
2541
+ },
2542
+ "raw": "/**\n * recover a soft-removed component.\n * there are 4 different scenarios.\n * 1. a component was just soft-removed, it wasn't snapped yet. so it's now in .bitmap with the \"removed\" aspect entry.\n * 1.a. the component still exists in the local scope. no need to import. write it from there.\n * 1.b. the component doesn't exist in the local scope. import it.\n * 2. soft-removed and then snapped. It's not in .bitmap now.\n * 3. soft-removed, snapped, exported. it's not in .bitmap now.\n * 4. a soft-removed components was imported, so it's now in .bitmap without the \"removed\" aspect entry.\n * 5. workspace is empty. the soft-removed component is on the remote.\n * returns `true` if it was recovered. `false` if the component wasn't soft-removed, so nothing to recover from.\n */",
2543
+ "comment": "recover a soft-removed component.\nthere are 4 different scenarios.\n1. a component was just soft-removed, it wasn't snapped yet. so it's now in .bitmap with the \"removed\" aspect entry.\n1.a. the component still exists in the local scope. no need to import. write it from there.\n1.b. the component doesn't exist in the local scope. import it.\n2. soft-removed and then snapped. It's not in .bitmap now.\n3. soft-removed, snapped, exported. it's not in .bitmap now.\n4. a soft-removed components was imported, so it's now in .bitmap without the \"removed\" aspect entry.\n5. workspace is empty. the soft-removed component is on the remote.\nreturns `true` if it was recovered. `false` if the component wasn't soft-removed, so nothing to recover from."
2544
+ },
2545
+ "signature": "(method) RemoveMain.recover(compIdStr: string, options: RecoverOptions): Promise<boolean>",
2546
+ "name": "recover",
2547
+ "params": [
2548
+ {
2549
+ "__schema": "ParameterSchema",
2550
+ "location": {
2551
+ "filePath": "remove.main.runtime.ts",
2552
+ "line": 148,
2553
+ "character": 17
2554
+ },
2555
+ "name": "compIdStr",
2556
+ "type": {
2557
+ "__schema": "KeywordTypeSchema",
2558
+ "location": {
2559
+ "filePath": "remove.main.runtime.ts",
2560
+ "line": 148,
2561
+ "character": 28
2562
+ },
2563
+ "name": "string"
2564
+ },
2565
+ "isOptional": false,
2566
+ "isSpread": false
2567
+ },
2568
+ {
2569
+ "__schema": "ParameterSchema",
2570
+ "location": {
2571
+ "filePath": "remove.main.runtime.ts",
2572
+ "line": 148,
2573
+ "character": 36
2574
+ },
2575
+ "name": "options",
2576
+ "type": {
2577
+ "__schema": "TypeRefSchema",
2578
+ "location": {
2579
+ "filePath": "remove.main.runtime.ts",
2580
+ "line": 148,
2581
+ "character": 45
2582
+ },
2583
+ "name": "RecoverOptions"
2584
+ },
2585
+ "isOptional": false,
2586
+ "isSpread": false
2587
+ }
2588
+ ],
2589
+ "returnType": {
2590
+ "__schema": "TypeRefSchema",
2591
+ "location": {
2592
+ "filePath": "remove.main.runtime.ts",
2593
+ "line": 148,
2594
+ "character": 62
2595
+ },
2596
+ "name": "Promise",
2597
+ "typeArgs": [
2598
+ {
2599
+ "__schema": "KeywordTypeSchema",
2600
+ "location": {
2601
+ "filePath": "remove.main.runtime.ts",
2602
+ "line": 148,
2603
+ "character": 70
2604
+ },
2605
+ "name": "boolean"
2606
+ }
2607
+ ]
2608
+ },
2609
+ "modifiers": [
2610
+ "async"
2611
+ ]
2612
+ },
2613
+ {
2614
+ "__schema": "FunctionLikeSchema",
2615
+ "location": {
2616
+ "filePath": "remove.main.runtime.ts",
2617
+ "line": 233,
2618
+ "character": 3
2619
+ },
2620
+ "signature": "(method) RemoveMain.getRemoveInfo(component: Component): RemoveInfo",
2621
+ "name": "getRemoveInfo",
2622
+ "params": [
2623
+ {
2624
+ "__schema": "ParameterSchema",
2625
+ "location": {
2626
+ "filePath": "remove.main.runtime.ts",
2627
+ "line": 233,
2628
+ "character": 17
2629
+ },
2630
+ "name": "component",
2631
+ "type": {
2632
+ "__schema": "TypeRefSchema",
2633
+ "location": {
2634
+ "filePath": "remove.main.runtime.ts",
2635
+ "line": 233,
2636
+ "character": 28
2637
+ },
2638
+ "name": "Component"
2639
+ },
2640
+ "isOptional": false,
2641
+ "isSpread": false
2642
+ }
2643
+ ],
2644
+ "returnType": {
2645
+ "__schema": "TypeRefSchema",
2646
+ "location": {
2647
+ "filePath": "remove.main.runtime.ts",
2648
+ "line": 233,
2649
+ "character": 3
2650
+ },
2651
+ "name": "RemoveInfo"
2652
+ },
2653
+ "modifiers": []
2654
+ },
2655
+ {
2656
+ "__schema": "FunctionLikeSchema",
2657
+ "location": {
2658
+ "filePath": "remove.main.runtime.ts",
2659
+ "line": 240,
2660
+ "character": 3
2661
+ },
2662
+ "signature": "(method) RemoveMain.isRemoved(component: Component): boolean",
2663
+ "name": "isRemoved",
2664
+ "params": [
2665
+ {
2666
+ "__schema": "ParameterSchema",
2667
+ "location": {
2668
+ "filePath": "remove.main.runtime.ts",
2669
+ "line": 240,
2670
+ "character": 13
2671
+ },
2672
+ "name": "component",
2673
+ "type": {
2674
+ "__schema": "TypeRefSchema",
2675
+ "location": {
2676
+ "filePath": "remove.main.runtime.ts",
2677
+ "line": 240,
2678
+ "character": 24
2679
+ },
2680
+ "name": "Component"
2681
+ },
2682
+ "isOptional": false,
2683
+ "isSpread": false
2684
+ }
2685
+ ],
2686
+ "returnType": {
2687
+ "__schema": "KeywordTypeSchema",
2688
+ "location": {
2689
+ "filePath": "remove.main.runtime.ts",
2690
+ "line": 240,
2691
+ "character": 36
2692
+ },
2693
+ "name": "boolean"
2694
+ },
2695
+ "modifiers": []
2696
+ },
2697
+ {
2698
+ "__schema": "FunctionLikeSchema",
2699
+ "location": {
2700
+ "filePath": "remove.main.runtime.ts",
2701
+ "line": 247,
2702
+ "character": 3
2703
+ },
2704
+ "doc": {
2705
+ "__schema": "DocSchema",
2706
+ "location": {
2707
+ "filePath": "remove.main.runtime.ts",
2708
+ "line": 244,
2709
+ "character": 3
2710
+ },
2711
+ "raw": "/**\n * performant version of isRemoved() in case the component object is not available and loading it is expensive.\n */",
2712
+ "comment": "performant version of isRemoved() in case the component object is not available and loading it is expensive."
2713
+ },
2714
+ "signature": "(method) RemoveMain.isRemovedByIdWithoutLoadingComponent(componentId: ComponentID): Promise<boolean>",
2715
+ "name": "isRemovedByIdWithoutLoadingComponent",
2716
+ "params": [
2717
+ {
2718
+ "__schema": "ParameterSchema",
2719
+ "location": {
2720
+ "filePath": "remove.main.runtime.ts",
2721
+ "line": 247,
2722
+ "character": 46
2723
+ },
2724
+ "name": "componentId",
2725
+ "type": {
2726
+ "__schema": "TypeRefSchema",
2727
+ "location": {
2728
+ "filePath": "remove.main.runtime.ts",
2729
+ "line": 247,
2730
+ "character": 59
2731
+ },
2732
+ "name": "ComponentID"
2733
+ },
2734
+ "isOptional": false,
2735
+ "isSpread": false
2736
+ }
2737
+ ],
2738
+ "returnType": {
2739
+ "__schema": "TypeRefSchema",
2740
+ "location": {
2741
+ "filePath": "remove.main.runtime.ts",
2742
+ "line": 247,
2743
+ "character": 73
2744
+ },
2745
+ "name": "Promise",
2746
+ "typeArgs": [
2747
+ {
2748
+ "__schema": "KeywordTypeSchema",
2749
+ "location": {
2750
+ "filePath": "remove.main.runtime.ts",
2751
+ "line": 247,
2752
+ "character": 81
2753
+ },
2754
+ "name": "boolean"
2755
+ }
2756
+ ]
2757
+ },
2758
+ "modifiers": [
2759
+ "async"
2760
+ ]
2761
+ },
2762
+ {
2763
+ "__schema": "FunctionLikeSchema",
2764
+ "location": {
2765
+ "filePath": "remove.main.runtime.ts",
2766
+ "line": 262,
2767
+ "character": 3
2768
+ },
2769
+ "doc": {
2770
+ "__schema": "DocSchema",
2771
+ "location": {
2772
+ "filePath": "remove.main.runtime.ts",
2773
+ "line": 259,
2774
+ "character": 3
2775
+ },
2776
+ "raw": "/**\n * get components that were soft-removed and tagged/snapped/merged but not exported yet.\n */",
2777
+ "comment": "get components that were soft-removed and tagged/snapped/merged but not exported yet."
2778
+ },
2779
+ "signature": "(method) RemoveMain.getRemovedStaged(): Promise<ComponentID[]>",
2780
+ "name": "getRemovedStaged",
2781
+ "params": [],
2782
+ "returnType": {
2783
+ "__schema": "TypeRefSchema",
2784
+ "location": {
2785
+ "filePath": "remove.main.runtime.ts",
2786
+ "line": 262,
2787
+ "character": 29
2788
+ },
2789
+ "name": "Promise",
2790
+ "typeArgs": [
2791
+ {
2792
+ "__schema": "TypeArraySchema",
2793
+ "location": {
2794
+ "filePath": "remove.main.runtime.ts",
2795
+ "line": 262,
2796
+ "character": 37
2797
+ },
2798
+ "type": {
2799
+ "__schema": "TypeRefSchema",
2800
+ "location": {
2801
+ "filePath": "remove.main.runtime.ts",
2802
+ "line": 262,
2803
+ "character": 37
2804
+ },
2805
+ "name": "ComponentID"
2806
+ }
2807
+ }
2808
+ ]
2809
+ },
2810
+ "modifiers": [
2811
+ "async"
2812
+ ]
2813
+ },
2814
+ {
2815
+ "__schema": "FunctionLikeSchema",
2816
+ "location": {
2817
+ "filePath": "remove.main.runtime.ts",
2818
+ "line": 266,
2819
+ "character": 3
2820
+ },
2821
+ "signature": "(method) RemoveMain.addRemovedDependenciesIssues(components: Component[]): Promise<void>",
2822
+ "name": "addRemovedDependenciesIssues",
2823
+ "params": [
2824
+ {
2825
+ "__schema": "ParameterSchema",
2826
+ "location": {
2827
+ "filePath": "remove.main.runtime.ts",
2828
+ "line": 266,
2829
+ "character": 38
2830
+ },
2831
+ "name": "components",
2832
+ "type": {
2833
+ "__schema": "TypeArraySchema",
2834
+ "location": {
2835
+ "filePath": "remove.main.runtime.ts",
2836
+ "line": 266,
2837
+ "character": 50
2838
+ },
2839
+ "type": {
2840
+ "__schema": "TypeRefSchema",
2841
+ "location": {
2842
+ "filePath": "remove.main.runtime.ts",
2843
+ "line": 266,
2844
+ "character": 50
2845
+ },
2846
+ "name": "Component"
2847
+ }
2848
+ },
2849
+ "isOptional": false,
2850
+ "isSpread": false
2851
+ }
2852
+ ],
2853
+ "returnType": {
2854
+ "__schema": "InferenceTypeSchema",
2855
+ "location": {
2856
+ "filePath": "remove.main.runtime.ts",
2857
+ "line": 266,
2858
+ "character": 3
2859
+ },
2860
+ "type": "Promise<void>"
2861
+ },
2862
+ "modifiers": [
2863
+ "async"
2864
+ ]
2865
+ },
2866
+ {
2867
+ "__schema": "VariableLikeSchema",
2868
+ "location": {
2869
+ "filePath": "remove.main.runtime.ts",
2870
+ "line": 334,
2871
+ "character": 3
2872
+ },
2873
+ "signature": "(property) RemoveMain.slots: never[]",
2874
+ "name": "slots",
2875
+ "type": {
2876
+ "__schema": "InferenceTypeSchema",
2877
+ "location": {
2878
+ "filePath": "remove.main.runtime.ts",
2879
+ "line": 334,
2880
+ "character": 3
2881
+ },
2882
+ "type": "never[]"
2883
+ },
2884
+ "isOptional": true,
2885
+ "defaultValue": "[]"
2886
+ },
2887
+ {
2888
+ "__schema": "VariableLikeSchema",
2889
+ "location": {
2890
+ "filePath": "remove.main.runtime.ts",
2891
+ "line": 335,
2892
+ "character": 3
2893
+ },
2894
+ "signature": "(property) RemoveMain.dependencies: Aspect[]",
2895
+ "name": "dependencies",
2896
+ "type": {
2897
+ "__schema": "InferenceTypeSchema",
2898
+ "location": {
2899
+ "filePath": "remove.main.runtime.ts",
2900
+ "line": 335,
2901
+ "character": 3
2902
+ },
2903
+ "type": "Aspect[]"
2904
+ },
2905
+ "isOptional": true,
2906
+ "defaultValue": "[\n WorkspaceAspect,\n CLIAspect,\n LoggerAspect,\n ComponentAspect,\n ImporterAspect,\n DependencyResolverAspect,\n IssuesAspect,\n ]"
2907
+ },
2908
+ {
2909
+ "__schema": "VariableLikeSchema",
2910
+ "location": {
2911
+ "filePath": "remove.main.runtime.ts",
2912
+ "line": 344,
2913
+ "character": 3
2914
+ },
2915
+ "signature": "(property) RemoveMain.runtime: RuntimeDefinition",
2916
+ "name": "runtime",
2917
+ "type": {
2918
+ "__schema": "InferenceTypeSchema",
2919
+ "location": {
2920
+ "filePath": "remove.main.runtime.ts",
2921
+ "line": 344,
2922
+ "character": 3
2923
+ },
2924
+ "type": "RuntimeDefinition"
2925
+ },
2926
+ "isOptional": true,
2927
+ "defaultValue": "MainRuntime"
2928
+ },
2929
+ {
2930
+ "__schema": "FunctionLikeSchema",
2931
+ "location": {
2932
+ "filePath": "remove.main.runtime.ts",
2933
+ "line": 346,
2934
+ "character": 3
2935
+ },
2936
+ "signature": "(method) RemoveMain.provider([workspace, cli, loggerMain, componentAspect, importerMain, depResolver, issues]: [\n Workspace,\n CLIMain,\n LoggerMain,\n ComponentMain,\n ImporterMain,\n DependencyResolverMain,\n IssuesMain\n]): Promise<RemoveMain>",
2937
+ "name": "provider",
2938
+ "params": [
2939
+ {
2940
+ "__schema": "ParameterSchema",
2941
+ "location": {
2942
+ "filePath": "remove.main.runtime.ts",
2943
+ "line": 346,
2944
+ "character": 25
2945
+ },
2946
+ "name": "[ workspace, cli, loggerMain, componentAspect, importerMain, depResolver, issues ]",
2947
+ "type": {
2948
+ "__schema": "TupleTypeSchema",
2949
+ "location": {
2950
+ "filePath": "remove.main.runtime.ts",
2951
+ "line": 346,
2952
+ "character": 107
2953
+ },
2954
+ "elements": [
2955
+ {
2956
+ "__schema": "TypeRefSchema",
2957
+ "location": {
2958
+ "filePath": "remove.main.runtime.ts",
2959
+ "line": 347,
2960
+ "character": 5
2961
+ },
2962
+ "name": "Workspace"
2963
+ },
2964
+ {
2965
+ "__schema": "TypeRefSchema",
2966
+ "location": {
2967
+ "filePath": "remove.main.runtime.ts",
2968
+ "line": 348,
2969
+ "character": 5
2970
+ },
2971
+ "name": "CLIMain"
2972
+ },
2973
+ {
2974
+ "__schema": "TypeRefSchema",
2975
+ "location": {
2976
+ "filePath": "remove.main.runtime.ts",
2977
+ "line": 349,
2978
+ "character": 5
2979
+ },
2980
+ "name": "LoggerMain"
2981
+ },
2982
+ {
2983
+ "__schema": "TypeRefSchema",
2984
+ "location": {
2985
+ "filePath": "remove.main.runtime.ts",
2986
+ "line": 350,
2987
+ "character": 5
2988
+ },
2989
+ "name": "ComponentMain"
2990
+ },
2991
+ {
2992
+ "__schema": "TypeRefSchema",
2993
+ "location": {
2994
+ "filePath": "remove.main.runtime.ts",
2995
+ "line": 351,
2996
+ "character": 5
2997
+ },
2998
+ "name": "ImporterMain"
2999
+ },
3000
+ {
3001
+ "__schema": "TypeRefSchema",
3002
+ "location": {
3003
+ "filePath": "remove.main.runtime.ts",
3004
+ "line": 352,
3005
+ "character": 5
3006
+ },
3007
+ "name": "DependencyResolverMain"
3008
+ },
3009
+ {
3010
+ "__schema": "TypeRefSchema",
3011
+ "location": {
3012
+ "filePath": "remove.main.runtime.ts",
3013
+ "line": 353,
3014
+ "character": 5
3015
+ },
3016
+ "name": "IssuesMain"
3017
+ }
3018
+ ]
3019
+ },
3020
+ "isOptional": false,
3021
+ "isSpread": false
3022
+ }
3023
+ ],
3024
+ "returnType": {
3025
+ "__schema": "InferenceTypeSchema",
3026
+ "location": {
3027
+ "filePath": "remove.main.runtime.ts",
3028
+ "line": 346,
3029
+ "character": 3
3030
+ },
3031
+ "type": "Promise<RemoveMain>"
3032
+ },
3033
+ "modifiers": [
3034
+ "static",
3035
+ "async"
3036
+ ]
3037
+ }
3038
+ ],
3039
+ "extendsNodes": [],
3040
+ "implementNodes": []
3041
+ },
3042
+ {
3043
+ "__schema": "UnImplementedSchema",
3044
+ "location": {
3045
+ "filePath": "remove.main.runtime.ts",
3046
+ "line": 370,
3047
+ "character": 16
3048
+ },
3049
+ "name": "RemoveMain",
3050
+ "type": "Identifier"
3051
+ }
3052
+ ],
3053
+ "internals": [
3054
+ {
3055
+ "__schema": "ModuleSchema",
3056
+ "location": {
3057
+ "filePath": "remove.main.runtime.ts",
3058
+ "line": 26,
3059
+ "character": 1
3060
+ },
3061
+ "exports": [
3062
+ {
3063
+ "__schema": "VariableLikeSchema",
3064
+ "location": {
3065
+ "filePath": "remove.main.runtime.ts",
3066
+ "line": 26,
3067
+ "character": 7
3068
+ },
3069
+ "signature": "const BEFORE_REMOVE: \"removing components\"",
3070
+ "name": "BEFORE_REMOVE",
3071
+ "type": {
3072
+ "__schema": "InferenceTypeSchema",
3073
+ "location": {
3074
+ "filePath": "remove.main.runtime.ts",
3075
+ "line": 26,
3076
+ "character": 7
3077
+ },
3078
+ "type": "\"removing components\""
3079
+ },
3080
+ "isOptional": false,
3081
+ "defaultValue": "'removing components'"
3082
+ }
3083
+ ],
3084
+ "internals": []
3085
+ },
3086
+ {
3087
+ "__schema": "UnImplementedSchema",
3088
+ "location": {
3089
+ "filePath": "remove.main.runtime.ts",
3090
+ "line": 368,
3091
+ "character": 1
3092
+ },
3093
+ "name": "RemoveAspect.addRuntime(RemoveMain);",
3094
+ "type": "ExpressionStatement"
3095
+ }
3096
+ ]
3097
+ },
3098
+ {
3099
+ "__schema": "ModuleSchema",
3100
+ "location": {
3101
+ "filePath": "removed-local-objects.ts",
3102
+ "line": 1,
3103
+ "character": 1
3104
+ },
3105
+ "exports": [
3106
+ {
3107
+ "__schema": "ClassSchema",
3108
+ "location": {
3109
+ "filePath": "removed-local-objects.ts",
3110
+ "line": 4,
3111
+ "character": 1
3112
+ },
3113
+ "signature": "class RemovedLocalObjects",
3114
+ "name": "RemovedLocalObjects",
3115
+ "members": [
3116
+ {
3117
+ "__schema": "VariableLikeSchema",
3118
+ "location": {
3119
+ "filePath": "removed-local-objects.ts",
3120
+ "line": 5,
3121
+ "character": 3
3122
+ },
3123
+ "signature": "(property) RemovedLocalObjects.modifiedComponents: ComponentIdList",
3124
+ "name": "modifiedComponents",
3125
+ "type": {
3126
+ "__schema": "TypeRefSchema",
3127
+ "location": {
3128
+ "filePath": "removed-local-objects.ts",
3129
+ "line": 5,
3130
+ "character": 3
3131
+ },
3132
+ "name": "ComponentIdList",
3133
+ "componentId": {
3134
+ "scope": "teambit.component",
3135
+ "name": "component-id",
3136
+ "version": "1.2.0"
3137
+ }
3138
+ },
3139
+ "isOptional": false
3140
+ },
3141
+ {
3142
+ "__schema": "ConstructorSchema",
3143
+ "location": {
3144
+ "filePath": "removed-local-objects.ts",
3145
+ "line": 6,
3146
+ "character": 3
3147
+ },
3148
+ "signature": "constructor RemovedLocalObjects(removedComponentIds?: ComponentIdList, missingComponents?: ComponentIdList, modifiedComponents?: ComponentIdList, dependentBits?: Record<string, any>, removedFromLane?: ComponentIdList): RemovedLocalObjects",
3149
+ "name": "constructor",
3150
+ "params": [
3151
+ {
3152
+ "__schema": "ParameterSchema",
3153
+ "location": {
3154
+ "filePath": "removed-local-objects.ts",
3155
+ "line": 7,
3156
+ "character": 5
3157
+ },
3158
+ "name": "removedComponentIds",
3159
+ "type": {
3160
+ "__schema": "TypeRefSchema",
3161
+ "location": {
3162
+ "filePath": "removed-local-objects.ts",
3163
+ "line": 7,
3164
+ "character": 27
3165
+ },
3166
+ "name": "ComponentIdList"
3167
+ },
3168
+ "isOptional": true,
3169
+ "isSpread": false
3170
+ },
3171
+ {
3172
+ "__schema": "ParameterSchema",
3173
+ "location": {
3174
+ "filePath": "removed-local-objects.ts",
3175
+ "line": 8,
3176
+ "character": 5
3177
+ },
3178
+ "name": "missingComponents",
3179
+ "type": {
3180
+ "__schema": "TypeRefSchema",
3181
+ "location": {
3182
+ "filePath": "removed-local-objects.ts",
3183
+ "line": 8,
3184
+ "character": 25
3185
+ },
3186
+ "name": "ComponentIdList"
3187
+ },
3188
+ "isOptional": true,
3189
+ "isSpread": false
3190
+ },
3191
+ {
3192
+ "__schema": "ParameterSchema",
3193
+ "location": {
3194
+ "filePath": "removed-local-objects.ts",
3195
+ "line": 9,
3196
+ "character": 5
3197
+ },
3198
+ "name": "modifiedComponents",
3199
+ "type": {
3200
+ "__schema": "TypeRefSchema",
3201
+ "location": {
3202
+ "filePath": "removed-local-objects.ts",
3203
+ "line": 9,
3204
+ "character": 26
3205
+ },
3206
+ "name": "ComponentIdList"
3207
+ },
3208
+ "isOptional": true,
3209
+ "isSpread": false
3210
+ },
3211
+ {
3212
+ "__schema": "ParameterSchema",
3213
+ "location": {
3214
+ "filePath": "removed-local-objects.ts",
3215
+ "line": 10,
3216
+ "character": 5
3217
+ },
3218
+ "name": "dependentBits",
3219
+ "type": {
3220
+ "__schema": "TypeRefSchema",
3221
+ "location": {
3222
+ "filePath": "removed-local-objects.ts",
3223
+ "line": 10,
3224
+ "character": 21
3225
+ },
3226
+ "name": "Record",
3227
+ "typeArgs": [
3228
+ {
3229
+ "__schema": "KeywordTypeSchema",
3230
+ "location": {
3231
+ "filePath": "removed-local-objects.ts",
3232
+ "line": 10,
3233
+ "character": 28
3234
+ },
3235
+ "name": "string"
3236
+ },
3237
+ {
3238
+ "__schema": "KeywordTypeSchema",
3239
+ "location": {
3240
+ "filePath": "removed-local-objects.ts",
3241
+ "line": 10,
3242
+ "character": 36
3243
+ },
3244
+ "name": "any"
3245
+ }
3246
+ ]
3247
+ },
3248
+ "isOptional": true,
3249
+ "isSpread": false
3250
+ },
3251
+ {
3252
+ "__schema": "ParameterSchema",
3253
+ "location": {
3254
+ "filePath": "removed-local-objects.ts",
3255
+ "line": 11,
3256
+ "character": 5
3257
+ },
3258
+ "name": "removedFromLane",
3259
+ "type": {
3260
+ "__schema": "TypeRefSchema",
3261
+ "location": {
3262
+ "filePath": "removed-local-objects.ts",
3263
+ "line": 11,
3264
+ "character": 23
3265
+ },
3266
+ "name": "ComponentIdList"
3267
+ },
3268
+ "isOptional": true,
3269
+ "isSpread": false
3270
+ }
3271
+ ],
3272
+ "returnType": {
3273
+ "__schema": "ThisTypeSchema",
3274
+ "location": {
3275
+ "filePath": "removed-local-objects.ts",
3276
+ "line": 4,
3277
+ "character": 1
3278
+ },
3279
+ "name": "RemovedLocalObjects"
3280
+ },
3281
+ "modifiers": []
3282
+ }
3283
+ ],
3284
+ "extendsNodes": [
3285
+ {
3286
+ "__schema": "ExpressionWithTypeArgumentsSchema",
3287
+ "location": {
3288
+ "filePath": "removed-local-objects.ts",
3289
+ "line": 4,
3290
+ "character": 42
3291
+ },
3292
+ "name": "extends RemovedObjects",
3293
+ "typeArgs": [],
3294
+ "expression": {
3295
+ "__schema": "TypeRefSchema",
3296
+ "location": {
3297
+ "filePath": "removed-local-objects.ts",
3298
+ "line": 4,
3299
+ "character": 42
3300
+ },
3301
+ "name": "RemovedObjects",
3302
+ "componentId": {
3303
+ "_legacy": {
3304
+ "scope": "teambit.component",
3305
+ "name": "remove",
3306
+ "version": "1.0.159"
3307
+ },
3308
+ "_scope": "teambit.component"
3309
+ }
3310
+ }
3311
+ }
3312
+ ],
3313
+ "implementNodes": []
3314
+ }
3315
+ ],
3316
+ "internals": []
3317
+ },
3318
+ {
3319
+ "__schema": "ModuleSchema",
3320
+ "location": {
3321
+ "filePath": "remove.aspect.ts",
3322
+ "line": 1,
3323
+ "character": 1
3324
+ },
3325
+ "exports": [
3326
+ {
3327
+ "__schema": "VariableLikeSchema",
3328
+ "location": {
3329
+ "filePath": "remove.aspect.ts",
3330
+ "line": 3,
3331
+ "character": 14
3332
+ },
3333
+ "signature": "const RemoveAspect: Aspect",
3334
+ "name": "RemoveAspect",
3335
+ "type": {
3336
+ "__schema": "TypeRefSchema",
3337
+ "location": {
3338
+ "filePath": "remove.aspect.ts",
3339
+ "line": 3,
3340
+ "character": 14
3341
+ },
3342
+ "name": "Aspect",
3343
+ "componentId": {
3344
+ "scope": "teambit.harmony",
3345
+ "name": "harmony",
3346
+ "version": "0.4.6"
3347
+ }
3348
+ },
3349
+ "isOptional": false,
3350
+ "defaultValue": "Aspect.create({\n id: 'teambit.component/remove',\n})"
3351
+ }
3352
+ ],
3353
+ "internals": []
3354
+ }
3355
+ ],
3356
+ "componentId": {
3357
+ "scope": "teambit.component",
3358
+ "name": "remove",
3359
+ "version": "1.0.159"
3360
+ },
3361
+ "taggedModuleExports": []
3362
+ }