@teambit/version-history 0.0.304 → 0.0.305

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