@teambit/remove 1.0.330 → 1.0.331

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.
@@ -25,7 +25,7 @@
25
25
  "__schema": "ClassSchema",
26
26
  "location": {
27
27
  "filePath": "remove.main.runtime.ts",
28
- "line": 45,
28
+ "line": 44,
29
29
  "character": 1
30
30
  },
31
31
  "signature": "class RemoveMain",
@@ -35,7 +35,7 @@
35
35
  "__schema": "ConstructorSchema",
36
36
  "location": {
37
37
  "filePath": "remove.main.runtime.ts",
38
- "line": 46,
38
+ "line": 45,
39
39
  "character": 3
40
40
  },
41
41
  "signature": "constructor RemoveMain(workspace: Workspace, scope: ScopeMain, logger: Logger, importer: ImporterMain, depResolver: DependencyResolverMain, lister: ListerMain): RemoveMain",
@@ -45,7 +45,7 @@
45
45
  "__schema": "ParameterSchema",
46
46
  "location": {
47
47
  "filePath": "remove.main.runtime.ts",
48
- "line": 47,
48
+ "line": 46,
49
49
  "character": 5
50
50
  },
51
51
  "name": "workspace",
@@ -53,14 +53,10 @@
53
53
  "__schema": "TypeRefSchema",
54
54
  "location": {
55
55
  "filePath": "remove.main.runtime.ts",
56
- "line": 47,
56
+ "line": 46,
57
57
  "character": 24
58
58
  },
59
- "name": "Workspace",
60
- "componentId": {
61
- "scope": "teambit.workspace",
62
- "name": "workspace"
63
- }
59
+ "name": "Workspace"
64
60
  },
65
61
  "isOptional": false,
66
62
  "isSpread": false
@@ -69,7 +65,7 @@
69
65
  "__schema": "ParameterSchema",
70
66
  "location": {
71
67
  "filePath": "remove.main.runtime.ts",
72
- "line": 48,
68
+ "line": 47,
73
69
  "character": 5
74
70
  },
75
71
  "name": "scope",
@@ -77,14 +73,10 @@
77
73
  "__schema": "TypeRefSchema",
78
74
  "location": {
79
75
  "filePath": "remove.main.runtime.ts",
80
- "line": 48,
76
+ "line": 47,
81
77
  "character": 20
82
78
  },
83
- "name": "ScopeMain",
84
- "componentId": {
85
- "scope": "teambit.scope",
86
- "name": "scope"
87
- }
79
+ "name": "ScopeMain"
88
80
  },
89
81
  "isOptional": false,
90
82
  "isSpread": false
@@ -93,7 +85,7 @@
93
85
  "__schema": "ParameterSchema",
94
86
  "location": {
95
87
  "filePath": "remove.main.runtime.ts",
96
- "line": 49,
88
+ "line": 48,
97
89
  "character": 5
98
90
  },
99
91
  "name": "logger",
@@ -101,14 +93,10 @@
101
93
  "__schema": "TypeRefSchema",
102
94
  "location": {
103
95
  "filePath": "remove.main.runtime.ts",
104
- "line": 49,
96
+ "line": 48,
105
97
  "character": 20
106
98
  },
107
- "name": "Logger",
108
- "componentId": {
109
- "scope": "teambit.harmony",
110
- "name": "logger"
111
- }
99
+ "name": "Logger"
112
100
  },
113
101
  "isOptional": false,
114
102
  "isSpread": false
@@ -117,7 +105,7 @@
117
105
  "__schema": "ParameterSchema",
118
106
  "location": {
119
107
  "filePath": "remove.main.runtime.ts",
120
- "line": 50,
108
+ "line": 49,
121
109
  "character": 5
122
110
  },
123
111
  "name": "importer",
@@ -125,14 +113,10 @@
125
113
  "__schema": "TypeRefSchema",
126
114
  "location": {
127
115
  "filePath": "remove.main.runtime.ts",
128
- "line": 50,
116
+ "line": 49,
129
117
  "character": 23
130
118
  },
131
- "name": "ImporterMain",
132
- "componentId": {
133
- "scope": "teambit.scope",
134
- "name": "importer"
135
- }
119
+ "name": "ImporterMain"
136
120
  },
137
121
  "isOptional": false,
138
122
  "isSpread": false
@@ -141,7 +125,7 @@
141
125
  "__schema": "ParameterSchema",
142
126
  "location": {
143
127
  "filePath": "remove.main.runtime.ts",
144
- "line": 51,
128
+ "line": 50,
145
129
  "character": 5
146
130
  },
147
131
  "name": "depResolver",
@@ -149,14 +133,10 @@
149
133
  "__schema": "TypeRefSchema",
150
134
  "location": {
151
135
  "filePath": "remove.main.runtime.ts",
152
- "line": 51,
136
+ "line": 50,
153
137
  "character": 26
154
138
  },
155
- "name": "DependencyResolverMain",
156
- "componentId": {
157
- "scope": "teambit.dependencies",
158
- "name": "dependency-resolver"
159
- }
139
+ "name": "DependencyResolverMain"
160
140
  },
161
141
  "isOptional": false,
162
142
  "isSpread": false
@@ -165,7 +145,7 @@
165
145
  "__schema": "ParameterSchema",
166
146
  "location": {
167
147
  "filePath": "remove.main.runtime.ts",
168
- "line": 52,
148
+ "line": 51,
169
149
  "character": 5
170
150
  },
171
151
  "name": "lister",
@@ -173,14 +153,10 @@
173
153
  "__schema": "TypeRefSchema",
174
154
  "location": {
175
155
  "filePath": "remove.main.runtime.ts",
176
- "line": 52,
156
+ "line": 51,
177
157
  "character": 21
178
158
  },
179
- "name": "ListerMain",
180
- "componentId": {
181
- "scope": "teambit.component",
182
- "name": "lister"
183
- }
159
+ "name": "ListerMain"
184
160
  },
185
161
  "isOptional": false,
186
162
  "isSpread": false
@@ -190,7 +166,7 @@
190
166
  "__schema": "ThisTypeSchema",
191
167
  "location": {
192
168
  "filePath": "remove.main.runtime.ts",
193
- "line": 45,
169
+ "line": 44,
194
170
  "character": 1
195
171
  },
196
172
  "name": "RemoveMain"
@@ -201,7 +177,7 @@
201
177
  "__schema": "FunctionLikeSchema",
202
178
  "location": {
203
179
  "filePath": "remove.main.runtime.ts",
204
- "line": 55,
180
+ "line": 54,
205
181
  "character": 3
206
182
  },
207
183
  "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>",
@@ -211,7 +187,7 @@
211
187
  "__schema": "ParameterSchema",
212
188
  "location": {
213
189
  "filePath": "remove.main.runtime.ts",
214
- "line": 55,
190
+ "line": 54,
215
191
  "character": 16
216
192
  },
217
193
  "name": "{ componentsPattern, force = false, remote = false, track = false, deleteFiles = true }",
@@ -219,7 +195,7 @@
219
195
  "__schema": "TypeLiteralSchema",
220
196
  "location": {
221
197
  "filePath": "remove.main.runtime.ts",
222
- "line": 61,
198
+ "line": 60,
223
199
  "character": 6
224
200
  },
225
201
  "members": [
@@ -227,7 +203,7 @@
227
203
  "__schema": "VariableLikeSchema",
228
204
  "location": {
229
205
  "filePath": "remove.main.runtime.ts",
230
- "line": 62,
206
+ "line": 61,
231
207
  "character": 5
232
208
  },
233
209
  "signature": "(property) componentsPattern: string",
@@ -236,7 +212,7 @@
236
212
  "__schema": "KeywordTypeSchema",
237
213
  "location": {
238
214
  "filePath": "remove.main.runtime.ts",
239
- "line": 62,
215
+ "line": 61,
240
216
  "character": 24
241
217
  },
242
218
  "name": "string"
@@ -247,7 +223,7 @@
247
223
  "__schema": "VariableLikeSchema",
248
224
  "location": {
249
225
  "filePath": "remove.main.runtime.ts",
250
- "line": 63,
226
+ "line": 62,
251
227
  "character": 5
252
228
  },
253
229
  "signature": "(property) force?: boolean | undefined",
@@ -256,7 +232,7 @@
256
232
  "__schema": "KeywordTypeSchema",
257
233
  "location": {
258
234
  "filePath": "remove.main.runtime.ts",
259
- "line": 63,
235
+ "line": 62,
260
236
  "character": 13
261
237
  },
262
238
  "name": "boolean"
@@ -267,7 +243,7 @@
267
243
  "__schema": "VariableLikeSchema",
268
244
  "location": {
269
245
  "filePath": "remove.main.runtime.ts",
270
- "line": 64,
246
+ "line": 63,
271
247
  "character": 5
272
248
  },
273
249
  "signature": "(property) remote?: boolean | undefined",
@@ -276,7 +252,7 @@
276
252
  "__schema": "KeywordTypeSchema",
277
253
  "location": {
278
254
  "filePath": "remove.main.runtime.ts",
279
- "line": 64,
255
+ "line": 63,
280
256
  "character": 14
281
257
  },
282
258
  "name": "boolean"
@@ -287,7 +263,7 @@
287
263
  "__schema": "VariableLikeSchema",
288
264
  "location": {
289
265
  "filePath": "remove.main.runtime.ts",
290
- "line": 65,
266
+ "line": 64,
291
267
  "character": 5
292
268
  },
293
269
  "signature": "(property) track?: boolean | undefined",
@@ -296,7 +272,7 @@
296
272
  "__schema": "KeywordTypeSchema",
297
273
  "location": {
298
274
  "filePath": "remove.main.runtime.ts",
299
- "line": 65,
275
+ "line": 64,
300
276
  "character": 13
301
277
  },
302
278
  "name": "boolean"
@@ -307,7 +283,7 @@
307
283
  "__schema": "VariableLikeSchema",
308
284
  "location": {
309
285
  "filePath": "remove.main.runtime.ts",
310
- "line": 66,
286
+ "line": 65,
311
287
  "character": 5
312
288
  },
313
289
  "signature": "(property) deleteFiles?: boolean | undefined",
@@ -316,7 +292,7 @@
316
292
  "__schema": "KeywordTypeSchema",
317
293
  "location": {
318
294
  "filePath": "remove.main.runtime.ts",
319
- "line": 66,
295
+ "line": 65,
320
296
  "character": 19
321
297
  },
322
298
  "name": "boolean"
@@ -331,7 +307,7 @@
331
307
  "__schema": "VariableLikeSchema",
332
308
  "location": {
333
309
  "filePath": "remove.main.runtime.ts",
334
- "line": 62,
310
+ "line": 61,
335
311
  "character": 5
336
312
  },
337
313
  "signature": "(property) componentsPattern: string",
@@ -340,7 +316,7 @@
340
316
  "__schema": "KeywordTypeSchema",
341
317
  "location": {
342
318
  "filePath": "remove.main.runtime.ts",
343
- "line": 62,
319
+ "line": 61,
344
320
  "character": 24
345
321
  },
346
322
  "name": "string"
@@ -351,7 +327,7 @@
351
327
  "__schema": "VariableLikeSchema",
352
328
  "location": {
353
329
  "filePath": "remove.main.runtime.ts",
354
- "line": 63,
330
+ "line": 62,
355
331
  "character": 5
356
332
  },
357
333
  "signature": "(property) force?: boolean | undefined",
@@ -360,7 +336,7 @@
360
336
  "__schema": "KeywordTypeSchema",
361
337
  "location": {
362
338
  "filePath": "remove.main.runtime.ts",
363
- "line": 63,
339
+ "line": 62,
364
340
  "character": 13
365
341
  },
366
342
  "name": "boolean"
@@ -371,7 +347,7 @@
371
347
  "__schema": "VariableLikeSchema",
372
348
  "location": {
373
349
  "filePath": "remove.main.runtime.ts",
374
- "line": 64,
350
+ "line": 63,
375
351
  "character": 5
376
352
  },
377
353
  "signature": "(property) remote?: boolean | undefined",
@@ -380,7 +356,7 @@
380
356
  "__schema": "KeywordTypeSchema",
381
357
  "location": {
382
358
  "filePath": "remove.main.runtime.ts",
383
- "line": 64,
359
+ "line": 63,
384
360
  "character": 14
385
361
  },
386
362
  "name": "boolean"
@@ -391,7 +367,7 @@
391
367
  "__schema": "VariableLikeSchema",
392
368
  "location": {
393
369
  "filePath": "remove.main.runtime.ts",
394
- "line": 65,
370
+ "line": 64,
395
371
  "character": 5
396
372
  },
397
373
  "signature": "(property) track?: boolean | undefined",
@@ -400,7 +376,7 @@
400
376
  "__schema": "KeywordTypeSchema",
401
377
  "location": {
402
378
  "filePath": "remove.main.runtime.ts",
403
- "line": 65,
379
+ "line": 64,
404
380
  "character": 13
405
381
  },
406
382
  "name": "boolean"
@@ -411,7 +387,7 @@
411
387
  "__schema": "VariableLikeSchema",
412
388
  "location": {
413
389
  "filePath": "remove.main.runtime.ts",
414
- "line": 66,
390
+ "line": 65,
415
391
  "character": 5
416
392
  },
417
393
  "signature": "(property) deleteFiles?: boolean | undefined",
@@ -420,7 +396,7 @@
420
396
  "__schema": "KeywordTypeSchema",
421
397
  "location": {
422
398
  "filePath": "remove.main.runtime.ts",
423
- "line": 66,
399
+ "line": 65,
424
400
  "character": 19
425
401
  },
426
402
  "name": "boolean"
@@ -435,7 +411,7 @@
435
411
  "__schema": "TypeRefSchema",
436
412
  "location": {
437
413
  "filePath": "remove.main.runtime.ts",
438
- "line": 67,
414
+ "line": 66,
439
415
  "character": 7
440
416
  },
441
417
  "name": "Promise",
@@ -444,11 +420,10 @@
444
420
  "__schema": "TypeRefSchema",
445
421
  "location": {
446
422
  "filePath": "remove.main.runtime.ts",
447
- "line": 67,
423
+ "line": 66,
448
424
  "character": 15
449
425
  },
450
- "name": "RemoveComponentsResult",
451
- "internalFilePath": "remove-components.ts"
426
+ "name": "RemoveComponentsResult"
452
427
  }
453
428
  ]
454
429
  },
@@ -460,14 +435,14 @@
460
435
  "__schema": "FunctionLikeSchema",
461
436
  "location": {
462
437
  "filePath": "remove.main.runtime.ts",
463
- "line": 89,
438
+ "line": 88,
464
439
  "character": 3
465
440
  },
466
441
  "doc": {
467
442
  "__schema": "DocSchema",
468
443
  "location": {
469
444
  "filePath": "remove.main.runtime.ts",
470
- "line": 86,
445
+ "line": 85,
471
446
  "character": 3
472
447
  },
473
448
  "raw": "/**\n * remove components from the workspace.\n */",
@@ -481,7 +456,7 @@
481
456
  "__schema": "ParameterSchema",
482
457
  "location": {
483
458
  "filePath": "remove.main.runtime.ts",
484
- "line": 90,
459
+ "line": 89,
485
460
  "character": 5
486
461
  },
487
462
  "name": "ids",
@@ -489,22 +464,17 @@
489
464
  "__schema": "TypeArraySchema",
490
465
  "location": {
491
466
  "filePath": "remove.main.runtime.ts",
492
- "line": 90,
467
+ "line": 89,
493
468
  "character": 10
494
469
  },
495
470
  "type": {
496
471
  "__schema": "TypeRefSchema",
497
472
  "location": {
498
473
  "filePath": "remove.main.runtime.ts",
499
- "line": 90,
474
+ "line": 89,
500
475
  "character": 10
501
476
  },
502
- "name": "ComponentID",
503
- "componentId": {
504
- "scope": "teambit.component",
505
- "name": "component-id",
506
- "version": "1.2.0"
507
- }
477
+ "name": "ComponentID"
508
478
  }
509
479
  },
510
480
  "isOptional": false,
@@ -514,7 +484,7 @@
514
484
  "__schema": "ParameterSchema",
515
485
  "location": {
516
486
  "filePath": "remove.main.runtime.ts",
517
- "line": 91,
487
+ "line": 90,
518
488
  "character": 5
519
489
  },
520
490
  "name": "{ force = false, reasonForRemoval }",
@@ -522,7 +492,7 @@
522
492
  "__schema": "TypeLiteralSchema",
523
493
  "location": {
524
494
  "filePath": "remove.main.runtime.ts",
525
- "line": 91,
495
+ "line": 90,
526
496
  "character": 42
527
497
  },
528
498
  "members": [
@@ -530,7 +500,7 @@
530
500
  "__schema": "VariableLikeSchema",
531
501
  "location": {
532
502
  "filePath": "remove.main.runtime.ts",
533
- "line": 91,
503
+ "line": 90,
534
504
  "character": 44
535
505
  },
536
506
  "signature": "(property) force?: boolean | undefined",
@@ -539,7 +509,7 @@
539
509
  "__schema": "KeywordTypeSchema",
540
510
  "location": {
541
511
  "filePath": "remove.main.runtime.ts",
542
- "line": 91,
512
+ "line": 90,
543
513
  "character": 52
544
514
  },
545
515
  "name": "boolean"
@@ -550,7 +520,7 @@
550
520
  "__schema": "VariableLikeSchema",
551
521
  "location": {
552
522
  "filePath": "remove.main.runtime.ts",
553
- "line": 91,
523
+ "line": 90,
554
524
  "character": 61
555
525
  },
556
526
  "signature": "(property) reasonForRemoval?: string | undefined",
@@ -559,7 +529,7 @@
559
529
  "__schema": "KeywordTypeSchema",
560
530
  "location": {
561
531
  "filePath": "remove.main.runtime.ts",
562
- "line": 91,
532
+ "line": 90,
563
533
  "character": 80
564
534
  },
565
535
  "name": "string"
@@ -575,7 +545,7 @@
575
545
  "__schema": "VariableLikeSchema",
576
546
  "location": {
577
547
  "filePath": "remove.main.runtime.ts",
578
- "line": 91,
548
+ "line": 90,
579
549
  "character": 44
580
550
  },
581
551
  "signature": "(property) force?: boolean | undefined",
@@ -584,7 +554,7 @@
584
554
  "__schema": "KeywordTypeSchema",
585
555
  "location": {
586
556
  "filePath": "remove.main.runtime.ts",
587
- "line": 91,
557
+ "line": 90,
588
558
  "character": 52
589
559
  },
590
560
  "name": "boolean"
@@ -595,7 +565,7 @@
595
565
  "__schema": "VariableLikeSchema",
596
566
  "location": {
597
567
  "filePath": "remove.main.runtime.ts",
598
- "line": 91,
568
+ "line": 90,
599
569
  "character": 61
600
570
  },
601
571
  "signature": "(property) reasonForRemoval?: string | undefined",
@@ -604,7 +574,7 @@
604
574
  "__schema": "KeywordTypeSchema",
605
575
  "location": {
606
576
  "filePath": "remove.main.runtime.ts",
607
- "line": 91,
577
+ "line": 90,
608
578
  "character": 80
609
579
  },
610
580
  "name": "string"
@@ -619,7 +589,7 @@
619
589
  "__schema": "InferenceTypeSchema",
620
590
  "location": {
621
591
  "filePath": "remove.main.runtime.ts",
622
- "line": 89,
592
+ "line": 88,
623
593
  "character": 3
624
594
  },
625
595
  "type": "Promise<RemoveComponentsResult>"
@@ -632,7 +602,7 @@
632
602
  "__schema": "FunctionLikeSchema",
633
603
  "location": {
634
604
  "filePath": "remove.main.runtime.ts",
635
- "line": 132,
605
+ "line": 131,
636
606
  "character": 3
637
607
  },
638
608
  "signature": "(method) RemoveMain.deleteComps(componentsPattern: string, opts?: DeleteOpts): Promise<Component[]>",
@@ -642,7 +612,7 @@
642
612
  "__schema": "ParameterSchema",
643
613
  "location": {
644
614
  "filePath": "remove.main.runtime.ts",
645
- "line": 132,
615
+ "line": 131,
646
616
  "character": 21
647
617
  },
648
618
  "name": "componentsPattern",
@@ -650,7 +620,7 @@
650
620
  "__schema": "KeywordTypeSchema",
651
621
  "location": {
652
622
  "filePath": "remove.main.runtime.ts",
653
- "line": 132,
623
+ "line": 131,
654
624
  "character": 40
655
625
  },
656
626
  "name": "string"
@@ -662,7 +632,7 @@
662
632
  "__schema": "ParameterSchema",
663
633
  "location": {
664
634
  "filePath": "remove.main.runtime.ts",
665
- "line": 132,
635
+ "line": 131,
666
636
  "character": 48
667
637
  },
668
638
  "name": "opts",
@@ -670,11 +640,10 @@
670
640
  "__schema": "TypeRefSchema",
671
641
  "location": {
672
642
  "filePath": "remove.main.runtime.ts",
673
- "line": 132,
643
+ "line": 131,
674
644
  "character": 54
675
645
  },
676
- "name": "DeleteOpts",
677
- "internalFilePath": "remove.main.runtime.ts"
646
+ "name": "DeleteOpts"
678
647
  },
