@teambit/renaming 1.0.509 → 1.0.511

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