@teambit/remove 1.0.257 → 1.0.258

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