@teambit/version-history 0.0.308 → 0.0.309

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