@teambit/component-log 1.0.257 → 1.0.259

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