@teambit/diagnostic 1.0.228 → 1.0.229
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 +40 -12
- package/dist/diagnostic.aspect.d.ts +2 -0
- package/dist/diagnostic.d.ts +4 -0
- package/dist/diagnostic.graphql.d.ts +12 -0
- package/dist/diagnostic.main.runtime.d.ts +21 -0
- package/dist/diagnostic.route.d.ts +10 -0
- package/dist/index.d.ts +4 -0
- package/package.json +6 -6
- package/tsconfig.json +1 -13
- /package/dist/{preview-1712805335812.js → preview-1712822929999.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.229" tests="0" failures="0" errors="0" skipped="0"/>
|
4
4
|
</testsuites>
|
package/artifacts/schema.json
CHANGED
@@ -48,7 +48,8 @@
|
|
48
48
|
"line": 17,
|
49
49
|
"character": 29
|
50
50
|
},
|
51
|
-
"name": "DiagnosticSlot"
|
51
|
+
"name": "DiagnosticSlot",
|
52
|
+
"internalFilePath": "diagnostic.main.runtime.ts"
|
52
53
|
},
|
53
54
|
"isOptional": false,
|
54
55
|
"isSpread": false
|
@@ -160,7 +161,8 @@
|
|
160
161
|
"line": 23,
|
161
162
|
"character": 27
|
162
163
|
},
|
163
|
-
"name": "Diagnostic"
|
164
|
+
"name": "Diagnostic",
|
165
|
+
"internalFilePath": "diagnostic.ts"
|
164
166
|
}
|
165
167
|
},
|
166
168
|
"isOptional": false,
|
@@ -255,7 +257,11 @@
|
|
255
257
|
"line": 46,
|
256
258
|
"character": 26
|
257
259
|
},
|
258
|
-
"name": "ExpressMain"
|
260
|
+
"name": "ExpressMain",
|
261
|
+
"componentId": {
|
262
|
+
"scope": "teambit.harmony",
|
263
|
+
"name": "express"
|
264
|
+
}
|
259
265
|
},
|
260
266
|
{
|
261
267
|
"__schema": "TypeRefSchema",
|
@@ -264,7 +270,11 @@
|
|
264
270
|
"line": 46,
|
265
271
|
"character": 39
|
266
272
|
},
|
267
|
-
"name": "GraphqlMain"
|
273
|
+
"name": "GraphqlMain",
|
274
|
+
"componentId": {
|
275
|
+
"scope": "teambit.harmony",
|
276
|
+
"name": "graphql"
|
277
|
+
}
|
268
278
|
}
|
269
279
|
]
|
270
280
|
},
|
@@ -314,7 +324,8 @@
|
|
314
324
|
"line": 48,
|
315
325
|
"character": 24
|
316
326
|
},
|
317
|
-
"name": "DiagnosticSlot"
|
327
|
+
"name": "DiagnosticSlot",
|
328
|
+
"internalFilePath": "diagnostic.main.runtime.ts"
|
318
329
|
}
|
319
330
|
]
|
320
331
|
},
|
@@ -405,6 +416,11 @@
|
|
405
416
|
"character": 30
|
406
417
|
},
|
407
418
|
"name": "SlotRegistry",
|
419
|
+
"componentId": {
|
420
|
+
"scope": "teambit.harmony",
|
421
|
+
"name": "harmony",
|
422
|
+
"version": "0.4.6"
|
423
|
+
},
|
408
424
|
"typeArgs": [
|
409
425
|
{
|
410
426
|
"__schema": "TypeArraySchema",
|
@@ -420,7 +436,8 @@
|
|
420
436
|
"line": 12,
|
421
437
|
"character": 43
|
422
438
|
},
|
423
|
-
"name": "Diagnostic"
|
439
|
+
"name": "Diagnostic",
|
440
|
+
"internalFilePath": "diagnostic.ts"
|
424
441
|
}
|
425
442
|
}
|
426
443
|
]
|
@@ -461,7 +478,8 @@
|
|
461
478
|
"line": 17,
|
462
479
|
"character": 29
|
463
480
|
},
|
464
|
-
"name": "DiagnosticSlot"
|
481
|
+
"name": "DiagnosticSlot",
|
482
|
+
"internalFilePath": "diagnostic.main.runtime.ts"
|
465
483
|
},
|
466
484
|
"isOptional": false,
|
467
485
|
"isSpread": false
|
@@ -573,7 +591,8 @@
|
|
573
591
|
"line": 23,
|
574
592
|
"character": 27
|
575
593
|
},
|
576
|
-
"name": "Diagnostic"
|
594
|
+
"name": "Diagnostic",
|
595
|
+
"internalFilePath": "diagnostic.ts"
|
577
596
|
}
|
578
597
|
},
|
579
598
|
"isOptional": false,
|
@@ -668,7 +687,11 @@
|
|
668
687
|
"line": 46,
|
669
688
|
"character": 26
|
670
689
|
},
|
671
|
-
"name": "ExpressMain"
|
690
|
+
"name": "ExpressMain",
|
691
|
+
"componentId": {
|
692
|
+
"scope": "teambit.harmony",
|
693
|
+
"name": "express"
|
694
|
+
}
|
672
695
|
},
|
673
696
|
{
|
674
697
|
"__schema": "TypeRefSchema",
|
@@ -677,7 +700,11 @@
|
|
677
700
|
"line": 46,
|
678
701
|
"character": 39
|
679
702
|
},
|
680
|
-
"name": "GraphqlMain"
|
703
|
+
"name": "GraphqlMain",
|
704
|
+
"componentId": {
|
705
|
+
"scope": "teambit.harmony",
|
706
|
+
"name": "graphql"
|
707
|
+
}
|
681
708
|
}
|
682
709
|
]
|
683
710
|
},
|
@@ -727,7 +754,8 @@
|
|
727
754
|
"line": 48,
|
728
755
|
"character": 24
|
729
756
|
},
|
730
|
-
"name": "DiagnosticSlot"
|
757
|
+
"name": "DiagnosticSlot",
|
758
|
+
"internalFilePath": "diagnostic.main.runtime.ts"
|
731
759
|
}
|
732
760
|
]
|
733
761
|
},
|
@@ -808,7 +836,7 @@
|
|
808
836
|
"componentId": {
|
809
837
|
"scope": "teambit.harmony",
|
810
838
|
"name": "diagnostic",
|
811
|
-
"version": "1.0.
|
839
|
+
"version": "1.0.229"
|
812
840
|
},
|
813
841
|
"taggedModuleExports": []
|
814
842
|
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { Schema } from '@teambit/graphql';
|
2
|
+
import { DiagnosticMain } from './diagnostic.main.runtime';
|
3
|
+
export declare class DiagnosticGraphql implements Schema {
|
4
|
+
private diagnosticMain;
|
5
|
+
constructor(diagnosticMain: DiagnosticMain);
|
6
|
+
typeDefs: import("graphql").DocumentNode;
|
7
|
+
resolvers: {
|
8
|
+
Query: {
|
9
|
+
_diagnostic: () => {};
|
10
|
+
};
|
11
|
+
};
|
12
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { SlotRegistry } from '@teambit/harmony';
|
2
|
+
import { ExpressMain } from '@teambit/express';
|
3
|
+
import { GraphqlMain } from '@teambit/graphql';
|
4
|
+
import { Diagnostic } from './diagnostic';
|
5
|
+
export type DiagnosticSlot = SlotRegistry<Diagnostic[]>;
|
6
|
+
export declare class DiagnosticMain {
|
7
|
+
/** the diagnostic entity slot */
|
8
|
+
private diagnosticSlot;
|
9
|
+
constructor(
|
10
|
+
/** the diagnostic entity slot */
|
11
|
+
diagnosticSlot: DiagnosticSlot);
|
12
|
+
static slots: ((registerFn: () => string) => SlotRegistry<Diagnostic[]>)[];
|
13
|
+
static dependencies: import("@teambit/harmony").Aspect[];
|
14
|
+
static runtime: import("@teambit/harmony").RuntimeDefinition;
|
15
|
+
register(...diagnostic: Diagnostic[]): void;
|
16
|
+
getDiagnosticData(): {};
|
17
|
+
static getBitVersion(): {
|
18
|
+
version: any;
|
19
|
+
};
|
20
|
+
static provider([express, graphql]: [ExpressMain, GraphqlMain], config: any, [diagnosticSlot]: [DiagnosticSlot]): Promise<DiagnosticMain>;
|
21
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { Route, Verb, Request, Response } from '@teambit/express';
|
2
|
+
import type { DiagnosticMain } from './diagnostic.main.runtime';
|
3
|
+
export declare class DiagnosticRoute implements Route {
|
4
|
+
readonly diagnosticMain: DiagnosticMain;
|
5
|
+
constructor(diagnosticMain: DiagnosticMain);
|
6
|
+
method: string;
|
7
|
+
route: string;
|
8
|
+
verb: Verb;
|
9
|
+
middlewares: ((req: Request, res: Response) => Promise<void>)[];
|
10
|
+
}
|
package/dist/index.d.ts
ADDED
package/package.json
CHANGED
@@ -1,24 +1,24 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/diagnostic",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.229",
|
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.229"
|
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.229",
|
15
|
+
"@teambit/cli": "0.0.862",
|
16
|
+
"@teambit/express": "0.0.961"
|
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.33"
|
22
22
|
},
|
23
23
|
"peerDependencies": {
|
24
24
|
"@teambit/legacy": "1.0.624"
|
package/tsconfig.json
CHANGED
@@ -20,8 +20,7 @@
|
|
20
20
|
"emitDeclarationOnly": true,
|
21
21
|
"strict": true,
|
22
22
|
"strictPropertyInitialization": false,
|
23
|
-
"noImplicitAny": false
|
24
|
-
"composite": true
|
23
|
+
"noImplicitAny": false
|
25
24
|
},
|
26
25
|
"exclude": [
|
27
26
|
"artifacts",
|
@@ -36,16 +35,5 @@
|
|
36
35
|
"include": [
|
37
36
|
"**/*",
|
38
37
|
"**/*.json"
|
39
|
-
],
|
40
|
-
"references": [
|
41
|
-
{
|
42
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_graphql@1.0.228"
|
43
|
-
},
|
44
|
-
{
|
45
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_cli@0.0.861"
|
46
|
-
},
|
47
|
-
{
|
48
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_express@0.0.960"
|
49
|
-
}
|
50
38
|
]
|
51
39
|
}
|
File without changes
|