@teambit/deprecation 1.0.512 → 1.0.513

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