679
648
  "isOptional": true,
680
649
  "defaultValue": "{}",
@@ -685,7 +654,7 @@
685
654
  "__schema": "TypeRefSchema",
686
655
  "location": {
687
656
  "filePath": "remove.main.runtime.ts",
688
- "line": 132,
657
+ "line": 131,
689
658
  "character": 72
690
659
  },
691
660
  "name": "Promise",
@@ -694,21 +663,17 @@
694
663
  "__schema": "TypeArraySchema",
695
664
  "location": {
696
665
  "filePath": "remove.main.runtime.ts",
697
- "line": 132,
666
+ "line": 131,
698
667
  "character": 80
699
668
  },
700
669
  "type": {
701
670
  "__schema": "TypeRefSchema",
702
671
  "location": {
703
672
  "filePath": "remove.main.runtime.ts",
704
- "line": 132,
673
+ "line": 131,
705
674
  "character": 80
706
675
  },
707
- "name": "Component",
708
- "componentId": {
709
- "scope": "teambit.component",
710
- "name": "component"
711
- }
676
+ "name": "Component"
712
677
  }
713
678
  }
714
679
  ]
@@ -721,14 +686,14 @@
721
686
  "__schema": "FunctionLikeSchema",
722
687
  "location": {
723
688
  "filePath": "remove.main.runtime.ts",
724
- "line": 180,
689
+ "line": 179,
725
690
  "character": 3
726
691
  },
727
692
  "doc": {
728
693
  "__schema": "DocSchema",
729
694
  "location": {
730
695
  "filePath": "remove.main.runtime.ts",
731
- "line": 168,
696
+ "line": 167,
732
697
  "character": 3
733
698
  },
734
699
  "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 */",
@@ -742,7 +707,7 @@
742
707
  "__schema": "ParameterSchema",
743
708
  "location": {
744
709
  "filePath": "remove.main.runtime.ts",
745
- "line": 180,
710
+ "line": 179,
746
711
  "character": 17
747
712
  },
748
713
  "name": "compIdStr",
@@ -750,7 +715,7 @@
750
715
  "__schema": "KeywordTypeSchema",
751
716
  "location": {
752
717
  "filePath": "remove.main.runtime.ts",
753
- "line": 180,
718
+ "line": 179,
754
719
  "character": 28
755
720
  },
756
721
  "name": "string"
@@ -762,7 +727,7 @@
762
727
  "__schema": "ParameterSchema",
763
728
  "location": {
764
729
  "filePath": "remove.main.runtime.ts",
765
- "line": 180,
730
+ "line": 179,
766
731
  "character": 36
767
732
  },
768
733
  "name": "options",
@@ -770,11 +735,10 @@
770
735
  "__schema": "TypeRefSchema",
771
736
  "location": {
772
737
  "filePath": "remove.main.runtime.ts",
773
- "line": 180,
738
+ "line": 179,
774
739
  "character": 45
775
740
  },
776
- "name": "RecoverOptions",
777
- "internalFilePath": "recover-cmd.ts"
741
+ "name": "RecoverOptions"
778
742
  },
779
743
  "isOptional": false,
780
744
  "isSpread": false
@@ -784,7 +748,7 @@
784
748
  "__schema": "TypeRefSchema",
785
749
  "location": {
786
750
  "filePath": "remove.main.runtime.ts",
787
- "line": 180,
751
+ "line": 179,
788
752
  "character": 62
789
753
  },
790
754
  "name": "Promise",
@@ -793,7 +757,7 @@
793
757
  "__schema": "KeywordTypeSchema",
794
758
  "location": {
795
759
  "filePath": "remove.main.runtime.ts",
796
- "line": 180,
760
+ "line": 179,
797
761
  "character": 70
798
762
  },
799
763
  "name": "boolean"
@@ -808,7 +772,7 @@
808
772
  "__schema": "FunctionLikeSchema",
809
773
  "location": {
810
774
  "filePath": "remove.main.runtime.ts",
811
- "line": 266,
775
+ "line": 265,
812
776
  "character": 3
813
777
  },
814
778
  "signature": "(method) RemoveMain.getRemoveInfo(component: Component): Promise<RemoveInfo>",
@@ -818,7 +782,7 @@
818
782
  "__schema": "ParameterSchema",
819
783
  "location": {
820
784
  "filePath": "remove.main.runtime.ts",
821
- "line": 266,
785
+ "line": 265,
822
786
  "character": 23
823
787
  },
824
788
  "name": "component",
@@ -826,14 +790,10 @@
826
790
  "__schema": "TypeRefSchema",
827
791
  "location": {
828
792
  "filePath": "remove.main.runtime.ts",
829
- "line": 266,
793
+ "line": 265,
830
794
  "character": 34
831
795
  },
832
- "name": "Component",
833
- "componentId": {
834
- "scope": "teambit.component",
835
- "name": "component"
836
- }
796
+ "name": "Component"
837
797
  },
838
798
  "isOptional": false,
839
799
  "isSpread": false
@@ -843,7 +803,7 @@
843
803
  "__schema": "TypeRefSchema",
844
804
  "location": {
845
805
  "filePath": "remove.main.runtime.ts",
846
- "line": 266,
806
+ "line": 265,
847
807
  "character": 46
848
808
  },
849
809
  "name": "Promise",
@@ -852,7 +812,7 @@
852
812
  "__schema": "TypeRefSchema",
853
813
  "location": {
854
814
  "filePath": "remove.main.runtime.ts",
855
- "line": 266,
815
+ "line": 265,
856
816
  "character": 54
857
817
  },
858
818
  "name": "RemoveInfo"
@@ -867,14 +827,14 @@
867
827
  "__schema": "FunctionLikeSchema",
868
828
  "location": {
869
829
  "filePath": "remove.main.runtime.ts",
870
- "line": 301,
830
+ "line": 300,
871
831
  "character": 3
872
832
  },
873
833
  "doc": {
874
834
  "__schema": "DocSchema",
875
835
  "location": {
876
836
  "filePath": "remove.main.runtime.ts",
877
- "line": 298,
837
+ "line": 297,
878
838
  "character": 3
879
839
  },
880
840
  "raw": "/**\n * @deprecated use `isDeleted` instead.\n */",
@@ -884,7 +844,7 @@
884
844
  "__schema": "TagSchema",
885
845
  "location": {
886
846
  "filePath": "remove.main.runtime.ts",
887
- "line": 299,
847
+ "line": 298,
888
848
  "character": 6
889
849
  },
890
850
  "tagName": "deprecated",
@@ -899,7 +859,7 @@
899
859
  "__schema": "ParameterSchema",
900
860
  "location": {
901
861
  "filePath": "remove.main.runtime.ts",
902
- "line": 301,
862
+ "line": 300,
903
863
  "character": 19
904
864
  },
905
865
  "name": "component",
@@ -907,14 +867,10 @@
907
867
  "__schema": "TypeRefSchema",
908
868
  "location": {
909
869
  "filePath": "remove.main.runtime.ts",
910
- "line": 301,
870
+ "line": 300,
911
871
  "character": 30
912
872
  },
913
- "name": "Component",
914
- "componentId": {
915
- "scope": "teambit.component",
916
- "name": "component"
917
- }
873
+ "name": "Component"
918
874
  },
919
875
  "isOptional": false,
920
876
  "isSpread": false
@@ -924,7 +880,7 @@
924
880
  "__schema": "TypeRefSchema",
925
881
  "location": {
926
882
  "filePath": "remove.main.runtime.ts",
927
- "line": 301,
883
+ "line": 300,
928
884
  "character": 42
929
885
  },
930
886
  "name": "Promise",
@@ -933,7 +889,7 @@
933
889
  "__schema": "KeywordTypeSchema",
934
890
  "location": {
935
891
  "filePath": "remove.main.runtime.ts",
936
- "line": 301,
892
+ "line": 300,
937
893
  "character": 50
938
894
  },
939
895
  "name": "boolean"
@@ -948,14 +904,14 @@
948
904
  "__schema": "FunctionLikeSchema",
949
905
  "location": {
950
906
  "filePath": "remove.main.runtime.ts",
951
- "line": 308,
907
+ "line": 307,
952
908
  "character": 3
953
909
  },
954
910
  "doc": {
955
911
  "__schema": "DocSchema",
956
912
  "location": {
957
913
  "filePath": "remove.main.runtime.ts",
958
- "line": 305,
914
+ "line": 304,
959
915
  "character": 3
960
916
  },
961
917
  "raw": "/**\n * whether a component is marked as deleted.\n */",
@@ -969,7 +925,7 @@
969
925
  "__schema": "ParameterSchema",
970
926
  "location": {
971
927
  "filePath": "remove.main.runtime.ts",
972
- "line": 308,
928
+ "line": 307,
973
929
  "character": 19
974
930
  },
975
931
  "name": "component",
@@ -977,14 +933,10 @@
977
933
  "__schema": "TypeRefSchema",
978
934
  "location": {
979
935
  "filePath": "remove.main.runtime.ts",
980
- "line": 308,
936
+ "line": 307,
981
937
  "character": 30
982
938
  },
983
- "name": "Component",
984
- "componentId": {
985
- "scope": "teambit.component",
986
- "name": "component"
987
- }
939
+ "name": "Component"
988
940
  },
989
941
  "isOptional": false,
990
942
  "isSpread": false
@@ -994,7 +946,7 @@
994
946
  "__schema": "TypeRefSchema",
995
947
  "location": {
996
948
  "filePath": "remove.main.runtime.ts",
997
- "line": 308,
949
+ "line": 307,
998
950
  "character": 42
999
951
  },
1000
952
  "name": "Promise",
@@ -1003,7 +955,7 @@
1003
955
  "__schema": "KeywordTypeSchema",
1004
956
  "location": {
1005
957
  "filePath": "remove.main.runtime.ts",
1006
- "line": 308,
958
+ "line": 307,
1007
959
  "character": 50
1008
960
  },
1009
961
  "name": "boolean"
@@ -1018,14 +970,14 @@
1018
970
  "__schema": "FunctionLikeSchema",
1019
971
  "location": {
1020
972
  "filePath": "remove.main.runtime.ts",
1021
- "line": 316,
973
+ "line": 315,
1022
974
  "character": 3
1023
975
  },
1024
976
  "doc": {
1025
977
  "__schema": "DocSchema",
1026
978
  "location": {
1027
979
  "filePath": "remove.main.runtime.ts",
1028
- "line": 313,
980
+ "line": 312,
1029
981
  "character": 3
1030
982
  },
1031
983
  "raw": "/**\n * performant version of isRemoved() in case the component object is not available and loading it is expensive.\n */",
@@ -1039,7 +991,7 @@
1039
991
  "__schema": "ParameterSchema",
1040
992
  "location": {
1041
993
  "filePath": "remove.main.runtime.ts",
1042
- "line": 316,
994
+ "line": 315,
1043
995
  "character": 46
1044
996
  },
1045
997
  "name": "componentId",
@@ -1047,15 +999,10 @@
1047
999
  "__schema": "TypeRefSchema",
1048
1000
  "location": {
1049
1001
  "filePath": "remove.main.runtime.ts",
1050
- "line": 316,
1002
+ "line": 315,
1051
1003
  "character": 59
1052
1004
  },
1053
- "name": "ComponentID",
1054
- "componentId": {
1055
- "scope": "teambit.component",
1056
- "name": "component-id",
1057
- "version": "1.2.0"
1058
- }
1005
+ "name": "ComponentID"
1059
1006
  },
1060
1007
  "isOptional": false,
1061
1008
  "isSpread": false
@@ -1065,7 +1012,7 @@
1065
1012
  "__schema": "TypeRefSchema",
1066
1013
  "location": {
1067
1014
  "filePath": "remove.main.runtime.ts",
1068
- "line": 316,
1015
+ "line": 315,
1069
1016
  "character": 73
1070
1017
  },
1071
1018
  "name": "Promise",
@@ -1074,7 +1021,7 @@
1074
1021
  "__schema": "KeywordTypeSchema",
1075
1022
  "location": {
1076
1023
  "filePath": "remove.main.runtime.ts",
1077
- "line": 316,
1024
+ "line": 315,
1078
1025
  "character": 81
1079
1026
  },
1080
1027
  "name": "boolean"
@@ -1089,7 +1036,7 @@
1089
1036
  "__schema": "FunctionLikeSchema",
1090
1037
  "location": {
1091
1038
  "filePath": "remove.main.runtime.ts",
1092
- "line": 330,
1039
+ "line": 329,
1093
1040
  "character": 3
1094
1041
  },
1095
1042
  "signature": "(method) RemoveMain.isEnvByIdWithoutLoadingComponent(componentId: ComponentID): Promise<boolean>",
@@ -1099,7 +1046,7 @@
1099
1046
  "__schema": "ParameterSchema",
1100
1047
  "location": {
1101
1048
  "filePath": "remove.main.runtime.ts",
1102
- "line": 330,
1049
+ "line": 329,
1103
1050
  "character": 42
1104
1051
  },
1105
1052
  "name": "componentId",
@@ -1107,15 +1054,10 @@
1107
1054
  "__schema": "TypeRefSchema",
1108
1055
  "location": {
1109
1056
  "filePath": "remove.main.runtime.ts",
1110
- "line": 330,
1057
+ "line": 329,
1111
1058
  "character": 55
1112
1059
  },
1113
- "name": "ComponentID",
1114
- "componentId": {
1115
- "scope": "teambit.component",
1116
- "name": "component-id",
1117
- "version": "1.2.0"
1118
- }
1060
+ "name": "ComponentID"
1119
1061
  },
1120
1062
  "isOptional": false,
1121
1063
  "isSpread": false
@@ -1125,7 +1067,7 @@
1125
1067
  "__schema": "TypeRefSchema",
1126
1068
  "location": {
1127
1069
  "filePath": "remove.main.runtime.ts",
1128
- "line": 330,
1070
+ "line": 329,
1129
1071
  "character": 69
1130
1072
  },
1131
1073
  "name": "Promise",
@@ -1134,7 +1076,7 @@
1134
1076
  "__schema": "KeywordTypeSchema",
1135
1077
  "location": {
1136
1078
  "filePath": "remove.main.runtime.ts",
1137
- "line": 330,
1079
+ "line": 329,
1138
1080
  "character": 77
1139
1081
  },
1140
1082
  "name": "boolean"
@@ -1149,14 +1091,14 @@
1149
1091
  "__schema": "FunctionLikeSchema",
1150
1092
  "location": {
1151
1093
  "filePath": "remove.main.runtime.ts",
1152
- "line": 339,
1094
+ "line": 338,
1153
1095
  "character": 3
1154
1096
  },
1155
1097
  "doc": {
1156
1098
  "__schema": "DocSchema",
1157
1099
  "location": {
1158
1100
  "filePath": "remove.main.runtime.ts",
1159
- "line": 336,
1101
+ "line": 335,
1160
1102
  "character": 3
1161
1103
  },
1162
1104
  "raw": "/**\n * get components that were soft-removed and tagged/snapped/merged but not exported yet.\n */",
@@ -1170,7 +1112,7 @@
1170
1112
  "__schema": "TypeRefSchema",
1171
1113
  "location": {
1172
1114
  "filePath": "remove.main.runtime.ts",
1173
- "line": 339,
1115
+ "line": 338,
1174
1116
  "character": 29
1175
1117
  },
1176
1118
  "name": "Promise",
@@ -1179,22 +1121,17 @@
1179
1121
  "__schema": "TypeArraySchema",
1180
1122
  "location": {
1181
1123
  "filePath": "remove.main.runtime.ts",
1182
- "line": 339,
1124
+ "line": 338,
1183
1125
  "character": 37
1184
1126
  },
1185
1127
  "type": {
1186
1128
  "__schema": "TypeRefSchema",
1187
1129
  "location": {
1188
1130
  "filePath": "remove.main.runtime.ts",
1189
- "line": 339,
1131
+ "line": 338,
1190
1132
  "character": 37
1191
1133
  },
1192
- "name": "ComponentID",
1193
- "componentId": {
1194
- "scope": "teambit.component",
1195
- "name": "component-id",
1196
- "version": "1.2.0"
1197
- }
1134
+ "name": "ComponentID"
1198
1135
  }
1199
1136
  }
1200
1137
  ]
@@ -1207,7 +1144,7 @@
1207
1144
  "__schema": "FunctionLikeSchema",
1208
1145
  "location": {
1209
1146
  "filePath": "remove.main.runtime.ts",
1210
- "line": 343,
1147
+ "line": 342,
1211
1148
  "character": 3
1212
1149
  },
1213
1150
  "signature": "(method) RemoveMain.addRemovedDependenciesIssues(components: Component[]): Promise<void>",
@@ -1217,7 +1154,7 @@
1217
1154
  "__schema": "ParameterSchema",
