@teambit/version-history 0.0.1

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