@teambit/diagnostic 1.0.257 → 1.0.259

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.257" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.harmony/diagnostic@1.0.259" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -14,342 +14,351 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "ClassSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "diagnostic.main.runtime.ts",
20
- "line": 14,
21
- "character": 1
19
+ "filePath": "index.ts",
20
+ "line": 3,
21
+ "character": 15
22
22
  },
23
- "signature": "class DiagnosticMain",
24
23
  "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",
24
+ "exportNode": {
25
+ "__schema": "ClassSchema",
26
+ "location": {
27
+ "filePath": "diagnostic.main.runtime.ts",
28
+ "line": 14,
29
+ "character": 1
30
+ },
31
+ "signature": "class DiagnosticMain",
32
+ "name": "DiagnosticMain",
33
+ "members": [
34
+ {
35
+ "__schema": "ConstructorSchema",
36
+ "location": {
37
+ "filePath": "diagnostic.main.runtime.ts",
38
+ "line": 15,
39
+ "character": 3
40
+ },
41
+ "signature": "constructor DiagnosticMain(diagnosticSlot: DiagnosticSlot): DiagnosticMain",
42
+ "name": "constructor",
43
+ "params": [
44
+ {
45
+ "__schema": "ParameterSchema",
46
46
  "location": {
47
47
  "filePath": "diagnostic.main.runtime.ts",
48
48
  "line": 17,
49
- "character": 29
49
+ "character": 5
50
+ },
51
+ "name": "diagnosticSlot",
52
+ "type": {
53
+ "__schema": "TypeRefSchema",
54
+ "location": {
55
+ "filePath": "diagnostic.main.runtime.ts",
56
+ "line": 17,
57
+ "character": 29
58
+ },
59
+ "name": "DiagnosticSlot",
60
+ "internalFilePath": "diagnostic.main.runtime.ts"
50
61
  },
51
- "name": "DiagnosticSlot",
52
- "internalFilePath": "diagnostic.main.runtime.ts"
62
+ "isOptional": false,
63
+ "isSpread": false
64
+ }
65
+ ],
66
+ "returnType": {
67
+ "__schema": "ThisTypeSchema",
68
+ "location": {
69
+ "filePath": "diagnostic.main.runtime.ts",
70
+ "line": 14,
71
+ "character": 1
53
72
  },
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
73
+ "name": "DiagnosticMain"
64
74
  },
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
+ "modifiers": []
75
76
  },
76
- "signature": "(property) DiagnosticMain.slots: ((registerFn: () => string) => SlotRegistry<Diagnostic[]>)[]",
77
- "name": "slots",
78
- "type": {
79
- "__schema": "InferenceTypeSchema",
77
+ {
78
+ "__schema": "VariableLikeSchema",
80
79
  "location": {
81
80
  "filePath": "diagnostic.main.runtime.ts",
82
81
  "line": 19,
83
82
  "character": 3
84
83
  },
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
84
+ "signature": "(property) DiagnosticMain.slots: ((registerFn: () => string) => SlotRegistry<Diagnostic[]>)[]",
85
+ "name": "slots",
86
+ "type": {
87
+ "__schema": "InferenceTypeSchema",
88
+ "location": {
89
+ "filePath": "diagnostic.main.runtime.ts",
90
+ "line": 19,
91
+ "character": 3
92
+ },
93
+ "type": "((registerFn: () => string) => SlotRegistry<Diagnostic[]>)[]"
94
+ },
95
+ "isOptional": true,
96
+ "defaultValue": "[Slot.withType<Diagnostic[]>()]"
96
97
  },
97
- "signature": "(property) DiagnosticMain.dependencies: Aspect[]",
98
- "name": "dependencies",
99
- "type": {
100
- "__schema": "InferenceTypeSchema",
98
+ {
99
+ "__schema": "VariableLikeSchema",
101
100
  "location": {
102
101
  "filePath": "diagnostic.main.runtime.ts",
103
102
  "line": 20,
104
103
  "character": 3
105
104
  },
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
105
+ "signature": "(property) DiagnosticMain.dependencies: Aspect[]",
106
+ "name": "dependencies",
107
+ "type": {
108
+ "__schema": "InferenceTypeSchema",
109
+ "location": {
110
+ "filePath": "diagnostic.main.runtime.ts",
111
+ "line": 20,
112
+ "character": 3
113
+ },
114
+ "type": "Aspect[]"
115
+ },
116
+ "isOptional": true,
117
+ "defaultValue": "[ExpressAspect, GraphqlAspect]"
117
118
  },
118
- "signature": "(property) DiagnosticMain.runtime: RuntimeDefinition",
119
- "name": "runtime",
120
- "type": {
121
- "__schema": "InferenceTypeSchema",
119
+ {
120
+ "__schema": "VariableLikeSchema",
122
121
  "location": {
123
122
  "filePath": "diagnostic.main.runtime.ts",
124
123
  "line": 21,
125
124
  "character": 3
126
125
  },
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",
126
+ "signature": "(property) DiagnosticMain.runtime: RuntimeDefinition",
127
+ "name": "runtime",
128
+ "type": {
129
+ "__schema": "InferenceTypeSchema",
144
130
  "location": {
145
131
  "filePath": "diagnostic.main.runtime.ts",
146
- "line": 23,
147
- "character": 12
132
+ "line": 21,
133
+ "character": 3
148
134
  },
149
- "name": "diagnostic",
150
- "type": {
151
- "__schema": "TypeArraySchema",
135
+ "type": "RuntimeDefinition"
136
+ },
137
+ "isOptional": true,
138
+ "defaultValue": "MainRuntime"
139
+ },
140
+ {
141
+ "__schema": "FunctionLikeSchema",
142
+ "location": {
143
+ "filePath": "diagnostic.main.runtime.ts",
144
+ "line": 23,
145
+ "character": 3
146
+ },
147
+ "signature": "(method) DiagnosticMain.register(...diagnostic: Diagnostic[]): void",
148
+ "name": "register",
149
+ "params": [
150
+ {
151
+ "__schema": "ParameterSchema",
152
152
  "location": {
153
153
  "filePath": "diagnostic.main.runtime.ts",
154
154
  "line": 23,
155
- "character": 27
155
+ "character": 12
156
156
  },
157
+ "name": "diagnostic",
157
158
  "type": {
158
- "__schema": "TypeRefSchema",
159
+ "__schema": "TypeArraySchema",
159
160
  "location": {
160
161
  "filePath": "diagnostic.main.runtime.ts",
161
162
  "line": 23,
162
163
  "character": 27
163
164
  },
164
- "name": "Diagnostic",
165
- "internalFilePath": "diagnostic.ts"
166
- }
165
+ "type": {
166
+ "__schema": "TypeRefSchema",
167
+ "location": {
168
+ "filePath": "diagnostic.main.runtime.ts",
169
+ "line": 23,
170
+ "character": 27
171
+ },
172
+ "name": "Diagnostic",
173
+ "internalFilePath": "diagnostic.ts"
174
+ }
175
+ },
176
+ "isOptional": false,
177
+ "isSpread": true
178
+ }
179
+ ],
180
+ "returnType": {
181
+ "__schema": "InferenceTypeSchema",
182
+ "location": {
183
+ "filePath": "diagnostic.main.runtime.ts",
184
+ "line": 23,
185
+ "character": 3
167
186
  },
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
187
+ "type": "void"
178
188
  },
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
+ "modifiers": []
189
190
  },
190
- "signature": "(method) DiagnosticMain.getDiagnosticData(): {}",
191
- "name": "getDiagnosticData",
192
- "params": [],
193
- "returnType": {
194
- "__schema": "InferenceTypeSchema",
191
+ {
192
+ "__schema": "FunctionLikeSchema",
195
193
  "location": {
196
194
  "filePath": "diagnostic.main.runtime.ts",
197
195
  "line": 27,
198
196
  "character": 3
199
197
  },
200
- "type": "{}"
201
- },
202
- "modifiers": []
203
- },
204
- {
205
- "__schema": "FunctionLikeSchema",
206
- "location": {
207
- "filePath": "diagnostic.main.runtime.ts",
208
- "line": 40,
209
- "character": 3
198
+ "signature": "(method) DiagnosticMain.getDiagnosticData(): {}",
199
+ "name": "getDiagnosticData",
200
+ "params": [],
201
+ "returnType": {
202
+ "__schema": "InferenceTypeSchema",
203
+ "location": {
204
+ "filePath": "diagnostic.main.runtime.ts",
205
+ "line": 27,
206
+ "character": 3
207
+ },
208
+ "type": "{}"
209
+ },
210
+ "modifiers": []
210
211
  },
211
- "signature": "(method) DiagnosticMain.getBitVersion(): {\n version: any;\n}",
212
- "name": "getBitVersion",
213
- "params": [],
214
- "returnType": {
215
- "__schema": "InferenceTypeSchema",
212
+ {
213
+ "__schema": "FunctionLikeSchema",
216
214
  "location": {
217
215
  "filePath": "diagnostic.main.runtime.ts",
218
216
  "line": 40,
219
217
  "character": 3
220
218
  },
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",
219
+ "signature": "(method) DiagnosticMain.getBitVersion(): {\n version: any;\n}",
220
+ "name": "getBitVersion",
221
+ "params": [],
222
+ "returnType": {
223
+ "__schema": "InferenceTypeSchema",
239
224
  "location": {
240
225
  "filePath": "diagnostic.main.runtime.ts",
241
- "line": 46,
242
- "character": 5
226
+ "line": 40,
227
+ "character": 3
243
228
  },
244
- "name": "[ express, graphql ]",
245
- "type": {
246
- "__schema": "TupleTypeSchema",
229
+ "type": "{\n version: any;\n}"
230
+ },
231
+ "modifiers": [
232
+ "static"
233
+ ]
234
+ },
235
+ {
236
+ "__schema": "FunctionLikeSchema",
237
+ "location": {
238
+ "filePath": "diagnostic.main.runtime.ts",
239
+ "line": 45,
240
+ "character": 3
241
+ },
242
+ "signature": "(method) DiagnosticMain.provider([express, graphql]: [ExpressMain, GraphqlMain], config: any, [diagnosticSlot]: [DiagnosticSlot]): Promise<DiagnosticMain>",
243
+ "name": "provider",
244
+ "params": [
245
+ {
246
+ "__schema": "ParameterSchema",
247
247
  "location": {
248
248
  "filePath": "diagnostic.main.runtime.ts",
249
249
  "line": 46,
250
- "character": 25
250
+ "character": 5
251
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
- }
252
+ "name": "[ express, graphql ]",
253
+ "type": {
254
+ "__schema": "TupleTypeSchema",
255
+ "location": {
256
+ "filePath": "diagnostic.main.runtime.ts",
257
+ "line": 46,
258
+ "character": 25
265
259
  },
266
- {
267
- "__schema": "TypeRefSchema",
268
- "location": {
269
- "filePath": "diagnostic.main.runtime.ts",
270
- "line": 46,
271
- "character": 39
260
+ "elements": [
261
+ {
262
+ "__schema": "TypeRefSchema",
263
+ "location": {
264
+ "filePath": "diagnostic.main.runtime.ts",
265
+ "line": 46,
266
+ "character": 26
267
+ },
268
+ "name": "ExpressMain",
269
+ "componentId": {
270
+ "scope": "teambit.harmony",
271
+ "name": "express"
272
+ }
272
273
  },
273
- "name": "GraphqlMain",
274
- "componentId": {
275
- "scope": "teambit.harmony",
276
- "name": "graphql"
274
+ {
275
+ "__schema": "TypeRefSchema",
276
+ "location": {
277
+ "filePath": "diagnostic.main.runtime.ts",
278
+ "line": 46,
279
+ "character": 39
280
+ },
281
+ "name": "GraphqlMain",
282
+ "componentId": {
283
+ "scope": "teambit.harmony",
284
+ "name": "graphql"
285
+ }
277
286
  }
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
287
+ ]
288
+ },
289
+ "isOptional": false,
290
+ "isSpread": false
290
291
  },
291
- "name": "config",
292
- "type": {
293
- "__schema": "KeywordTypeSchema",
292
+ {
293
+ "__schema": "ParameterSchema",
294
294
  "location": {
295
295
  "filePath": "diagnostic.main.runtime.ts",
296
296
  "line": 47,
297
- "character": 13
297
+ "character": 5
298
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
299
+ "name": "config",
300
+ "type": {
301
+ "__schema": "KeywordTypeSchema",
302
+ "location": {
303
+ "filePath": "diagnostic.main.runtime.ts",
304
+ "line": 47,
305
+ "character": 13
306
+ },
307
+ "name": "any"
308
+ },
309
+ "isOptional": false,
310
+ "isSpread": false
310
311
  },
311
- "name": "[ diagnosticSlot ]",
312
- "type": {
313
- "__schema": "TupleTypeSchema",
312
+ {
313
+ "__schema": "ParameterSchema",
314
314
  "location": {
315
315
  "filePath": "diagnostic.main.runtime.ts",
316
316
  "line": 48,
317
- "character": 23
317
+ "character": 5
318
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
- ]
319
+ "name": "[ diagnosticSlot ]",
320
+ "type": {
321
+ "__schema": "TupleTypeSchema",
322
+ "location": {
323
+ "filePath": "diagnostic.main.runtime.ts",
324
+ "line": 48,
325
+ "character": 23
326
+ },
327
+ "elements": [
328
+ {
329
+ "__schema": "TypeRefSchema",
330
+ "location": {
331
+ "filePath": "diagnostic.main.runtime.ts",
332
+ "line": 48,
333
+ "character": 24
334
+ },
335
+ "name": "DiagnosticSlot",
336
+ "internalFilePath": "diagnostic.main.runtime.ts"
337
+ }
338
+ ]
339
+ },
340
+ "isOptional": false,
341
+ "isSpread": false
342
+ }
343
+ ],
344
+ "returnType": {
345
+ "__schema": "InferenceTypeSchema",
346
+ "location": {
347
+ "filePath": "diagnostic.main.runtime.ts",
348
+ "line": 45,
349
+ "character": 3
331
350
  },
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
351
+ "type": "Promise<DiagnosticMain>"
342
352
  },
343
- "type": "Promise<DiagnosticMain>"
344
- },
345
- "modifiers": [
346
- "static",
347
- "async"
348
- ]
349
- }
350
- ],
351
- "extendsNodes": [],
352
- "implementNodes": []
353
+ "modifiers": [
354
+ "static",
355
+ "async"
356
+ ]
357
+ }
358
+ ],
359
+ "extendsNodes": [],
360
+ "implementNodes": []
361
+ }
353
362
  },
354
363
  {
355
364
  "__schema": "UnImplementedSchema",
@@ -362,30 +371,39 @@
362
371
  "type": "Identifier"
363
372
  },
364
373
  {
365
- "__schema": "VariableLikeSchema",
374
+ "__schema": "ExportSchema",
366
375
  "location": {
367
- "filePath": "diagnostic.aspect.ts",
368
- "line": 3,
369
- "character": 14
376
+ "filePath": "index.ts",
377
+ "line": 5,
378
+ "character": 10
370
379
  },
371
- "signature": "const DiagnosticAspect: Aspect",
372
380
  "name": "DiagnosticAspect",
373
- "type": {
374
- "__schema": "TypeRefSchema",
381
+ "exportNode": {
382
+ "__schema": "VariableLikeSchema",
375
383
  "location": {
376
384
  "filePath": "diagnostic.aspect.ts",
377
385
  "line": 3,
378
386
  "character": 14
379
387
  },
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})"
388
+ "signature": "const DiagnosticAspect: Aspect",
389
+ "name": "DiagnosticAspect",
390
+ "type": {
391
+ "__schema": "TypeRefSchema",
392
+ "location": {
393
+ "filePath": "diagnostic.aspect.ts",
394
+ "line": 3,
395
+ "character": 14
396
+ },
397
+ "name": "Aspect",
398
+ "componentId": {
399
+ "scope": "teambit.harmony",
400
+ "name": "harmony",
401
+ "version": "0.4.6"
402
+ }
403
+ },
404
+ "isOptional": false,
405
+ "defaultValue": "Aspect.create({\n id: 'teambit.harmony/diagnostic',\n})"
406
+ }
389
407
  }
390
408
  ],
391
409
  "internals": []
@@ -836,7 +854,7 @@
836
854
  "componentId": {
837
855
  "scope": "teambit.harmony",
838
856
  "name": "diagnostic",
839
- "version": "1.0.257"
857
+ "version": "1.0.259"
840
858
  },
841
859
  "taggedModuleExports": []
842
860
  }
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@teambit/diagnostic",
3
- "version": "1.0.257",
3
+ "version": "1.0.259",
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.257"
9
+ "version": "1.0.259"
10
10
  },
11
11
  "dependencies": {
12
12
  "graphql-tag": "2.12.1",
13
13
  "@teambit/harmony": "0.4.6",
14
- "@teambit/graphql": "1.0.257",
15
- "@teambit/cli": "0.0.862",
16
- "@teambit/express": "0.0.961"
14
+ "@teambit/graphql": "1.0.259",
15
+ "@teambit/cli": "0.0.863",
16
+ "@teambit/express": "0.0.962"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@types/mocha": "9.1.0",