@teambit/component-log 1.0.188 → 1.0.190

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