@nestjs/apollo 13.2.1 → 13.2.4
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/apollo.constants.d.ts +2 -2
- package/dist/graphiql/graphiql-html.factory.d.ts.map +1 -1
- package/dist/graphiql/graphiql-html.factory.js +2 -0
- package/dist/graphiql/interfaces/graphiql-options.interface.d.ts +7 -0
- package/dist/graphiql/interfaces/graphiql-options.interface.d.ts.map +1 -1
- package/package.json +8 -8
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const PLUGIN_METADATA =
|
|
2
|
-
//# sourceMappingURL=apollo.constants.d.ts.map
|
|
1
|
+
export declare const PLUGIN_METADATA = 'graphql:plugin';
|
|
2
|
+
//# sourceMappingURL=apollo.constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphiql-html.factory.d.ts","sourceRoot":"","sources":["../../lib/graphiql/graphiql-html.factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAE1E,qBAAa,mBAAmB;IAC9B,MAAM,CAAC,OAAO,EAAE,eAAe,GAAG,MAAM;
|
|
1
|
+
{"version":3,"file":"graphiql-html.factory.d.ts","sourceRoot":"","sources":["../../lib/graphiql/graphiql-html.factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAE1E,qBAAa,mBAAmB;IAC9B,MAAM,CAAC,OAAO,EAAE,eAAe,GAAG,MAAM;CA+DzC"}
|
|
@@ -5,6 +5,7 @@ class GraphiQLHTMLFactory {
|
|
|
5
5
|
create(options) {
|
|
6
6
|
const shouldPersistHeaders = options.shouldPersistHeaders ?? true;
|
|
7
7
|
const isHeadersEditorEnabled = options.isHeadersEditorEnabled ?? true;
|
|
8
|
+
const inputValueDeprecation = options.inputValueDeprecation ?? false;
|
|
8
9
|
const headers = options.headers ?? {};
|
|
9
10
|
const url = options.url ?? '/graphql';
|
|
10
11
|
const html = `
|
|
@@ -54,6 +55,7 @@ class GraphiQLHTMLFactory {
|
|
|
54
55
|
defaultEditorToolsVisibility: true,
|
|
55
56
|
shouldPersistHeaders: ${shouldPersistHeaders ? 'true' : 'false'},
|
|
56
57
|
isHeadersEditorEnabled: ${isHeadersEditorEnabled ? 'true' : 'false'},
|
|
58
|
+
inputValueDeprecation: ${inputValueDeprecation ? 'true' : 'false'},
|
|
57
59
|
}),
|
|
58
60
|
document.getElementById('graphiql'),
|
|
59
61
|
);
|
|
@@ -22,5 +22,12 @@ export interface GraphiQLOptions {
|
|
|
22
22
|
* @default true
|
|
23
23
|
*/
|
|
24
24
|
isHeadersEditorEnabled?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* If `true`, the schema documentation will include deprecated input field
|
|
27
|
+
* and argument values. When introspecting the schema, deprecated values
|
|
28
|
+
* will be included.
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
31
|
+
inputValueDeprecation?: boolean;
|
|
25
32
|
}
|
|
26
33
|
//# sourceMappingURL=graphiql-options.interface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphiql-options.interface.d.ts","sourceRoot":"","sources":["../../../lib/graphiql/interfaces/graphiql-options.interface.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;OAGG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"graphiql-options.interface.d.ts","sourceRoot":"","sources":["../../../lib/graphiql/interfaces/graphiql-options.interface.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;OAGG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestjs/apollo",
|
|
3
|
-
"version": "13.2.
|
|
3
|
+
"version": "13.2.4",
|
|
4
4
|
"description": "Nest - modern, fast, powerful node.js web framework (@apollo)",
|
|
5
5
|
"author": "Kamil Mysliwiec",
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"@apollo/server-plugin-response-cache": "5.0.0",
|
|
28
28
|
"@apollo/subgraph": "2.11.2",
|
|
29
29
|
"@as-integrations/express5": "^1.1.2",
|
|
30
|
-
"@as-integrations/fastify": "3.
|
|
31
|
-
"@nestjs/common": "11.1.
|
|
32
|
-
"@nestjs/core": "11.1.
|
|
33
|
-
"@nestjs/platform-express": "11.1.
|
|
34
|
-
"@nestjs/platform-fastify": "11.1.
|
|
35
|
-
"@nestjs/testing": "11.1.
|
|
30
|
+
"@as-integrations/fastify": "3.1.0",
|
|
31
|
+
"@nestjs/common": "11.1.13",
|
|
32
|
+
"@nestjs/core": "11.1.13",
|
|
33
|
+
"@nestjs/platform-express": "11.1.13",
|
|
34
|
+
"@nestjs/platform-fastify": "11.1.13",
|
|
35
|
+
"@nestjs/testing": "11.1.13",
|
|
36
36
|
"apollo-cache-inmemory": "1.6.6",
|
|
37
37
|
"apollo-client": "2.6.10",
|
|
38
38
|
"apollo-link-ws": "1.0.20"
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"optional": true
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "2ef9dee23dd8e3c06c94567d02dc1c6fe6cfe0e3"
|
|
71
71
|
}
|