@teambit/forking 1.0.512 → 1.0.514

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2618 @@
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": 3,
21
+ "character": 15
22
+ },
23
+ "signature": "class ForkingMain",
24
+ "name": "ForkingMain",
25
+ "exportNode": {
26
+ "__schema": "ClassSchema",
27
+ "location": {
28
+ "filePath": "forking.main.runtime.ts",
29
+ "line": 53,
30
+ "character": 1
31
+ },
32
+ "signature": "class ForkingMain",
33
+ "name": "ForkingMain",
34
+ "members": [
35
+ {
36
+ "__schema": "ConstructorSchema",
37
+ "location": {
38
+ "filePath": "forking.main.runtime.ts",
39
+ "line": 54,
40
+ "character": 3
41
+ },
42
+ "signature": "constructor ForkingMain(workspace: Workspace, scope: ScopeMain, install: InstallMain, dependencyResolver: DependencyResolverMain, newComponentHelper: NewComponentHelperMain, refactoring: RefactoringMain, pkg: PkgMain): ForkingMain",
43
+ "name": "constructor",
44
+ "params": [
45
+ {
46
+ "__schema": "ParameterSchema",
47
+ "location": {
48
+ "filePath": "forking.main.runtime.ts",
49
+ "line": 55,
50
+ "character": 5
51
+ },
52
+ "name": "workspace",
53
+ "type": {
54
+ "__schema": "TypeRefSchema",
55
+ "location": {
56
+ "filePath": "forking.main.runtime.ts",
57
+ "line": 55,
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": "forking.main.runtime.ts",
73
+ "line": 56,
74
+ "character": 5
75
+ },
76
+ "name": "scope",
77
+ "type": {
78
+ "__schema": "TypeRefSchema",
79
+ "location": {
80
+ "filePath": "forking.main.runtime.ts",
81
+ "line": 56,
82
+ "character": 20
83
+ },
84
+ "name": "ScopeMain",
85
+ "componentId": {
86
+ "scope": "teambit.scope",
87
+ "name": "scope"
88
+ }
89
+ },
90
+ "isOptional": false,
91
+ "isSpread": false
92
+ },
93
+ {
94
+ "__schema": "ParameterSchema",
95
+ "location": {
96
+ "filePath": "forking.main.runtime.ts",
97
+ "line": 57,
98
+ "character": 5
99
+ },
100
+ "name": "install",
101
+ "type": {
102
+ "__schema": "TypeRefSchema",
103
+ "location": {
104
+ "filePath": "forking.main.runtime.ts",
105
+ "line": 57,
106
+ "character": 22
107
+ },
108
+ "name": "InstallMain",
109
+ "componentId": {
110
+ "scope": "teambit.workspace",
111
+ "name": "install"
112
+ }
113
+ },
114
+ "isOptional": false,
115
+ "isSpread": false
116
+ },
117
+ {
118
+ "__schema": "ParameterSchema",
119
+ "location": {
120
+ "filePath": "forking.main.runtime.ts",
121
+ "line": 58,
122
+ "character": 5
123
+ },
124
+ "name": "dependencyResolver",
125
+ "type": {
126
+ "__schema": "TypeRefSchema",
127
+ "location": {
128
+ "filePath": "forking.main.runtime.ts",
129
+ "line": 58,
130
+ "character": 33
131
+ },
132
+ "name": "DependencyResolverMain",
133
+ "componentId": {
134
+ "scope": "teambit.dependencies",
135
+ "name": "dependency-resolver"
136
+ }
137
+ },
138
+ "isOptional": false,
139
+ "isSpread": false
140
+ },
141
+ {
142
+ "__schema": "ParameterSchema",
143
+ "location": {
144
+ "filePath": "forking.main.runtime.ts",
145
+ "line": 59,
146
+ "character": 5
147
+ },
148
+ "name": "newComponentHelper",
149
+ "type": {
150
+ "__schema": "TypeRefSchema",
151
+ "location": {
152
+ "filePath": "forking.main.runtime.ts",
153
+ "line": 59,
154
+ "character": 33
155
+ },
156
+ "name": "NewComponentHelperMain",
157
+ "componentId": {
158
+ "scope": "teambit.component",
159
+ "name": "new-component-helper"
160
+ }
161
+ },
162
+ "isOptional": false,
163
+ "isSpread": false
164
+ },
165
+ {
166
+ "__schema": "ParameterSchema",
167
+ "location": {
168
+ "filePath": "forking.main.runtime.ts",
169
+ "line": 60,
170
+ "character": 5
171
+ },
172
+ "name": "refactoring",
173
+ "type": {
174
+ "__schema": "TypeRefSchema",
175
+ "location": {
176
+ "filePath": "forking.main.runtime.ts",
177
+ "line": 60,
178
+ "character": 26
179
+ },
180
+ "name": "RefactoringMain",
181
+ "componentId": {
182
+ "scope": "teambit.component",
183
+ "name": "refactoring"
184
+ }
185
+ },
186
+ "isOptional": false,
187
+ "isSpread": false
188
+ },
189
+ {
190
+ "__schema": "ParameterSchema",
191
+ "location": {
192
+ "filePath": "forking.main.runtime.ts",
193
+ "line": 61,
194
+ "character": 5
195
+ },
196
+ "name": "pkg",
197
+ "type": {
198
+ "__schema": "TypeRefSchema",
199
+ "location": {
200
+ "filePath": "forking.main.runtime.ts",
201
+ "line": 61,
202
+ "character": 18
203
+ },
204
+ "name": "PkgMain",
205
+ "componentId": {
206
+ "scope": "teambit.pkg",
207
+ "name": "pkg"
208
+ }
209
+ },
210
+ "isOptional": false,
211
+ "isSpread": false
212
+ }
213
+ ],
214
+ "returnType": {
215
+ "__schema": "ThisTypeSchema",
216
+ "location": {
217
+ "filePath": "forking.main.runtime.ts",
218
+ "line": 53,
219
+ "character": 1
220
+ },
221
+ "name": "ForkingMain"
222
+ },
223
+ "modifiers": []
224
+ },
225
+ {
226
+ "__schema": "FunctionLikeSchema",
227
+ "location": {
228
+ "filePath": "forking.main.runtime.ts",
229
+ "line": 69,
230
+ "character": 3
231
+ },
232
+ "doc": {
233
+ "__schema": "DocSchema",
234
+ "location": {
235
+ "filePath": "forking.main.runtime.ts",
236
+ "line": 64,
237
+ "character": 3
238
+ },
239
+ "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 */",
240
+ "comment": "create a new copy of existing/remote component.\nthe new component holds a reference to the old one for future reference.\nif refactor option is enable, change the source-code to update all dependencies with the new name.",
241
+ "tags": []
242
+ },
243
+ "signature": "(method) ForkingMain.fork(sourceId: string, targetId?: string, options?: ForkOptions): Promise<ComponentID>",
244
+ "name": "fork",
245
+ "params": [
246
+ {
247
+ "__schema": "ParameterSchema",
248
+ "location": {
249
+ "filePath": "forking.main.runtime.ts",
250
+ "line": 69,
251
+ "character": 14
252
+ },
253
+ "name": "sourceId",
254
+ "type": {
255
+ "__schema": "KeywordTypeSchema",
256
+ "location": {
257
+ "filePath": "forking.main.runtime.ts",
258
+ "line": 69,
259
+ "character": 24
260
+ },
261
+ "name": "string"
262
+ },
263
+ "isOptional": false,
264
+ "isSpread": false
265
+ },
266
+ {
267
+ "__schema": "ParameterSchema",
268
+ "location": {
269
+ "filePath": "forking.main.runtime.ts",
270
+ "line": 69,
271
+ "character": 32
272
+ },
273
+ "name": "targetId",
274
+ "type": {
275
+ "__schema": "KeywordTypeSchema",
276
+ "location": {
277
+ "filePath": "forking.main.runtime.ts",
278
+ "line": 69,
279
+ "character": 43
280
+ },
281
+ "name": "string"
282
+ },
283
+ "isOptional": true,
284
+ "isSpread": false
285
+ },
286
+ {
287
+ "__schema": "ParameterSchema",
288
+ "location": {
289
+ "filePath": "forking.main.runtime.ts",
290
+ "line": 69,
291
+ "character": 51
292
+ },
293
+ "name": "options",
294
+ "type": {
295
+ "__schema": "TypeRefSchema",
296
+ "location": {
297
+ "filePath": "forking.main.runtime.ts",
298
+ "line": 69,
299
+ "character": 61
300
+ },
301
+ "name": "ForkOptions",
302
+ "internalFilePath": "fork.cmd.ts"
303
+ },
304
+ "isOptional": true,
305
+ "isSpread": false
306
+ }
307
+ ],
308
+ "returnType": {
309
+ "__schema": "TypeRefSchema",
310
+ "location": {
311
+ "filePath": "forking.main.runtime.ts",
312
+ "line": 69,
313
+ "character": 75
314
+ },
315
+ "name": "Promise",
316
+ "typeArgs": [
317
+ {
318
+ "__schema": "TypeRefSchema",
319
+ "location": {
320
+ "filePath": "forking.main.runtime.ts",
321
+ "line": 69,
322
+ "character": 83
323
+ },
324
+ "name": "ComponentID",
325
+ "componentId": {
326
+ "scope": "teambit.component",
327
+ "name": "component-id",
328
+ "version": "1.2.2"
329
+ }
330
+ }
331
+ ]
332
+ },
333
+ "modifiers": [
334
+ "async"
335
+ ]
336
+ },
337
+ {
338
+ "__schema": "FunctionLikeSchema",
339
+ "location": {
340
+ "filePath": "forking.main.runtime.ts",
341
+ "line": 87,
342
+ "character": 3
343
+ },
344
+ "doc": {
345
+ "__schema": "DocSchema",
346
+ "location": {
347
+ "filePath": "forking.main.runtime.ts",
348
+ "line": 84,
349
+ "character": 3
350
+ },
351
+ "raw": "/**\n * get the forking data, such as the source where a component was forked from\n */",
352
+ "comment": "get the forking data, such as the source where a component was forked from",
353
+ "tags": []
354
+ },
355
+ "signature": "(method) ForkingMain.getForkInfo(component: Component): ForkInfo | null",
356
+ "name": "getForkInfo",
357
+ "params": [
358
+ {
359
+ "__schema": "ParameterSchema",
360
+ "location": {
361
+ "filePath": "forking.main.runtime.ts",
362
+ "line": 87,
363
+ "character": 15
364
+ },
365
+ "name": "component",
366
+ "type": {
367
+ "__schema": "TypeRefSchema",
368
+ "location": {
369
+ "filePath": "forking.main.runtime.ts",
370
+ "line": 87,
371
+ "character": 26
372
+ },
373
+ "name": "Component",
374
+ "componentId": {
375
+ "scope": "teambit.component",
376
+ "name": "component"
377
+ }
378
+ },
379
+ "isOptional": false,
380
+ "isSpread": false
381
+ }
382
+ ],
383
+ "returnType": {
384
+ "__schema": "TypeUnionSchema",
385
+ "location": {
386
+ "filePath": "forking.main.runtime.ts",
387
+ "line": 87,
388
+ "character": 38
389
+ },
390
+ "types": [
391
+ {
392
+ "__schema": "TypeRefSchema",
393
+ "location": {
394
+ "filePath": "forking.main.runtime.ts",
395
+ "line": 87,
396
+ "character": 38
397
+ },
398
+ "name": "ForkInfo",
399
+ "internalFilePath": "forking.main.runtime.ts"
400
+ },
401
+ {
402
+ "__schema": "LiteralTypeSchema",
403
+ "location": {
404
+ "filePath": "forking.main.runtime.ts",
405
+ "line": 87,
406
+ "character": 49
407
+ },
408
+ "name": "null"
409
+ }
410
+ ]
411
+ },
412
+ "modifiers": []
413
+ },
414
+ {
415
+ "__schema": "FunctionLikeSchema",
416
+ "location": {
417
+ "filePath": "forking.main.runtime.ts",
418
+ "line": 95,
419
+ "character": 3
420
+ },
421
+ "signature": "(method) ForkingMain.forkMultipleFromRemote(componentsToFork: MultipleComponentsToFork, options?: MultipleForkOptions): Promise<{\n targetCompId: ComponentID;\n sourceId: string;\n component: Component;\n}[]>",
422
+ "name": "forkMultipleFromRemote",
423
+ "params": [
424
+ {
425
+ "__schema": "ParameterSchema",
426
+ "location": {
427
+ "filePath": "forking.main.runtime.ts",
428
+ "line": 95,
429
+ "character": 32
430
+ },
431
+ "name": "componentsToFork",
432
+ "type": {
433
+ "__schema": "TypeRefSchema",
434
+ "location": {
435
+ "filePath": "forking.main.runtime.ts",
436
+ "line": 95,
437
+ "character": 50
438
+ },
439
+ "name": "MultipleComponentsToFork",
440
+ "internalFilePath": "forking.main.runtime.ts"
441
+ },
442
+ "isOptional": false,
443
+ "isSpread": false
444
+ },
445
+ {
446
+ "__schema": "ParameterSchema",
447
+ "location": {
448
+ "filePath": "forking.main.runtime.ts",
449
+ "line": 95,
450
+ "character": 76
451
+ },
452
+ "name": "options",
453
+ "type": {
454
+ "__schema": "TypeRefSchema",
455
+ "location": {
456
+ "filePath": "forking.main.runtime.ts",
457
+ "line": 95,
458
+ "character": 85
459
+ },
460
+ "name": "MultipleForkOptions",
461
+ "internalFilePath": "forking.main.runtime.ts"
462
+ },
463
+ "isOptional": true,
464
+ "defaultValue": "{}",
465
+ "isSpread": false
466
+ }
467
+ ],
468
+ "returnType": {
469
+ "__schema": "InferenceTypeSchema",
470
+ "location": {
471
+ "filePath": "forking.main.runtime.ts",
472
+ "line": 95,
473
+ "character": 3
474
+ },
475
+ "type": "Promise<{\n targetCompId: ComponentID;\n sourceId: string;\n component: Component;\n}[]>"
476
+ },
477
+ "modifiers": [
478
+ "async"
479
+ ]
480
+ },
481
+ {
482
+ "__schema": "FunctionLikeSchema",
483
+ "location": {
484
+ "filePath": "forking.main.runtime.ts",
485
+ "line": 203,
486
+ "character": 3
487
+ },
488
+ "doc": {
489
+ "__schema": "DocSchema",
490
+ "location": {
491
+ "filePath": "forking.main.runtime.ts",
492
+ "line": 200,
493
+ "character": 3
494
+ },
495
+ "raw": "/**\n * fork all components of the given scope\n */",
496
+ "comment": "fork all components of the given scope",
497
+ "tags": []
498
+ },
499
+ "signature": "(method) ForkingMain.forkScope(originalScope: string, newOptionalScope?: string, pattern?: string, options?: ScopeForkOptions): Promise<ComponentID[]>",
500
+ "name": "forkScope",
501
+ "params": [
502
+ {
503
+ "__schema": "ParameterSchema",
504
+ "location": {
505
+ "filePath": "forking.main.runtime.ts",
506
+ "line": 204,
507
+ "character": 5
508
+ },
509
+ "name": "originalScope",
510
+ "type": {
511
+ "__schema": "KeywordTypeSchema",
512
+ "location": {
513
+ "filePath": "forking.main.runtime.ts",
514
+ "line": 204,
515
+ "character": 20
516
+ },
517
+ "name": "string"
518
+ },
519
+ "isOptional": false,
520
+ "isSpread": false
521
+ },
522
+ {
523
+ "__schema": "ParameterSchema",
524
+ "location": {
525
+ "filePath": "forking.main.runtime.ts",
526
+ "line": 205,
527
+ "character": 5
528
+ },
529
+ "name": "newOptionalScope",
530
+ "type": {
531
+ "__schema": "KeywordTypeSchema",
532
+ "location": {
533
+ "filePath": "forking.main.runtime.ts",
534
+ "line": 205,
535
+ "character": 24
536
+ },
537
+ "name": "string"
538
+ },
539
+ "isOptional": true,
540
+ "isSpread": false
541
+ },
542
+ {
543
+ "__schema": "ParameterSchema",
544
+ "location": {
545
+ "filePath": "forking.main.runtime.ts",
546
+ "line": 206,
547
+ "character": 5
548
+ },
549
+ "name": "pattern",
550
+ "type": {
551
+ "__schema": "KeywordTypeSchema",
552
+ "location": {
553
+ "filePath": "forking.main.runtime.ts",
554
+ "line": 206,
555
+ "character": 15
556
+ },
557
+ "name": "string"
558
+ },
559
+ "isOptional": true,
560
+ "isSpread": false
561
+ },
562
+ {
563
+ "__schema": "ParameterSchema",
564
+ "location": {
565
+ "filePath": "forking.main.runtime.ts",
566
+ "line": 207,
567
+ "character": 5
568
+ },
569
+ "name": "options",
570
+ "type": {
571
+ "__schema": "TypeRefSchema",
572
+ "location": {
573
+ "filePath": "forking.main.runtime.ts",
574
+ "line": 207,
575
+ "character": 15
576
+ },
577
+ "name": "ScopeForkOptions",
578
+ "internalFilePath": "scope-fork.cmd.ts"
579
+ },
580
+ "isOptional": true,
581
+ "isSpread": false
582
+ }
583
+ ],
584
+ "returnType": {
585
+ "__schema": "TypeRefSchema",
586
+ "location": {
587
+ "filePath": "forking.main.runtime.ts",
588
+ "line": 208,
589
+ "character": 6
590
+ },
591
+ "name": "Promise",
592
+ "typeArgs": [
593
+ {
594
+ "__schema": "TypeArraySchema",
595
+ "location": {
596
+ "filePath": "forking.main.runtime.ts",
597
+ "line": 208,
598
+ "character": 14
599
+ },
600
+ "type": {
601
+ "__schema": "TypeRefSchema",
602
+ "location": {
603
+ "filePath": "forking.main.runtime.ts",
604
+ "line": 208,
605
+ "character": 14
606
+ },
607
+ "name": "ComponentID",
608
+ "componentId": {
609
+ "scope": "teambit.component",
610
+ "name": "component-id",
611
+ "version": "1.2.2"
612
+ }
613
+ }
614
+ }
615
+ ]
616
+ },
617
+ "modifiers": [
618
+ "async"
619
+ ]
620
+ },
621
+ {
622
+ "__schema": "FunctionLikeSchema",
623
+ "location": {
624
+ "filePath": "forking.main.runtime.ts",
625
+ "line": 272,
626
+ "character": 3
627
+ },
628
+ "signature": "(method) ForkingMain.forkRemoteComponent(sourceId: ComponentID, targetId?: string, options?: ForkOptions, shouldRefactorVariablesAndClasses?: boolean): Promise<{\n targetCompId: ComponentID;\n component: Component;\n}>",
629
+ "name": "forkRemoteComponent",
630
+ "params": [
631
+ {
632
+ "__schema": "ParameterSchema",
633
+ "location": {
634
+ "filePath": "forking.main.runtime.ts",
635
+ "line": 273,
636
+ "character": 5
637
+ },
638
+ "name": "sourceId",
639
+ "type": {
640
+ "__schema": "TypeRefSchema",
641
+ "location": {
642
+ "filePath": "forking.main.runtime.ts",
643
+ "line": 273,
644
+ "character": 15
645
+ },
646
+ "name": "ComponentID",
647
+ "componentId": {
648
+ "scope": "teambit.component",
649
+ "name": "component-id",
650
+ "version": "1.2.2"
651
+ }
652
+ },
653
+ "isOptional": false,
654
+ "isSpread": false
655
+ },
656
+ {
657
+ "__schema": "ParameterSchema",
658
+ "location": {
659
+ "filePath": "forking.main.runtime.ts",
660
+ "line": 274,
661
+ "character": 5
662
+ },
663
+ "name": "targetId",
664
+ "type": {
665
+ "__schema": "KeywordTypeSchema",
666
+ "location": {
667
+ "filePath": "forking.main.runtime.ts",
668
+ "line": 274,
669
+ "character": 16
670
+ },
671
+ "name": "string"
672
+ },
673
+ "isOptional": true,
674
+ "isSpread": false
675
+ },
676
+ {
677
+ "__schema": "ParameterSchema",
678
+ "location": {
679
+ "filePath": "forking.main.runtime.ts",
680
+ "line": 275,
681
+ "character": 5
682
+ },
683
+ "name": "options",
684
+ "type": {
685
+ "__schema": "TypeRefSchema",
686
+ "location": {
687
+ "filePath": "forking.main.runtime.ts",
688
+ "line": 275,
689
+ "character": 15
690
+ },
691
+ "name": "ForkOptions",
692
+ "internalFilePath": "fork.cmd.ts"
693
+ },
694
+ "isOptional": true,
695
+ "isSpread": false
696
+ },
697
+ {
698
+ "__schema": "ParameterSchema",
699
+ "location": {
700
+ "filePath": "forking.main.runtime.ts",
701
+ "line": 276,
702
+ "character": 5
703
+ },
704
+ "name": "shouldRefactorVariablesAndClasses",
705
+ "type": {
706
+ "__schema": "InferenceTypeSchema",
707
+ "location": {
708
+ "filePath": "forking.main.runtime.ts",
709
+ "line": 276,
710
+ "character": 5
711
+ },
712
+ "type": "boolean"
713
+ },
714
+ "isOptional": true,
715
+ "defaultValue": "true",
716
+ "isSpread": false
717
+ }
718
+ ],
719
+ "returnType": {
720
+ "__schema": "TypeRefSchema",
721
+ "location": {
722
+ "filePath": "forking.main.runtime.ts",
723
+ "line": 277,
724
+ "character": 6
725
+ },
726
+ "name": "Promise",
727
+ "typeArgs": [
728
+ {
729
+ "__schema": "TypeLiteralSchema",
730
+ "location": {
731
+ "filePath": "forking.main.runtime.ts",
732
+ "line": 277,
733
+ "character": 14
734
+ },
735
+ "members": [
736
+ {
737
+ "__schema": "VariableLikeSchema",
738
+ "location": {
739
+ "filePath": "forking.main.runtime.ts",
740
+ "line": 278,
741
+ "character": 5
742
+ },
743
+ "signature": "(property) targetCompId: ComponentID",
744
+ "name": "targetCompId",
745
+ "type": {
746
+ "__schema": "TypeRefSchema",
747
+ "location": {
748
+ "filePath": "forking.main.runtime.ts",
749
+ "line": 278,
750
+ "character": 5
751
+ },
752
+ "name": "ComponentID",
753
+ "componentId": {
754
+ "scope": "teambit.component",
755
+ "name": "component-id",
756
+ "version": "1.2.2"
757
+ }
758
+ },
759
+ "isOptional": false
760
+ },
761
+ {
762
+ "__schema": "VariableLikeSchema",
763
+ "location": {
764
+ "filePath": "forking.main.runtime.ts",
765
+ "line": 279,
766
+ "character": 5
767
+ },
768
+ "signature": "(property) component: Component",
769
+ "name": "component",
770
+ "type": {
771
+ "__schema": "TypeRefSchema",
772
+ "location": {
773
+ "filePath": "forking.main.runtime.ts",
774
+ "line": 279,
775
+ "character": 5
776
+ },
777
+ "name": "Component",
778
+ "componentId": {
779
+ "scope": "teambit.component",
780
+ "name": "component"
781
+ }
782
+ },
783
+ "isOptional": false
784
+ }
785
+ ]
786
+ }
787
+ ]
788
+ },
789
+ "modifiers": [
790
+ "async"
791
+ ]
792
+ },
793
+ {
794
+ "__schema": "VariableLikeSchema",
795
+ "location": {
796
+ "filePath": "forking.main.runtime.ts",
797
+ "line": 370,
798
+ "character": 3
799
+ },
800
+ "signature": "(property) ForkingMain.slots: never[]",
801
+ "name": "slots",
802
+ "type": {
803
+ "__schema": "InferenceTypeSchema",
804
+ "location": {
805
+ "filePath": "forking.main.runtime.ts",
806
+ "line": 370,
807
+ "character": 3
808
+ },
809
+ "type": "never[]"
810
+ },
811
+ "isOptional": true,
812
+ "defaultValue": "[]"
813
+ },
814
+ {
815
+ "__schema": "VariableLikeSchema",
816
+ "location": {
817
+ "filePath": "forking.main.runtime.ts",
818
+ "line": 371,
819
+ "character": 3
820
+ },
821
+ "signature": "(property) ForkingMain.dependencies: Aspect[]",
822
+ "name": "dependencies",
823
+ "type": {
824
+ "__schema": "InferenceTypeSchema",
825
+ "location": {
826
+ "filePath": "forking.main.runtime.ts",
827
+ "line": 371,
828
+ "character": 3
829
+ },
830
+ "type": "Aspect[]"
831
+ },
832
+ "isOptional": true,
833
+ "defaultValue": "[\n CLIAspect,\n WorkspaceAspect,\n ScopeAspect,\n DependencyResolverAspect,\n ComponentAspect,\n NewComponentHelperAspect,\n GraphqlAspect,\n RefactoringAspect,\n PkgAspect,\n InstallAspect,\n ]"
834
+ },
835
+ {
836
+ "__schema": "VariableLikeSchema",
837
+ "location": {
838
+ "filePath": "forking.main.runtime.ts",
839
+ "line": 383,
840
+ "character": 3
841
+ },
842
+ "signature": "(property) ForkingMain.runtime: RuntimeDefinition",
843
+ "name": "runtime",
844
+ "type": {
845
+ "__schema": "InferenceTypeSchema",
846
+ "location": {
847
+ "filePath": "forking.main.runtime.ts",
848
+ "line": 383,
849
+ "character": 3
850
+ },
851
+ "type": "RuntimeDefinition"
852
+ },
853
+ "isOptional": true,
854
+ "defaultValue": "MainRuntime"
855
+ },
856
+ {
857
+ "__schema": "FunctionLikeSchema",
858
+ "location": {
859
+ "filePath": "forking.main.runtime.ts",
860
+ "line": 384,
861
+ "character": 3
862
+ },
863
+ "signature": "(method) ForkingMain.provider([cli, workspace, scope, dependencyResolver, componentMain, newComponentHelper, graphql, refactoring, pkg, install,]: [CLIMain, Workspace, ScopeMain, DependencyResolverMain, ComponentMain, NewComponentHelperMain, GraphqlMain, RefactoringMain, PkgMain, InstallMain]): Promise<...>",
864
+ "name": "provider",
865
+ "params": [
866
+ {
867
+ "__schema": "ParameterSchema",
868
+ "location": {
869
+ "filePath": "forking.main.runtime.ts",
870
+ "line": 384,
871
+ "character": 25
872
+ },
873
+ "name": "[ cli, workspace, scope, dependencyResolver, componentMain, newComponentHelper, graphql, refactoring, pkg, install ]",
874
+ "type": {
875
+ "__schema": "TupleTypeSchema",
876
+ "location": {
877
+ "filePath": "forking.main.runtime.ts",
878
+ "line": 395,
879
+ "character": 6
880
+ },
881
+ "elements": [
882
+ {
883
+ "__schema": "TypeRefSchema",
884
+ "location": {
885
+ "filePath": "forking.main.runtime.ts",
886
+ "line": 396,
887
+ "character": 5
888
+ },
889
+ "name": "CLIMain",
890
+ "componentId": {
891
+ "scope": "teambit.harmony",
892
+ "name": "cli"
893
+ }
894
+ },
895
+ {
896
+ "__schema": "TypeRefSchema",
897
+ "location": {
898
+ "filePath": "forking.main.runtime.ts",
899
+ "line": 397,
900
+ "character": 5
901
+ },
902
+ "name": "Workspace",
903
+ "componentId": {
904
+ "scope": "teambit.workspace",
905
+ "name": "workspace"
906
+ }
907
+ },
908
+ {
909
+ "__schema": "TypeRefSchema",
910
+ "location": {
911
+ "filePath": "forking.main.runtime.ts",
912
+ "line": 398,
913
+ "character": 5
914
+ },
915
+ "name": "ScopeMain",
916
+ "componentId": {
917
+ "scope": "teambit.scope",
918
+ "name": "scope"
919
+ }
920
+ },
921
+ {
922
+ "__schema": "TypeRefSchema",
923
+ "location": {
924
+ "filePath": "forking.main.runtime.ts",
925
+ "line": 399,
926
+ "character": 5
927
+ },
928
+ "name": "DependencyResolverMain",
929
+ "componentId": {
930
+ "scope": "teambit.dependencies",
931
+ "name": "dependency-resolver"
932
+ }
933
+ },
934
+ {
935
+ "__schema": "TypeRefSchema",
936
+ "location": {
937
+ "filePath": "forking.main.runtime.ts",
938
+ "line": 400,
939
+ "character": 5
940
+ },
941
+ "name": "ComponentMain",
942
+ "componentId": {
943
+ "scope": "teambit.component",
944
+ "name": "component"
945
+ }
946
+ },
947
+ {
948
+ "__schema": "TypeRefSchema",
949
+ "location": {
950
+ "filePath": "forking.main.runtime.ts",
951
+ "line": 401,
952
+ "character": 5
953
+ },
954
+ "name": "NewComponentHelperMain",
955
+ "componentId": {
956
+ "scope": "teambit.component",
957
+ "name": "new-component-helper"
958
+ }
959
+ },
960
+ {
961
+ "__schema": "TypeRefSchema",
962
+ "location": {
963
+ "filePath": "forking.main.runtime.ts",
964
+ "line": 402,
965
+ "character": 5
966
+ },
967
+ "name": "GraphqlMain",
968
+ "componentId": {
969
+ "scope": "teambit.harmony",
970
+ "name": "graphql"
971
+ }
972
+ },
973
+ {
974
+ "__schema": "TypeRefSchema",
975
+ "location": {
976
+ "filePath": "forking.main.runtime.ts",
977
+ "line": 403,
978
+ "character": 5
979
+ },
980
+ "name": "RefactoringMain",
981
+ "componentId": {
982
+ "scope": "teambit.component",
983
+ "name": "refactoring"
984
+ }
985
+ },
986
+ {
987
+ "__schema": "TypeRefSchema",
988
+ "location": {
989
+ "filePath": "forking.main.runtime.ts",
990
+ "line": 404,
991
+ "character": 5
992
+ },
993
+ "name": "PkgMain",
994
+ "componentId": {
995
+ "scope": "teambit.pkg",
996
+ "name": "pkg"
997
+ }
998
+ },
999
+ {
1000
+ "__schema": "TypeRefSchema",
1001
+ "location": {
1002
+ "filePath": "forking.main.runtime.ts",
1003
+ "line": 405,
1004
+ "character": 5
1005
+ },
1006
+ "name": "InstallMain",
1007
+ "componentId": {
1008
+ "scope": "teambit.workspace",
1009
+ "name": "install"
1010
+ }
1011
+ }
1012
+ ]
1013
+ },
1014
+ "isOptional": false,
1015
+ "isSpread": false
1016
+ }
1017
+ ],
1018
+ "returnType": {
1019
+ "__schema": "InferenceTypeSchema",
1020
+ "location": {
1021
+ "filePath": "forking.main.runtime.ts",
1022
+ "line": 384,
1023
+ "character": 3
1024
+ },
1025
+ "type": "Promise<...>"
1026
+ },
1027
+ "modifiers": [
1028
+ "static",
1029
+ "async"
1030
+ ]
1031
+ }
1032
+ ],
1033
+ "extendsNodes": [],
1034
+ "implementNodes": []
1035
+ }
1036
+ },
1037
+ {
1038
+ "__schema": "UnImplementedSchema",
1039
+ "location": {
1040
+ "filePath": "index.ts",
1041
+ "line": 4,
1042
+ "character": 16
1043
+ },
1044
+ "name": "ForkingAspect",
1045
+ "type": "Identifier"
1046
+ },
1047
+ {
1048
+ "__schema": "ExportSchema",
1049
+ "location": {
1050
+ "filePath": "index.ts",
1051
+ "line": 5,
1052
+ "character": 10
1053
+ },
1054
+ "signature": "const ForkingAspect: Aspect",
1055
+ "name": "ForkingAspect",
1056
+ "exportNode": {
1057
+ "__schema": "VariableLikeSchema",
1058
+ "location": {
1059
+ "filePath": "forking.aspect.ts",
1060
+ "line": 3,
1061
+ "character": 14
1062
+ },
1063
+ "signature": "const ForkingAspect: Aspect",
1064
+ "name": "ForkingAspect",
1065
+ "type": {
1066
+ "__schema": "TypeRefSchema",
1067
+ "location": {
1068
+ "filePath": "forking.aspect.ts",
1069
+ "line": 3,
1070
+ "character": 14
1071
+ },
1072
+ "name": "Aspect",
1073
+ "componentId": {
1074
+ "scope": "teambit.harmony",
1075
+ "name": "harmony",
1076
+ "version": "0.4.6"
1077
+ }
1078
+ },
1079
+ "isOptional": false,
1080
+ "defaultValue": "Aspect.create({\n id: 'teambit.component/forking',\n})"
1081
+ }
1082
+ }
1083
+ ],
1084
+ "internals": []
1085
+ },
1086
+ "internals": [
1087
+ {
1088
+ "__schema": "ModuleSchema",
1089
+ "location": {
1090
+ "filePath": "forking.main.runtime.ts",
1091
+ "line": 1,
1092
+ "character": 1
1093
+ },
1094
+ "exports": [
1095
+ {
1096
+ "__schema": "TypeSchema",
1097
+ "location": {
1098
+ "filePath": "forking.main.runtime.ts",
1099
+ "line": 26,
1100
+ "character": 1
1101
+ },
1102
+ "signature": "type ForkInfo = {\n forkedFrom: ComponentID;\n}",
1103
+ "name": "ForkInfo",
1104
+ "type": {
1105
+ "__schema": "TypeLiteralSchema",
1106
+ "location": {
1107
+ "filePath": "forking.main.runtime.ts",
1108
+ "line": 26,
1109
+ "character": 24
1110
+ },
1111
+ "members": [
1112
+ {
1113
+ "__schema": "VariableLikeSchema",
1114
+ "location": {
1115
+ "filePath": "forking.main.runtime.ts",
1116
+ "line": 27,
1117
+ "character": 3
1118
+ },
1119
+ "signature": "(property) forkedFrom: ComponentID",
1120
+ "name": "forkedFrom",
1121
+ "type": {
1122
+ "__schema": "TypeRefSchema",
1123
+ "location": {
1124
+ "filePath": "forking.main.runtime.ts",
1125
+ "line": 27,
1126
+ "character": 3
1127
+ },
1128
+ "name": "ComponentID",
1129
+ "componentId": {
1130
+ "scope": "teambit.component",
1131
+ "name": "component-id",
1132
+ "version": "1.2.2"
1133
+ }
1134
+ },
1135
+ "isOptional": false
1136
+ }
1137
+ ]
1138
+ }
1139
+ },
1140
+ {
1141
+ "__schema": "ClassSchema",
1142
+ "location": {
1143
+ "filePath": "forking.main.runtime.ts",
1144
+ "line": 53,
1145
+ "character": 1
1146
+ },
1147
+ "signature": "class ForkingMain",
1148
+ "name": "ForkingMain",
1149
+ "members": [
1150
+ {
1151
+ "__schema": "ConstructorSchema",
1152
+ "location": {
1153
+ "filePath": "forking.main.runtime.ts",
1154
+ "line": 54,
1155
+ "character": 3
1156
+ },
1157
+ "signature": "constructor ForkingMain(workspace: Workspace, scope: ScopeMain, install: InstallMain, dependencyResolver: DependencyResolverMain, newComponentHelper: NewComponentHelperMain, refactoring: RefactoringMain, pkg: PkgMain): ForkingMain",
1158
+ "name": "constructor",
1159
+ "params": [
1160
+ {
1161
+ "__schema": "ParameterSchema",
1162
+ "location": {
1163
+ "filePath": "forking.main.runtime.ts",
1164
+ "line": 55,
1165
+ "character": 5
1166
+ },
1167
+ "name": "workspace",
1168
+ "type": {
1169
+ "__schema": "TypeRefSchema",
1170
+ "location": {
1171
+ "filePath": "forking.main.runtime.ts",
1172
+ "line": 55,
1173
+ "character": 24
1174
+ },
1175
+ "name": "Workspace",
1176
+ "componentId": {
1177
+ "scope": "teambit.workspace",
1178
+ "name": "workspace"
1179
+ }
1180
+ },
1181
+ "isOptional": false,
1182
+ "isSpread": false
1183
+ },
1184
+ {
1185
+ "__schema": "ParameterSchema",
1186
+ "location": {
1187
+ "filePath": "forking.main.runtime.ts",
1188
+ "line": 56,
1189
+ "character": 5
1190
+ },
1191
+ "name": "scope",
1192
+ "type": {
1193
+ "__schema": "TypeRefSchema",
1194
+ "location": {
1195
+ "filePath": "forking.main.runtime.ts",
1196
+ "line": 56,
1197
+ "character": 20
1198
+ },
1199
+ "name": "ScopeMain",
1200
+ "componentId": {
1201
+ "scope": "teambit.scope",
1202
+ "name": "scope"
1203
+ }
1204
+ },
1205
+ "isOptional": false,
1206
+ "isSpread": false
1207
+ },
1208
+ {
1209
+ "__schema": "ParameterSchema",
1210
+ "location": {
1211
+ "filePath": "forking.main.runtime.ts",
1212
+ "line": 57,
1213
+ "character": 5
1214
+ },
1215
+ "name": "install",
1216
+ "type": {
1217
+ "__schema": "TypeRefSchema",
1218
+ "location": {
1219
+ "filePath": "forking.main.runtime.ts",
1220
+ "line": 57,
1221
+ "character": 22
1222
+ },
1223
+ "name": "InstallMain",
1224
+ "componentId": {
1225
+ "scope": "teambit.workspace",
1226
+ "name": "install"
1227
+ }
1228
+ },
1229
+ "isOptional": false,
1230
+ "isSpread": false
1231
+ },
1232
+ {
1233
+ "__schema": "ParameterSchema",
1234
+ "location": {
1235
+ "filePath": "forking.main.runtime.ts",
1236
+ "line": 58,
1237
+ "character": 5
1238
+ },
1239
+ "name": "dependencyResolver",
1240
+ "type": {
1241
+ "__schema": "TypeRefSchema",
1242
+ "location": {
1243
+ "filePath": "forking.main.runtime.ts",
1244
+ "line": 58,
1245
+ "character": 33
1246
+ },
1247
+ "name": "DependencyResolverMain",
1248
+ "componentId": {
1249
+ "scope": "teambit.dependencies",
1250
+ "name": "dependency-resolver"
1251
+ }
1252
+ },
1253
+ "isOptional": false,
1254
+ "isSpread": false
1255
+ },
1256
+ {
1257
+ "__schema": "ParameterSchema",
1258
+ "location": {
1259
+ "filePath": "forking.main.runtime.ts",
1260
+ "line": 59,
1261
+ "character": 5
1262
+ },
1263
+ "name": "newComponentHelper",
1264
+ "type": {
1265
+ "__schema": "TypeRefSchema",
1266
+ "location": {
1267
+ "filePath": "forking.main.runtime.ts",
1268
+ "line": 59,
1269
+ "character": 33
1270
+ },
1271
+ "name": "NewComponentHelperMain",
1272
+ "componentId": {
1273
+ "scope": "teambit.component",
1274
+ "name": "new-component-helper"
1275
+ }
1276
+ },
1277
+ "isOptional": false,
1278
+ "isSpread": false
1279
+ },
1280
+ {
1281
+ "__schema": "ParameterSchema",
1282
+ "location": {
1283
+ "filePath": "forking.main.runtime.ts",
1284
+ "line": 60,
1285
+ "character": 5
1286
+ },
1287
+ "name": "refactoring",
1288
+ "type": {
1289
+ "__schema": "TypeRefSchema",
1290
+ "location": {
1291
+ "filePath": "forking.main.runtime.ts",
1292
+ "line": 60,
1293
+ "character": 26
1294
+ },
1295
+ "name": "RefactoringMain",
1296
+ "componentId": {
1297
+ "scope": "teambit.component",
1298
+ "name": "refactoring"
1299
+ }
1300
+ },
1301
+ "isOptional": false,
1302
+ "isSpread": false
1303
+ },
1304
+ {
1305
+ "__schema": "ParameterSchema",
1306
+ "location": {
1307
+ "filePath": "forking.main.runtime.ts",
1308
+ "line": 61,
1309
+ "character": 5
1310
+ },
1311
+ "name": "pkg",
1312
+ "type": {
1313
+ "__schema": "TypeRefSchema",
1314
+ "location": {
1315
+ "filePath": "forking.main.runtime.ts",
1316
+ "line": 61,
1317
+ "character": 18
1318
+ },
1319
+ "name": "PkgMain",
1320
+ "componentId": {
1321
+ "scope": "teambit.pkg",
1322
+ "name": "pkg"
1323
+ }
1324
+ },
1325
+ "isOptional": false,
1326
+ "isSpread": false
1327
+ }
1328
+ ],
1329
+ "returnType": {
1330
+ "__schema": "ThisTypeSchema",
1331
+ "location": {
1332
+ "filePath": "forking.main.runtime.ts",
1333
+ "line": 53,
1334
+ "character": 1
1335
+ },
1336
+ "name": "ForkingMain"
1337
+ },
1338
+ "modifiers": []
1339
+ },
1340
+ {
1341
+ "__schema": "FunctionLikeSchema",
1342
+ "location": {
1343
+ "filePath": "forking.main.runtime.ts",
1344
+ "line": 69,
1345
+ "character": 3
1346
+ },
1347
+ "doc": {
1348
+ "__schema": "DocSchema",
1349
+ "location": {
1350
+ "filePath": "forking.main.runtime.ts",
1351
+ "line": 64,
1352
+ "character": 3
1353
+ },
1354
+ "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 */",
1355
+ "comment": "create a new copy of existing/remote component.\nthe new component holds a reference to the old one for future reference.\nif refactor option is enable, change the source-code to update all dependencies with the new name.",
1356
+ "tags": []
1357
+ },
1358
+ "signature": "(method) ForkingMain.fork(sourceId: string, targetId?: string, options?: ForkOptions): Promise<ComponentID>",
1359
+ "name": "fork",
1360
+ "params": [
1361
+ {
1362
+ "__schema": "ParameterSchema",
1363
+ "location": {
1364
+ "filePath": "forking.main.runtime.ts",
1365
+ "line": 69,
1366
+ "character": 14
1367
+ },
1368
+ "name": "sourceId",
1369
+ "type": {
1370
+ "__schema": "KeywordTypeSchema",
1371
+ "location": {
1372
+ "filePath": "forking.main.runtime.ts",
1373
+ "line": 69,
1374
+ "character": 24
1375
+ },
1376
+ "name": "string"
1377
+ },
1378
+ "isOptional": false,
1379
+ "isSpread": false
1380
+ },
1381
+ {
1382
+ "__schema": "ParameterSchema",
1383
+ "location": {
1384
+ "filePath": "forking.main.runtime.ts",
1385
+ "line": 69,
1386
+ "character": 32
1387
+ },
1388
+ "name": "targetId",
1389
+ "type": {
1390
+ "__schema": "KeywordTypeSchema",
1391
+ "location": {
1392
+ "filePath": "forking.main.runtime.ts",
1393
+ "line": 69,
1394
+ "character": 43
1395
+ },
1396
+ "name": "string"
1397
+ },
1398
+ "isOptional": true,
1399
+ "isSpread": false
1400
+ },
1401
+ {
1402
+ "__schema": "ParameterSchema",
1403
+ "location": {
1404
+ "filePath": "forking.main.runtime.ts",
1405
+ "line": 69,
1406
+ "character": 51
1407
+ },
1408
+ "name": "options",
1409
+ "type": {
1410
+ "__schema": "TypeRefSchema",
1411
+ "location": {
1412
+ "filePath": "forking.main.runtime.ts",
1413
+ "line": 69,
1414
+ "character": 61
1415
+ },
1416
+ "name": "ForkOptions",
1417
+ "internalFilePath": "fork.cmd.ts"
1418
+ },
1419
+ "isOptional": true,
1420
+ "isSpread": false
1421
+ }
1422
+ ],
1423
+ "returnType": {
1424
+ "__schema": "TypeRefSchema",
1425
+ "location": {
1426
+ "filePath": "forking.main.runtime.ts",
1427
+ "line": 69,
1428
+ "character": 75
1429
+ },
1430
+ "name": "Promise",
1431
+ "typeArgs": [
1432
+ {
1433
+ "__schema": "TypeRefSchema",
1434
+ "location": {
1435
+ "filePath": "forking.main.runtime.ts",
1436
+ "line": 69,
1437
+ "character": 83
1438
+ },
1439
+ "name": "ComponentID",
1440
+ "componentId": {
1441
+ "scope": "teambit.component",
1442
+ "name": "component-id",
1443
+ "version": "1.2.2"
1444
+ }
1445
+ }
1446
+ ]
1447
+ },
1448
+ "modifiers": [
1449
+ "async"
1450
+ ]
1451
+ },
1452
+ {
1453
+ "__schema": "FunctionLikeSchema",
1454
+ "location": {
1455
+ "filePath": "forking.main.runtime.ts",
1456
+ "line": 87,
1457
+ "character": 3
1458
+ },
1459
+ "doc": {
1460
+ "__schema": "DocSchema",
1461
+ "location": {
1462
+ "filePath": "forking.main.runtime.ts",
1463
+ "line": 84,
1464
+ "character": 3
1465
+ },
1466
+ "raw": "/**\n * get the forking data, such as the source where a component was forked from\n */",
1467
+ "comment": "get the forking data, such as the source where a component was forked from",
1468
+ "tags": []
1469
+ },
1470
+ "signature": "(method) ForkingMain.getForkInfo(component: Component): ForkInfo | null",
1471
+ "name": "getForkInfo",
1472
+ "params": [
1473
+ {
1474
+ "__schema": "ParameterSchema",
1475
+ "location": {
1476
+ "filePath": "forking.main.runtime.ts",
1477
+ "line": 87,
1478
+ "character": 15
1479
+ },
1480
+ "name": "component",
1481
+ "type": {
1482
+ "__schema": "TypeRefSchema",
1483
+ "location": {
1484
+ "filePath": "forking.main.runtime.ts",
1485
+ "line": 87,
1486
+ "character": 26
1487
+ },
1488
+ "name": "Component",
1489
+ "componentId": {
1490
+ "scope": "teambit.component",
1491
+ "name": "component"
1492
+ }
1493
+ },
1494
+ "isOptional": false,
1495
+ "isSpread": false
1496
+ }
1497
+ ],
1498
+ "returnType": {
1499
+ "__schema": "TypeUnionSchema",
1500
+ "location": {
1501
+ "filePath": "forking.main.runtime.ts",
1502
+ "line": 87,
1503
+ "character": 38
1504
+ },
1505
+ "types": [
1506
+ {
1507
+ "__schema": "TypeRefSchema",
1508
+ "location": {
1509
+ "filePath": "forking.main.runtime.ts",
1510
+ "line": 87,
1511
+ "character": 38
1512
+ },
1513
+ "name": "ForkInfo",
1514
+ "internalFilePath": "forking.main.runtime.ts"
1515
+ },
1516
+ {
1517
+ "__schema": "LiteralTypeSchema",
1518
+ "location": {
1519
+ "filePath": "forking.main.runtime.ts",
1520
+ "line": 87,
1521
+ "character": 49
1522
+ },
1523
+ "name": "null"
1524
+ }
1525
+ ]
1526
+ },
1527
+ "modifiers": []
1528
+ },
1529
+ {
1530
+ "__schema": "FunctionLikeSchema",
1531
+ "location": {
1532
+ "filePath": "forking.main.runtime.ts",
1533
+ "line": 95,
1534
+ "character": 3
1535
+ },
1536
+ "signature": "(method) ForkingMain.forkMultipleFromRemote(componentsToFork: MultipleComponentsToFork, options?: MultipleForkOptions): Promise<{\n targetCompId: ComponentID;\n sourceId: string;\n component: Component;\n}[]>",
1537
+ "name": "forkMultipleFromRemote",
1538
+ "params": [
1539
+ {
1540
+ "__schema": "ParameterSchema",
1541
+ "location": {
1542
+ "filePath": "forking.main.runtime.ts",
1543
+ "line": 95,
1544
+ "character": 32
1545
+ },
1546
+ "name": "componentsToFork",
1547
+ "type": {
1548
+ "__schema": "TypeRefSchema",
1549
+ "location": {
1550
+ "filePath": "forking.main.runtime.ts",
1551
+ "line": 95,
1552
+ "character": 50
1553
+ },
1554
+ "name": "MultipleComponentsToFork",
1555
+ "internalFilePath": "forking.main.runtime.ts"
1556
+ },
1557
+ "isOptional": false,
1558
+ "isSpread": false
1559
+ },
1560
+ {
1561
+ "__schema": "ParameterSchema",
1562
+ "location": {
1563
+ "filePath": "forking.main.runtime.ts",
1564
+ "line": 95,
1565
+ "character": 76
1566
+ },
1567
+ "name": "options",
1568
+ "type": {
1569
+ "__schema": "TypeRefSchema",
1570
+ "location": {
1571
+ "filePath": "forking.main.runtime.ts",
1572
+ "line": 95,
1573
+ "character": 85
1574
+ },
1575
+ "name": "MultipleForkOptions",
1576
+ "internalFilePath": "forking.main.runtime.ts"
1577
+ },
1578
+ "isOptional": true,
1579
+ "defaultValue": "{}",
1580
+ "isSpread": false
1581
+ }
1582
+ ],
1583
+ "returnType": {
1584
+ "__schema": "InferenceTypeSchema",
1585
+ "location": {
1586
+ "filePath": "forking.main.runtime.ts",
1587
+ "line": 95,
1588
+ "character": 3
1589
+ },
1590
+ "type": "Promise<{\n targetCompId: ComponentID;\n sourceId: string;\n component: Component;\n}[]>"
1591
+ },
1592
+ "modifiers": [
1593
+ "async"
1594
+ ]
1595
+ },
1596
+ {
1597
+ "__schema": "FunctionLikeSchema",
1598
+ "location": {
1599
+ "filePath": "forking.main.runtime.ts",
1600
+ "line": 203,
1601
+ "character": 3
1602
+ },
1603
+ "doc": {
1604
+ "__schema": "DocSchema",
1605
+ "location": {
1606
+ "filePath": "forking.main.runtime.ts",
1607
+ "line": 200,
1608
+ "character": 3
1609
+ },
1610
+ "raw": "/**\n * fork all components of the given scope\n */",
1611
+ "comment": "fork all components of the given scope",
1612
+ "tags": []
1613
+ },
1614
+ "signature": "(method) ForkingMain.forkScope(originalScope: string, newOptionalScope?: string, pattern?: string, options?: ScopeForkOptions): Promise<ComponentID[]>",
1615
+ "name": "forkScope",
1616
+ "params": [
1617
+ {
1618
+ "__schema": "ParameterSchema",
1619
+ "location": {
1620
+ "filePath": "forking.main.runtime.ts",
1621
+ "line": 204,
1622
+ "character": 5
1623
+ },
1624
+ "name": "originalScope",
1625
+ "type": {
1626
+ "__schema": "KeywordTypeSchema",
1627
+ "location": {
1628
+ "filePath": "forking.main.runtime.ts",
1629
+ "line": 204,
1630
+ "character": 20
1631
+ },
1632
+ "name": "string"
1633
+ },
1634
+ "isOptional": false,
1635
+ "isSpread": false
1636
+ },
1637
+ {
1638
+ "__schema": "ParameterSchema",
1639
+ "location": {
1640
+ "filePath": "forking.main.runtime.ts",
1641
+ "line": 205,
1642
+ "character": 5
1643
+ },
1644
+ "name": "newOptionalScope",
1645
+ "type": {
1646
+ "__schema": "KeywordTypeSchema",
1647
+ "location": {
1648
+ "filePath": "forking.main.runtime.ts",
1649
+ "line": 205,
1650
+ "character": 24
1651
+ },
1652
+ "name": "string"
1653
+ },
1654
+ "isOptional": true,
1655
+ "isSpread": false
1656
+ },
1657
+ {
1658
+ "__schema": "ParameterSchema",
1659
+ "location": {
1660
+ "filePath": "forking.main.runtime.ts",
1661
+ "line": 206,
1662
+ "character": 5
1663
+ },
1664
+ "name": "pattern",
1665
+ "type": {
1666
+ "__schema": "KeywordTypeSchema",
1667
+ "location": {
1668
+ "filePath": "forking.main.runtime.ts",
1669
+ "line": 206,
1670
+ "character": 15
1671
+ },
1672
+ "name": "string"
1673
+ },
1674
+ "isOptional": true,
1675
+ "isSpread": false
1676
+ },
1677
+ {
1678
+ "__schema": "ParameterSchema",
1679
+ "location": {
1680
+ "filePath": "forking.main.runtime.ts",
1681
+ "line": 207,
1682
+ "character": 5
1683
+ },
1684
+ "name": "options",
1685
+ "type": {
1686
+ "__schema": "TypeRefSchema",
1687
+ "location": {
1688
+ "filePath": "forking.main.runtime.ts",
1689
+ "line": 207,
1690
+ "character": 15
1691
+ },
1692
+ "name": "ScopeForkOptions",
1693
+ "internalFilePath": "scope-fork.cmd.ts"
1694
+ },
1695
+ "isOptional": true,
1696
+ "isSpread": false
1697
+ }
1698
+ ],
1699
+ "returnType": {
1700
+ "__schema": "TypeRefSchema",
1701
+ "location": {
1702
+ "filePath": "forking.main.runtime.ts",
1703
+ "line": 208,
1704
+ "character": 6
1705
+ },
1706
+ "name": "Promise",
1707
+ "typeArgs": [
1708
+ {
1709
+ "__schema": "TypeArraySchema",
1710
+ "location": {
1711
+ "filePath": "forking.main.runtime.ts",
1712
+ "line": 208,
1713
+ "character": 14
1714
+ },
1715
+ "type": {
1716
+ "__schema": "TypeRefSchema",
1717
+ "location": {
1718
+ "filePath": "forking.main.runtime.ts",
1719
+ "line": 208,
1720
+ "character": 14
1721
+ },
1722
+ "name": "ComponentID",
1723
+ "componentId": {
1724
+ "scope": "teambit.component",
1725
+ "name": "component-id",
1726
+ "version": "1.2.2"
1727
+ }
1728
+ }
1729
+ }
1730
+ ]
1731
+ },
1732
+ "modifiers": [
1733
+ "async"
1734
+ ]
1735
+ },
1736
+ {
1737
+ "__schema": "FunctionLikeSchema",
1738
+ "location": {
1739
+ "filePath": "forking.main.runtime.ts",
1740
+ "line": 272,
1741
+ "character": 3
1742
+ },
1743
+ "signature": "(method) ForkingMain.forkRemoteComponent(sourceId: ComponentID, targetId?: string, options?: ForkOptions, shouldRefactorVariablesAndClasses?: boolean): Promise<{\n targetCompId: ComponentID;\n component: Component;\n}>",
1744
+ "name": "forkRemoteComponent",
1745
+ "params": [
1746
+ {
1747
+ "__schema": "ParameterSchema",
1748
+ "location": {
1749
+ "filePath": "forking.main.runtime.ts",
1750
+ "line": 273,
1751
+ "character": 5
1752
+ },
1753
+ "name": "sourceId",
1754
+ "type": {
1755
+ "__schema": "TypeRefSchema",
1756
+ "location": {
1757
+ "filePath": "forking.main.runtime.ts",
1758
+ "line": 273,
1759
+ "character": 15
1760
+ },
1761
+ "name": "ComponentID",
1762
+ "componentId": {
1763
+ "scope": "teambit.component",
1764
+ "name": "component-id",
1765
+ "version": "1.2.2"
1766
+ }
1767
+ },
1768
+ "isOptional": false,
1769
+ "isSpread": false
1770
+ },
1771
+ {
1772
+ "__schema": "ParameterSchema",
1773
+ "location": {
1774
+ "filePath": "forking.main.runtime.ts",
1775
+ "line": 274,
1776
+ "character": 5
1777
+ },
1778
+ "name": "targetId",
1779
+ "type": {
1780
+ "__schema": "KeywordTypeSchema",
1781
+ "location": {
1782
+ "filePath": "forking.main.runtime.ts",
1783
+ "line": 274,
1784
+ "character": 16
1785
+ },
1786
+ "name": "string"
1787
+ },
1788
+ "isOptional": true,
1789
+ "isSpread": false
1790
+ },
1791
+ {
1792
+ "__schema": "ParameterSchema",
1793
+ "location": {
1794
+ "filePath": "forking.main.runtime.ts",
1795
+ "line": 275,
1796
+ "character": 5
1797
+ },
1798
+ "name": "options",
1799
+ "type": {
1800
+ "__schema": "TypeRefSchema",
1801
+ "location": {
1802
+ "filePath": "forking.main.runtime.ts",
1803
+ "line": 275,
1804
+ "character": 15
1805
+ },
1806
+ "name": "ForkOptions",
1807
+ "internalFilePath": "fork.cmd.ts"
1808
+ },
1809
+ "isOptional": true,
1810
+ "isSpread": false
1811
+ },
1812
+ {
1813
+ "__schema": "ParameterSchema",
1814
+ "location": {
1815
+ "filePath": "forking.main.runtime.ts",
1816
+ "line": 276,
1817
+ "character": 5
1818
+ },
1819
+ "name": "shouldRefactorVariablesAndClasses",
1820
+ "type": {
1821
+ "__schema": "InferenceTypeSchema",
1822
+ "location": {
1823
+ "filePath": "forking.main.runtime.ts",
1824
+ "line": 276,
1825
+ "character": 5
1826
+ },
1827
+ "type": "boolean"
1828
+ },
1829
+ "isOptional": true,
1830
+ "defaultValue": "true",
1831
+ "isSpread": false
1832
+ }
1833
+ ],
1834
+ "returnType": {
1835
+ "__schema": "TypeRefSchema",
1836
+ "location": {
1837
+ "filePath": "forking.main.runtime.ts",
1838
+ "line": 277,
1839
+ "character": 6
1840
+ },
1841
+ "name": "Promise",
1842
+ "typeArgs": [
1843
+ {
1844
+ "__schema": "TypeLiteralSchema",
1845
+ "location": {
1846
+ "filePath": "forking.main.runtime.ts",
1847
+ "line": 277,
1848
+ "character": 14
1849
+ },
1850
+ "members": [
1851
+ {
1852
+ "__schema": "VariableLikeSchema",
1853
+ "location": {
1854
+ "filePath": "forking.main.runtime.ts",
1855
+ "line": 278,
1856
+ "character": 5
1857
+ },
1858
+ "signature": "(property) targetCompId: ComponentID",
1859
+ "name": "targetCompId",
1860
+ "type": {
1861
+ "__schema": "TypeRefSchema",
1862
+ "location": {
1863
+ "filePath": "forking.main.runtime.ts",
1864
+ "line": 278,
1865
+ "character": 5
1866
+ },
1867
+ "name": "ComponentID",
1868
+ "componentId": {
1869
+ "scope": "teambit.component",
1870
+ "name": "component-id",
1871
+ "version": "1.2.2"
1872
+ }
1873
+ },
1874
+ "isOptional": false
1875
+ },
1876
+ {
1877
+ "__schema": "VariableLikeSchema",
1878
+ "location": {
1879
+ "filePath": "forking.main.runtime.ts",
1880
+ "line": 279,
1881
+ "character": 5
1882
+ },
1883
+ "signature": "(property) component: Component",
1884
+ "name": "component",
1885
+ "type": {
1886
+ "__schema": "TypeRefSchema",
1887
+ "location": {
1888
+ "filePath": "forking.main.runtime.ts",
1889
+ "line": 279,
1890
+ "character": 5
1891
+ },
1892
+ "name": "Component",
1893
+ "componentId": {
1894
+ "scope": "teambit.component",
1895
+ "name": "component"
1896
+ }
1897
+ },
1898
+ "isOptional": false
1899
+ }
1900
+ ]
1901
+ }
1902
+ ]
1903
+ },
1904
+ "modifiers": [
1905
+ "async"
1906
+ ]
1907
+ },
1908
+ {
1909
+ "__schema": "VariableLikeSchema",
1910
+ "location": {
1911
+ "filePath": "forking.main.runtime.ts",
1912
+ "line": 370,
1913
+ "character": 3
1914
+ },
1915
+ "signature": "(property) ForkingMain.slots: never[]",
1916
+ "name": "slots",
1917
+ "type": {
1918
+ "__schema": "InferenceTypeSchema",
1919
+ "location": {
1920
+ "filePath": "forking.main.runtime.ts",
1921
+ "line": 370,
1922
+ "character": 3
1923
+ },
1924
+ "type": "never[]"
1925
+ },
1926
+ "isOptional": true,
1927
+ "defaultValue": "[]"
1928
+ },
1929
+ {
1930
+ "__schema": "VariableLikeSchema",
1931
+ "location": {
1932
+ "filePath": "forking.main.runtime.ts",
1933
+ "line": 371,
1934
+ "character": 3
1935
+ },
1936
+ "signature": "(property) ForkingMain.dependencies: Aspect[]",
1937
+ "name": "dependencies",
1938
+ "type": {
1939
+ "__schema": "InferenceTypeSchema",
1940
+ "location": {
1941
+ "filePath": "forking.main.runtime.ts",
1942
+ "line": 371,
1943
+ "character": 3
1944
+ },
1945
+ "type": "Aspect[]"
1946
+ },
1947
+ "isOptional": true,
1948
+ "defaultValue": "[\n CLIAspect,\n WorkspaceAspect,\n ScopeAspect,\n DependencyResolverAspect,\n ComponentAspect,\n NewComponentHelperAspect,\n GraphqlAspect,\n RefactoringAspect,\n PkgAspect,\n InstallAspect,\n ]"
1949
+ },
1950
+ {
1951
+ "__schema": "VariableLikeSchema",
1952
+ "location": {
1953
+ "filePath": "forking.main.runtime.ts",
1954
+ "line": 383,
1955
+ "character": 3
1956
+ },
1957
+ "signature": "(property) ForkingMain.runtime: RuntimeDefinition",
1958
+ "name": "runtime",
1959
+ "type": {
1960
+ "__schema": "InferenceTypeSchema",
1961
+ "location": {
1962
+ "filePath": "forking.main.runtime.ts",
1963
+ "line": 383,
1964
+ "character": 3
1965
+ },
1966
+ "type": "RuntimeDefinition"
1967
+ },
1968
+ "isOptional": true,
1969
+ "defaultValue": "MainRuntime"
1970
+ },
1971
+ {
1972
+ "__schema": "FunctionLikeSchema",
1973
+ "location": {
1974
+ "filePath": "forking.main.runtime.ts",
1975
+ "line": 384,
1976
+ "character": 3
1977
+ },
1978
+ "signature": "(method) ForkingMain.provider([cli, workspace, scope, dependencyResolver, componentMain, newComponentHelper, graphql, refactoring, pkg, install,]: [CLIMain, Workspace, ScopeMain, DependencyResolverMain, ComponentMain, NewComponentHelperMain, GraphqlMain, RefactoringMain, PkgMain, InstallMain]): Promise<...>",
1979
+ "name": "provider",
1980
+ "params": [
1981
+ {
1982
+ "__schema": "ParameterSchema",
1983
+ "location": {
1984
+ "filePath": "forking.main.runtime.ts",
1985
+ "line": 384,
1986
+ "character": 25
1987
+ },
1988
+ "name": "[ cli, workspace, scope, dependencyResolver, componentMain, newComponentHelper, graphql, refactoring, pkg, install ]",
1989
+ "type": {
1990
+ "__schema": "TupleTypeSchema",
1991
+ "location": {
1992
+ "filePath": "forking.main.runtime.ts",
1993
+ "line": 395,
1994
+ "character": 6
1995
+ },
1996
+ "elements": [
1997
+ {
1998
+ "__schema": "TypeRefSchema",
1999
+ "location": {
2000
+ "filePath": "forking.main.runtime.ts",
2001
+ "line": 396,
2002
+ "character": 5
2003
+ },
2004
+ "name": "CLIMain",
2005
+ "componentId": {
2006
+ "scope": "teambit.harmony",
2007
+ "name": "cli"
2008
+ }
2009
+ },
2010
+ {
2011
+ "__schema": "TypeRefSchema",
2012
+ "location": {
2013
+ "filePath": "forking.main.runtime.ts",
2014
+ "line": 397,
2015
+ "character": 5
2016
+ },
2017
+ "name": "Workspace",
2018
+ "componentId": {
2019
+ "scope": "teambit.workspace",
2020
+ "name": "workspace"
2021
+ }
2022
+ },
2023
+ {
2024
+ "__schema": "TypeRefSchema",
2025
+ "location": {
2026
+ "filePath": "forking.main.runtime.ts",
2027
+ "line": 398,
2028
+ "character": 5
2029
+ },
2030
+ "name": "ScopeMain",
2031
+ "componentId": {
2032
+ "scope": "teambit.scope",
2033
+ "name": "scope"
2034
+ }
2035
+ },
2036
+ {
2037
+ "__schema": "TypeRefSchema",
2038
+ "location": {
2039
+ "filePath": "forking.main.runtime.ts",
2040
+ "line": 399,
2041
+ "character": 5
2042
+ },
2043
+ "name": "DependencyResolverMain",
2044
+ "componentId": {
2045
+ "scope": "teambit.dependencies",
2046
+ "name": "dependency-resolver"
2047
+ }
2048
+ },
2049
+ {
2050
+ "__schema": "TypeRefSchema",
2051
+ "location": {
2052
+ "filePath": "forking.main.runtime.ts",
2053
+ "line": 400,
2054
+ "character": 5
2055
+ },
2056
+ "name": "ComponentMain",
2057
+ "componentId": {
2058
+ "scope": "teambit.component",
2059
+ "name": "component"
2060
+ }
2061
+ },
2062
+ {
2063
+ "__schema": "TypeRefSchema",
2064
+ "location": {
2065
+ "filePath": "forking.main.runtime.ts",
2066
+ "line": 401,
2067
+ "character": 5
2068
+ },
2069
+ "name": "NewComponentHelperMain",
2070
+ "componentId": {
2071
+ "scope": "teambit.component",
2072
+ "name": "new-component-helper"
2073
+ }
2074
+ },
2075
+ {
2076
+ "__schema": "TypeRefSchema",
2077
+ "location": {
2078
+ "filePath": "forking.main.runtime.ts",
2079
+ "line": 402,
2080
+ "character": 5
2081
+ },
2082
+ "name": "GraphqlMain",
2083
+ "componentId": {
2084
+ "scope": "teambit.harmony",
2085
+ "name": "graphql"
2086
+ }
2087
+ },
2088
+ {
2089
+ "__schema": "TypeRefSchema",
2090
+ "location": {
2091
+ "filePath": "forking.main.runtime.ts",
2092
+ "line": 403,
2093
+ "character": 5
2094
+ },
2095
+ "name": "RefactoringMain",
2096
+ "componentId": {
2097
+ "scope": "teambit.component",
2098
+ "name": "refactoring"
2099
+ }
2100
+ },
2101
+ {
2102
+ "__schema": "TypeRefSchema",
2103
+ "location": {
2104
+ "filePath": "forking.main.runtime.ts",
2105
+ "line": 404,
2106
+ "character": 5
2107
+ },
2108
+ "name": "PkgMain",
2109
+ "componentId": {
2110
+ "scope": "teambit.pkg",
2111
+ "name": "pkg"
2112
+ }
2113
+ },
2114
+ {
2115
+ "__schema": "TypeRefSchema",
2116
+ "location": {
2117
+ "filePath": "forking.main.runtime.ts",
2118
+ "line": 405,
2119
+ "character": 5
2120
+ },
2121
+ "name": "InstallMain",
2122
+ "componentId": {
2123
+ "scope": "teambit.workspace",
2124
+ "name": "install"
2125
+ }
2126
+ }
2127
+ ]
2128
+ },
2129
+ "isOptional": false,
2130
+ "isSpread": false
2131
+ }
2132
+ ],
2133
+ "returnType": {
2134
+ "__schema": "InferenceTypeSchema",
2135
+ "location": {
2136
+ "filePath": "forking.main.runtime.ts",
2137
+ "line": 384,
2138
+ "character": 3
2139
+ },
2140
+ "type": "Promise<...>"
2141
+ },
2142
+ "modifiers": [
2143
+ "static",
2144
+ "async"
2145
+ ]
2146
+ }
2147
+ ],
2148
+ "extendsNodes": [],
2149
+ "implementNodes": []
2150
+ },
2151
+ {
2152
+ "__schema": "TypeSchema",
2153
+ "location": {
2154
+ "filePath": "forking.main.runtime.ts",
2155
+ "line": 429,
2156
+ "character": 1
2157
+ },
2158
+ "signature": "type ForkConfig = {\n forkedFrom: ComponentIdObj;\n}",
2159
+ "name": "ForkConfig",
2160
+ "type": {
2161
+ "__schema": "TypeLiteralSchema",
2162
+ "location": {
2163
+ "filePath": "forking.main.runtime.ts",
2164
+ "line": 429,
2165
+ "character": 26
2166
+ },
2167
+ "members": [
2168
+ {
2169
+ "__schema": "VariableLikeSchema",
2170
+ "location": {
2171
+ "filePath": "forking.main.runtime.ts",
2172
+ "line": 430,
2173
+ "character": 3
2174
+ },
2175
+ "signature": "(property) forkedFrom: ComponentIdObj",
2176
+ "name": "forkedFrom",
2177
+ "type": {
2178
+ "__schema": "TypeRefSchema",
2179
+ "location": {
2180
+ "filePath": "forking.main.runtime.ts",
2181
+ "line": 430,
2182
+ "character": 3
2183
+ },
2184
+ "name": "ComponentIdObj",
2185
+ "componentId": {
2186
+ "scope": "teambit.component",
2187
+ "name": "component-id",
2188
+ "version": "1.2.2"
2189
+ }
2190
+ },
2191
+ "isOptional": false
2192
+ }
2193
+ ]
2194
+ }
2195
+ }
2196
+ ],
2197
+ "internals": [
2198
+ {
2199
+ "__schema": "TypeSchema",
2200
+ "location": {
2201
+ "filePath": "forking.main.runtime.ts",
2202
+ "line": 30,
2203
+ "character": 1
2204
+ },
2205
+ "signature": "type MultipleForkInfo = {\n targetCompId: ComponentID;\n sourceId: string;\n component: Component;\n}",
2206
+ "name": "MultipleForkInfo",
2207
+ "type": {
2208
+ "__schema": "TypeLiteralSchema",
2209
+ "location": {
2210
+ "filePath": "forking.main.runtime.ts",
2211
+ "line": 30,
2212
+ "character": 25
2213
+ },
2214
+ "members": [
2215
+ {
2216
+ "__schema": "VariableLikeSchema",
2217
+ "location": {
2218
+ "filePath": "forking.main.runtime.ts",
2219
+ "line": 31,
2220
+ "character": 3
2221
+ },
2222
+ "signature": "(property) targetCompId: ComponentID",
2223
+ "name": "targetCompId",
2224
+ "type": {
2225
+ "__schema": "TypeRefSchema",
2226
+ "location": {
2227
+ "filePath": "forking.main.runtime.ts",
2228
+ "line": 31,
2229
+ "character": 3
2230
+ },
2231
+ "name": "ComponentID",
2232
+ "componentId": {
2233
+ "scope": "teambit.component",
2234
+ "name": "component-id",
2235
+ "version": "1.2.2"
2236
+ }
2237
+ },
2238
+ "isOptional": false
2239
+ },
2240
+ {
2241
+ "__schema": "VariableLikeSchema",
2242
+ "location": {
2243
+ "filePath": "forking.main.runtime.ts",
2244
+ "line": 32,
2245
+ "character": 3
2246
+ },
2247
+ "signature": "(property) sourceId: string",
2248
+ "name": "sourceId",
2249
+ "type": {
2250
+ "__schema": "KeywordTypeSchema",
2251
+ "location": {
2252
+ "filePath": "forking.main.runtime.ts",
2253
+ "line": 32,
2254
+ "character": 13
2255
+ },
2256
+ "name": "string"
2257
+ },
2258
+ "isOptional": false
2259
+ },
2260
+ {
2261
+ "__schema": "VariableLikeSchema",
2262
+ "location": {
2263
+ "filePath": "forking.main.runtime.ts",
2264
+ "line": 33,
2265
+ "character": 3
2266
+ },
2267
+ "signature": "(property) component: Component",
2268
+ "name": "component",
2269
+ "type": {
2270
+ "__schema": "TypeRefSchema",
2271
+ "location": {
2272
+ "filePath": "forking.main.runtime.ts",
2273
+ "line": 33,
2274
+ "character": 3
2275
+ },
2276
+ "name": "Component",
2277
+ "componentId": {
2278
+ "scope": "teambit.component",
2279
+ "name": "component"
2280
+ }
2281
+ },
2282
+ "isOptional": false
2283
+ }
2284
+ ]
2285
+ }
2286
+ },
2287
+ {
2288
+ "__schema": "TypeSchema",
2289
+ "location": {
2290
+ "filePath": "forking.main.runtime.ts",
2291
+ "line": 36,
2292
+ "character": 1
2293
+ },
2294
+ "signature": "type MultipleComponentsToFork = {\n sourceId: string;\n targetId?: string;\n targetScope?: string;\n path?: string;\n env?: string;\n config?: ComponentConfig;\n}[]",
2295
+ "name": "MultipleComponentsToFork",
2296
+ "type": {
2297
+ "__schema": "TypeRefSchema",
2298
+ "location": {
2299
+ "filePath": "forking.main.runtime.ts",
2300
+ "line": 36,
2301
+ "character": 33
2302
+ },
2303
+ "name": "Array",
2304
+ "typeArgs": [
2305
+ {
2306
+ "__schema": "TypeLiteralSchema",
2307
+ "location": {
2308
+ "filePath": "forking.main.runtime.ts",
2309
+ "line": 36,
2310
+ "character": 39
2311
+ },
2312
+ "members": [
2313
+ {
2314
+ "__schema": "VariableLikeSchema",
2315
+ "location": {
2316
+ "filePath": "forking.main.runtime.ts",
2317
+ "line": 37,
2318
+ "character": 3
2319
+ },
2320
+ "signature": "(property) sourceId: string",
2321
+ "name": "sourceId",
2322
+ "type": {
2323
+ "__schema": "KeywordTypeSchema",
2324
+ "location": {
2325
+ "filePath": "forking.main.runtime.ts",
2326
+ "line": 37,
2327
+ "character": 13
2328
+ },
2329
+ "name": "string"
2330
+ },
2331
+ "isOptional": false
2332
+ },
2333
+ {
2334
+ "__schema": "VariableLikeSchema",
2335
+ "location": {
2336
+ "filePath": "forking.main.runtime.ts",
2337
+ "line": 38,
2338
+ "character": 3
2339
+ },
2340
+ "signature": "(property) targetId?: string | undefined",
2341
+ "name": "targetId",
2342
+ "type": {
2343
+ "__schema": "KeywordTypeSchema",
2344
+ "location": {
2345
+ "filePath": "forking.main.runtime.ts",
2346
+ "line": 38,
2347
+ "character": 14
2348
+ },
2349
+ "name": "string"
2350
+ },
2351
+ "isOptional": true
2352
+ },
2353
+ {
2354
+ "__schema": "VariableLikeSchema",
2355
+ "location": {
2356
+ "filePath": "forking.main.runtime.ts",
2357
+ "line": 39,
2358
+ "character": 3
2359
+ },
2360
+ "signature": "(property) targetScope?: string | undefined",
2361
+ "name": "targetScope",
2362
+ "type": {
2363
+ "__schema": "KeywordTypeSchema",
2364
+ "location": {
2365
+ "filePath": "forking.main.runtime.ts",
2366
+ "line": 39,
2367
+ "character": 17
2368
+ },
2369
+ "name": "string"
2370
+ },
2371
+ "isOptional": true
2372
+ },
2373
+ {
2374
+ "__schema": "VariableLikeSchema",
2375
+ "location": {
2376
+ "filePath": "forking.main.runtime.ts",
2377
+ "line": 40,
2378
+ "character": 3
2379
+ },
2380
+ "signature": "(property) path?: string | undefined",
2381
+ "name": "path",
2382
+ "type": {
2383
+ "__schema": "KeywordTypeSchema",
2384
+ "location": {
2385
+ "filePath": "forking.main.runtime.ts",
2386
+ "line": 40,
2387
+ "character": 10
2388
+ },
2389
+ "name": "string"
2390
+ },
2391
+ "isOptional": true
2392
+ },
2393
+ {
2394
+ "__schema": "VariableLikeSchema",
2395
+ "location": {
2396
+ "filePath": "forking.main.runtime.ts",
2397
+ "line": 41,
2398
+ "character": 3
2399
+ },
2400
+ "signature": "(property) env?: string | undefined",
2401
+ "name": "env",
2402
+ "type": {
2403
+ "__schema": "KeywordTypeSchema",
2404
+ "location": {
2405
+ "filePath": "forking.main.runtime.ts",
2406
+ "line": 41,
2407
+ "character": 9
2408
+ },
2409
+ "name": "string"
2410
+ },
2411
+ "isOptional": true
2412
+ },
2413
+ {
2414
+ "__schema": "VariableLikeSchema",
2415
+ "location": {
2416
+ "filePath": "forking.main.runtime.ts",
2417
+ "line": 42,
2418
+ "character": 3
2419
+ },
2420
+ "signature": "(property) config?: ComponentConfig | undefined",
2421
+ "name": "config",
2422
+ "type": {
2423
+ "__schema": "TypeRefSchema",
2424
+ "location": {
2425
+ "filePath": "forking.main.runtime.ts",
2426
+ "line": 42,
2427
+ "character": 12
2428
+ },
2429
+ "name": "ComponentConfig",
2430
+ "componentId": {
2431
+ "scope": "teambit.generator",
2432
+ "name": "generator"
2433
+ }
2434
+ },
2435
+ "isOptional": true
2436
+ }
2437
+ ]
2438
+ }
2439
+ ]
2440
+ }
2441
+ },
2442
+ {
2443
+ "__schema": "TypeSchema",
2444
+ "location": {
2445
+ "filePath": "forking.main.runtime.ts",
2446
+ "line": 45,
2447
+ "character": 1
2448
+ },
2449
+ "signature": "type MultipleForkOptions = {\n refactor?: boolean;\n scope?: string;\n install?: boolean;\n ast?: boolean;\n compile?: boolean;\n}",
2450
+ "name": "MultipleForkOptions",
2451
+ "type": {
2452
+ "__schema": "TypeLiteralSchema",
2453
+ "location": {
2454
+ "filePath": "forking.main.runtime.ts",
2455
+ "line": 45,
2456
+ "character": 28
2457
+ },
2458
+ "members": [
2459
+ {
2460
+ "__schema": "VariableLikeSchema",
2461
+ "location": {
2462
+ "filePath": "forking.main.runtime.ts",
2463
+ "line": 46,
2464
+ "character": 3
2465
+ },
2466
+ "signature": "(property) refactor?: boolean | undefined",
2467
+ "name": "refactor",
2468
+ "type": {
2469
+ "__schema": "KeywordTypeSchema",
2470
+ "location": {
2471
+ "filePath": "forking.main.runtime.ts",
2472
+ "line": 46,
2473
+ "character": 14
2474
+ },
2475
+ "name": "boolean"
2476
+ },
2477
+ "isOptional": true
2478
+ },
2479
+ {
2480
+ "__schema": "VariableLikeSchema",
2481
+ "location": {
2482
+ "filePath": "forking.main.runtime.ts",
2483
+ "line": 47,
2484
+ "character": 3
2485
+ },
2486
+ "signature": "(property) scope?: string | undefined",
2487
+ "name": "scope",
2488
+ "type": {
2489
+ "__schema": "KeywordTypeSchema",
2490
+ "location": {
2491
+ "filePath": "forking.main.runtime.ts",
2492
+ "line": 47,
2493
+ "character": 11
2494
+ },
2495
+ "name": "string"
2496
+ },
2497
+ "isOptional": true
2498
+ },
2499
+ {
2500
+ "__schema": "VariableLikeSchema",
2501
+ "location": {
2502
+ "filePath": "forking.main.runtime.ts",
2503
+ "line": 48,
2504
+ "character": 3
2505
+ },
2506
+ "signature": "(property) install?: boolean | undefined",
2507
+ "name": "install",
2508
+ "type": {
2509
+ "__schema": "KeywordTypeSchema",
2510
+ "location": {
2511
+ "filePath": "forking.main.runtime.ts",
2512
+ "line": 48,
2513
+ "character": 13
2514
+ },
2515
+ "name": "boolean"
2516
+ },
2517
+ "isOptional": true
2518
+ },
2519
+ {
2520
+ "__schema": "VariableLikeSchema",
2521
+ "location": {
2522
+ "filePath": "forking.main.runtime.ts",
2523
+ "line": 49,
2524
+ "character": 3
2525
+ },
2526
+ "signature": "(property) ast?: boolean | undefined",
2527
+ "name": "ast",
2528
+ "type": {
2529
+ "__schema": "KeywordTypeSchema",
2530
+ "location": {
2531
+ "filePath": "forking.main.runtime.ts",
2532
+ "line": 49,
2533
+ "character": 9
2534
+ },
2535
+ "name": "boolean"
2536
+ },
2537
+ "isOptional": true
2538
+ },
2539
+ {
2540
+ "__schema": "VariableLikeSchema",
2541
+ "location": {
2542
+ "filePath": "forking.main.runtime.ts",
2543
+ "line": 50,
2544
+ "character": 3
2545
+ },
2546
+ "signature": "(property) compile?: boolean | undefined",
2547
+ "name": "compile",
2548
+ "type": {
2549
+ "__schema": "KeywordTypeSchema",
2550
+ "location": {
2551
+ "filePath": "forking.main.runtime.ts",
2552
+ "line": 50,
2553
+ "character": 13
2554
+ },
2555
+ "name": "boolean"
2556
+ },
2557
+ "isOptional": true
2558
+ }
2559
+ ]
2560
+ }
2561
+ },
2562
+ {
2563
+ "__schema": "UnImplementedSchema",
2564
+ "location": {
2565
+ "filePath": "forking.main.runtime.ts",
2566
+ "line": 427,
2567
+ "character": 1
2568
+ },
2569
+ "name": "ForkingAspect.addRuntime(ForkingMain);",
2570
+ "type": "ExpressionStatement"
2571
+ }
2572
+ ]
2573
+ },
2574
+ {
2575
+ "__schema": "ModuleSchema",
2576
+ "location": {
2577
+ "filePath": "forking.aspect.ts",
2578
+ "line": 1,
2579
+ "character": 1
2580
+ },
2581
+ "exports": [
2582
+ {
2583
+ "__schema": "VariableLikeSchema",
2584
+ "location": {
2585
+ "filePath": "forking.aspect.ts",
2586
+ "line": 3,
2587
+ "character": 14
2588
+ },
2589
+ "signature": "const ForkingAspect: Aspect",
2590
+ "name": "ForkingAspect",
2591
+ "type": {
2592
+ "__schema": "TypeRefSchema",
2593
+ "location": {
2594
+ "filePath": "forking.aspect.ts",
2595
+ "line": 3,
2596
+ "character": 14
2597
+ },
2598
+ "name": "Aspect",
2599
+ "componentId": {
2600
+ "scope": "teambit.harmony",
2601
+ "name": "harmony",
2602
+ "version": "0.4.6"
2603
+ }
2604
+ },
2605
+ "isOptional": false,
2606
+ "defaultValue": "Aspect.create({\n id: 'teambit.component/forking',\n})"
2607
+ }
2608
+ ],
2609
+ "internals": []
2610
+ }
2611
+ ],
2612
+ "componentId": {
2613
+ "scope": "teambit.component",
2614
+ "name": "forking",
2615
+ "version": "1.0.514"
2616
+ },
2617
+ "taggedModuleExports": []
2618
+ }