@teambit/insights 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,1154 +14,1199 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "ClassSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "insight-manager.ts",
20
- "line": 12,
21
- "character": 1
19
+ "filePath": "index.ts",
20
+ "line": 1,
21
+ "character": 10
22
22
  },
23
- "signature": "class InsightManager",
24
23
  "name": "InsightManager",
25
- "members": [
26
- {
27
- "__schema": "VariableLikeSchema",
28
- "location": {
29
- "filePath": "insight-manager.ts",
30
- "line": 14,
31
- "character": 3
32
- },
33
- "doc": {
34
- "__schema": "DocSchema",
24
+ "exportNode": {
25
+ "__schema": "ClassSchema",
26
+ "location": {
27
+ "filePath": "insight-manager.ts",
28
+ "line": 12,
29
+ "character": 1
30
+ },
31
+ "signature": "class InsightManager",
32
+ "name": "InsightManager",
33
+ "members": [
34
+ {
35
+ "__schema": "VariableLikeSchema",
35
36
  "location": {
36
37
  "filePath": "insight-manager.ts",
37
- "line": 13,
38
+ "line": 14,
38
39
  "character": 3
39
40
  },
40
- "raw": "/** insights is an insight registry */",
41
- "comment": "insights is an insight registry"
41
+ "doc": {
42
+ "__schema": "DocSchema",
43
+ "location": {
44
+ "filePath": "insight-manager.ts",
45
+ "line": 13,
46
+ "character": 3
47
+ },
48
+ "raw": "/** insights is an insight registry */",
49
+ "comment": "insights is an insight registry"
50
+ },
51
+ "signature": "(property) InsightManager.insights: Map<string, Insight>",
52
+ "name": "insights",
53
+ "type": {
54
+ "__schema": "TypeRefSchema",
55
+ "location": {
56
+ "filePath": "insight-manager.ts",
57
+ "line": 14,
58
+ "character": 22
59
+ },
60
+ "name": "Map",
61
+ "typeArgs": [
62
+ {
63
+ "__schema": "KeywordTypeSchema",
64
+ "location": {
65
+ "filePath": "insight-manager.ts",
66
+ "line": 14,
67
+ "character": 26
68
+ },
69
+ "name": "string"
70
+ },
71
+ {
72
+ "__schema": "TypeRefSchema",
73
+ "location": {
74
+ "filePath": "insight-manager.ts",
75
+ "line": 14,
76
+ "character": 34
77
+ },
78
+ "name": "Insight"
79
+ }
80
+ ]
81
+ },
82
+ "isOptional": true,
83
+ "defaultValue": "new Map()"
42
84
  },
43
- "signature": "(property) InsightManager.insights: Map<string, Insight>",
44
- "name": "insights",
45
- "type": {
46
- "__schema": "TypeRefSchema",
85
+ {
86
+ "__schema": "ConstructorSchema",
47
87
  "location": {
48
88
  "filePath": "insight-manager.ts",
49
- "line": 14,
50
- "character": 22
89
+ "line": 15,
90
+ "character": 3
51
91
  },
52
- "name": "Map",
53
- "typeArgs": [
54
- {
55
- "__schema": "KeywordTypeSchema",
56
- "location": {
57
- "filePath": "insight-manager.ts",
58
- "line": 14,
59
- "character": 26
60
- },
61
- "name": "string"
62
- },
92
+ "signature": "constructor InsightManager(insights: Insight[]): InsightManager",
93
+ "name": "constructor",
94
+ "params": [
63
95
  {
64
- "__schema": "TypeRefSchema",
65
- "location": {
66
- "filePath": "insight-manager.ts",
67
- "line": 14,
68
- "character": 34
69
- },
70
- "name": "Insight"
71
- }
72
- ]
73
- },
74
- "isOptional": true,
75
- "defaultValue": "new Map()"
76
- },
77
- {
78
- "__schema": "ConstructorSchema",
79
- "location": {
80
- "filePath": "insight-manager.ts",
81
- "line": 15,
82
- "character": 3
83
- },
84
- "signature": "constructor InsightManager(insights: Insight[]): InsightManager",
85
- "name": "constructor",
86
- "params": [
87
- {
88
- "__schema": "ParameterSchema",
89
- "location": {
90
- "filePath": "insight-manager.ts",
91
- "line": 19,
92
- "character": 5
93
- },
94
- "name": "insights",
95
- "type": {
96
- "__schema": "TypeArraySchema",
96
+ "__schema": "ParameterSchema",
97
97
  "location": {
98
98
  "filePath": "insight-manager.ts",
99
99
  "line": 19,
100
- "character": 15
100
+ "character": 5
101
101
  },
102
+ "name": "insights",
102
103
  "type": {
103
- "__schema": "TypeRefSchema",
104
+ "__schema": "TypeArraySchema",
104
105
  "location": {
105
106
  "filePath": "insight-manager.ts",
106
107
  "line": 19,
107
108
  "character": 15
108
109
  },
109
- "name": "Insight"
110
- }
110
+ "type": {
111
+ "__schema": "TypeRefSchema",
112
+ "location": {
113
+ "filePath": "insight-manager.ts",
114
+ "line": 19,
115
+ "character": 15
116
+ },
117
+ "name": "Insight"
118
+ }
119
+ },
120
+ "isOptional": false,
121
+ "isSpread": false
122
+ }
123
+ ],
124
+ "returnType": {
125
+ "__schema": "ThisTypeSchema",
126
+ "location": {
127
+ "filePath": "insight-manager.ts",
128
+ "line": 12,
129
+ "character": 1
111
130
  },
112
- "isOptional": false,
113
- "isSpread": false
114
- }
115
- ],
116
- "returnType": {
117
- "__schema": "ThisTypeSchema",
118
- "location": {
119
- "filePath": "insight-manager.ts",
120
- "line": 12,
121
- "character": 1
131
+ "name": "InsightManager"
122
132
  },
123
- "name": "InsightManager"
124
- },
125
- "modifiers": []
126
- },
127
- {
128
- "__schema": "FunctionLikeSchema",
129
- "location": {
130
- "filePath": "insight-manager.ts",
131
- "line": 29,
132
- "character": 3
133
+ "modifiers": []
133
134
  },
134
- "doc": {
135
- "__schema": "DocSchema",
135
+ {
136
+ "__schema": "FunctionLikeSchema",
136
137
  "location": {
137
138
  "filePath": "insight-manager.ts",
138
- "line": 26,
139
+ "line": 29,
139
140
  "character": 3
140
141
  },
141
- "raw": "/**\n * registers a new insight and returns the updated insight registry map\n */",
142
- "comment": "registers a new insight and returns the updated insight registry map"
143
- },
144
- "signature": "(method) InsightManager.register(insight: Insight): void",
145
- "name": "register",
146
- "params": [
147
- {
148
- "__schema": "ParameterSchema",
142
+ "doc": {
143
+ "__schema": "DocSchema",
149
144
  "location": {
150
145
  "filePath": "insight-manager.ts",
151
- "line": 29,
152
- "character": 12
146
+ "line": 26,
147
+ "character": 3
153
148
  },
154
- "name": "insight",
155
- "type": {
156
- "__schema": "TypeRefSchema",
149
+ "raw": "/**\n * registers a new insight and returns the updated insight registry map\n */",
150
+ "comment": "registers a new insight and returns the updated insight registry map"
151
+ },
152
+ "signature": "(method) InsightManager.register(insight: Insight): void",
153
+ "name": "register",
154
+ "params": [
155
+ {
156
+ "__schema": "ParameterSchema",
157
157
  "location": {
158
158
  "filePath": "insight-manager.ts",
159
159
  "line": 29,
160
- "character": 21
160
+ "character": 12
161
+ },
162
+ "name": "insight",
163
+ "type": {
164
+ "__schema": "TypeRefSchema",
165
+ "location": {
166
+ "filePath": "insight-manager.ts",
167
+ "line": 29,
168
+ "character": 21
169
+ },
170
+ "name": "Insight"
161
171
  },
162
- "name": "Insight"
172
+ "isOptional": false,
173
+ "isSpread": false
174
+ }
175
+ ],
176
+ "returnType": {
177
+ "__schema": "InferenceTypeSchema",
178
+ "location": {
179
+ "filePath": "insight-manager.ts",
180
+ "line": 29,
181
+ "character": 3
163
182
  },
164
- "isOptional": false,
165
- "isSpread": false
166
- }
167
- ],
168
- "returnType": {
169
- "__schema": "InferenceTypeSchema",
170
- "location": {
171
- "filePath": "insight-manager.ts",
172
- "line": 29,
173
- "character": 3
174
- },
175
- "type": "void"
176
- },
177
- "modifiers": []
178
- },
179
- {
180
- "__schema": "FunctionLikeSchema",
181
- "location": {
182
- "filePath": "insight-manager.ts",
183
- "line": 39,
184
- "character": 3
185
- },
186
- "doc": {
187
- "__schema": "DocSchema",
188
- "location": {
189
- "filePath": "insight-manager.ts",
190
- "line": 36,
191
- "character": 3
183
+ "type": "void"
192
184
  },
193
- "raw": "/**\n * list of all registered insights\n */",
194
- "comment": "list of all registered insights"
185
+ "modifiers": []
195
186
  },
196
- "signature": "(method) InsightManager.listInsights(): string[]",
197
- "name": "listInsights",
198
- "params": [],
199
- "returnType": {
200
- "__schema": "TypeArraySchema",
187
+ {
188
+ "__schema": "FunctionLikeSchema",
201
189
  "location": {
202
190
  "filePath": "insight-manager.ts",
203
191
  "line": 39,
204
- "character": 19
192
+ "character": 3
205
193
  },
206
- "type": {
207
- "__schema": "KeywordTypeSchema",
194
+ "doc": {
195
+ "__schema": "DocSchema",
208
196
  "location": {
209
197
  "filePath": "insight-manager.ts",
210
- "line": 39,
211
- "character": 19
198
+ "line": 36,
199
+ "character": 3
212
200
  },
213
- "name": "string"
214
- }
215
- },
216
- "modifiers": []
217
- },
218
- {
219
- "__schema": "FunctionLikeSchema",
220
- "location": {
221
- "filePath": "insight-manager.ts",
222
- "line": 46,
223
- "character": 3
224
- },
225
- "doc": {
226
- "__schema": "DocSchema",
227
- "location": {
228
- "filePath": "insight-manager.ts",
229
- "line": 43,
230
- "character": 3
201
+ "raw": "/**\n * list of all registered insights\n */",
202
+ "comment": "list of all registered insights"
231
203
  },
232
- "raw": "/**\n * gets a specific insight by its name or undefined if doesn't exist\n */",
233
- "comment": "gets a specific insight by its name or undefined if doesn't exist"
234
- },
235
- "signature": "(method) InsightManager.getByName(insightName: string): Insight | undefined",
236
- "name": "getByName",
237
- "params": [
238
- {
239
- "__schema": "ParameterSchema",
204
+ "signature": "(method) InsightManager.listInsights(): string[]",
205
+ "name": "listInsights",
206
+ "params": [],
207
+ "returnType": {
208
+ "__schema": "TypeArraySchema",
240
209
  "location": {
241
210
  "filePath": "insight-manager.ts",
242
- "line": 46,
243
- "character": 13
211
+ "line": 39,
212
+ "character": 19
244
213
  },
245
- "name": "insightName",
246
214
  "type": {
247
215
  "__schema": "KeywordTypeSchema",
248
216
  "location": {
249
217
  "filePath": "insight-manager.ts",
250
- "line": 46,
251
- "character": 26
218
+ "line": 39,
219
+ "character": 19
252
220
  },
253
221
  "name": "string"
254
- },
255
- "isOptional": false,
256
- "isSpread": false
257
- }
258
- ],
259
- "returnType": {
260
- "__schema": "TypeUnionSchema",
222
+ }
223
+ },
224
+ "modifiers": []
225
+ },
226
+ {
227
+ "__schema": "FunctionLikeSchema",
261
228
  "location": {
262
229
  "filePath": "insight-manager.ts",
263
230
  "line": 46,
264
- "character": 35
231
+ "character": 3
265
232
  },
266
- "types": [
267
- {
268
- "__schema": "TypeRefSchema",
269
- "location": {
270
- "filePath": "insight-manager.ts",
271
- "line": 46,
272
- "character": 35
273
- },
274
- "name": "Insight"
233
+ "doc": {
234
+ "__schema": "DocSchema",
235
+ "location": {
236
+ "filePath": "insight-manager.ts",
237
+ "line": 43,
238
+ "character": 3
275
239
  },
240
+ "raw": "/**\n * gets a specific insight by its name or undefined if doesn't exist\n */",
241
+ "comment": "gets a specific insight by its name or undefined if doesn't exist"
242
+ },
243
+ "signature": "(method) InsightManager.getByName(insightName: string): Insight | undefined",
244
+ "name": "getByName",
245
+ "params": [
276
246
  {
277
- "__schema": "KeywordTypeSchema",
247
+ "__schema": "ParameterSchema",
278
248
  "location": {
279
249
  "filePath": "insight-manager.ts",
280
250
  "line": 46,
281
- "character": 45
251
+ "character": 13
282
252
  },
283
- "name": "undefined"
284
- }
285
- ]
286
- },
287
- "modifiers": []
288
- },
289
- {
290
- "__schema": "FunctionLikeSchema",
291
- "location": {
292
- "filePath": "insight-manager.ts",
293
- "line": 53,
294
- "character": 3
253
+ "name": "insightName",
254
+ "type": {
255
+ "__schema": "KeywordTypeSchema",
256
+ "location": {
257
+ "filePath": "insight-manager.ts",
258
+ "line": 46,
259
+ "character": 26
260
+ },
261
+ "name": "string"
262
+ },
263
+ "isOptional": false,
264
+ "isSpread": false
265
+ }
266
+ ],
267
+ "returnType": {
268
+ "__schema": "TypeUnionSchema",
269
+ "location": {
270
+ "filePath": "insight-manager.ts",
271
+ "line": 46,
272
+ "character": 35
273
+ },
274
+ "types": [
275
+ {
276
+ "__schema": "TypeRefSchema",
277
+ "location": {
278
+ "filePath": "insight-manager.ts",
279
+ "line": 46,
280
+ "character": 35
281
+ },
282
+ "name": "Insight"
283
+ },
284
+ {
285
+ "__schema": "KeywordTypeSchema",
286
+ "location": {
287
+ "filePath": "insight-manager.ts",
288
+ "line": 46,
289
+ "character": 45
290
+ },
291
+ "name": "undefined"
292
+ }
293
+ ]
294
+ },
295
+ "modifiers": []
295
296
  },
296
- "doc": {
297
- "__schema": "DocSchema",
297
+ {
298
+ "__schema": "FunctionLikeSchema",
298
299
  "location": {
299
300
  "filePath": "insight-manager.ts",
300
- "line": 50,
301
+ "line": 53,
301
302
  "character": 3
302
303
  },
303
- "raw": "/**\n * deletes a specific insight by its name if exists\n */",
304
- "comment": "deletes a specific insight by its name if exists"
305
- },
306
- "signature": "(method) InsightManager.delete(insightName: string): void",
307
- "name": "delete",
308
- "params": [
309
- {
310
- "__schema": "ParameterSchema",
304
+ "doc": {
305
+ "__schema": "DocSchema",
311
306
  "location": {
312
307
  "filePath": "insight-manager.ts",
313
- "line": 53,
314
- "character": 10
308
+ "line": 50,
309
+ "character": 3
315
310
  },
316
- "name": "insightName",
317
- "type": {
318
- "__schema": "KeywordTypeSchema",
311
+ "raw": "/**\n * deletes a specific insight by its name if exists\n */",
312
+ "comment": "deletes a specific insight by its name if exists"
313
+ },
314
+ "signature": "(method) InsightManager.delete(insightName: string): void",
315
+ "name": "delete",
316
+ "params": [
317
+ {
318
+ "__schema": "ParameterSchema",
319
319
  "location": {
320
320
  "filePath": "insight-manager.ts",
321
321
  "line": 53,
322
- "character": 23
322
+ "character": 10
323
323
  },
324
- "name": "string"
324
+ "name": "insightName",
325
+ "type": {
326
+ "__schema": "KeywordTypeSchema",
327
+ "location": {
328
+ "filePath": "insight-manager.ts",
329
+ "line": 53,
330
+ "character": 23
331
+ },
332
+ "name": "string"
333
+ },
334
+ "isOptional": false,
335
+ "isSpread": false
336
+ }
337
+ ],
338
+ "returnType": {
339
+ "__schema": "InferenceTypeSchema",
340
+ "location": {
341
+ "filePath": "insight-manager.ts",
342
+ "line": 53,
343
+ "character": 3
325
344
  },
326
- "isOptional": false,
327
- "isSpread": false
328
- }
329
- ],
330
- "returnType": {
331
- "__schema": "InferenceTypeSchema",
332
- "location": {
333
- "filePath": "insight-manager.ts",
334
- "line": 53,
335
- "character": 3
345
+ "type": "void"
336
346
  },
337
- "type": "void"
338
- },
339
- "modifiers": []
340
- },
341
- {
342
- "__schema": "FunctionLikeSchema",
343
- "location": {
344
- "filePath": "insight-manager.ts",
345
- "line": 64,
346
- "character": 3
347
+ "modifiers": []
347
348
  },
348
- "doc": {
349
- "__schema": "DocSchema",
349
+ {
350
+ "__schema": "FunctionLikeSchema",
350
351
  "location": {
351
352
  "filePath": "insight-manager.ts",
352
- "line": 60,
353
+ "line": 64,
353
354
  "character": 3
354
355
  },
355
- "raw": "/**\n * execute an array of insights\n *\n */",
356
- "comment": "execute an array of insights"
357
- },
358
- "signature": "(method) InsightManager.run(insightNames: string[], opts: RunInsightOptions): Promise<InsightResult[]>",
359
- "name": "run",
360
- "params": [
361
- {
362
- "__schema": "ParameterSchema",
356
+ "doc": {
357
+ "__schema": "DocSchema",
363
358
  "location": {
364
359
  "filePath": "insight-manager.ts",
365
- "line": 64,
366
- "character": 13
360
+ "line": 60,
361
+ "character": 3
367
362
  },
368
- "name": "insightNames",
369
- "type": {
370
- "__schema": "TypeArraySchema",
363
+ "raw": "/**\n * execute an array of insights\n *\n */",
364
+ "comment": "execute an array of insights"
365
+ },
366
+ "signature": "(method) InsightManager.run(insightNames: string[], opts: RunInsightOptions): Promise<InsightResult[]>",
367
+ "name": "run",
368
+ "params": [
369
+ {
370
+ "__schema": "ParameterSchema",
371
371
  "location": {
372
372
  "filePath": "insight-manager.ts",
373
373
  "line": 64,
374
- "character": 27
374
+ "character": 13
375
375
  },
376
+ "name": "insightNames",
376
377
  "type": {
377
- "__schema": "KeywordTypeSchema",
378
+ "__schema": "TypeArraySchema",
378
379
  "location": {
379
380
  "filePath": "insight-manager.ts",
380
381
  "line": 64,
381
382
  "character": 27
382
383
  },
383
- "name": "string"
384
- }
385
- },
386
- "isOptional": false,
387
- "isSpread": false
388
- },
389
- {
390
- "__schema": "ParameterSchema",
391
- "location": {
392
- "filePath": "insight-manager.ts",
393
- "line": 64,
394
- "character": 37
395
- },
396
- "name": "opts",
397
- "type": {
398
- "__schema": "TypeRefSchema",
399
- "location": {
400
- "filePath": "insight-manager.ts",
401
- "line": 64,
402
- "character": 43
384
+ "type": {
385
+ "__schema": "KeywordTypeSchema",
386
+ "location": {
387
+ "filePath": "insight-manager.ts",
388
+ "line": 64,
389
+ "character": 27
390
+ },
391
+ "name": "string"
392
+ }
403
393
  },
404
- "name": "RunInsightOptions",
405
- "internalFilePath": "insight-manager.ts"
394
+ "isOptional": false,
395
+ "isSpread": false
406
396
  },
407
- "isOptional": false,
408
- "isSpread": false
409
- }
410
- ],
411
- "returnType": {
412
- "__schema": "TypeRefSchema",
413
- "location": {
414
- "filePath": "insight-manager.ts",
415
- "line": 64,
416
- "character": 63
417
- },
418
- "name": "Promise",
419
- "typeArgs": [
420
397
  {
421
- "__schema": "TypeArraySchema",
398
+ "__schema": "ParameterSchema",
422
399
  "location": {
423
400
  "filePath": "insight-manager.ts",
424
401
  "line": 64,
425
- "character": 71
402
+ "character": 37
426
403
  },
404
+ "name": "opts",
427
405
  "type": {
428
406
  "__schema": "TypeRefSchema",
407
+ "location": {
408
+ "filePath": "insight-manager.ts",
409
+ "line": 64,
410
+ "character": 43
411
+ },
412
+ "name": "RunInsightOptions",
413
+ "internalFilePath": "insight-manager.ts"
414
+ },
415
+ "isOptional": false,
416
+ "isSpread": false
417
+ }
418
+ ],
419
+ "returnType": {
420
+ "__schema": "TypeRefSchema",
421
+ "location": {
422
+ "filePath": "insight-manager.ts",
423
+ "line": 64,
424
+ "character": 63
425
+ },
426
+ "name": "Promise",
427
+ "typeArgs": [
428
+ {
429
+ "__schema": "TypeArraySchema",
429
430
  "location": {
430
431
  "filePath": "insight-manager.ts",
431
432
  "line": 64,
432
433
  "character": 71
433
434
  },
434
- "name": "InsightResult",
435
- "internalFilePath": "insight.ts"
435
+ "type": {
436
+ "__schema": "TypeRefSchema",
437
+ "location": {
438
+ "filePath": "insight-manager.ts",
439
+ "line": 64,
440
+ "character": 71
441
+ },
442
+ "name": "InsightResult",
443
+ "internalFilePath": "insight.ts"
444
+ }
436
445
  }
437
- }
446
+ ]
447
+ },
448
+ "modifiers": [
449
+ "async"
438
450
  ]
439
451
  },
440
- "modifiers": [
441
- "async"
442
- ]
443
- },
444
- {
445
- "__schema": "FunctionLikeSchema",
446
- "location": {
447
- "filePath": "insight-manager.ts",
448
- "line": 86,
449
- "character": 3
450
- },
451
- "doc": {
452
- "__schema": "DocSchema",
452
+ {
453
+ "__schema": "FunctionLikeSchema",
453
454
  "location": {
454
455
  "filePath": "insight-manager.ts",
455
- "line": 82,
456
+ "line": 86,
456
457
  "character": 3
457
458
  },
458
- "raw": "/**\n * execute all insights in the registry\n *\n */",
459
- "comment": "execute all insights in the registry"
460
- },
461
- "signature": "(method) InsightManager.runAll(opts: RunInsightOptions): Promise<InsightResult[]>",
462
- "name": "runAll",
463
- "params": [
464
- {
465
- "__schema": "ParameterSchema",
459
+ "doc": {
460
+ "__schema": "DocSchema",
466
461
  "location": {
467
462
  "filePath": "insight-manager.ts",
468
- "line": 86,
469
- "character": 16
470
- },
471
- "name": "opts",
472
- "type": {
473
- "__schema": "TypeRefSchema",
474
- "location": {
475
- "filePath": "insight-manager.ts",
476
- "line": 86,
477
- "character": 22
478
- },
479
- "name": "RunInsightOptions",
480
- "internalFilePath": "insight-manager.ts"
463
+ "line": 82,
464
+ "character": 3
481
465
  },
482
- "isOptional": false,
483
- "isSpread": false
484
- }
485
- ],
486
- "returnType": {
487
- "__schema": "TypeRefSchema",
488
- "location": {
489
- "filePath": "insight-manager.ts",
490
- "line": 86,
491
- "character": 42
466
+ "raw": "/**\n * execute all insights in the registry\n *\n */",
467
+ "comment": "execute all insights in the registry"
492
468
  },
493
- "name": "Promise",
494
- "typeArgs": [
469
+ "signature": "(method) InsightManager.runAll(opts: RunInsightOptions): Promise<InsightResult[]>",
470
+ "name": "runAll",
471
+ "params": [
495
472
  {
496
- "__schema": "TypeArraySchema",
473
+ "__schema": "ParameterSchema",
497
474
  "location": {
498
475
  "filePath": "insight-manager.ts",
499
476
  "line": 86,
500
- "character": 50
477
+ "character": 16
501
478
  },
479
+ "name": "opts",
502
480
  "type": {
503
481
  "__schema": "TypeRefSchema",
504
482
  "location": {
505
483
  "filePath": "insight-manager.ts",
506
484
  "line": 86,
507
- "character": 50
485
+ "character": 22
508
486
  },
509
- "name": "InsightResult",
510
- "internalFilePath": "insight.ts"
511
- }
487
+ "name": "RunInsightOptions",
488
+ "internalFilePath": "insight-manager.ts"
489
+ },
490
+ "isOptional": false,
491
+ "isSpread": false
512
492
  }
513
- ]
514
- },
515
- "modifiers": [
516
- "async"
517
- ]
518
- }
519
- ],
520
- "extendsNodes": [],
521
- "implementNodes": []
522
- },
523
- {
524
- "__schema": "InterfaceSchema",
525
- "location": {
526
- "filePath": "insight.ts",
527
- "line": 21,
528
- "character": 1
529
- },
530
- "signature": "interface Insight",
531
- "name": "Insight",
532
- "members": [
533
- {
534
- "__schema": "VariableLikeSchema",
535
- "location": {
536
- "filePath": "insight.ts",
537
- "line": 22,
538
- "character": 3
539
- },
540
- "signature": "(property) Insight.name: string",
541
- "name": "name",
542
- "type": {
543
- "__schema": "KeywordTypeSchema",
493
+ ],
494
+ "returnType": {
495
+ "__schema": "TypeRefSchema",
496
+ "location": {
497
+ "filePath": "insight-manager.ts",
498
+ "line": 86,
499
+ "character": 42
500
+ },
501
+ "name": "Promise",
502
+ "typeArgs": [
503
+ {
504
+ "__schema": "TypeArraySchema",
505
+ "location": {
506
+ "filePath": "insight-manager.ts",
507
+ "line": 86,
508
+ "character": 50
509
+ },
510
+ "type": {
511
+ "__schema": "TypeRefSchema",
512
+ "location": {
513
+ "filePath": "insight-manager.ts",
514
+ "line": 86,
515
+ "character": 50
516
+ },
517
+ "name": "InsightResult",
518
+ "internalFilePath": "insight.ts"
519
+ }
520
+ }
521
+ ]
522
+ },
523
+ "modifiers": [
524
+ "async"
525
+ ]
526
+ }
527
+ ],
528
+ "extendsNodes": [],
529
+ "implementNodes": []
530
+ }
531
+ },
532
+ {
533
+ "__schema": "ExportSchema",
534
+ "location": {
535
+ "filePath": "index.ts",
536
+ "line": 2,
537
+ "character": 15
538
+ },
539
+ "name": "Insight",
540
+ "exportNode": {
541
+ "__schema": "InterfaceSchema",
542
+ "location": {
543
+ "filePath": "insight.ts",
544
+ "line": 21,
545
+ "character": 1
546
+ },
547
+ "signature": "interface Insight",
548
+ "name": "Insight",
549
+ "members": [
550
+ {
551
+ "__schema": "VariableLikeSchema",
544
552
  "location": {
545
553
  "filePath": "insight.ts",
546
554
  "line": 22,
547
- "character": 9
555
+ "character": 3
548
556
  },
549
- "name": "string"
550
- },
551
- "isOptional": false
552
- },
553
- {
554
- "__schema": "VariableLikeSchema",
555
- "location": {
556
- "filePath": "insight.ts",
557
- "line": 23,
558
- "character": 3
557
+ "signature": "(property) Insight.name: string",
558
+ "name": "name",
559
+ "type": {
560
+ "__schema": "KeywordTypeSchema",
561
+ "location": {
562
+ "filePath": "insight.ts",
563
+ "line": 22,
564
+ "character": 9
565
+ },
566
+ "name": "string"
567
+ },
568
+ "isOptional": false
559
569
  },
560
- "signature": "(property) Insight.description: string",
561
- "name": "description",
562
- "type": {
563
- "__schema": "KeywordTypeSchema",
570
+ {
571
+ "__schema": "VariableLikeSchema",
564
572
  "location": {
565
573
  "filePath": "insight.ts",
566
574
  "line": 23,
567
- "character": 16
575
+ "character": 3
568
576
  },
569
- "name": "string"
570
- },
571
- "isOptional": false
572
- },
573
- {
574
- "__schema": "FunctionLikeSchema",
575
- "location": {
576
- "filePath": "insight.ts",
577
- "line": 28,
578
- "character": 3
577
+ "signature": "(property) Insight.description: string",
578
+ "name": "description",
579
+ "type": {
580
+ "__schema": "KeywordTypeSchema",
581
+ "location": {
582
+ "filePath": "insight.ts",
583
+ "line": 23,
584
+ "character": 16
585
+ },
586
+ "name": "string"
587
+ },
588
+ "isOptional": false
579
589
  },
580
- "doc": {
581
- "__schema": "DocSchema",
590
+ {
591
+ "__schema": "FunctionLikeSchema",
582
592
  "location": {
583
593
  "filePath": "insight.ts",
584
- "line": 25,
594
+ "line": 28,
585
595
  "character": 3
586
596
  },
587
- "raw": "/**\n * runs a specific insight using _runInsight, gets a RawResult, and uses _formatData to transform the output to InsightResult.\n */",
588
- "comment": "runs a specific insight using _runInsight, gets a RawResult, and uses _formatData to transform the output to InsightResult."
589
- },
590
- "signature": "(method) Insight.run(opts?: RunInsightOptions): Promise<InsightResult>",
591
- "name": "run",
592
- "params": [
593
- {
594
- "__schema": "ParameterSchema",
597
+ "doc": {
598
+ "__schema": "DocSchema",
595
599
  "location": {
596
600
  "filePath": "insight.ts",
597
- "line": 28,
598
- "character": 7
599
- },
600
- "name": "opts",
601
- "type": {
602
- "__schema": "TypeRefSchema",
603
- "location": {
604
- "filePath": "insight.ts",
605
- "line": 28,
606
- "character": 14
607
- },
608
- "name": "RunInsightOptions",
609
- "internalFilePath": "insight-manager.ts"
601
+ "line": 25,
602
+ "character": 3
610
603
  },
611
- "isOptional": true,
612
- "isSpread": false
613
- }
614
- ],
615
- "returnType": {
616
- "__schema": "TypeRefSchema",
617
- "location": {
618
- "filePath": "insight.ts",
619
- "line": 28,
620
- "character": 34
604
+ "raw": "/**\n * runs a specific insight using _runInsight, gets a RawResult, and uses _formatData to transform the output to InsightResult.\n */",
605
+ "comment": "runs a specific insight using _runInsight, gets a RawResult, and uses _formatData to transform the output to InsightResult."
621
606
  },
622
- "name": "Promise",
623
- "typeArgs": [
607
+ "signature": "(method) Insight.run(opts?: RunInsightOptions): Promise<InsightResult>",
608
+ "name": "run",
609
+ "params": [
624
610
  {
625
- "__schema": "TypeRefSchema",
611
+ "__schema": "ParameterSchema",
626
612
  "location": {
627
613
  "filePath": "insight.ts",
628
614
  "line": 28,
629
- "character": 42
615
+ "character": 7
630
616
  },
631
- "name": "InsightResult",
632
- "internalFilePath": "insight.ts"
617
+ "name": "opts",
618
+ "type": {
619
+ "__schema": "TypeRefSchema",
620
+ "location": {
621
+ "filePath": "insight.ts",
622
+ "line": 28,
623
+ "character": 14
624
+ },
625
+ "name": "RunInsightOptions",
626
+ "internalFilePath": "insight-manager.ts"
627
+ },
628
+ "isOptional": true,
629
+ "isSpread": false
633
630
  }
634
- ]
635
- },
636
- "modifiers": []
637
- },
638
- {
639
- "__schema": "FunctionLikeSchema",
640
- "location": {
641
- "filePath": "insight.ts",
642
- "line": 34,
643
- "character": 3
631
+ ],
632
+ "returnType": {
633
+ "__schema": "TypeRefSchema",
634
+ "location": {
635
+ "filePath": "insight.ts",
636
+ "line": 28,
637
+ "character": 34
638
+ },
639
+ "name": "Promise",
640
+ "typeArgs": [
641
+ {
642
+ "__schema": "TypeRefSchema",
643
+ "location": {
644
+ "filePath": "insight.ts",
645
+ "line": 28,
646
+ "character": 42
647
+ },
648
+ "name": "InsightResult",
649
+ "internalFilePath": "insight.ts"
650
+ }
651
+ ]
652
+ },
653
+ "modifiers": []
644
654
  },
645
- "doc": {
646
- "__schema": "DocSchema",
655
+ {
656
+ "__schema": "FunctionLikeSchema",
647
657
  "location": {
648
658
  "filePath": "insight.ts",
649
- "line": 30,
659
+ "line": 34,
650
660
  "character": 3
651
661
  },
652
- "raw": "/**\n * add the results from the insights as a component-issue so then bit-status could show them and bit-tag could block\n * them.\n */",
653
- "comment": "add the results from the insights as a component-issue so then bit-status could show them and bit-tag could block\nthem."
654
- },
655
- "signature": "(method) Insight.addAsComponentIssue?(components: Component[]): Promise<void>",
656
- "name": "addAsComponentIssue",
657
- "params": [
658
- {
659
- "__schema": "ParameterSchema",
662
+ "doc": {
663
+ "__schema": "DocSchema",
660
664
  "location": {
661
665
  "filePath": "insight.ts",
662
- "line": 34,
663
- "character": 24
666
+ "line": 30,
667
+ "character": 3
664
668
  },
665
- "name": "components",
666
- "type": {
667
- "__schema": "TypeArraySchema",
669
+ "raw": "/**\n * add the results from the insights as a component-issue so then bit-status could show them and bit-tag could block\n * them.\n */",
670
+ "comment": "add the results from the insights as a component-issue so then bit-status could show them and bit-tag could block\nthem."
671
+ },
672
+ "signature": "(method) Insight.addAsComponentIssue?(components: Component[]): Promise<void>",
673
+ "name": "addAsComponentIssue",
674
+ "params": [
675
+ {
676
+ "__schema": "ParameterSchema",
668
677
  "location": {
669
678
  "filePath": "insight.ts",
670
679
  "line": 34,
671
- "character": 36
680
+ "character": 24
672
681
  },
682
+ "name": "components",
673
683
  "type": {
674
- "__schema": "TypeRefSchema",
684
+ "__schema": "TypeArraySchema",
675
685
  "location": {
676
686
  "filePath": "insight.ts",
677
687
  "line": 34,
678
688
  "character": 36
679
689
  },
680
- "name": "Component",
681
- "componentId": {
682
- "scope": "teambit.component",
683
- "name": "component"
690
+ "type": {
691
+ "__schema": "TypeRefSchema",
692
+ "location": {
693
+ "filePath": "insight.ts",
694
+ "line": 34,
695
+ "character": 36
696
+ },
697
+ "name": "Component",
698
+ "componentId": {
699
+ "scope": "teambit.component",
700
+ "name": "component"
701
+ }
684
702
  }
685
- }
686
- },
687
- "isOptional": false,
688
- "isSpread": false
689
- }
690
- ],
691
- "returnType": {
692
- "__schema": "TypeRefSchema",
693
- "location": {
694
- "filePath": "insight.ts",
695
- "line": 34,
696
- "character": 50
697
- },
698
- "name": "Promise",
699
- "typeArgs": [
700
- {
701
- "__schema": "KeywordTypeSchema",
702
- "location": {
703
- "filePath": "insight.ts",
704
- "line": 34,
705
- "character": 58
706
703
  },
707
- "name": "void"
704
+ "isOptional": false,
705
+ "isSpread": false
708
706
  }
709
- ]
710
- },
711
- "modifiers": []
712
- }
713
- ],
714
- "extendsNodes": []
707
+ ],
708
+ "returnType": {
709
+ "__schema": "TypeRefSchema",
710
+ "location": {
711
+ "filePath": "insight.ts",
712
+ "line": 34,
713
+ "character": 50
714
+ },
715
+ "name": "Promise",
716
+ "typeArgs": [
717
+ {
718
+ "__schema": "KeywordTypeSchema",
719
+ "location": {
720
+ "filePath": "insight.ts",
721
+ "line": 34,
722
+ "character": 58
723
+ },
724
+ "name": "void"
725
+ }
726
+ ]
727
+ },
728
+ "modifiers": []
729
+ }
730
+ ],
731
+ "extendsNodes": []
732
+ }
715
733
  },
716
734
  {
717
- "__schema": "ClassSchema",
735
+ "__schema": "ExportSchema",
718
736
  "location": {
719
- "filePath": "insights.main.runtime.ts",
720
- "line": 13,
721
- "character": 1
737
+ "filePath": "index.ts",
738
+ "line": 3,
739
+ "character": 15
722
740
  },
723
- "signature": "class InsightsMain",
724
741
  "name": "InsightsMain",
725
- "members": [
726
- {
727
- "__schema": "ConstructorSchema",
728
- "location": {
729
- "filePath": "insights.main.runtime.ts",
730
- "line": 14,
731
- "character": 3
732
- },
733
- "signature": "constructor InsightsMain(insightManager: InsightManager): InsightsMain",
734
- "name": "constructor",
735
- "params": [
736
- {
737
- "__schema": "ParameterSchema",
738
- "location": {
739
- "filePath": "insights.main.runtime.ts",
740
- "line": 14,
741
- "character": 15
742
- },
743
- "name": "insightManager",
744
- "type": {
745
- "__schema": "TypeRefSchema",
742
+ "exportNode": {
743
+ "__schema": "ClassSchema",
744
+ "location": {
745
+ "filePath": "insights.main.runtime.ts",
746
+ "line": 13,
747
+ "character": 1
748
+ },
749
+ "signature": "class InsightsMain",
750
+ "name": "InsightsMain",
751
+ "members": [
752
+ {
753
+ "__schema": "ConstructorSchema",
754
+ "location": {
755
+ "filePath": "insights.main.runtime.ts",
756
+ "line": 14,
757
+ "character": 3
758
+ },
759
+ "signature": "constructor InsightsMain(insightManager: InsightManager): InsightsMain",
760
+ "name": "constructor",
761
+ "params": [
762
+ {
763
+ "__schema": "ParameterSchema",
746
764
  "location": {
747
765
  "filePath": "insights.main.runtime.ts",
748
766
  "line": 14,
749
- "character": 39
767
+ "character": 15
750
768
  },
751
- "name": "InsightManager"
769
+ "name": "insightManager",
770
+ "type": {
771
+ "__schema": "TypeRefSchema",
772
+ "location": {
773
+ "filePath": "insights.main.runtime.ts",
774
+ "line": 14,
775
+ "character": 39
776
+ },
777
+ "name": "InsightManager"
778
+ },
779
+ "isOptional": false,
780
+ "isSpread": false
781
+ }
782
+ ],
783
+ "returnType": {
784
+ "__schema": "ThisTypeSchema",
785
+ "location": {
786
+ "filePath": "insights.main.runtime.ts",
787
+ "line": 13,
788
+ "character": 1
752
789
  },
753
- "isOptional": false,
754
- "isSpread": false
755
- }
756
- ],
757
- "returnType": {
758
- "__schema": "ThisTypeSchema",
790
+ "name": "InsightsMain"
791
+ },
792
+ "modifiers": []
793
+ },
794
+ {
795
+ "__schema": "FunctionLikeSchema",
759
796
  "location": {
760
797
  "filePath": "insights.main.runtime.ts",
761
- "line": 13,
762
- "character": 1
798
+ "line": 16,
799
+ "character": 3
763
800
  },
764
- "name": "InsightsMain"
765
- },
766
- "modifiers": []
767
- },
768
- {
769
- "__schema": "FunctionLikeSchema",
770
- "location": {
771
- "filePath": "insights.main.runtime.ts",
772
- "line": 16,
773
- "character": 3
774
- },
775
- "signature": "(method) InsightsMain.runInsights(names: string[], opts: RunInsightOptions): Promise<InsightResult[]>",
776
- "name": "runInsights",
777
- "params": [
778
- {
779
- "__schema": "ParameterSchema",
780
- "location": {
781
- "filePath": "insights.main.runtime.ts",
782
- "line": 16,
783
- "character": 21
784
- },
785
- "name": "names",
786
- "type": {
787
- "__schema": "TypeArraySchema",
801
+ "signature": "(method) InsightsMain.runInsights(names: string[], opts: RunInsightOptions): Promise<InsightResult[]>",
802
+ "name": "runInsights",
803
+ "params": [
804
+ {
805
+ "__schema": "ParameterSchema",
788
806
  "location": {
789
807
  "filePath": "insights.main.runtime.ts",
790
808
  "line": 16,
791
- "character": 28
809
+ "character": 21
792
810
  },
811
+ "name": "names",
793
812
  "type": {
794
- "__schema": "KeywordTypeSchema",
813
+ "__schema": "TypeArraySchema",
795
814
  "location": {
796
815
  "filePath": "insights.main.runtime.ts",
797
816
  "line": 16,
798
817
  "character": 28
799
818
  },
800
- "name": "string"
801
- }
802
- },
803
- "isOptional": false,
804
- "isSpread": false
805
- },
806
- {
807
- "__schema": "ParameterSchema",
808
- "location": {
809
- "filePath": "insights.main.runtime.ts",
810
- "line": 16,
811
- "character": 38
819
+ "type": {
820
+ "__schema": "KeywordTypeSchema",
821
+ "location": {
822
+ "filePath": "insights.main.runtime.ts",
823
+ "line": 16,
824
+ "character": 28
825
+ },
826
+ "name": "string"
827
+ }
828
+ },
829
+ "isOptional": false,
830
+ "isSpread": false
812
831
  },
813
- "name": "opts",
814
- "type": {
815
- "__schema": "TypeRefSchema",
832
+ {
833
+ "__schema": "ParameterSchema",
816
834
  "location": {
817
835
  "filePath": "insights.main.runtime.ts",
818
836
  "line": 16,
819
- "character": 44
837
+ "character": 38
838
+ },
839
+ "name": "opts",
840
+ "type": {
841
+ "__schema": "TypeRefSchema",
842
+ "location": {
843
+ "filePath": "insights.main.runtime.ts",
844
+ "line": 16,
845
+ "character": 44
846
+ },
847
+ "name": "RunInsightOptions",
848
+ "internalFilePath": "insight-manager.ts"
820
849
  },
821
- "name": "RunInsightOptions",
822
- "internalFilePath": "insight-manager.ts"
850
+ "isOptional": false,
851
+ "isSpread": false
852
+ }
853
+ ],
854
+ "returnType": {
855
+ "__schema": "InferenceTypeSchema",
856
+ "location": {
857
+ "filePath": "insights.main.runtime.ts",
858
+ "line": 16,
859
+ "character": 3
823
860
  },
824
- "isOptional": false,
825
- "isSpread": false
826
- }
827
- ],
828
- "returnType": {
829
- "__schema": "InferenceTypeSchema",
830
- "location": {
831
- "filePath": "insights.main.runtime.ts",
832
- "line": 16,
833
- "character": 3
861
+ "type": "Promise<InsightResult[]>"
834
862
  },
835
- "type": "Promise<InsightResult[]>"
836
- },
837
- "modifiers": [
838
- "async"
839
- ]
840
- },
841
- {
842
- "__schema": "FunctionLikeSchema",
843
- "location": {
844
- "filePath": "insights.main.runtime.ts",
845
- "line": 27,
846
- "character": 3
863
+ "modifiers": [
864
+ "async"
865
+ ]
847
866
  },
848
- "signature": "(method) InsightsMain.listInsights(): string[]",
849
- "name": "listInsights",
850
- "params": [],
851
- "returnType": {
852
- "__schema": "InferenceTypeSchema",
867
+ {
868
+ "__schema": "FunctionLikeSchema",
853
869
  "location": {
854
870
  "filePath": "insights.main.runtime.ts",
855
871
  "line": 27,
856
872
  "character": 3
857
873
  },
858
- "type": "string[]"
859
- },
860
- "modifiers": []
861
- },
862
- {
863
- "__schema": "FunctionLikeSchema",
864
- "location": {
865
- "filePath": "insights.main.runtime.ts",
866
- "line": 31,
867
- "character": 3
868
- },
869
- "signature": "(method) InsightsMain.addInsightsAsComponentIssues(components: Component[], issuesToIgnore: string[]): Promise<void>",
870
- "name": "addInsightsAsComponentIssues",
871
- "params": [
872
- {
873
- "__schema": "ParameterSchema",
874
+ "signature": "(method) InsightsMain.listInsights(): string[]",
875
+ "name": "listInsights",
876
+ "params": [],
877
+ "returnType": {
878
+ "__schema": "InferenceTypeSchema",
874
879
  "location": {
875
880
  "filePath": "insights.main.runtime.ts",
876
- "line": 31,
877
- "character": 38
881
+ "line": 27,
882
+ "character": 3
878
883
  },
879
- "name": "components",
880
- "type": {
881
- "__schema": "TypeArraySchema",
884
+ "type": "string[]"
885
+ },
886
+ "modifiers": []
887
+ },
888
+ {
889
+ "__schema": "FunctionLikeSchema",
890
+ "location": {
891
+ "filePath": "insights.main.runtime.ts",
892
+ "line": 31,
893
+ "character": 3
894
+ },
895
+ "signature": "(method) InsightsMain.addInsightsAsComponentIssues(components: Component[], issuesToIgnore: string[]): Promise<void>",
896
+ "name": "addInsightsAsComponentIssues",
897
+ "params": [
898
+ {
899
+ "__schema": "ParameterSchema",
882
900
  "location": {
883
901
  "filePath": "insights.main.runtime.ts",
884
902
  "line": 31,
885
- "character": 50
903
+ "character": 38
886
904
  },
905
+ "name": "components",
887
906
  "type": {
888
- "__schema": "TypeRefSchema",
907
+ "__schema": "TypeArraySchema",
889
908
  "location": {
890
909
  "filePath": "insights.main.runtime.ts",
891
910
  "line": 31,
892
911
  "character": 50
893
912
  },
894
- "name": "Component",
895
- "componentId": {
896
- "scope": "teambit.component",
897
- "name": "component"
913
+ "type": {
914
+ "__schema": "TypeRefSchema",
915
+ "location": {
916
+ "filePath": "insights.main.runtime.ts",
917
+ "line": 31,
918
+ "character": 50
919
+ },
920
+ "name": "Component",
921
+ "componentId": {
922
+ "scope": "teambit.component",
923
+ "name": "component"
924
+ }
898
925
  }
899
- }
900
- },
901
- "isOptional": false,
902
- "isSpread": false
903
- },
904
- {
905
- "__schema": "ParameterSchema",
906
- "location": {
907
- "filePath": "insights.main.runtime.ts",
908
- "line": 31,
909
- "character": 63
926
+ },
927
+ "isOptional": false,
928
+ "isSpread": false
910
929
  },
911
- "name": "issuesToIgnore",
912
- "type": {
913
- "__schema": "TypeArraySchema",
930
+ {
931
+ "__schema": "ParameterSchema",
914
932
  "location": {
915
933
  "filePath": "insights.main.runtime.ts",
916
934
  "line": 31,
917
- "character": 79
935
+ "character": 63
918
936
  },
937
+ "name": "issuesToIgnore",
919
938
  "type": {
920
- "__schema": "KeywordTypeSchema",
939
+ "__schema": "TypeArraySchema",
921
940
  "location": {
922
941
  "filePath": "insights.main.runtime.ts",
923
942
  "line": 31,
924
943
  "character": 79
925
944
  },
926
- "name": "string"
927
- }
945
+ "type": {
946
+ "__schema": "KeywordTypeSchema",
947
+ "location": {
948
+ "filePath": "insights.main.runtime.ts",
949
+ "line": 31,
950
+ "character": 79
951
+ },
952
+ "name": "string"
953
+ }
954
+ },
955
+ "isOptional": false,
956
+ "isSpread": false
957
+ }
958
+ ],
959
+ "returnType": {
960
+ "__schema": "InferenceTypeSchema",
961
+ "location": {
962
+ "filePath": "insights.main.runtime.ts",
963
+ "line": 31,
964
+ "character": 3
928
965
  },
929
- "isOptional": false,
930
- "isSpread": false
931
- }
932
- ],
933
- "returnType": {
934
- "__schema": "InferenceTypeSchema",
935
- "location": {
936
- "filePath": "insights.main.runtime.ts",
937
- "line": 31,
938
- "character": 3
966
+ "type": "Promise<void>"
939
967
  },
940
- "type": "Promise<void>"
941
- },
942
- "modifiers": [
943
- "async"
944
- ]
945
- },
946
- {
947
- "__schema": "VariableLikeSchema",
948
- "location": {
949
- "filePath": "insights.main.runtime.ts",
950
- "line": 43,
951
- "character": 3
968
+ "modifiers": [
969
+ "async"
970
+ ]
952
971
  },
953
- "signature": "(property) InsightsMain.slots: never[]",
954
- "name": "slots",
955
- "type": {
956
- "__schema": "InferenceTypeSchema",
972
+ {
973
+ "__schema": "VariableLikeSchema",
957
974
  "location": {
958
975
  "filePath": "insights.main.runtime.ts",
959
976
  "line": 43,
960
977
  "character": 3
961
978
  },
962
- "type": "never[]"
963
- },
964
- "isOptional": true,
965
- "defaultValue": "[]"
966
- },
967
- {
968
- "__schema": "VariableLikeSchema",
969
- "location": {
970
- "filePath": "insights.main.runtime.ts",
971
- "line": 44,
972
- "character": 3
979
+ "signature": "(property) InsightsMain.slots: never[]",
980
+ "name": "slots",
981
+ "type": {
982
+ "__schema": "InferenceTypeSchema",
983
+ "location": {
984
+ "filePath": "insights.main.runtime.ts",
985
+ "line": 43,
986
+ "character": 3
987
+ },
988
+ "type": "never[]"
989
+ },
990
+ "isOptional": true,
991
+ "defaultValue": "[]"
973
992
  },
974
- "signature": "(property) InsightsMain.dependencies: Aspect[]",
975
- "name": "dependencies",
976
- "type": {
977
- "__schema": "InferenceTypeSchema",
993
+ {
994
+ "__schema": "VariableLikeSchema",
978
995
  "location": {
979
996
  "filePath": "insights.main.runtime.ts",
980
997
  "line": 44,
981
998
  "character": 3
982
999
  },
983
- "type": "Aspect[]"
984
- },
985
- "isOptional": true,
986
- "defaultValue": "[GraphAspect, CLIAspect, IssuesAspect]"
987
- },
988
- {
989
- "__schema": "VariableLikeSchema",
990
- "location": {
991
- "filePath": "insights.main.runtime.ts",
992
- "line": 45,
993
- "character": 3
1000
+ "signature": "(property) InsightsMain.dependencies: Aspect[]",
1001
+ "name": "dependencies",
1002
+ "type": {
1003
+ "__schema": "InferenceTypeSchema",
1004
+ "location": {
1005
+ "filePath": "insights.main.runtime.ts",
1006
+ "line": 44,
1007
+ "character": 3
1008
+ },
1009
+ "type": "Aspect[]"
1010
+ },
1011
+ "isOptional": true,
1012
+ "defaultValue": "[GraphAspect, CLIAspect, IssuesAspect]"
994
1013
  },
995
- "signature": "(property) InsightsMain.runtime: RuntimeDefinition",
996
- "name": "runtime",
997
- "type": {
998
- "__schema": "InferenceTypeSchema",
1014
+ {
1015
+ "__schema": "VariableLikeSchema",
999
1016
  "location": {
1000
1017
  "filePath": "insights.main.runtime.ts",
1001
1018
  "line": 45,
1002
1019
  "character": 3
1003
1020
  },
1004
- "type": "RuntimeDefinition"
1005
- },
1006
- "isOptional": true,
1007
- "defaultValue": "MainRuntime"
1008
- },
1009
- {
1010
- "__schema": "VariableLikeSchema",
1011
- "location": {
1012
- "filePath": "insights.main.runtime.ts",
1013
- "line": 46,
1014
- "character": 3
1021
+ "signature": "(property) InsightsMain.runtime: RuntimeDefinition",
1022
+ "name": "runtime",
1023
+ "type": {
1024
+ "__schema": "InferenceTypeSchema",
1025
+ "location": {
1026
+ "filePath": "insights.main.runtime.ts",
1027
+ "line": 45,
1028
+ "character": 3
1029
+ },
1030
+ "type": "RuntimeDefinition"
1031
+ },
1032
+ "isOptional": true,
1033
+ "defaultValue": "MainRuntime"
1015
1034
  },
1016
- "signature": "(property) InsightsMain.config: {\n silence: boolean;\n}",
1017
- "name": "config",
1018
- "type": {
1019
- "__schema": "InferenceTypeSchema",
1035
+ {
1036
+ "__schema": "VariableLikeSchema",
1020
1037
  "location": {
1021
1038
  "filePath": "insights.main.runtime.ts",
1022
1039
  "line": 46,
1023
1040
  "character": 3
1024
1041
  },
1025
- "type": "{\n silence: boolean;\n}"
1026
- },
1027
- "isOptional": true,
1028
- "defaultValue": "{\n silence: false,\n }"
1029
- },
1030
- {
1031
- "__schema": "FunctionLikeSchema",
1032
- "location": {
1033
- "filePath": "insights.main.runtime.ts",
1034
- "line": 49,
1035
- "character": 3
1036
- },
1037
- "signature": "(method) InsightsMain.provider([graphMain, cli, issues]: [GraphMain, CLIMain, IssuesMain]): Promise<InsightsMain>",
1038
- "name": "provider",
1039
- "params": [
1040
- {
1041
- "__schema": "ParameterSchema",
1042
+ "signature": "(property) InsightsMain.config: {\n silence: boolean;\n}",
1043
+ "name": "config",
1044
+ "type": {
1045
+ "__schema": "InferenceTypeSchema",
1042
1046
  "location": {
1043
1047
  "filePath": "insights.main.runtime.ts",
1044
- "line": 49,
1045
- "character": 25
1048
+ "line": 46,
1049
+ "character": 3
1046
1050
  },
1047
- "name": "[ graphMain, cli, issues ]",
1048
- "type": {
1049
- "__schema": "TupleTypeSchema",
1051
+ "type": "{\n silence: boolean;\n}"
1052
+ },
1053
+ "isOptional": true,
1054
+ "defaultValue": "{\n silence: false,\n }"
1055
+ },
1056
+ {
1057
+ "__schema": "FunctionLikeSchema",
1058
+ "location": {
1059
+ "filePath": "insights.main.runtime.ts",
1060
+ "line": 49,
1061
+ "character": 3
1062
+ },
1063
+ "signature": "(method) InsightsMain.provider([graphMain, cli, issues]: [GraphMain, CLIMain, IssuesMain]): Promise<InsightsMain>",
1064
+ "name": "provider",
1065
+ "params": [
1066
+ {
1067
+ "__schema": "ParameterSchema",
1050
1068
  "location": {
1051
1069
  "filePath": "insights.main.runtime.ts",
1052
1070
  "line": 49,
1053
- "character": 51
1071
+ "character": 25
1054
1072
  },
1055
- "elements": [
1056
- {
1057
- "__schema": "TypeRefSchema",
1058
- "location": {
1059
- "filePath": "insights.main.runtime.ts",
1060
- "line": 49,
1061
- "character": 52
1062
- },
1063
- "name": "GraphMain",
1064
- "componentId": {
1065
- "scope": "teambit.component",
1066
- "name": "graph"
1067
- }
1073
+ "name": "[ graphMain, cli, issues ]",
1074
+ "type": {
1075
+ "__schema": "TupleTypeSchema",
1076
+ "location": {
1077
+ "filePath": "insights.main.runtime.ts",
1078
+ "line": 49,
1079
+ "character": 51
1068
1080
  },
1069
- {
1070
- "__schema": "TypeRefSchema",
1071
- "location": {
1072
- "filePath": "insights.main.runtime.ts",
1073
- "line": 49,
1074
- "character": 63
1081
+ "elements": [
1082
+ {
1083
+ "__schema": "TypeRefSchema",
1084
+ "location": {
1085
+ "filePath": "insights.main.runtime.ts",
1086
+ "line": 49,
1087
+ "character": 52
1088
+ },
1089
+ "name": "GraphMain",
1090
+ "componentId": {
1091
+ "scope": "teambit.component",
1092
+ "name": "graph"
1093
+ }
1075
1094
  },
1076
- "name": "CLIMain",
1077
- "componentId": {
1078
- "scope": "teambit.harmony",
1079
- "name": "cli"
1080
- }
1081
- },
1082
- {
1083
- "__schema": "TypeRefSchema",
1084
- "location": {
1085
- "filePath": "insights.main.runtime.ts",
1086
- "line": 49,
1087
- "character": 72
1095
+ {
1096
+ "__schema": "TypeRefSchema",
1097
+ "location": {
1098
+ "filePath": "insights.main.runtime.ts",
1099
+ "line": 49,
1100
+ "character": 63
1101
+ },
1102
+ "name": "CLIMain",
1103
+ "componentId": {
1104
+ "scope": "teambit.harmony",
1105
+ "name": "cli"
1106
+ }
1088
1107
  },
1089
- "name": "IssuesMain",
1090
- "componentId": {
1091
- "scope": "teambit.component",
1092
- "name": "issues"
1108
+ {
1109
+ "__schema": "TypeRefSchema",
1110
+ "location": {
1111
+ "filePath": "insights.main.runtime.ts",
1112
+ "line": 49,
1113
+ "character": 72
1114
+ },
1115
+ "name": "IssuesMain",
1116
+ "componentId": {
1117
+ "scope": "teambit.component",
1118
+ "name": "issues"
1119
+ }
1093
1120
  }
1094
- }
1095
- ]
1121
+ ]
1122
+ },
1123
+ "isOptional": false,
1124
+ "isSpread": false
1125
+ }
1126
+ ],
1127
+ "returnType": {
1128
+ "__schema": "InferenceTypeSchema",
1129
+ "location": {
1130
+ "filePath": "insights.main.runtime.ts",
1131
+ "line": 49,
1132
+ "character": 3
1096
1133
  },
1097
- "isOptional": false,
1098
- "isSpread": false
1099
- }
1100
- ],
1101
- "returnType": {
1102
- "__schema": "InferenceTypeSchema",
1103
- "location": {
1104
- "filePath": "insights.main.runtime.ts",
1105
- "line": 49,
1106
- "character": 3
1134
+ "type": "Promise<InsightsMain>"
1107
1135
  },
1108
- "type": "Promise<InsightsMain>"
1109
- },
1110
- "modifiers": [
1111
- "static",
1112
- "async"
1113
- ]
1114
- }
1115
- ],
1116
- "extendsNodes": [],
1117
- "implementNodes": []
1136
+ "modifiers": [
1137
+ "static",
1138
+ "async"
1139
+ ]
1140
+ }
1141
+ ],
1142
+ "extendsNodes": [],
1143
+ "implementNodes": []
1144
+ }
1118
1145
  },
1119
1146
  {
1120
- "__schema": "VariableLikeSchema",
1147
+ "__schema": "ExportSchema",
1121
1148
  "location": {
1122
- "filePath": "insights.aspect.ts",
1123
- "line": 3,
1124
- "character": 14
1149
+ "filePath": "index.ts",
1150
+ "line": 4,
1151
+ "character": 10
1125
1152
  },
1126
- "signature": "const InsightsAspect: Aspect",
1127
1153
  "name": "InsightsAspect",
1128
- "type": {
1129
- "__schema": "TypeRefSchema",
1154
+ "exportNode": {
1155
+ "__schema": "VariableLikeSchema",
1130
1156
  "location": {
1131
1157
  "filePath": "insights.aspect.ts",
1132
1158
  "line": 3,
1133
1159
  "character": 14
1134
1160
  },
1135
- "name": "Aspect",
1136
- "componentId": {
1137
- "scope": "teambit.harmony",
1138
- "name": "harmony",
1139
- "version": "0.4.6"
1140
- }
1141
- },
1142
- "isOptional": false,
1143
- "defaultValue": "Aspect.create({\n id: 'teambit.explorer/insights',\n dependencies: [],\n defaultConfig: {},\n})"
1161
+ "signature": "const InsightsAspect: Aspect",
1162
+ "name": "InsightsAspect",
1163
+ "type": {
1164
+ "__schema": "TypeRefSchema",
1165
+ "location": {
1166
+ "filePath": "insights.aspect.ts",
1167
+ "line": 3,
1168
+ "character": 14
1169
+ },
1170
+ "name": "Aspect",
1171
+ "componentId": {
1172
+ "scope": "teambit.harmony",
1173
+ "name": "harmony",
1174
+ "version": "0.4.6"
1175
+ }
1176
+ },
1177
+ "isOptional": false,
1178
+ "defaultValue": "Aspect.create({\n id: 'teambit.explorer/insights',\n dependencies: [],\n defaultConfig: {},\n})"
1179
+ }
1144
1180
  },
1145
1181
  {
1146
- "__schema": "VariableLikeSchema",
1182
+ "__schema": "ExportSchema",
1147
1183
  "location": {
1148
- "filePath": "all-insights/find-circulars.ts",
1149
- "line": 8,
1150
- "character": 14
1184
+ "filePath": "index.ts",
1185
+ "line": 5,
1186
+ "character": 10
1151
1187
  },
1152
- "signature": "const INSIGHT_CIRCULAR_DEPS_NAME: \"circular\"",
1153
1188
  "name": "INSIGHT_CIRCULAR_DEPS_NAME",
1154
- "type": {
1155
- "__schema": "InferenceTypeSchema",
1189
+ "exportNode": {
1190
+ "__schema": "VariableLikeSchema",
1156
1191
  "location": {
1157
1192
  "filePath": "all-insights/find-circulars.ts",
1158
1193
  "line": 8,
1159
1194
  "character": 14
1160
1195
  },
1161
- "type": "\"circular\""
1162
- },
1163
- "isOptional": false,
1164
- "defaultValue": "'circular'"
1196
+ "signature": "const INSIGHT_CIRCULAR_DEPS_NAME: \"circular\"",
1197
+ "name": "INSIGHT_CIRCULAR_DEPS_NAME",
1198
+ "type": {
1199
+ "__schema": "InferenceTypeSchema",
1200
+ "location": {
1201
+ "filePath": "all-insights/find-circulars.ts",
1202
+ "line": 8,
1203
+ "character": 14
1204
+ },
1205
+ "type": "\"circular\""
1206
+ },
1207
+ "isOptional": false,
1208
+ "defaultValue": "'circular'"
1209
+ }
1165
1210
  }
1166
1211
  ],
1167
1212
  "internals": []
@@ -2669,7 +2714,7 @@
2669
2714
  "componentId": {
2670
2715
  "scope": "teambit.explorer",
2671
2716
  "name": "insights",
2672
- "version": "1.0.257"
2717
+ "version": "1.0.259"
2673
2718
  },
2674
2719
  "taggedModuleExports": []
2675
2720
  }