1218
1155
  "location": {
1219
1156
  "filePath": "remove.main.runtime.ts",
1220
- "line": 343,
1157
+ "line": 342,
1221
1158
  "character": 38
1222
1159
  },
1223
1160
  "name": "components",
@@ -1225,21 +1162,17 @@
1225
1162
  "__schema": "TypeArraySchema",
1226
1163
  "location": {
1227
1164
  "filePath": "remove.main.runtime.ts",
1228
- "line": 343,
1165
+ "line": 342,
1229
1166
  "character": 50
1230
1167
  },
1231
1168
  "type": {
1232
1169
  "__schema": "TypeRefSchema",
1233
1170
  "location": {
1234
1171
  "filePath": "remove.main.runtime.ts",
1235
- "line": 343,
1172
+ "line": 342,
1236
1173
  "character": 50
1237
1174
  },
1238
- "name": "Component",
1239
- "componentId": {
1240
- "scope": "teambit.component",
1241
- "name": "component"
1242
- }
1175
+ "name": "Component"
1243
1176
  }
1244
1177
  },
1245
1178
  "isOptional": false,
@@ -1250,7 +1183,7 @@
1250
1183
  "__schema": "InferenceTypeSchema",
1251
1184
  "location": {
1252
1185
  "filePath": "remove.main.runtime.ts",
1253
- "line": 343,
1186
+ "line": 342,
1254
1187
  "character": 3
1255
1188
  },
1256
1189
  "type": "Promise<void>"
@@ -1263,7 +1196,7 @@
1263
1196
  "__schema": "VariableLikeSchema",
1264
1197
  "location": {
1265
1198
  "filePath": "remove.main.runtime.ts",
1266
- "line": 423,
1199
+ "line": 422,
1267
1200
  "character": 3
1268
1201
  },
1269
1202
  "signature": "(property) RemoveMain.slots: never[]",
@@ -1272,7 +1205,7 @@
1272
1205
  "__schema": "InferenceTypeSchema",
1273
1206
  "location": {
1274
1207
  "filePath": "remove.main.runtime.ts",
1275
- "line": 423,
1208
+ "line": 422,
1276
1209
  "character": 3
1277
1210
  },
1278
1211
  "type": "never[]"
@@ -1284,7 +1217,7 @@
1284
1217
  "__schema": "VariableLikeSchema",
1285
1218
  "location": {
1286
1219
  "filePath": "remove.main.runtime.ts",
1287
- "line": 424,
1220
+ "line": 423,
1288
1221
  "character": 3
1289
1222
  },
1290
1223
  "signature": "(property) RemoveMain.dependencies: Aspect[]",
@@ -1293,7 +1226,7 @@
1293
1226
  "__schema": "InferenceTypeSchema",
1294
1227
  "location": {
1295
1228
  "filePath": "remove.main.runtime.ts",
1296
- "line": 424,
1229
+ "line": 423,
1297
1230
  "character": 3
1298
1231
  },
1299
1232
  "type": "Aspect[]"
@@ -1305,7 +1238,7 @@
1305
1238
  "__schema": "VariableLikeSchema",
1306
1239
  "location": {
1307
1240
  "filePath": "remove.main.runtime.ts",
1308
- "line": 435,
1241
+ "line": 434,
1309
1242
  "character": 3
1310
1243
  },
1311
1244
  "signature": "(property) RemoveMain.runtime: RuntimeDefinition",
@@ -1314,7 +1247,7 @@
1314
1247
  "__schema": "InferenceTypeSchema",
1315
1248
  "location": {
1316
1249
  "filePath": "remove.main.runtime.ts",
1317
- "line": 435,
1250
+ "line": 434,
1318
1251
  "character": 3
1319
1252
  },
1320
1253
  "type": "RuntimeDefinition"
@@ -1326,7 +1259,7 @@
1326
1259
  "__schema": "FunctionLikeSchema",
1327
1260
  "location": {
1328
1261
  "filePath": "remove.main.runtime.ts",
1329
- "line": 437,
1262
+ "line": 436,
1330
1263
  "character": 3
1331
1264
  },
1332
1265
  "signature": "(method) RemoveMain.provider([workspace, scope, cli, loggerMain, componentAspect, importerMain, depResolver, issues, lister,]: [\n Workspace,\n ScopeMain,\n CLIMain,\n LoggerMain,\n ComponentMain,\n ImporterMain,\n DependencyResolverMain,\n IssuesMain,\n ListerMain\n]): Promise<RemoveMain>",
@@ -1336,7 +1269,7 @@
1336
1269
  "__schema": "ParameterSchema",
1337
1270
  "location": {
1338
1271
  "filePath": "remove.main.runtime.ts",
1339
- "line": 437,
1272
+ "line": 436,
1340
1273
  "character": 25
1341
1274
  },
1342
1275
  "name": "[ workspace, scope, cli, loggerMain, componentAspect, importerMain, depResolver, issues, lister ]",
@@ -1344,10 +1277,19 @@
1344
1277
  "__schema": "TupleTypeSchema",
1345
1278
  "location": {
1346
1279
  "filePath": "remove.main.runtime.ts",
1347
- "line": 447,
1280
+ "line": 446,
1348
1281
  "character": 6
1349
1282
  },
1350
1283
  "elements": [
1284
+ {
1285
+ "__schema": "TypeRefSchema",
1286
+ "location": {
1287
+ "filePath": "remove.main.runtime.ts",
1288
+ "line": 447,
1289
+ "character": 5
1290
+ },
1291
+ "name": "Workspace"
1292
+ },
1351
1293
  {
1352
1294
  "__schema": "TypeRefSchema",
1353
1295
  "location": {
@@ -1355,11 +1297,7 @@
1355
1297
  "line": 448,
1356
1298
  "character": 5
1357
1299
  },
1358
- "name": "Workspace",
1359
- "componentId": {
1360
- "scope": "teambit.workspace",
1361
- "name": "workspace"
1362
- }
1300
+ "name": "ScopeMain"
1363
1301
  },
1364
1302
  {
1365
1303
  "__schema": "TypeRefSchema",
@@ -1368,11 +1306,7 @@
1368
1306
  "line": 449,
1369
1307
  "character": 5
1370
1308
  },
1371
- "name": "ScopeMain",
1372
- "componentId": {
1373
- "scope": "teambit.scope",
1374
- "name": "scope"
1375
- }
1309
+ "name": "CLIMain"
1376
1310
  },
1377
1311
  {
1378
1312
  "__schema": "TypeRefSchema",
@@ -1381,11 +1315,7 @@
1381
1315
  "line": 450,
1382
1316
  "character": 5
1383
1317
  },
1384
- "name": "CLIMain",
1385
- "componentId": {
1386
- "scope": "teambit.harmony",
1387
- "name": "cli"
1388
- }
1318
+ "name": "LoggerMain"
1389
1319
  },
1390
1320
  {
1391
1321
  "__schema": "TypeRefSchema",
@@ -1394,11 +1324,7 @@
1394
1324
  "line": 451,
1395
1325
  "character": 5
1396
1326
  },
1397
- "name": "LoggerMain",
1398
- "componentId": {
1399
- "scope": "teambit.harmony",
1400
- "name": "logger"
1401
- }
1327
+ "name": "ComponentMain"
1402
1328
  },
1403
1329
  {
1404
1330
  "__schema": "TypeRefSchema",
@@ -1407,11 +1333,7 @@
1407
1333
  "line": 452,
1408
1334
  "character": 5
1409
1335
  },
1410
- "name": "ComponentMain",
1411
- "componentId": {
1412
- "scope": "teambit.component",
1413
- "name": "component"
1414
- }
1336
+ "name": "ImporterMain"
1415
1337
  },
1416
1338
  {
1417
1339
  "__schema": "TypeRefSchema",
@@ -1420,11 +1342,7 @@
1420
1342
  "line": 453,
1421
1343
  "character": 5
1422
1344
  },
1423
- "name": "ImporterMain",
1424
- "componentId": {
1425
- "scope": "teambit.scope",
1426
- "name": "importer"
1427
- }
1345
+ "name": "DependencyResolverMain"
1428
1346
  },
1429
1347
  {
1430
1348
  "__schema": "TypeRefSchema",
@@ -1433,11 +1351,7 @@
1433
1351
  "line": 454,
1434
1352
  "character": 5
1435
1353
  },
1436
- "name": "DependencyResolverMain",
1437
- "componentId": {
1438
- "scope": "teambit.dependencies",
1439
- "name": "dependency-resolver"
1440
- }
1354
+ "name": "IssuesMain"
1441
1355
  },
1442
1356
  {
1443
1357
  "__schema": "TypeRefSchema",
@@ -1446,24 +1360,7 @@
1446
1360
  "line": 455,
1447
1361
  "character": 5
1448
1362
  },
1449
- "name": "IssuesMain",
1450
- "componentId": {
1451
- "scope": "teambit.component",
1452
- "name": "issues"
1453
- }
1454
- },
1455
- {
1456
- "__schema": "TypeRefSchema",
1457
- "location": {
1458
- "filePath": "remove.main.runtime.ts",
1459
- "line": 456,
1460
- "character": 5
1461
- },
1462
- "name": "ListerMain",
1463
- "componentId": {
1464
- "scope": "teambit.component",
1465
- "name": "lister"
1466
- }
1363
+ "name": "ListerMain"
1467
1364
  }
1468
1365
  ]
1469
1366
  },
@@ -1475,7 +1372,7 @@
1475
1372
  "__schema": "InferenceTypeSchema",
1476
1373
  "location": {
1477
1374
  "filePath": "remove.main.runtime.ts",
1478
- "line": 437,
1375
+ "line": 436,
1479
1376
  "character": 3
1480
1377
  },
1481
1378
  "type": "Promise<RemoveMain>"
@@ -1502,7 +1399,7 @@
1502
1399
  "__schema": "TypeSchema",
1503
1400
  "location": {
1504
1401
  "filePath": "remove.main.runtime.ts",
1505
- "line": 31,
1402
+ "line": 30,
1506
1403
  "character": 1
1507
1404
  },
1508
1405
  "signature": "type RemoveInfo = {\n removed: boolean;\n removeOnMain?: boolean | undefined;\n range?: string | undefined;\n}",
@@ -1511,7 +1408,7 @@
1511
1408
  "__schema": "TypeLiteralSchema",
1512
1409
  "location": {
1513
1410
  "filePath": "remove.main.runtime.ts",
1514
- "line": 31,
1411
+ "line": 30,
1515
1412
  "character": 26
1516
1413
  },
1517
1414
  "members": [
@@ -1519,7 +1416,7 @@
1519
1416
  "__schema": "VariableLikeSchema",
1520
1417
  "location": {
1521
1418
  "filePath": "remove.main.runtime.ts",
1522
- "line": 32,
1419
+ "line": 31,
1523
1420
  "character": 3
1524
1421
  },
1525
1422
  "signature": "(property) removed: boolean",
@@ -1528,7 +1425,7 @@
1528
1425
  "__schema": "KeywordTypeSchema",
1529
1426
  "location": {
1530
1427
  "filePath": "remove.main.runtime.ts",
1531
- "line": 32,
1428
+ "line": 31,
1532
1429
  "character": 12
1533
1430
  },
1534
1431
  "name": "boolean"
@@ -1539,14 +1436,14 @@
1539
1436
  "__schema": "VariableLikeSchema",
1540
1437
  "location": {
1541
1438
  "filePath": "remove.main.runtime.ts",
1542
- "line": 36,
1439
+ "line": 35,
1543
1440
  "character": 3
1544
1441
  },
1545
1442
  "doc": {
1546
1443
  "__schema": "DocSchema",
1547
1444
  "location": {
1548
1445
  "filePath": "remove.main.runtime.ts",
1549
- "line": 33,
1446
+ "line": 32,
1550
1447
  "character": 3
1551
1448
  },
1552
1449
  "raw": "/**\n * whether to remove the component from default lane once merged\n */",
@@ -1559,7 +1456,7 @@
1559
1456
  "__schema": "KeywordTypeSchema",
1560
1457
  "location": {
1561
1458
  "filePath": "remove.main.runtime.ts",
1562
- "line": 36,
1459
+ "line": 35,
1563
1460
  "character": 18
1564
1461
  },
1565
1462
  "name": "boolean"
@@ -1570,14 +1467,14 @@
1570
1467
  "__schema": "VariableLikeSchema",
1571
1468
  "location": {
1572
1469
  "filePath": "remove.main.runtime.ts",
1573
- "line": 40,
1470
+ "line": 39,
1574
1471
  "character": 3
1575
1472
  },
1576
1473
  "doc": {
1577
1474
  "__schema": "DocSchema",
1578
1475
  "location": {
1579
1476
  "filePath": "remove.main.runtime.ts",
1580
- "line": 37,
1477
+ "line": 36,
1581
1478
  "character": 3
1582
1479
  },
1583
1480
  "raw": "/**\n * Semver range to mark specific versions as deleted\n */",
@@ -1590,7 +1487,7 @@
1590
1487
  "__schema": "KeywordTypeSchema",
1591
1488
  "location": {
1592
1489
  "filePath": "remove.main.runtime.ts",
1593
- "line": 40,
1490
+ "line": 39,
1594
1491
  "character": 11
1595
1492
  },
1596
1493
  "name": "string"
@@ -1669,12 +1566,7 @@
1669
1566
  "line": 7,
1670
1567
  "character": 27
1671
1568
  },
1672
- "name": "ComponentIdList",
1673
- "componentId": {
1674
- "scope": "teambit.component",
1675
- "name": "component-id",
1676
- "version": "1.2.0"
1677
- }
1569
+ "name": "ComponentIdList"
1678
1570
  },
1679
1571
  "isOptional": true,
1680
1572
  "isSpread": false
@@ -1694,12 +1586,7 @@
1694
1586
  "line": 8,
1695
1587
  "character": 25
1696
1588
  },
1697
- "name": "ComponentIdList",
1698
- "componentId": {
1699
- "scope": "teambit.component",
1700
- "name": "component-id",
1701
- "version": "1.2.0"
1702
- }
1589
+ "name": "ComponentIdList"
1703
1590
  },
1704
1591
  "isOptional": true,
1705
1592
  "isSpread": false
@@ -1719,12 +1606,7 @@
1719
1606
  "line": 9,
1720
1607
  "character": 26
1721
1608
  },
1722
- "name": "ComponentIdList",
1723
- "componentId": {
1724
- "scope": "teambit.component",
1725
- "name": "component-id",
1726
- "version": "1.2.0"
1727
- }
1609
+ "name": "ComponentIdList"
1728
1610
  },
1729
1611
  "isOptional": true,
1730
1612
  "isSpread": false
@@ -1784,12 +1666,7 @@
1784
1666
  "line": 11,
1785
1667
  "character": 23
1786
1668
  },
1787
- "name": "ComponentIdList",
1788
- "componentId": {
1789
- "scope": "teambit.component",
1790
- "name": "component-id",
1791
- "version": "1.2.0"
1792
- }
1669
+ "name": "ComponentIdList"
1793
1670
  },
1794
1671
  "isOptional": true,
1795
1672
  "isSpread": false
@@ -1829,7 +1706,7 @@
1829
1706
  "_legacy": {
1830
1707
  "scope": "teambit.component",
1831
1708
  "name": "remove",
1832
- "version": "1.0.330"
1709
+ "version": "1.0.331"
1833
1710
  },
1834
1711
  "_scope": "teambit.component"
1835
1712
  }
@@ -1872,8 +1749,7 @@
1872
1749
  "line": 7,
1873
1750
  "character": 55
1874
1751
  },
1875
- "name": "Consumer",
1876
- "packageName": "@teambit/legacy/dist/consumer/consumer"
1752
+ "name": "Consumer"
1877
1753
  },
1878
1754
  "isOptional": false,
1879
1755
  "isSpread": false
@@ -1893,12 +1769,7 @@
1893
1769
  "line": 7,
1894
1770
  "character": 73
1895
1771
  },
1896
- "name": "ComponentIdList",
1897
- "componentId": {
1898
- "scope": "teambit.component",
1899
- "name": "component-id",
1900
- "version": "1.2.0"
1901
- }
1772
+ "name": "ComponentIdList"
1902
1773
  },
1903
1774
  "isOptional": false,
1904
1775
  "isSpread": false
@@ -2102,10 +1973,92 @@
2102
1973
  }
2103
1974
  },
