@teambit/component-log 1.0.257 → 1.0.258

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.
@@ -14,689 +14,694 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "ClassSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "component-log.main.runtime.ts",
20
- "line": 39,
21
- "character": 1
19
+ "filePath": "index.ts",
20
+ "line": 3,
21
+ "character": 15
22
22
  },
23
- "signature": "class ComponentLogMain",
24
23
  "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",
24
+ "exportNode": {
25
+ "__schema": "ClassSchema",
26
+ "location": {
27
+ "filePath": "component-log.main.runtime.ts",
28
+ "line": 39,
29
+ "character": 1
30
+ },
31
+ "signature": "class ComponentLogMain",
32
+ "name": "ComponentLogMain",
33
+ "members": [
34
+ {
35
+ "__schema": "ConstructorSchema",
36
+ "location": {
37
+ "filePath": "component-log.main.runtime.ts",
38
+ "line": 40,
39
+ "character": 3
40
+ },
41
+ "signature": "constructor ComponentLogMain(workspace: Workspace | undefined): ComponentLogMain",
42
+ "name": "constructor",
43
+ "params": [
44
+ {
45
+ "__schema": "ParameterSchema",
46
46
  "location": {
47
47
  "filePath": "component-log.main.runtime.ts",
48
48
  "line": 40,
49
- "character": 34
49
+ "character": 15
50
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
- }
51
+ "name": "workspace",
52
+ "type": {
53
+ "__schema": "TypeUnionSchema",
54
+ "location": {
55
+ "filePath": "component-log.main.runtime.ts",
56
+ "line": 40,
57
+ "character": 34
64
58
  },
65
- {
66
- "__schema": "KeywordTypeSchema",
67
- "location": {
68
- "filePath": "component-log.main.runtime.ts",
69
- "line": 40,
70
- "character": 46
59
+ "types": [
60
+ {
61
+ "__schema": "TypeRefSchema",
62
+ "location": {
63
+ "filePath": "component-log.main.runtime.ts",
64
+ "line": 40,
65
+ "character": 34
66
+ },
67
+ "name": "Workspace"
71
68
  },
72
- "name": "undefined"
73
- }
74
- ]
69
+ {
70
+ "__schema": "KeywordTypeSchema",
71
+ "location": {
72
+ "filePath": "component-log.main.runtime.ts",
73
+ "line": 40,
74
+ "character": 46
75
+ },
76
+ "name": "undefined"
77
+ }
78
+ ]
79
+ },
80
+ "isOptional": false,
81
+ "isSpread": false
82
+ }
83
+ ],
84
+ "returnType": {
85
+ "__schema": "ThisTypeSchema",
86
+ "location": {
87
+ "filePath": "component-log.main.runtime.ts",
88
+ "line": 39,
89
+ "character": 1
75
90
  },
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
91
+ "name": "ComponentLogMain"
86
92
  },
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
93
+ "modifiers": []
97
94
  },
98
- "doc": {
99
- "__schema": "DocSchema",
95
+ {
96
+ "__schema": "FunctionLikeSchema",
100
97
  "location": {
101
98
  "filePath": "component-log.main.runtime.ts",
102
- "line": 42,
99
+ "line": 45,
103
100
  "character": 3
104
101
  },
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",
102
+ "doc": {
103
+ "__schema": "DocSchema",
113
104
  "location": {
114
105
  "filePath": "component-log.main.runtime.ts",
115
- "line": 45,
116
- "character": 17
106
+ "line": 42,
107
+ "character": 3
117
108
  },
118
- "name": "id",
119
- "type": {
120
- "__schema": "KeywordTypeSchema",
109
+ "raw": "/**\n * get component log sorted by the timestamp in ascending order (from the earliest to the latest)\n */",
110
+ "comment": "get component log sorted by the timestamp in ascending order (from the earliest to the latest)"
111
+ },
112
+ "signature": "(method) ComponentLogMain.getLogs(id: string, isRemote?: boolean, shortHash?: boolean, shortMessage?: boolean): Promise<ComponentLog[]>",
113
+ "name": "getLogs",
114
+ "params": [
115
+ {
116
+ "__schema": "ParameterSchema",
121
117
  "location": {
122
118
  "filePath": "component-log.main.runtime.ts",
123
119
  "line": 45,
124
- "character": 21
120
+ "character": 17
125
121
  },
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
122
+ "name": "id",
123
+ "type": {
124
+ "__schema": "KeywordTypeSchema",
125
+ "location": {
126
+ "filePath": "component-log.main.runtime.ts",
127
+ "line": 45,
128
+ "character": 21
129
+ },
130
+ "name": "string"
131
+ },
132
+ "isOptional": false,
133
+ "isSpread": false
137
134
  },
138
- "name": "isRemote",
139
- "type": {
140
- "__schema": "KeywordTypeSchema",
135
+ {
136
+ "__schema": "ParameterSchema",
141
137
  "location": {
142
138
  "filePath": "component-log.main.runtime.ts",
143
139
  "line": 45,
144
- "character": 40
140
+ "character": 29
145
141
  },
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
142
+ "name": "isRemote",
143
+ "type": {
144
+ "__schema": "KeywordTypeSchema",
145
+ "location": {
146
+ "filePath": "component-log.main.runtime.ts",
147
+ "line": 45,
148
+ "character": 40
149
+ },
150
+ "name": "boolean"
151
+ },
152
+ "isOptional": true,
153
+ "isSpread": false
157
154
  },
158
- "name": "shortHash",
159
- "type": {
160
- "__schema": "InferenceTypeSchema",
155
+ {
156
+ "__schema": "ParameterSchema",
161
157
  "location": {
162
158
  "filePath": "component-log.main.runtime.ts",
163
159
  "line": 45,
164
160
  "character": 49
165
161
  },
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
162
+ "name": "shortHash",
163
+ "type": {
164
+ "__schema": "InferenceTypeSchema",
165
+ "location": {
166
+ "filePath": "component-log.main.runtime.ts",
167
+ "line": 45,
168
+ "character": 49
169
+ },
170
+ "type": "boolean"
186
171
  },
187
- "type": "boolean"
172
+ "isOptional": true,
173
+ "defaultValue": "false",
174
+ "isSpread": false
188
175
  },
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
176
  {
204
- "__schema": "TypeArraySchema",
177
+ "__schema": "ParameterSchema",
205
178
  "location": {
206
179
  "filePath": "component-log.main.runtime.ts",
207
180
  "line": 45,
208
- "character": 99
181
+ "character": 68
209
182
  },
183
+ "name": "shortMessage",
210
184
  "type": {
211
- "__schema": "TypeRefSchema",
185
+ "__schema": "InferenceTypeSchema",
212
186
  "location": {
213
187
  "filePath": "component-log.main.runtime.ts",
214
188
  "line": 45,
215
- "character": 99
189
+ "character": 68
216
190
  },
217
- "name": "ComponentLog"
218
- }
191
+ "type": "boolean"
192
+ },
193
+ "isOptional": true,
194
+ "defaultValue": "false",
195
+ "isSpread": false
219
196
  }
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",
197
+ ],
198
+ "returnType": {
199
+ "__schema": "TypeRefSchema",
238
200
  "location": {
239
201
  "filePath": "component-log.main.runtime.ts",
240
- "line": 62,
241
- "character": 28
202
+ "line": 45,
203
+ "character": 91
242
204
  },
243
- "name": "id",
244
- "type": {
245
- "__schema": "KeywordTypeSchema",
205
+ "name": "Promise",
206
+ "typeArgs": [
207
+ {
208
+ "__schema": "TypeArraySchema",
209
+ "location": {
210
+ "filePath": "component-log.main.runtime.ts",
211
+ "line": 45,
212
+ "character": 99
213
+ },
214
+ "type": {
215
+ "__schema": "TypeRefSchema",
216
+ "location": {
217
+ "filePath": "component-log.main.runtime.ts",
218
+ "line": 45,
219
+ "character": 99
220
+ },
221
+ "name": "ComponentLog"
222
+ }
223
+ }
224
+ ]
225
+ },
226
+ "modifiers": [
227
+ "async"
228
+ ]
229
+ },
230
+ {
231
+ "__schema": "FunctionLikeSchema",
232
+ "location": {
233
+ "filePath": "component-log.main.runtime.ts",
234
+ "line": 62,
235
+ "character": 3
236
+ },
237
+ "signature": "(method) ComponentLogMain.getLogsWithParents(id: string, fullHash?: boolean, fullMessage?: boolean): Promise<string[]>",
238
+ "name": "getLogsWithParents",
239
+ "params": [
240
+ {
241
+ "__schema": "ParameterSchema",
246
242
  "location": {
247
243
  "filePath": "component-log.main.runtime.ts",
248
244
  "line": 62,
249
- "character": 32
245
+ "character": 28
250
246
  },
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
247
+ "name": "id",
248
+ "type": {
249
+ "__schema": "KeywordTypeSchema",
250
+ "location": {
251
+ "filePath": "component-log.main.runtime.ts",
252
+ "line": 62,
253
+ "character": 32
254
+ },
255
+ "name": "string"
256
+ },
257
+ "isOptional": false,
258
+ "isSpread": false
262
259
  },
263
- "name": "fullHash",
264
- "type": {
265
- "__schema": "InferenceTypeSchema",
260
+ {
261
+ "__schema": "ParameterSchema",
266
262
  "location": {
267
263
  "filePath": "component-log.main.runtime.ts",
268
264
  "line": 62,
269
265
  "character": 40
270
266
  },
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
267
+ "name": "fullHash",
268
+ "type": {
269
+ "__schema": "InferenceTypeSchema",
270
+ "location": {
271
+ "filePath": "component-log.main.runtime.ts",
272
+ "line": 62,
273
+ "character": 40
274
+ },
275
+ "type": "boolean"
276
+ },
277
+ "isOptional": true,
278
+ "defaultValue": "false",
279
+ "isSpread": false
283
280
  },
284
- "name": "fullMessage",
285
- "type": {
286
- "__schema": "InferenceTypeSchema",
281
+ {
282
+ "__schema": "ParameterSchema",
287
283
  "location": {
288
284
  "filePath": "component-log.main.runtime.ts",
289
285
  "line": 62,
290
286
  "character": 58
291
287
  },
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",
288
+ "name": "fullMessage",
289
+ "type": {
290
+ "__schema": "InferenceTypeSchema",
291
+ "location": {
292
+ "filePath": "component-log.main.runtime.ts",
293
+ "line": 62,
294
+ "character": 58
295
+ },
296
+ "type": "boolean"
297
+ },
298
+ "isOptional": true,
299
+ "defaultValue": "false",
300
+ "isSpread": false
301
+ }
302
+ ],
303
+ "returnType": {
304
+ "__schema": "InferenceTypeSchema",
324
305
  "location": {
325
306
  "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"
307
+ "line": 62,
308
+ "character": 3
338
309
  },
339
- "isOptional": false,
340
- "isSpread": false
341
- }
342
- ],
343
- "returnType": {
344
- "__schema": "TypeRefSchema",
310
+ "type": "Promise<string[]>"
311
+ },
312
+ "modifiers": [
313
+ "async"
314
+ ]
315
+ },
316
+ {
317
+ "__schema": "FunctionLikeSchema",
345
318
  "location": {
346
319
  "filePath": "component-log.main.runtime.ts",
347
320
  "line": 69,
348
- "character": 48
321
+ "character": 3
349
322
  },
350
- "name": "Promise",
351
- "typeArgs": [
323
+ "signature": "(method) ComponentLogMain.getChangedFilesFromParent(id: string): Promise<FileHashDiffFromParent[]>",
324
+ "name": "getChangedFilesFromParent",
325
+ "params": [
352
326
  {
353
- "__schema": "TypeArraySchema",
327
+ "__schema": "ParameterSchema",
354
328
  "location": {
355
329
  "filePath": "component-log.main.runtime.ts",
356
330
  "line": 69,
357
- "character": 56
331
+ "character": 35
358
332
  },
333
+ "name": "id",
359
334
  "type": {
360
- "__schema": "TypeRefSchema",
335
+ "__schema": "KeywordTypeSchema",
361
336
  "location": {
362
337
  "filePath": "component-log.main.runtime.ts",
363
338
  "line": 69,
364
- "character": 56
339
+ "character": 39
365
340
  },
366
- "name": "FileHashDiffFromParent"
367
- }
341
+ "name": "string"
342
+ },
343
+ "isOptional": false,
344
+ "isSpread": false
368
345
  }
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",
346
+ ],
347
+ "returnType": {
348
+ "__schema": "TypeRefSchema",
387
349
  "location": {
388
350
  "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"
351
+ "line": 69,
352
+ "character": 48
401
353
  },
402
- "isOptional": false,
403
- "isSpread": false
404
- }
405
- ],
406
- "returnType": {
407
- "__schema": "TypeRefSchema",
354
+ "name": "Promise",
355
+ "typeArgs": [
356
+ {
357
+ "__schema": "TypeArraySchema",
358
+ "location": {
359
+ "filePath": "component-log.main.runtime.ts",
360
+ "line": 69,
361
+ "character": 56
362
+ },
363
+ "type": {
364
+ "__schema": "TypeRefSchema",
365
+ "location": {
366
+ "filePath": "component-log.main.runtime.ts",
367
+ "line": 69,
368
+ "character": 56
369
+ },
370
+ "name": "FileHashDiffFromParent"
371
+ }
372
+ }
373
+ ]
374
+ },
375
+ "modifiers": [
376
+ "async"
377
+ ]
378
+ },
379
+ {
380
+ "__schema": "FunctionLikeSchema",
408
381
  "location": {
409
382
  "filePath": "component-log.main.runtime.ts",
410
383
  "line": 109,
411
- "character": 49
384
+ "character": 3
412
385
  },
413
- "name": "Promise",
414
- "typeArgs": [
386
+ "signature": "(method) ComponentLogMain.getFileHistoryHashes(filePath: string): Promise<FileLog[]>",
387
+ "name": "getFileHistoryHashes",
388
+ "params": [
415
389
  {
416
- "__schema": "TypeArraySchema",
390
+ "__schema": "ParameterSchema",
417
391
  "location": {
418
392
  "filePath": "component-log.main.runtime.ts",
419
393
  "line": 109,
420
- "character": 57
394
+ "character": 30
421
395
  },
396
+ "name": "filePath",
422
397
  "type": {
423
- "__schema": "TypeRefSchema",
398
+ "__schema": "KeywordTypeSchema",
424
399
  "location": {
425
400
  "filePath": "component-log.main.runtime.ts",
426
401
  "line": 109,
427
- "character": 57
402
+ "character": 40
428
403
  },
429
- "name": "FileLog",
430
- "internalFilePath": "component-log.main.runtime.ts"
431
- }
404
+ "name": "string"
405
+ },
406
+ "isOptional": false,
407
+ "isSpread": false
432
408
  }
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",
409
+ ],
410
+ "returnType": {
411
+ "__schema": "TypeRefSchema",
451
412
  "location": {
452
413
  "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"
414
+ "line": 109,
415
+ "character": 49
465
416
  },
466
- "isOptional": false,
467
- "isSpread": false
468
- }
469
- ],
470
- "returnType": {
471
- "__schema": "InferenceTypeSchema",
417
+ "name": "Promise",
418
+ "typeArgs": [
419
+ {
420
+ "__schema": "TypeArraySchema",
421
+ "location": {
422
+ "filePath": "component-log.main.runtime.ts",
423
+ "line": 109,
424
+ "character": 57
425
+ },
426
+ "type": {
427
+ "__schema": "TypeRefSchema",
428
+ "location": {
429
+ "filePath": "component-log.main.runtime.ts",
430
+ "line": 109,
431
+ "character": 57
432
+ },
433
+ "name": "FileLog"
434
+ }
435
+ }
436
+ ]
437
+ },
438
+ "modifiers": [
439
+ "async"
440
+ ]
441
+ },
442
+ {
443
+ "__schema": "FunctionLikeSchema",
472
444
  "location": {
473
445
  "filePath": "component-log.main.runtime.ts",
474
446
  "line": 175,
475
447
  "character": 3
476
448
  },
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
449
+ "signature": "(method) ComponentLogMain.getFileLog(filePath: string): Promise<FileLog[]>",
450
+ "name": "getFileLog",
451
+ "params": [
452
+ {
453
+ "__schema": "ParameterSchema",
454
+ "location": {
455
+ "filePath": "component-log.main.runtime.ts",
456
+ "line": 175,
457
+ "character": 20
458
+ },
459
+ "name": "filePath",
460
+ "type": {
461
+ "__schema": "KeywordTypeSchema",
462
+ "location": {
463
+ "filePath": "component-log.main.runtime.ts",
464
+ "line": 175,
465
+ "character": 30
466
+ },
467
+ "name": "string"
468
+ },
469
+ "isOptional": false,
470
+ "isSpread": false
471
+ }
472
+ ],
473
+ "returnType": {
474
+ "__schema": "InferenceTypeSchema",
475
+ "location": {
476
+ "filePath": "component-log.main.runtime.ts",
477
+ "line": 175,
478
+ "character": 3
479
+ },
480
+ "type": "Promise<FileLog[]>"
481
+ },
482
+ "modifiers": [
483
+ "async"
484
+ ]
489
485
  },
490
- "signature": "(property) ComponentLogMain.slots: never[]",
491
- "name": "slots",
492
- "type": {
493
- "__schema": "InferenceTypeSchema",
486
+ {
487
+ "__schema": "VariableLikeSchema",
494
488
  "location": {
495
489
  "filePath": "component-log.main.runtime.ts",
496
490
  "line": 232,
497
491
  "character": 3
498
492
  },
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
493
+ "signature": "(property) ComponentLogMain.slots: never[]",
494
+ "name": "slots",
495
+ "type": {
496
+ "__schema": "InferenceTypeSchema",
497
+ "location": {
498
+ "filePath": "component-log.main.runtime.ts",
499
+ "line": 232,
500
+ "character": 3
501
+ },
502
+ "type": "never[]"
503
+ },
504
+ "isOptional": true,
505
+ "defaultValue": "[]"
510
506
  },
511
- "signature": "(property) ComponentLogMain.dependencies: Aspect[]",
512
- "name": "dependencies",
513
- "type": {
514
- "__schema": "InferenceTypeSchema",
507
+ {
508
+ "__schema": "VariableLikeSchema",
515
509
  "location": {
516
510
  "filePath": "component-log.main.runtime.ts",
517
511
  "line": 233,
518
512
  "character": 3
519
513
  },
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
514
+ "signature": "(property) ComponentLogMain.dependencies: Aspect[]",
515
+ "name": "dependencies",
516
+ "type": {
517
+ "__schema": "InferenceTypeSchema",
518
+ "location": {
519
+ "filePath": "component-log.main.runtime.ts",
520
+ "line": 233,
521
+ "character": 3
522
+ },
523
+ "type": "Aspect[]"
524
+ },
525
+ "isOptional": true,
526
+ "defaultValue": "[CLIAspect, WorkspaceAspect]"
531
527
  },
532
- "signature": "(property) ComponentLogMain.runtime: RuntimeDefinition",
533
- "name": "runtime",
534
- "type": {
535
- "__schema": "InferenceTypeSchema",
528
+ {
529
+ "__schema": "VariableLikeSchema",
536
530
  "location": {
537
531
  "filePath": "component-log.main.runtime.ts",
538
532
  "line": 234,
539
533
  "character": 3
540
534
  },
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",
535
+ "signature": "(property) ComponentLogMain.runtime: RuntimeDefinition",
536
+ "name": "runtime",
537
+ "type": {
538
+ "__schema": "InferenceTypeSchema",
558
539
  "location": {
559
540
  "filePath": "component-log.main.runtime.ts",
560
- "line": 235,
561
- "character": 25
541
+ "line": 234,
542
+ "character": 3
562
543
  },
563
- "name": "[ cli, workspace ]",
564
- "type": {
565
- "__schema": "TupleTypeSchema",
544
+ "type": "RuntimeDefinition"
545
+ },
546
+ "isOptional": true,
547
+ "defaultValue": "MainRuntime"
548
+ },
549
+ {
550
+ "__schema": "FunctionLikeSchema",
551
+ "location": {
552
+ "filePath": "component-log.main.runtime.ts",
553
+ "line": 235,
554
+ "character": 3
555
+ },
556
+ "signature": "(method) ComponentLogMain.provider([cli, workspace]: [CLIMain, Workspace]): Promise<ComponentLogMain>",
557
+ "name": "provider",
558
+ "params": [
559
+ {
560
+ "__schema": "ParameterSchema",
566
561
  "location": {
567
562
  "filePath": "component-log.main.runtime.ts",
568
563
  "line": 235,
569
- "character": 43
564
+ "character": 25
570
565
  },
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
- }
566
+ "name": "[ cli, workspace ]",
567
+ "type": {
568
+ "__schema": "TupleTypeSchema",
569
+ "location": {
570
+ "filePath": "component-log.main.runtime.ts",
571
+ "line": 235,
572
+ "character": 43
584
573
  },
585
- {
586
- "__schema": "TypeRefSchema",
587
- "location": {
588
- "filePath": "component-log.main.runtime.ts",
589
- "line": 235,
590
- "character": 53
574
+ "elements": [
575
+ {
576
+ "__schema": "TypeRefSchema",
577
+ "location": {
578
+ "filePath": "component-log.main.runtime.ts",
579
+ "line": 235,
580
+ "character": 44
581
+ },
582
+ "name": "CLIMain"
591
583
  },
592
- "name": "Workspace",
593
- "componentId": {
594
- "scope": "teambit.workspace",
595
- "name": "workspace"
584
+ {
585
+ "__schema": "TypeRefSchema",
586
+ "location": {
587
+ "filePath": "component-log.main.runtime.ts",
588
+ "line": 235,
589
+ "character": 53
590
+ },
591
+ "name": "Workspace"
596
592
  }
597
- }
598
- ]
593
+ ]
594
+ },
595
+ "isOptional": false,
596
+ "isSpread": false
597
+ }
598
+ ],
599
+ "returnType": {
600
+ "__schema": "InferenceTypeSchema",
601
+ "location": {
602
+ "filePath": "component-log.main.runtime.ts",
603
+ "line": 235,
604
+ "character": 3
599
605
  },
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
606
+ "type": "Promise<ComponentLogMain>"
610
607
  },
611
- "type": "Promise<ComponentLogMain>"
612
- },
613
- "modifiers": [
614
- "static",
615
- "async"
616
- ]
617
- }
618
- ],
619
- "extendsNodes": [],
620
- "implementNodes": []
608
+ "modifiers": [
609
+ "static",
610
+ "async"
611
+ ]
612
+ }
613
+ ],
614
+ "extendsNodes": [],
615
+ "implementNodes": []
616
+ }
621
617
  },
622
618
  {
623
- "__schema": "TypeSchema",
619
+ "__schema": "ExportSchema",
624
620
  "location": {
625
- "filePath": "component-log.main.runtime.ts",
626
- "line": 33,
627
- "character": 1
621
+ "filePath": "index.ts",
622
+ "line": 3,
623
+ "character": 33
628
624
  },
629
- "signature": "type FileHashDiffFromParent = {\n filePath: string;\n hash?: string | undefined;\n parentHash?: string | undefined;\n}",
630
625
  "name": "FileHashDiffFromParent",
631
- "type": {
632
- "__schema": "TypeLiteralSchema",
626
+ "exportNode": {
627
+ "__schema": "TypeSchema",
633
628
  "location": {
634
629
  "filePath": "component-log.main.runtime.ts",
635
630
  "line": 33,
636
- "character": 38
631
+ "character": 1
637
632
  },
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",
633
+ "signature": "type FileHashDiffFromParent = {\n filePath: string;\n hash?: string | undefined;\n parentHash?: string | undefined;\n}",
634
+ "name": "FileHashDiffFromParent",
635
+ "type": {
636
+ "__schema": "TypeLiteralSchema",
637
+ "location": {
638
+ "filePath": "component-log.main.runtime.ts",
639
+ "line": 33,
640
+ "character": 38
641
+ },
642
+ "members": [
643
+ {
644
+ "__schema": "VariableLikeSchema",
650
645
  "location": {
651
646
  "filePath": "component-log.main.runtime.ts",
652
647
  "line": 34,
653
- "character": 13
648
+ "character": 3
654
649
  },
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
650
+ "signature": "(property) filePath: string",
651
+ "name": "filePath",
652
+ "type": {
653
+ "__schema": "KeywordTypeSchema",
654
+ "location": {
655
+ "filePath": "component-log.main.runtime.ts",
656
+ "line": 34,
657
+ "character": 13
658
+ },
659
+ "name": "string"
660
+ },
661
+ "isOptional": false
665
662
  },
666
- "signature": "(property) hash?: string | undefined",
667
- "name": "hash",
668
- "type": {
669
- "__schema": "KeywordTypeSchema",
663
+ {
664
+ "__schema": "VariableLikeSchema",
670
665
  "location": {
671
666
  "filePath": "component-log.main.runtime.ts",
672
667
  "line": 35,
673
- "character": 10
668
+ "character": 3
674
669
  },
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
670
+ "signature": "(property) hash?: string | undefined",
671
+ "name": "hash",
672
+ "type": {
673
+ "__schema": "KeywordTypeSchema",
674
+ "location": {
675
+ "filePath": "component-log.main.runtime.ts",
676
+ "line": 35,
677
+ "character": 10
678
+ },
679
+ "name": "string"
680
+ },
681
+ "isOptional": true
685
682
  },
686
- "signature": "(property) parentHash?: string | undefined",
687
- "name": "parentHash",
688
- "type": {
689
- "__schema": "KeywordTypeSchema",
683
+ {
684
+ "__schema": "VariableLikeSchema",
690
685
  "location": {
691
686
  "filePath": "component-log.main.runtime.ts",
692
687
  "line": 36,
693
- "character": 16
688
+ "character": 3
694
689
  },
695
- "name": "string"
696
- },
697
- "isOptional": true
698
- }
699
- ]
690
+ "signature": "(property) parentHash?: string | undefined",
691
+ "name": "parentHash",
692
+ "type": {
693
+ "__schema": "KeywordTypeSchema",
694
+ "location": {
695
+ "filePath": "component-log.main.runtime.ts",
696
+ "line": 36,
697
+ "character": 16
698
+ },
699
+ "name": "string"
700
+ },
701
+ "isOptional": true
702
+ }
703
+ ]
704
+ }
700
705
  }
701
706
  },
702
707
  {
@@ -710,30 +715,39 @@
710
715
  "type": "Identifier"
711
716
  },
712
717
  {
713
- "__schema": "VariableLikeSchema",
718
+ "__schema": "ExportSchema",
714
719
  "location": {
715
- "filePath": "component-log.aspect.ts",
716
- "line": 3,
717
- "character": 14
720
+ "filePath": "index.ts",
721
+ "line": 5,
722
+ "character": 10
718
723
  },
719
- "signature": "const ComponentLogAspect: Aspect",
720
724
  "name": "ComponentLogAspect",
721
- "type": {
722
- "__schema": "TypeRefSchema",
725
+ "exportNode": {
726
+ "__schema": "VariableLikeSchema",
723
727
  "location": {
724
728
  "filePath": "component-log.aspect.ts",
725
729
  "line": 3,
726
730
  "character": 14
727
731
  },
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})"
732
+ "signature": "const ComponentLogAspect: Aspect",
733
+ "name": "ComponentLogAspect",
734
+ "type": {
735
+ "__schema": "TypeRefSchema",
736
+ "location": {
737
+ "filePath": "component-log.aspect.ts",
738
+ "line": 3,
739
+ "character": 14
740
+ },
741
+ "name": "Aspect",
742
+ "componentId": {
743
+ "scope": "teambit.harmony",
744
+ "name": "harmony",
745
+ "version": "0.4.6"
746
+ }
747
+ },
748
+ "isOptional": false,
749
+ "defaultValue": "Aspect.create({\n id: 'teambit.component/component-log',\n})"
750
+ }
737
751
  }
738
752
  ],
739
753
  "internals": []
@@ -1070,11 +1084,7 @@
1070
1084
  "line": 40,
1071
1085
  "character": 34
1072
1086
  },
