@teambit/component-log 1.0.516 → 1.0.518

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