2104
1975
  {
2105
- "__schema": "UnImplementedSchema",
1976
+ "__schema": "ExportSchema",
2106
1977
  "location": {
2107
1978
  "filePath": "index.ts",
2108
1979
  "line": 7,
1980
+ "character": 10
1981
+ },
1982
+ "name": "removeComponentsFromNodeModules",
1983
+ "exportNode": {
1984
+ "__schema": "FunctionLikeSchema",
1985
+ "location": {
1986
+ "filePath": "remove-components.ts",
1987
+ "line": 189,
1988
+ "character": 1
1989
+ },
1990
+ "signature": "function removeComponentsFromNodeModules(consumer: Consumer, components: ConsumerComponent[]): Promise<void[]>",
1991
+ "name": "removeComponentsFromNodeModules",
1992
+ "params": [
1993
+ {
1994
+ "__schema": "ParameterSchema",
1995
+ "location": {
1996
+ "filePath": "remove-components.ts",
1997
+ "line": 189,
1998
+ "character": 55
1999
+ },
2000
+ "name": "consumer",
2001
+ "type": {
2002
+ "__schema": "TypeRefSchema",
2003
+ "location": {
2004
+ "filePath": "remove-components.ts",
2005
+ "line": 189,
2006
+ "character": 65
2007
+ },
2008
+ "name": "Consumer"
2009
+ },
2010
+ "isOptional": false,
2011
+ "isSpread": false
2012
+ },
2013
+ {
2014
+ "__schema": "ParameterSchema",
2015
+ "location": {
2016
+ "filePath": "remove-components.ts",
2017
+ "line": 189,
2018
+ "character": 75
2019
+ },
2020
+ "name": "components",
2021
+ "type": {
2022
+ "__schema": "TypeArraySchema",
2023
+ "location": {
2024
+ "filePath": "remove-components.ts",
2025
+ "line": 189,
2026
+ "character": 87
2027
+ },
2028
+ "type": {
2029
+ "__schema": "TypeRefSchema",
2030
+ "location": {
2031
+ "filePath": "remove-components.ts",
2032
+ "line": 189,
2033
+ "character": 87
2034
+ },
2035
+ "name": "ConsumerComponent"
2036
+ }
2037
+ },
2038
+ "isOptional": false,
2039
+ "isSpread": false
2040
+ }
2041
+ ],
2042
+ "returnType": {
2043
+ "__schema": "InferenceTypeSchema",
2044
+ "location": {
2045
+ "filePath": "remove-components.ts",
2046
+ "line": 189,
2047
+ "character": 1
2048
+ },
2049
+ "type": "Promise<void[]>"
2050
+ },
2051
+ "modifiers": [
2052
+ "export",
2053
+ "async"
2054
+ ]
2055
+ }
2056
+ },
2057
+ {
2058
+ "__schema": "UnImplementedSchema",
2059
+ "location": {
2060
+ "filePath": "index.ts",
2061
+ "line": 8,
2109
2062
  "character": 16
2110
2063
  },
2111
2064
  "name": "RemoveAspect",
@@ -2115,7 +2068,7 @@
2115
2068
  "__schema": "ExportSchema",
2116
2069
  "location": {
2117
2070
  "filePath": "index.ts",
2118
- "line": 8,
2071
+ "line": 9,
2119
2072
  "character": 10
2120
2073
  },
2121
2074
  "name": "RemoveAspect",
@@ -2162,7 +2115,7 @@
2162
2115
  "__schema": "TypeSchema",
2163
2116
  "location": {
2164
2117
  "filePath": "remove.main.runtime.ts",
2165
- "line": 31,
2118
+ "line": 30,
2166
2119
  "character": 1
2167
2120
  },
2168
2121
  "signature": "type RemoveInfo = {\n removed: boolean;\n removeOnMain?: boolean | undefined;\n range?: string | undefined;\n}",
@@ -2171,7 +2124,7 @@
2171
2124
  "__schema": "TypeLiteralSchema",
2172
2125
  "location": {
2173
2126
  "filePath": "remove.main.runtime.ts",
2174
- "line": 31,
2127
+ "line": 30,
2175
2128
  "character": 26
2176
2129
  },
2177
2130
  "members": [
@@ -2179,7 +2132,7 @@
2179
2132
  "__schema": "VariableLikeSchema",
2180
2133
  "location": {
2181
2134
  "filePath": "remove.main.runtime.ts",
2182
- "line": 32,
2135
+ "line": 31,
2183
2136
  "character": 3
2184
2137
  },
2185
2138
  "signature": "(property) removed: boolean",
@@ -2188,7 +2141,7 @@
2188
2141
  "__schema": "KeywordTypeSchema",
2189
2142
  "location": {
2190
2143
  "filePath": "remove.main.runtime.ts",
2191
- "line": 32,
2144
+ "line": 31,
2192
2145
  "character": 12
2193
2146
  },
2194
2147
  "name": "boolean"
@@ -2199,14 +2152,14 @@
2199
2152
  "__schema": "VariableLikeSchema",
2200
2153
  "location": {
2201
2154
  "filePath": "remove.main.runtime.ts",
2202
- "line": 36,
2155
+ "line": 35,
2203
2156
  "character": 3
2204
2157
  },
2205
2158
  "doc": {
2206
2159
  "__schema": "DocSchema",
2207
2160
  "location": {
2208
2161
  "filePath": "remove.main.runtime.ts",
2209
- "line": 33,
2162
+ "line": 32,
2210
2163
  "character": 3
2211
2164
  },
2212
2165
  "raw": "/**\n * whether to remove the component from default lane once merged\n */",
@@ -2219,7 +2172,7 @@
2219
2172
  "__schema": "KeywordTypeSchema",
2220
2173
  "location": {
2221
2174
  "filePath": "remove.main.runtime.ts",
2222
- "line": 36,
2175
+ "line": 35,
2223
2176
  "character": 18
2224
2177
  },
2225
2178
  "name": "boolean"
@@ -2230,14 +2183,14 @@
2230
2183
  "__schema": "VariableLikeSchema",
2231
2184
  "location": {
2232
2185
  "filePath": "remove.main.runtime.ts",
2233
- "line": 40,
2186
+ "line": 39,
2234
2187
  "character": 3
2235
2188
  },
2236
2189
  "doc": {
2237
2190
  "__schema": "DocSchema",
2238
2191
  "location": {
2239
2192
  "filePath": "remove.main.runtime.ts",
2240
- "line": 37,
2193
+ "line": 36,
2241
2194
  "character": 3
2242
2195
  },
2243
2196
  "raw": "/**\n * Semver range to mark specific versions as deleted\n */",
@@ -2250,7 +2203,7 @@
2250
2203
  "__schema": "KeywordTypeSchema",
2251
2204
  "location": {
2252
2205
  "filePath": "remove.main.runtime.ts",
2253
- "line": 40,
2206
+ "line": 39,
2254
2207
  "character": 11
2255
2208
  },
2256
2209
  "name": "string"
@@ -2264,7 +2217,7 @@
2264
2217
  "__schema": "TypeSchema",
2265
2218
  "location": {
2266
2219
  "filePath": "remove.main.runtime.ts",
2267
- "line": 43,
2220
+ "line": 42,
2268
2221
  "character": 1
2269
2222
  },
2270
2223
  "signature": "type DeleteOpts = {\n updateMain?: boolean | undefined;\n range?: string | undefined;\n}",
@@ -2273,7 +2226,7 @@
2273
2226
  "__schema": "TypeLiteralSchema",
2274
2227
  "location": {
2275
2228
  "filePath": "remove.main.runtime.ts",
2276
- "line": 43,
2229
+ "line": 42,
2277
2230
  "character": 26
2278
2231
  },
2279
2232
  "members": [
@@ -2281,7 +2234,7 @@
2281
2234
  "__schema": "VariableLikeSchema",
2282
2235
  "location": {
2283
2236
  "filePath": "remove.main.runtime.ts",
2284
- "line": 43,
2237
+ "line": 42,
2285
2238
  "character": 28
2286
2239
  },
2287
2240
  "signature": "(property) updateMain?: boolean | undefined",
@@ -2290,7 +2243,7 @@
2290
2243
  "__schema": "KeywordTypeSchema",
2291
2244
  "location": {
2292
2245
  "filePath": "remove.main.runtime.ts",
2293
- "line": 43,
2246
+ "line": 42,
2294
2247
  "character": 41
2295
2248
  },
2296
2249
  "name": "boolean"
@@ -2301,7 +2254,7 @@
2301
2254
  "__schema": "VariableLikeSchema",
2302
2255
  "location": {
2303
2256
  "filePath": "remove.main.runtime.ts",
2304
- "line": 43,
2257
+ "line": 42,
2305
2258
  "character": 50
2306
2259
  },
2307
2260
  "signature": "(property) range?: string | undefined",
@@ -2310,7 +2263,7 @@
2310
2263
  "__schema": "KeywordTypeSchema",
2311
2264
  "location": {
2312
2265
  "filePath": "remove.main.runtime.ts",
2313
- "line": 43,
2266
+ "line": 42,
2314
2267
  "character": 58
2315
2268
  },
2316
2269
  "name": "string"
@@ -2324,7 +2277,7 @@
2324
2277
  "__schema": "ClassSchema",
2325
2278
  "location": {
2326
2279
  "filePath": "remove.main.runtime.ts",
2327
- "line": 45,
2280
+ "line": 44,
2328
2281
  "character": 1
2329
2282
  },
2330
2283
  "signature": "class RemoveMain",
@@ -2334,7 +2287,7 @@
2334
2287
  "__schema": "ConstructorSchema",
2335
2288
  "location": {
2336
2289
  "filePath": "remove.main.runtime.ts",
2337
- "line": 46,
2290
+ "line": 45,
2338
2291
  "character": 3
2339
2292
  },
2340
2293
  "signature": "constructor RemoveMain(workspace: Workspace, scope: ScopeMain, logger: Logger, importer: ImporterMain, depResolver: DependencyResolverMain, lister: ListerMain): RemoveMain",
@@ -2344,7 +2297,7 @@
2344
2297
  "__schema": "ParameterSchema",
2345
2298
  "location": {
2346
2299
  "filePath": "remove.main.runtime.ts",
2347
- "line": 47,
2300
+ "line": 46,
2348
2301
  "character": 5
2349
2302
  },
2350
2303
  "name": "workspace",
@@ -2352,14 +2305,10 @@
2352
2305
  "__schema": "TypeRefSchema",
2353
2306
  "location": {
2354
2307
  "filePath": "remove.main.runtime.ts",
2355
- "line": 47,
2308
+ "line": 46,
2356
2309
  "character": 24
2357
2310
  },
2358
- "name": "Workspace",
2359
- "componentId": {
2360
- "scope": "teambit.workspace",
2361
- "name": "workspace"
2362
- }
2311
+ "name": "Workspace"
2363
2312
  },
2364
2313
  "isOptional": false,
2365
2314
  "isSpread": false
@@ -2368,7 +2317,7 @@
2368
2317
  "__schema": "ParameterSchema",
2369
2318
  "location": {
2370
2319
  "filePath": "remove.main.runtime.ts",
2371
- "line": 48,
2320
+ "line": 47,
2372
2321
  "character": 5
2373
2322
  },
2374
2323
  "name": "scope",
@@ -2376,14 +2325,10 @@
2376
2325
  "__schema": "TypeRefSchema",
2377
2326
  "location": {
2378
2327
  "filePath": "remove.main.runtime.ts",
2379
- "line": 48,
2328
+ "line": 47,
2380
2329
  "character": 20
2381
2330
  },
2382
- "name": "ScopeMain",
2383
- "componentId": {
2384
- "scope": "teambit.scope",
2385
- "name": "scope"
2386
- }
2331
+ "name": "ScopeMain"
2387
2332
  },
2388
2333
  "isOptional": false,
2389
2334
  "isSpread": false
@@ -2392,7 +2337,7 @@
2392
2337
  "__schema": "ParameterSchema",
2393
2338
  "location": {
2394
2339
  "filePath": "remove.main.runtime.ts",
2395
- "line": 49,
2340
+ "line": 48,
2396
2341
  "character": 5
2397
2342
  },
2398
2343
  "name": "logger",
@@ -2400,14 +2345,10 @@
2400
2345
  "__schema": "TypeRefSchema",
2401
2346
  "location": {
2402
2347
  "filePath": "remove.main.runtime.ts",
2403
- "line": 49,
2348
+ "line": 48,
2404
2349
  "character": 20
2405
2350
  },
2406
- "name": "Logger",
2407
- "componentId": {
2408
- "scope": "teambit.harmony",
2409
- "name": "logger"
2410
- }
2351
+ "name": "Logger"
2411
2352
  },
2412
2353
  "isOptional": false,
2413
2354
  "isSpread": false
@@ -2416,7 +2357,7 @@
2416
2357
  "__schema": "ParameterSchema",
2417
2358
  "location": {
2418
2359
  "filePath": "remove.main.runtime.ts",
2419
- "line": 50,
2360
+ "line": 49,
2420
2361
  "character": 5
2421
2362
  },
2422
2363
  "name": "importer",
@@ -2424,14 +2365,10 @@
2424
2365
  "__schema": "TypeRefSchema",
2425
2366
  "location": {
2426
2367
  "filePath": "remove.main.runtime.ts",
2427
- "line": 50,
2368
+ "line": 49,
2428
2369
  "character": 23
2429
2370
  },
2430
- "name": "ImporterMain",
2431
- "componentId": {
2432
- "scope": "teambit.scope",
2433
- "name": "importer"
2434
- }
2371
+ "name": "ImporterMain"
2435
2372
  },
2436
2373
  "isOptional": false,
2437
2374
  "isSpread": false
@@ -2440,7 +2377,7 @@
2440
2377
  "__schema": "ParameterSchema",
2441
2378
  "location": {
2442
2379
  "filePath": "remove.main.runtime.ts",
2443
- "line": 51,
2380
+ "line": 50,
2444
2381
  "character": 5
2445
2382
  },
2446
2383
  "name": "depResolver",
@@ -2448,14 +2385,10 @@
2448
2385
  "__schema": "TypeRefSchema",
2449
2386
  "location": {
2450
2387
  "filePath": "remove.main.runtime.ts",
2451
- "line": 51,
2388
+ "line": 50,
2452
2389
  "character": 26
2453
2390
  },
2454
- "name": "DependencyResolverMain",
2455
- "componentId": {
2456
- "scope": "teambit.dependencies",
2457
- "name": "dependency-resolver"
2458
- }
2391
+ "name": "DependencyResolverMain"
2459
2392
  },
2460
2393
  "isOptional": false,
2461
2394
  "isSpread": false
@@ -2464,7 +2397,7 @@
2464
2397
  "__schema": "ParameterSchema",
2465
2398
  "location": {
2466
2399
  "filePath": "remove.main.runtime.ts",
2467
- "line": 52,
2400
+ "line": 51,
2468
2401
  "character": 5
2469
2402
  },
2470
2403
  "name": "lister",
@@ -2472,14 +2405,10 @@
2472
2405
  "__schema": "TypeRefSchema",
2473
2406
  "location": {
2474
2407
  "filePath": "remove.main.runtime.ts",
2475
- "line": 52,
2408
+ "line": 51,
2476
2409
  "character": 21
2477
2410
  },
2478
- "name": "ListerMain",
2479
- "componentId": {
2480
- "scope": "teambit.component",
2481
- "name": "lister"
2482
- }
2411
+ "name": "ListerMain"
2483
2412
  },
2484
2413
  "isOptional": false,
2485
2414
  "isSpread": false
@@ -2489,7 +2418,7 @@
2489
2418
  "__schema": "ThisTypeSchema",
2490
2419
  "location": {
2491
2420
  "filePath": "remove.main.runtime.ts",
2492
- "line": 45,
2421
+ "line": 44,
2493
2422
  "character": 1
2494
2423
  },
2495
2424
  "name": "RemoveMain"
@@ -2500,7 +2429,7 @@
2500
2429
  "__schema": "FunctionLikeSchema",
2501
2430
  "location": {
2502
2431
  "filePath": "remove.main.runtime.ts",
2503
- "line": 55,
2432
+ "line": 54,
2504
2433
  "character": 3
2505
2434
  },
2506
2435
  "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>",
@@ -2510,7 +2439,7 @@
2510
2439
  "__schema": "ParameterSchema",
2511
2440
  "location": {
2512
2441
  "filePath": "remove.main.runtime.ts",
2513
- "line": 55,
2442
+ "line": 54,
2514
2443
  "character": 16
2515
2444
  },
2516
2445
  "name": "{ componentsPattern, force = false, remote = false, track = false, deleteFiles = true }",
@@ -2518,7 +2447,7 @@
2518
2447
  "__schema": "TypeLiteralSchema",
2519
2448
  "location": {
2520
2449
  "filePath": "remove.main.runtime.ts",
2521
- "line": 61,
2450
+ "line": 60,
2522
2451
  "character": 6
2523
2452
  },
2524
2453
  "members": [
@@ -2526,7 +2455,7 @@
2526
2455
  "__schema": "VariableLikeSchema",
2527
2456
  "location": {
2528
2457
  "filePath": "remove.main.runtime.ts",
2529
- "line": 62,
2458
+ "line": 61,
2530
2459
  "character": 5
2531
2460
  },
2532
2461
  "signature": "(property) componentsPattern: string",
@@ -2535,7 +2464,7 @@
2535
2464
  "__schema": "KeywordTypeSchema",
2536
2465
  "location": {
2537
2466
  "filePath": "remove.main.runtime.ts",
2538
- "line": 62,
2467
+ "line": 61,
2539
2468
  "character": 24
2540
2469
  },
2541
2470
  "name": "string"
@@ -2546,7 +2475,7 @@
2546
2475
  "__schema": "VariableLikeSchema",
2547
2476
  "location": {
2548
2477
  "filePath": "remove.main.runtime.ts",
2549
- "line": 63,
2478
+ "line": 62,
2550
2479
  "character": 5
2551
2480
  },
2552
2481
  "signature": "(property) force?: boolean | undefined",
@@ -2555,7 +2484,7 @@
2555
2484
  "__schema": "KeywordTypeSchema",
2556
2485
  "location": {
2557
2486
  "filePath": "remove.main.runtime.ts",
2558
- "line": 63,
2487
+ "line": 62,
2559
2488
  "character": 13
2560
2489
  },
2561
2490
  "name": "boolean"
@@ -2566,7 +2495,7 @@
2566
2495
  "__schema": "VariableLikeSchema",
2567
2496
  "location": {
2568
2497
  "filePath": "remove.main.runtime.ts",
2569
- "line": 64,
2498
+ "line": 63,
2570
2499
  "character": 5
2571
2500
  },
2572
2501
  "signature": "(property) remote?: boolean | undefined",
@@ -2575,7 +2504,7 @@
2575
2504
  "__schema": "KeywordTypeSchema",
2576
2505
  "location": {
2577
2506
  "filePath": "remove.main.runtime.ts",
2578
- "line": 64,
2507
+ "line": 63,
2579
2508
  "character": 14
2580
2509
  },
2581
2510
  "name": "boolean"
@@ -2586,7 +2515,7 @@
2586
2515
  "__schema": "VariableLikeSchema",
2587
2516
  "location": {
2588
2517
  "filePath": "remove.main.runtime.ts",
2589
- "line": 65,
2518
+ "line": 64,
2590
2519
  "character": 5
2591
2520
  },
2592
2521
  "signature": "(property) track?: boolean | undefined",
@@ -2595,7 +2524,7 @@
2595
2524
  "__schema": "KeywordTypeSchema",
2596
2525
  "location": {
2597
2526
  "filePath": "remove.main.runtime.ts",
2598
- "line": 65,
2527
+ "line": 64,
2599
2528
  "character": 13
2600
2529
  },
2601
2530
  "name": "boolean"
@@ -2606,7 +2535,7 @@
2606
2535
  "__schema": "VariableLikeSchema",
2607
2536
  "location": {
2608
2537
  "filePath": "remove.main.runtime.ts",
2609
- "line": 66,
2538
+ "line": 65,
2610
2539
  "character": 5
2611
2540
  },
2612
2541
  "signature": "(property) deleteFiles?: boolean | undefined",
@@ -2615,7 +2544,7 @@
2615
2544
  "__schema": "KeywordTypeSchema",
2616
2545
  "location": {
2617
2546
  "filePath": "remove.main.runtime.ts",
2618
- "line": 66,
2547
+ "line": 65,
2619
2548
  "character": 19
2620
2549
  },
2621
2550
  "name": "boolean"
@@ -2630,7 +2559,7 @@
2630
2559
  "__schema": "VariableLikeSchema",
2631
2560
  "location": {
2632
2561
  "filePath": "remove.main.runtime.ts",
2633
- "line": 62,
2562
+ "line": 61,
2634
2563
  "character": 5
2635
2564
  },
2636
2565
  "signature": "(property) componentsPattern: string",
@@ -2639,7 +2568,7 @@
2639
2568
  "__schema": "KeywordTypeSchema",
2640
2569
  "location": {
2641
2570
  "filePath": "remove.main.runtime.ts",
2642
- "line": 62,
2571
+ "line": 61,
2643
2572
  "character": 24
2644
2573
  },
2645
2574
  "name": "string"
@@ -2650,7 +2579,7 @@
2650
2579
  "__schema": "VariableLikeSchema",
2651
2580
  "location": {
2652
2581
  "filePath": "remove.main.runtime.ts",
2653
- "line": 63,
2582
+ "line": 62,
2654
2583
  "character": 5
2655
2584
  },
2656
2585
  "signature": "(property) force?: boolean | undefined",
@@ -2659,7 +2588,7 @@
2659
2588
  "__schema": "KeywordTypeSchema",
2660
2589
  "location": {
2661
2590
  "filePath": "remove.main.runtime.ts",
2662
- "line": 63,
2591
+ "line": 62,
2663
2592
  "character": 13
2664
2593
  },
2665
2594
  "name": "boolean"
@@ -2670,7 +2599,7 @@
2670
2599
  "__schema": "VariableLikeSchema",
2671
2600
  "location": {
2672
2601
  "filePath": "remove.main.runtime.ts",
2673
- "line": 64,
2602
+ "line": 63,
2674
2603
  "character": 5
2675
2604
  },
2676
2605
  "signature": "(property) remote?: boolean | undefined",
@@ -2679,7 +2608,7 @@
2679
2608
  "__schema": "KeywordTypeSchema",
2680
2609
  "location": {
2681
2610
  "filePath": "remove.main.runtime.ts",
2682
- "line": 64,
2611
+ "line": 63,
2683
2612
  "character": 14
2684
2613
  },
2685
2614
  "name": "boolean"
@@ -2690,7 +2619,7 @@
2690
2619
  "__schema": "VariableLikeSchema",
2691
2620
  "location": {
2692
2621
  "filePath": "remove.main.runtime.ts",
2693
- "line": 65,
2622
+ "line": 64,
2694
2623
  "character": 5
2695
2624
  },
2696
2625
  "signature": "(property) track?: boolean | undefined",
@@ -2699,7 +2628,7 @@
2699
2628
  "__schema": "KeywordTypeSchema",
2700
2629
  "location": {
2701
2630
  "filePath": "remove.main.runtime.ts",
2702
- "line": 65,
2631
+ "line": 64,
2703
2632
  "character": 13
2704
2633
  },
2705
2634
  "name": "boolean"
@@ -2710,7 +2639,7 @@
2710
2639
  "__schema": "VariableLikeSchema",
2711
2640
  "location": {
2712
2641
  "filePath": "remove.main.runtime.ts",
2713
- "line": 66,
2642
+ "line": 65,
2714
2643
  "character": 5
2715
2644
  },
2716
2645
  "signature": "(property) deleteFiles?: boolean | undefined",
@@ -2719,7 +2648,7 @@
2719
2648
  "__schema": "KeywordTypeSchema",
2720
2649
  "location": {
2721
2650
  "filePath": "remove.main.runtime.ts",
2722
- "line": 66,
2651
+ "line": 65,
2723
2652
  "character": 19
2724
2653
  },
2725
2654
  "name": "boolean"
@@ -2734,7 +2663,7 @@
2734
2663
  "__schema": "TypeRefSchema",
2735
2664
  "location": {
2736
2665
  "filePath": "remove.main.runtime.ts",
2737
- "line": 67,
2666
+ "line": 66,
2738
2667
  "character": 7
2739
2668
  },
2740
2669
  "name": "Promise",
@@ -2743,11 +2672,10 @@
2743
2672
  "__schema": "TypeRefSchema",
2744
2673
  "location": {
2745
2674
  "filePath": "remove.main.runtime.ts",
2746
- "line": 67,
2675
+ "line": 66,
2747
2676
  "character": 15
2748
2677
  },
2749
- "name": "RemoveComponentsResult",
2750
- "internalFilePath": "remove-components.ts"
2678
+ "name": "RemoveComponentsResult"
2751
2679
  }
