@teambit/forking 1.0.440 → 1.0.441

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,7 +26,7 @@
26
26
  "__schema": "ClassSchema",
27
27
  "location": {
28
28
  "filePath": "forking.main.runtime.ts",
29
- "line": 51,
29
+ "line": 52,
30
30
  "character": 1
31
31
  },
32
32
  "signature": "class ForkingMain",
@@ -36,17 +36,17 @@
36
36
  "__schema": "ConstructorSchema",
37
37
  "location": {
38
38
  "filePath": "forking.main.runtime.ts",
39
- "line": 52,
39
+ "line": 53,
40
40
  "character": 3
41
41
  },
42
- "signature": "constructor ForkingMain(workspace: Workspace, install: InstallMain, dependencyResolver: DependencyResolverMain, newComponentHelper: NewComponentHelperMain, refactoring: RefactoringMain, pkg: PkgMain): ForkingMain",
42
+ "signature": "constructor ForkingMain(workspace: Workspace, scope: ScopeMain, install: InstallMain, dependencyResolver: DependencyResolverMain, newComponentHelper: NewComponentHelperMain, refactoring: RefactoringMain, pkg: PkgMain): ForkingMain",
43
43
  "name": "constructor",
44
44
  "params": [
45
45
  {
46
46
  "__schema": "ParameterSchema",
47
47
  "location": {
48
48
  "filePath": "forking.main.runtime.ts",
49
- "line": 53,
49
+ "line": 54,
50
50
  "character": 5
51
51
  },
52
52
  "name": "workspace",
@@ -54,7 +54,7 @@
54
54
  "__schema": "TypeRefSchema",
55
55
  "location": {
56
56
  "filePath": "forking.main.runtime.ts",
57
- "line": 53,
57
+ "line": 54,
58
58
  "character": 24
59
59
  },
60
60
  "name": "Workspace"
@@ -66,7 +66,27 @@
66
66
  "__schema": "ParameterSchema",
67
67
  "location": {
68
68
  "filePath": "forking.main.runtime.ts",
69
- "line": 54,
69
+ "line": 55,
70
+ "character": 5
71
+ },
72
+ "name": "scope",
73
+ "type": {
74
+ "__schema": "TypeRefSchema",
75
+ "location": {
76
+ "filePath": "forking.main.runtime.ts",
77
+ "line": 55,
78
+ "character": 20
79
+ },
80
+ "name": "ScopeMain"
81
+ },
82
+ "isOptional": false,
83
+ "isSpread": false
84
+ },
85
+ {
86
+ "__schema": "ParameterSchema",
87
+ "location": {
88
+ "filePath": "forking.main.runtime.ts",
89
+ "line": 56,
70
90
  "character": 5
71
91
  },
72
92
  "name": "install",
@@ -74,7 +94,7 @@
74
94
  "__schema": "TypeRefSchema",
75
95
  "location": {
76
96
  "filePath": "forking.main.runtime.ts",
77
- "line": 54,
97
+ "line": 56,
78
98
  "character": 22
79
99
  },
80
100
  "name": "InstallMain"
@@ -86,7 +106,7 @@
86
106
  "__schema": "ParameterSchema",
87
107
  "location": {
88
108
  "filePath": "forking.main.runtime.ts",
89
- "line": 55,
109
+ "line": 57,
90
110
  "character": 5
91
111
  },
92
112
  "name": "dependencyResolver",
@@ -94,7 +114,7 @@
94
114
  "__schema": "TypeRefSchema",
95
115
  "location": {
96
116
  "filePath": "forking.main.runtime.ts",
97
- "line": 55,
117
+ "line": 57,
98
118
  "character": 33
99
119
  },
100
120
  "name": "DependencyResolverMain"
@@ -106,7 +126,7 @@
106
126
  "__schema": "ParameterSchema",
107
127
  "location": {
108
128
  "filePath": "forking.main.runtime.ts",
109
- "line": 56,
129
+ "line": 58,
110
130
  "character": 5
111
131
  },
112
132
  "name": "newComponentHelper",
@@ -114,7 +134,7 @@
114
134
  "__schema": "TypeRefSchema",
115
135
  "location": {
116
136
  "filePath": "forking.main.runtime.ts",
117
- "line": 56,
137
+ "line": 58,
118
138
  "character": 33
119
139
  },
120
140
  "name": "NewComponentHelperMain"
@@ -126,7 +146,7 @@
126
146
  "__schema": "ParameterSchema",
127
147
  "location": {
128
148
  "filePath": "forking.main.runtime.ts",
129
- "line": 57,
149
+ "line": 59,
130
150
  "character": 5
131
151
  },
132
152
  "name": "refactoring",
@@ -134,7 +154,7 @@
134
154
  "__schema": "TypeRefSchema",
135
155
  "location": {
136
156
  "filePath": "forking.main.runtime.ts",
137
- "line": 57,
157
+ "line": 59,
138
158
  "character": 26
139
159
  },
140
160
  "name": "RefactoringMain"
@@ -146,7 +166,7 @@
146
166
  "__schema": "ParameterSchema",
147
167
  "location": {
148
168
  "filePath": "forking.main.runtime.ts",
149
- "line": 58,
169
+ "line": 60,
150
170
  "character": 5
151
171
  },
152
172
  "name": "pkg",
@@ -154,7 +174,7 @@
154
174
  "__schema": "TypeRefSchema",
155
175
  "location": {
156
176
  "filePath": "forking.main.runtime.ts",
157
- "line": 58,
177
+ "line": 60,
158
178
  "character": 18
159
179
  },
160
180
  "name": "PkgMain"
@@ -167,7 +187,7 @@
167
187
  "__schema": "ThisTypeSchema",
168
188
  "location": {
169
189
  "filePath": "forking.main.runtime.ts",
170
- "line": 51,
190
+ "line": 52,
171
191
  "character": 1
172
192
  },
173
193
  "name": "ForkingMain"
@@ -178,14 +198,14 @@
178
198
  "__schema": "FunctionLikeSchema",
179
199
  "location": {
180
200
  "filePath": "forking.main.runtime.ts",
181
- "line": 66,
201
+ "line": 68,
182
202
  "character": 3
183
203
  },
184
204
  "doc": {
185
205
  "__schema": "DocSchema",
186
206
  "location": {
187
207
  "filePath": "forking.main.runtime.ts",
188
- "line": 61,
208
+ "line": 63,
189
209
  "character": 3
190
210
  },
191
211
  "raw": "/**\n * create a new copy of existing/remote component.\n * the new component holds a reference to the old one for future reference.\n * if refactor option is enable, change the source-code to update all dependencies with the new name.\n */",
@@ -199,7 +219,7 @@
199
219
  "__schema": "ParameterSchema",
200
220
  "location": {
201
221
  "filePath": "forking.main.runtime.ts",
202
- "line": 66,
222
+ "line": 68,
203
223
  "character": 14
204
224
  },
205
225
  "name": "sourceId",
@@ -207,7 +227,7 @@
207
227
  "__schema": "KeywordTypeSchema",
208
228
  "location": {
209
229
  "filePath": "forking.main.runtime.ts",
210
- "line": 66,
230
+ "line": 68,
211
231
  "character": 24
212
232
  },
213
233
  "name": "string"
@@ -219,7 +239,7 @@
219
239
  "__schema": "ParameterSchema",
220
240
  "location": {
221
241
  "filePath": "forking.main.runtime.ts",
222
- "line": 66,
242
+ "line": 68,
223
243
  "character": 32
224
244
  },
225
245
  "name": "targetId",
@@ -227,7 +247,7 @@
227
247
  "__schema": "KeywordTypeSchema",
228
248
  "location": {
229
249
  "filePath": "forking.main.runtime.ts",
230
- "line": 66,
250
+ "line": 68,
231
251
  "character": 43
232
252
  },
233
253
  "name": "string"
@@ -239,7 +259,7 @@
239
259
  "__schema": "ParameterSchema",
240
260
  "location": {
241
261
  "filePath": "forking.main.runtime.ts",
242
- "line": 66,
262
+ "line": 68,
243
263
  "character": 51
244
264
  },
245
265
  "name": "options",
@@ -247,7 +267,7 @@
247
267
  "__schema": "TypeRefSchema",
248
268
  "location": {
249
269
  "filePath": "forking.main.runtime.ts",
250
- "line": 66,
270
+ "line": 68,
251
271
  "character": 61
252
272
  },
253
273
  "name": "ForkOptions"
@@ -260,7 +280,7 @@
260
280
  "__schema": "TypeRefSchema",
261
281
  "location": {
262
282
  "filePath": "forking.main.runtime.ts",
263
- "line": 66,
283
+ "line": 68,
264
284
  "character": 75
265
285
  },
266
286
  "name": "Promise",
@@ -269,7 +289,7 @@
269
289
  "__schema": "TypeRefSchema",
270
290
  "location": {
271
291
  "filePath": "forking.main.runtime.ts",
272
- "line": 66,
292
+ "line": 68,
273
293
  "character": 83
274
294
  },
275
295
  "name": "ComponentID"
@@ -284,14 +304,14 @@
284
304
  "__schema": "FunctionLikeSchema",
285
305
  "location": {
286
306
  "filePath": "forking.main.runtime.ts",
287
- "line": 84,
307
+ "line": 86,
288
308
  "character": 3
289
309
  },
290
310
  "doc": {
291
311
  "__schema": "DocSchema",
292
312
  "location": {
293
313
  "filePath": "forking.main.runtime.ts",
294
- "line": 81,
314
+ "line": 83,
295
315
  "character": 3
296
316
  },
297
317
  "raw": "/**\n * get the forking data, such as the source where a component was forked from\n */",
@@ -305,7 +325,7 @@
305
325
  "__schema": "ParameterSchema",
306
326
  "location": {
307
327
  "filePath": "forking.main.runtime.ts",
308
- "line": 84,
328
+ "line": 86,
309
329
  "character": 15
310
330
  },
311
331
  "name": "component",
@@ -313,7 +333,7 @@
313
333
  "__schema": "TypeRefSchema",
314
334
  "location": {
315
335
  "filePath": "forking.main.runtime.ts",
316
- "line": 84,
336
+ "line": 86,
317
337
  "character": 26
318
338
  },
319
339
  "name": "Component"
@@ -326,7 +346,7 @@
326
346
  "__schema": "TypeUnionSchema",
327
347
  "location": {
328
348
  "filePath": "forking.main.runtime.ts",
329
- "line": 84,
349
+ "line": 86,
330
350
  "character": 38
331
351
  },
332
352
  "types": [
@@ -334,7 +354,7 @@
334
354
  "__schema": "TypeRefSchema",
335
355
  "location": {
336
356
  "filePath": "forking.main.runtime.ts",
337
- "line": 84,
357
+ "line": 86,
338
358
  "character": 38
339
359
  },
340
360
  "name": "ForkInfo"
@@ -343,7 +363,7 @@
343
363
  "__schema": "LiteralTypeSchema",
344
364
  "location": {
345
365
  "filePath": "forking.main.runtime.ts",
346
- "line": 84,
366
+ "line": 86,
347
367
  "character": 49
348
368
  },
349
369
  "name": "null"
@@ -356,17 +376,17 @@
356
376
  "__schema": "FunctionLikeSchema",
357
377
  "location": {
358
378
  "filePath": "forking.main.runtime.ts",
359
- "line": 92,
379
+ "line": 94,
360
380
  "character": 3
361
381
  },
362
- "signature": "(method) ForkingMain.forkMultipleFromRemote(componentsToFork: MultipleComponentsToFork, options?: MultipleForkOptions): Promise<void>",
382
+ "signature": "(method) ForkingMain.forkMultipleFromRemote(componentsToFork: MultipleComponentsToFork, options?: MultipleForkOptions): Promise<{\n targetCompId: ComponentID;\n sourceId: string;\n component: Component;\n}[]>",
363
383
  "name": "forkMultipleFromRemote",
364
384
  "params": [
365
385
  {
366
386
  "__schema": "ParameterSchema",
367
387
  "location": {
368
388
  "filePath": "forking.main.runtime.ts",
369
- "line": 92,
389
+ "line": 94,
370
390
  "character": 32
371
391
  },
372
392
  "name": "componentsToFork",
@@ -374,7 +394,7 @@
374
394
  "__schema": "TypeRefSchema",
375
395
  "location": {
376
396
  "filePath": "forking.main.runtime.ts",
377
- "line": 92,
397
+ "line": 94,
378
398
  "character": 50
379
399
  },
380
400
  "name": "MultipleComponentsToFork"
@@ -386,7 +406,7 @@
386
406
  "__schema": "ParameterSchema",
387
407
  "location": {
388
408
  "filePath": "forking.main.runtime.ts",
389
- "line": 92,
409
+ "line": 94,
390
410
  "character": 76
391
411
  },
392
412
  "name": "options",
@@ -394,7 +414,7 @@
394
414
  "__schema": "TypeRefSchema",
395
415
  "location": {
396
416
  "filePath": "forking.main.runtime.ts",
397
- "line": 92,
417
+ "line": 94,
398
418
  "character": 85
399
419
  },
400
420
  "name": "MultipleForkOptions"
@@ -408,10 +428,10 @@
408
428
  "__schema": "InferenceTypeSchema",
409
429
  "location": {
410
430
  "filePath": "forking.main.runtime.ts",
411
- "line": 92,
431
+ "line": 94,
412
432
  "character": 3
413
433
  },
414
- "type": "Promise<void>"
434
+ "type": "Promise<{\n targetCompId: ComponentID;\n sourceId: string;\n component: Component;\n}[]>"
415
435
  },
416
436
  "modifiers": [
417
437
  "async"
@@ -421,14 +441,14 @@
421
441
  "__schema": "FunctionLikeSchema",
422
442
  "location": {
423
443
  "filePath": "forking.main.runtime.ts",
424
- "line": 187,
444
+ "line": 190,
425
445
  "character": 3
426
446
  },
427
447
  "doc": {
428
448
  "__schema": "DocSchema",
429
449
  "location": {
430
450
  "filePath": "forking.main.runtime.ts",
431
- "line": 184,
451
+ "line": 187,
432
452
  "character": 3
433
453
  },
434
454
  "raw": "/**\n * fork all components of the given scope\n */",
@@ -442,7 +462,7 @@
442
462
  "__schema": "ParameterSchema",
443
463
  "location": {
444
464
  "filePath": "forking.main.runtime.ts",
445
- "line": 188,
465
+ "line": 191,
446
466
  "character": 5
447
467
  },
448
468
  "name": "originalScope",
@@ -450,7 +470,7 @@
450
470
  "__schema": "KeywordTypeSchema",
451
471
  "location": {
452
472
  "filePath": "forking.main.runtime.ts",
453
- "line": 188,
473
+ "line": 191,
454
474
  "character": 20
455
475
  },
456
476
  "name": "string"
@@ -462,7 +482,7 @@
462
482
  "__schema": "ParameterSchema",
463
483
  "location": {
464
484
  "filePath": "forking.main.runtime.ts",
465
- "line": 189,
485
+ "line": 192,
466
486
  "character": 5
467
487
  },
468
488
  "name": "newOptionalScope",
@@ -470,7 +490,7 @@
470
490
  "__schema": "KeywordTypeSchema",
471
491
  "location": {
472
492
  "filePath": "forking.main.runtime.ts",
473
- "line": 189,
493
+ "line": 192,
474
494
  "character": 24
475
495
  },
476
496
  "name": "string"
@@ -482,7 +502,7 @@
482
502
  "__schema": "ParameterSchema",
483
503
  "location": {
484
504
  "filePath": "forking.main.runtime.ts",
485
- "line": 190,
505
+ "line": 193,
486
506
  "character": 5
487
507
  },
488
508
  "name": "pattern",
@@ -490,7 +510,7 @@
490
510
  "__schema": "KeywordTypeSchema",
491
511
  "location": {
492
512
  "filePath": "forking.main.runtime.ts",
493
- "line": 190,
513
+ "line": 193,
494
514
  "character": 15
495
515
  },
496
516
  "name": "string"
@@ -502,7 +522,7 @@
502
522
  "__schema": "ParameterSchema",
503
523
  "location": {
504
524
  "filePath": "forking.main.runtime.ts",
505
- "line": 191,
525
+ "line": 194,
506
526
  "character": 5
507
527
  },
508
528
  "name": "options",
@@ -510,7 +530,7 @@
510
530
  "__schema": "TypeRefSchema",
511
531
  "location": {
512
532
  "filePath": "forking.main.runtime.ts",
513
- "line": 191,
533
+ "line": 194,
514
534
  "character": 15
515
535
  },
516
536
  "name": "ScopeForkOptions"
@@ -523,7 +543,7 @@
523
543
  "__schema": "TypeRefSchema",
524
544
  "location": {
525
545
  "filePath": "forking.main.runtime.ts",
526
- "line": 192,
546
+ "line": 195,
527
547
  "character": 6
528
548
  },
529
549
  "name": "Promise",
@@ -532,14 +552,14 @@
532
552
  "__schema": "TypeArraySchema",
533
553
  "location": {
534
554
  "filePath": "forking.main.runtime.ts",
535
- "line": 192,
555
+ "line": 195,
536
556
  "character": 14
537
557
  },
538
558
  "type": {
539
559
  "__schema": "TypeRefSchema",
540
560
  "location": {
541
561
  "filePath": "forking.main.runtime.ts",
542
- "line": 192,
562
+ "line": 195,
543
563
  "character": 14
544
564
  },
545
565
  "name": "ComponentID"
@@ -551,11 +571,177 @@
551
571
  "async"
552
572
  ]
553
573
  },
574
+ {
575
+ "__schema": "FunctionLikeSchema",
576
+ "location": {
577
+ "filePath": "forking.main.runtime.ts",
578
+ "line": 259,
579
+ "character": 3
580
+ },
581
+ "signature": "(method) ForkingMain.forkRemoteComponent(sourceId: ComponentID, targetId?: string, options?: ForkOptions, shouldRefactorVariablesAndClasses?: boolean): Promise<{\n targetCompId: ComponentID;\n component: Component;\n}>",
582
+ "name": "forkRemoteComponent",
583
+ "params": [
584
+ {
585
+ "__schema": "ParameterSchema",
586
+ "location": {
587
+ "filePath": "forking.main.runtime.ts",
588
+ "line": 260,
589
+ "character": 5
590
+ },
591
+ "name": "sourceId",
592
+ "type": {
593
+ "__schema": "TypeRefSchema",
594
+ "location": {
595
+ "filePath": "forking.main.runtime.ts",
596
+ "line": 260,
597
+ "character": 15
598
+ },
599
+ "name": "ComponentID"
600
+ },
601
+ "isOptional": false,
602
+ "isSpread": false
603
+ },
604
+ {
605
+ "__schema": "ParameterSchema",
606
+ "location": {
607
+ "filePath": "forking.main.runtime.ts",
608
+ "line": 261,
609
+ "character": 5
610
+ },
611
+ "name": "targetId",
612
+ "type": {
613
+ "__schema": "KeywordTypeSchema",
614
+ "location": {
615
+ "filePath": "forking.main.runtime.ts",
616
+ "line": 261,
617
+ "character": 16
618
+ },
619
+ "name": "string"
620
+ },
621
+ "isOptional": true,
622
+ "isSpread": false
623
+ },
624
+ {
625
+ "__schema": "ParameterSchema",
626
+ "location": {
627
+ "filePath": "forking.main.runtime.ts",
628
+ "line": 262,
629
+ "character": 5
630
+ },
631
+ "name": "options",
632
+ "type": {
633
+ "__schema": "TypeRefSchema",
634
+ "location": {
635
+ "filePath": "forking.main.runtime.ts",
636
+ "line": 262,
637
+ "character": 15
638
+ },
639
+ "name": "ForkOptions"
640
+ },
641
+ "isOptional": true,
642
+ "isSpread": false
643
+ },
644
+ {
645
+ "__schema": "ParameterSchema",
646
+ "location": {
647
+ "filePath": "forking.main.runtime.ts",
648
+ "line": 263,
649
+ "character": 5
650
+ },
651
+ "name": "shouldRefactorVariablesAndClasses",
652
+ "type": {
653
+ "__schema": "InferenceTypeSchema",
654
+ "location": {
655
+ "filePath": "forking.main.runtime.ts",
656
+ "line": 263,
657
+ "character": 5
658
+ },
659
+ "type": "boolean"
660
+ },
661
+ "isOptional": true,
662
+ "defaultValue": "true",
663
+ "isSpread": false
664
+ }
665
+ ],
666
+ "returnType": {
667
+ "__schema": "TypeRefSchema",
668
+ "location": {
669
+ "filePath": "forking.main.runtime.ts",
670
+ "line": 264,
671
+ "character": 6
672
+ },
673
+ "name": "Promise",
674
+ "typeArgs": [
675
+ {
676
+ "__schema": "TypeLiteralSchema",
677
+ "location": {
678
+ "filePath": "forking.main.runtime.ts",
679
+ "line": 264,
680
+ "character": 14
681
+ },
682
+ "members": [
683
+ {
684
+ "__schema": "VariableLikeSchema",
685
+ "location": {
686
+ "filePath": "forking.main.runtime.ts",
687
+ "line": 265,
688
+ "character": 5
689
+ },
690
+ "signature": "(property) targetCompId: ComponentID",
691
+ "name": "targetCompId",
692
+ "type": {
693
+ "__schema": "TypeRefSchema",
694
+ "location": {
695
+ "filePath": "forking.main.runtime.ts",
696
+ "line": 265,
697
+ "character": 5
698
+ },
699
+ "name": "ComponentID",
700
+ "componentId": {
701
+ "scope": "teambit.component",
702
+ "name": "component-id",
703
+ "version": "1.2.2"
704
+ }
705
+ },
706
+ "isOptional": false
707
+ },
708
+ {
709
+ "__schema": "VariableLikeSchema",
710
+ "location": {
711
+ "filePath": "forking.main.runtime.ts",
712
+ "line": 266,
713
+ "character": 5
714
+ },
715
+ "signature": "(property) component: Component",
716
+ "name": "component",
717
+ "type": {
718
+ "__schema": "TypeRefSchema",
719
+ "location": {
720
+ "filePath": "forking.main.runtime.ts",
721
+ "line": 266,
722
+ "character": 5
723
+ },
724
+ "name": "Component",
725
+ "componentId": {
726
+ "scope": "teambit.component",
727
+ "name": "component"
728
+ }
729
+ },
730
+ "isOptional": false
731
+ }
732
+ ]
733
+ }
734
+ ]
735
+ },
736
+ "modifiers": [
737
+ "async"
738
+ ]
739
+ },
554
740
  {
555
741
  "__schema": "VariableLikeSchema",
556
742
  "location": {
557
743
  "filePath": "forking.main.runtime.ts",
558
- "line": 352,
744
+ "line": 357,
559
745
  "character": 3
560
746
  },
561
747
  "signature": "(property) ForkingMain.slots: never[]",
@@ -564,7 +750,7 @@
564
750
  "__schema": "InferenceTypeSchema",
565
751
  "location": {
566
752
  "filePath": "forking.main.runtime.ts",
567
- "line": 352,
753
+ "line": 357,
568
754
  "character": 3
569
755
  },
570
756
  "type": "never[]"
@@ -576,7 +762,7 @@
576
762
  "__schema": "VariableLikeSchema",
577
763
  "location": {
578
764
  "filePath": "forking.main.runtime.ts",
579
- "line": 353,
765
+ "line": 358,
580
766
  "character": 3
581
767
  },
582
768
  "signature": "(property) ForkingMain.dependencies: Aspect[]",
@@ -585,19 +771,19 @@
585
771
  "__schema": "InferenceTypeSchema",
586
772
  "location": {
587
773
  "filePath": "forking.main.runtime.ts",
588
- "line": 353,
774
+ "line": 358,
589
775
  "character": 3
590
776
  },
591
777
  "type": "Aspect[]"
592
778
  },
593
779
  "isOptional": true,
594
- "defaultValue": "[\n CLIAspect,\n WorkspaceAspect,\n DependencyResolverAspect,\n ComponentAspect,\n NewComponentHelperAspect,\n GraphqlAspect,\n RefactoringAspect,\n PkgAspect,\n InstallAspect,\n ]"
780
+ "defaultValue": "[\n CLIAspect,\n WorkspaceAspect,\n ScopeAspect,\n DependencyResolverAspect,\n ComponentAspect,\n NewComponentHelperAspect,\n GraphqlAspect,\n RefactoringAspect,\n PkgAspect,\n InstallAspect,\n ]"
595
781
  },
596
782
  {
597
783
  "__schema": "VariableLikeSchema",
598
784
  "location": {
599
785
  "filePath": "forking.main.runtime.ts",
600
- "line": 364,
786
+ "line": 370,
601
787
  "character": 3
602
788
  },
603
789
  "signature": "(property) ForkingMain.runtime: RuntimeDefinition",
@@ -606,7 +792,7 @@
606
792
  "__schema": "InferenceTypeSchema",
607
793
  "location": {
608
794
  "filePath": "forking.main.runtime.ts",
609
- "line": 364,
795
+ "line": 370,
610
796
  "character": 3
611
797
  },
612
798
  "type": "RuntimeDefinition"
@@ -618,25 +804,25 @@
618
804
  "__schema": "FunctionLikeSchema",
619
805
  "location": {
620
806
  "filePath": "forking.main.runtime.ts",
621
- "line": 365,
807
+ "line": 371,
622
808
  "character": 3
623
809
  },
624
- "signature": "(method) ForkingMain.provider([cli, workspace, dependencyResolver, componentMain, newComponentHelper, graphql, refactoring, pkg, install,]: [\n CLIMain,\n Workspace,\n DependencyResolverMain,\n ComponentMain,\n NewComponentHelperMain,\n GraphqlMain,\n RefactoringMain,\n PkgMain,\n InstallMain\n]): Promise<ForkingMain>",
810
+ "signature": "(method) ForkingMain.provider([cli, workspace, scope, dependencyResolver, componentMain, newComponentHelper, graphql, refactoring, pkg, install,]: [\n CLIMain,\n Workspace,\n ScopeMain,\n DependencyResolverMain,\n ComponentMain,\n NewComponentHelperMain,\n GraphqlMain,\n RefactoringMain,\n PkgMain,\n InstallMain\n]): Promise<ForkingMain>",
625
811
  "name": "provider",
626
812
  "params": [
627
813
  {
628
814
  "__schema": "ParameterSchema",
629
815
  "location": {
630
816
  "filePath": "forking.main.runtime.ts",
631
- "line": 365,
817
+ "line": 371,
632
818
  "character": 25
633
819
  },
634
- "name": "[ cli, workspace, dependencyResolver, componentMain, newComponentHelper, graphql, refactoring, pkg, install ]",
820
+ "name": "[ cli, workspace, scope, dependencyResolver, componentMain, newComponentHelper, graphql, refactoring, pkg, install ]",
635
821
  "type": {
636
822
  "__schema": "TupleTypeSchema",
637
823
  "location": {
638
824
  "filePath": "forking.main.runtime.ts",
639
- "line": 375,
825
+ "line": 382,
640
826
  "character": 6
641
827
  },
642
828
  "elements": [
@@ -644,7 +830,7 @@
644
830
  "__schema": "TypeRefSchema",
645
831
  "location": {
646
832
  "filePath": "forking.main.runtime.ts",
647
- "line": 376,
833
+ "line": 383,
648
834
  "character": 5
649
835
  },
650
836
  "name": "CLIMain"
@@ -653,7 +839,7 @@
653
839
  "__schema": "TypeRefSchema",
654
840
  "location": {
655
841
  "filePath": "forking.main.runtime.ts",
656
- "line": 377,
842
+ "line": 384,
657
843
  "character": 5
658
844
  },
659
845
  "name": "Workspace"
@@ -662,7 +848,16 @@
662
848
  "__schema": "TypeRefSchema",
663
849
  "location": {
664
850
  "filePath": "forking.main.runtime.ts",
665
- "line": 378,
851
+ "line": 385,
852
+ "character": 5
853
+ },
854
+ "name": "ScopeMain"
855
+ },
856
+ {
857
+ "__schema": "TypeRefSchema",
858
+ "location": {
859
+ "filePath": "forking.main.runtime.ts",
860
+ "line": 386,
666
861
  "character": 5
667
862
  },
668
863
  "name": "DependencyResolverMain"
@@ -671,7 +866,7 @@
671
866
  "__schema": "TypeRefSchema",
672
867
  "location": {
673
868
  "filePath": "forking.main.runtime.ts",
674
- "line": 379,
869
+ "line": 387,
675
870
  "character": 5
676
871
  },
677
872
  "name": "ComponentMain"
@@ -680,7 +875,7 @@
680
875
  "__schema": "TypeRefSchema",
681
876
  "location": {
682
877
  "filePath": "forking.main.runtime.ts",
683
- "line": 380,
878
+ "line": 388,
684
879
  "character": 5
685
880
  },
686
881
  "name": "NewComponentHelperMain"
@@ -689,7 +884,7 @@
689
884
  "__schema": "TypeRefSchema",
690
885
  "location": {
691
886
  "filePath": "forking.main.runtime.ts",
692
- "line": 381,
887
+ "line": 389,
693
888
  "character": 5
694
889
  },
695
890
  "name": "GraphqlMain"
@@ -698,7 +893,7 @@
698
893
  "__schema": "TypeRefSchema",
699
894
  "location": {
700
895
  "filePath": "forking.main.runtime.ts",
701
- "line": 382,
896
+ "line": 390,
702
897
  "character": 5
703
898
  },
704
899
  "name": "RefactoringMain"
@@ -707,7 +902,7 @@
707
902
  "__schema": "TypeRefSchema",
708
903
  "location": {
709
904
  "filePath": "forking.main.runtime.ts",
710
- "line": 383,
905
+ "line": 391,
711
906
  "character": 5
712
907
  },
713
908
  "name": "PkgMain"
@@ -716,7 +911,7 @@
716
911
  "__schema": "TypeRefSchema",
717
912
  "location": {
718
913
  "filePath": "forking.main.runtime.ts",
719
- "line": 384,
914
+ "line": 392,
720
915
  "character": 5
721
916
  },
722
917
  "name": "InstallMain"
@@ -731,7 +926,7 @@
731
926
  "__schema": "InferenceTypeSchema",
732
927
  "location": {
733
928
  "filePath": "forking.main.runtime.ts",
734
- "line": 365,
929
+ "line": 371,
735
930
  "character": 3
736
931
  },
737
932
  "type": "Promise<ForkingMain>"
@@ -808,7 +1003,7 @@
808
1003
  "__schema": "TypeSchema",
809
1004
  "location": {
810
1005
  "filePath": "forking.main.runtime.ts",
811
- "line": 25,
1006
+ "line": 26,
812
1007
  "character": 1
813
1008
  },
814
1009
  "signature": "type ForkInfo = {\n forkedFrom: ComponentID;\n}",
@@ -817,7 +1012,7 @@
817
1012
  "__schema": "TypeLiteralSchema",
818
1013
  "location": {
819
1014
  "filePath": "forking.main.runtime.ts",
820
- "line": 25,
1015
+ "line": 26,
821
1016
  "character": 24
822
1017
  },
823
1018
  "members": [
@@ -825,7 +1020,7 @@
825
1020
  "__schema": "VariableLikeSchema",
826
1021
  "location": {
827
1022
  "filePath": "forking.main.runtime.ts",
828
- "line": 26,
1023
+ "line": 27,
829
1024
  "character": 3
830
1025
  },
831
1026
  "signature": "(property) forkedFrom: ComponentID",
@@ -834,7 +1029,7 @@
834
1029
  "__schema": "TypeRefSchema",
835
1030
  "location": {
836
1031
  "filePath": "forking.main.runtime.ts",
837
- "line": 26,
1032
+ "line": 27,
838
1033
  "character": 3
839
1034
  },
840
1035
  "name": "ComponentID",
@@ -853,7 +1048,7 @@
853
1048
  "__schema": "ClassSchema",
854
1049
  "location": {
855
1050
  "filePath": "forking.main.runtime.ts",
856
- "line": 51,
1051
+ "line": 52,
857
1052
  "character": 1
858
1053
  },
859
1054
  "signature": "class ForkingMain",
@@ -863,17 +1058,17 @@
863
1058
  "__schema": "ConstructorSchema",
864
1059
  "location": {
865
1060
  "filePath": "forking.main.runtime.ts",
866
- "line": 52,
1061
+ "line": 53,
867
1062
  "character": 3
868
1063
  },
869
- "signature": "constructor ForkingMain(workspace: Workspace, install: InstallMain, dependencyResolver: DependencyResolverMain, newComponentHelper: NewComponentHelperMain, refactoring: RefactoringMain, pkg: PkgMain): ForkingMain",
1064
+ "signature": "constructor ForkingMain(workspace: Workspace, scope: ScopeMain, install: InstallMain, dependencyResolver: DependencyResolverMain, newComponentHelper: NewComponentHelperMain, refactoring: RefactoringMain, pkg: PkgMain): ForkingMain",
870
1065
  "name": "constructor",
871
1066
  "params": [
872
1067
  {
873
1068
  "__schema": "ParameterSchema",
874
1069
  "location": {
875
1070
  "filePath": "forking.main.runtime.ts",
876
- "line": 53,
1071
+ "line": 54,
877
1072
  "character": 5
878
1073
  },
879
1074
  "name": "workspace",
@@ -881,7 +1076,7 @@
881
1076
  "__schema": "TypeRefSchema",
882
1077
  "location": {
883
1078
  "filePath": "forking.main.runtime.ts",
884
- "line": 53,
1079
+ "line": 54,
885
1080
  "character": 24
886
1081
  },
887
1082
  "name": "Workspace"
@@ -893,7 +1088,27 @@
893
1088
  "__schema": "ParameterSchema",
894
1089
  "location": {
895
1090
  "filePath": "forking.main.runtime.ts",
896
- "line": 54,
1091
+ "line": 55,
1092
+ "character": 5
1093
+ },
1094
+ "name": "scope",
1095
+ "type": {
1096
+ "__schema": "TypeRefSchema",
1097
+ "location": {
1098
+ "filePath": "forking.main.runtime.ts",
1099
+ "line": 55,
1100
+ "character": 20
1101
+ },
1102
+ "name": "ScopeMain"
1103
+ },
1104
+ "isOptional": false,
1105
+ "isSpread": false
1106
+ },
1107
+ {
1108
+ "__schema": "ParameterSchema",
1109
+ "location": {
1110
+ "filePath": "forking.main.runtime.ts",
1111
+ "line": 56,
897
1112
  "character": 5
898
1113
  },
899
1114
  "name": "install",
@@ -901,7 +1116,7 @@
901
1116
  "__schema": "TypeRefSchema",
902
1117
  "location": {
903
1118
  "filePath": "forking.main.runtime.ts",
904
- "line": 54,
1119
+ "line": 56,
905
1120
  "character": 22
906
1121
  },
907
1122
  "name": "InstallMain"
@@ -913,7 +1128,7 @@
913
1128
  "__schema": "ParameterSchema",
914
1129
  "location": {
915
1130
  "filePath": "forking.main.runtime.ts",
916
- "line": 55,
1131
+ "line": 57,
917
1132
  "character": 5
918
1133
  },
919
1134
  "name": "dependencyResolver",
@@ -921,7 +1136,7 @@
921
1136
  "__schema": "TypeRefSchema",
922
1137
  "location": {
923
1138
  "filePath": "forking.main.runtime.ts",
924
- "line": 55,
1139
+ "line": 57,
925
1140
  "character": 33
926
1141
  },
927
1142
  "name": "DependencyResolverMain"
@@ -933,7 +1148,7 @@
933
1148
  "__schema": "ParameterSchema",
934
1149
  "location": {
935
1150
  "filePath": "forking.main.runtime.ts",
936
- "line": 56,
1151
+ "line": 58,
937
1152
  "character": 5
938
1153
  },
939
1154
  "name": "newComponentHelper",
@@ -941,7 +1156,7 @@
941
1156
  "__schema": "TypeRefSchema",
942
1157
  "location": {
943
1158
  "filePath": "forking.main.runtime.ts",
944
- "line": 56,
1159
+ "line": 58,
945
1160
  "character": 33
946
1161
  },
947
1162
  "name": "NewComponentHelperMain"
@@ -953,7 +1168,7 @@
953
1168
  "__schema": "ParameterSchema",
954
1169
  "location": {
955
1170
  "filePath": "forking.main.runtime.ts",
956
- "line": 57,
1171
+ "line": 59,
957
1172
  "character": 5
958
1173
  },
959
1174
  "name": "refactoring",
@@ -961,7 +1176,7 @@
961
1176
  "__schema": "TypeRefSchema",
962
1177
  "location": {
963
1178
  "filePath": "forking.main.runtime.ts",
964
- "line": 57,
1179
+ "line": 59,
965
1180
  "character": 26
966
1181
  },
967
1182
  "name": "RefactoringMain"
@@ -973,7 +1188,7 @@
973
1188
  "__schema": "ParameterSchema",
974
1189
  "location": {
975
1190
  "filePath": "forking.main.runtime.ts",
976
- "line": 58,
1191
+ "line": 60,
977
1192
  "character": 5
978
1193
  },
979
1194
  "name": "pkg",
@@ -981,7 +1196,7 @@
981
1196
  "__schema": "TypeRefSchema",
982
1197
  "location": {
983
1198
  "filePath": "forking.main.runtime.ts",
984
- "line": 58,
1199
+ "line": 60,
985
1200
  "character": 18
986
1201
  },
987
1202
  "name": "PkgMain"
@@ -994,7 +1209,7 @@
994
1209
  "__schema": "ThisTypeSchema",
995
1210
  "location": {
996
1211
  "filePath": "forking.main.runtime.ts",
997
- "line": 51,
1212
+ "line": 52,
998
1213
  "character": 1
999
1214
  },
1000
1215
  "name": "ForkingMain"
@@ -1005,14 +1220,14 @@
1005
1220
  "__schema": "FunctionLikeSchema",
1006
1221
  "location": {
1007
1222
  "filePath": "forking.main.runtime.ts",
1008
- "line": 66,
1223
+ "line": 68,
1009
1224
  "character": 3
1010
1225
  },
1011
1226
  "doc": {
1012
1227
  "__schema": "DocSchema",
1013
1228
  "location": {
1014
1229
  "filePath": "forking.main.runtime.ts",
1015
- "line": 61,
1230
+ "line": 63,
1016
1231
  "character": 3
1017
1232
  },
1018
1233
  "raw": "/**\n * create a new copy of existing/remote component.\n * the new component holds a reference to the old one for future reference.\n * if refactor option is enable, change the source-code to update all dependencies with the new name.\n */",
@@ -1026,7 +1241,7 @@
1026
1241
  "__schema": "ParameterSchema",
1027
1242
  "location": {
1028
1243
  "filePath": "forking.main.runtime.ts",
1029
- "line": 66,
1244
+ "line": 68,
1030
1245
  "character": 14
1031
1246
  },
1032
1247
  "name": "sourceId",
@@ -1034,7 +1249,7 @@
1034
1249
  "__schema": "KeywordTypeSchema",
1035
1250
  "location": {
1036
1251
  "filePath": "forking.main.runtime.ts",
1037
- "line": 66,
1252
+ "line": 68,
1038
1253
  "character": 24
1039
1254
  },
1040
1255
  "name": "string"
@@ -1046,7 +1261,7 @@
1046
1261
  "__schema": "ParameterSchema",
1047
1262
  "location": {
1048
1263
  "filePath": "forking.main.runtime.ts",
1049
- "line": 66,
1264
+ "line": 68,
1050
1265
  "character": 32
1051
1266
  },
1052
1267
  "name": "targetId",
@@ -1054,7 +1269,7 @@
1054
1269
  "__schema": "KeywordTypeSchema",
1055
1270
  "location": {
1056
1271
  "filePath": "forking.main.runtime.ts",
1057
- "line": 66,
1272
+ "line": 68,
1058
1273
  "character": 43
1059
1274
  },
1060
1275
  "name": "string"
@@ -1066,7 +1281,7 @@
1066
1281
  "__schema": "ParameterSchema",
1067
1282
  "location": {
1068
1283
  "filePath": "forking.main.runtime.ts",
1069
- "line": 66,
1284
+ "line": 68,
1070
1285
  "character": 51
1071
1286
  },
1072
1287
  "name": "options",
@@ -1074,7 +1289,7 @@
1074
1289
  "__schema": "TypeRefSchema",
1075
1290
  "location": {
1076
1291
  "filePath": "forking.main.runtime.ts",
1077
- "line": 66,
1292
+ "line": 68,
1078
1293
  "character": 61
1079
1294
  },
1080
1295
  "name": "ForkOptions"
@@ -1087,7 +1302,7 @@
1087
1302
  "__schema": "TypeRefSchema",
1088
1303
  "location": {
1089
1304
  "filePath": "forking.main.runtime.ts",
1090
- "line": 66,
1305
+ "line": 68,
1091
1306
  "character": 75
1092
1307
  },
1093
1308
  "name": "Promise",
@@ -1096,7 +1311,7 @@
1096
1311
  "__schema": "TypeRefSchema",
1097
1312
  "location": {
1098
1313
  "filePath": "forking.main.runtime.ts",
1099
- "line": 66,
1314
+ "line": 68,
1100
1315
  "character": 83
1101
1316
  },
1102
1317
  "name": "ComponentID"
@@ -1111,14 +1326,14 @@
1111
1326
  "__schema": "FunctionLikeSchema",
1112
1327
  "location": {
1113
1328
  "filePath": "forking.main.runtime.ts",
1114
- "line": 84,
1329
+ "line": 86,
1115
1330
  "character": 3
1116
1331
  },
1117
1332
  "doc": {
1118
1333
  "__schema": "DocSchema",
1119
1334
  "location": {
1120
1335
  "filePath": "forking.main.runtime.ts",
1121
- "line": 81,
1336
+ "line": 83,
1122
1337
  "character": 3
1123
1338
  },
1124
1339
  "raw": "/**\n * get the forking data, such as the source where a component was forked from\n */",
@@ -1132,7 +1347,7 @@
1132
1347
  "__schema": "ParameterSchema",
1133
1348
  "location": {
1134
1349
  "filePath": "forking.main.runtime.ts",
1135
- "line": 84,
1350
+ "line": 86,
1136
1351
  "character": 15
1137
1352
  },
1138
1353
  "name": "component",
@@ -1140,7 +1355,7 @@
1140
1355
  "__schema": "TypeRefSchema",
1141
1356
  "location": {
1142
1357
  "filePath": "forking.main.runtime.ts",
1143
- "line": 84,
1358
+ "line": 86,
1144
1359
  "character": 26
1145
1360
  },
1146
1361
  "name": "Component"
@@ -1153,7 +1368,7 @@
1153
1368
  "__schema": "TypeUnionSchema",
1154
1369
  "location": {
1155
1370
  "filePath": "forking.main.runtime.ts",
1156
- "line": 84,
1371
+ "line": 86,
1157
1372
  "character": 38
1158
1373
  },
1159
1374
  "types": [
@@ -1161,7 +1376,7 @@
1161
1376
  "__schema": "TypeRefSchema",
1162
1377
  "location": {
1163
1378
  "filePath": "forking.main.runtime.ts",
1164
- "line": 84,
1379
+ "line": 86,
1165
1380
  "character": 38
1166
1381
  },
1167
1382
  "name": "ForkInfo"
@@ -1170,7 +1385,7 @@
1170
1385
  "__schema": "LiteralTypeSchema",
1171
1386
  "location": {
1172
1387
  "filePath": "forking.main.runtime.ts",
1173
- "line": 84,
1388
+ "line": 86,
1174
1389
  "character": 49
1175
1390
  },
1176
1391
  "name": "null"
@@ -1183,17 +1398,17 @@
1183
1398
  "__schema": "FunctionLikeSchema",
1184
1399
  "location": {
1185
1400
  "filePath": "forking.main.runtime.ts",
1186
- "line": 92,
1401
+ "line": 94,
1187
1402
  "character": 3
1188
1403
  },
1189
- "signature": "(method) ForkingMain.forkMultipleFromRemote(componentsToFork: MultipleComponentsToFork, options?: MultipleForkOptions): Promise<void>",
1404
+ "signature": "(method) ForkingMain.forkMultipleFromRemote(componentsToFork: MultipleComponentsToFork, options?: MultipleForkOptions): Promise<{\n targetCompId: ComponentID;\n sourceId: string;\n component: Component;\n}[]>",
1190
1405
  "name": "forkMultipleFromRemote",
1191
1406
  "params": [
1192
1407
  {
1193
1408
  "__schema": "ParameterSchema",
1194
1409
  "location": {
1195
1410
  "filePath": "forking.main.runtime.ts",
1196
- "line": 92,
1411
+ "line": 94,
1197
1412
  "character": 32
1198
1413
  },
1199
1414
  "name": "componentsToFork",
@@ -1201,7 +1416,7 @@
1201
1416
  "__schema": "TypeRefSchema",
1202
1417
  "location": {
1203
1418
  "filePath": "forking.main.runtime.ts",
1204
- "line": 92,
1419
+ "line": 94,
1205
1420
  "character": 50
1206
1421
  },
1207
1422
  "name": "MultipleComponentsToFork"
@@ -1213,7 +1428,7 @@
1213
1428
  "__schema": "ParameterSchema",
1214
1429
  "location": {
1215
1430
  "filePath": "forking.main.runtime.ts",
1216
- "line": 92,
1431
+ "line": 94,
1217
1432
  "character": 76
1218
1433
  },
1219
1434
  "name": "options",
@@ -1221,7 +1436,7 @@
1221
1436
  "__schema": "TypeRefSchema",
1222
1437
  "location": {
1223
1438
  "filePath": "forking.main.runtime.ts",
1224
- "line": 92,
1439
+ "line": 94,
1225
1440
  "character": 85
1226
1441
  },
1227
1442
  "name": "MultipleForkOptions"
@@ -1235,10 +1450,10 @@
1235
1450
  "__schema": "InferenceTypeSchema",
1236
1451
  "location": {
1237
1452
  "filePath": "forking.main.runtime.ts",
1238
- "line": 92,
1453
+ "line": 94,
1239
1454
  "character": 3
1240
1455
  },
1241
- "type": "Promise<void>"
1456
+ "type": "Promise<{\n targetCompId: ComponentID;\n sourceId: string;\n component: Component;\n}[]>"
1242
1457
  },
1243
1458
  "modifiers": [
1244
1459
  "async"
@@ -1248,14 +1463,14 @@
1248
1463
  "__schema": "FunctionLikeSchema",
1249
1464
  "location": {
1250
1465
  "filePath": "forking.main.runtime.ts",
1251
- "line": 187,
1466
+ "line": 190,
1252
1467
  "character": 3
1253
1468
  },
1254
1469
  "doc": {
1255
1470
  "__schema": "DocSchema",
1256
1471
  "location": {
1257
1472
  "filePath": "forking.main.runtime.ts",
1258
- "line": 184,
1473
+ "line": 187,
1259
1474
  "character": 3
1260
1475
  },
1261
1476
  "raw": "/**\n * fork all components of the given scope\n */",
@@ -1269,7 +1484,7 @@
1269
1484
  "__schema": "ParameterSchema",
1270
1485
  "location": {
1271
1486
  "filePath": "forking.main.runtime.ts",
1272
- "line": 188,
1487
+ "line": 191,
1273
1488
  "character": 5
1274
1489
  },
1275
1490
  "name": "originalScope",
@@ -1277,7 +1492,7 @@
1277
1492
  "__schema": "KeywordTypeSchema",
1278
1493
  "location": {
1279
1494
  "filePath": "forking.main.runtime.ts",
1280
- "line": 188,
1495
+ "line": 191,
1281
1496
  "character": 20
1282
1497
  },
1283
1498
  "name": "string"
@@ -1289,7 +1504,7 @@
1289
1504
  "__schema": "ParameterSchema",
1290
1505
  "location": {
1291
1506
  "filePath": "forking.main.runtime.ts",
1292
- "line": 189,
1507
+ "line": 192,
1293
1508
  "character": 5
1294
1509
  },
1295
1510
  "name": "newOptionalScope",
@@ -1297,7 +1512,7 @@
1297
1512
  "__schema": "KeywordTypeSchema",
1298
1513
  "location": {
1299
1514
  "filePath": "forking.main.runtime.ts",
1300
- "line": 189,
1515
+ "line": 192,
1301
1516
  "character": 24
1302
1517
  },
1303
1518
  "name": "string"
@@ -1309,7 +1524,7 @@
1309
1524
  "__schema": "ParameterSchema",
1310
1525
  "location": {
1311
1526
  "filePath": "forking.main.runtime.ts",
1312
- "line": 190,
1527
+ "line": 193,
1313
1528
  "character": 5
1314
1529
  },
1315
1530
  "name": "pattern",
@@ -1317,7 +1532,7 @@
1317
1532
  "__schema": "KeywordTypeSchema",
1318
1533
  "location": {
1319
1534
  "filePath": "forking.main.runtime.ts",
1320
- "line": 190,
1535
+ "line": 193,
1321
1536
  "character": 15
1322
1537
  },
1323
1538
  "name": "string"
@@ -1329,7 +1544,7 @@
1329
1544
  "__schema": "ParameterSchema",
1330
1545
  "location": {
1331
1546
  "filePath": "forking.main.runtime.ts",
1332
- "line": 191,
1547
+ "line": 194,
1333
1548
  "character": 5
1334
1549
  },
1335
1550
  "name": "options",
@@ -1337,7 +1552,7 @@
1337
1552
  "__schema": "TypeRefSchema",
1338
1553
  "location": {
1339
1554
  "filePath": "forking.main.runtime.ts",
1340
- "line": 191,
1555
+ "line": 194,
1341
1556
  "character": 15
1342
1557
  },
1343
1558
  "name": "ScopeForkOptions"
@@ -1350,7 +1565,7 @@
1350
1565
  "__schema": "TypeRefSchema",
1351
1566
  "location": {
1352
1567
  "filePath": "forking.main.runtime.ts",
1353
- "line": 192,
1568
+ "line": 195,
1354
1569
  "character": 6
1355
1570
  },
1356
1571
  "name": "Promise",
@@ -1359,14 +1574,14 @@
1359
1574
  "__schema": "TypeArraySchema",
1360
1575
  "location": {
1361
1576
  "filePath": "forking.main.runtime.ts",
1362
- "line": 192,
1577
+ "line": 195,
1363
1578
  "character": 14
1364
1579
  },
1365
1580
  "type": {
1366
1581
  "__schema": "TypeRefSchema",
1367
1582
  "location": {
1368
1583
  "filePath": "forking.main.runtime.ts",
1369
- "line": 192,
1584
+ "line": 195,
1370
1585
  "character": 14
1371
1586
  },
1372
1587
  "name": "ComponentID"
@@ -1378,11 +1593,177 @@
1378
1593
  "async"
1379
1594
  ]
1380
1595
  },
1596
+ {
1597
+ "__schema": "FunctionLikeSchema",
1598
+ "location": {
1599
+ "filePath": "forking.main.runtime.ts",
1600
+ "line": 259,
1601
+ "character": 3
1602
+ },
1603
+ "signature": "(method) ForkingMain.forkRemoteComponent(sourceId: ComponentID, targetId?: string, options?: ForkOptions, shouldRefactorVariablesAndClasses?: boolean): Promise<{\n targetCompId: ComponentID;\n component: Component;\n}>",
1604
+ "name": "forkRemoteComponent",
1605
+ "params": [
1606
+ {
1607
+ "__schema": "ParameterSchema",
1608
+ "location": {
1609
+ "filePath": "forking.main.runtime.ts",
1610
+ "line": 260,
1611
+ "character": 5
1612
+ },
1613
+ "name": "sourceId",
1614
+ "type": {
1615
+ "__schema": "TypeRefSchema",
1616
+ "location": {
1617
+ "filePath": "forking.main.runtime.ts",
1618
+ "line": 260,
1619
+ "character": 15
1620
+ },
1621
+ "name": "ComponentID"
1622
+ },
1623
+ "isOptional": false,
1624
+ "isSpread": false
1625
+ },
1626
+ {
1627
+ "__schema": "ParameterSchema",
1628
+ "location": {
1629
+ "filePath": "forking.main.runtime.ts",
1630
+ "line": 261,
1631
+ "character": 5
1632
+ },
1633
+ "name": "targetId",
1634
+ "type": {
1635
+ "__schema": "KeywordTypeSchema",
1636
+ "location": {
1637
+ "filePath": "forking.main.runtime.ts",
1638
+ "line": 261,
1639
+ "character": 16
1640
+ },
1641
+ "name": "string"
1642
+ },
1643
+ "isOptional": true,
1644
+ "isSpread": false
1645
+ },
1646
+ {
1647
+ "__schema": "ParameterSchema",
1648
+ "location": {
1649
+ "filePath": "forking.main.runtime.ts",
1650
+ "line": 262,
1651
+ "character": 5
1652
+ },
1653
+ "name": "options",
1654
+ "type": {
1655
+ "__schema": "TypeRefSchema",
1656
+ "location": {
1657
+ "filePath": "forking.main.runtime.ts",
1658
+ "line": 262,
1659
+ "character": 15
1660
+ },
1661
+ "name": "ForkOptions"
1662
+ },
1663
+ "isOptional": true,
1664
+ "isSpread": false
1665
+ },
1666
+ {
1667
+ "__schema": "ParameterSchema",
1668
+ "location": {
1669
+ "filePath": "forking.main.runtime.ts",
1670
+ "line": 263,
1671
+ "character": 5
1672
+ },
1673
+ "name": "shouldRefactorVariablesAndClasses",
1674
+ "type": {
1675
+ "__schema": "InferenceTypeSchema",
1676
+ "location": {
1677
+ "filePath": "forking.main.runtime.ts",
1678
+ "line": 263,
1679
+ "character": 5
1680
+ },
1681
+ "type": "boolean"
1682
+ },
1683
+ "isOptional": true,
1684
+ "defaultValue": "true",
1685
+ "isSpread": false
1686
+ }
1687
+ ],
1688
+ "returnType": {
1689
+ "__schema": "TypeRefSchema",
1690
+ "location": {
1691
+ "filePath": "forking.main.runtime.ts",
1692
+ "line": 264,
1693
+ "character": 6
1694
+ },
1695
+ "name": "Promise",
1696
+ "typeArgs": [
1697
+ {
1698
+ "__schema": "TypeLiteralSchema",
1699
+ "location": {
1700
+ "filePath": "forking.main.runtime.ts",
1701
+ "line": 264,
1702
+ "character": 14
1703
+ },
1704
+ "members": [
1705
+ {
1706
+ "__schema": "VariableLikeSchema",
1707
+ "location": {
1708
+ "filePath": "forking.main.runtime.ts",
1709
+ "line": 265,
1710
+ "character": 5
1711
+ },
1712
+ "signature": "(property) targetCompId: ComponentID",
1713
+ "name": "targetCompId",
1714
+ "type": {
1715
+ "__schema": "TypeRefSchema",
1716
+ "location": {
1717
+ "filePath": "forking.main.runtime.ts",
1718
+ "line": 265,
1719
+ "character": 5
1720
+ },
1721
+ "name": "ComponentID",
1722
+ "componentId": {
1723
+ "scope": "teambit.component",
1724
+ "name": "component-id",
1725
+ "version": "1.2.2"
1726
+ }
1727
+ },
1728
+ "isOptional": false
1729
+ },
1730
+ {
1731
+ "__schema": "VariableLikeSchema",
1732
+ "location": {
1733
+ "filePath": "forking.main.runtime.ts",
1734
+ "line": 266,
1735
+ "character": 5
1736
+ },
1737
+ "signature": "(property) component: Component",
1738
+ "name": "component",
1739
+ "type": {
1740
+ "__schema": "TypeRefSchema",
1741
+ "location": {
1742
+ "filePath": "forking.main.runtime.ts",
1743
+ "line": 266,
1744
+ "character": 5
1745
+ },
1746
+ "name": "Component",
1747
+ "componentId": {
1748
+ "scope": "teambit.component",
1749
+ "name": "component"
1750
+ }
1751
+ },
1752
+ "isOptional": false
1753
+ }
1754
+ ]
1755
+ }
1756
+ ]
1757
+ },
1758
+ "modifiers": [
1759
+ "async"
1760
+ ]
1761
+ },
1381
1762
  {
1382
1763
  "__schema": "VariableLikeSchema",
1383
1764
  "location": {
1384
1765
  "filePath": "forking.main.runtime.ts",
1385
- "line": 352,
1766
+ "line": 357,
1386
1767
  "character": 3
1387
1768
  },
1388
1769
  "signature": "(property) ForkingMain.slots: never[]",
@@ -1391,7 +1772,7 @@
1391
1772
  "__schema": "InferenceTypeSchema",
1392
1773
  "location": {
1393
1774
  "filePath": "forking.main.runtime.ts",
1394
- "line": 352,
1775
+ "line": 357,
1395
1776
  "character": 3
1396
1777
  },
1397
1778
  "type": "never[]"
@@ -1403,7 +1784,7 @@
1403
1784
  "__schema": "VariableLikeSchema",
1404
1785
  "location": {
1405
1786
  "filePath": "forking.main.runtime.ts",
1406
- "line": 353,
1787
+ "line": 358,
1407
1788
  "character": 3
1408
1789
  },
1409
1790
  "signature": "(property) ForkingMain.dependencies: Aspect[]",
@@ -1412,19 +1793,19 @@
1412
1793
  "__schema": "InferenceTypeSchema",
1413
1794
  "location": {
1414
1795
  "filePath": "forking.main.runtime.ts",
1415
- "line": 353,
1796
+ "line": 358,
1416
1797
  "character": 3
1417
1798
  },
1418
1799
  "type": "Aspect[]"
1419
1800
  },
1420
1801
  "isOptional": true,
1421
- "defaultValue": "[\n CLIAspect,\n WorkspaceAspect,\n DependencyResolverAspect,\n ComponentAspect,\n NewComponentHelperAspect,\n GraphqlAspect,\n RefactoringAspect,\n PkgAspect,\n InstallAspect,\n ]"
1802
+ "defaultValue": "[\n CLIAspect,\n WorkspaceAspect,\n ScopeAspect,\n DependencyResolverAspect,\n ComponentAspect,\n NewComponentHelperAspect,\n GraphqlAspect,\n RefactoringAspect,\n PkgAspect,\n InstallAspect,\n ]"
1422
1803
  },
1423
1804
  {
1424
1805
  "__schema": "VariableLikeSchema",
1425
1806
  "location": {
1426
1807
  "filePath": "forking.main.runtime.ts",
1427
- "line": 364,
1808
+ "line": 370,
1428
1809
  "character": 3
1429
1810
  },
1430
1811
  "signature": "(property) ForkingMain.runtime: RuntimeDefinition",
@@ -1433,7 +1814,7 @@
1433
1814
  "__schema": "InferenceTypeSchema",
1434
1815
  "location": {
1435
1816
  "filePath": "forking.main.runtime.ts",
1436
- "line": 364,
1817
+ "line": 370,
1437
1818
  "character": 3
1438
1819
  },
1439
1820
  "type": "RuntimeDefinition"
@@ -1445,25 +1826,25 @@
1445
1826
  "__schema": "FunctionLikeSchema",
1446
1827
  "location": {
1447
1828
  "filePath": "forking.main.runtime.ts",
1448
- "line": 365,
1829
+ "line": 371,
1449
1830
  "character": 3
1450
1831
  },
1451
- "signature": "(method) ForkingMain.provider([cli, workspace, dependencyResolver, componentMain, newComponentHelper, graphql, refactoring, pkg, install,]: [\n CLIMain,\n Workspace,\n DependencyResolverMain,\n ComponentMain,\n NewComponentHelperMain,\n GraphqlMain,\n RefactoringMain,\n PkgMain,\n InstallMain\n]): Promise<ForkingMain>",
1832
+ "signature": "(method) ForkingMain.provider([cli, workspace, scope, dependencyResolver, componentMain, newComponentHelper, graphql, refactoring, pkg, install,]: [\n CLIMain,\n Workspace,\n ScopeMain,\n DependencyResolverMain,\n ComponentMain,\n NewComponentHelperMain,\n GraphqlMain,\n RefactoringMain,\n PkgMain,\n InstallMain\n]): Promise<ForkingMain>",
1452
1833
  "name": "provider",
1453
1834
  "params": [
1454
1835
  {
1455
1836
  "__schema": "ParameterSchema",
1456
1837
  "location": {
1457
1838
  "filePath": "forking.main.runtime.ts",
1458
- "line": 365,
1839
+ "line": 371,
1459
1840
  "character": 25
1460
1841
  },
1461
- "name": "[ cli, workspace, dependencyResolver, componentMain, newComponentHelper, graphql, refactoring, pkg, install ]",
1842
+ "name": "[ cli, workspace, scope, dependencyResolver, componentMain, newComponentHelper, graphql, refactoring, pkg, install ]",
1462
1843
  "type": {
1463
1844
  "__schema": "TupleTypeSchema",
1464
1845
  "location": {
1465
1846
  "filePath": "forking.main.runtime.ts",
1466
- "line": 375,
1847
+ "line": 382,
1467
1848
  "character": 6
1468
1849
  },
1469
1850
  "elements": [
@@ -1471,7 +1852,7 @@
1471
1852
  "__schema": "TypeRefSchema",
1472
1853
  "location": {
1473
1854
  "filePath": "forking.main.runtime.ts",
1474
- "line": 376,
1855
+ "line": 383,
1475
1856
  "character": 5
1476
1857
  },
1477
1858
  "name": "CLIMain"
@@ -1480,7 +1861,7 @@
1480
1861
  "__schema": "TypeRefSchema",
1481
1862
  "location": {
1482
1863
  "filePath": "forking.main.runtime.ts",
1483
- "line": 377,
1864
+ "line": 384,
1484
1865
  "character": 5
1485
1866
  },
1486
1867
  "name": "Workspace"
@@ -1489,7 +1870,16 @@
1489
1870
  "__schema": "TypeRefSchema",
1490
1871
  "location": {
1491
1872
  "filePath": "forking.main.runtime.ts",
1492
- "line": 378,
1873
+ "line": 385,
1874
+ "character": 5
1875
+ },
1876
+ "name": "ScopeMain"
1877
+ },
1878
+ {
1879
+ "__schema": "TypeRefSchema",
1880
+ "location": {
1881
+ "filePath": "forking.main.runtime.ts",
1882
+ "line": 386,
1493
1883
  "character": 5
1494
1884
  },
1495
1885
  "name": "DependencyResolverMain"
@@ -1498,7 +1888,7 @@
1498
1888
  "__schema": "TypeRefSchema",
1499
1889
  "location": {
1500
1890
  "filePath": "forking.main.runtime.ts",
1501
- "line": 379,
1891
+ "line": 387,
1502
1892
  "character": 5
1503
1893
  },
1504
1894
  "name": "ComponentMain"
@@ -1507,7 +1897,7 @@
1507
1897
  "__schema": "TypeRefSchema",
1508
1898
  "location": {
1509
1899
  "filePath": "forking.main.runtime.ts",
1510
- "line": 380,
1900
+ "line": 388,
1511
1901
  "character": 5
1512
1902
  },
1513
1903
  "name": "NewComponentHelperMain"
@@ -1516,7 +1906,7 @@
1516
1906
  "__schema": "TypeRefSchema",
1517
1907
  "location": {
1518
1908
  "filePath": "forking.main.runtime.ts",
1519
- "line": 381,
1909
+ "line": 389,
1520
1910
  "character": 5
1521
1911
  },
1522
1912
  "name": "GraphqlMain"
@@ -1525,7 +1915,7 @@
1525
1915
  "__schema": "TypeRefSchema",
1526
1916
  "location": {
1527
1917
  "filePath": "forking.main.runtime.ts",
1528
- "line": 382,
1918
+ "line": 390,
1529
1919
  "character": 5
1530
1920
  },
1531
1921
  "name": "RefactoringMain"
@@ -1534,7 +1924,7 @@
1534
1924
  "__schema": "TypeRefSchema",
1535
1925
  "location": {
1536
1926
  "filePath": "forking.main.runtime.ts",
1537
- "line": 383,
1927
+ "line": 391,
1538
1928
  "character": 5
1539
1929
  },
1540
1930
  "name": "PkgMain"
@@ -1543,7 +1933,7 @@
1543
1933
  "__schema": "TypeRefSchema",
1544
1934
  "location": {
1545
1935
  "filePath": "forking.main.runtime.ts",
1546
- "line": 384,
1936
+ "line": 392,
1547
1937
  "character": 5
1548
1938
  },
1549
1939
  "name": "InstallMain"
@@ -1558,7 +1948,7 @@
1558
1948
  "__schema": "InferenceTypeSchema",
1559
1949
  "location": {
1560
1950
  "filePath": "forking.main.runtime.ts",
1561
- "line": 365,
1951
+ "line": 371,
1562
1952
  "character": 3
1563
1953
  },
1564
1954
  "type": "Promise<ForkingMain>"
@@ -1576,7 +1966,7 @@
1576
1966
  "__schema": "TypeSchema",
1577
1967
  "location": {
1578
1968
  "filePath": "forking.main.runtime.ts",
1579
- "line": 400,
1969
+ "line": 416,
1580
1970
  "character": 1
1581
1971
  },
1582
1972
  "signature": "type ForkConfig = {\n forkedFrom: ComponentIdObj;\n}",
@@ -1585,7 +1975,7 @@
1585
1975
  "__schema": "TypeLiteralSchema",
1586
1976
  "location": {
1587
1977
  "filePath": "forking.main.runtime.ts",
1588
- "line": 400,
1978
+ "line": 416,
1589
1979
  "character": 26
1590
1980
  },
1591
1981
  "members": [
@@ -1593,7 +1983,7 @@
1593
1983
  "__schema": "VariableLikeSchema",
1594
1984
  "location": {
1595
1985
  "filePath": "forking.main.runtime.ts",
1596
- "line": 401,
1986
+ "line": 417,
1597
1987
  "character": 3
1598
1988
  },
1599
1989
  "signature": "(property) forkedFrom: ComponentIdObj",
@@ -1602,7 +1992,7 @@
1602
1992
  "__schema": "TypeRefSchema",
1603
1993
  "location": {
1604
1994
  "filePath": "forking.main.runtime.ts",
1605
- "line": 401,
1995
+ "line": 417,
1606
1996
  "character": 3
1607
1997
  },
1608
1998
  "name": "ComponentIdObj",
@@ -1623,7 +2013,7 @@
1623
2013
  "__schema": "TypeSchema",
1624
2014
  "location": {
1625
2015
  "filePath": "forking.main.runtime.ts",
1626
- "line": 29,
2016
+ "line": 30,
1627
2017
  "character": 1
1628
2018
  },
1629
2019
  "signature": "type MultipleForkInfo = {\n targetCompId: ComponentID;\n sourceId: string;\n component: Component;\n}",
@@ -1632,7 +2022,7 @@
1632
2022
  "__schema": "TypeLiteralSchema",
1633
2023
  "location": {
1634
2024
  "filePath": "forking.main.runtime.ts",
1635
- "line": 29,
2025
+ "line": 30,
1636
2026
  "character": 25
1637
2027
  },
1638
2028
  "members": [
@@ -1640,7 +2030,7 @@
1640
2030
  "__schema": "VariableLikeSchema",
1641
2031
  "location": {
1642
2032
  "filePath": "forking.main.runtime.ts",
1643
- "line": 30,
2033
+ "line": 31,
1644
2034
  "character": 3
1645
2035
  },
1646
2036
  "signature": "(property) targetCompId: ComponentID",
@@ -1649,7 +2039,7 @@
1649
2039
  "__schema": "TypeRefSchema",
1650
2040
  "location": {
1651
2041
  "filePath": "forking.main.runtime.ts",
1652
- "line": 30,
2042
+ "line": 31,
1653
2043
  "character": 3
1654
2044
  },
1655
2045
  "name": "ComponentID",
@@ -1665,7 +2055,7 @@
1665
2055
  "__schema": "VariableLikeSchema",
1666
2056
  "location": {
1667
2057
  "filePath": "forking.main.runtime.ts",
1668
- "line": 31,
2058
+ "line": 32,
1669
2059
  "character": 3
1670
2060
  },
1671
2061
  "signature": "(property) sourceId: string",
@@ -1674,7 +2064,7 @@
1674
2064
  "__schema": "KeywordTypeSchema",
1675
2065
  "location": {
1676
2066
  "filePath": "forking.main.runtime.ts",
1677
- "line": 31,
2067
+ "line": 32,
1678
2068
  "character": 13
1679
2069
  },
1680
2070
  "name": "string"
@@ -1685,7 +2075,7 @@
1685
2075
  "__schema": "VariableLikeSchema",
1686
2076
  "location": {
1687
2077
  "filePath": "forking.main.runtime.ts",
1688
- "line": 32,
2078
+ "line": 33,
1689
2079
  "character": 3
1690
2080
  },
1691
2081
  "signature": "(property) component: Component",
@@ -1694,7 +2084,7 @@
1694
2084
  "__schema": "TypeRefSchema",
1695
2085
  "location": {
1696
2086
  "filePath": "forking.main.runtime.ts",
1697
- "line": 32,
2087
+ "line": 33,
1698
2088
  "character": 3
1699
2089
  },
1700
2090
  "name": "Component",
@@ -1712,7 +2102,7 @@
1712
2102
  "__schema": "TypeSchema",
1713
2103
  "location": {
1714
2104
  "filePath": "forking.main.runtime.ts",
1715
- "line": 35,
2105
+ "line": 36,
1716
2106
  "character": 1
1717
2107
  },
1718
2108
  "signature": "type MultipleComponentsToFork = {\n sourceId: string;\n targetId?: string | undefined;\n targetScope?: string | undefined;\n path?: string | undefined;\n env?: string | undefined;\n config?: ComponentConfig | undefined;\n}[]",
@@ -1721,7 +2111,7 @@
1721
2111
  "__schema": "TypeRefSchema",
1722
2112
  "location": {
1723
2113
  "filePath": "forking.main.runtime.ts",
1724
- "line": 35,
2114
+ "line": 36,
1725
2115
  "character": 33
1726
2116
  },
1727
2117
  "name": "Array",
@@ -1730,7 +2120,7 @@
1730
2120
  "__schema": "TypeLiteralSchema",
1731
2121
  "location": {
1732
2122
  "filePath": "forking.main.runtime.ts",
1733
- "line": 35,
2123
+ "line": 36,
1734
2124
  "character": 39
1735
2125
  },
1736
2126
  "members": [
@@ -1738,7 +2128,7 @@
1738
2128
  "__schema": "VariableLikeSchema",
1739
2129
  "location": {
1740
2130
  "filePath": "forking.main.runtime.ts",
1741
- "line": 36,
2131
+ "line": 37,
1742
2132
  "character": 3
1743
2133
  },
1744
2134
  "signature": "(property) sourceId: string",
@@ -1747,7 +2137,7 @@
1747
2137
  "__schema": "KeywordTypeSchema",
1748
2138
  "location": {
1749
2139
  "filePath": "forking.main.runtime.ts",
1750
- "line": 36,
2140
+ "line": 37,
1751
2141
  "character": 13
1752
2142
  },
1753
2143
  "name": "string"
@@ -1758,7 +2148,7 @@
1758
2148
  "__schema": "VariableLikeSchema",
1759
2149
  "location": {
1760
2150
  "filePath": "forking.main.runtime.ts",
1761
- "line": 37,
2151
+ "line": 38,
1762
2152
  "character": 3
1763
2153
  },
1764
2154
  "signature": "(property) targetId?: string | undefined",
@@ -1767,7 +2157,7 @@
1767
2157
  "__schema": "KeywordTypeSchema",
1768
2158
  "location": {
1769
2159
  "filePath": "forking.main.runtime.ts",
1770
- "line": 37,
2160
+ "line": 38,
1771
2161
  "character": 14
1772
2162
  },
1773
2163
  "name": "string"
@@ -1778,7 +2168,7 @@
1778
2168
  "__schema": "VariableLikeSchema",
1779
2169
  "location": {
1780
2170
  "filePath": "forking.main.runtime.ts",
1781
- "line": 38,
2171
+ "line": 39,
1782
2172
  "character": 3
1783
2173
  },
1784
2174
  "signature": "(property) targetScope?: string | undefined",
@@ -1787,7 +2177,7 @@
1787
2177
  "__schema": "KeywordTypeSchema",
1788
2178
  "location": {
1789
2179
  "filePath": "forking.main.runtime.ts",
1790
- "line": 38,
2180
+ "line": 39,
1791
2181
  "character": 17
1792
2182
  },
1793
2183
  "name": "string"
@@ -1798,7 +2188,7 @@
1798
2188
  "__schema": "VariableLikeSchema",
1799
2189
  "location": {
1800
2190
  "filePath": "forking.main.runtime.ts",
1801
- "line": 39,
2191
+ "line": 40,
1802
2192
  "character": 3
1803
2193
  },
1804
2194
  "signature": "(property) path?: string | undefined",
@@ -1807,7 +2197,7 @@
1807
2197
  "__schema": "KeywordTypeSchema",
1808
2198
  "location": {
1809
2199
  "filePath": "forking.main.runtime.ts",
1810
- "line": 39,
2200
+ "line": 40,
1811
2201
  "character": 10
1812
2202
  },
1813
2203
  "name": "string"
@@ -1818,7 +2208,7 @@
1818
2208
  "__schema": "VariableLikeSchema",
1819
2209
  "location": {
1820
2210
  "filePath": "forking.main.runtime.ts",
1821
- "line": 40,
2211
+ "line": 41,
1822
2212
  "character": 3
1823
2213
  },
1824
2214
  "signature": "(property) env?: string | undefined",
@@ -1827,7 +2217,7 @@
1827
2217
  "__schema": "KeywordTypeSchema",
1828
2218
  "location": {
1829
2219
  "filePath": "forking.main.runtime.ts",
1830
- "line": 40,
2220
+ "line": 41,
1831
2221
  "character": 9
1832
2222
  },
1833
2223
  "name": "string"
@@ -1838,7 +2228,7 @@
1838
2228
  "__schema": "VariableLikeSchema",
1839
2229
  "location": {
1840
2230
  "filePath": "forking.main.runtime.ts",
1841
- "line": 41,
2231
+ "line": 42,
1842
2232
  "character": 3
1843
2233
  },
1844
2234
  "signature": "(property) config?: ComponentConfig | undefined",
@@ -1847,7 +2237,7 @@
1847
2237
  "__schema": "TypeRefSchema",
1848
2238
  "location": {
1849
2239
  "filePath": "forking.main.runtime.ts",
1850
- "line": 41,
2240
+ "line": 42,
1851
2241
  "character": 12
1852
2242
  },
1853
2243
  "name": "ComponentConfig"
@@ -1863,7 +2253,7 @@
1863
2253
  "__schema": "TypeSchema",
1864
2254
  "location": {
1865
2255
  "filePath": "forking.main.runtime.ts",
1866
- "line": 44,
2256
+ "line": 45,
1867
2257
  "character": 1
1868
2258
  },
1869
2259
  "signature": "type MultipleForkOptions = {\n refactor?: boolean | undefined;\n scope?: string | undefined;\n install?: boolean | undefined;\n ast?: boolean | undefined;\n}",
@@ -1872,7 +2262,7 @@
1872
2262
  "__schema": "TypeLiteralSchema",
1873
2263
  "location": {
1874
2264
  "filePath": "forking.main.runtime.ts",
1875
- "line": 44,
2265
+ "line": 45,
1876
2266
  "character": 28
1877
2267
  },
1878
2268
  "members": [
@@ -1880,7 +2270,7 @@
1880
2270
  "__schema": "VariableLikeSchema",
1881
2271
  "location": {
1882
2272
  "filePath": "forking.main.runtime.ts",
1883
- "line": 45,
2273
+ "line": 46,
1884
2274
  "character": 3
1885
2275
  },
1886
2276
  "signature": "(property) refactor?: boolean | undefined",
@@ -1889,7 +2279,7 @@
1889
2279
  "__schema": "KeywordTypeSchema",
1890
2280
  "location": {
1891
2281
  "filePath": "forking.main.runtime.ts",
1892
- "line": 45,
2282
+ "line": 46,
1893
2283
  "character": 14
1894
2284
  },
1895
2285
  "name": "boolean"
@@ -1900,7 +2290,7 @@
1900
2290
  "__schema": "VariableLikeSchema",
1901
2291
  "location": {
1902
2292
  "filePath": "forking.main.runtime.ts",
1903
- "line": 46,
2293
+ "line": 47,
1904
2294
  "character": 3
1905
2295
  },
1906
2296
  "signature": "(property) scope?: string | undefined",
@@ -1909,7 +2299,7 @@
1909
2299
  "__schema": "KeywordTypeSchema",
1910
2300
  "location": {
1911
2301
  "filePath": "forking.main.runtime.ts",
1912
- "line": 46,
2302
+ "line": 47,
1913
2303
  "character": 11
1914
2304
  },
1915
2305
  "name": "string"
@@ -1920,7 +2310,7 @@
1920
2310
  "__schema": "VariableLikeSchema",
1921
2311
  "location": {
1922
2312
  "filePath": "forking.main.runtime.ts",
1923
- "line": 47,
2313
+ "line": 48,
1924
2314
  "character": 3
1925
2315
  },
1926
2316
  "signature": "(property) install?: boolean | undefined",
@@ -1929,7 +2319,7 @@
1929
2319
  "__schema": "KeywordTypeSchema",
1930
2320
  "location": {
1931
2321
  "filePath": "forking.main.runtime.ts",
1932
- "line": 47,
2322
+ "line": 48,
1933
2323
  "character": 13
1934
2324
  },
1935
2325
  "name": "boolean"
@@ -1940,7 +2330,7 @@
1940
2330
  "__schema": "VariableLikeSchema",
1941
2331
  "location": {
1942
2332
  "filePath": "forking.main.runtime.ts",
1943
- "line": 48,
2333
+ "line": 49,
1944
2334
  "character": 3
1945
2335
  },
1946
2336
  "signature": "(property) ast?: boolean | undefined",
@@ -1949,7 +2339,7 @@
1949
2339
  "__schema": "KeywordTypeSchema",
1950
2340
  "location": {
1951
2341
  "filePath": "forking.main.runtime.ts",
1952
- "line": 48,
2342
+ "line": 49,
1953
2343
  "character": 9
1954
2344
  },
1955
2345
  "name": "boolean"
@@ -1963,7 +2353,7 @@
1963
2353
  "__schema": "UnImplementedSchema",
1964
2354
  "location": {
1965
2355
  "filePath": "forking.main.runtime.ts",
1966
- "line": 398,
2356
+ "line": 414,
1967
2357
  "character": 1
1968
2358
  },
1969
2359
  "name": "ForkingAspect.addRuntime(ForkingMain);",
@@ -2012,7 +2402,7 @@
2012
2402
  "componentId": {
2013
2403
  "scope": "teambit.component",
2014
2404
  "name": "forking",
2015
- "version": "1.0.440"
2405
+ "version": "1.0.441"
2016
2406
  },
2017
2407
  "taggedModuleExports": []
2018
2408
  }