1073
- "name": "Workspace",
1074
- "componentId": {
1075
- "scope": "teambit.workspace",
1076
- "name": "workspace"
1077
- }
1087
+ "name": "Workspace"
1078
1088
  },
1079
1089
  {
1080
1090
  "__schema": "KeywordTypeSchema",
@@ -1440,8 +1450,7 @@
1440
1450
  "line": 109,
1441
1451
  "character": 57
1442
1452
  },
1443
- "name": "FileLog",
1444
- "internalFilePath": "component-log.main.runtime.ts"
1453
+ "name": "FileLog"
1445
1454
  }
1446
1455
  }
1447
1456
  ]
@@ -1590,11 +1599,7 @@
1590
1599
  "line": 235,
1591
1600
  "character": 44
1592
1601
  },
1593
- "name": "CLIMain",
1594
- "componentId": {
1595
- "scope": "teambit.harmony",
1596
- "name": "cli"
1597
- }
1602
+ "name": "CLIMain"
1598
1603
  },
1599
1604
  {
1600
1605
  "__schema": "TypeRefSchema",
@@ -1603,11 +1608,7 @@
1603
1608
  "line": 235,
1604
1609
  "character": 53
1605
1610
  },
1606
- "name": "Workspace",
1607
- "componentId": {
1608
- "scope": "teambit.workspace",
1609
- "name": "workspace"
1610
- }
1611
+ "name": "Workspace"
1611
1612
  }
1612
1613
  ]
1613
1614
  },
@@ -1876,7 +1877,7 @@
1876
1877
  "componentId": {
1877
1878
  "scope": "teambit.component",
1878
1879
  "name": "component-log",
1879
- "version": "1.0.257"
1880
+ "version": "1.0.258"
1880
1881
  },
1881
1882
  "taggedModuleExports": []
1882
1883
  }