2752
2680
  ]
2753
2681
  },
@@ -2759,14 +2687,14 @@
2759
2687
  "__schema": "FunctionLikeSchema",
2760
2688
  "location": {
2761
2689
  "filePath": "remove.main.runtime.ts",
2762
- "line": 89,
2690
+ "line": 88,
2763
2691
  "character": 3
2764
2692
  },
2765
2693
  "doc": {
2766
2694
  "__schema": "DocSchema",
2767
2695
  "location": {
2768
2696
  "filePath": "remove.main.runtime.ts",
2769
- "line": 86,
2697
+ "line": 85,
2770
2698
  "character": 3
2771
2699
  },
2772
2700
  "raw": "/**\n * remove components from the workspace.\n */",
@@ -2780,7 +2708,7 @@
2780
2708
  "__schema": "ParameterSchema",
2781
2709
  "location": {
2782
2710
  "filePath": "remove.main.runtime.ts",
2783
- "line": 90,
2711
+ "line": 89,
2784
2712
  "character": 5
2785
2713
  },
2786
2714
  "name": "ids",
@@ -2788,22 +2716,17 @@
2788
2716
  "__schema": "TypeArraySchema",
2789
2717
  "location": {
2790
2718
  "filePath": "remove.main.runtime.ts",
2791
- "line": 90,
2719
+ "line": 89,
2792
2720
  "character": 10
2793
2721
  },
2794
2722
  "type": {
2795
2723
  "__schema": "TypeRefSchema",
2796
2724
  "location": {
2797
2725
  "filePath": "remove.main.runtime.ts",
2798
- "line": 90,
2726
+ "line": 89,
2799
2727
  "character": 10
2800
2728
  },
2801
- "name": "ComponentID",
2802
- "componentId": {
2803
- "scope": "teambit.component",
2804
- "name": "component-id",
2805
- "version": "1.2.0"
2806
- }
2729
+ "name": "ComponentID"
2807
2730
  }
2808
2731
  },
2809
2732
  "isOptional": false,
@@ -2813,7 +2736,7 @@
2813
2736
  "__schema": "ParameterSchema",
2814
2737
  "location": {
2815
2738
  "filePath": "remove.main.runtime.ts",
2816
- "line": 91,
2739
+ "line": 90,
2817
2740
  "character": 5
2818
2741
  },
2819
2742
  "name": "{ force = false, reasonForRemoval }",
@@ -2821,7 +2744,7 @@
2821
2744
  "__schema": "TypeLiteralSchema",
2822
2745
  "location": {
2823
2746
  "filePath": "remove.main.runtime.ts",
2824
- "line": 91,
2747
+ "line": 90,
2825
2748
  "character": 42
2826
2749
  },
2827
2750
  "members": [
@@ -2829,7 +2752,7 @@
2829
2752
  "__schema": "VariableLikeSchema",
2830
2753
  "location": {
2831
2754
  "filePath": "remove.main.runtime.ts",
2832
- "line": 91,
2755
+ "line": 90,
2833
2756
  "character": 44
2834
2757
  },
2835
2758
  "signature": "(property) force?: boolean | undefined",
@@ -2838,7 +2761,7 @@
2838
2761
  "__schema": "KeywordTypeSchema",
2839
2762
  "location": {
2840
2763
  "filePath": "remove.main.runtime.ts",
2841
- "line": 91,
2764
+ "line": 90,
2842
2765
  "character": 52
2843
2766
  },
2844
2767
  "name": "boolean"
@@ -2849,7 +2772,7 @@
2849
2772
  "__schema": "VariableLikeSchema",
2850
2773
  "location": {
2851
2774
  "filePath": "remove.main.runtime.ts",
2852
- "line": 91,
2775
+ "line": 90,
2853
2776
  "character": 61
2854
2777
  },
2855
2778
  "signature": "(property) reasonForRemoval?: string | undefined",
@@ -2858,7 +2781,7 @@
2858
2781
  "__schema": "KeywordTypeSchema",
2859
2782
  "location": {
2860
2783
  "filePath": "remove.main.runtime.ts",
2861
- "line": 91,
2784
+ "line": 90,
2862
2785
  "character": 80
2863
2786
  },
2864
2787
  "name": "string"
@@ -2874,7 +2797,7 @@
2874
2797
  "__schema": "VariableLikeSchema",
2875
2798
  "location": {
2876
2799
  "filePath": "remove.main.runtime.ts",
2877
- "line": 91,
2800
+ "line": 90,
2878
2801
  "character": 44
2879
2802
  },
2880
2803
  "signature": "(property) force?: boolean | undefined",
@@ -2883,7 +2806,7 @@
2883
2806
  "__schema": "KeywordTypeSchema",
2884
2807
  "location": {
2885
2808
  "filePath": "remove.main.runtime.ts",
2886
- "line": 91,
2809
+ "line": 90,
2887
2810
  "character": 52
2888
2811
  },
2889
2812
  "name": "boolean"
@@ -2894,7 +2817,7 @@
2894
2817
  "__schema": "VariableLikeSchema",
2895
2818
  "location": {
2896
2819
  "filePath": "remove.main.runtime.ts",
2897
- "line": 91,
2820
+ "line": 90,
2898
2821
  "character": 61
2899
2822
  },
2900
2823
  "signature": "(property) reasonForRemoval?: string | undefined",
@@ -2903,7 +2826,7 @@
2903
2826
  "__schema": "KeywordTypeSchema",
2904
2827
  "location": {
2905
2828
  "filePath": "remove.main.runtime.ts",
2906
- "line": 91,
2829
+ "line": 90,
2907
2830
  "character": 80
2908
2831
  },
2909
2832
  "name": "string"
@@ -2918,7 +2841,7 @@
2918
2841
  "__schema": "InferenceTypeSchema",
2919
2842
  "location": {
2920
2843
  "filePath": "remove.main.runtime.ts",
2921
- "line": 89,
2844
+ "line": 88,
2922
2845
  "character": 3
2923
2846
  },
2924
2847
  "type": "Promise<RemoveComponentsResult>"
@@ -2931,7 +2854,7 @@
2931
2854
  "__schema": "FunctionLikeSchema",
2932
2855
  "location": {
2933
2856
  "filePath": "remove.main.runtime.ts",
2934
- "line": 132,
2857
+ "line": 131,
2935
2858
  "character": 3
2936
2859
  },
2937
2860
  "signature": "(method) RemoveMain.deleteComps(componentsPattern: string, opts?: DeleteOpts): Promise<Component[]>",
@@ -2941,7 +2864,7 @@
2941
2864
  "__schema": "ParameterSchema",
2942
2865
  "location": {
2943
2866
  "filePath": "remove.main.runtime.ts",
2944
- "line": 132,
2867
+ "line": 131,
2945
2868
  "character": 21
2946
2869
  },
2947
2870
  "name": "componentsPattern",
@@ -2949,7 +2872,7 @@
2949
2872
  "__schema": "KeywordTypeSchema",
2950
2873
  "location": {
2951
2874
  "filePath": "remove.main.runtime.ts",
2952
- "line": 132,
2875
+ "line": 131,
2953
2876
  "character": 40
2954
2877
  },
2955
2878
  "name": "string"
@@ -2961,7 +2884,7 @@
2961
2884
  "__schema": "ParameterSchema",
2962
2885
  "location": {
2963
2886
  "filePath": "remove.main.runtime.ts",
2964
- "line": 132,
2887
+ "line": 131,
2965
2888
  "character": 48
2966
2889
  },
2967
2890
  "name": "opts",
@@ -2969,11 +2892,10 @@
2969
2892
  "__schema": "TypeRefSchema",
2970
2893
  "location": {
2971
2894
  "filePath": "remove.main.runtime.ts",
2972
- "line": 132,
2895
+ "line": 131,
2973
2896
  "character": 54
2974
2897
  },
2975
- "name": "DeleteOpts",
2976
- "internalFilePath": "remove.main.runtime.ts"
2898
+ "name": "DeleteOpts"
2977
2899
  },
2978
2900
  "isOptional": true,
2979
2901
  "defaultValue": "{}",
@@ -2984,7 +2906,7 @@
2984
2906
  "__schema": "TypeRefSchema",
2985
2907
  "location": {
2986
2908
  "filePath": "remove.main.runtime.ts",
2987
- "line": 132,
2909
+ "line": 131,
2988
2910
  "character": 72
2989
2911
  },
2990
2912
  "name": "Promise",
@@ -2993,21 +2915,17 @@
2993
2915
  "__schema": "TypeArraySchema",
2994
2916
  "location": {
2995
2917
  "filePath": "remove.main.runtime.ts",
2996
- "line": 132,
2918
+ "line": 131,
2997
2919
  "character": 80
2998
2920
  },
2999
2921
  "type": {
3000
2922
  "__schema": "TypeRefSchema",
3001
2923
  "location": {
3002
2924
  "filePath": "remove.main.runtime.ts",
3003
- "line": 132,
2925
+ "line": 131,
3004
2926
  "character": 80
3005
2927
  },
3006
- "name": "Component",
3007
- "componentId": {
3008
- "scope": "teambit.component",
3009
- "name": "component"
3010
- }
2928
+ "name": "Component"
3011
2929
  }
3012
2930
  }
3013
2931
  ]
@@ -3020,14 +2938,14 @@
3020
2938
  "__schema": "FunctionLikeSchema",
3021
2939
  "location": {
3022
2940
  "filePath": "remove.main.runtime.ts",
3023
- "line": 180,
2941
+ "line": 179,
3024
2942
  "character": 3
3025
2943
  },
3026
2944
  "doc": {
3027
2945
  "__schema": "DocSchema",
3028
2946
  "location": {
3029
2947
  "filePath": "remove.main.runtime.ts",
3030
- "line": 168,
2948
+ "line": 167,
3031
2949
  "character": 3
3032
2950
  },
3033
2951
  "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 */",
@@ -3041,7 +2959,7 @@
3041
2959
  "__schema": "ParameterSchema",
3042
2960
  "location": {
3043
2961
  "filePath": "remove.main.runtime.ts",
3044
- "line": 180,
2962
+ "line": 179,
3045
2963
  "character": 17
3046
2964
  },
3047
2965
  "name": "compIdStr",
@@ -3049,7 +2967,7 @@
3049
2967
  "__schema": "KeywordTypeSchema",
3050
2968
  "location": {
3051
2969
  "filePath": "remove.main.runtime.ts",
3052
- "line": 180,
2970
+ "line": 179,
3053
2971
  "character": 28
3054
2972
  },
3055
2973
  "name": "string"
@@ -3061,7 +2979,7 @@
3061
2979
  "__schema": "ParameterSchema",
3062
2980
  "location": {
3063
2981
  "filePath": "remove.main.runtime.ts",
3064
- "line": 180,
2982
+ "line": 179,
3065
2983
  "character": 36
3066
2984
  },
3067
2985
  "name": "options",
@@ -3069,11 +2987,10 @@
3069
2987
  "__schema": "TypeRefSchema",
3070
2988
  "location": {
3071
2989
  "filePath": "remove.main.runtime.ts",
3072
- "line": 180,
2990
+ "line": 179,
3073
2991
  "character": 45
3074
2992
  },
3075
- "name": "RecoverOptions",
3076
- "internalFilePath": "recover-cmd.ts"
2993
+ "name": "RecoverOptions"
3077
2994
  },
3078
2995
  "isOptional": false,
3079
2996
  "isSpread": false
@@ -3083,7 +3000,7 @@
3083
3000
  "__schema": "TypeRefSchema",
3084
3001
  "location": {
3085
3002
  "filePath": "remove.main.runtime.ts",
3086
- "line": 180,
3003
+ "line": 179,
3087
3004
  "character": 62
3088
3005
  },
3089
3006
  "name": "Promise",
@@ -3092,7 +3009,7 @@
3092
3009
  "__schema": "KeywordTypeSchema",
3093
3010
  "location": {
3094
3011
  "filePath": "remove.main.runtime.ts",
3095
- "line": 180,
3012
+ "line": 179,
3096
3013
  "character": 70
3097
3014
  },
3098
3015
  "name": "boolean"
@@ -3107,7 +3024,7 @@
3107
3024
  "__schema": "FunctionLikeSchema",
3108
3025
  "location": {
3109
3026
  "filePath": "remove.main.runtime.ts",
3110
- "line": 266,
3027
+ "line": 265,
3111
3028
  "character": 3
3112
3029
  },
3113
3030
  "signature": "(method) RemoveMain.getRemoveInfo(component: Component): Promise<RemoveInfo>",
@@ -3117,7 +3034,7 @@
3117
3034
  "__schema": "ParameterSchema",
3118
3035
  "location": {
3119
3036
  "filePath": "remove.main.runtime.ts",
3120
- "line": 266,
3037
+ "line": 265,
3121
3038
  "character": 23
3122
3039
  },
3123
3040
  "name": "component",
@@ -3125,14 +3042,10 @@
3125
3042
  "__schema": "TypeRefSchema",
3126
3043
  "location": {
3127
3044
  "filePath": "remove.main.runtime.ts",
3128
- "line": 266,
3045
+ "line": 265,
3129
3046
  "character": 34
3130
3047
  },
3131
- "name": "Component",
3132
- "componentId": {
3133
- "scope": "teambit.component",
3134
- "name": "component"
3135
- }
3048
+ "name": "Component"
3136
3049
  },
3137
3050
  "isOptional": false,
3138
3051
  "isSpread": false
@@ -3142,7 +3055,7 @@
3142
3055
  "__schema": "TypeRefSchema",
3143
3056
  "location": {
3144
3057
  "filePath": "remove.main.runtime.ts",
3145
- "line": 266,
3058
+ "line": 265,
3146
3059
  "character": 46
3147
3060
  },
3148
3061
  "name": "Promise",
@@ -3151,7 +3064,7 @@
3151
3064
  "__schema": "TypeRefSchema",
3152
3065
  "location": {
3153
3066
  "filePath": "remove.main.runtime.ts",
3154
- "line": 266,
3067
+ "line": 265,
3155
3068
  "character": 54
3156
3069
  },
3157
3070
  "name": "RemoveInfo"
@@ -3166,14 +3079,14 @@
3166
3079
  "__schema": "FunctionLikeSchema",
3167
3080
  "location": {
3168
3081
  "filePath": "remove.main.runtime.ts",
3169
- "line": 301,
3082
+ "line": 300,
3170
3083
  "character": 3
3171
3084
  },
3172
3085
  "doc": {
3173
3086
  "__schema": "DocSchema",
3174
3087
  "location": {
3175
3088
  "filePath": "remove.main.runtime.ts",
3176
- "line": 298,
3089
+ "line": 297,
3177
3090
  "character": 3
3178
3091
  },
3179
3092
  "raw": "/**\n * @deprecated use `isDeleted` instead.\n */",
@@ -3183,7 +3096,7 @@
3183
3096
  "__schema": "TagSchema",
3184
3097
  "location": {
3185
3098
  "filePath": "remove.main.runtime.ts",
3186
- "line": 299,
3099
+ "line": 298,
3187
3100
  "character": 6
3188
3101
  },
3189
3102
  "tagName": "deprecated",
@@ -3198,7 +3111,7 @@
3198
3111
  "__schema": "ParameterSchema",
3199
3112
  "location": {
3200
3113
  "filePath": "remove.main.runtime.ts",
3201
- "line": 301,
3114
+ "line": 300,
3202
3115
  "character": 19
3203
3116
  },
3204
3117
  "name": "component",
@@ -3206,14 +3119,10 @@
3206
3119
  "__schema": "TypeRefSchema",
3207
3120
  "location": {
3208
3121
  "filePath": "remove.main.runtime.ts",
3209
- "line": 301,
3122
+ "line": 300,
3210
3123
  "character": 30
3211
3124
  },
3212
- "name": "Component",
3213
- "componentId": {
3214
- "scope": "teambit.component",
3215
- "name": "component"
3216
- }
3125
+ "name": "Component"
3217
3126
  },
