@teambit/component-log 1.0.511 → 1.0.513

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