@gapi/core 1.8.179 → 1.8.181
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/dist/index.js +0 -2
- package/dist/tokens.d.ts +0 -2
- package/dist/tokens.js +0 -6
- package/package.json +5 -6
- package/src/index.ts +0 -2
- package/src/tokens.ts +0 -8
package/dist/index.js
CHANGED
|
@@ -22,7 +22,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
22
22
|
var CoreModule_1;
|
|
23
23
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
24
|
exports.PubSubEngine = exports.isSpecifiedScalarType = exports.extendSchema = exports.buildSchema = exports.withFilter = exports.GeoJSON = exports.CoreModule = void 0;
|
|
25
|
-
const daemon_1 = require("@gapi/daemon");
|
|
26
25
|
const core_1 = require("@rxdi/core");
|
|
27
26
|
const graphql_1 = require("@rxdi/graphql");
|
|
28
27
|
const graphql_pubsub_1 = require("@rxdi/graphql-pubsub");
|
|
@@ -39,7 +38,6 @@ let CoreModule = CoreModule_1 = class CoreModule {
|
|
|
39
38
|
hapi_1.HapiModule.forRoot(Object.assign(Object.assign({}, tokens_1.DEFAULT_CONFIG.server), config.server)),
|
|
40
39
|
graphql_1.GraphQLModule.forRoot(Object.assign(Object.assign({}, tokens_1.DEFAULT_CONFIG.graphql), config.graphql)),
|
|
41
40
|
graphql_pubsub_1.GraphQLPubSubModule.forRoot(config.pubsub),
|
|
42
|
-
daemon_1.DaemonModule.forRoot(config.daemon),
|
|
43
41
|
],
|
|
44
42
|
};
|
|
45
43
|
}
|
package/dist/tokens.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { DaemonConfig } from '@gapi/daemon';
|
|
2
1
|
import { InjectionToken } from '@rxdi/core';
|
|
3
2
|
import { GRAPHQL_PLUGIN_CONFIG } from '@rxdi/graphql';
|
|
4
3
|
import { GRAPHQL_PUB_SUB_DI_CONFIG } from '@rxdi/graphql-pubsub';
|
|
@@ -9,6 +8,5 @@ export interface CoreModuleConfig {
|
|
|
9
8
|
server?: HapiConfigModel;
|
|
10
9
|
graphql?: GRAPHQL_PLUGIN_CONFIG;
|
|
11
10
|
pubsub?: GRAPHQL_PUB_SUB_DI_CONFIG;
|
|
12
|
-
daemon?: DaemonConfig;
|
|
13
11
|
}
|
|
14
12
|
export declare const DEFAULT_CONFIG: CoreModuleConfig;
|
package/dist/tokens.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gapi/core",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.181",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/Stradivario/gapi.git"
|
|
@@ -25,11 +25,10 @@
|
|
|
25
25
|
"url": "https://github.com/Stradivario/gapi/issues"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@
|
|
29
|
-
"@rxdi/
|
|
30
|
-
"@rxdi/graphql": "^0.7.
|
|
31
|
-
"@rxdi/
|
|
32
|
-
"@rxdi/hapi": "^0.7.200",
|
|
28
|
+
"@rxdi/core": "^0.7.202",
|
|
29
|
+
"@rxdi/graphql": "^0.7.202",
|
|
30
|
+
"@rxdi/graphql-pubsub": "^0.7.202",
|
|
31
|
+
"@rxdi/hapi": "^0.7.202",
|
|
33
32
|
"graphql": "^16.12.0"
|
|
34
33
|
},
|
|
35
34
|
"main": "./dist/index.js",
|
package/src/index.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { DaemonModule } from '@gapi/daemon';
|
|
2
1
|
import { Module, ModuleWithServices } from '@rxdi/core';
|
|
3
2
|
import { GraphQLModule } from '@rxdi/graphql';
|
|
4
3
|
import { GraphQLPubSubModule } from '@rxdi/graphql-pubsub';
|
|
@@ -18,7 +17,6 @@ export class CoreModule {
|
|
|
18
17
|
HapiModule.forRoot({ ...DEFAULT_CONFIG.server, ...config.server }),
|
|
19
18
|
GraphQLModule.forRoot({ ...DEFAULT_CONFIG.graphql, ...config.graphql }),
|
|
20
19
|
GraphQLPubSubModule.forRoot(config.pubsub),
|
|
21
|
-
DaemonModule.forRoot(config.daemon),
|
|
22
20
|
],
|
|
23
21
|
};
|
|
24
22
|
}
|
package/src/tokens.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { DaemonConfig } from '@gapi/daemon';
|
|
2
1
|
import { InjectionToken } from '@rxdi/core';
|
|
3
2
|
import { GRAPHQL_PLUGIN_CONFIG } from '@rxdi/graphql';
|
|
4
3
|
import { GRAPHQL_PUB_SUB_DI_CONFIG } from '@rxdi/graphql-pubsub';
|
|
@@ -13,7 +12,6 @@ export interface CoreModuleConfig {
|
|
|
13
12
|
server?: HapiConfigModel;
|
|
14
13
|
graphql?: GRAPHQL_PLUGIN_CONFIG;
|
|
15
14
|
pubsub?: GRAPHQL_PUB_SUB_DI_CONFIG;
|
|
16
|
-
daemon?: DaemonConfig;
|
|
17
15
|
}
|
|
18
16
|
|
|
19
17
|
export const DEFAULT_CONFIG: CoreModuleConfig = {
|
|
@@ -30,11 +28,5 @@ export const DEFAULT_CONFIG: CoreModuleConfig = {
|
|
|
30
28
|
graphqlOptions: {
|
|
31
29
|
schema: null,
|
|
32
30
|
},
|
|
33
|
-
altair: {
|
|
34
|
-
enabled: true,
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
daemon: {
|
|
38
|
-
activated: false,
|
|
39
31
|
},
|
|
40
32
|
};
|