@teambit/diagnostic 1.0.188 → 1.0.189
Sign up to get free protection for your applications and to get access to all the features.
- package/artifacts/__bit_junit.xml +1 -1
- package/artifacts/schema.json +842 -0
- package/dist/diagnostic.aspect.js.map +1 -1
- package/dist/diagnostic.graphql.js.map +1 -1
- package/dist/diagnostic.js.map +1 -1
- package/dist/diagnostic.main.runtime.js.map +1 -1
- package/dist/diagnostic.route.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- /package/dist/{preview-1710040632859.js → preview-1710224484125.js} +0 -0
@@ -1,4 +1,4 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<testsuites tests="0" failures="0" errors="0" skipped="0">
|
3
|
-
<testsuite name="teambit.harmony/diagnostic@1.0.
|
3
|
+
<testsuite name="teambit.harmony/diagnostic@1.0.189" tests="0" failures="0" errors="0" skipped="0"/>
|
4
4
|
</testsuites>
|
@@ -0,0 +1,842 @@
|
|
1
|
+
{
|
2
|
+
"__schema": "APISchema",
|
3
|
+
"location": {
|
4
|
+
"filePath": "index.ts",
|
5
|
+
"line": 1,
|
6
|
+
"character": 1
|
7
|
+
},
|
8
|
+
"module": {
|
9
|
+
"__schema": "ModuleSchema",
|
10
|
+
"location": {
|
11
|
+
"filePath": "index.ts",
|
12
|
+
"line": 1,
|
13
|
+
"character": 1
|
14
|
+
},
|
15
|
+
"exports": [
|
16
|
+
{
|
17
|
+
"__schema": "ClassSchema",
|
18
|
+
"location": {
|
19
|
+
"filePath": "diagnostic.main.runtime.ts",
|
20
|
+
"line": 14,
|
21
|
+
"character": 1
|
22
|
+
},
|
23
|
+
"signature": "class DiagnosticMain",
|
24
|
+
"name": "DiagnosticMain",
|
25
|
+
"members": [
|
26
|
+
{
|
27
|
+
"__schema": "ConstructorSchema",
|
28
|
+
"location": {
|
29
|
+
"filePath": "diagnostic.main.runtime.ts",
|
30
|
+
"line": 15,
|
31
|
+
"character": 3
|
32
|
+
},
|
33
|
+
"signature": "constructor DiagnosticMain(diagnosticSlot: DiagnosticSlot): DiagnosticMain",
|
34
|
+
"name": "constructor",
|
35
|
+
"params": [
|
36
|
+
{
|
37
|
+
"__schema": "ParameterSchema",
|
38
|
+
"location": {
|
39
|
+
"filePath": "diagnostic.main.runtime.ts",
|
40
|
+
"line": 17,
|
41
|
+
"character": 5
|
42
|
+
},
|
43
|
+
"name": "diagnosticSlot",
|
44
|
+
"type": {
|
45
|
+
"__schema": "TypeRefSchema",
|
46
|
+
"location": {
|
47
|
+
"filePath": "diagnostic.main.runtime.ts",
|
48
|
+
"line": 17,
|
49
|
+
"character": 29
|
50
|
+
},
|
51
|
+
"name": "DiagnosticSlot",
|
52
|
+
"internalFilePath": "diagnostic.main.runtime.ts"
|
53
|
+
},
|
54
|
+
"isOptional": false,
|
55
|
+
"isSpread": false
|
56
|
+
}
|
57
|
+
],
|
58
|
+
"returnType": {
|
59
|
+
"__schema": "ThisTypeSchema",
|
60
|
+
"location": {
|
61
|
+
"filePath": "diagnostic.main.runtime.ts",
|
62
|
+
"line": 14,
|
63
|
+
"character": 1
|
64
|
+
},
|
65
|
+
"name": "DiagnosticMain"
|
66
|
+
},
|
67
|
+
"modifiers": []
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"__schema": "VariableLikeSchema",
|
71
|
+
"location": {
|
72
|
+
"filePath": "diagnostic.main.runtime.ts",
|
73
|
+
"line": 19,
|
74
|
+
"character": 3
|
75
|
+
},
|
76
|
+
"signature": "(property) DiagnosticMain.slots: ((registerFn: () => string) => SlotRegistry<Diagnostic[]>)[]",
|
77
|
+
"name": "slots",
|
78
|
+
"type": {
|
79
|
+
"__schema": "InferenceTypeSchema",
|
80
|
+
"location": {
|
81
|
+
"filePath": "diagnostic.main.runtime.ts",
|
82
|
+
"line": 19,
|
83
|
+
"character": 3
|
84
|
+
},
|
85
|
+
"type": "((registerFn: () => string) => SlotRegistry<Diagnostic[]>)[]"
|
86
|
+
},
|
87
|
+
"isOptional": true,
|
88
|
+
"defaultValue": "[Slot.withType<Diagnostic[]>()]"
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"__schema": "VariableLikeSchema",
|
92
|
+
"location": {
|
93
|
+
"filePath": "diagnostic.main.runtime.ts",
|
94
|
+
"line": 20,
|
95
|
+
"character": 3
|
96
|
+
},
|
97
|
+
"signature": "(property) DiagnosticMain.dependencies: Aspect[]",
|
98
|
+
"name": "dependencies",
|
99
|
+
"type": {
|
100
|
+
"__schema": "InferenceTypeSchema",
|
101
|
+
"location": {
|
102
|
+
"filePath": "diagnostic.main.runtime.ts",
|
103
|
+
"line": 20,
|
104
|
+
"character": 3
|
105
|
+
},
|
106
|
+
"type": "Aspect[]"
|
107
|
+
},
|
108
|
+
"isOptional": true,
|
109
|
+
"defaultValue": "[ExpressAspect, GraphqlAspect]"
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"__schema": "VariableLikeSchema",
|
113
|
+
"location": {
|
114
|
+
"filePath": "diagnostic.main.runtime.ts",
|
115
|
+
"line": 21,
|
116
|
+
"character": 3
|
117
|
+
},
|
118
|
+
"signature": "(property) DiagnosticMain.runtime: RuntimeDefinition",
|
119
|
+
"name": "runtime",
|
120
|
+
"type": {
|
121
|
+
"__schema": "InferenceTypeSchema",
|
122
|
+
"location": {
|
123
|
+
"filePath": "diagnostic.main.runtime.ts",
|
124
|
+
"line": 21,
|
125
|
+
"character": 3
|
126
|
+
},
|
127
|
+
"type": "RuntimeDefinition"
|
128
|
+
},
|
129
|
+
"isOptional": true,
|
130
|
+
"defaultValue": "MainRuntime"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"__schema": "FunctionLikeSchema",
|
134
|
+
"location": {
|
135
|
+
"filePath": "diagnostic.main.runtime.ts",
|
136
|
+
"line": 23,
|
137
|
+
"character": 3
|
138
|
+
},
|
139
|
+
"signature": "(method) DiagnosticMain.register(...diagnostic: Diagnostic[]): void",
|
140
|
+
"name": "register",
|
141
|
+
"params": [
|
142
|
+
{
|
143
|
+
"__schema": "ParameterSchema",
|
144
|
+
"location": {
|
145
|
+
"filePath": "diagnostic.main.runtime.ts",
|
146
|
+
"line": 23,
|
147
|
+
"character": 12
|
148
|
+
},
|
149
|
+
"name": "diagnostic",
|
150
|
+
"type": {
|
151
|
+
"__schema": "TypeArraySchema",
|
152
|
+
"location": {
|
153
|
+
"filePath": "diagnostic.main.runtime.ts",
|
154
|
+
"line": 23,
|
155
|
+
"character": 27
|
156
|
+
},
|
157
|
+
"type": {
|
158
|
+
"__schema": "TypeRefSchema",
|
159
|
+
"location": {
|
160
|
+
"filePath": "diagnostic.main.runtime.ts",
|
161
|
+
"line": 23,
|
162
|
+
"character": 27
|
163
|
+
},
|
164
|
+
"name": "Diagnostic",
|
165
|
+
"internalFilePath": "diagnostic.ts"
|
166
|
+
}
|
167
|
+
},
|
168
|
+
"isOptional": false,
|
169
|
+
"isSpread": true
|
170
|
+
}
|
171
|
+
],
|
172
|
+
"returnType": {
|
173
|
+
"__schema": "InferenceTypeSchema",
|
174
|
+
"location": {
|
175
|
+
"filePath": "diagnostic.main.runtime.ts",
|
176
|
+
"line": 23,
|
177
|
+
"character": 3
|
178
|
+
},
|
179
|
+
"type": "void"
|
180
|
+
},
|
181
|
+
"modifiers": []
|
182
|
+
},
|
183
|
+
{
|
184
|
+
"__schema": "FunctionLikeSchema",
|
185
|
+
"location": {
|
186
|
+
"filePath": "diagnostic.main.runtime.ts",
|
187
|
+
"line": 27,
|
188
|
+
"character": 3
|
189
|
+
},
|
190
|
+
"signature": "(method) DiagnosticMain.getDiagnosticData(): {}",
|
191
|
+
"name": "getDiagnosticData",
|
192
|
+
"params": [],
|
193
|
+
"returnType": {
|
194
|
+
"__schema": "InferenceTypeSchema",
|
195
|
+
"location": {
|
196
|
+
"filePath": "diagnostic.main.runtime.ts",
|
197
|
+
"line": 27,
|
198
|
+
"character": 3
|
199
|
+
},
|
200
|
+
"type": "{}"
|
201
|
+
},
|
202
|
+
"modifiers": []
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"__schema": "FunctionLikeSchema",
|
206
|
+
"location": {
|
207
|
+
"filePath": "diagnostic.main.runtime.ts",
|
208
|
+
"line": 40,
|
209
|
+
"character": 3
|
210
|
+
},
|
211
|
+
"signature": "(method) DiagnosticMain.getBitVersion(): {\n version: any;\n}",
|
212
|
+
"name": "getBitVersion",
|
213
|
+
"params": [],
|
214
|
+
"returnType": {
|
215
|
+
"__schema": "InferenceTypeSchema",
|
216
|
+
"location": {
|
217
|
+
"filePath": "diagnostic.main.runtime.ts",
|
218
|
+
"line": 40,
|
219
|
+
"character": 3
|
220
|
+
},
|
221
|
+
"type": "{\n version: any;\n}"
|
222
|
+
},
|
223
|
+
"modifiers": [
|
224
|
+
"static"
|
225
|
+
]
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"__schema": "FunctionLikeSchema",
|
229
|
+
"location": {
|
230
|
+
"filePath": "diagnostic.main.runtime.ts",
|
231
|
+
"line": 45,
|
232
|
+
"character": 3
|
233
|
+
},
|
234
|
+
"signature": "(method) DiagnosticMain.provider([express, graphql]: [ExpressMain, GraphqlMain], config: any, [diagnosticSlot]: [DiagnosticSlot]): Promise<DiagnosticMain>",
|
235
|
+
"name": "provider",
|
236
|
+
"params": [
|
237
|
+
{
|
238
|
+
"__schema": "ParameterSchema",
|
239
|
+
"location": {
|
240
|
+
"filePath": "diagnostic.main.runtime.ts",
|
241
|
+
"line": 46,
|
242
|
+
"character": 5
|
243
|
+
},
|
244
|
+
"name": "[ express, graphql ]",
|
245
|
+
"type": {
|
246
|
+
"__schema": "TupleTypeSchema",
|
247
|
+
"location": {
|
248
|
+
"filePath": "diagnostic.main.runtime.ts",
|
249
|
+
"line": 46,
|
250
|
+
"character": 25
|
251
|
+
},
|
252
|
+
"elements": [
|
253
|
+
{
|
254
|
+
"__schema": "TypeRefSchema",
|
255
|
+
"location": {
|
256
|
+
"filePath": "diagnostic.main.runtime.ts",
|
257
|
+
"line": 46,
|
258
|
+
"character": 26
|
259
|
+
},
|
260
|
+
"name": "ExpressMain",
|
261
|
+
"componentId": {
|
262
|
+
"scope": "teambit.harmony",
|
263
|
+
"name": "express"
|
264
|
+
}
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"__schema": "TypeRefSchema",
|
268
|
+
"location": {
|
269
|
+
"filePath": "diagnostic.main.runtime.ts",
|
270
|
+
"line": 46,
|
271
|
+
"character": 39
|
272
|
+
},
|
273
|
+
"name": "GraphqlMain",
|
274
|
+
"componentId": {
|
275
|
+
"scope": "teambit.harmony",
|
276
|
+
"name": "graphql"
|
277
|
+
}
|
278
|
+
}
|
279
|
+
]
|
280
|
+
},
|
281
|
+
"isOptional": false,
|
282
|
+
"isSpread": false
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"__schema": "ParameterSchema",
|
286
|
+
"location": {
|
287
|
+
"filePath": "diagnostic.main.runtime.ts",
|
288
|
+
"line": 47,
|
289
|
+
"character": 5
|
290
|
+
},
|
291
|
+
"name": "config",
|
292
|
+
"type": {
|
293
|
+
"__schema": "KeywordTypeSchema",
|
294
|
+
"location": {
|
295
|
+
"filePath": "diagnostic.main.runtime.ts",
|
296
|
+
"line": 47,
|
297
|
+
"character": 13
|
298
|
+
},
|
299
|
+
"name": "any"
|
300
|
+
},
|
301
|
+
"isOptional": false,
|
302
|
+
"isSpread": false
|
303
|
+
},
|
304
|
+
{
|
305
|
+
"__schema": "ParameterSchema",
|
306
|
+
"location": {
|
307
|
+
"filePath": "diagnostic.main.runtime.ts",
|
308
|
+
"line": 48,
|
309
|
+
"character": 5
|
310
|
+
},
|
311
|
+
"name": "[ diagnosticSlot ]",
|
312
|
+
"type": {
|
313
|
+
"__schema": "TupleTypeSchema",
|
314
|
+
"location": {
|
315
|
+
"filePath": "diagnostic.main.runtime.ts",
|
316
|
+
"line": 48,
|
317
|
+
"character": 23
|
318
|
+
},
|
319
|
+
"elements": [
|
320
|
+
{
|
321
|
+
"__schema": "TypeRefSchema",
|
322
|
+
"location": {
|
323
|
+
"filePath": "diagnostic.main.runtime.ts",
|
324
|
+
"line": 48,
|
325
|
+
"character": 24
|
326
|
+
},
|
327
|
+
"name": "DiagnosticSlot",
|
328
|
+
"internalFilePath": "diagnostic.main.runtime.ts"
|
329
|
+
}
|
330
|
+
]
|
331
|
+
},
|
332
|
+
"isOptional": false,
|
333
|
+
"isSpread": false
|
334
|
+
}
|
335
|
+
],
|
336
|
+
"returnType": {
|
337
|
+
"__schema": "InferenceTypeSchema",
|
338
|
+
"location": {
|
339
|
+
"filePath": "diagnostic.main.runtime.ts",
|
340
|
+
"line": 45,
|
341
|
+
"character": 3
|
342
|
+
},
|
343
|
+
"type": "Promise<DiagnosticMain>"
|
344
|
+
},
|
345
|
+
"modifiers": [
|
346
|
+
"static",
|
347
|
+
"async"
|
348
|
+
]
|
349
|
+
}
|
350
|
+
],
|
351
|
+
"extendsNodes": [],
|
352
|
+
"implementNodes": []
|
353
|
+
},
|
354
|
+
{
|
355
|
+
"__schema": "UnImplementedSchema",
|
356
|
+
"location": {
|
357
|
+
"filePath": "index.ts",
|
358
|
+
"line": 4,
|
359
|
+
"character": 16
|
360
|
+
},
|
361
|
+
"name": "DiagnosticAspect",
|
362
|
+
"type": "Identifier"
|
363
|
+
},
|
364
|
+
{
|
365
|
+
"__schema": "VariableLikeSchema",
|
366
|
+
"location": {
|
367
|
+
"filePath": "diagnostic.aspect.ts",
|
368
|
+
"line": 3,
|
369
|
+
"character": 14
|
370
|
+
},
|
371
|
+
"signature": "const DiagnosticAspect: Aspect",
|
372
|
+
"name": "DiagnosticAspect",
|
373
|
+
"type": {
|
374
|
+
"__schema": "TypeRefSchema",
|
375
|
+
"location": {
|
376
|
+
"filePath": "diagnostic.aspect.ts",
|
377
|
+
"line": 3,
|
378
|
+
"character": 14
|
379
|
+
},
|
380
|
+
"name": "Aspect",
|
381
|
+
"componentId": {
|
382
|
+
"scope": "teambit.harmony",
|
383
|
+
"name": "harmony",
|
384
|
+
"version": "0.4.6"
|
385
|
+
}
|
386
|
+
},
|
387
|
+
"isOptional": false,
|
388
|
+
"defaultValue": "Aspect.create({\n id: 'teambit.harmony/diagnostic',\n})"
|
389
|
+
}
|
390
|
+
],
|
391
|
+
"internals": []
|
392
|
+
},
|
393
|
+
"internals": [
|
394
|
+
{
|
395
|
+
"__schema": "ModuleSchema",
|
396
|
+
"location": {
|
397
|
+
"filePath": "diagnostic.main.runtime.ts",
|
398
|
+
"line": 1,
|
399
|
+
"character": 1
|
400
|
+
},
|
401
|
+
"exports": [
|
402
|
+
{
|
403
|
+
"__schema": "TypeSchema",
|
404
|
+
"location": {
|
405
|
+
"filePath": "diagnostic.main.runtime.ts",
|
406
|
+
"line": 12,
|
407
|
+
"character": 1
|
408
|
+
},
|
409
|
+
"signature": "type DiagnosticSlot = SlotRegistry<Diagnostic[]>",
|
410
|
+
"name": "DiagnosticSlot",
|
411
|
+
"type": {
|
412
|
+
"__schema": "TypeRefSchema",
|
413
|
+
"location": {
|
414
|
+
"filePath": "diagnostic.main.runtime.ts",
|
415
|
+
"line": 12,
|
416
|
+
"character": 30
|
417
|
+
},
|
418
|
+
"name": "SlotRegistry",
|
419
|
+
"componentId": {
|
420
|
+
"scope": "teambit.harmony",
|
421
|
+
"name": "harmony",
|
422
|
+
"version": "0.4.6"
|
423
|
+
},
|
424
|
+
"typeArgs": [
|
425
|
+
{
|
426
|
+
"__schema": "TypeArraySchema",
|
427
|
+
"location": {
|
428
|
+
"filePath": "diagnostic.main.runtime.ts",
|
429
|
+
"line": 12,
|
430
|
+
"character": 43
|
431
|
+
},
|
432
|
+
"type": {
|
433
|
+
"__schema": "TypeRefSchema",
|
434
|
+
"location": {
|
435
|
+
"filePath": "diagnostic.main.runtime.ts",
|
436
|
+
"line": 12,
|
437
|
+
"character": 43
|
438
|
+
},
|
439
|
+
"name": "Diagnostic",
|
440
|
+
"internalFilePath": "diagnostic.ts"
|
441
|
+
}
|
442
|
+
}
|
443
|
+
]
|
444
|
+
}
|
445
|
+
},
|
446
|
+
{
|
447
|
+
"__schema": "ClassSchema",
|
448
|
+
"location": {
|
449
|
+
"filePath": "diagnostic.main.runtime.ts",
|
450
|
+
"line": 14,
|
451
|
+
"character": 1
|
452
|
+
},
|
453
|
+
"signature": "class DiagnosticMain",
|
454
|
+
"name": "DiagnosticMain",
|
455
|
+
"members": [
|
456
|
+
{
|
457
|
+
"__schema": "ConstructorSchema",
|
458
|
+
"location": {
|
459
|
+
"filePath": "diagnostic.main.runtime.ts",
|
460
|
+
"line": 15,
|
461
|
+
"character": 3
|
462
|
+
},
|
463
|
+
"signature": "constructor DiagnosticMain(diagnosticSlot: DiagnosticSlot): DiagnosticMain",
|
464
|
+
"name": "constructor",
|
465
|
+
"params": [
|
466
|
+
{
|
467
|
+
"__schema": "ParameterSchema",
|
468
|
+
"location": {
|
469
|
+
"filePath": "diagnostic.main.runtime.ts",
|
470
|
+
"line": 17,
|
471
|
+
"character": 5
|
472
|
+
},
|
473
|
+
"name": "diagnosticSlot",
|
474
|
+
"type": {
|
475
|
+
"__schema": "TypeRefSchema",
|
476
|
+
"location": {
|
477
|
+
"filePath": "diagnostic.main.runtime.ts",
|
478
|
+
"line": 17,
|
479
|
+
"character": 29
|
480
|
+
},
|
481
|
+
"name": "DiagnosticSlot",
|
482
|
+
"internalFilePath": "diagnostic.main.runtime.ts"
|
483
|
+
},
|
484
|
+
"isOptional": false,
|
485
|
+
"isSpread": false
|
486
|
+
}
|
487
|
+
],
|
488
|
+
"returnType": {
|
489
|
+
"__schema": "ThisTypeSchema",
|
490
|
+
"location": {
|
491
|
+
"filePath": "diagnostic.main.runtime.ts",
|
492
|
+
"line": 14,
|
493
|
+
"character": 1
|
494
|
+
},
|
495
|
+
"name": "DiagnosticMain"
|
496
|
+
},
|
497
|
+
"modifiers": []
|
498
|
+
},
|
499
|
+
{
|
500
|
+
"__schema": "VariableLikeSchema",
|
501
|
+
"location": {
|
502
|
+
"filePath": "diagnostic.main.runtime.ts",
|
503
|
+
"line": 19,
|
504
|
+
"character": 3
|
505
|
+
},
|
506
|
+
"signature": "(property) DiagnosticMain.slots: ((registerFn: () => string) => SlotRegistry<Diagnostic[]>)[]",
|
507
|
+
"name": "slots",
|
508
|
+
"type": {
|
509
|
+
"__schema": "InferenceTypeSchema",
|
510
|
+
"location": {
|
511
|
+
"filePath": "diagnostic.main.runtime.ts",
|
512
|
+
"line": 19,
|
513
|
+
"character": 3
|
514
|
+
},
|
515
|
+
"type": "((registerFn: () => string) => SlotRegistry<Diagnostic[]>)[]"
|
516
|
+
},
|
517
|
+
"isOptional": true,
|
518
|
+
"defaultValue": "[Slot.withType<Diagnostic[]>()]"
|
519
|
+
},
|
520
|
+
{
|
521
|
+
"__schema": "VariableLikeSchema",
|
522
|
+
"location": {
|
523
|
+
"filePath": "diagnostic.main.runtime.ts",
|
524
|
+
"line": 20,
|
525
|
+
"character": 3
|
526
|
+
},
|
527
|
+
"signature": "(property) DiagnosticMain.dependencies: Aspect[]",
|
528
|
+
"name": "dependencies",
|
529
|
+
"type": {
|
530
|
+
"__schema": "InferenceTypeSchema",
|
531
|
+
"location": {
|
532
|
+
"filePath": "diagnostic.main.runtime.ts",
|
533
|
+
"line": 20,
|
534
|
+
"character": 3
|
535
|
+
},
|
536
|
+
"type": "Aspect[]"
|
537
|
+
},
|
538
|
+
"isOptional": true,
|
539
|
+
"defaultValue": "[ExpressAspect, GraphqlAspect]"
|
540
|
+
},
|
541
|
+
{
|
542
|
+
"__schema": "VariableLikeSchema",
|
543
|
+
"location": {
|
544
|
+
"filePath": "diagnostic.main.runtime.ts",
|
545
|
+
"line": 21,
|
546
|
+
"character": 3
|
547
|
+
},
|
548
|
+
"signature": "(property) DiagnosticMain.runtime: RuntimeDefinition",
|
549
|
+
"name": "runtime",
|
550
|
+
"type": {
|
551
|
+
"__schema": "InferenceTypeSchema",
|
552
|
+
"location": {
|
553
|
+
"filePath": "diagnostic.main.runtime.ts",
|
554
|
+
"line": 21,
|
555
|
+
"character": 3
|
556
|
+
},
|
557
|
+
"type": "RuntimeDefinition"
|
558
|
+
},
|
559
|
+
"isOptional": true,
|
560
|
+
"defaultValue": "MainRuntime"
|
561
|
+
},
|
562
|
+
{
|
563
|
+
"__schema": "FunctionLikeSchema",
|
564
|
+
"location": {
|
565
|
+
"filePath": "diagnostic.main.runtime.ts",
|
566
|
+
"line": 23,
|
567
|
+
"character": 3
|
568
|
+
},
|
569
|
+
"signature": "(method) DiagnosticMain.register(...diagnostic: Diagnostic[]): void",
|
570
|
+
"name": "register",
|
571
|
+
"params": [
|
572
|
+
{
|
573
|
+
"__schema": "ParameterSchema",
|
574
|
+
"location": {
|
575
|
+
"filePath": "diagnostic.main.runtime.ts",
|
576
|
+
"line": 23,
|
577
|
+
"character": 12
|
578
|
+
},
|
579
|
+
"name": "diagnostic",
|
580
|
+
"type": {
|
581
|
+
"__schema": "TypeArraySchema",
|
582
|
+
"location": {
|
583
|
+
"filePath": "diagnostic.main.runtime.ts",
|
584
|
+
"line": 23,
|
585
|
+
"character": 27
|
586
|
+
},
|
587
|
+
"type": {
|
588
|
+
"__schema": "TypeRefSchema",
|
589
|
+
"location": {
|
590
|
+
"filePath": "diagnostic.main.runtime.ts",
|
591
|
+
"line": 23,
|
592
|
+
"character": 27
|
593
|
+
},
|
594
|
+
"name": "Diagnostic",
|
595
|
+
"internalFilePath": "diagnostic.ts"
|
596
|
+
}
|
597
|
+
},
|
598
|
+
"isOptional": false,
|
599
|
+
"isSpread": true
|
600
|
+
}
|
601
|
+
],
|
602
|
+
"returnType": {
|
603
|
+
"__schema": "InferenceTypeSchema",
|
604
|
+
"location": {
|
605
|
+
"filePath": "diagnostic.main.runtime.ts",
|
606
|
+
"line": 23,
|
607
|
+
"character": 3
|
608
|
+
},
|
609
|
+
"type": "void"
|
610
|
+
},
|
611
|
+
"modifiers": []
|
612
|
+
},
|
613
|
+
{
|
614
|
+
"__schema": "FunctionLikeSchema",
|
615
|
+
"location": {
|
616
|
+
"filePath": "diagnostic.main.runtime.ts",
|
617
|
+
"line": 27,
|
618
|
+
"character": 3
|
619
|
+
},
|
620
|
+
"signature": "(method) DiagnosticMain.getDiagnosticData(): {}",
|
621
|
+
"name": "getDiagnosticData",
|
622
|
+
"params": [],
|
623
|
+
"returnType": {
|
624
|
+
"__schema": "InferenceTypeSchema",
|
625
|
+
"location": {
|
626
|
+
"filePath": "diagnostic.main.runtime.ts",
|
627
|
+
"line": 27,
|
628
|
+
"character": 3
|
629
|
+
},
|
630
|
+
"type": "{}"
|
631
|
+
},
|
632
|
+
"modifiers": []
|
633
|
+
},
|
634
|
+
{
|
635
|
+
"__schema": "FunctionLikeSchema",
|
636
|
+
"location": {
|
637
|
+
"filePath": "diagnostic.main.runtime.ts",
|
638
|
+
"line": 40,
|
639
|
+
"character": 3
|
640
|
+
},
|
641
|
+
"signature": "(method) DiagnosticMain.getBitVersion(): {\n version: any;\n}",
|
642
|
+
"name": "getBitVersion",
|
643
|
+
"params": [],
|
644
|
+
"returnType": {
|
645
|
+
"__schema": "InferenceTypeSchema",
|
646
|
+
"location": {
|
647
|
+
"filePath": "diagnostic.main.runtime.ts",
|
648
|
+
"line": 40,
|
649
|
+
"character": 3
|
650
|
+
},
|
651
|
+
"type": "{\n version: any;\n}"
|
652
|
+
},
|
653
|
+
"modifiers": [
|
654
|
+
"static"
|
655
|
+
]
|
656
|
+
},
|
657
|
+
{
|
658
|
+
"__schema": "FunctionLikeSchema",
|
659
|
+
"location": {
|
660
|
+
"filePath": "diagnostic.main.runtime.ts",
|
661
|
+
"line": 45,
|
662
|
+
"character": 3
|
663
|
+
},
|
664
|
+
"signature": "(method) DiagnosticMain.provider([express, graphql]: [ExpressMain, GraphqlMain], config: any, [diagnosticSlot]: [DiagnosticSlot]): Promise<DiagnosticMain>",
|
665
|
+
"name": "provider",
|
666
|
+
"params": [
|
667
|
+
{
|
668
|
+
"__schema": "ParameterSchema",
|
669
|
+
"location": {
|
670
|
+
"filePath": "diagnostic.main.runtime.ts",
|
671
|
+
"line": 46,
|
672
|
+
"character": 5
|
673
|
+
},
|
674
|
+
"name": "[ express, graphql ]",
|
675
|
+
"type": {
|
676
|
+
"__schema": "TupleTypeSchema",
|
677
|
+
"location": {
|
678
|
+
"filePath": "diagnostic.main.runtime.ts",
|
679
|
+
"line": 46,
|
680
|
+
"character": 25
|
681
|
+
},
|
682
|
+
"elements": [
|
683
|
+
{
|
684
|
+
"__schema": "TypeRefSchema",
|
685
|
+
"location": {
|
686
|
+
"filePath": "diagnostic.main.runtime.ts",
|
687
|
+
"line": 46,
|
688
|
+
"character": 26
|
689
|
+
},
|
690
|
+
"name": "ExpressMain",
|
691
|
+
"componentId": {
|
692
|
+
"scope": "teambit.harmony",
|
693
|
+
"name": "express"
|
694
|
+
}
|
695
|
+
},
|
696
|
+
{
|
697
|
+
"__schema": "TypeRefSchema",
|
698
|
+
"location": {
|
699
|
+
"filePath": "diagnostic.main.runtime.ts",
|
700
|
+
"line": 46,
|
701
|
+
"character": 39
|
702
|
+
},
|
703
|
+
"name": "GraphqlMain",
|
704
|
+
"componentId": {
|
705
|
+
"scope": "teambit.harmony",
|
706
|
+
"name": "graphql"
|
707
|
+
}
|
708
|
+
}
|
709
|
+
]
|
710
|
+
},
|
711
|
+
"isOptional": false,
|
712
|
+
"isSpread": false
|
713
|
+
},
|
714
|
+
{
|
715
|
+
"__schema": "ParameterSchema",
|
716
|
+
"location": {
|
717
|
+
"filePath": "diagnostic.main.runtime.ts",
|
718
|
+
"line": 47,
|
719
|
+
"character": 5
|
720
|
+
},
|
721
|
+
"name": "config",
|
722
|
+
"type": {
|
723
|
+
"__schema": "KeywordTypeSchema",
|
724
|
+
"location": {
|
725
|
+
"filePath": "diagnostic.main.runtime.ts",
|
726
|
+
"line": 47,
|
727
|
+
"character": 13
|
728
|
+
},
|
729
|
+
"name": "any"
|
730
|
+
},
|
731
|
+
"isOptional": false,
|
732
|
+
"isSpread": false
|
733
|
+
},
|
734
|
+
{
|
735
|
+
"__schema": "ParameterSchema",
|
736
|
+
"location": {
|
737
|
+
"filePath": "diagnostic.main.runtime.ts",
|
738
|
+
"line": 48,
|
739
|
+
"character": 5
|
740
|
+
},
|
741
|
+
"name": "[ diagnosticSlot ]",
|
742
|
+
"type": {
|
743
|
+
"__schema": "TupleTypeSchema",
|
744
|
+
"location": {
|
745
|
+
"filePath": "diagnostic.main.runtime.ts",
|
746
|
+
"line": 48,
|
747
|
+
"character": 23
|
748
|
+
},
|
749
|
+
"elements": [
|
750
|
+
{
|
751
|
+
"__schema": "TypeRefSchema",
|
752
|
+
"location": {
|
753
|
+
"filePath": "diagnostic.main.runtime.ts",
|
754
|
+
"line": 48,
|
755
|
+
"character": 24
|
756
|
+
},
|
757
|
+
"name": "DiagnosticSlot",
|
758
|
+
"internalFilePath": "diagnostic.main.runtime.ts"
|
759
|
+
}
|
760
|
+
]
|
761
|
+
},
|
762
|
+
"isOptional": false,
|
763
|
+
"isSpread": false
|
764
|
+
}
|
765
|
+
],
|
766
|
+
"returnType": {
|
767
|
+
"__schema": "InferenceTypeSchema",
|
768
|
+
"location": {
|
769
|
+
"filePath": "diagnostic.main.runtime.ts",
|
770
|
+
"line": 45,
|
771
|
+
"character": 3
|
772
|
+
},
|
773
|
+
"type": "Promise<DiagnosticMain>"
|
774
|
+
},
|
775
|
+
"modifiers": [
|
776
|
+
"static",
|
777
|
+
"async"
|
778
|
+
]
|
779
|
+
}
|
780
|
+
],
|
781
|
+
"extendsNodes": [],
|
782
|
+
"implementNodes": []
|
783
|
+
}
|
784
|
+
],
|
785
|
+
"internals": [
|
786
|
+
{
|
787
|
+
"__schema": "UnImplementedSchema",
|
788
|
+
"location": {
|
789
|
+
"filePath": "diagnostic.main.runtime.ts",
|
790
|
+
"line": 58,
|
791
|
+
"character": 1
|
792
|
+
},
|
793
|
+
"name": "DiagnosticAspect.addRuntime(DiagnosticMain);",
|
794
|
+
"type": "ExpressionStatement"
|
795
|
+
}
|
796
|
+
]
|
797
|
+
},
|
798
|
+
{
|
799
|
+
"__schema": "ModuleSchema",
|
800
|
+
"location": {
|
801
|
+
"filePath": "diagnostic.aspect.ts",
|
802
|
+
"line": 1,
|
803
|
+
"character": 1
|
804
|
+
},
|
805
|
+
"exports": [
|
806
|
+
{
|
807
|
+
"__schema": "VariableLikeSchema",
|
808
|
+
"location": {
|
809
|
+
"filePath": "diagnostic.aspect.ts",
|
810
|
+
"line": 3,
|
811
|
+
"character": 14
|
812
|
+
},
|
813
|
+
"signature": "const DiagnosticAspect: Aspect",
|
814
|
+
"name": "DiagnosticAspect",
|
815
|
+
"type": {
|
816
|
+
"__schema": "TypeRefSchema",
|
817
|
+
"location": {
|
818
|
+
"filePath": "diagnostic.aspect.ts",
|
819
|
+
"line": 3,
|
820
|
+
"character": 14
|
821
|
+
},
|
822
|
+
"name": "Aspect",
|
823
|
+
"componentId": {
|
824
|
+
"scope": "teambit.harmony",
|
825
|
+
"name": "harmony",
|
826
|
+
"version": "0.4.6"
|
827
|
+
}
|
828
|
+
},
|
829
|
+
"isOptional": false,
|
830
|
+
"defaultValue": "Aspect.create({\n id: 'teambit.harmony/diagnostic',\n})"
|
831
|
+
}
|
832
|
+
],
|
833
|
+
"internals": []
|
834
|
+
}
|
835
|
+
],
|
836
|
+
"componentId": {
|
837
|
+
"scope": "teambit.harmony",
|
838
|
+
"name": "diagnostic",
|
839
|
+
"version": "1.0.189"
|
840
|
+
},
|
841
|
+
"taggedModuleExports": []
|
842
|
+
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_harmony","data","require","DiagnosticAspect","exports","Aspect","create","id"],"sources":["diagnostic.aspect.ts"],"sourcesContent":["import { Aspect } from '@teambit/harmony';\n\nexport const DiagnosticAspect = Aspect.create({\n id: 'teambit.harmony/diagnostic',\n});\n"],"mappings":";;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEO,MAAME,gBAAgB,GAAAC,OAAA,CAAAD,gBAAA,GAAGE,iBAAM,CAACC,MAAM,CAAC;EAC5CC,EAAE,EAAE;AACN,CAAC,CAAC"}
|
1
|
+
{"version":3,"names":["_harmony","data","require","DiagnosticAspect","exports","Aspect","create","id"],"sources":["diagnostic.aspect.ts"],"sourcesContent":["import { Aspect } from '@teambit/harmony';\n\nexport const DiagnosticAspect = Aspect.create({\n id: 'teambit.harmony/diagnostic',\n});\n"],"mappings":";;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEO,MAAME,gBAAgB,GAAAC,OAAA,CAAAD,gBAAA,GAAGE,iBAAM,CAACC,MAAM,CAAC;EAC5CC,EAAE,EAAE;AACN,CAAC,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_graphqlTag","data","require","_defineProperty","obj","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","t","i","_toPrimitive","String","r","e","Symbol","toPrimitive","call","TypeError","Number","DiagnosticGraphql","constructor","diagnosticMain","gql","Query","_diagnostic","getDiagnosticData","exports"],"sources":["diagnostic.graphql.ts"],"sourcesContent":["import { Schema } from '@teambit/graphql';\nimport { gql } from 'graphql-tag';\nimport { DiagnosticMain } from './diagnostic.main.runtime';\n\nexport class DiagnosticGraphql implements Schema {\n constructor(private diagnosticMain: DiagnosticMain) {}\n\n typeDefs = gql`\n scalar JSONObject\n\n type Query {\n _diagnostic: JSONObject\n }\n `;\n resolvers = {\n Query: {\n _diagnostic: () => {\n return this.diagnosticMain.getDiagnosticData();\n },\n },\n };\n}\n"],"mappings":";;;;;;AACA,SAAAA,YAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,WAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAAkC,SAAAE,gBAAAC,GAAA,EAAAC,GAAA,EAAAC,KAAA,IAAAD,GAAA,GAAAE,cAAA,CAAAF,GAAA,OAAAA,GAAA,IAAAD,GAAA,IAAAI,MAAA,CAAAC,cAAA,CAAAL,GAAA,EAAAC,GAAA,IAAAC,KAAA,EAAAA,KAAA,EAAAI,UAAA,QAAAC,YAAA,QAAAC,QAAA,oBAAAR,GAAA,CAAAC,GAAA,IAAAC,KAAA,WAAAF,GAAA;AAAA,SAAAG,eAAAM,CAAA,QAAAC,CAAA,GAAAC,YAAA,CAAAF,CAAA,uCAAAC,CAAA,GAAAA,CAAA,GAAAE,MAAA,CAAAF,CAAA;AAAA,SAAAC,aAAAF,CAAA,EAAAI,CAAA,2BAAAJ,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAK,CAAA,GAAAL,CAAA,CAAAM,MAAA,CAAAC,WAAA,kBAAAF,CAAA,QAAAJ,CAAA,GAAAI,CAAA,CAAAG,IAAA,CAAAR,CAAA,EAAAI,CAAA,uCAAAH,CAAA,SAAAA,CAAA,YAAAQ,SAAA,yEAAAL,CAAA,GAAAD,MAAA,GAAAO,MAAA,EAAAV,CAAA;AAG3B,MAAMW,iBAAiB,CAAmB;EAC/CC,WAAWA,CAASC,cAA8B,EAAE;IAAA,KAAhCA,cAA8B,GAA9BA,cAA8B;IAAAvB,eAAA,mBAEvC,IAAAwB,iBAAG,CAAC;AACjB;AACA;AACA;AACA;AACA;AACA,GAAG;IAAAxB,eAAA,oBACW;MACVyB,KAAK,EAAE;QACLC,WAAW,EAAEA,CAAA,KAAM;UACjB,OAAO,IAAI,CAACH,cAAc,CAACI,iBAAiB,CAAC,CAAC;QAChD;MACF;IACF,CAAC;EAfoD;AAgBvD;AAACC,OAAA,CAAAP,iBAAA,GAAAA,iBAAA"}
|
1
|
+
{"version":3,"names":["_graphqlTag","data","require","_defineProperty","obj","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","t","i","_toPrimitive","String","r","e","Symbol","toPrimitive","call","TypeError","Number","DiagnosticGraphql","constructor","diagnosticMain","gql","Query","_diagnostic","getDiagnosticData","exports"],"sources":["diagnostic.graphql.ts"],"sourcesContent":["import { Schema } from '@teambit/graphql';\nimport { gql } from 'graphql-tag';\nimport { DiagnosticMain } from './diagnostic.main.runtime';\n\nexport class DiagnosticGraphql implements Schema {\n constructor(private diagnosticMain: DiagnosticMain) {}\n\n typeDefs = gql`\n scalar JSONObject\n\n type Query {\n _diagnostic: JSONObject\n }\n `;\n resolvers = {\n Query: {\n _diagnostic: () => {\n return this.diagnosticMain.getDiagnosticData();\n },\n },\n };\n}\n"],"mappings":";;;;;;AACA,SAAAA,YAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,WAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAAkC,SAAAE,gBAAAC,GAAA,EAAAC,GAAA,EAAAC,KAAA,IAAAD,GAAA,GAAAE,cAAA,CAAAF,GAAA,OAAAA,GAAA,IAAAD,GAAA,IAAAI,MAAA,CAAAC,cAAA,CAAAL,GAAA,EAAAC,GAAA,IAAAC,KAAA,EAAAA,KAAA,EAAAI,UAAA,QAAAC,YAAA,QAAAC,QAAA,oBAAAR,GAAA,CAAAC,GAAA,IAAAC,KAAA,WAAAF,GAAA;AAAA,SAAAG,eAAAM,CAAA,QAAAC,CAAA,GAAAC,YAAA,CAAAF,CAAA,uCAAAC,CAAA,GAAAA,CAAA,GAAAE,MAAA,CAAAF,CAAA;AAAA,SAAAC,aAAAF,CAAA,EAAAI,CAAA,2BAAAJ,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAK,CAAA,GAAAL,CAAA,CAAAM,MAAA,CAAAC,WAAA,kBAAAF,CAAA,QAAAJ,CAAA,GAAAI,CAAA,CAAAG,IAAA,CAAAR,CAAA,EAAAI,CAAA,uCAAAH,CAAA,SAAAA,CAAA,YAAAQ,SAAA,yEAAAL,CAAA,GAAAD,MAAA,GAAAO,MAAA,EAAAV,CAAA;AAG3B,MAAMW,iBAAiB,CAAmB;EAC/CC,WAAWA,CAASC,cAA8B,EAAE;IAAA,KAAhCA,cAA8B,GAA9BA,cAA8B;IAAAvB,eAAA,mBAEvC,IAAAwB,iBAAG,CAAC;AACjB;AACA;AACA;AACA;AACA;AACA,GAAG;IAAAxB,eAAA,oBACW;MACVyB,KAAK,EAAE;QACLC,WAAW,EAAEA,CAAA,KAAM;UACjB,OAAO,IAAI,CAACH,cAAc,CAACI,iBAAiB,CAAC,CAAC;QAChD;MACF;IACF,CAAC;EAfoD;AAgBvD;AAACC,OAAA,CAAAP,iBAAA,GAAAA,iBAAA","ignoreList":[]}
|
package/dist/diagnostic.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sources":["diagnostic.ts"],"sourcesContent":["export type DiagnosticFc = () => Object;\n\nexport interface Diagnostic {\n diagnosticFn: DiagnosticFc;\n}\n"],"mappings":""}
|
1
|
+
{"version":3,"names":[],"sources":["diagnostic.ts"],"sourcesContent":["export type DiagnosticFc = () => Object;\n\nexport interface Diagnostic {\n diagnosticFn: DiagnosticFc;\n}\n"],"mappings":"","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_bootstrap","data","require","_harmony","_cli","_express","_graphql","_diagnostic","_diagnostic2","_diagnostic3","_defineProperty","obj","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","t","i","_toPrimitive","String","r","e","Symbol","toPrimitive","call","TypeError","Number","DiagnosticMain","constructor","diagnosticSlot","register","diagnostic","getDiagnosticData","slots","toArray","reduce","prev","cSlot","aspectId","reports","forEach","diag","diagnosticFn","push","getBitVersion","version","getHarmonyVersion","provider","express","graphql","config","diagnosticMain","DiagnosticRoute","DiagnosticGraphql","exports","Slot","withType","ExpressAspect","GraphqlAspect","MainRuntime","DiagnosticAspect","addRuntime"],"sources":["diagnostic.main.runtime.ts"],"sourcesContent":["import { getHarmonyVersion } from '@teambit/legacy/dist/bootstrap';\n\nimport { Slot, SlotRegistry } from '@teambit/harmony';\nimport { MainRuntime } from '@teambit/cli';\nimport { ExpressAspect, ExpressMain } from '@teambit/express';\nimport { GraphqlAspect, GraphqlMain } from '@teambit/graphql';\nimport { DiagnosticAspect } from './diagnostic.aspect';\nimport { DiagnosticRoute } from './diagnostic.route';\nimport { DiagnosticGraphql } from './diagnostic.graphql';\nimport { Diagnostic } from './diagnostic';\n\nexport type DiagnosticSlot = SlotRegistry<Diagnostic[]>;\n\nexport class DiagnosticMain {\n constructor(\n /** the diagnostic entity slot */\n private diagnosticSlot: DiagnosticSlot\n ) {}\n static slots = [Slot.withType<Diagnostic[]>()];\n static dependencies = [ExpressAspect, GraphqlAspect];\n static runtime = MainRuntime;\n\n register(...diagnostic: Diagnostic[]) {\n this.diagnosticSlot.register(diagnostic);\n }\n\n getDiagnosticData() {\n const slots = this.diagnosticSlot.toArray();\n return slots.reduce((prev, cSlot) => {\n const [aspectId, diagnostic] = cSlot;\n prev[aspectId] = { reports: [] };\n diagnostic.forEach((diag) => {\n const { diagnosticFn } = diag;\n prev[aspectId].reports.push(diagnosticFn());\n });\n return prev;\n }, {});\n }\n\n static getBitVersion() {\n const version = getHarmonyVersion(true);\n return { version };\n }\n\n static async provider(\n [express, graphql]: [ExpressMain, GraphqlMain],\n config: any,\n [diagnosticSlot]: [DiagnosticSlot]\n ) {\n const diagnosticMain = new DiagnosticMain(diagnosticSlot);\n diagnosticMain.register({ diagnosticFn: DiagnosticMain.getBitVersion });\n express.register([new DiagnosticRoute(diagnosticMain)]);\n graphql.register(new DiagnosticGraphql(diagnosticMain));\n return diagnosticMain;\n }\n}\n\nDiagnosticAspect.addRuntime(DiagnosticMain);\n"],"mappings":";;;;;;AAAA,SAAAA,WAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,UAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAE,SAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,QAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;E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EC,OAAO,CAA6B,EAC9CC,MAAW,EACX,CAACrB,cAAc,CAAmB,EAClC;IACA,MAAMsB,cAAc,GAAG,IAAIxB,cAAc,CAACE,cAAc,CAAC;IACzDsB,cAAc,CAACrB,QAAQ,CAAC;MAAEY,YAAY,EAAEf,cAAc,CAACiB;IAAc,CAAC,CAAC;IACvEI,OAAO,CAAClB,QAAQ,CAAC,CAAC,KAAIsB,8BAAe,EAACD,cAAc,CAAC,CAAC,CAAC;IACvDF,OAAO,CAACnB,QAAQ,CAAC,KAAIuB,gCAAiB,EAACF,cAAc,CAAC,CAAC;IACvD,OAAOA,cAAc;EACvB;AACF;AAACG,OAAA,CAAA3B,cAAA,GAAAA,cAAA;AAAArB,eAAA,CA1CYqB,cAAc,WAKV,CAAC4B,eAAI,CAACC,QAAQ,CAAe,CAAC,CAAC;AAAAlD,eAAA,CALnCqB,cAAc,kBAMH,CAAC8B,wBAAa,EAAEC,wBAAa,CAAC;AAAApD,eAAA,CANzCqB,cAAc,aAORgC,kBAAW;AAqC9BC,8BAAgB,CAACC,UAAU,CAAClC,cAAc,CAAC"}
|
1
|
+
{"version":3,"names":["_bootstrap","data","require","_harmony","_cli","_express","_graphql","_diagnostic","_diagnostic2","_diagnostic3","_defineProperty","obj","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","t","i","_toPrimitive","String","r","e","Symbol","toPrimitive","call","TypeError","Number","DiagnosticMain","constructor","diagnosticSlot","register","diagnostic","getDiagnosticData","slots","toArray","reduce","prev","cSlot","aspectId","reports","forEach","diag","diagnosticFn","push","getBitVersion","version","getHarmonyVersion","provider","express","graphql","config","diagnosticMain","DiagnosticRoute","DiagnosticGraphql","exports","Slot","withType","ExpressAspect","GraphqlAspect","MainRuntime","DiagnosticAspect","addRuntime"],"sources":["diagnostic.main.runtime.ts"],"sourcesContent":["import { getHarmonyVersion } from '@teambit/legacy/dist/bootstrap';\n\nimport { Slot, SlotRegistry } from '@teambit/harmony';\nimport { MainRuntime } from '@teambit/cli';\nimport { ExpressAspect, ExpressMain } from '@teambit/express';\nimport { GraphqlAspect, GraphqlMain } from '@teambit/graphql';\nimport { DiagnosticAspect } from './diagnostic.aspect';\nimport { DiagnosticRoute } from './diagnostic.route';\nimport { DiagnosticGraphql } from './diagnostic.graphql';\nimport { Diagnostic } from './diagnostic';\n\nexport type DiagnosticSlot = SlotRegistry<Diagnostic[]>;\n\nexport class DiagnosticMain {\n constructor(\n /** the diagnostic entity slot */\n private diagnosticSlot: DiagnosticSlot\n ) {}\n static slots = [Slot.withType<Diagnostic[]>()];\n static dependencies = [ExpressAspect, GraphqlAspect];\n static runtime = MainRuntime;\n\n register(...diagnostic: Diagnostic[]) {\n this.diagnosticSlot.register(diagnostic);\n }\n\n getDiagnosticData() {\n const slots = this.diagnosticSlot.toArray();\n return slots.reduce((prev, cSlot) => {\n const [aspectId, diagnostic] = cSlot;\n prev[aspectId] = { reports: [] };\n diagnostic.forEach((diag) => {\n const { diagnosticFn } = diag;\n prev[aspectId].reports.push(diagnosticFn());\n });\n return prev;\n }, {});\n }\n\n static getBitVersion() {\n const version = getHarmonyVersion(true);\n return { version };\n }\n\n static async provider(\n [express, graphql]: [ExpressMain, GraphqlMain],\n config: any,\n [diagnosticSlot]: [DiagnosticSlot]\n ) {\n const diagnosticMain = new DiagnosticMain(diagnosticSlot);\n diagnosticMain.register({ diagnosticFn: DiagnosticMain.getBitVersion });\n express.register([new DiagnosticRoute(diagnosticMain)]);\n graphql.register(new DiagnosticGraphql(diagnosticMain));\n return diagnosticMain;\n }\n}\n\nDiagnosticAspect.addRuntime(DiagnosticMain);\n"],"mappings":";;;;;;AAAA,SAAAA,WAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,UAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAE,SAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,QAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA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AAEC,OAAO,CAA6B,EAC9CC,MAAW,EACX,CAACrB,cAAc,CAAmB,EAClC;IACA,MAAMsB,cAAc,GAAG,IAAIxB,cAAc,CAACE,cAAc,CAAC;IACzDsB,cAAc,CAACrB,QAAQ,CAAC;MAAEY,YAAY,EAAEf,cAAc,CAACiB;IAAc,CAAC,CAAC;IACvEI,OAAO,CAAClB,QAAQ,CAAC,CAAC,KAAIsB,8BAAe,EAACD,cAAc,CAAC,CAAC,CAAC;IACvDF,OAAO,CAACnB,QAAQ,CAAC,KAAIuB,gCAAiB,EAACF,cAAc,CAAC,CAAC;IACvD,OAAOA,cAAc;EACvB;AACF;AAACG,OAAA,CAAA3B,cAAA,GAAAA,cAAA;AAAArB,eAAA,CA1CYqB,cAAc,WAKV,CAAC4B,eAAI,CAACC,QAAQ,CAAe,CAAC,CAAC;AAAAlD,eAAA,CALnCqB,cAAc,kBAMH,CAAC8B,wBAAa,EAAEC,wBAAa,CAAC;AAAApD,eAAA,CANzCqB,cAAc,aAORgC,kBAAW;AAqC9BC,8BAAgB,CAACC,UAAU,CAAClC,cAAc,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_express","data","require","_defineProperty","obj","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","t","i","_toPrimitive","String","r","e","Symbol","toPrimitive","call","TypeError","Number","DiagnosticRoute","constructor","diagnosticMain","Verb","READ","req","res","diagnosticData","getDiagnosticData","json","exports"],"sources":["diagnostic.route.ts"],"sourcesContent":["import { Route, Verb, Request, Response } from '@teambit/express';\nimport type { DiagnosticMain } from './diagnostic.main.runtime';\n\nexport class DiagnosticRoute implements Route {\n constructor(readonly diagnosticMain: DiagnosticMain) {}\n\n method = 'GET';\n route = '/_diagnostic';\n verb = Verb.READ;\n\n middlewares = [\n async (req: Request, res: Response) => {\n const diagnosticData = this.diagnosticMain.getDiagnosticData();\n res.json(diagnosticData);\n },\n ];\n}\n"],"mappings":";;;;;;AAAA,SAAA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;EAXqD;AAYxD;AAACG,OAAA,CAAAV,eAAA,GAAAA,eAAA"}
|
1
|
+
{"version":3,"names":["_express","data","require","_defineProperty","obj","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","t","i","_toPrimitive","String","r","e","Symbol","toPrimitive","call","TypeError","Number","DiagnosticRoute","constructor","diagnosticMain","Verb","READ","req","res","diagnosticData","getDiagnosticData","json","exports"],"sources":["diagnostic.route.ts"],"sourcesContent":["import { Route, Verb, Request, Response } from '@teambit/express';\nimport type { DiagnosticMain } from './diagnostic.main.runtime';\n\nexport class DiagnosticRoute implements Route {\n constructor(readonly diagnosticMain: DiagnosticMain) {}\n\n method = 'GET';\n route = '/_diagnostic';\n verb = Verb.READ;\n\n middlewares = [\n async (req: Request, res: Response) => {\n const diagnosticData = this.diagnosticMain.getDiagnosticData();\n res.json(diagnosticData);\n },\n ];\n}\n"],"mappings":";;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAAkE,SAAAE,gBAAAC,GAAA,EAAAC,GAAA,EAAAC,KAAA,IAAAD,GAAA,GAAAE,cAAA,CAAAF,GAAA,OAAAA,GAAA,IAAAD,GAAA,IAAAI,MAAA,CAAAC,cAAA,CAAAL,GAAA,EAAAC,GAAA,IAAAC,KAAA,EAAAA,KAAA,EAAAI,UAAA,QAAAC,YAAA,QAAAC,QAAA,oBAAAR,GAAA,CAAAC,GAAA,IAAAC,KAAA,WAAAF,GAAA;AAAA,SAAAG,eAAAM,CAAA,QAAAC,CAAA,GAAAC,YAAA,CAAAF,CAAA,uCAAAC,CAAA,GAAAA,CAAA,GAAAE,MAAA,CAAAF,CAAA;AAAA,SAAAC,aAAAF,CAAA,EAAAI,CAAA,2BAAAJ,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAK,CAAA,GAAAL,CAAA,CAAAM,MAAA,CAAAC,WAAA,kBAAAF,CAAA,QAAAJ,CAAA,GAAAI,CAAA,CAAAG,IAAA,CAAAR,CAAA,EAAAI,CAAA,uCAAAH,CAAA,SAAAA,CAAA,YAAAQ,SAAA,yEAAAL,CAAA,GAAAD,MAAA,GAAAO,MAAA,EAAAV,CAAA;AAG3D,MAAMW,eAAe,CAAkB;EAC5CC,WAAWA,CAAUC,cAA8B,EAAE;IAAA,KAAhCA,cAA8B,GAA9BA,cAA8B;IAAAvB,eAAA,iBAE1C,KAAK;IAAAA,eAAA,gBACN,cAAc;IAAAA,eAAA,eACfwB,eAAI,CAACC,IAAI;IAAAzB,eAAA,sBAEF,CACZ,OAAO0B,GAAY,EAAEC,GAAa,KAAK;MACrC,MAAMC,cAAc,GAAG,IAAI,CAACL,cAAc,CAACM,iBAAiB,CAAC,CAAC;MAC9DF,GAAG,CAACG,IAAI,CAACF,cAAc,CAAC;IAC1B,CAAC,CACF;EAXqD;AAYxD;AAACG,OAAA,CAAAV,eAAA,GAAAA,eAAA","ignoreList":[]}
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_diagnostic","data","require","_default","exports","default","DiagnosticAspect"],"sources":["index.ts"],"sourcesContent":["import { DiagnosticAspect } from './diagnostic.aspect';\n\nexport type { DiagnosticMain } from './diagnostic.main.runtime';\nexport default DiagnosticAspect;\nexport { DiagnosticAspect };\n"],"mappings":";;;;;;;;;;;;AAAA,SAAAA,YAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,WAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAAuD,IAAAE,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAGxCC,8BAAgB"}
|
1
|
+
{"version":3,"names":["_diagnostic","data","require","_default","exports","default","DiagnosticAspect"],"sources":["index.ts"],"sourcesContent":["import { DiagnosticAspect } from './diagnostic.aspect';\n\nexport type { DiagnosticMain } from './diagnostic.main.runtime';\nexport default DiagnosticAspect;\nexport { DiagnosticAspect };\n"],"mappings":";;;;;;;;;;;;AAAA,SAAAA,YAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,WAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAAuD,IAAAE,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAGxCC,8BAAgB","ignoreList":[]}
|
package/package.json
CHANGED
@@ -1,24 +1,24 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/diagnostic",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.189",
|
4
4
|
"homepage": "https://bit.cloud/teambit/harmony/diagnostic",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"componentId": {
|
7
7
|
"scope": "teambit.harmony",
|
8
8
|
"name": "diagnostic",
|
9
|
-
"version": "1.0.
|
9
|
+
"version": "1.0.189"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"graphql-tag": "2.12.1",
|
13
13
|
"@teambit/harmony": "0.4.6",
|
14
|
-
"@teambit/graphql": "1.0.
|
15
|
-
"@teambit/cli": "0.0.
|
16
|
-
"@teambit/express": "0.0.
|
14
|
+
"@teambit/graphql": "1.0.189",
|
15
|
+
"@teambit/cli": "0.0.856",
|
16
|
+
"@teambit/express": "0.0.955"
|
17
17
|
},
|
18
18
|
"devDependencies": {
|
19
19
|
"@types/mocha": "9.1.0",
|
20
20
|
"chai": "4.3.0",
|
21
|
-
"@teambit/harmony.envs.core-aspect-env": "0.0.
|
21
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.27"
|
22
22
|
},
|
23
23
|
"peerDependencies": {
|
24
24
|
"@teambit/legacy": "1.0.624"
|
File without changes
|