@teambit/renaming 1.0.188 → 1.0.190

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