@tsed/apollo 7.41.1 → 7.42.0
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/jest.config.js +1 -1
- package/lib/cjs/services/ApolloService.js +13 -6
- package/lib/cjs/services/ApolloService.js.map +1 -1
- package/lib/esm/services/ApolloService.js +15 -8
- package/lib/esm/services/ApolloService.js.map +1 -1
- package/lib/tsconfig.esm.tsbuildinfo +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/interfaces/ApolloSettings.d.ts +8 -2
- package/lib/types/services/ApolloService.d.ts +1 -1
- package/package.json +7 -7
package/jest.config.js
CHANGED
|
@@ -23,6 +23,7 @@ let ApolloService = class ApolloService {
|
|
|
23
23
|
app;
|
|
24
24
|
httpServer;
|
|
25
25
|
httpsServer;
|
|
26
|
+
injector;
|
|
26
27
|
constructor(dataSources) {
|
|
27
28
|
this.dataSources = dataSources;
|
|
28
29
|
}
|
|
@@ -32,9 +33,10 @@ let ApolloService = class ApolloService {
|
|
|
32
33
|
const { dataSources, path, middlewareOptions = {}, server: customServer, ...config } = settings;
|
|
33
34
|
this.logger.info(`Create server with Apollo for: ${id}`);
|
|
34
35
|
this.logger.debug(`options: ${JSON.stringify({ path })}`);
|
|
36
|
+
const plugins = await this.getPlugins(settings);
|
|
35
37
|
const server = await this.createInstance({
|
|
36
38
|
...config,
|
|
37
|
-
plugins
|
|
39
|
+
plugins,
|
|
38
40
|
dataSources: this.createDataSources(dataSources)
|
|
39
41
|
}, customServer);
|
|
40
42
|
if (server) {
|
|
@@ -105,7 +107,6 @@ let ApolloService = class ApolloService {
|
|
|
105
107
|
/**
|
|
106
108
|
* create a new dataSources function to use with apollo server config
|
|
107
109
|
* @param dataSources
|
|
108
|
-
* @param serverConfigSources
|
|
109
110
|
*/
|
|
110
111
|
createDataSources(dataSources) {
|
|
111
112
|
const dataSourcesHash = this.dataSources.reduce((map, instance) => {
|
|
@@ -124,10 +125,9 @@ let ApolloService = class ApolloService {
|
|
|
124
125
|
};
|
|
125
126
|
};
|
|
126
127
|
}
|
|
127
|
-
getPlugins(serverSettings) {
|
|
128
|
+
async getPlugins(serverSettings) {
|
|
128
129
|
const playground = serverSettings.playground || (serverSettings.playground === undefined && process.env.NODE_ENV !== "production");
|
|
129
|
-
|
|
130
|
-
playground ? (0, apollo_server_core_1.ApolloServerPluginLandingPageGraphQLPlayground)() : (0, apollo_server_core_1.ApolloServerPluginLandingPageDisabled)(),
|
|
130
|
+
const result = await this.injector.alter("$alterApolloServerPlugins", [
|
|
131
131
|
this.httpServer &&
|
|
132
132
|
(0, apollo_server_core_1.ApolloServerPluginDrainHttpServer)({
|
|
133
133
|
httpServer: this.httpServer
|
|
@@ -137,7 +137,10 @@ let ApolloService = class ApolloService {
|
|
|
137
137
|
httpServer: this.httpsServer
|
|
138
138
|
}),
|
|
139
139
|
...(serverSettings.plugins || [])
|
|
140
|
-
].filter(Boolean);
|
|
140
|
+
].filter(Boolean), serverSettings);
|
|
141
|
+
return result
|
|
142
|
+
.concat([playground ? (0, apollo_server_core_1.ApolloServerPluginLandingPageLocalDefault)({ embed: true }) : (0, apollo_server_core_1.ApolloServerPluginLandingPageDisabled)()])
|
|
143
|
+
.filter(Boolean);
|
|
141
144
|
}
|
|
142
145
|
};
|
|
143
146
|
tslib_1.__decorate([
|
|
@@ -160,6 +163,10 @@ tslib_1.__decorate([
|
|
|
160
163
|
(0, di_1.Inject)(https_1.default.Server),
|
|
161
164
|
tslib_1.__metadata("design:type", Object)
|
|
162
165
|
], ApolloService.prototype, "httpsServer", void 0);
|
|
166
|
+
tslib_1.__decorate([
|
|
167
|
+
(0, di_1.Inject)(),
|
|
168
|
+
tslib_1.__metadata("design:type", common_1.InjectorService)
|
|
169
|
+
], ApolloService.prototype, "injector", void 0);
|
|
163
170
|
ApolloService = tslib_1.__decorate([
|
|
164
171
|
(0, di_1.Service)(),
|
|
165
172
|
tslib_1.__param(0, (0, di_1.Inject)(constants_1.DATASOURCES_PROVIDERS)),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApolloService.js","sourceRoot":"","sources":["../../../src/services/ApolloService.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"ApolloService.js","sourceRoot":"","sources":["../../../src/services/ApolloService.ts"],"names":[],"mappings":";;;;AAAA,yCAAkE;AAClE,qCAAkD;AAClD,iCAAmD;AACnD,yCAAoC;AAEpC,2DAK4B;AAG5B,wDAAwB;AACxB,0DAA0B;AAC1B,sDAA6D;AAKtD,IAAM,aAAa,GAAnB,MAAM,aAAa;IAgC6B;IA9BrD,YAAY,CAAS;IAGX,MAAM,CAAS;IAEzB;;;;OAIG;IACO,OAAO,GAMb,IAAI,GAAG,EAAE,CAAC;IAGN,GAAG,CAA2B;IAG9B,UAAU,CAAqB;IAG/B,WAAW,CAAsB;IAGjC,QAAQ,CAAkB;IAElC,YAAqD,WAAkB;QAAlB,gBAAW,GAAX,WAAW,CAAO;IAAG,CAAC;IAE3E,KAAK,CAAC,YAAY,CAAC,EAAU,EAAE,QAAwB;QACrD,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE;YACjB,IAAI;gBACF,MAAM,EAAC,WAAW,EAAE,IAAI,EAAE,iBAAiB,GAAG,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,EAAC,GAAG,QAAQ,CAAC;gBAE9F,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,kCAAkC,EAAE,EAAE,CAAC,CAAC;gBACzD,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,YAAY,IAAI,CAAC,SAAS,CAAC,EAAC,IAAI,EAAC,CAAC,EAAE,CAAC,CAAC;gBAExD,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;gBAEhD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,cAAc,CACtC;oBACE,GAAG,MAAM;oBACT,OAA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EAAC,cAAI,CAAC,MAAM,CAAC;;iDACmB;AAEvC;IAAC,IAAA,WAAM,EAAC,eAAK,CAAC,MAAM,CAAC;;kDACoB;AAEzC;IAAC,IAAA,WAAM,GAAE;sCACS,wBAAe;+CAAC;AA9BvB,aAAa;IADzB,IAAA,YAAO,GAAE;IAiCK,mBAAA,IAAA,WAAM,EAAC,iCAAqB,CAAC,CAAA;;GAhC/B,aAAa,CAkLzB;AAlLY,sCAAa"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { __decorate, __metadata, __param } from "tslib";
|
|
2
|
-
import { PlatformApplication } from "@tsed/common";
|
|
2
|
+
import { InjectorService, PlatformApplication } from "@tsed/common";
|
|
3
3
|
import { classOf, nameOf, Store } from "@tsed/core";
|
|
4
4
|
import { Constant, Inject, Service } from "@tsed/di";
|
|
5
5
|
import { Logger } from "@tsed/logger";
|
|
6
|
-
import { ApolloServerPluginDrainHttpServer, ApolloServerPluginLandingPageDisabled,
|
|
6
|
+
import { ApolloServerPluginDrainHttpServer, ApolloServerPluginLandingPageDisabled, ApolloServerPluginLandingPageLocalDefault } from "apollo-server-core";
|
|
7
7
|
import Http from "http";
|
|
8
8
|
import Https from "https";
|
|
9
9
|
import { DATASOURCES_PROVIDERS } from "../constants/constants.js";
|
|
@@ -20,6 +20,7 @@ let ApolloService = class ApolloService {
|
|
|
20
20
|
app;
|
|
21
21
|
httpServer;
|
|
22
22
|
httpsServer;
|
|
23
|
+
injector;
|
|
23
24
|
constructor(dataSources) {
|
|
24
25
|
this.dataSources = dataSources;
|
|
25
26
|
}
|
|
@@ -29,9 +30,10 @@ let ApolloService = class ApolloService {
|
|
|
29
30
|
const { dataSources, path, middlewareOptions = {}, server: customServer, ...config } = settings;
|
|
30
31
|
this.logger.info(`Create server with Apollo for: ${id}`);
|
|
31
32
|
this.logger.debug(`options: ${JSON.stringify({ path })}`);
|
|
33
|
+
const plugins = await this.getPlugins(settings);
|
|
32
34
|
const server = await this.createInstance({
|
|
33
35
|
...config,
|
|
34
|
-
plugins
|
|
36
|
+
plugins,
|
|
35
37
|
dataSources: this.createDataSources(dataSources)
|
|
36
38
|
}, customServer);
|
|
37
39
|
if (server) {
|
|
@@ -102,7 +104,6 @@ let ApolloService = class ApolloService {
|
|
|
102
104
|
/**
|
|
103
105
|
* create a new dataSources function to use with apollo server config
|
|
104
106
|
* @param dataSources
|
|
105
|
-
* @param serverConfigSources
|
|
106
107
|
*/
|
|
107
108
|
createDataSources(dataSources) {
|
|
108
109
|
const dataSourcesHash = this.dataSources.reduce((map, instance) => {
|
|
@@ -121,10 +122,9 @@ let ApolloService = class ApolloService {
|
|
|
121
122
|
};
|
|
122
123
|
};
|
|
123
124
|
}
|
|
124
|
-
getPlugins(serverSettings) {
|
|
125
|
+
async getPlugins(serverSettings) {
|
|
125
126
|
const playground = serverSettings.playground || (serverSettings.playground === undefined && process.env.NODE_ENV !== "production");
|
|
126
|
-
|
|
127
|
-
playground ? ApolloServerPluginLandingPageGraphQLPlayground() : ApolloServerPluginLandingPageDisabled(),
|
|
127
|
+
const result = await this.injector.alter("$alterApolloServerPlugins", [
|
|
128
128
|
this.httpServer &&
|
|
129
129
|
ApolloServerPluginDrainHttpServer({
|
|
130
130
|
httpServer: this.httpServer
|
|
@@ -134,7 +134,10 @@ let ApolloService = class ApolloService {
|
|
|
134
134
|
httpServer: this.httpsServer
|
|
135
135
|
}),
|
|
136
136
|
...(serverSettings.plugins || [])
|
|
137
|
-
].filter(Boolean);
|
|
137
|
+
].filter(Boolean), serverSettings);
|
|
138
|
+
return result
|
|
139
|
+
.concat([playground ? ApolloServerPluginLandingPageLocalDefault({ embed: true }) : ApolloServerPluginLandingPageDisabled()])
|
|
140
|
+
.filter(Boolean);
|
|
138
141
|
}
|
|
139
142
|
};
|
|
140
143
|
__decorate([
|
|
@@ -157,6 +160,10 @@ __decorate([
|
|
|
157
160
|
Inject(Https.Server),
|
|
158
161
|
__metadata("design:type", Object)
|
|
159
162
|
], ApolloService.prototype, "httpsServer", void 0);
|
|
163
|
+
__decorate([
|
|
164
|
+
Inject(),
|
|
165
|
+
__metadata("design:type", InjectorService)
|
|
166
|
+
], ApolloService.prototype, "injector", void 0);
|
|
160
167
|
ApolloService = __decorate([
|
|
161
168
|
Service(),
|
|
162
169
|
__param(0, Inject(DATASOURCES_PROVIDERS)),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApolloService.js","sourceRoot":"","sources":["../../../src/services/ApolloService.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"ApolloService.js","sourceRoot":"","sources":["../../../src/services/ApolloService.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,eAAe,EAAE,mBAAmB,EAAC,MAAM,cAAc,CAAC;AAClE,OAAO,EAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAC,MAAM,YAAY,CAAC;AAClD,OAAO,EAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAC,MAAM,UAAU,CAAC;AACnD,OAAO,EAAC,MAAM,EAAC,MAAM,cAAc,CAAC;AAEpC,OAAO,EAEL,iCAAiC,EACjC,qCAAqC,EACrC,yCAAyC,EAC1C,MAAM,oBAAoB,CAAC;AAG5B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,qBAAqB,EAAC,MAAM,wBAAwB,CAAC;AAKtD,IAAM,aAAa,GAAnB,MAAM,aAAa;IAgC6B;IA9BrD,YAAY,CAAS;IAGX,MAAM,CAAS;IAEzB;;;;OAIG;IACO,OAAO,GAMb,IAAI,GAAG,EAAE,CAAC;IAGN,GAAG,CAA2B;IAG9B,UAAU,CAAqB;IAG/B,WAAW,CAAsB;IAGjC,QAAQ,CAAkB;IAElC,YAAqD,WAAkB;QAAlB,gBAAW,GAAX,WAAW,CAAO;IAAG,CAAC;IAE3E,KAAK,CAAC,YAAY,CAA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