@teambit/forking 1.0.157 → 1.0.159

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