@tsed/apollo 6.100.3 → 6.102.2
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.
- package/package.json +7 -7
- package/readme.md +3 -5
- package/tsconfig.compile.esm.json +1 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/apollo",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.102.2",
|
|
4
4
|
"description": "Apollo package for Ts.ED framework",
|
|
5
5
|
"source": "./src/index.ts",
|
|
6
6
|
"main": "./lib/cjs/index.js",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
},
|
|
23
23
|
"private": false,
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@tsed/common": "6.
|
|
26
|
-
"@tsed/core": "6.
|
|
27
|
-
"@tsed/di": "6.
|
|
25
|
+
"@tsed/common": "6.102.2",
|
|
26
|
+
"@tsed/core": "6.102.2",
|
|
27
|
+
"@tsed/di": "6.102.2",
|
|
28
28
|
"@tsed/logger": "^6.0.0",
|
|
29
29
|
"@types/graphql": "14.5.0",
|
|
30
30
|
"apollo-datasource": "^3.2.0",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"graphql": "15.7.2"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@tsed/common": "^6.
|
|
40
|
-
"@tsed/core": "^6.
|
|
41
|
-
"@tsed/di": "^6.
|
|
39
|
+
"@tsed/common": "^6.102.2",
|
|
40
|
+
"@tsed/core": "^6.102.2",
|
|
41
|
+
"@tsed/di": "^6.102.2",
|
|
42
42
|
"@tsed/logger": ">6.0.0",
|
|
43
43
|
"apollo-datasource": ">=3.0.0",
|
|
44
44
|
"apollo-datasource-rest": ">=3.0.0",
|
package/readme.md
CHANGED
|
@@ -58,7 +58,7 @@ import "@tsed/apollo";
|
|
|
58
58
|
|
|
59
59
|
@Configuration({
|
|
60
60
|
apollo: {
|
|
61
|
-
|
|
61
|
+
server1: {
|
|
62
62
|
path: "/",
|
|
63
63
|
schema: {},
|
|
64
64
|
resolvers: []
|
|
@@ -81,9 +81,9 @@ import {ApolloServer} from "apollo-server-express";
|
|
|
81
81
|
export class UsersService implements AfterRoutesInit {
|
|
82
82
|
@Injec()
|
|
83
83
|
apolloService: ApolloService;
|
|
84
|
-
|
|
84
|
+
|
|
85
85
|
private server: ApolloServer;
|
|
86
|
-
|
|
86
|
+
|
|
87
87
|
$afterRoutesInit() {
|
|
88
88
|
this.server = this.apolloService.get("server1");
|
|
89
89
|
}
|
|
@@ -98,14 +98,12 @@ Please read [contributing guidelines here](https://tsed.io/CONTRIBUTING.html)
|
|
|
98
98
|
|
|
99
99
|
<a href="https://github.com/tsedio/ts-express-decorators/graphs/contributors"><img src="https://opencollective.com/tsed/contributors.svg?width=890" /></a>
|
|
100
100
|
|
|
101
|
-
|
|
102
101
|
## Backers
|
|
103
102
|
|
|
104
103
|
Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/tsed#backer)]
|
|
105
104
|
|
|
106
105
|
<a href="https://opencollective.com/tsed#backers" target="_blank"><img src="https://opencollective.com/tsed/backers.svg?width=890"></a>
|
|
107
106
|
|
|
108
|
-
|
|
109
107
|
## Sponsors
|
|
110
108
|
|
|
111
109
|
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/tsed#sponsor)]
|
|
@@ -8,16 +8,5 @@
|
|
|
8
8
|
"declaration": true,
|
|
9
9
|
"declarationDir": "./lib/types"
|
|
10
10
|
},
|
|
11
|
-
"exclude": [
|
|
12
|
-
"node_modules",
|
|
13
|
-
"test",
|
|
14
|
-
"lib",
|
|
15
|
-
"benchmark",
|
|
16
|
-
"coverage",
|
|
17
|
-
"spec",
|
|
18
|
-
"**/*.benchmark.ts",
|
|
19
|
-
"**/*.spec.ts",
|
|
20
|
-
"keys",
|
|
21
|
-
"jest.config.js"
|
|
22
|
-
]
|
|
11
|
+
"exclude": ["node_modules", "test", "lib", "benchmark", "coverage", "spec", "**/*.benchmark.ts", "**/*.spec.ts", "keys", "jest.config.js"]
|
|
23
12
|
}
|