@teambit/renaming 1.0.187 → 1.0.188

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