3218
3127
  "isOptional": false,
3219
3128
  "isSpread": false
@@ -3223,7 +3132,7 @@
3223
3132
  "__schema": "TypeRefSchema",
3224
3133
  "location": {
3225
3134
  "filePath": "remove.main.runtime.ts",
3226
- "line": 301,
3135
+ "line": 300,
3227
3136
  "character": 42
3228
3137
  },
3229
3138
  "name": "Promise",
@@ -3232,7 +3141,7 @@
3232
3141
  "__schema": "KeywordTypeSchema",
3233
3142
  "location": {
3234
3143
  "filePath": "remove.main.runtime.ts",
3235
- "line": 301,
3144
+ "line": 300,
3236
3145
  "character": 50
3237
3146
  },
3238
3147
  "name": "boolean"
@@ -3247,14 +3156,14 @@
3247
3156
  "__schema": "FunctionLikeSchema",
3248
3157
  "location": {
3249
3158
  "filePath": "remove.main.runtime.ts",
3250
- "line": 308,
3159
+ "line": 307,
3251
3160
  "character": 3
3252
3161
  },
3253
3162
  "doc": {
3254
3163
  "__schema": "DocSchema",
3255
3164
  "location": {
3256
3165
  "filePath": "remove.main.runtime.ts",
3257
- "line": 305,
3166
+ "line": 304,
3258
3167
  "character": 3
3259
3168
  },
3260
3169
  "raw": "/**\n * whether a component is marked as deleted.\n */",
@@ -3268,7 +3177,7 @@
3268
3177
  "__schema": "ParameterSchema",
3269
3178
  "location": {
3270
3179
  "filePath": "remove.main.runtime.ts",
3271
- "line": 308,
3180
+ "line": 307,
3272
3181
  "character": 19
3273
3182
  },
3274
3183
  "name": "component",
@@ -3276,14 +3185,10 @@
3276
3185
  "__schema": "TypeRefSchema",
3277
3186
  "location": {
3278
3187
  "filePath": "remove.main.runtime.ts",
3279
- "line": 308,
3188
+ "line": 307,
3280
3189
  "character": 30
3281
3190
  },
3282
- "name": "Component",
3283
- "componentId": {
3284
- "scope": "teambit.component",
3285
- "name": "component"
3286
- }
3191
+ "name": "Component"
3287
3192
  },
3288
3193
  "isOptional": false,
3289
3194
  "isSpread": false
@@ -3293,7 +3198,7 @@
3293
3198
  "__schema": "TypeRefSchema",
3294
3199
  "location": {
3295
3200
  "filePath": "remove.main.runtime.ts",
3296
- "line": 308,
3201
+ "line": 307,
3297
3202
  "character": 42
3298
3203
  },
3299
3204
  "name": "Promise",
@@ -3302,7 +3207,7 @@
3302
3207
  "__schema": "KeywordTypeSchema",
3303
3208
  "location": {
3304
3209
  "filePath": "remove.main.runtime.ts",
3305
- "line": 308,
3210
+ "line": 307,
3306
3211
  "character": 50
3307
3212
  },
3308
3213
  "name": "boolean"
@@ -3317,14 +3222,14 @@
3317
3222
  "__schema": "FunctionLikeSchema",
3318
3223
  "location": {
3319
3224
  "filePath": "remove.main.runtime.ts",
3320
- "line": 316,
3225
+ "line": 315,
3321
3226
  "character": 3
3322
3227
  },
3323
3228
  "doc": {
3324
3229
  "__schema": "DocSchema",
3325
3230
  "location": {
3326
3231
  "filePath": "remove.main.runtime.ts",
3327
- "line": 313,
3232
+ "line": 312,
3328
3233
  "character": 3
3329
3234
  },
3330
3235
  "raw": "/**\n * performant version of isRemoved() in case the component object is not available and loading it is expensive.\n */",
@@ -3338,7 +3243,7 @@
3338
3243
  "__schema": "ParameterSchema",
3339
3244
  "location": {
3340
3245
  "filePath": "remove.main.runtime.ts",
3341
- "line": 316,
3246
+ "line": 315,
3342
3247
  "character": 46
3343
3248
  },
3344
3249
  "name": "componentId",
@@ -3346,15 +3251,10 @@
3346
3251
  "__schema": "TypeRefSchema",
3347
3252
  "location": {
3348
3253
  "filePath": "remove.main.runtime.ts",
3349
- "line": 316,
3254
+ "line": 315,
3350
3255
  "character": 59
3351
3256
  },
3352
- "name": "ComponentID",
3353
- "componentId": {
3354
- "scope": "teambit.component",
3355
- "name": "component-id",
3356
- "version": "1.2.0"
3357
- }
3257
+ "name": "ComponentID"
3358
3258
  },
3359
3259
  "isOptional": false,
3360
3260
  "isSpread": false
@@ -3364,7 +3264,7 @@
3364
3264
  "__schema": "TypeRefSchema",
3365
3265
  "location": {
3366
3266
  "filePath": "remove.main.runtime.ts",
3367
- "line": 316,
3267
+ "line": 315,
3368
3268
  "character": 73
3369
3269
  },
3370
3270
  "name": "Promise",
@@ -3373,7 +3273,7 @@
3373
3273
  "__schema": "KeywordTypeSchema",
3374
3274
  "location": {
3375
3275
  "filePath": "remove.main.runtime.ts",
3376
- "line": 316,
3276
+ "line": 315,
3377
3277
  "character": 81
3378
3278
  },
3379
3279
  "name": "boolean"
@@ -3388,7 +3288,7 @@
3388
3288
  "__schema": "FunctionLikeSchema",
3389
3289
  "location": {
3390
3290
  "filePath": "remove.main.runtime.ts",
3391
- "line": 330,
3291
+ "line": 329,
3392
3292
  "character": 3
3393
3293
  },
3394
3294
  "signature": "(method) RemoveMain.isEnvByIdWithoutLoadingComponent(componentId: ComponentID): Promise<boolean>",
@@ -3398,7 +3298,7 @@
3398
3298
  "__schema": "ParameterSchema",
3399
3299
  "location": {
3400
3300
  "filePath": "remove.main.runtime.ts",
3401
- "line": 330,
3301
+ "line": 329,
3402
3302
  "character": 42
3403
3303
  },
3404
3304
  "name": "componentId",
@@ -3406,15 +3306,10 @@
3406
3306
  "__schema": "TypeRefSchema",
3407
3307
  "location": {
3408
3308
  "filePath": "remove.main.runtime.ts",
3409
- "line": 330,
3309
+ "line": 329,
3410
3310
  "character": 55
3411
3311
  },
3412
- "name": "ComponentID",
3413
- "componentId": {
3414
- "scope": "teambit.component",
3415
- "name": "component-id",
3416
- "version": "1.2.0"
3417
- }
3312
+ "name": "ComponentID"
3418
3313
  },
3419
3314
  "isOptional": false,
3420
3315
  "isSpread": false
@@ -3424,7 +3319,7 @@
3424
3319
  "__schema": "TypeRefSchema",
3425
3320
  "location": {
3426
3321
  "filePath": "remove.main.runtime.ts",
3427
- "line": 330,
3322
+ "line": 329,
3428
3323
  "character": 69
3429
3324
  },
3430
3325
  "name": "Promise",
@@ -3433,7 +3328,7 @@
3433
3328
  "__schema": "KeywordTypeSchema",
3434
3329
  "location": {
3435
3330
  "filePath": "remove.main.runtime.ts",
3436
- "line": 330,
3331
+ "line": 329,
3437
3332
  "character": 77
3438
3333
  },
3439
3334
  "name": "boolean"
@@ -3448,14 +3343,14 @@
3448
3343
  "__schema": "FunctionLikeSchema",
3449
3344
  "location": {
3450
3345
  "filePath": "remove.main.runtime.ts",
3451
- "line": 339,
3346
+ "line": 338,
3452
3347
  "character": 3
3453
3348
  },
3454
3349
  "doc": {
3455
3350
  "__schema": "DocSchema",
3456
3351
  "location": {
3457
3352
  "filePath": "remove.main.runtime.ts",
3458
- "line": 336,
3353
+ "line": 335,
3459
3354
  "character": 3
3460
3355
  },
3461
3356
  "raw": "/**\n * get components that were soft-removed and tagged/snapped/merged but not exported yet.\n */",
@@ -3469,7 +3364,7 @@
3469
3364
  "__schema": "TypeRefSchema",
3470
3365
  "location": {
3471
3366
  "filePath": "remove.main.runtime.ts",
3472
- "line": 339,
3367
+ "line": 338,
3473
3368
  "character": 29
3474
3369
  },
3475
3370
  "name": "Promise",
@@ -3478,22 +3373,17 @@
3478
3373
  "__schema": "TypeArraySchema",
3479
3374
  "location": {
3480
3375
  "filePath": "remove.main.runtime.ts",
3481
- "line": 339,
3376
+ "line": 338,
3482
3377
  "character": 37
3483
3378
  },
3484
3379
  "type": {
3485
3380
  "__schema": "TypeRefSchema",
3486
3381
  "location": {
3487
3382
  "filePath": "remove.main.runtime.ts",
3488
- "line": 339,
3383
+ "line": 338,
3489
3384
  "character": 37
3490
3385
  },
3491
- "name": "ComponentID",
3492
- "componentId": {
3493
- "scope": "teambit.component",
3494
- "name": "component-id",
3495
- "version": "1.2.0"
3496
- }
3386
+ "name": "ComponentID"
3497
3387
  }
3498
3388
  }
3499
3389
  ]
@@ -3506,7 +3396,7 @@
3506
3396
  "__schema": "FunctionLikeSchema",
3507
3397
  "location": {
3508
3398
  "filePath": "remove.main.runtime.ts",
3509
- "line": 343,
3399
+ "line": 342,
3510
3400
  "character": 3
3511
3401
  },
3512
3402
  "signature": "(method) RemoveMain.addRemovedDependenciesIssues(components: Component[]): Promise<void>",
@@ -3516,7 +3406,7 @@
3516
3406
  "__schema": "ParameterSchema",
3517
3407
  "location": {
3518
3408
  "filePath": "remove.main.runtime.ts",
3519
- "line": 343,
3409
+ "line": 342,
3520
3410
  "character": 38
3521
3411
  },
3522
3412
  "name": "components",
@@ -3524,21 +3414,17 @@
3524
3414
  "__schema": "TypeArraySchema",
3525
3415
  "location": {
3526
3416
  "filePath": "remove.main.runtime.ts",
3527
- "line": 343,
3417
+ "line": 342,
3528
3418
  "character": 50
3529
3419
  },
3530
3420
  "type": {
3531
3421
  "__schema": "TypeRefSchema",
3532
3422
  "location": {
3533
3423
  "filePath": "remove.main.runtime.ts",
3534
- "line": 343,
3424
+ "line": 342,
3535
3425
  "character": 50
3536
3426
  },
3537
- "name": "Component",
3538
- "componentId": {
3539
- "scope": "teambit.component",
3540
- "name": "component"
3541
- }
3427
+ "name": "Component"
3542
3428
  }
3543
3429
  },
3544
3430
  "isOptional": false,
@@ -3549,7 +3435,7 @@
3549
3435
  "__schema": "InferenceTypeSchema",
3550
3436
  "location": {
3551
3437
  "filePath": "remove.main.runtime.ts",
3552
- "line": 343,
3438
+ "line": 342,
3553
3439
  "character": 3
3554
3440
  },
3555
3441
  "type": "Promise<void>"
@@ -3562,7 +3448,7 @@
3562
3448
  "__schema": "VariableLikeSchema",
3563
3449
  "location": {
3564
3450
  "filePath": "remove.main.runtime.ts",
3565
- "line": 423,
3451
+ "line": 422,
3566
3452
  "character": 3
3567
3453
  },
3568
3454
  "signature": "(property) RemoveMain.slots: never[]",
@@ -3571,7 +3457,7 @@
3571
3457
  "__schema": "InferenceTypeSchema",
3572
3458
  "location": {
3573
3459
  "filePath": "remove.main.runtime.ts",
3574
- "line": 423,
3460
+ "line": 422,
3575
3461
  "character": 3
3576
3462
  },
3577
3463
  "type": "never[]"
@@ -3583,7 +3469,7 @@
3583
3469
  "__schema": "VariableLikeSchema",
3584
3470
  "location": {
3585
3471
  "filePath": "remove.main.runtime.ts",
3586
- "line": 424,
3472
+ "line": 423,
3587
3473
  "character": 3
3588
3474
  },
3589
3475
  "signature": "(property) RemoveMain.dependencies: Aspect[]",
@@ -3592,7 +3478,7 @@
3592
3478
  "__schema": "InferenceTypeSchema",
3593
3479
  "location": {
3594
3480
  "filePath": "remove.main.runtime.ts",
3595
- "line": 424,
3481
+ "line": 423,
3596
3482
  "character": 3
3597
3483
  },
3598
3484
  "type": "Aspect[]"
@@ -3604,7 +3490,7 @@
3604
3490
  "__schema": "VariableLikeSchema",
3605
3491
  "location": {
3606
3492
  "filePath": "remove.main.runtime.ts",
3607
- "line": 435,
3493
+ "line": 434,
3608
3494
  "character": 3
3609
3495
  },
3610
3496
  "signature": "(property) RemoveMain.runtime: RuntimeDefinition",
@@ -3613,7 +3499,7 @@
3613
3499
  "__schema": "InferenceTypeSchema",
3614
3500
  "location": {
3615
3501
  "filePath": "remove.main.runtime.ts",
3616
- "line": 435,
3502
+ "line": 434,
3617
3503
  "character": 3
3618
3504
  },
3619
3505
  "type": "RuntimeDefinition"
@@ -3625,7 +3511,7 @@
3625
3511
  "__schema": "FunctionLikeSchema",
3626
3512
  "location": {
3627
3513
  "filePath": "remove.main.runtime.ts",
3628
- "line": 437,
3514
+ "line": 436,
3629
3515
  "character": 3
3630
3516
  },
3631
3517
  "signature": "(method) RemoveMain.provider([workspace, scope, cli, loggerMain, componentAspect, importerMain, depResolver, issues, lister,]: [\n Workspace,\n ScopeMain,\n CLIMain,\n LoggerMain,\n ComponentMain,\n ImporterMain,\n DependencyResolverMain,\n IssuesMain,\n ListerMain\n]): Promise<RemoveMain>",
@@ -3635,7 +3521,7 @@
3635
3521
  "__schema": "ParameterSchema",
3636
3522
  "location": {
3637
3523
  "filePath": "remove.main.runtime.ts",
3638
- "line": 437,
3524
+ "line": 436,
3639
3525
  "character": 25
3640
3526
  },
3641
3527
  "name": "[ workspace, scope, cli, loggerMain, componentAspect, importerMain, depResolver, issues, lister ]",
@@ -3643,10 +3529,19 @@
3643
3529
  "__schema": "TupleTypeSchema",
3644
3530
  "location": {
3645
3531
  "filePath": "remove.main.runtime.ts",
3646
- "line": 447,
3532
+ "line": 446,
3647
3533
  "character": 6
3648
3534
  },
3649
3535
  "elements": [
3536
+ {
3537
+ "__schema": "TypeRefSchema",
3538
+ "location": {
3539
+ "filePath": "remove.main.runtime.ts",
3540
+ "line": 447,
3541
+ "character": 5
3542
+ },
3543
+ "name": "Workspace"
3544
+ },
3650
3545
  {
3651
3546
  "__schema": "TypeRefSchema",
3652
3547
  "location": {
@@ -3654,11 +3549,7 @@
3654
3549
  "line": 448,
3655
3550
  "character": 5
3656
3551
  },
3657
- "name": "Workspace",
3658
- "componentId": {
3659
- "scope": "teambit.workspace",
3660
- "name": "workspace"
3661
- }
3552
+ "name": "ScopeMain"
3662
3553
  },
3663
3554
  {
3664
3555
  "__schema": "TypeRefSchema",
@@ -3667,11 +3558,7 @@
3667
3558
  "line": 449,
3668
3559
  "character": 5
3669
3560
  },
3670
- "name": "ScopeMain",
3671
- "componentId": {
3672
- "scope": "teambit.scope",
3673
- "name": "scope"
3674
- }
3561
+ "name": "CLIMain"
3675
3562
  },
3676
3563
  {
3677
3564
  "__schema": "TypeRefSchema",
@@ -3680,11 +3567,7 @@
3680
3567
  "line": 450,
3681
3568
  "character": 5
3682
3569
  },
3683
- "name": "CLIMain",
3684
- "componentId": {
3685
- "scope": "teambit.harmony",
3686
- "name": "cli"
3687
- }
3570
+ "name": "LoggerMain"
3688
3571
  },
3689
3572
  {
3690
3573
  "__schema": "TypeRefSchema",
@@ -3693,11 +3576,7 @@
3693
3576
  "line": 451,
3694
3577
  "character": 5
3695
3578
  },
3696
- "name": "LoggerMain",
3697
- "componentId": {
3698
- "scope": "teambit.harmony",
3699
- "name": "logger"
3700
- }
3579
+ "name": "ComponentMain"
3701
3580
  },
3702
3581
  {
3703
3582
  "__schema": "TypeRefSchema",
@@ -3706,11 +3585,7 @@
3706
3585
  "line": 452,
3707
3586
  "character": 5
3708
3587
  },
3709
- "name": "ComponentMain",
3710
- "componentId": {
3711
- "scope": "teambit.component",
3712
- "name": "component"
3713
- }
3588
+ "name": "ImporterMain"
3714
3589
  },
3715
3590
  {
3716
3591
  "__schema": "TypeRefSchema",
@@ -3719,11 +3594,7 @@
3719
3594
  "line": 453,
3720
3595
  "character": 5
3721
3596
  },
3722
- "name": "ImporterMain",
3723
- "componentId": {
3724
- "scope": "teambit.scope",
3725
- "name": "importer"
3726
- }
3597
+ "name": "DependencyResolverMain"
3727
3598
  },
3728
3599
  {
3729
3600
  "__schema": "TypeRefSchema",
@@ -3732,11 +3603,7 @@
3732
3603
  "line": 454,
3733
3604
  "character": 5
3734
3605
  },
3735
- "name": "DependencyResolverMain",
3736
- "componentId": {
3737
- "scope": "teambit.dependencies",
3738
- "name": "dependency-resolver"
3739
- }
3606
+ "name": "IssuesMain"
3740
3607
  },
3741
3608
  {
3742
3609
  "__schema": "TypeRefSchema",
@@ -3745,24 +3612,7 @@
3745
3612
  "line": 455,
3746
3613
  "character": 5
3747
3614
  },
