@teambit/version-history 0.0.49 → 0.0.51

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,791 +14,800 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "ClassSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "version-history.main.runtime.ts",
20
- "line": 27,
21
- "character": 1
19
+ "filePath": "index.ts",
20
+ "line": 3,
21
+ "character": 15
22
22
  },
23
- "signature": "class VersionHistoryMain",
24
23
  "name": "VersionHistoryMain",
25
- "members": [
26
- {
27
- "__schema": "ConstructorSchema",
28
- "location": {
29
- "filePath": "version-history.main.runtime.ts",
30
- "line": 28,
31
- "character": 3
32
- },
33
- "signature": "constructor VersionHistoryMain(scope: ScopeMain, logger: Logger): VersionHistoryMain",
34
- "name": "constructor",
35
- "params": [
36
- {
37
- "__schema": "ParameterSchema",
38
- "location": {
39
- "filePath": "version-history.main.runtime.ts",
40
- "line": 28,
41
- "character": 15
42
- },
43
- "name": "scope",
44
- "type": {
45
- "__schema": "TypeRefSchema",
24
+ "exportNode": {
25
+ "__schema": "ClassSchema",
26
+ "location": {
27
+ "filePath": "version-history.main.runtime.ts",
28
+ "line": 27,
29
+ "character": 1
30
+ },
31
+ "signature": "class VersionHistoryMain",
32
+ "name": "VersionHistoryMain",
33
+ "members": [
34
+ {
35
+ "__schema": "ConstructorSchema",
36
+ "location": {
37
+ "filePath": "version-history.main.runtime.ts",
38
+ "line": 28,
39
+ "character": 3
40
+ },
41
+ "signature": "constructor VersionHistoryMain(scope: ScopeMain, logger: Logger): VersionHistoryMain",
42
+ "name": "constructor",
43
+ "params": [
44
+ {
45
+ "__schema": "ParameterSchema",
46
46
  "location": {
47
47
  "filePath": "version-history.main.runtime.ts",
48
48
  "line": 28,
49
- "character": 30
49
+ "character": 15
50
50
  },
51
- "name": "ScopeMain",
52
- "componentId": {
53
- "scope": "teambit.scope",
54
- "name": "scope"
55
- }
56
- },
57
- "isOptional": false,
58
- "isSpread": false
59
- },
60
- {
61
- "__schema": "ParameterSchema",
62
- "location": {
63
- "filePath": "version-history.main.runtime.ts",
64
- "line": 28,
65
- "character": 41
51
+ "name": "scope",
52
+ "type": {
53
+ "__schema": "TypeRefSchema",
54
+ "location": {
55
+ "filePath": "version-history.main.runtime.ts",
56
+ "line": 28,
57
+ "character": 30
58
+ },
59
+ "name": "ScopeMain",
60
+ "componentId": {
61
+ "scope": "teambit.scope",
62
+ "name": "scope"
63
+ }
64
+ },
65
+ "isOptional": false,
66
+ "isSpread": false
66
67
  },
67
- "name": "logger",
68
- "type": {
69
- "__schema": "TypeRefSchema",
68
+ {
69
+ "__schema": "ParameterSchema",
70
70
  "location": {
71
71
  "filePath": "version-history.main.runtime.ts",
72
72
  "line": 28,
73
- "character": 57
73
+ "character": 41
74
74
  },
75
- "name": "Logger",
76
- "componentId": {
77
- "scope": "teambit.harmony",
78
- "name": "logger"
79
- }
80
- },
81
- "isOptional": false,
82
- "isSpread": false
83
- }
84
- ],
85
- "returnType": {
86
- "__schema": "ThisTypeSchema",
87
- "location": {
88
- "filePath": "version-history.main.runtime.ts",
89
- "line": 27,
90
- "character": 1
91
- },
92
- "name": "VersionHistoryMain"
93
- },
94
- "modifiers": []
95
- },
96
- {
97
- "__schema": "FunctionLikeSchema",
98
- "location": {
99
- "filePath": "version-history.main.runtime.ts",
100
- "line": 30,
101
- "character": 3
102
- },
103
- "signature": "(method) VersionHistoryMain.build(id: ComponentID, options?: BuildOptions): Promise<BuildResult>",
104
- "name": "build",
105
- "params": [
106
- {
107
- "__schema": "ParameterSchema",
108
- "location": {
109
- "filePath": "version-history.main.runtime.ts",
110
- "line": 30,
111
- "character": 15
112
- },
113
- "name": "id",
114
- "type": {
115
- "__schema": "TypeRefSchema",
116
- "location": {
117
- "filePath": "version-history.main.runtime.ts",
118
- "line": 30,
119
- "character": 19
75
+ "name": "logger",
76
+ "type": {
77
+ "__schema": "TypeRefSchema",
78
+ "location": {
79
+ "filePath": "version-history.main.runtime.ts",
80
+ "line": 28,
81
+ "character": 57
82
+ },
83
+ "name": "Logger",
84
+ "componentId": {
85
+ "scope": "teambit.harmony",
86
+ "name": "logger"
87
+ }
120
88
  },
121
- "name": "ComponentID",
122
- "componentId": {
123
- "scope": "teambit.component",
124
- "name": "component-id",
125
- "version": "1.2.0"
126
- }
127
- },
128
- "isOptional": false,
129
- "isSpread": false
130
- },
131
- {
132
- "__schema": "ParameterSchema",
89
+ "isOptional": false,
90
+ "isSpread": false
91
+ }
92
+ ],
93
+ "returnType": {
94
+ "__schema": "ThisTypeSchema",
133
95
  "location": {
134
96
  "filePath": "version-history.main.runtime.ts",
135
- "line": 30,
136
- "character": 32
137
- },
138
- "name": "options",
139
- "type": {
140
- "__schema": "TypeRefSchema",
141
- "location": {
142
- "filePath": "version-history.main.runtime.ts",
143
- "line": 30,
144
- "character": 41
145
- },
146
- "name": "BuildOptions",
147
- "internalFilePath": "version-history-cmd.ts"
97
+ "line": 27,
98
+ "character": 1
148
99
  },
149
- "isOptional": true,
150
- "defaultValue": "{}",
151
- "isSpread": false
152
- }
153
- ],
154
- "returnType": {
155
- "__schema": "TypeRefSchema",
100
+ "name": "VersionHistoryMain"
101
+ },
102
+ "modifiers": []
103
+ },
104
+ {
105
+ "__schema": "FunctionLikeSchema",
156
106
  "location": {
157
107
  "filePath": "version-history.main.runtime.ts",
158
108
  "line": 30,
159
- "character": 61
109
+ "character": 3
160
110
  },
161
- "name": "Promise",
162
- "typeArgs": [
111
+ "signature": "(method) VersionHistoryMain.build(id: ComponentID, options?: BuildOptions): Promise<BuildResult>",
112
+ "name": "build",
113
+ "params": [
163
114
  {
164
- "__schema": "TypeRefSchema",
115
+ "__schema": "ParameterSchema",
165
116
  "location": {
166
117
  "filePath": "version-history.main.runtime.ts",
167
118
  "line": 30,
168
- "character": 69
119
+ "character": 15
169
120
  },
170
- "name": "BuildResult",
171
- "internalFilePath": "version-history.main.runtime.ts"
172
- }
173
- ]
174
- },
175
- "modifiers": [
176
- "async"
177
- ]
178
- },
179
- {
180
- "__schema": "FunctionLikeSchema",
181
- "location": {
182
- "filePath": "version-history.main.runtime.ts",
183
- "line": 88,
184
- "character": 3
185
- },
186
- "signature": "(method) VersionHistoryMain.show(id: string, options: ShowOptions): Promise<ShowResult[]>",
187
- "name": "show",
188
- "params": [
189
- {
190
- "__schema": "ParameterSchema",
191
- "location": {
192
- "filePath": "version-history.main.runtime.ts",
193
- "line": 88,
194
- "character": 14
121
+ "name": "id",
122
+ "type": {
123
+ "__schema": "TypeRefSchema",
124
+ "location": {
125
+ "filePath": "version-history.main.runtime.ts",
126
+ "line": 30,
127
+ "character": 19
128
+ },
129
+ "name": "ComponentID",
130
+ "componentId": {
131
+ "scope": "teambit.component",
132
+ "name": "component-id",
133
+ "version": "1.2.0"
134
+ }
135
+ },
136
+ "isOptional": false,
137
+ "isSpread": false
195
138
  },
196
- "name": "id",
197
- "type": {
198
- "__schema": "KeywordTypeSchema",
139
+ {
140
+ "__schema": "ParameterSchema",
199
141
  "location": {
200
142
  "filePath": "version-history.main.runtime.ts",
201
- "line": 88,
202
- "character": 18
143
+ "line": 30,
144
+ "character": 32
203
145
  },
204
- "name": "string"
205
- },
206
- "isOptional": false,
207
- "isSpread": false
208
- },
209
- {
210
- "__schema": "ParameterSchema",
146
+ "name": "options",
147
+ "type": {
148
+ "__schema": "TypeRefSchema",
149
+ "location": {
150
+ "filePath": "version-history.main.runtime.ts",
151
+ "line": 30,
152
+ "character": 41
153
+ },
154
+ "name": "BuildOptions",
155
+ "internalFilePath": "version-history-cmd.ts"
156
+ },
157
+ "isOptional": true,
158
+ "defaultValue": "{}",
159
+ "isSpread": false
160
+ }
161
+ ],
162
+ "returnType": {
163
+ "__schema": "TypeRefSchema",
211
164
  "location": {
212
165
  "filePath": "version-history.main.runtime.ts",
213
- "line": 88,
214
- "character": 26
215
- },
216
- "name": "options",
217
- "type": {
218
- "__schema": "TypeRefSchema",
219
- "location": {
220
- "filePath": "version-history.main.runtime.ts",
221
- "line": 88,
222
- "character": 35
223
- },
224
- "name": "ShowOptions",
225
- "internalFilePath": "version-history-cmd.ts"
166
+ "line": 30,
167
+ "character": 61
226
168
  },
227
- "isOptional": false,
228
- "isSpread": false
229
- }
230
- ],
231
- "returnType": {
232
- "__schema": "TypeRefSchema",
169
+ "name": "Promise",
170
+ "typeArgs": [
171
+ {
172
+ "__schema": "TypeRefSchema",
173
+ "location": {
174
+ "filePath": "version-history.main.runtime.ts",
175
+ "line": 30,
176
+ "character": 69
177
+ },
178
+ "name": "BuildResult",
179
+ "internalFilePath": "version-history.main.runtime.ts"
180
+ }
181
+ ]
182
+ },
183
+ "modifiers": [
184
+ "async"
185
+ ]
186
+ },
187
+ {
188
+ "__schema": "FunctionLikeSchema",
233
189
  "location": {
234
190
  "filePath": "version-history.main.runtime.ts",
235
191
  "line": 88,
236
- "character": 49
192
+ "character": 3
237
193
  },
238
- "name": "Promise",
239
- "typeArgs": [
194
+ "signature": "(method) VersionHistoryMain.show(id: string, options: ShowOptions): Promise<ShowResult[]>",
195
+ "name": "show",
196
+ "params": [
240
197
  {
241
- "__schema": "TypeArraySchema",
198
+ "__schema": "ParameterSchema",
242
199
  "location": {
243
200
  "filePath": "version-history.main.runtime.ts",
244
201
  "line": 88,
245
- "character": 57
202
+ "character": 14
246
203
  },
204
+ "name": "id",
247
205
  "type": {
248
- "__schema": "TypeRefSchema",
206
+ "__schema": "KeywordTypeSchema",
249
207
  "location": {
250
208
  "filePath": "version-history.main.runtime.ts",
251
209
  "line": 88,
252
- "character": 57
210
+ "character": 18
253
211
  },
254
- "name": "ShowResult",
255
- "internalFilePath": "version-history.main.runtime.ts"
256
- }
257
- }
258
- ]
259
- },
260
- "modifiers": [
261
- "async"
262
- ]
263
- },
264
- {
265
- "__schema": "FunctionLikeSchema",
266
- "location": {
267
- "filePath": "version-history.main.runtime.ts",
268
- "line": 100,
269
- "character": 3
270
- },
271
- "signature": "(method) VersionHistoryMain.get(id: ComponentID): Promise<VersionHistory>",
272
- "name": "get",
273
- "params": [
274
- {
275
- "__schema": "ParameterSchema",
276
- "location": {
277
- "filePath": "version-history.main.runtime.ts",
278
- "line": 100,
279
- "character": 13
212
+ "name": "string"
213
+ },
214
+ "isOptional": false,
215
+ "isSpread": false
280
216
  },
281
- "name": "id",
282
- "type": {
283
- "__schema": "TypeRefSchema",
217
+ {
218
+ "__schema": "ParameterSchema",
284
219
  "location": {
285
220
  "filePath": "version-history.main.runtime.ts",
286
- "line": 100,
287
- "character": 17
221
+ "line": 88,
222
+ "character": 26
288
223
  },
289
- "name": "ComponentID",
290
- "componentId": {
291
- "scope": "teambit.component",
292
- "name": "component-id",
293
- "version": "1.2.0"
294
- }
224
+ "name": "options",
225
+ "type": {
226
+ "__schema": "TypeRefSchema",
227
+ "location": {
228
+ "filePath": "version-history.main.runtime.ts",
229
+ "line": 88,
230
+ "character": 35
231
+ },
232
+ "name": "ShowOptions",
233
+ "internalFilePath": "version-history-cmd.ts"
234
+ },
235
+ "isOptional": false,
236
+ "isSpread": false
237
+ }
238
+ ],
239
+ "returnType": {
240
+ "__schema": "TypeRefSchema",
241
+ "location": {
242
+ "filePath": "version-history.main.runtime.ts",
243
+ "line": 88,
244
+ "character": 49
295
245
  },
296
- "isOptional": false,
297
- "isSpread": false
298
- }
299
- ],
300
- "returnType": {
301
- "__schema": "TypeRefSchema",
246
+ "name": "Promise",
247
+ "typeArgs": [
248
+ {
249
+ "__schema": "TypeArraySchema",
250
+ "location": {
251
+ "filePath": "version-history.main.runtime.ts",
252
+ "line": 88,
253
+ "character": 57
254
+ },
255
+ "type": {
256
+ "__schema": "TypeRefSchema",
257
+ "location": {
258
+ "filePath": "version-history.main.runtime.ts",
259
+ "line": 88,
260
+ "character": 57
261
+ },
262
+ "name": "ShowResult",
263
+ "internalFilePath": "version-history.main.runtime.ts"
264
+ }
265
+ }
266
+ ]
267
+ },
268
+ "modifiers": [
269
+ "async"
270
+ ]
271
+ },
272
+ {
273
+ "__schema": "FunctionLikeSchema",
302
274
  "location": {
303
275
  "filePath": "version-history.main.runtime.ts",
304
276
  "line": 100,
305
- "character": 31
277
+ "character": 3
306
278
  },
307
- "name": "Promise",
308
- "typeArgs": [
279
+ "signature": "(method) VersionHistoryMain.get(id: ComponentID): Promise<VersionHistory>",
280
+ "name": "get",
281
+ "params": [
309
282
  {
310
- "__schema": "TypeRefSchema",
283
+ "__schema": "ParameterSchema",
311
284
  "location": {
312
285
  "filePath": "version-history.main.runtime.ts",
313
286
  "line": 100,
314
- "character": 39
287
+ "character": 13
315
288
  },
316
- "name": "VersionHistory",
317
- "packageName": "@teambit/legacy/dist/scope/models"
289
+ "name": "id",
290
+ "type": {
291
+ "__schema": "TypeRefSchema",
292
+ "location": {
293
+ "filePath": "version-history.main.runtime.ts",
294
+ "line": 100,
295
+ "character": 17
296
+ },
297
+ "name": "ComponentID",
298
+ "componentId": {
299
+ "scope": "teambit.component",
300
+ "name": "component-id",
301
+ "version": "1.2.0"
302
+ }
303
+ },
304
+ "isOptional": false,
305
+ "isSpread": false
318
306
  }
319
- ]
320
- },
321
- "modifiers": [
322
- "async"
323
- ]
324
- },
325
- {
326
- "__schema": "FunctionLikeSchema",
327
- "location": {
328
- "filePath": "version-history.main.runtime.ts",
329
- "line": 107,
330
- "character": 3
331
- },
332
- "signature": "(method) VersionHistoryMain.generateGraph(id: string, shortHash?: boolean): Promise<VersionHistoryGraph>",
333
- "name": "generateGraph",
334
- "params": [
335
- {
336
- "__schema": "ParameterSchema",
307
+ ],
308
+ "returnType": {
309
+ "__schema": "TypeRefSchema",
337
310
  "location": {
338
311
  "filePath": "version-history.main.runtime.ts",
339
- "line": 107,
340
- "character": 23
341
- },
342
- "name": "id",
343
- "type": {
344
- "__schema": "KeywordTypeSchema",
345
- "location": {
346
- "filePath": "version-history.main.runtime.ts",
347
- "line": 107,
348
- "character": 27
349
- },
350
- "name": "string"
312
+ "line": 100,
313
+ "character": 31
351
314
  },
352
- "isOptional": false,
353
- "isSpread": false
315
+ "name": "Promise",
316
+ "typeArgs": [
317
+ {
318
+ "__schema": "TypeRefSchema",
319
+ "location": {
320
+ "filePath": "version-history.main.runtime.ts",
321
+ "line": 100,
322
+ "character": 39
323
+ },
324
+ "name": "VersionHistory",
325
+ "packageName": "@teambit/legacy/dist/scope/models"
326
+ }
327
+ ]
354
328
  },
355
- {
356
- "__schema": "ParameterSchema",
357
- "location": {
358
- "filePath": "version-history.main.runtime.ts",
359
- "line": 107,
360
- "character": 35
361
- },
362
- "name": "shortHash",
363
- "type": {
364
- "__schema": "KeywordTypeSchema",
329
+ "modifiers": [
330
+ "async"
331
+ ]
332
+ },
333
+ {
334
+ "__schema": "FunctionLikeSchema",
335
+ "location": {
336
+ "filePath": "version-history.main.runtime.ts",
337
+ "line": 107,
338
+ "character": 3
339
+ },
340
+ "signature": "(method) VersionHistoryMain.generateGraph(id: string, shortHash?: boolean): Promise<VersionHistoryGraph>",
341
+ "name": "generateGraph",
342
+ "params": [
343
+ {
344
+ "__schema": "ParameterSchema",
365
345
  "location": {
366
346
  "filePath": "version-history.main.runtime.ts",
367
347
  "line": 107,
368
- "character": 47
348
+ "character": 23
349
+ },
350
+ "name": "id",
351
+ "type": {
352
+ "__schema": "KeywordTypeSchema",
353
+ "location": {
354
+ "filePath": "version-history.main.runtime.ts",
355
+ "line": 107,
356
+ "character": 27
357
+ },
358
+ "name": "string"
369
359
  },
370
- "name": "boolean"
360
+ "isOptional": false,
361
+ "isSpread": false
371
362
  },
372
- "isOptional": true,
373
- "isSpread": false
374
- }
375
- ],
376
- "returnType": {
377
- "__schema": "TypeRefSchema",
378
- "location": {
379
- "filePath": "version-history.main.runtime.ts",
380
- "line": 107,
381
- "character": 57
382
- },
383
- "name": "Promise",
384
- "typeArgs": [
385
363
  {
386
- "__schema": "TypeRefSchema",
364
+ "__schema": "ParameterSchema",
387
365
  "location": {
388
366
  "filePath": "version-history.main.runtime.ts",
389
367
  "line": 107,
390
- "character": 65
368
+ "character": 35
391
369
  },
392
- "name": "VersionHistoryGraph",
393
- "packageName": "@teambit/legacy/dist/scope/models/version-history"
370
+ "name": "shortHash",
371
+ "type": {
372
+ "__schema": "KeywordTypeSchema",
373
+ "location": {
374
+ "filePath": "version-history.main.runtime.ts",
375
+ "line": 107,
376
+ "character": 47
377
+ },
378
+ "name": "boolean"
379
+ },
380
+ "isOptional": true,
381
+ "isSpread": false
394
382
  }
395
- ]
396
- },
397
- "modifiers": [
398
- "async"
399
- ]
400
- },
401
- {
402
- "__schema": "FunctionLikeSchema",
403
- "location": {
404
- "filePath": "version-history.main.runtime.ts",
405
- "line": 127,
406
- "character": 3
407
- },
408
- "signature": "(method) VersionHistoryMain.buildOnRemote(remote: string, pattern: string, options: BuildOptions): Promise<{\n [idStr: string]: BuildResult;\n}>",
409
- "name": "buildOnRemote",
410
- "params": [
411
- {
412
- "__schema": "ParameterSchema",
383
+ ],
384
+ "returnType": {
385
+ "__schema": "TypeRefSchema",
413
386
  "location": {
414
387
  "filePath": "version-history.main.runtime.ts",
415
- "line": 128,
416
- "character": 5
388
+ "line": 107,
389
+ "character": 57
417
390
  },
418
- "name": "remote",
419
- "type": {
420
- "__schema": "KeywordTypeSchema",
391
+ "name": "Promise",
392
+ "typeArgs": [
393
+ {
394
+ "__schema": "TypeRefSchema",
395
+ "location": {
396
+ "filePath": "version-history.main.runtime.ts",
397
+ "line": 107,
398
+ "character": 65
399
+ },
400
+ "name": "VersionHistoryGraph",
401
+ "packageName": "@teambit/legacy/dist/scope/models/version-history"
402
+ }
403
+ ]
404
+ },
405
+ "modifiers": [
406
+ "async"
407
+ ]
408
+ },
409
+ {
410
+ "__schema": "FunctionLikeSchema",
411
+ "location": {
412
+ "filePath": "version-history.main.runtime.ts",
413
+ "line": 127,
414
+ "character": 3
415
+ },
416
+ "signature": "(method) VersionHistoryMain.buildOnRemote(remote: string, pattern: string, options: BuildOptions): Promise<{\n [idStr: string]: BuildResult;\n}>",
417
+ "name": "buildOnRemote",
418
+ "params": [
419
+ {
420
+ "__schema": "ParameterSchema",
421
421
  "location": {
422
422
  "filePath": "version-history.main.runtime.ts",
423
423
  "line": 128,
424
- "character": 13
424
+ "character": 5
425
425
  },
426
- "name": "string"
427
- },
428
- "isOptional": false,
429
- "isSpread": false
430
- },
431
- {
432
- "__schema": "ParameterSchema",
433
- "location": {
434
- "filePath": "version-history.main.runtime.ts",
435
- "line": 129,
436
- "character": 5
426
+ "name": "remote",
427
+ "type": {
428
+ "__schema": "KeywordTypeSchema",
429
+ "location": {
430
+ "filePath": "version-history.main.runtime.ts",
431
+ "line": 128,
432
+ "character": 13
433
+ },
434
+ "name": "string"
435
+ },
436
+ "isOptional": false,
437
+ "isSpread": false
437
438
  },
438
- "name": "pattern",
439
- "type": {
440
- "__schema": "KeywordTypeSchema",
439
+ {
440
+ "__schema": "ParameterSchema",
441
441
  "location": {
442
442
  "filePath": "version-history.main.runtime.ts",
443
443
  "line": 129,
444
- "character": 14
444
+ "character": 5
445
445
  },
446
- "name": "string"
447
- },
448
- "isOptional": false,
449
- "isSpread": false
450
- },
451
- {
452
- "__schema": "ParameterSchema",
453
- "location": {
454
- "filePath": "version-history.main.runtime.ts",
455
- "line": 130,
456
- "character": 5
457
- },
458
- "name": "options",
459
- "type": {
460
- "__schema": "TypeRefSchema",
461
- "location": {
462
- "filePath": "version-history.main.runtime.ts",
463
- "line": 130,
464
- "character": 14
446
+ "name": "pattern",
447
+ "type": {
448
+ "__schema": "KeywordTypeSchema",
449
+ "location": {
450
+ "filePath": "version-history.main.runtime.ts",
451
+ "line": 129,
452
+ "character": 14
453
+ },
454
+ "name": "string"
465
455
  },
466
- "name": "BuildOptions",
467
- "internalFilePath": "version-history-cmd.ts"
456
+ "isOptional": false,
457
+ "isSpread": false
468
458
  },
469
- "isOptional": false,
470
- "isSpread": false
471
- }
472
- ],
473
- "returnType": {
474
- "__schema": "TypeRefSchema",
475
- "location": {
476
- "filePath": "version-history.main.runtime.ts",
477
- "line": 131,
478
- "character": 6
479
- },
480
- "name": "Promise",
481
- "typeArgs": [
482
459
  {
483
- "__schema": "TypeLiteralSchema",
460
+ "__schema": "ParameterSchema",
484
461
  "location": {
485
462
  "filePath": "version-history.main.runtime.ts",
486
- "line": 131,
487
- "character": 14
463
+ "line": 130,
464
+ "character": 5
488
465
  },
489
- "members": [
490
- {
491
- "__schema": "IndexSignatureSchema",
492
- "location": {
493
- "filePath": "version-history.main.runtime.ts",
494
- "line": 131,
495
- "character": 16
496
- },
497
- "keyType": {
498
- "__schema": "ParameterSchema",
466
+ "name": "options",
467
+ "type": {
468
+ "__schema": "TypeRefSchema",
469
+ "location": {
470
+ "filePath": "version-history.main.runtime.ts",
471
+ "line": 130,
472
+ "character": 14
473
+ },
474
+ "name": "BuildOptions",
475
+ "internalFilePath": "version-history-cmd.ts"
476
+ },
477
+ "isOptional": false,
478
+ "isSpread": false
479
+ }
480
+ ],
481
+ "returnType": {
482
+ "__schema": "TypeRefSchema",
483
+ "location": {
484
+ "filePath": "version-history.main.runtime.ts",
485
+ "line": 131,
486
+ "character": 6
487
+ },
488
+ "name": "Promise",
489
+ "typeArgs": [
490
+ {
491
+ "__schema": "TypeLiteralSchema",
492
+ "location": {
493
+ "filePath": "version-history.main.runtime.ts",
494
+ "line": 131,
495
+ "character": 14
496
+ },
497
+ "members": [
498
+ {
499
+ "__schema": "IndexSignatureSchema",
499
500
  "location": {
500
501
  "filePath": "version-history.main.runtime.ts",
501
502
  "line": 131,
502
- "character": 17
503
+ "character": 16
503
504
  },
504
- "name": "idStr",
505
- "type": {
506
- "__schema": "KeywordTypeSchema",
505
+ "keyType": {
506
+ "__schema": "ParameterSchema",
507
507
  "location": {
508
508
  "filePath": "version-history.main.runtime.ts",
509
509
  "line": 131,
510
- "character": 24
510
+ "character": 17
511
511
  },
512
- "name": "string"
513
- },
514
- "isOptional": false,
515
- "isSpread": false
516
- },
517
- "valueType": {
518
- "__schema": "TypeRefSchema",
519
- "location": {
520
- "filePath": "version-history.main.runtime.ts",
521
- "line": 131,
522
- "character": 33
512
+ "name": "idStr",
513
+ "type": {
514
+ "__schema": "KeywordTypeSchema",
515
+ "location": {
516
+ "filePath": "version-history.main.runtime.ts",
517
+ "line": 131,
518
+ "character": 24
519
+ },
520
+ "name": "string"
521
+ },
522
+ "isOptional": false,
523
+ "isSpread": false
523
524
  },
524
- "name": "BuildResult",
525
- "internalFilePath": "version-history.main.runtime.ts"
525
+ "valueType": {
526
+ "__schema": "TypeRefSchema",
527
+ "location": {
528
+ "filePath": "version-history.main.runtime.ts",
529
+ "line": 131,
530
+ "character": 33
531
+ },
532
+ "name": "BuildResult",
533
+ "internalFilePath": "version-history.main.runtime.ts"
534
+ }
526
535
  }
527
- }
528
- ]
529
- }
536
+ ]
537
+ }
538
+ ]
539
+ },
540
+ "modifiers": [
541
+ "async"
530
542
  ]
531
543
  },
532
- "modifiers": [
533
- "async"
534
- ]
535
- },
536
- {
537
- "__schema": "FunctionLikeSchema",
538
- "location": {
539
- "filePath": "version-history.main.runtime.ts",
540
- "line": 139,
541
- "character": 3
542
- },
543
- "signature": "(method) VersionHistoryMain.buildByPattern(pattern: string, options: BuildOptions): Promise<{\n [idStr: string]: BuildResult;\n}>",
544
- "name": "buildByPattern",
545
- "params": [
546
- {
547
- "__schema": "ParameterSchema",
548
- "location": {
549
- "filePath": "version-history.main.runtime.ts",
550
- "line": 139,
551
- "character": 24
552
- },
553
- "name": "pattern",
554
- "type": {
555
- "__schema": "KeywordTypeSchema",
556
- "location": {
557
- "filePath": "version-history.main.runtime.ts",
558
- "line": 139,
559
- "character": 33
560
- },
561
- "name": "string"
562
- },
563
- "isOptional": false,
564
- "isSpread": false
544
+ {
545
+ "__schema": "FunctionLikeSchema",
546
+ "location": {
547
+ "filePath": "version-history.main.runtime.ts",
548
+ "line": 139,
549
+ "character": 3
565
550
  },
566
- {
567
- "__schema": "ParameterSchema",
568
- "location": {
569
- "filePath": "version-history.main.runtime.ts",
570
- "line": 139,
571
- "character": 41
572
- },
573
- "name": "options",
574
- "type": {
575
- "__schema": "TypeRefSchema",
551
+ "signature": "(method) VersionHistoryMain.buildByPattern(pattern: string, options: BuildOptions): Promise<{\n [idStr: string]: BuildResult;\n}>",
552
+ "name": "buildByPattern",
553
+ "params": [
554
+ {
555
+ "__schema": "ParameterSchema",
576
556
  "location": {
577
557
  "filePath": "version-history.main.runtime.ts",
578
558
  "line": 139,
579
- "character": 50
559
+ "character": 24
560
+ },
561
+ "name": "pattern",
562
+ "type": {
563
+ "__schema": "KeywordTypeSchema",
564
+ "location": {
565
+ "filePath": "version-history.main.runtime.ts",
566
+ "line": 139,
567
+ "character": 33
568
+ },
569
+ "name": "string"
580
570
  },
581
- "name": "BuildOptions",
582
- "internalFilePath": "version-history-cmd.ts"
571
+ "isOptional": false,
572
+ "isSpread": false
583
573
  },
584
- "isOptional": false,
585
- "isSpread": false
586
- }
587
- ],
588
- "returnType": {
589
- "__schema": "TypeRefSchema",
590
- "location": {
591
- "filePath": "version-history.main.runtime.ts",
592
- "line": 139,
593
- "character": 65
594
- },
595
- "name": "Promise",
596
- "typeArgs": [
597
574
  {
598
- "__schema": "TypeLiteralSchema",
575
+ "__schema": "ParameterSchema",
599
576
  "location": {
600
577
  "filePath": "version-history.main.runtime.ts",
601
578
  "line": 139,
602
- "character": 73
579
+ "character": 41
603
580
  },
604
- "members": [
605
- {
606
- "__schema": "IndexSignatureSchema",
607
- "location": {
608
- "filePath": "version-history.main.runtime.ts",
609
- "line": 139,
610
- "character": 75
611
- },
612
- "keyType": {
613
- "__schema": "ParameterSchema",
581
+ "name": "options",
582
+ "type": {
583
+ "__schema": "TypeRefSchema",
584
+ "location": {
585
+ "filePath": "version-history.main.runtime.ts",
586
+ "line": 139,
587
+ "character": 50
588
+ },
589
+ "name": "BuildOptions",
590
+ "internalFilePath": "version-history-cmd.ts"
591
+ },
592
+ "isOptional": false,
593
+ "isSpread": false
594
+ }
595
+ ],
596
+ "returnType": {
597
+ "__schema": "TypeRefSchema",
598
+ "location": {
599
+ "filePath": "version-history.main.runtime.ts",
600
+ "line": 139,
601
+ "character": 65
602
+ },
603
+ "name": "Promise",
604
+ "typeArgs": [
605
+ {
606
+ "__schema": "TypeLiteralSchema",
607
+ "location": {
608
+ "filePath": "version-history.main.runtime.ts",
609
+ "line": 139,
610
+ "character": 73
611
+ },
612
+ "members": [
613
+ {
614
+ "__schema": "IndexSignatureSchema",
614
615
  "location": {
615
616
  "filePath": "version-history.main.runtime.ts",
616
617
  "line": 139,
617
- "character": 76
618
+ "character": 75
618
619
  },
619
- "name": "idStr",
620
- "type": {
621
- "__schema": "KeywordTypeSchema",
620
+ "keyType": {
621
+ "__schema": "ParameterSchema",
622
622
  "location": {
623
623
  "filePath": "version-history.main.runtime.ts",
624
624
  "line": 139,
625
- "character": 83
625
+ "character": 76
626
626
  },
627
- "name": "string"
628
- },
629
- "isOptional": false,
630
- "isSpread": false
631
- },
632
- "valueType": {
633
- "__schema": "TypeRefSchema",
634
- "location": {
635
- "filePath": "version-history.main.runtime.ts",
636
- "line": 139,
637
- "character": 92
627
+ "name": "idStr",
628
+ "type": {
629
+ "__schema": "KeywordTypeSchema",
630
+ "location": {
631
+ "filePath": "version-history.main.runtime.ts",
632
+ "line": 139,
633
+ "character": 83
634
+ },
635
+ "name": "string"
636
+ },
637
+ "isOptional": false,
638
+ "isSpread": false
638
639
  },
639
- "name": "BuildResult",
640
- "internalFilePath": "version-history.main.runtime.ts"
640
+ "valueType": {
641
+ "__schema": "TypeRefSchema",
642
+ "location": {
643
+ "filePath": "version-history.main.runtime.ts",
644
+ "line": 139,
645
+ "character": 92
646
+ },
647
+ "name": "BuildResult",
648
+ "internalFilePath": "version-history.main.runtime.ts"
649
+ }
641
650
  }
642
- }
643
- ]
644
- }
651
+ ]
652
+ }
653
+ ]
654
+ },
655
+ "modifiers": [
656
+ "async"
645
657
  ]
646
658
  },
647
- "modifiers": [
648
- "async"
649
- ]
650
- },
651
- {
652
- "__schema": "VariableLikeSchema",
653
- "location": {
654
- "filePath": "version-history.main.runtime.ts",
655
- "line": 157,
656
- "character": 3
657
- },
658
- "signature": "(property) VersionHistoryMain.slots: never[]",
659
- "name": "slots",
660
- "type": {
661
- "__schema": "InferenceTypeSchema",
659
+ {
660
+ "__schema": "VariableLikeSchema",
662
661
  "location": {
663
662
  "filePath": "version-history.main.runtime.ts",
664
663
  "line": 157,
665
664
  "character": 3
666
665
  },
667
- "type": "never[]"
668
- },
669
- "isOptional": true,
670
- "defaultValue": "[]"
671
- },
672
- {
673
- "__schema": "VariableLikeSchema",
674
- "location": {
675
- "filePath": "version-history.main.runtime.ts",
676
- "line": 158,
677
- "character": 3
666
+ "signature": "(property) VersionHistoryMain.slots: never[]",
667
+ "name": "slots",
668
+ "type": {
669
+ "__schema": "InferenceTypeSchema",
670
+ "location": {
671
+ "filePath": "version-history.main.runtime.ts",
672
+ "line": 157,
673
+ "character": 3
674
+ },
675
+ "type": "never[]"
676
+ },
677
+ "isOptional": true,
678
+ "defaultValue": "[]"
678
679
  },
679
- "signature": "(property) VersionHistoryMain.dependencies: Aspect[]",
680
- "name": "dependencies",
681
- "type": {
682
- "__schema": "InferenceTypeSchema",
680
+ {
681
+ "__schema": "VariableLikeSchema",
683
682
  "location": {
684
683
  "filePath": "version-history.main.runtime.ts",
685
684
  "line": 158,
686
685
  "character": 3
687
686
  },
688
- "type": "Aspect[]"
689
- },
690
- "isOptional": true,
691
- "defaultValue": "[CLIAspect, ScopeAspect, LoggerAspect]"
692
- },
693
- {
694
- "__schema": "VariableLikeSchema",
695
- "location": {
696
- "filePath": "version-history.main.runtime.ts",
697
- "line": 159,
698
- "character": 3
687
+ "signature": "(property) VersionHistoryMain.dependencies: Aspect[]",
688
+ "name": "dependencies",
689
+ "type": {
690
+ "__schema": "InferenceTypeSchema",
691
+ "location": {
692
+ "filePath": "version-history.main.runtime.ts",
693
+ "line": 158,
694
+ "character": 3
695
+ },
696
+ "type": "Aspect[]"
697
+ },
698
+ "isOptional": true,
699
+ "defaultValue": "[CLIAspect, ScopeAspect, LoggerAspect]"
699
700
  },
700
- "signature": "(property) VersionHistoryMain.runtime: RuntimeDefinition",
701
- "name": "runtime",
702
- "type": {
703
- "__schema": "InferenceTypeSchema",
701
+ {
702
+ "__schema": "VariableLikeSchema",
704
703
  "location": {
705
704
  "filePath": "version-history.main.runtime.ts",
706
705
  "line": 159,
707
706
  "character": 3
708
707
  },
709
- "type": "RuntimeDefinition"
710
- },
711
- "isOptional": true,
712
- "defaultValue": "MainRuntime"
713
- },
714
- {
715
- "__schema": "FunctionLikeSchema",
716
- "location": {
717
- "filePath": "version-history.main.runtime.ts",
718
- "line": 160,
719
- "character": 3
720
- },
721
- "signature": "(method) VersionHistoryMain.provider([cli, scope, loggerMain]: [CLIMain, ScopeMain, LoggerMain]): Promise<VersionHistoryMain>",
722
- "name": "provider",
723
- "params": [
724
- {
725
- "__schema": "ParameterSchema",
708
+ "signature": "(property) VersionHistoryMain.runtime: RuntimeDefinition",
709
+ "name": "runtime",
710
+ "type": {
711
+ "__schema": "InferenceTypeSchema",
726
712
  "location": {
727
713
  "filePath": "version-history.main.runtime.ts",
728
- "line": 160,
729
- "character": 25
714
+ "line": 159,
715
+ "character": 3
730
716
  },
731
- "name": "[ cli, scope, loggerMain ]",
732
- "type": {
733
- "__schema": "TupleTypeSchema",
717
+ "type": "RuntimeDefinition"
718
+ },
719
+ "isOptional": true,
720
+ "defaultValue": "MainRuntime"
721
+ },
722
+ {
723
+ "__schema": "FunctionLikeSchema",
724
+ "location": {
725
+ "filePath": "version-history.main.runtime.ts",
726
+ "line": 160,
727
+ "character": 3
728
+ },
729
+ "signature": "(method) VersionHistoryMain.provider([cli, scope, loggerMain]: [CLIMain, ScopeMain, LoggerMain]): Promise<VersionHistoryMain>",
730
+ "name": "provider",
731
+ "params": [
732
+ {
733
+ "__schema": "ParameterSchema",
734
734
  "location": {
735
735
  "filePath": "version-history.main.runtime.ts",
736
736
  "line": 160,
737
- "character": 51
737
+ "character": 25
738
738
  },
739
- "elements": [
740
- {
741
- "__schema": "TypeRefSchema",
742
- "location": {
743
- "filePath": "version-history.main.runtime.ts",
744
- "line": 160,
745
- "character": 52
746
- },
747
- "name": "CLIMain",
748
- "componentId": {
749
- "scope": "teambit.harmony",
750
- "name": "cli"
751
- }
739
+ "name": "[ cli, scope, loggerMain ]",
740
+ "type": {
741
+ "__schema": "TupleTypeSchema",
742
+ "location": {
743
+ "filePath": "version-history.main.runtime.ts",
744
+ "line": 160,
745
+ "character": 51
752
746
  },
753
- {
754
- "__schema": "TypeRefSchema",
755
- "location": {
756
- "filePath": "version-history.main.runtime.ts",
757
- "line": 160,
758
- "character": 61
747
+ "elements": [
748
+ {
749
+ "__schema": "TypeRefSchema",
750
+ "location": {
751
+ "filePath": "version-history.main.runtime.ts",
752
+ "line": 160,
753
+ "character": 52
754
+ },
755
+ "name": "CLIMain",
756
+ "componentId": {
757
+ "scope": "teambit.harmony",
758
+ "name": "cli"
759
+ }
759
760
  },
760
- "name": "ScopeMain",
761
- "componentId": {
762
- "scope": "teambit.scope",
763
- "name": "scope"
764
- }
765
- },
766
- {
767
- "__schema": "TypeRefSchema",
768
- "location": {
769
- "filePath": "version-history.main.runtime.ts",
770
- "line": 160,
771
- "character": 72
761
+ {
762
+ "__schema": "TypeRefSchema",
763
+ "location": {
764
+ "filePath": "version-history.main.runtime.ts",
765
+ "line": 160,
766
+ "character": 61
767
+ },
768
+ "name": "ScopeMain",
769
+ "componentId": {
770
+ "scope": "teambit.scope",
771
+ "name": "scope"
772
+ }
772
773
  },
773
- "name": "LoggerMain",
774
- "componentId": {
775
- "scope": "teambit.harmony",
776
- "name": "logger"
774
+ {
775
+ "__schema": "TypeRefSchema",
776
+ "location": {
777
+ "filePath": "version-history.main.runtime.ts",
778
+ "line": 160,
779
+ "character": 72
780
+ },
781
+ "name": "LoggerMain",
782
+ "componentId": {
783
+ "scope": "teambit.harmony",
784
+ "name": "logger"
785
+ }
777
786
  }
778
- }
779
- ]
787
+ ]
788
+ },
789
+ "isOptional": false,
790
+ "isSpread": false
791
+ }
792
+ ],
793
+ "returnType": {
794
+ "__schema": "InferenceTypeSchema",
795
+ "location": {
796
+ "filePath": "version-history.main.runtime.ts",
797
+ "line": 160,
798
+ "character": 3
780
799
  },
781
- "isOptional": false,
782
- "isSpread": false
783
- }
784
- ],
785
- "returnType": {
786
- "__schema": "InferenceTypeSchema",
787
- "location": {
788
- "filePath": "version-history.main.runtime.ts",
789
- "line": 160,
790
- "character": 3
800
+ "type": "Promise<VersionHistoryMain>"
791
801
  },
792
- "type": "Promise<VersionHistoryMain>"
793
- },
794
- "modifiers": [
795
- "static",
796
- "async"
797
- ]
798
- }
799
- ],
800
- "extendsNodes": [],
801
- "implementNodes": []
802
+ "modifiers": [
803
+ "static",
804
+ "async"
805
+ ]
806
+ }
807
+ ],
808
+ "extendsNodes": [],
809
+ "implementNodes": []
810
+ }
802
811
  },
803
812
  {
804
813
  "__schema": "UnImplementedSchema",
@@ -811,30 +820,39 @@
811
820
  "type": "Identifier"
812
821
  },
813
822
  {
814
- "__schema": "VariableLikeSchema",
823
+ "__schema": "ExportSchema",
815
824
  "location": {
816
- "filePath": "version-history.aspect.ts",
817
- "line": 3,
818
- "character": 14
825
+ "filePath": "index.ts",
826
+ "line": 5,
827
+ "character": 10
819
828
  },
820
- "signature": "const VersionHistoryAspect: Aspect",
821
829
  "name": "VersionHistoryAspect",
822
- "type": {
823
- "__schema": "TypeRefSchema",
830
+ "exportNode": {
831
+ "__schema": "VariableLikeSchema",
824
832
  "location": {
825
833
  "filePath": "version-history.aspect.ts",
826
834
  "line": 3,
827
835
  "character": 14
828
836
  },
829
- "name": "Aspect",
830
- "componentId": {
831
- "scope": "teambit.harmony",
832
- "name": "harmony",
833
- "version": "0.4.6"
834
- }
835
- },
836
- "isOptional": false,
837
- "defaultValue": "Aspect.create({\n id: 'teambit.scope/version-history',\n})"
837
+ "signature": "const VersionHistoryAspect: Aspect",
838
+ "name": "VersionHistoryAspect",
839
+ "type": {
840
+ "__schema": "TypeRefSchema",
841
+ "location": {
842
+ "filePath": "version-history.aspect.ts",
843
+ "line": 3,
844
+ "character": 14
845
+ },
846
+ "name": "Aspect",
847
+ "componentId": {
848
+ "scope": "teambit.harmony",
849
+ "name": "harmony",
850
+ "version": "0.4.6"
851
+ }
852
+ },
853
+ "isOptional": false,
854
+ "defaultValue": "Aspect.create({\n id: 'teambit.scope/version-history',\n})"
855
+ }
838
856
  }
839
857
  ],
840
858
  "internals": []
@@ -1908,7 +1926,7 @@
1908
1926
  "componentId": {
1909
1927
  "scope": "teambit.scope",
1910
1928
  "name": "version-history",
1911
- "version": "0.0.49"
1929
+ "version": "0.0.51"
1912
1930
  },
1913
1931
  "taggedModuleExports": []
1914
1932
  }