@teambit/eject 1.0.512 → 1.0.514

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1880 @@
1
+ {
2
+ "__schema": "APISchema",
3
+ "location": {
4
+ "filePath": "index.ts",
5
+ "line": 1,
6
+ "character": 1
7
+ },
8
+ "module": {
9
+ "__schema": "ModuleSchema",
10
+ "location": {
11
+ "filePath": "index.ts",
12
+ "line": 1,
13
+ "character": 1
14
+ },
15
+ "exports": [
16
+ {
17
+ "__schema": "ExportSchema",
18
+ "location": {
19
+ "filePath": "index.ts",
20
+ "line": 1,
21
+ "character": 15
22
+ },
23
+ "signature": "class EjectMain",
24
+ "name": "EjectMain",
25
+ "exportNode": {
26
+ "__schema": "ClassSchema",
27
+ "location": {
28
+ "filePath": "eject.main.runtime.ts",
29
+ "line": 10,
30
+ "character": 1
31
+ },
32
+ "signature": "class EjectMain",
33
+ "name": "EjectMain",
34
+ "members": [
35
+ {
36
+ "__schema": "ConstructorSchema",
37
+ "location": {
38
+ "filePath": "eject.main.runtime.ts",
39
+ "line": 11,
40
+ "character": 3
41
+ },
42
+ "signature": "constructor EjectMain(workspace: Workspace, install: InstallMain, logger: Logger): EjectMain",
43
+ "name": "constructor",
44
+ "params": [
45
+ {
46
+ "__schema": "ParameterSchema",
47
+ "location": {
48
+ "filePath": "eject.main.runtime.ts",
49
+ "line": 12,
50
+ "character": 5
51
+ },
52
+ "name": "workspace",
53
+ "type": {
54
+ "__schema": "TypeRefSchema",
55
+ "location": {
56
+ "filePath": "eject.main.runtime.ts",
57
+ "line": 12,
58
+ "character": 24
59
+ },
60
+ "name": "Workspace",
61
+ "componentId": {
62
+ "scope": "teambit.workspace",
63
+ "name": "workspace"
64
+ }
65
+ },
66
+ "isOptional": false,
67
+ "isSpread": false
68
+ },
69
+ {
70
+ "__schema": "ParameterSchema",
71
+ "location": {
72
+ "filePath": "eject.main.runtime.ts",
73
+ "line": 13,
74
+ "character": 5
75
+ },
76
+ "name": "install",
77
+ "type": {
78
+ "__schema": "TypeRefSchema",
79
+ "location": {
80
+ "filePath": "eject.main.runtime.ts",
81
+ "line": 13,
82
+ "character": 22
83
+ },
84
+ "name": "InstallMain",
85
+ "componentId": {
86
+ "scope": "teambit.workspace",
87
+ "name": "install"
88
+ }
89
+ },
90
+ "isOptional": false,
91
+ "isSpread": false
92
+ },
93
+ {
94
+ "__schema": "ParameterSchema",
95
+ "location": {
96
+ "filePath": "eject.main.runtime.ts",
97
+ "line": 14,
98
+ "character": 5
99
+ },
100
+ "name": "logger",
101
+ "type": {
102
+ "__schema": "TypeRefSchema",
103
+ "location": {
104
+ "filePath": "eject.main.runtime.ts",
105
+ "line": 14,
106
+ "character": 21
107
+ },
108
+ "name": "Logger",
109
+ "componentId": {
110
+ "scope": "teambit.harmony",
111
+ "name": "logger"
112
+ }
113
+ },
114
+ "isOptional": false,
115
+ "isSpread": false
116
+ }
117
+ ],
118
+ "returnType": {
119
+ "__schema": "ThisTypeSchema",
120
+ "location": {
121
+ "filePath": "eject.main.runtime.ts",
122
+ "line": 10,
123
+ "character": 1
124
+ },
125
+ "name": "EjectMain"
126
+ },
127
+ "modifiers": []
128
+ },
129
+ {
130
+ "__schema": "FunctionLikeSchema",
131
+ "location": {
132
+ "filePath": "eject.main.runtime.ts",
133
+ "line": 16,
134
+ "character": 3
135
+ },
136
+ "signature": "(method) EjectMain.eject(componentIds: ComponentID[], ejectOptions?: EjectOptions): Promise<EjectResults>",
137
+ "name": "eject",
138
+ "params": [
139
+ {
140
+ "__schema": "ParameterSchema",
141
+ "location": {
142
+ "filePath": "eject.main.runtime.ts",
143
+ "line": 16,
144
+ "character": 15
145
+ },
146
+ "name": "componentIds",
147
+ "type": {
148
+ "__schema": "TypeArraySchema",
149
+ "location": {
150
+ "filePath": "eject.main.runtime.ts",
151
+ "line": 16,
152
+ "character": 29
153
+ },
154
+ "type": {
155
+ "__schema": "TypeRefSchema",
156
+ "location": {
157
+ "filePath": "eject.main.runtime.ts",
158
+ "line": 16,
159
+ "character": 29
160
+ },
161
+ "name": "ComponentID",
162
+ "componentId": {
163
+ "scope": "teambit.component",
164
+ "name": "component-id",
165
+ "version": "1.2.2"
166
+ }
167
+ }
168
+ },
169
+ "isOptional": false,
170
+ "isSpread": false
171
+ },
172
+ {
173
+ "__schema": "ParameterSchema",
174
+ "location": {
175
+ "filePath": "eject.main.runtime.ts",
176
+ "line": 16,
177
+ "character": 44
178
+ },
179
+ "name": "ejectOptions",
180
+ "type": {
181
+ "__schema": "TypeRefSchema",
182
+ "location": {
183
+ "filePath": "eject.main.runtime.ts",
184
+ "line": 16,
185
+ "character": 58
186
+ },
187
+ "name": "EjectOptions",
188
+ "internalFilePath": "components-ejector.ts"
189
+ },
190
+ "isOptional": true,
191
+ "defaultValue": "{}",
192
+ "isSpread": false
193
+ }
194
+ ],
195
+ "returnType": {
196
+ "__schema": "TypeRefSchema",
197
+ "location": {
198
+ "filePath": "eject.main.runtime.ts",
199
+ "line": 16,
200
+ "character": 78
201
+ },
202
+ "name": "Promise",
203
+ "typeArgs": [
204
+ {
205
+ "__schema": "TypeRefSchema",
206
+ "location": {
207
+ "filePath": "eject.main.runtime.ts",
208
+ "line": 16,
209
+ "character": 86
210
+ },
211
+ "name": "EjectResults"
212
+ }
213
+ ]
214
+ },
215
+ "modifiers": [
216
+ "async"
217
+ ]
218
+ },
219
+ {
220
+ "__schema": "VariableLikeSchema",
221
+ "location": {
222
+ "filePath": "eject.main.runtime.ts",
223
+ "line": 28,
224
+ "character": 3
225
+ },
226
+ "signature": "(property) EjectMain.runtime: RuntimeDefinition",
227
+ "name": "runtime",
228
+ "type": {
229
+ "__schema": "InferenceTypeSchema",
230
+ "location": {
231
+ "filePath": "eject.main.runtime.ts",
232
+ "line": 28,
233
+ "character": 3
234
+ },
235
+ "type": "RuntimeDefinition"
236
+ },
237
+ "isOptional": true,
238
+ "defaultValue": "MainRuntime"
239
+ },
240
+ {
241
+ "__schema": "VariableLikeSchema",
242
+ "location": {
243
+ "filePath": "eject.main.runtime.ts",
244
+ "line": 30,
245
+ "character": 3
246
+ },
247
+ "signature": "(property) EjectMain.dependencies: Aspect[]",
248
+ "name": "dependencies",
249
+ "type": {
250
+ "__schema": "InferenceTypeSchema",
251
+ "location": {
252
+ "filePath": "eject.main.runtime.ts",
253
+ "line": 30,
254
+ "character": 3
255
+ },
256
+ "type": "Aspect[]"
257
+ },
258
+ "isOptional": true,
259
+ "defaultValue": "[CLIAspect, WorkspaceAspect, LoggerAspect, InstallAspect]"
260
+ },
261
+ {
262
+ "__schema": "FunctionLikeSchema",
263
+ "location": {
264
+ "filePath": "eject.main.runtime.ts",
265
+ "line": 32,
266
+ "character": 3
267
+ },
268
+ "signature": "(method) EjectMain.provider([cli, workspace, loggerMain, install]: [CLIMain, Workspace, LoggerMain, InstallMain]): Promise<EjectMain>",
269
+ "name": "provider",
270
+ "params": [
271
+ {
272
+ "__schema": "ParameterSchema",
273
+ "location": {
274
+ "filePath": "eject.main.runtime.ts",
275
+ "line": 32,
276
+ "character": 25
277
+ },
278
+ "name": "[ cli, workspace, loggerMain, install ]",
279
+ "type": {
280
+ "__schema": "TupleTypeSchema",
281
+ "location": {
282
+ "filePath": "eject.main.runtime.ts",
283
+ "line": 32,
284
+ "character": 64
285
+ },
286
+ "elements": [
287
+ {
288
+ "__schema": "TypeRefSchema",
289
+ "location": {
290
+ "filePath": "eject.main.runtime.ts",
291
+ "line": 32,
292
+ "character": 65
293
+ },
294
+ "name": "CLIMain",
295
+ "componentId": {
296
+ "scope": "teambit.harmony",
297
+ "name": "cli"
298
+ }
299
+ },
300
+ {
301
+ "__schema": "TypeRefSchema",
302
+ "location": {
303
+ "filePath": "eject.main.runtime.ts",
304
+ "line": 32,
305
+ "character": 74
306
+ },
307
+ "name": "Workspace",
308
+ "componentId": {
309
+ "scope": "teambit.workspace",
310
+ "name": "workspace"
311
+ }
312
+ },
313
+ {
314
+ "__schema": "TypeRefSchema",
315
+ "location": {
316
+ "filePath": "eject.main.runtime.ts",
317
+ "line": 32,
318
+ "character": 85
319
+ },
320
+ "name": "LoggerMain",
321
+ "componentId": {
322
+ "scope": "teambit.harmony",
323
+ "name": "logger"
324
+ }
325
+ },
326
+ {
327
+ "__schema": "TypeRefSchema",
328
+ "location": {
329
+ "filePath": "eject.main.runtime.ts",
330
+ "line": 32,
331
+ "character": 97
332
+ },
333
+ "name": "InstallMain",
334
+ "componentId": {
335
+ "scope": "teambit.workspace",
336
+ "name": "install"
337
+ }
338
+ }
339
+ ]
340
+ },
341
+ "isOptional": false,
342
+ "isSpread": false
343
+ }
344
+ ],
345
+ "returnType": {
346
+ "__schema": "InferenceTypeSchema",
347
+ "location": {
348
+ "filePath": "eject.main.runtime.ts",
349
+ "line": 32,
350
+ "character": 3
351
+ },
352
+ "type": "Promise<EjectMain>"
353
+ },
354
+ "modifiers": [
355
+ "static",
356
+ "async"
357
+ ]
358
+ }
359
+ ],
360
+ "extendsNodes": [],
361
+ "implementNodes": []
362
+ }
363
+ },
364
+ {
365
+ "__schema": "ExportSchema",
366
+ "location": {
367
+ "filePath": "index.ts",
368
+ "line": 2,
369
+ "character": 15
370
+ },
371
+ "signature": "type EjectResults = {\n ejectedComponents: ComponentIdList;\n failedComponents: FailedComponents;\n}",
372
+ "name": "EjectResults",
373
+ "exportNode": {
374
+ "__schema": "TypeSchema",
375
+ "location": {
376
+ "filePath": "components-ejector.ts",
377
+ "line": 22,
378
+ "character": 1
379
+ },
380
+ "signature": "type EjectResults = {\n ejectedComponents: ComponentIdList;\n failedComponents: FailedComponents;\n}",
381
+ "name": "EjectResults",
382
+ "type": {
383
+ "__schema": "TypeLiteralSchema",
384
+ "location": {
385
+ "filePath": "components-ejector.ts",
386
+ "line": 22,
387
+ "character": 28
388
+ },
389
+ "members": [
390
+ {
391
+ "__schema": "VariableLikeSchema",
392
+ "location": {
393
+ "filePath": "components-ejector.ts",
394
+ "line": 23,
395
+ "character": 3
396
+ },
397
+ "signature": "(property) ejectedComponents: ComponentIdList",
398
+ "name": "ejectedComponents",
399
+ "type": {
400
+ "__schema": "TypeRefSchema",
401
+ "location": {
402
+ "filePath": "components-ejector.ts",
403
+ "line": 23,
404
+ "character": 3
405
+ },
406
+ "name": "ComponentIdList",
407
+ "componentId": {
408
+ "scope": "teambit.component",
409
+ "name": "component-id",
410
+ "version": "1.2.2"
411
+ }
412
+ },
413
+ "isOptional": false
414
+ },
415
+ {
416
+ "__schema": "VariableLikeSchema",
417
+ "location": {
418
+ "filePath": "components-ejector.ts",
419
+ "line": 24,
420
+ "character": 3
421
+ },
422
+ "signature": "(property) failedComponents: FailedComponents",
423
+ "name": "failedComponents",
424
+ "type": {
425
+ "__schema": "TypeRefSchema",
426
+ "location": {
427
+ "filePath": "components-ejector.ts",
428
+ "line": 24,
429
+ "character": 3
430
+ },
431
+ "name": "FailedComponents",
432
+ "internalFilePath": "components-ejector.ts"
433
+ },
434
+ "isOptional": false
435
+ }
436
+ ]
437
+ }
438
+ }
439
+ },
440
+ {
441
+ "__schema": "ExportSchema",
442
+ "location": {
443
+ "filePath": "index.ts",
444
+ "line": 3,
445
+ "character": 10
446
+ },
447
+ "signature": "const successEjectMessage: \"successfully ejected the following components\"",
448
+ "name": "successEjectMessage",
449
+ "exportNode": {
450
+ "__schema": "VariableLikeSchema",
451
+ "location": {
452
+ "filePath": "eject-template.ts",
453
+ "line": 6,
454
+ "character": 14
455
+ },
456
+ "signature": "const successEjectMessage: \"successfully ejected the following components\"",
457
+ "name": "successEjectMessage",
458
+ "type": {
459
+ "__schema": "InferenceTypeSchema",
460
+ "location": {
461
+ "filePath": "eject-template.ts",
462
+ "line": 6,
463
+ "character": 14
464
+ },
465
+ "type": "\"successfully ejected the following components\""
466
+ },
467
+ "isOptional": false,
468
+ "defaultValue": "'successfully ejected the following components'"
469
+ }
470
+ },
471
+ {
472
+ "__schema": "ExportSchema",
473
+ "location": {
474
+ "filePath": "index.ts",
475
+ "line": 3,
476
+ "character": 31
477
+ },
478
+ "signature": "function ejectTemplate(ejectResults: EjectResults): string",
479
+ "name": "ejectTemplate",
480
+ "exportNode": {
481
+ "__schema": "FunctionLikeSchema",
482
+ "location": {
483
+ "filePath": "eject-template.ts",
484
+ "line": 9,
485
+ "character": 1
486
+ },
487
+ "signature": "function ejectTemplate(ejectResults: EjectResults): string",
488
+ "name": "ejectTemplate",
489
+ "params": [
490
+ {
491
+ "__schema": "ParameterSchema",
492
+ "location": {
493
+ "filePath": "eject-template.ts",
494
+ "line": 9,
495
+ "character": 31
496
+ },
497
+ "name": "ejectResults",
498
+ "type": {
499
+ "__schema": "TypeRefSchema",
500
+ "location": {
501
+ "filePath": "eject-template.ts",
502
+ "line": 9,
503
+ "character": 45
504
+ },
505
+ "name": "EjectResults"
506
+ },
507
+ "isOptional": false,
508
+ "isSpread": false
509
+ }
510
+ ],
511
+ "returnType": {
512
+ "__schema": "KeywordTypeSchema",
513
+ "location": {
514
+ "filePath": "eject-template.ts",
515
+ "line": 9,
516
+ "character": 60
517
+ },
518
+ "name": "string"
519
+ },
520
+ "modifiers": [
521
+ "export"
522
+ ]
523
+ }
524
+ },
525
+ {
526
+ "__schema": "ExportSchema",
527
+ "location": {
528
+ "filePath": "index.ts",
529
+ "line": 4,
530
+ "character": 10
531
+ },
532
+ "signature": "const EjectAspect: Aspect",
533
+ "name": "EjectAspect",
534
+ "exportNode": {
535
+ "__schema": "VariableLikeSchema",
536
+ "location": {
537
+ "filePath": "eject.aspect.ts",
538
+ "line": 3,
539
+ "character": 14
540
+ },
541
+ "signature": "const EjectAspect: Aspect",
542
+ "name": "EjectAspect",
543
+ "type": {
544
+ "__schema": "TypeRefSchema",
545
+ "location": {
546
+ "filePath": "eject.aspect.ts",
547
+ "line": 3,
548
+ "character": 14
549
+ },
550
+ "name": "Aspect",
551
+ "componentId": {
552
+ "scope": "teambit.harmony",
553
+ "name": "harmony",
554
+ "version": "0.4.6"
555
+ }
556
+ },
557
+ "isOptional": false,
558
+ "defaultValue": "Aspect.create({\n id: 'teambit.workspace/eject',\n})"
559
+ }
560
+ }
561
+ ],
562
+ "internals": []
563
+ },
564
+ "internals": [
565
+ {
566
+ "__schema": "ModuleSchema",
567
+ "location": {
568
+ "filePath": "eject.main.runtime.ts",
569
+ "line": 1,
570
+ "character": 1
571
+ },
572
+ "exports": [
573
+ {
574
+ "__schema": "ClassSchema",
575
+ "location": {
576
+ "filePath": "eject.main.runtime.ts",
577
+ "line": 10,
578
+ "character": 1
579
+ },
580
+ "signature": "class EjectMain",
581
+ "name": "EjectMain",
582
+ "members": [
583
+ {
584
+ "__schema": "ConstructorSchema",
585
+ "location": {
586
+ "filePath": "eject.main.runtime.ts",
587
+ "line": 11,
588
+ "character": 3
589
+ },
590
+ "signature": "constructor EjectMain(workspace: Workspace, install: InstallMain, logger: Logger): EjectMain",
591
+ "name": "constructor",
592
+ "params": [
593
+ {
594
+ "__schema": "ParameterSchema",
595
+ "location": {
596
+ "filePath": "eject.main.runtime.ts",
597
+ "line": 12,
598
+ "character": 5
599
+ },
600
+ "name": "workspace",
601
+ "type": {
602
+ "__schema": "TypeRefSchema",
603
+ "location": {
604
+ "filePath": "eject.main.runtime.ts",
605
+ "line": 12,
606
+ "character": 24
607
+ },
608
+ "name": "Workspace",
609
+ "componentId": {
610
+ "scope": "teambit.workspace",
611
+ "name": "workspace"
612
+ }
613
+ },
614
+ "isOptional": false,
615
+ "isSpread": false
616
+ },
617
+ {
618
+ "__schema": "ParameterSchema",
619
+ "location": {
620
+ "filePath": "eject.main.runtime.ts",
621
+ "line": 13,
622
+ "character": 5
623
+ },
624
+ "name": "install",
625
+ "type": {
626
+ "__schema": "TypeRefSchema",
627
+ "location": {
628
+ "filePath": "eject.main.runtime.ts",
629
+ "line": 13,
630
+ "character": 22
631
+ },
632
+ "name": "InstallMain",
633
+ "componentId": {
634
+ "scope": "teambit.workspace",
635
+ "name": "install"
636
+ }
637
+ },
638
+ "isOptional": false,
639
+ "isSpread": false
640
+ },
641
+ {
642
+ "__schema": "ParameterSchema",
643
+ "location": {
644
+ "filePath": "eject.main.runtime.ts",
645
+ "line": 14,
646
+ "character": 5
647
+ },
648
+ "name": "logger",
649
+ "type": {
650
+ "__schema": "TypeRefSchema",
651
+ "location": {
652
+ "filePath": "eject.main.runtime.ts",
653
+ "line": 14,
654
+ "character": 21
655
+ },
656
+ "name": "Logger",
657
+ "componentId": {
658
+ "scope": "teambit.harmony",
659
+ "name": "logger"
660
+ }
661
+ },
662
+ "isOptional": false,
663
+ "isSpread": false
664
+ }
665
+ ],
666
+ "returnType": {
667
+ "__schema": "ThisTypeSchema",
668
+ "location": {
669
+ "filePath": "eject.main.runtime.ts",
670
+ "line": 10,
671
+ "character": 1
672
+ },
673
+ "name": "EjectMain"
674
+ },
675
+ "modifiers": []
676
+ },
677
+ {
678
+ "__schema": "FunctionLikeSchema",
679
+ "location": {
680
+ "filePath": "eject.main.runtime.ts",
681
+ "line": 16,
682
+ "character": 3
683
+ },
684
+ "signature": "(method) EjectMain.eject(componentIds: ComponentID[], ejectOptions?: EjectOptions): Promise<EjectResults>",
685
+ "name": "eject",
686
+ "params": [
687
+ {
688
+ "__schema": "ParameterSchema",
689
+ "location": {
690
+ "filePath": "eject.main.runtime.ts",
691
+ "line": 16,
692
+ "character": 15
693
+ },
694
+ "name": "componentIds",
695
+ "type": {
696
+ "__schema": "TypeArraySchema",
697
+ "location": {
698
+ "filePath": "eject.main.runtime.ts",
699
+ "line": 16,
700
+ "character": 29
701
+ },
702
+ "type": {
703
+ "__schema": "TypeRefSchema",
704
+ "location": {
705
+ "filePath": "eject.main.runtime.ts",
706
+ "line": 16,
707
+ "character": 29
708
+ },
709
+ "name": "ComponentID",
710
+ "componentId": {
711
+ "scope": "teambit.component",
712
+ "name": "component-id",
713
+ "version": "1.2.2"
714
+ }
715
+ }
716
+ },
717
+ "isOptional": false,
718
+ "isSpread": false
719
+ },
720
+ {
721
+ "__schema": "ParameterSchema",
722
+ "location": {
723
+ "filePath": "eject.main.runtime.ts",
724
+ "line": 16,
725
+ "character": 44
726
+ },
727
+ "name": "ejectOptions",
728
+ "type": {
729
+ "__schema": "TypeRefSchema",
730
+ "location": {
731
+ "filePath": "eject.main.runtime.ts",
732
+ "line": 16,
733
+ "character": 58
734
+ },
735
+ "name": "EjectOptions",
736
+ "internalFilePath": "components-ejector.ts"
737
+ },
738
+ "isOptional": true,
739
+ "defaultValue": "{}",
740
+ "isSpread": false
741
+ }
742
+ ],
743
+ "returnType": {
744
+ "__schema": "TypeRefSchema",
745
+ "location": {
746
+ "filePath": "eject.main.runtime.ts",
747
+ "line": 16,
748
+ "character": 78
749
+ },
750
+ "name": "Promise",
751
+ "typeArgs": [
752
+ {
753
+ "__schema": "TypeRefSchema",
754
+ "location": {
755
+ "filePath": "eject.main.runtime.ts",
756
+ "line": 16,
757
+ "character": 86
758
+ },
759
+ "name": "EjectResults"
760
+ }
761
+ ]
762
+ },
763
+ "modifiers": [
764
+ "async"
765
+ ]
766
+ },
767
+ {
768
+ "__schema": "VariableLikeSchema",
769
+ "location": {
770
+ "filePath": "eject.main.runtime.ts",
771
+ "line": 28,
772
+ "character": 3
773
+ },
774
+ "signature": "(property) EjectMain.runtime: RuntimeDefinition",
775
+ "name": "runtime",
776
+ "type": {
777
+ "__schema": "InferenceTypeSchema",
778
+ "location": {
779
+ "filePath": "eject.main.runtime.ts",
780
+ "line": 28,
781
+ "character": 3
782
+ },
783
+ "type": "RuntimeDefinition"
784
+ },
785
+ "isOptional": true,
786
+ "defaultValue": "MainRuntime"
787
+ },
788
+ {
789
+ "__schema": "VariableLikeSchema",
790
+ "location": {
791
+ "filePath": "eject.main.runtime.ts",
792
+ "line": 30,
793
+ "character": 3
794
+ },
795
+ "signature": "(property) EjectMain.dependencies: Aspect[]",
796
+ "name": "dependencies",
797
+ "type": {
798
+ "__schema": "InferenceTypeSchema",
799
+ "location": {
800
+ "filePath": "eject.main.runtime.ts",
801
+ "line": 30,
802
+ "character": 3
803
+ },
804
+ "type": "Aspect[]"
805
+ },
806
+ "isOptional": true,
807
+ "defaultValue": "[CLIAspect, WorkspaceAspect, LoggerAspect, InstallAspect]"
808
+ },
809
+ {
810
+ "__schema": "FunctionLikeSchema",
811
+ "location": {
812
+ "filePath": "eject.main.runtime.ts",
813
+ "line": 32,
814
+ "character": 3
815
+ },
816
+ "signature": "(method) EjectMain.provider([cli, workspace, loggerMain, install]: [CLIMain, Workspace, LoggerMain, InstallMain]): Promise<EjectMain>",
817
+ "name": "provider",
818
+ "params": [
819
+ {
820
+ "__schema": "ParameterSchema",
821
+ "location": {
822
+ "filePath": "eject.main.runtime.ts",
823
+ "line": 32,
824
+ "character": 25
825
+ },
826
+ "name": "[ cli, workspace, loggerMain, install ]",
827
+ "type": {
828
+ "__schema": "TupleTypeSchema",
829
+ "location": {
830
+ "filePath": "eject.main.runtime.ts",
831
+ "line": 32,
832
+ "character": 64
833
+ },
834
+ "elements": [
835
+ {
836
+ "__schema": "TypeRefSchema",
837
+ "location": {
838
+ "filePath": "eject.main.runtime.ts",
839
+ "line": 32,
840
+ "character": 65
841
+ },
842
+ "name": "CLIMain",
843
+ "componentId": {
844
+ "scope": "teambit.harmony",
845
+ "name": "cli"
846
+ }
847
+ },
848
+ {
849
+ "__schema": "TypeRefSchema",
850
+ "location": {
851
+ "filePath": "eject.main.runtime.ts",
852
+ "line": 32,
853
+ "character": 74
854
+ },
855
+ "name": "Workspace",
856
+ "componentId": {
857
+ "scope": "teambit.workspace",
858
+ "name": "workspace"
859
+ }
860
+ },
861
+ {
862
+ "__schema": "TypeRefSchema",
863
+ "location": {
864
+ "filePath": "eject.main.runtime.ts",
865
+ "line": 32,
866
+ "character": 85
867
+ },
868
+ "name": "LoggerMain",
869
+ "componentId": {
870
+ "scope": "teambit.harmony",
871
+ "name": "logger"
872
+ }
873
+ },
874
+ {
875
+ "__schema": "TypeRefSchema",
876
+ "location": {
877
+ "filePath": "eject.main.runtime.ts",
878
+ "line": 32,
879
+ "character": 97
880
+ },
881
+ "name": "InstallMain",
882
+ "componentId": {
883
+ "scope": "teambit.workspace",
884
+ "name": "install"
885
+ }
886
+ }
887
+ ]
888
+ },
889
+ "isOptional": false,
890
+ "isSpread": false
891
+ }
892
+ ],
893
+ "returnType": {
894
+ "__schema": "InferenceTypeSchema",
895
+ "location": {
896
+ "filePath": "eject.main.runtime.ts",
897
+ "line": 32,
898
+ "character": 3
899
+ },
900
+ "type": "Promise<EjectMain>"
901
+ },
902
+ "modifiers": [
903
+ "static",
904
+ "async"
905
+ ]
906
+ }
907
+ ],
908
+ "extendsNodes": [],
909
+ "implementNodes": []
910
+ }
911
+ ],
912
+ "internals": [
913
+ {
914
+ "__schema": "UnImplementedSchema",
915
+ "location": {
916
+ "filePath": "eject.main.runtime.ts",
917
+ "line": 41,
918
+ "character": 1
919
+ },
920
+ "name": "EjectAspect.addRuntime(EjectMain);",
921
+ "type": "ExpressionStatement"
922
+ }
923
+ ]
924
+ },
925
+ {
926
+ "__schema": "ModuleSchema",
927
+ "location": {
928
+ "filePath": "components-ejector.ts",
929
+ "line": 10,
930
+ "character": 1
931
+ },
932
+ "exports": [
933
+ {
934
+ "__schema": "TypeSchema",
935
+ "location": {
936
+ "filePath": "components-ejector.ts",
937
+ "line": 22,
938
+ "character": 1
939
+ },
940
+ "signature": "type EjectResults = {\n ejectedComponents: ComponentIdList;\n failedComponents: FailedComponents;\n}",
941
+ "name": "EjectResults",
942
+ "type": {
943
+ "__schema": "TypeLiteralSchema",
944
+ "location": {
945
+ "filePath": "components-ejector.ts",
946
+ "line": 22,
947
+ "character": 28
948
+ },
949
+ "members": [
950
+ {
951
+ "__schema": "VariableLikeSchema",
952
+ "location": {
953
+ "filePath": "components-ejector.ts",
954
+ "line": 23,
955
+ "character": 3
956
+ },
957
+ "signature": "(property) ejectedComponents: ComponentIdList",
958
+ "name": "ejectedComponents",
959
+ "type": {
960
+ "__schema": "TypeRefSchema",
961
+ "location": {
962
+ "filePath": "components-ejector.ts",
963
+ "line": 23,
964
+ "character": 3
965
+ },
966
+ "name": "ComponentIdList",
967
+ "componentId": {
968
+ "scope": "teambit.component",
969
+ "name": "component-id",
970
+ "version": "1.2.2"
971
+ }
972
+ },
973
+ "isOptional": false
974
+ },
975
+ {
976
+ "__schema": "VariableLikeSchema",
977
+ "location": {
978
+ "filePath": "components-ejector.ts",
979
+ "line": 24,
980
+ "character": 3
981
+ },
982
+ "signature": "(property) failedComponents: FailedComponents",
983
+ "name": "failedComponents",
984
+ "type": {
985
+ "__schema": "TypeRefSchema",
986
+ "location": {
987
+ "filePath": "components-ejector.ts",
988
+ "line": 24,
989
+ "character": 3
990
+ },
991
+ "name": "FailedComponents",
992
+ "internalFilePath": "components-ejector.ts"
993
+ },
994
+ "isOptional": false
995
+ }
996
+ ]
997
+ }
998
+ },
999
+ {
1000
+ "__schema": "TypeSchema",
1001
+ "location": {
1002
+ "filePath": "components-ejector.ts",
1003
+ "line": 27,
1004
+ "character": 1
1005
+ },
1006
+ "signature": "type EjectOptions = {\n force?: boolean;\n keepFiles?: boolean;\n skipDependencyInstallation?: boolean;\n}",
1007
+ "name": "EjectOptions",
1008
+ "type": {
1009
+ "__schema": "TypeLiteralSchema",
1010
+ "location": {
1011
+ "filePath": "components-ejector.ts",
1012
+ "line": 27,
1013
+ "character": 28
1014
+ },
1015
+ "members": [
1016
+ {
1017
+ "__schema": "VariableLikeSchema",
1018
+ "location": {
1019
+ "filePath": "components-ejector.ts",
1020
+ "line": 28,
1021
+ "character": 3
1022
+ },
1023
+ "signature": "(property) force?: boolean | undefined",
1024
+ "name": "force",
1025
+ "type": {
1026
+ "__schema": "KeywordTypeSchema",
1027
+ "location": {
1028
+ "filePath": "components-ejector.ts",
1029
+ "line": 28,
1030
+ "character": 11
1031
+ },
1032
+ "name": "boolean"
1033
+ },
1034
+ "isOptional": true
1035
+ },
1036
+ {
1037
+ "__schema": "VariableLikeSchema",
1038
+ "location": {
1039
+ "filePath": "components-ejector.ts",
1040
+ "line": 29,
1041
+ "character": 3
1042
+ },
1043
+ "signature": "(property) keepFiles?: boolean | undefined",
1044
+ "name": "keepFiles",
1045
+ "type": {
1046
+ "__schema": "KeywordTypeSchema",
1047
+ "location": {
1048
+ "filePath": "components-ejector.ts",
1049
+ "line": 29,
1050
+ "character": 15
1051
+ },
1052
+ "name": "boolean"
1053
+ },
1054
+ "isOptional": true
1055
+ },
1056
+ {
1057
+ "__schema": "VariableLikeSchema",
1058
+ "location": {
1059
+ "filePath": "components-ejector.ts",
1060
+ "line": 30,
1061
+ "character": 3
1062
+ },
1063
+ "signature": "(property) skipDependencyInstallation?: boolean | undefined",
1064
+ "name": "skipDependencyInstallation",
1065
+ "type": {
1066
+ "__schema": "KeywordTypeSchema",
1067
+ "location": {
1068
+ "filePath": "components-ejector.ts",
1069
+ "line": 30,
1070
+ "character": 32
1071
+ },
1072
+ "name": "boolean"
1073
+ },
1074
+ "isOptional": true
1075
+ }
1076
+ ]
1077
+ }
1078
+ },
1079
+ {
1080
+ "__schema": "ClassSchema",
1081
+ "location": {
1082
+ "filePath": "components-ejector.ts",
1083
+ "line": 40,
1084
+ "character": 1
1085
+ },
1086
+ "signature": "class ComponentsEjector",
1087
+ "name": "ComponentsEjector",
1088
+ "members": [
1089
+ {
1090
+ "__schema": "VariableLikeSchema",
1091
+ "location": {
1092
+ "filePath": "components-ejector.ts",
1093
+ "line": 41,
1094
+ "character": 3
1095
+ },
1096
+ "signature": "(property) ComponentsEjector.consumer: Consumer",
1097
+ "name": "consumer",
1098
+ "type": {
1099
+ "__schema": "TypeRefSchema",
1100
+ "location": {
1101
+ "filePath": "components-ejector.ts",
1102
+ "line": 41,
1103
+ "character": 3
1104
+ },
1105
+ "name": "Consumer",
1106
+ "componentId": {
1107
+ "scope": "teambit.legacy",
1108
+ "name": "consumer",
1109
+ "version": "0.0.20"
1110
+ }
1111
+ },
1112
+ "isOptional": false
1113
+ },
1114
+ {
1115
+ "__schema": "VariableLikeSchema",
1116
+ "location": {
1117
+ "filePath": "components-ejector.ts",
1118
+ "line": 42,
1119
+ "character": 3
1120
+ },
1121
+ "signature": "(property) ComponentsEjector.idsToEject: ComponentIdList",
1122
+ "name": "idsToEject",
1123
+ "type": {
1124
+ "__schema": "TypeRefSchema",
1125
+ "location": {
1126
+ "filePath": "components-ejector.ts",
1127
+ "line": 42,
1128
+ "character": 3
1129
+ },
1130
+ "name": "ComponentIdList",
1131
+ "componentId": {
1132
+ "scope": "teambit.component",
1133
+ "name": "component-id",
1134
+ "version": "1.2.2"
1135
+ }
1136
+ },
1137
+ "isOptional": false
1138
+ },
1139
+ {
1140
+ "__schema": "VariableLikeSchema",
1141
+ "location": {
1142
+ "filePath": "components-ejector.ts",
1143
+ "line": 43,
1144
+ "character": 3
1145
+ },
1146
+ "signature": "(property) ComponentsEjector.componentsToEject: Component[]",
1147
+ "name": "componentsToEject",
1148
+ "type": {
1149
+ "__schema": "TypeArraySchema",
1150
+ "location": {
1151
+ "filePath": "components-ejector.ts",
1152
+ "line": 43,
1153
+ "character": 22
1154
+ },
1155
+ "type": {
1156
+ "__schema": "TypeRefSchema",
1157
+ "location": {
1158
+ "filePath": "components-ejector.ts",
1159
+ "line": 43,
1160
+ "character": 22
1161
+ },
1162
+ "name": "Component"
1163
+ }
1164
+ },
1165
+ "isOptional": true,
1166
+ "defaultValue": "[]"
1167
+ },
1168
+ {
1169
+ "__schema": "VariableLikeSchema",
1170
+ "location": {
1171
+ "filePath": "components-ejector.ts",
1172
+ "line": 45,
1173
+ "character": 3
1174
+ },
1175
+ "signature": "(property) ComponentsEjector.notEjectedDependents: {\n dependent: Component;\n ejectedDependencies: Component[];\n}[]",
1176
+ "name": "notEjectedDependents",
1177
+ "type": {
1178
+ "__schema": "TypeRefSchema",
1179
+ "location": {
1180
+ "filePath": "components-ejector.ts",
1181
+ "line": 45,
1182
+ "character": 25
1183
+ },
1184
+ "name": "Array",
1185
+ "typeArgs": [
1186
+ {
1187
+ "__schema": "TypeLiteralSchema",
1188
+ "location": {
1189
+ "filePath": "components-ejector.ts",
1190
+ "line": 45,
1191
+ "character": 31
1192
+ },
1193
+ "members": [
1194
+ {
1195
+ "__schema": "VariableLikeSchema",
1196
+ "location": {
1197
+ "filePath": "components-ejector.ts",
1198
+ "line": 45,
1199
+ "character": 33
1200
+ },
1201
+ "signature": "(property) dependent: Component",
1202
+ "name": "dependent",
1203
+ "type": {
1204
+ "__schema": "TypeRefSchema",
1205
+ "location": {
1206
+ "filePath": "components-ejector.ts",
1207
+ "line": 45,
1208
+ "character": 44
1209
+ },
1210
+ "name": "Component"
1211
+ },
1212
+ "isOptional": false
1213
+ },
1214
+ {
1215
+ "__schema": "VariableLikeSchema",
1216
+ "location": {
1217
+ "filePath": "components-ejector.ts",
1218
+ "line": 45,
1219
+ "character": 55
1220
+ },
1221
+ "signature": "(property) ejectedDependencies: Component[]",
1222
+ "name": "ejectedDependencies",
1223
+ "type": {
1224
+ "__schema": "TypeArraySchema",
1225
+ "location": {
1226
+ "filePath": "components-ejector.ts",
1227
+ "line": 45,
1228
+ "character": 76
1229
+ },
1230
+ "type": {
1231
+ "__schema": "TypeRefSchema",
1232
+ "location": {
1233
+ "filePath": "components-ejector.ts",
1234
+ "line": 45,
1235
+ "character": 76
1236
+ },
1237
+ "name": "Component"
1238
+ }
1239
+ },
1240
+ "isOptional": false
1241
+ }
1242
+ ]
1243
+ }
1244
+ ]
1245
+ },
1246
+ "isOptional": false
1247
+ },
1248
+ {
1249
+ "__schema": "VariableLikeSchema",
1250
+ "location": {
1251
+ "filePath": "components-ejector.ts",
1252
+ "line": 46,
1253
+ "character": 3
1254
+ },
1255
+ "signature": "(property) ComponentsEjector.failedComponents: FailedComponents",
1256
+ "name": "failedComponents",
1257
+ "type": {
1258
+ "__schema": "TypeRefSchema",
1259
+ "location": {
1260
+ "filePath": "components-ejector.ts",
1261
+ "line": 46,
1262
+ "character": 3
1263
+ },
1264
+ "name": "FailedComponents",
1265
+ "internalFilePath": "components-ejector.ts"
1266
+ },
1267
+ "isOptional": false
1268
+ },
1269
+ {
1270
+ "__schema": "ConstructorSchema",
1271
+ "location": {
1272
+ "filePath": "components-ejector.ts",
1273
+ "line": 47,
1274
+ "character": 3
1275
+ },
1276
+ "signature": "constructor ComponentsEjector(workspace: Workspace, install: InstallMain, logger: Logger, componentsIds: ComponentID[], ejectOptions: EjectOptions): ComponentsEjector",
1277
+ "name": "constructor",
1278
+ "params": [
1279
+ {
1280
+ "__schema": "ParameterSchema",
1281
+ "location": {
1282
+ "filePath": "components-ejector.ts",
1283
+ "line": 48,
1284
+ "character": 5
1285
+ },
1286
+ "name": "workspace",
1287
+ "type": {
1288
+ "__schema": "TypeRefSchema",
1289
+ "location": {
1290
+ "filePath": "components-ejector.ts",
1291
+ "line": 48,
1292
+ "character": 24
1293
+ },
1294
+ "name": "Workspace",
1295
+ "componentId": {
1296
+ "scope": "teambit.workspace",
1297
+ "name": "workspace"
1298
+ }
1299
+ },
1300
+ "isOptional": false,
1301
+ "isSpread": false
1302
+ },
1303
+ {
1304
+ "__schema": "ParameterSchema",
1305
+ "location": {
1306
+ "filePath": "components-ejector.ts",
1307
+ "line": 49,
1308
+ "character": 5
1309
+ },
1310
+ "name": "install",
1311
+ "type": {
1312
+ "__schema": "TypeRefSchema",
1313
+ "location": {
1314
+ "filePath": "components-ejector.ts",
1315
+ "line": 49,
1316
+ "character": 22
1317
+ },
1318
+ "name": "InstallMain",
1319
+ "componentId": {
1320
+ "scope": "teambit.workspace",
1321
+ "name": "install"
1322
+ }
1323
+ },
1324
+ "isOptional": false,
1325
+ "isSpread": false
1326
+ },
1327
+ {
1328
+ "__schema": "ParameterSchema",
1329
+ "location": {
1330
+ "filePath": "components-ejector.ts",
1331
+ "line": 50,
1332
+ "character": 5
1333
+ },
1334
+ "name": "logger",
1335
+ "type": {
1336
+ "__schema": "TypeRefSchema",
1337
+ "location": {
1338
+ "filePath": "components-ejector.ts",
1339
+ "line": 50,
1340
+ "character": 21
1341
+ },
1342
+ "name": "Logger",
1343
+ "componentId": {
1344
+ "scope": "teambit.harmony",
1345
+ "name": "logger"
1346
+ }
1347
+ },
1348
+ "isOptional": false,
1349
+ "isSpread": false
1350
+ },
1351
+ {
1352
+ "__schema": "ParameterSchema",
1353
+ "location": {
1354
+ "filePath": "components-ejector.ts",
1355
+ "line": 51,
1356
+ "character": 5
1357
+ },
1358
+ "name": "componentsIds",
1359
+ "type": {
1360
+ "__schema": "TypeArraySchema",
1361
+ "location": {
1362
+ "filePath": "components-ejector.ts",
1363
+ "line": 51,
1364
+ "character": 28
1365
+ },
1366
+ "type": {
1367
+ "__schema": "TypeRefSchema",
1368
+ "location": {
1369
+ "filePath": "components-ejector.ts",
1370
+ "line": 51,
1371
+ "character": 28
1372
+ },
1373
+ "name": "ComponentID",
1374
+ "componentId": {
1375
+ "scope": "teambit.component",
1376
+ "name": "component-id",
1377
+ "version": "1.2.2"
1378
+ }
1379
+ }
1380
+ },
1381
+ "isOptional": false,
1382
+ "isSpread": false
1383
+ },
1384
+ {
1385
+ "__schema": "ParameterSchema",
1386
+ "location": {
1387
+ "filePath": "components-ejector.ts",
1388
+ "line": 52,
1389
+ "character": 5
1390
+ },
1391
+ "name": "ejectOptions",
1392
+ "type": {
1393
+ "__schema": "TypeRefSchema",
1394
+ "location": {
1395
+ "filePath": "components-ejector.ts",
1396
+ "line": 52,
1397
+ "character": 27
1398
+ },
1399
+ "name": "EjectOptions",
1400
+ "internalFilePath": "components-ejector.ts"
1401
+ },
1402
+ "isOptional": false,
1403
+ "isSpread": false
1404
+ }
1405
+ ],
1406
+ "returnType": {
1407
+ "__schema": "ThisTypeSchema",
1408
+ "location": {
1409
+ "filePath": "components-ejector.ts",
1410
+ "line": 40,
1411
+ "character": 1
1412
+ },
1413
+ "name": "ComponentsEjector"
1414
+ },
1415
+ "modifiers": []
1416
+ },
1417
+ {
1418
+ "__schema": "FunctionLikeSchema",
1419
+ "location": {
1420
+ "filePath": "components-ejector.ts",
1421
+ "line": 64,
1422
+ "character": 3
1423
+ },
1424
+ "signature": "(method) ComponentsEjector.eject(): Promise<EjectResults>",
1425
+ "name": "eject",
1426
+ "params": [],
1427
+ "returnType": {
1428
+ "__schema": "TypeRefSchema",
1429
+ "location": {
1430
+ "filePath": "components-ejector.ts",
1431
+ "line": 64,
1432
+ "character": 18
1433
+ },
1434
+ "name": "Promise",
1435
+ "typeArgs": [
1436
+ {
1437
+ "__schema": "TypeRefSchema",
1438
+ "location": {
1439
+ "filePath": "components-ejector.ts",
1440
+ "line": 64,
1441
+ "character": 26
1442
+ },
1443
+ "name": "EjectResults"
1444
+ }
1445
+ ]
1446
+ },
1447
+ "modifiers": [
1448
+ "async"
1449
+ ]
1450
+ },
1451
+ {
1452
+ "__schema": "FunctionLikeSchema",
1453
+ "location": {
1454
+ "filePath": "components-ejector.ts",
1455
+ "line": 83,
1456
+ "character": 3
1457
+ },
1458
+ "signature": "(method) ComponentsEjector.decideWhichComponentsToEject(): Promise<void>",
1459
+ "name": "decideWhichComponentsToEject",
1460
+ "params": [],
1461
+ "returnType": {
1462
+ "__schema": "TypeRefSchema",
1463
+ "location": {
1464
+ "filePath": "components-ejector.ts",
1465
+ "line": 83,
1466
+ "character": 41
1467
+ },
1468
+ "name": "Promise",
1469
+ "typeArgs": [
1470
+ {
1471
+ "__schema": "KeywordTypeSchema",
1472
+ "location": {
1473
+ "filePath": "components-ejector.ts",
1474
+ "line": 83,
1475
+ "character": 49
1476
+ },
1477
+ "name": "void"
1478
+ }
1479
+ ]
1480
+ },
1481
+ "modifiers": [
1482
+ "async"
1483
+ ]
1484
+ },
1485
+ {
1486
+ "__schema": "FunctionLikeSchema",
1487
+ "location": {
1488
+ "filePath": "components-ejector.ts",
1489
+ "line": 117,
1490
+ "character": 3
1491
+ },
1492
+ "signature": "(method) ComponentsEjector.loadComponentsToEject(): Promise<void>",
1493
+ "name": "loadComponentsToEject",
1494
+ "params": [],
1495
+ "returnType": {
1496
+ "__schema": "InferenceTypeSchema",
1497
+ "location": {
1498
+ "filePath": "components-ejector.ts",
1499
+ "line": 117,
1500
+ "character": 3
1501
+ },
1502
+ "type": "Promise<void>"
1503
+ },
1504
+ "modifiers": [
1505
+ "async"
1506
+ ]
1507
+ },
1508
+ {
1509
+ "__schema": "FunctionLikeSchema",
1510
+ "location": {
1511
+ "filePath": "components-ejector.ts",
1512
+ "line": 122,
1513
+ "character": 3
1514
+ },
1515
+ "signature": "(method) ComponentsEjector.removeComponentsFromNodeModules(): Promise<void>",
1516
+ "name": "removeComponentsFromNodeModules",
1517
+ "params": [],
1518
+ "returnType": {
1519
+ "__schema": "InferenceTypeSchema",
1520
+ "location": {
1521
+ "filePath": "components-ejector.ts",
1522
+ "line": 122,
1523
+ "character": 3
1524
+ },
1525
+ "type": "Promise<void>"
1526
+ },
1527
+ "modifiers": [
1528
+ "async"
1529
+ ]
1530
+ },
1531
+ {
1532
+ "__schema": "FunctionLikeSchema",
1533
+ "location": {
1534
+ "filePath": "components-ejector.ts",
1535
+ "line": 130,
1536
+ "character": 3
1537
+ },
1538
+ "signature": "(method) ComponentsEjector.installPackages(): Promise<void>",
1539
+ "name": "installPackages",
1540
+ "params": [],
1541
+ "returnType": {
1542
+ "__schema": "InferenceTypeSchema",
1543
+ "location": {
1544
+ "filePath": "components-ejector.ts",
1545
+ "line": 130,
1546
+ "character": 3
1547
+ },
1548
+ "type": "Promise<void>"
1549
+ },
1550
+ "modifiers": [
1551
+ "async"
1552
+ ]
1553
+ },
1554
+ {
1555
+ "__schema": "FunctionLikeSchema",
1556
+ "location": {
1557
+ "filePath": "components-ejector.ts",
1558
+ "line": 137,
1559
+ "character": 3
1560
+ },
1561
+ "signature": "(method) ComponentsEjector.getPackagesToInstall(): string[]",
1562
+ "name": "getPackagesToInstall",
1563
+ "params": [],
1564
+ "returnType": {
1565
+ "__schema": "TypeArraySchema",
1566
+ "location": {
1567
+ "filePath": "components-ejector.ts",
1568
+ "line": 137,
1569
+ "character": 27
1570
+ },
1571
+ "type": {
1572
+ "__schema": "KeywordTypeSchema",
1573
+ "location": {
1574
+ "filePath": "components-ejector.ts",
1575
+ "line": 137,
1576
+ "character": 27
1577
+ },
1578
+ "name": "string"
1579
+ }
1580
+ },
1581
+ "modifiers": []
1582
+ },
1583
+ {
1584
+ "__schema": "FunctionLikeSchema",
1585
+ "location": {
1586
+ "filePath": "components-ejector.ts",
1587
+ "line": 141,
1588
+ "character": 3
1589
+ },
1590
+ "signature": "(method) ComponentsEjector._buildExceptionMessageWithRollbackData(action: string): string",
1591
+ "name": "_buildExceptionMessageWithRollbackData",
1592
+ "params": [
1593
+ {
1594
+ "__schema": "ParameterSchema",
1595
+ "location": {
1596
+ "filePath": "components-ejector.ts",
1597
+ "line": 141,
1598
+ "character": 42
1599
+ },
1600
+ "name": "action",
1601
+ "type": {
1602
+ "__schema": "KeywordTypeSchema",
1603
+ "location": {
1604
+ "filePath": "components-ejector.ts",
1605
+ "line": 141,
1606
+ "character": 50
1607
+ },
1608
+ "name": "string"
1609
+ },
1610
+ "isOptional": false,
1611
+ "isSpread": false
1612
+ }
1613
+ ],
1614
+ "returnType": {
1615
+ "__schema": "KeywordTypeSchema",
1616
+ "location": {
1617
+ "filePath": "components-ejector.ts",
1618
+ "line": 141,
1619
+ "character": 59
1620
+ },
1621
+ "name": "string"
1622
+ },
1623
+ "modifiers": []
1624
+ },
1625
+ {
1626
+ "__schema": "FunctionLikeSchema",
1627
+ "location": {
1628
+ "filePath": "components-ejector.ts",
1629
+ "line": 179,
1630
+ "character": 3
1631
+ },
1632
+ "signature": "(method) ComponentsEjector.throwEjectError(message: string, originalError: Error): void",
1633
+ "name": "throwEjectError",
1634
+ "params": [
1635
+ {
1636
+ "__schema": "ParameterSchema",
1637
+ "location": {
1638
+ "filePath": "components-ejector.ts",
1639
+ "line": 179,
1640
+ "character": 19
1641
+ },
1642
+ "name": "message",
1643
+ "type": {
1644
+ "__schema": "KeywordTypeSchema",
1645
+ "location": {
1646
+ "filePath": "components-ejector.ts",
1647
+ "line": 179,
1648
+ "character": 28
1649
+ },
1650
+ "name": "string"
1651
+ },
1652
+ "isOptional": false,
1653
+ "isSpread": false
1654
+ },
1655
+ {
1656
+ "__schema": "ParameterSchema",
1657
+ "location": {
1658
+ "filePath": "components-ejector.ts",
1659
+ "line": 179,
1660
+ "character": 36
1661
+ },
1662
+ "name": "originalError",
1663
+ "type": {
1664
+ "__schema": "TypeRefSchema",
1665
+ "location": {
1666
+ "filePath": "components-ejector.ts",
1667
+ "line": 179,
1668
+ "character": 51
1669
+ },
1670
+ "name": "Error"
1671
+ },
1672
+ "isOptional": false,
1673
+ "isSpread": false
1674
+ }
1675
+ ],
1676
+ "returnType": {
1677
+ "__schema": "InferenceTypeSchema",
1678
+ "location": {
1679
+ "filePath": "components-ejector.ts",
1680
+ "line": 179,
1681
+ "character": 3
1682
+ },
1683
+ "type": "void"
1684
+ },
1685
+ "modifiers": []
1686
+ },
1687
+ {
1688
+ "__schema": "FunctionLikeSchema",
1689
+ "location": {
1690
+ "filePath": "components-ejector.ts",
1691
+ "line": 187,
1692
+ "character": 3
1693
+ },
1694
+ "signature": "(method) ComponentsEjector._validateIdsHaveScopesAndVersions(): void",
1695
+ "name": "_validateIdsHaveScopesAndVersions",
1696
+ "params": [],
1697
+ "returnType": {
1698
+ "__schema": "InferenceTypeSchema",
1699
+ "location": {
1700
+ "filePath": "components-ejector.ts",
1701
+ "line": 187,
1702
+ "character": 3
1703
+ },
1704
+ "type": "void"
1705
+ },
1706
+ "modifiers": []
1707
+ }
1708
+ ],
1709
+ "extendsNodes": [],
1710
+ "implementNodes": []
1711
+ }
1712
+ ],
1713
+ "internals": [
1714
+ {
1715
+ "__schema": "TypeSchema",
1716
+ "location": {
1717
+ "filePath": "components-ejector.ts",
1718
+ "line": 33,
1719
+ "character": 1
1720
+ },
1721
+ "signature": "type FailedComponents = {\n modifiedComponents: ComponentIdList;\n stagedComponents: ComponentIdList;\n notExportedComponents: ComponentIdList;\n selfHostedExportedComponents: ComponentIdList;\n}",
1722
+ "name": "FailedComponents",
1723
+ "type": {
1724
+ "__schema": "TypeLiteralSchema",
1725
+ "location": {
1726
+ "filePath": "components-ejector.ts",
1727
+ "line": 33,
1728
+ "character": 25
1729
+ },
1730
+ "members": [
1731
+ {
1732
+ "__schema": "VariableLikeSchema",
1733
+ "location": {
1734
+ "filePath": "components-ejector.ts",
1735
+ "line": 34,
1736
+ "character": 3
1737
+ },
1738
+ "signature": "(property) modifiedComponents: ComponentIdList",
1739
+ "name": "modifiedComponents",
1740
+ "type": {
1741
+ "__schema": "TypeRefSchema",
1742
+ "location": {
1743
+ "filePath": "components-ejector.ts",
1744
+ "line": 34,
1745
+ "character": 3
1746
+ },
1747
+ "name": "ComponentIdList",
1748
+ "componentId": {
1749
+ "scope": "teambit.component",
1750
+ "name": "component-id",
1751
+ "version": "1.2.2"
1752
+ }
1753
+ },
1754
+ "isOptional": false
1755
+ },
1756
+ {
1757
+ "__schema": "VariableLikeSchema",
1758
+ "location": {
1759
+ "filePath": "components-ejector.ts",
1760
+ "line": 35,
1761
+ "character": 3
1762
+ },
1763
+ "signature": "(property) stagedComponents: ComponentIdList",
1764
+ "name": "stagedComponents",
1765
+ "type": {
1766
+ "__schema": "TypeRefSchema",
1767
+ "location": {
1768
+ "filePath": "components-ejector.ts",
1769
+ "line": 35,
1770
+ "character": 3
1771
+ },
1772
+ "name": "ComponentIdList",
1773
+ "componentId": {
1774
+ "scope": "teambit.component",
1775
+ "name": "component-id",
1776
+ "version": "1.2.2"
1777
+ }
1778
+ },
1779
+ "isOptional": false
1780
+ },
1781
+ {
1782
+ "__schema": "VariableLikeSchema",
1783
+ "location": {
1784
+ "filePath": "components-ejector.ts",
1785
+ "line": 36,
1786
+ "character": 3
1787
+ },
1788
+ "signature": "(property) notExportedComponents: ComponentIdList",
1789
+ "name": "notExportedComponents",
1790
+ "type": {
1791
+ "__schema": "TypeRefSchema",
1792
+ "location": {
1793
+ "filePath": "components-ejector.ts",
1794
+ "line": 36,
1795
+ "character": 3
1796
+ },
1797
+ "name": "ComponentIdList",
1798
+ "componentId": {
1799
+ "scope": "teambit.component",
1800
+ "name": "component-id",
1801
+ "version": "1.2.2"
1802
+ }
1803
+ },
1804
+ "isOptional": false
1805
+ },
1806
+ {
1807
+ "__schema": "VariableLikeSchema",
1808
+ "location": {
1809
+ "filePath": "components-ejector.ts",
1810
+ "line": 37,
1811
+ "character": 3
1812
+ },
1813
+ "signature": "(property) selfHostedExportedComponents: ComponentIdList",
1814
+ "name": "selfHostedExportedComponents",
1815
+ "type": {
1816
+ "__schema": "TypeRefSchema",
1817
+ "location": {
1818
+ "filePath": "components-ejector.ts",
1819
+ "line": 37,
1820
+ "character": 3
1821
+ },
1822
+ "name": "ComponentIdList",
1823
+ "componentId": {
1824
+ "scope": "teambit.component",
1825
+ "name": "component-id",
1826
+ "version": "1.2.2"
1827
+ }
1828
+ },
1829
+ "isOptional": false
1830
+ }
1831
+ ]
1832
+ }
1833
+ }
1834
+ ]
1835
+ },
1836
+ {
1837
+ "__schema": "ModuleSchema",
1838
+ "location": {
1839
+ "filePath": "eject.aspect.ts",
1840
+ "line": 1,
1841
+ "character": 1
1842
+ },
1843
+ "exports": [
1844
+ {
1845
+ "__schema": "VariableLikeSchema",
1846
+ "location": {
1847
+ "filePath": "eject.aspect.ts",
1848
+ "line": 3,
1849
+ "character": 14
1850
+ },
1851
+ "signature": "const EjectAspect: Aspect",
1852
+ "name": "EjectAspect",
1853
+ "type": {
1854
+ "__schema": "TypeRefSchema",
1855
+ "location": {
1856
+ "filePath": "eject.aspect.ts",
1857
+ "line": 3,
1858
+ "character": 14
1859
+ },
1860
+ "name": "Aspect",
1861
+ "componentId": {
1862
+ "scope": "teambit.harmony",
1863
+ "name": "harmony",
1864
+ "version": "0.4.6"
1865
+ }
1866
+ },
1867
+ "isOptional": false,
1868
+ "defaultValue": "Aspect.create({\n id: 'teambit.workspace/eject',\n})"
1869
+ }
1870
+ ],
1871
+ "internals": []
1872
+ }
1873
+ ],
1874
+ "componentId": {
1875
+ "scope": "teambit.workspace",
1876
+ "name": "eject",
1877
+ "version": "1.0.514"
1878
+ },
1879
+ "taggedModuleExports": []
1880
+ }