3748
- "name": "IssuesMain",
3749
- "componentId": {
3750
- "scope": "teambit.component",
3751
- "name": "issues"
3752
- }
3753
- },
3754
- {
3755
- "__schema": "TypeRefSchema",
3756
- "location": {
3757
- "filePath": "remove.main.runtime.ts",
3758
- "line": 456,
3759
- "character": 5
3760
- },
3761
- "name": "ListerMain",
3762
- "componentId": {
3763
- "scope": "teambit.component",
3764
- "name": "lister"
3765
- }
3615
+ "name": "ListerMain"
3766
3616
  }
3767
3617
  ]
3768
3618
  },
@@ -3774,7 +3624,7 @@
3774
3624
  "__schema": "InferenceTypeSchema",
3775
3625
  "location": {
3776
3626
  "filePath": "remove.main.runtime.ts",
3777
- "line": 437,
3627
+ "line": 436,
3778
3628
  "character": 3
3779
3629
  },
3780
3630
  "type": "Promise<RemoveMain>"
@@ -3792,7 +3642,7 @@
3792
3642
  "__schema": "UnImplementedSchema",
3793
3643
  "location": {
3794
3644
  "filePath": "remove.main.runtime.ts",
3795
- "line": 473,
3645
+ "line": 472,
3796
3646
  "character": 16
3797
3647
  },
3798
3648
  "name": "RemoveMain",
@@ -3804,7 +3654,7 @@
3804
3654
  "__schema": "ModuleSchema",
3805
3655
  "location": {
3806
3656
  "filePath": "remove.main.runtime.ts",
3807
- "line": 29,
3657
+ "line": 28,
3808
3658
  "character": 1
3809
3659
  },
3810
3660
  "exports": [
@@ -3812,7 +3662,7 @@
3812
3662
  "__schema": "VariableLikeSchema",
3813
3663
  "location": {
3814
3664
  "filePath": "remove.main.runtime.ts",
3815
- "line": 29,
3665
+ "line": 28,
3816
3666
  "character": 7
3817
3667
  },
3818
3668
  "signature": "const BEFORE_REMOVE: \"removing components\"",
@@ -3821,7 +3671,7 @@
3821
3671
  "__schema": "InferenceTypeSchema",
3822
3672
  "location": {
3823
3673
  "filePath": "remove.main.runtime.ts",
3824
- "line": 29,
3674
+ "line": 28,
3825
3675
  "character": 7
3826
3676
  },
3827
3677
  "type": "\"removing components\""
@@ -3836,7 +3686,7 @@
3836
3686
  "__schema": "UnImplementedSchema",
3837
3687
  "location": {
3838
3688
  "filePath": "remove.main.runtime.ts",
3839
- "line": 471,
3689
+ "line": 470,
3840
3690
  "character": 1
3841
3691
  },
3842
3692
  "name": "RemoveAspect.addRuntime(RemoveMain);",
@@ -3912,12 +3762,7 @@
3912
3762
  "line": 7,
3913
3763
  "character": 27
3914
3764
  },
3915
- "name": "ComponentIdList",
3916
- "componentId": {
3917
- "scope": "teambit.component",
3918
- "name": "component-id",
3919
- "version": "1.2.0"
3920
- }
3765
+ "name": "ComponentIdList"
3921
3766
  },
3922
3767
  "isOptional": true,
3923
3768
  "isSpread": false
@@ -3937,12 +3782,7 @@
3937
3782
  "line": 8,
3938
3783
  "character": 25
3939
3784
  },
3940
- "name": "ComponentIdList",
3941
- "componentId": {
3942
- "scope": "teambit.component",
3943
- "name": "component-id",
3944
- "version": "1.2.0"
3945
- }
3785
+ "name": "ComponentIdList"
3946
3786
  },
3947
3787
  "isOptional": true,
3948
3788
  "isSpread": false
@@ -3962,12 +3802,7 @@
3962
3802
  "line": 9,
3963
3803
  "character": 26
3964
3804
  },
3965
- "name": "ComponentIdList",
3966
- "componentId": {
3967
- "scope": "teambit.component",
3968
- "name": "component-id",
3969
- "version": "1.2.0"
3970
- }
3805
+ "name": "ComponentIdList"
3971
3806
  },
3972
3807
  "isOptional": true,
3973
3808
  "isSpread": false
@@ -4027,12 +3862,7 @@
4027
3862
  "line": 11,
4028
3863
  "character": 23
4029
3864
  },
4030
- "name": "ComponentIdList",
4031
- "componentId": {
4032
- "scope": "teambit.component",
4033
- "name": "component-id",
4034
- "version": "1.2.0"
4035
- }
3865
+ "name": "ComponentIdList"
4036
3866
  },
4037
3867
  "isOptional": true,
4038
3868
  "isSpread": false
@@ -4072,7 +3902,7 @@
4072
3902
  "_legacy": {
4073
3903
  "scope": "teambit.component",
4074
3904
  "name": "remove",
4075
- "version": "1.0.330"
3905
+ "version": "1.0.331"
4076
3906
  },
4077
3907
  "_scope": "teambit.component"
4078
3908
  }
@@ -4117,8 +3947,7 @@
4117
3947
  "line": 7,
4118
3948
  "character": 55
4119
3949
  },
4120
- "name": "Consumer",
4121
- "packageName": "@teambit/legacy/dist/consumer/consumer"
3950
+ "name": "Consumer"
4122
3951
  },
4123
3952
  "isOptional": false,
4124
3953
  "isSpread": false
@@ -4138,12 +3967,7 @@
4138
3967
  "line": 7,
4139
3968
  "character": 73
4140
3969
  },
4141
- "name": "ComponentIdList",
4142
- "componentId": {
4143
- "scope": "teambit.component",
4144
- "name": "component-id",
4145
- "version": "1.2.0"
4146
- }
3970
+ "name": "ComponentIdList"
4147
3971
  },
4148
3972
  "isOptional": false,
4149
3973
  "isSpread": false
@@ -4166,6 +3990,969 @@
4166
3990
  ],
4167
3991
  "internals": []
4168
3992
  },
