@teambit/deprecation 1.0.515 → 1.0.517

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