@teambit/remove 1.0.258 → 1.0.259

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