3993
+ {
3994
+ "__schema": "ModuleSchema",
3995
+ "location": {
3996
+ "filePath": "remove-components.ts",
3997
+ "line": 1,
3998
+ "character": 1
3999
+ },
4000
+ "exports": [
4001
+ {
4002
+ "__schema": "TypeSchema",
4003
+ "location": {
4004
+ "filePath": "remove-components.ts",
4005
+ "line": 24,
4006
+ "character": 1
4007
+ },
4008
+ "signature": "type RemoveComponentsResult = {\n localResult: RemovedLocalObjects;\n remoteResult: RemovedObjects[];\n}",
4009
+ "name": "RemoveComponentsResult",
4010
+ "type": {
4011
+ "__schema": "TypeLiteralSchema",
4012
+ "location": {
4013
+ "filePath": "remove-components.ts",
4014
+ "line": 24,
4015
+ "character": 38
4016
+ },
4017
+ "members": [
4018
+ {
4019
+ "__schema": "VariableLikeSchema",
4020
+ "location": {
4021
+ "filePath": "remove-components.ts",
4022
+ "line": 24,
4023
+ "character": 40
4024
+ },
4025
+ "signature": "(property) localResult: RemovedLocalObjects",
4026
+ "name": "localResult",
4027
+ "type": {
4028
+ "__schema": "TypeRefSchema",
4029
+ "location": {
4030
+ "filePath": "remove-components.ts",
4031
+ "line": 24,
4032
+ "character": 40
4033
+ },
4034
+ "name": "RemovedLocalObjects"
4035
+ },
4036
+ "isOptional": false
4037
+ },
4038
+ {
4039
+ "__schema": "VariableLikeSchema",
4040
+ "location": {
4041
+ "filePath": "remove-components.ts",
4042
+ "line": 24,
4043
+ "character": 74
4044
+ },
4045
+ "signature": "(property) remoteResult: RemovedObjects[]",
4046
+ "name": "remoteResult",
4047
+ "type": {
4048
+ "__schema": "TypeArraySchema",
4049
+ "location": {
4050
+ "filePath": "remove-components.ts",
4051
+ "line": 24,
4052
+ "character": 88
4053
+ },
4054
+ "type": {
4055
+ "__schema": "TypeRefSchema",
4056
+ "location": {
4057
+ "filePath": "remove-components.ts",
4058
+ "line": 24,
4059
+ "character": 88
4060
+ },
4061
+ "name": "RemovedObjects"
4062
+ }
4063
+ },
4064
+ "isOptional": false
4065
+ }
4066
+ ]
4067
+ }
4068
+ },
4069
+ {
4070
+ "__schema": "FunctionLikeSchema",
4071
+ "location": {
4072
+ "filePath": "remove-components.ts",
4073
+ "line": 35,
4074
+ "character": 1
4075
+ },
4076
+ "doc": {
4077
+ "__schema": "DocSchema",
4078
+ "location": {
4079
+ "filePath": "remove-components.ts",
4080
+ "line": 26,
4081
+ "character": 1
4082
+ },
4083
+ "raw": "/**\n * Remove components local and remote\n * splits array of ids into local and remote and removes according to flags\n * @param {string[]} ids - list of remote component ids to delete\n * @param {boolean} force - delete component that are used by other components.\n * @param {boolean} remote - delete component from a remote scope\n * @param {boolean} track - keep tracking local staged components in bitmap.\n * @param {boolean} deleteFiles - delete local added files from fs.\n */",
4084
+ "comment": "Remove components local and remote\nsplits array of ids into local and remote and removes according to flags",
4085
+ "tags": [
4086
+ {
4087
+ "__schema": "PropertyLikeTagSchema",
4088
+ "location": {
4089
+ "filePath": "remove-components.ts",
4090
+ "line": 29,
4091
+ "character": 4
4092
+ },
4093
+ "name": "ids",
4094
+ "tagName": "parameter",
4095
+ "comment": "- list of remote component ids to delete",
4096
+ "type": {
4097
+ "__schema": "TypeArraySchema",
4098
+ "location": {
4099
+ "filePath": "remove-components.ts",
4100
+ "line": 29,
4101
+ "character": 12
4102
+ },
4103
+ "type": {
4104
+ "__schema": "KeywordTypeSchema",
4105
+ "location": {
4106
+ "filePath": "remove-components.ts",
4107
+ "line": 29,
4108
+ "character": 12
4109
+ },
4110
+ "name": "string"
4111
+ }
4112
+ }
4113
+ },
4114
+ {
4115
+ "__schema": "PropertyLikeTagSchema",
4116
+ "location": {
4117
+ "filePath": "remove-components.ts",
4118
+ "line": 30,
4119
+ "character": 4
4120
+ },
4121
+ "name": "force",
4122
+ "tagName": "parameter",
4123
+ "comment": "- delete component that are used by other components.",
4124
+ "type": {
4125
+ "__schema": "KeywordTypeSchema",
4126
+ "location": {
4127
+ "filePath": "remove-components.ts",
4128
+ "line": 30,
4129
+ "character": 12
4130
+ },
4131
+ "name": "boolean"
4132
+ }
4133
+ },
4134
+ {
4135
+ "__schema": "PropertyLikeTagSchema",
4136
+ "location": {
4137
+ "filePath": "remove-components.ts",
4138
+ "line": 31,
4139
+ "character": 4
4140
+ },
4141
+ "name": "remote",
4142
+ "tagName": "parameter",
4143
+ "comment": "- delete component from a remote scope",
4144
+ "type": {
4145
+ "__schema": "KeywordTypeSchema",
4146
+ "location": {
4147
+ "filePath": "remove-components.ts",
4148
+ "line": 31,
4149
+ "character": 12
4150
+ },
4151
+ "name": "boolean"
4152
+ }
4153
+ },
4154
+ {
4155
+ "__schema": "PropertyLikeTagSchema",
4156
+ "location": {
4157
+ "filePath": "remove-components.ts",
4158
+ "line": 32,
4159
+ "character": 4
4160
+ },
4161
+ "name": "track",
4162
+ "tagName": "parameter",
4163
+ "comment": "- keep tracking local staged components in bitmap.",
4164
+ "type": {
4165
+ "__schema": "KeywordTypeSchema",
4166
+ "location": {
4167
+ "filePath": "remove-components.ts",
4168
+ "line": 32,
4169
+ "character": 12
4170
+ },
4171
+ "name": "boolean"
4172
+ }
4173
+ },
4174
+ {
4175
+ "__schema": "PropertyLikeTagSchema",
4176
+ "location": {
4177
+ "filePath": "remove-components.ts",
4178
+ "line": 33,
4179
+ "character": 4
4180
+ },
4181
+ "name": "deleteFiles",
4182
+ "tagName": "parameter",
4183
+ "comment": "- delete local added files from fs.",
4184
+ "type": {
4185
+ "__schema": "KeywordTypeSchema",
4186
+ "location": {
4187
+ "filePath": "remove-components.ts",
4188
+ "line": 33,
4189
+ "character": 12
4190
+ },
4191
+ "name": "boolean"
4192
+ }
4193
+ }
4194
+ ]
4195
+ },
4196
+ "signature": "function removeComponents({ workspace, ids, force, remote, track, deleteFiles, }: {\n workspace?: Workspace;\n ids: ComponentIdList;\n force: boolean;\n remote: boolean;\n track: boolean;\n deleteFiles: boolean;\n}): Promise<RemoveComponentsResult>",
4197
+ "name": "removeComponents",
4198
+ "params": [
4199
+ {
4200
+ "__schema": "ParameterSchema",
4201
+ "location": {
4202
+ "filePath": "remove-components.ts",
4203
+ "line": 35,
4204
+ "character": 40
4205
+ },
4206
+ "name": "{ workspace, ids, force, remote, track, deleteFiles }",
4207
+ "type": {
4208
+ "__schema": "TypeLiteralSchema",
4209
+ "location": {
4210
+ "filePath": "remove-components.ts",
4211
+ "line": 42,
4212
+ "character": 4
4213
+ },
4214
+ "members": [
4215
+ {
4216
+ "__schema": "VariableLikeSchema",
4217
+ "location": {
4218
+ "filePath": "remove-components.ts",
4219
+ "line": 43,
4220
+ "character": 3
4221
+ },
4222
+ "signature": "(property) workspace?: Workspace | undefined",
4223
+ "name": "workspace",
4224
+ "type": {
4225
+ "__schema": "TypeRefSchema",
4226
+ "location": {
4227
+ "filePath": "remove-components.ts",
4228
+ "line": 43,
4229
+ "character": 15
4230
+ },
4231
+ "name": "Workspace"
4232
+ },
4233
+ "isOptional": true
4234
+ },
4235
+ {
4236
+ "__schema": "VariableLikeSchema",
4237
+ "location": {
4238
+ "filePath": "remove-components.ts",
4239
+ "line": 44,
4240
+ "character": 3
4241
+ },
4242
+ "signature": "(property) ids: ComponentIdList",
4243
+ "name": "ids",
4244
+ "type": {
4245
+ "__schema": "TypeRefSchema",
4246
+ "location": {
4247
+ "filePath": "remove-components.ts",
4248
+ "line": 44,
4249
+ "character": 3
4250
+ },
4251
+ "name": "ComponentIdList",
4252
+ "componentId": {
4253
+ "scope": "teambit.component",
4254
+ "name": "component-id",
4255
+ "version": "1.2.0"
4256
+ }
4257
+ },
4258
+ "isOptional": false
4259
+ },
4260
+ {
4261
+ "__schema": "VariableLikeSchema",
4262
+ "location": {
4263
+ "filePath": "remove-components.ts",
4264
+ "line": 45,
4265
+ "character": 3
4266
+ },
4267
+ "signature": "(property) force: boolean",
4268
+ "name": "force",
4269
+ "type": {
4270
+ "__schema": "KeywordTypeSchema",
4271
+ "location": {
4272
+ "filePath": "remove-components.ts",
4273
+ "line": 45,
4274
+ "character": 10
4275
+ },
4276
+ "name": "boolean"
4277
+ },
4278
+ "isOptional": false
4279
+ },
4280
+ {
4281
+ "__schema": "VariableLikeSchema",
4282
+ "location": {
4283
+ "filePath": "remove-components.ts",
4284
+ "line": 46,
4285
+ "character": 3
4286
+ },
4287
+ "signature": "(property) remote: boolean",
4288
+ "name": "remote",
4289
+ "type": {
4290
+ "__schema": "KeywordTypeSchema",
4291
+ "location": {
4292
+ "filePath": "remove-components.ts",
4293
+ "line": 46,
4294
+ "character": 11
4295
+ },
4296
+ "name": "boolean"
4297
+ },
4298
+ "isOptional": false
4299
+ },
4300
+ {
4301
+ "__schema": "VariableLikeSchema",
4302
+ "location": {
4303
+ "filePath": "remove-components.ts",
4304
+ "line": 47,
4305
+ "character": 3
4306
+ },
4307
+ "signature": "(property) track: boolean",
4308
+ "name": "track",
4309
+ "type": {
4310
+ "__schema": "KeywordTypeSchema",
4311
+ "location": {
4312
+ "filePath": "remove-components.ts",
4313
+ "line": 47,
4314
+ "character": 10
4315
+ },
4316
+ "name": "boolean"
4317
+ },
4318
+ "isOptional": false
4319
+ },
4320
+ {
4321
+ "__schema": "VariableLikeSchema",
4322
+ "location": {
4323
+ "filePath": "remove-components.ts",
4324
+ "line": 48,
4325
+ "character": 3
4326
+ },
4327
+ "signature": "(property) deleteFiles: boolean",
4328
+ "name": "deleteFiles",
4329
+ "type": {
4330
+ "__schema": "KeywordTypeSchema",
4331
+ "location": {
4332
+ "filePath": "remove-components.ts",
4333
+ "line": 48,
4334
+ "character": 16
4335
+ },
4336
+ "name": "boolean"
4337
+ },
4338
+ "isOptional": false
4339
+ }
4340
+ ]
4341
+ },
4342
+ "isOptional": false,
4343
+ "objectBindingNodes": [
4344
+ {
4345
+ "__schema": "VariableLikeSchema",
4346
+ "location": {
4347
+ "filePath": "remove-components.ts",
4348
+ "line": 43,
4349
+ "character": 3
4350
+ },
4351
+ "signature": "(property) workspace?: Workspace | undefined",
4352
+ "name": "workspace",
4353
+ "type": {
4354
+ "__schema": "TypeRefSchema",
4355
+ "location": {
4356
+ "filePath": "remove-components.ts",
4357
+ "line": 43,
4358
+ "character": 15
4359
+ },
4360
+ "name": "Workspace"
4361
+ },
4362
+ "isOptional": true
4363
+ },
4364
+ {
4365
+ "__schema": "VariableLikeSchema",
4366
+ "location": {
4367
+ "filePath": "remove-components.ts",
4368
+ "line": 44,
4369
+ "character": 3
4370
+ },
4371
+ "signature": "(property) ids: ComponentIdList",
4372
+ "name": "ids",
4373
+ "type": {
4374
+ "__schema": "TypeRefSchema",
4375
+ "location": {
4376
+ "filePath": "remove-components.ts",
4377
+ "line": 44,
4378
+ "character": 3
4379
+ },
4380
+ "name": "ComponentIdList",
4381
+ "componentId": {
4382
+ "scope": "teambit.component",
4383
+ "name": "component-id",
4384
+ "version": "1.2.0"
4385
+ }
4386
+ },
4387
+ "isOptional": false
4388
+ },
4389
+ {
4390
+ "__schema": "VariableLikeSchema",
4391
+ "location": {
4392
+ "filePath": "remove-components.ts",
4393
+ "line": 45,
4394
+ "character": 3
4395
+ },
4396
+ "signature": "(property) force: boolean",
4397
+ "name": "force",
4398
+ "type": {
4399
+ "__schema": "KeywordTypeSchema",
4400
+ "location": {
4401
+ "filePath": "remove-components.ts",
4402
+ "line": 45,
4403
+ "character": 10
4404
+ },
4405
+ "name": "boolean"
4406
+ },
4407
+ "isOptional": false
4408
+ },
4409
+ {
4410
+ "__schema": "VariableLikeSchema",
4411
+ "location": {
4412
+ "filePath": "remove-components.ts",
4413
+ "line": 46,
4414
+ "character": 3
4415
+ },
4416
+ "signature": "(property) remote: boolean",
4417
+ "name": "remote",
4418
+ "type": {
4419
+ "__schema": "KeywordTypeSchema",
4420
+ "location": {
4421
+ "filePath": "remove-components.ts",
4422
+ "line": 46,
4423
+ "character": 11
4424
+ },
4425
+ "name": "boolean"
4426
+ },
4427
+ "isOptional": false
4428
+ },
4429
+ {
4430
+ "__schema": "VariableLikeSchema",
4431
+ "location": {
4432
+ "filePath": "remove-components.ts",
4433
+ "line": 47,
4434
+ "character": 3
4435
+ },
4436
+ "signature": "(property) track: boolean",
4437
+ "name": "track",
4438
+ "type": {
4439
+ "__schema": "KeywordTypeSchema",
4440
+ "location": {
4441
+ "filePath": "remove-components.ts",
4442
+ "line": 47,
4443
+ "character": 10
4444
+ },
4445
+ "name": "boolean"
4446
+ },
4447
+ "isOptional": false
4448
+ },
4449
+ {
4450
+ "__schema": "VariableLikeSchema",
4451
+ "location": {
4452
+ "filePath": "remove-components.ts",
4453
+ "line": 48,
4454
+ "character": 3
4455
+ },
4456
+ "signature": "(property) deleteFiles: boolean",
4457
+ "name": "deleteFiles",
4458
+ "type": {
4459
+ "__schema": "KeywordTypeSchema",
4460
+ "location": {
4461
+ "filePath": "remove-components.ts",
4462
+ "line": 48,
4463
+ "character": 16
4464
+ },
4465
+ "name": "boolean"
4466
+ },
4467
+ "isOptional": false
4468
+ }
4469
+ ],
4470
+ "isSpread": false
4471
+ }
4472
+ ],
4473
+ "returnType": {
4474
+ "__schema": "TypeRefSchema",
4475
+ "location": {
4476
+ "filePath": "remove-components.ts",
4477
+ "line": 49,
4478
+ "character": 5
4479
+ },
4480
+ "name": "Promise",
4481
+ "typeArgs": [
4482
+ {
4483
+ "__schema": "TypeRefSchema",
4484
+ "location": {
4485
+ "filePath": "remove-components.ts",
4486
+ "line": 49,
4487
+ "character": 13
4488
+ },
4489
+ "name": "RemoveComponentsResult"
4490
+ }
4491
+ ]
4492
+ },
4493
+ "modifiers": [
4494
+ "export",
4495
+ "async"
4496
+ ]
4497
+ },
4498
+ {
4499
+ "__schema": "FunctionLikeSchema",
4500
+ "location": {
4501
+ "filePath": "remove-components.ts",
4502
+ "line": 189,
4503
+ "character": 1
4504
+ },
4505
+ "signature": "function removeComponentsFromNodeModules(consumer: Consumer, components: ConsumerComponent[]): Promise<void[]>",
4506
+ "name": "removeComponentsFromNodeModules",
4507
+ "params": [
4508
+ {
4509
+ "__schema": "ParameterSchema",
4510
+ "location": {
4511
+ "filePath": "remove-components.ts",
4512
+ "line": 189,
4513
+ "character": 55
4514
+ },
4515
+ "name": "consumer",
4516
+ "type": {
4517
+ "__schema": "TypeRefSchema",
4518
+ "location": {
4519
+ "filePath": "remove-components.ts",
4520
+ "line": 189,
4521
+ "character": 65
4522
+ },
4523
+ "name": "Consumer"
4524
+ },
4525
+ "isOptional": false,
4526
+ "isSpread": false
4527
+ },
4528
+ {
4529
+ "__schema": "ParameterSchema",
4530
+ "location": {
4531
+ "filePath": "remove-components.ts",
4532
+ "line": 189,
4533
+ "character": 75
4534
+ },
4535
+ "name": "components",
4536
+ "type": {
4537
+ "__schema": "TypeArraySchema",
4538
+ "location": {
4539
+ "filePath": "remove-components.ts",
4540
+ "line": 189,
4541
+ "character": 87
4542
+ },
4543
+ "type": {
4544
+ "__schema": "TypeRefSchema",
4545
+ "location": {
4546
+ "filePath": "remove-components.ts",
4547
+ "line": 189,
4548
+ "character": 87
4549
+ },
4550
+ "name": "ConsumerComponent"
4551
+ }
4552
+ },
4553
+ "isOptional": false,
4554
+ "isSpread": false
4555
+ }
4556
+ ],
4557
+ "returnType": {
4558
+ "__schema": "InferenceTypeSchema",
4559
+ "location": {
4560
+ "filePath": "remove-components.ts",
4561
+ "line": 189,
4562
+ "character": 1
4563
+ },
4564
+ "type": "Promise<void[]>"
4565
+ },
4566
+ "modifiers": [
4567
+ "export",
4568
+ "async"
4569
+ ]
4570
+ }
4571
+ ],
4572
+ "internals": [
4573
+ {
4574
+ "__schema": "FunctionLikeSchema",
4575
+ "location": {
4576
+ "filePath": "remove-components.ts",
4577
+ "line": 77,
4578
+ "character": 1
4579
+ },
4580
+ "doc": {
4581
+ "__schema": "DocSchema",
4582
+ "location": {
4583
+ "filePath": "remove-components.ts",
4584
+ "line": 71,
4585
+ "character": 1
4586
+ },
4587
+ "raw": "/**\n * Remove remote component from the remote\n * this method groups remote components by remote name and deletes remote components together\n * @param {ComponentIdList} bitIds - list of remote component ids to delete\n * @param {boolean} force - delete component that are used by other components.\n */",
4588
+ "comment": "Remove remote component from the remote\nthis method groups remote components by remote name and deletes remote components together",
4589
+ "tags": [
4590
+ {
4591
+ "__schema": "PropertyLikeTagSchema",
4592
+ "location": {
4593
+ "filePath": "remove-components.ts",
4594
+ "line": 74,
4595
+ "character": 4
4596
+ },
4597
+ "name": "bitIds",
4598
+ "tagName": "parameter",
4599
+ "comment": "- list of remote component ids to delete",
4600
+ "type": {
4601
+ "__schema": "TypeRefSchema",
4602
+ "location": {
4603
+ "filePath": "remove-components.ts",
4604
+ "line": 74,
4605
+ "character": 12
4606
+ },
4607
+ "name": "ComponentIdList"
4608
+ }
4609
+ },
4610
+ {
4611
+ "__schema": "PropertyLikeTagSchema",
4612
+ "location": {
4613
+ "filePath": "remove-components.ts",
4614
+ "line": 75,
4615
+ "character": 4
4616
+ },
4617
+ "name": "force",
4618
+ "tagName": "parameter",
4619
+ "comment": "- delete component that are used by other components.",
4620
+ "type": {
4621
+ "__schema": "KeywordTypeSchema",
4622
+ "location": {
4623
+ "filePath": "remove-components.ts",
4624
+ "line": 75,
4625
+ "character": 12
4626
+ },
4627
+ "name": "boolean"
4628
+ }
4629
+ }
4630
+ ]
4631
+ },
4632
+ "signature": "function removeRemote(workspace: Workspace | undefined, bitIds: ComponentIdList, force: boolean): Promise<RemovedObjects[]>",
4633
+ "name": "removeRemote",
4634
+ "params": [
4635
+ {
4636
+ "__schema": "ParameterSchema",
4637
+ "location": {
4638
+ "filePath": "remove-components.ts",
4639
+ "line": 78,
4640
+ "character": 3
4641
+ },
4642
+ "name": "workspace",
4643
+ "type": {
4644
+ "__schema": "TypeUnionSchema",
4645
+ "location": {
4646
+ "filePath": "remove-components.ts",
4647
+ "line": 78,
4648
+ "character": 14
4649
+ },
4650
+ "types": [
4651
+ {
4652
+ "__schema": "TypeRefSchema",
4653
+ "location": {
4654
+ "filePath": "remove-components.ts",
4655
+ "line": 78,
4656
+ "character": 14
4657
+ },
4658
+ "name": "Workspace"
4659
+ },
4660
+ {
4661
+ "__schema": "KeywordTypeSchema",
4662
+ "location": {
4663
+ "filePath": "remove-components.ts",
4664
+ "line": 78,
4665
+ "character": 26
4666
+ },
4667
+ "name": "undefined"
4668
+ }
4669
+ ]
4670
+ },
4671
+ "isOptional": false,
4672
+ "isSpread": false
4673
+ },
4674
+ {
4675
+ "__schema": "ParameterSchema",
4676
+ "location": {
4677
+ "filePath": "remove-components.ts",
4678
+ "line": 79,
4679
+ "character": 3
4680
+ },
4681
+ "name": "bitIds",
4682
+ "type": {
4683
+ "__schema": "TypeRefSchema",
4684
+ "location": {
4685
+ "filePath": "remove-components.ts",
4686
+ "line": 79,
4687
+ "character": 11
4688
+ },
4689
+ "name": "ComponentIdList"
4690
+ },
4691
+ "isOptional": false,
4692
+ "isSpread": false
4693
+ },
4694
+ {
4695
+ "__schema": "ParameterSchema",
4696
+ "location": {
4697
+ "filePath": "remove-components.ts",
4698
+ "line": 80,
4699
+ "character": 3
4700
+ },
4701
+ "name": "force",
4702
+ "type": {
4703
+ "__schema": "KeywordTypeSchema",
4704
+ "location": {
4705
+ "filePath": "remove-components.ts",
4706
+ "line": 80,
4707
+ "character": 10
4708
+ },
4709
+ "name": "boolean"
4710
+ },
4711
+ "isOptional": false,
4712
+ "isSpread": false
4713
+ }
4714
+ ],
4715
+ "returnType": {
4716
+ "__schema": "TypeRefSchema",
4717
+ "location": {
4718
+ "filePath": "remove-components.ts",
4719
+ "line": 81,
4720
+ "character": 4
4721
+ },
4722
+ "name": "Promise",
4723
+ "typeArgs": [
4724
+ {
4725
+ "__schema": "TypeArraySchema",
4726
+ "location": {
4727
+ "filePath": "remove-components.ts",
4728
+ "line": 81,
4729
+ "character": 12
4730
+ },
4731
+ "type": {
4732
+ "__schema": "TypeRefSchema",
4733
+ "location": {
4734
+ "filePath": "remove-components.ts",
4735
+ "line": 81,
4736
+ "character": 12
4737
+ },
4738
+ "name": "RemovedObjects"
4739
+ }
4740
+ }
4741
+ ]
4742
+ },
4743
+ "modifiers": [
4744
+ "async"
4745
+ ]
4746
+ },
4747
+ {
4748
+ "__schema": "FunctionLikeSchema",
4749
+ "location": {
4750
+ "filePath": "remove-components.ts",
4751
+ "line": 109,
4752
+ "character": 1
4753
+ },
4754
+ "doc": {
4755
+ "__schema": "DocSchema",
4756
+ "location": {
4757
+ "filePath": "remove-components.ts",
4758
+ "line": 103,
4759
+ "character": 1
4760
+ },
4761
+ "raw": "/**\n * removeLocal - remove local (imported, new staged components) from modules and bitmap according to flags\n * @param {ComponentIdList} bitIds - list of component ids to delete\n * @param {boolean} force - delete component that are used by other components.\n * @param {boolean} deleteFiles - delete component that are used by other components.\n */",
4762
+ "comment": "removeLocal - remove local (imported, new staged components) from modules and bitmap according to flags",
4763
+ "tags": [
4764
+ {
4765
+ "__schema": "PropertyLikeTagSchema",
4766
+ "location": {
4767
+ "filePath": "remove-components.ts",
4768
+ "line": 105,
4769
+ "character": 4
4770
+ },
4771
+ "name": "bitIds",
4772
+ "tagName": "parameter",
4773
+ "comment": "- list of component ids to delete",
4774
+ "type": {
4775
+ "__schema": "TypeRefSchema",
4776
+ "location": {
4777
+ "filePath": "remove-components.ts",
4778
+ "line": 105,
4779
+ "character": 12
4780
+ },
4781
+ "name": "ComponentIdList"
4782
+ }
4783
+ },
4784
+ {
4785
+ "__schema": "PropertyLikeTagSchema",
4786
+ "location": {
4787
+ "filePath": "remove-components.ts",
4788
+ "line": 106,
4789
+ "character": 4
4790
+ },
4791
+ "name": "force",
4792
+ "tagName": "parameter",
4793
+ "comment": "- delete component that are used by other components.",
4794
+ "type": {
4795
+ "__schema": "KeywordTypeSchema",
4796
+ "location": {
4797
+ "filePath": "remove-components.ts",
4798
+ "line": 106,
4799
+ "character": 12
4800
+ },
4801
+ "name": "boolean"
4802
+ }
4803
+ },
4804
+ {
4805
+ "__schema": "PropertyLikeTagSchema",
4806
+ "location": {
4807
+ "filePath": "remove-components.ts",
4808
+ "line": 107,
4809
+ "character": 4
4810
+ },
4811
+ "name": "deleteFiles",
4812
+ "tagName": "parameter",
4813
+ "comment": "- delete component that are used by other components.",
4814
+ "type": {
4815
+ "__schema": "KeywordTypeSchema",
4816
+ "location": {
4817
+ "filePath": "remove-components.ts",
4818
+ "line": 107,
4819
+ "character": 12
4820
+ },
4821
+ "name": "boolean"
4822
+ }
4823
+ }
4824
+ ]
4825
+ },
4826
+ "signature": "function removeLocal(workspace: Workspace, bitIds: ComponentIdList, force: boolean, track: boolean, deleteFiles: boolean): Promise<RemovedLocalObjects>",
4827
+ "name": "removeLocal",
4828
+ "params": [
4829
+ {
4830
+ "__schema": "ParameterSchema",
4831
+ "location": {
4832
+ "filePath": "remove-components.ts",
4833
+ "line": 110,
4834
+ "character": 3
4835
+ },
4836
+ "name": "workspace",
4837
+ "type": {
4838
+ "__schema": "TypeRefSchema",
4839
+ "location": {
4840
+ "filePath": "remove-components.ts",
4841
+ "line": 110,
4842
+ "character": 14
4843
+ },
4844
+ "name": "Workspace"
4845
+ },
4846
+ "isOptional": false,
4847
+ "isSpread": false
4848
+ },
4849
+ {
4850
+ "__schema": "ParameterSchema",
4851
+ "location": {
4852
+ "filePath": "remove-components.ts",
4853
+ "line": 111,
4854
+ "character": 3
4855
+ },
4856
+ "name": "bitIds",
4857
+ "type": {
4858
+ "__schema": "TypeRefSchema",
4859
+ "location": {
4860
+ "filePath": "remove-components.ts",
4861
+ "line": 111,
4862
+ "character": 11
4863
+ },
4864
+ "name": "ComponentIdList"
4865
+ },
4866
+ "isOptional": false,
4867
+ "isSpread": false
4868
+ },
4869
+ {
4870
+ "__schema": "ParameterSchema",
4871
+ "location": {
4872
+ "filePath": "remove-components.ts",
4873
+ "line": 112,
4874
+ "character": 3
4875
+ },
4876
+ "name": "force",
4877
+ "type": {
4878
+ "__schema": "KeywordTypeSchema",
4879
+ "location": {
4880
+ "filePath": "remove-components.ts",
4881
+ "line": 112,
4882
+ "character": 10
4883
+ },
4884
+ "name": "boolean"
4885
+ },
4886
+ "isOptional": false,
4887
+ "isSpread": false
4888
+ },
4889
+ {
4890
+ "__schema": "ParameterSchema",
4891
+ "location": {
4892
+ "filePath": "remove-components.ts",
4893
+ "line": 113,
4894
+ "character": 3
4895
+ },
4896
+ "name": "track",
4897
+ "type": {
4898
+ "__schema": "KeywordTypeSchema",
4899
+ "location": {
4900
+ "filePath": "remove-components.ts",
4901
+ "line": 113,
4902
+ "character": 10
4903
+ },
4904
+ "name": "boolean"
4905
+ },
4906
+ "isOptional": false,
4907
+ "isSpread": false
4908
+ },
4909
+ {
4910
+ "__schema": "ParameterSchema",
4911
+ "location": {
4912
+ "filePath": "remove-components.ts",
4913
+ "line": 114,
4914
+ "character": 3
4915
+ },
4916
+ "name": "deleteFiles",
4917
+ "type": {
4918
+ "__schema": "KeywordTypeSchema",
4919
+ "location": {
4920
+ "filePath": "remove-components.ts",
4921
+ "line": 114,
4922
+ "character": 16
4923
+ },
4924
+ "name": "boolean"
4925
+ },
4926
+ "isOptional": false,
4927
+ "isSpread": false
4928
+ }
4929
+ ],
4930
+ "returnType": {
4931
+ "__schema": "TypeRefSchema",
4932
+ "location": {
4933
+ "filePath": "remove-components.ts",
4934
+ "line": 115,
4935
+ "character": 4
4936
+ },
4937
+ "name": "Promise",
4938
+ "typeArgs": [
4939
+ {
4940
+ "__schema": "TypeRefSchema",
4941
+ "location": {
4942
+ "filePath": "remove-components.ts",
4943
+ "line": 115,
4944
+ "character": 12
4945
+ },
4946
+ "name": "RemovedLocalObjects"
4947
+ }
4948
+ ]
4949
+ },
4950
+ "modifiers": [
4951
+ "async"
4952
+ ]
4953
+ }
4954
+ ]
4955
+ },
4169
4956
  {
4170
4957
  "__schema": "ModuleSchema",
4171
4958
  "location": {
@@ -4207,7 +4994,7 @@
4207
4994
  "componentId": {
4208
4995
  "scope": "teambit.component",
4209
4996
  "name": "remove",
4210
- "version": "1.0.330"
4997
+ "version": "1.0.331"
4211
4998
  },
4212
4999
  "taggedModuleExports": []
4213
5000
  }