@nestjs/apollo 13.0.2 → 13.0.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/decorators/plugin.decorator.d.ts +2 -0
- package/dist/decorators/plugin.decorator.d.ts.map +1 -1
- package/dist/decorators/plugin.decorator.js +2 -0
- package/dist/drivers/apollo-federation.driver.d.ts +3 -0
- package/dist/drivers/apollo-federation.driver.d.ts.map +1 -1
- package/dist/drivers/apollo-federation.driver.js +3 -0
- package/dist/drivers/apollo-gateway.driver.d.ts +3 -0
- package/dist/drivers/apollo-gateway.driver.d.ts.map +1 -1
- package/dist/drivers/apollo-gateway.driver.js +3 -0
- package/dist/drivers/apollo.driver.d.ts +3 -0
- package/dist/drivers/apollo.driver.d.ts.map +1 -1
- package/dist/drivers/apollo.driver.js +3 -0
- package/dist/errors/authentication.error.d.ts +3 -0
- package/dist/errors/authentication.error.d.ts.map +1 -1
- package/dist/errors/authentication.error.js +3 -0
- package/dist/errors/forbidden.error.d.ts +3 -0
- package/dist/errors/forbidden.error.d.ts.map +1 -1
- package/dist/errors/forbidden.error.js +3 -0
- package/dist/errors/user-input.error.d.ts +3 -0
- package/dist/errors/user-input.error.d.ts.map +1 -1
- package/dist/errors/user-input.error.js +3 -0
- package/dist/errors/validation.error.d.ts +3 -0
- package/dist/errors/validation.error.d.ts.map +1 -1
- package/dist/errors/validation.error.js +3 -0
- package/dist/interfaces/apollo-driver-config.interface.d.ts +6 -0
- package/dist/interfaces/apollo-driver-config.interface.d.ts.map +1 -1
- package/dist/interfaces/apollo-gateway-driver-config.interface.d.ts +3 -0
- package/dist/interfaces/apollo-gateway-driver-config.interface.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.decorator.d.ts","sourceRoot":"","sources":["../../lib/decorators/plugin.decorator.ts"],"names":[],"mappings":"AAGA
|
|
1
|
+
{"version":3,"file":"plugin.decorator.d.ts","sourceRoot":"","sources":["../../lib/decorators/plugin.decorator.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,wBAAgB,MAAM,IAAI,cAAc,CAIvC"}
|
|
@@ -3,6 +3,9 @@ import { GraphQLFederationFactory } from '@nestjs/graphql';
|
|
|
3
3
|
import { GraphQLSchema } from 'graphql';
|
|
4
4
|
import { ApolloDriverConfig } from '../interfaces';
|
|
5
5
|
import { ApolloBaseDriver } from './apollo-base.driver';
|
|
6
|
+
/**
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
6
9
|
export declare class ApolloFederationDriver extends ApolloBaseDriver {
|
|
7
10
|
private readonly graphqlFederationFactory;
|
|
8
11
|
private readonly pluginsExplorerService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apollo-federation.driver.d.ts","sourceRoot":"","sources":["../../lib/drivers/apollo-federation.driver.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAU,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,qBACa,sBAAuB,SAAQ,gBAAgB;IAIxD,OAAO,CAAC,QAAQ,CAAC,wBAAwB;IAH3C,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAyB;gBAG7C,wBAAwB,EAAE,wBAAwB,EACnE,gBAAgB,EAAE,gBAAgB;IAMvB,KAAK,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IA4BvD,cAAc,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,aAAa,CAAC;CAG3E"}
|
|
1
|
+
{"version":3,"file":"apollo-federation.driver.d.ts","sourceRoot":"","sources":["../../lib/drivers/apollo-federation.driver.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAU,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD;;GAEG;AACH,qBACa,sBAAuB,SAAQ,gBAAgB;IAIxD,OAAO,CAAC,QAAQ,CAAC,wBAAwB;IAH3C,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAyB;gBAG7C,wBAAwB,EAAE,wBAAwB,EACnE,gBAAgB,EAAE,gBAAgB;IAMvB,KAAK,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IA4BvD,cAAc,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,aAAa,CAAC;CAG3E"}
|
|
@@ -8,6 +8,9 @@ const core_1 = require("@nestjs/core");
|
|
|
8
8
|
const graphql_1 = require("@nestjs/graphql");
|
|
9
9
|
const plugins_explorer_service_1 = require("../services/plugins-explorer.service");
|
|
10
10
|
const apollo_base_driver_1 = require("./apollo-base.driver");
|
|
11
|
+
/**
|
|
12
|
+
* @publicApi
|
|
13
|
+
*/
|
|
11
14
|
let ApolloFederationDriver = class ApolloFederationDriver extends apollo_base_driver_1.ApolloBaseDriver {
|
|
12
15
|
constructor(graphqlFederationFactory, modulesContainer) {
|
|
13
16
|
super();
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { ModulesContainer } from '@nestjs/core';
|
|
2
2
|
import { ApolloGatewayDriverConfig } from '../interfaces';
|
|
3
3
|
import { ApolloBaseDriver } from './apollo-base.driver';
|
|
4
|
+
/**
|
|
5
|
+
* @publicApi
|
|
6
|
+
*/
|
|
4
7
|
export declare class ApolloGatewayDriver extends ApolloBaseDriver<ApolloGatewayDriverConfig> {
|
|
5
8
|
private readonly pluginsExplorerService;
|
|
6
9
|
constructor(modulesContainer: ModulesContainer);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apollo-gateway.driver.d.ts","sourceRoot":"","sources":["../../lib/drivers/apollo-gateway.driver.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAE1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,qBACa,mBAAoB,SAAQ,gBAAgB,CAAC,yBAAyB,CAAC;IAClF,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAyB;gBAEpD,gBAAgB,EAAE,gBAAgB;IAKjC,KAAK,CAAC,OAAO,EAAE,yBAAyB,GAAG,OAAO,CAAC,IAAI,CAAC;IAoBxD,mBAAmB,CAC9B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAC3B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAOxB,cAAc,CAAC,CAAC,EAAE,yBAAyB;CAGnD"}
|
|
1
|
+
{"version":3,"file":"apollo-gateway.driver.d.ts","sourceRoot":"","sources":["../../lib/drivers/apollo-gateway.driver.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAE1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD;;GAEG;AACH,qBACa,mBAAoB,SAAQ,gBAAgB,CAAC,yBAAyB,CAAC;IAClF,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAyB;gBAEpD,gBAAgB,EAAE,gBAAgB;IAKjC,KAAK,CAAC,OAAO,EAAE,yBAAyB,GAAG,OAAO,CAAC,IAAI,CAAC;IAoBxD,mBAAmB,CAC9B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAC3B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAOxB,cAAc,CAAC,CAAC,EAAE,yBAAyB;CAGnD"}
|
|
@@ -8,6 +8,9 @@ const core_1 = require("@nestjs/core");
|
|
|
8
8
|
const graphql_1 = require("@nestjs/graphql");
|
|
9
9
|
const plugins_explorer_service_1 = require("../services/plugins-explorer.service");
|
|
10
10
|
const apollo_base_driver_1 = require("./apollo-base.driver");
|
|
11
|
+
/**
|
|
12
|
+
* @publicApi
|
|
13
|
+
*/
|
|
11
14
|
let ApolloGatewayDriver = class ApolloGatewayDriver extends apollo_base_driver_1.ApolloBaseDriver {
|
|
12
15
|
constructor(modulesContainer) {
|
|
13
16
|
super();
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { ModulesContainer } from '@nestjs/core';
|
|
2
2
|
import { ApolloDriverConfig } from '../interfaces';
|
|
3
3
|
import { ApolloBaseDriver } from './apollo-base.driver';
|
|
4
|
+
/**
|
|
5
|
+
* @publicApi
|
|
6
|
+
*/
|
|
4
7
|
export declare class ApolloDriver extends ApolloBaseDriver {
|
|
5
8
|
private _subscriptionService?;
|
|
6
9
|
private readonly pluginsExplorerService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apollo.driver.d.ts","sourceRoot":"","sources":["../../lib/drivers/apollo.driver.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAOhD,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,qBACa,YAAa,SAAQ,gBAAgB;IAChD,OAAO,CAAC,oBAAoB,CAAC,CAAyB;IACtD,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAyB;gBAEpD,gBAAgB,EAAE,gBAAgB;IAKjC,KAAK,CAAC,OAAO,EAAE,kBAAkB;IA8BjC,cAAc,CAAC,aAAa,EAAE,kBAAkB;IAahD,IAAI;CAIlB"}
|
|
1
|
+
{"version":3,"file":"apollo.driver.d.ts","sourceRoot":"","sources":["../../lib/drivers/apollo.driver.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAOhD,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD;;GAEG;AACH,qBACa,YAAa,SAAQ,gBAAgB;IAChD,OAAO,CAAC,oBAAoB,CAAC,CAAyB;IACtD,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAyB;gBAEpD,gBAAgB,EAAE,gBAAgB;IAKjC,KAAK,CAAC,OAAO,EAAE,kBAAkB;IA8BjC,cAAc,CAAC,aAAa,EAAE,kBAAkB;IAahD,IAAI;CAIlB"}
|
|
@@ -8,6 +8,9 @@ const graphql_1 = require("@nestjs/graphql");
|
|
|
8
8
|
const graphql_2 = require("graphql");
|
|
9
9
|
const plugins_explorer_service_1 = require("../services/plugins-explorer.service");
|
|
10
10
|
const apollo_base_driver_1 = require("./apollo-base.driver");
|
|
11
|
+
/**
|
|
12
|
+
* @publicApi
|
|
13
|
+
*/
|
|
11
14
|
let ApolloDriver = class ApolloDriver extends apollo_base_driver_1.ApolloBaseDriver {
|
|
12
15
|
constructor(modulesContainer) {
|
|
13
16
|
super();
|
|
@@ -4,6 +4,9 @@ import { GraphQLError, GraphQLErrorOptions } from 'graphql';
|
|
|
4
4
|
*
|
|
5
5
|
* "AuthenticationError" class was removed in the latest version of Apollo Server (4.0.0)
|
|
6
6
|
* It was moved to the @nestjs/apollo package to avoid regressions & make migration easier.
|
|
7
|
+
*
|
|
8
|
+
* @publicApi
|
|
9
|
+
*
|
|
7
10
|
*/
|
|
8
11
|
export declare class AuthenticationError extends GraphQLError {
|
|
9
12
|
constructor(message: string, options?: GraphQLErrorOptions);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authentication.error.d.ts","sourceRoot":"","sources":["../../lib/errors/authentication.error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE5D
|
|
1
|
+
{"version":3,"file":"authentication.error.d.ts","sourceRoot":"","sources":["../../lib/errors/authentication.error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE5D;;;;;;;;GAQG;AACH,qBAAa,mBAAoB,SAAQ,YAAY;gBACvC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,mBAAmB;CAS3D"}
|
|
@@ -7,6 +7,9 @@ const graphql_1 = require("graphql");
|
|
|
7
7
|
*
|
|
8
8
|
* "AuthenticationError" class was removed in the latest version of Apollo Server (4.0.0)
|
|
9
9
|
* It was moved to the @nestjs/apollo package to avoid regressions & make migration easier.
|
|
10
|
+
*
|
|
11
|
+
* @publicApi
|
|
12
|
+
*
|
|
10
13
|
*/
|
|
11
14
|
class AuthenticationError extends graphql_1.GraphQLError {
|
|
12
15
|
constructor(message, options) {
|
|
@@ -4,6 +4,9 @@ import { GraphQLError, GraphQLErrorOptions } from 'graphql';
|
|
|
4
4
|
*
|
|
5
5
|
* "ForbiddenError" class was removed in the latest version of Apollo Server (4.0.0)
|
|
6
6
|
* It was moved to the @nestjs/apollo package to avoid regressions & make migration easier.
|
|
7
|
+
*
|
|
8
|
+
* @publicApi
|
|
9
|
+
*
|
|
7
10
|
*/
|
|
8
11
|
export declare class ForbiddenError extends GraphQLError {
|
|
9
12
|
constructor(message: string, options?: GraphQLErrorOptions);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forbidden.error.d.ts","sourceRoot":"","sources":["../../lib/errors/forbidden.error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE5D
|
|
1
|
+
{"version":3,"file":"forbidden.error.d.ts","sourceRoot":"","sources":["../../lib/errors/forbidden.error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE5D;;;;;;;;GAQG;AACH,qBAAa,cAAe,SAAQ,YAAY;gBAClC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,mBAAmB;CAS3D"}
|
|
@@ -7,6 +7,9 @@ const graphql_1 = require("graphql");
|
|
|
7
7
|
*
|
|
8
8
|
* "ForbiddenError" class was removed in the latest version of Apollo Server (4.0.0)
|
|
9
9
|
* It was moved to the @nestjs/apollo package to avoid regressions & make migration easier.
|
|
10
|
+
*
|
|
11
|
+
* @publicApi
|
|
12
|
+
*
|
|
10
13
|
*/
|
|
11
14
|
class ForbiddenError extends graphql_1.GraphQLError {
|
|
12
15
|
constructor(message, options) {
|
|
@@ -4,6 +4,9 @@ import { GraphQLError, GraphQLErrorOptions } from 'graphql';
|
|
|
4
4
|
*
|
|
5
5
|
* "UserInputError" class was removed in the latest version of Apollo Server (4.0.0)
|
|
6
6
|
* It was moved to the @nestjs/apollo package to avoid regressions & make migration easier.
|
|
7
|
+
*
|
|
8
|
+
* @publicApi
|
|
9
|
+
*
|
|
7
10
|
*/
|
|
8
11
|
export declare class UserInputError extends GraphQLError {
|
|
9
12
|
constructor(message: string, options?: GraphQLErrorOptions);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-input.error.d.ts","sourceRoot":"","sources":["../../lib/errors/user-input.error.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE5D
|
|
1
|
+
{"version":3,"file":"user-input.error.d.ts","sourceRoot":"","sources":["../../lib/errors/user-input.error.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE5D;;;;;;;;GAQG;AACH,qBAAa,cAAe,SAAQ,YAAY;gBAClC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,mBAAmB;CAS3D"}
|
|
@@ -8,6 +8,9 @@ const graphql_1 = require("graphql");
|
|
|
8
8
|
*
|
|
9
9
|
* "UserInputError" class was removed in the latest version of Apollo Server (4.0.0)
|
|
10
10
|
* It was moved to the @nestjs/apollo package to avoid regressions & make migration easier.
|
|
11
|
+
*
|
|
12
|
+
* @publicApi
|
|
13
|
+
*
|
|
11
14
|
*/
|
|
12
15
|
class UserInputError extends graphql_1.GraphQLError {
|
|
13
16
|
constructor(message, options) {
|
|
@@ -4,6 +4,9 @@ import { GraphQLError, GraphQLErrorOptions } from 'graphql';
|
|
|
4
4
|
*
|
|
5
5
|
* "ValidationError" class was removed in the latest version of Apollo Server (4.0.0)
|
|
6
6
|
* It was moved to the @nestjs/apollo package to avoid regressions & make migration easier.
|
|
7
|
+
*
|
|
8
|
+
* @publicApi
|
|
9
|
+
*
|
|
7
10
|
*/
|
|
8
11
|
export declare class ValidationError extends GraphQLError {
|
|
9
12
|
constructor(message: string, options?: GraphQLErrorOptions);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.error.d.ts","sourceRoot":"","sources":["../../lib/errors/validation.error.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE5D
|
|
1
|
+
{"version":3,"file":"validation.error.d.ts","sourceRoot":"","sources":["../../lib/errors/validation.error.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE5D;;;;;;;;GAQG;AACH,qBAAa,eAAgB,SAAQ,YAAY;gBACnC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,mBAAmB;CAS3D"}
|
|
@@ -8,6 +8,9 @@ const graphql_1 = require("graphql");
|
|
|
8
8
|
*
|
|
9
9
|
* "ValidationError" class was removed in the latest version of Apollo Server (4.0.0)
|
|
10
10
|
* It was moved to the @nestjs/apollo package to avoid regressions & make migration easier.
|
|
11
|
+
*
|
|
12
|
+
* @publicApi
|
|
13
|
+
*
|
|
11
14
|
*/
|
|
12
15
|
class ValidationError extends graphql_1.GraphQLError {
|
|
13
16
|
constructor(message, options) {
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import { ApolloServerOptionsWithTypeDefs } from '@apollo/server';
|
|
2
2
|
import { ApolloServerPluginLandingPageGraphQLPlaygroundOptions } from '@apollo/server-plugin-landing-page-graphql-playground';
|
|
3
3
|
import { GqlModuleAsyncOptions, GqlModuleOptions, GqlOptionsFactory, SubscriptionConfig } from '@nestjs/graphql';
|
|
4
|
+
/**
|
|
5
|
+
* @publicApi
|
|
6
|
+
*/
|
|
4
7
|
export interface ServerRegistration {
|
|
5
8
|
/**
|
|
6
9
|
* Path to mount GraphQL API
|
|
7
10
|
*/
|
|
8
11
|
path?: string;
|
|
9
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* @publicApi
|
|
15
|
+
*/
|
|
10
16
|
export interface ApolloDriverConfig extends Omit<ApolloServerOptionsWithTypeDefs<any>, 'typeDefs' | 'schema' | 'resolvers' | 'gateway'>, ServerRegistration, GqlModuleOptions {
|
|
11
17
|
/**
|
|
12
18
|
* If enabled, "subscriptions-transport-ws" will be automatically registered.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apollo-driver-config.interface.d.ts","sourceRoot":"","sources":["../../lib/interfaces/apollo-driver-config.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,EAAE,qDAAqD,EAAE,MAAM,uDAAuD,CAAC;AAC9H,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,kBACf,SAAQ,IAAI,CACR,+BAA+B,CAAC,GAAG,CAAC,EACpC,UAAU,GAAG,QAAQ,GAAG,WAAW,GAAG,SAAS,CAChD,EACD,kBAAkB,EAClB,gBAAgB;IAClB;;OAEG;IACH,2BAA2B,CAAC,EAAE,OAAO,CAAC;IAEtC;;OAEG;IACH,aAAa,CAAC,EAAE,kBAAkB,CAAC;IAEnC;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,qDAAqD,CAAC;IAE7E;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC;AAED,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC,kBAAkB,CAAC,CAAC;AAC9E,MAAM,MAAM,uBAAuB,GAAG,qBAAqB,CAAC,kBAAkB,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"apollo-driver-config.interface.d.ts","sourceRoot":"","sources":["../../lib/interfaces/apollo-driver-config.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,EAAE,qDAAqD,EAAE,MAAM,uDAAuD,CAAC;AAC9H,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AAEzB;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,kBACf,SAAQ,IAAI,CACR,+BAA+B,CAAC,GAAG,CAAC,EACpC,UAAU,GAAG,QAAQ,GAAG,WAAW,GAAG,SAAS,CAChD,EACD,kBAAkB,EAClB,gBAAgB;IAClB;;OAEG;IACH,2BAA2B,CAAC,EAAE,OAAO,CAAC;IAEtC;;OAEG;IACH,aAAa,CAAC,EAAE,kBAAkB,CAAC;IAEnC;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,qDAAqD,CAAC;IAE7E;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC;AAED,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC,kBAAkB,CAAC,CAAC;AAC9E,MAAM,MAAM,uBAAuB,GAAG,qBAAqB,CAAC,kBAAkB,CAAC,CAAC"}
|
|
@@ -2,6 +2,9 @@ import { GatewayConfig } from '@apollo/gateway';
|
|
|
2
2
|
import { Type } from '@nestjs/common';
|
|
3
3
|
import { GqlModuleAsyncOptions, GqlOptionsFactory, GraphQLDriver } from '@nestjs/graphql';
|
|
4
4
|
import { ApolloDriverConfig } from './apollo-driver-config.interface';
|
|
5
|
+
/**
|
|
6
|
+
* @publicApi
|
|
7
|
+
*/
|
|
5
8
|
export interface ApolloGatewayDriverConfig<TDriver extends GraphQLDriver = any> {
|
|
6
9
|
/**
|
|
7
10
|
* GraphQL gateway adapter
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apollo-gateway-driver-config.interface.d.ts","sourceRoot":"","sources":["../../lib/interfaces/apollo-gateway-driver-config.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACd,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,WAAW,yBAAyB,CACxC,OAAO,SAAS,aAAa,GAAG,GAAG;IAEnC;;OAEG;IACH,MAAM,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IACvB;;OAEG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB;;OAEG;IACH,MAAM,CAAC,EAAE,IAAI,CACX,kBAAkB,EAChB,UAAU,GACV,WAAW,GACX,SAAS,GACT,WAAW,GACX,2BAA2B,GAC3B,oBAAoB,GACpB,gBAAgB,GAChB,iBAAiB,GACjB,aAAa,GACb,QAAQ,GACR,eAAe,GACf,oBAAoB,GACpB,wBAAwB,GACxB,QAAQ,CACX,CAAC;CACH;AAED,MAAM,MAAM,gCAAgC,GAC1C,iBAAiB,CAAC,yBAAyB,CAAC,CAAC;AAC/C,MAAM,MAAM,8BAA8B,GACxC,qBAAqB,CAAC,yBAAyB,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"apollo-gateway-driver-config.interface.d.ts","sourceRoot":"","sources":["../../lib/interfaces/apollo-gateway-driver-config.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACd,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE;;GAEG;AACH,MAAM,WAAW,yBAAyB,CACxC,OAAO,SAAS,aAAa,GAAG,GAAG;IAEnC;;OAEG;IACH,MAAM,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IACvB;;OAEG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB;;OAEG;IACH,MAAM,CAAC,EAAE,IAAI,CACX,kBAAkB,EAChB,UAAU,GACV,WAAW,GACX,SAAS,GACT,WAAW,GACX,2BAA2B,GAC3B,oBAAoB,GACpB,gBAAgB,GAChB,iBAAiB,GACjB,aAAa,GACb,QAAQ,GACR,eAAe,GACf,oBAAoB,GACpB,wBAAwB,GACxB,QAAQ,CACX,CAAC;CACH;AAED,MAAM,MAAM,gCAAgC,GAC1C,iBAAiB,CAAC,yBAAyB,CAAC,CAAC;AAC/C,MAAM,MAAM,8BAA8B,GACxC,qBAAqB,CAAC,yBAAyB,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestjs/apollo",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.4",
|
|
4
4
|
"description": "Nest - modern, fast, powerful node.js web framework (@apollo)",
|
|
5
5
|
"author": "Kamil Mysliwiec",
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"@apollo/server-plugin-response-cache": "4.1.4",
|
|
28
28
|
"@apollo/subgraph": "2.2.3",
|
|
29
29
|
"@as-integrations/fastify": "2.1.1",
|
|
30
|
-
"@nestjs/common": "11.0.
|
|
31
|
-
"@nestjs/core": "11.0.
|
|
32
|
-
"@nestjs/platform-express": "11.0.
|
|
33
|
-
"@nestjs/platform-fastify": "11.0.
|
|
34
|
-
"@nestjs/testing": "11.0.
|
|
30
|
+
"@nestjs/common": "11.0.12",
|
|
31
|
+
"@nestjs/core": "11.0.12",
|
|
32
|
+
"@nestjs/platform-express": "11.0.12",
|
|
33
|
+
"@nestjs/platform-fastify": "11.0.12",
|
|
34
|
+
"@nestjs/testing": "11.0.12",
|
|
35
35
|
"apollo-cache-inmemory": "1.6.6",
|
|
36
36
|
"apollo-client": "2.6.10",
|
|
37
37
|
"apollo-link-ws": "1.0.20"
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"optional": true
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "706c68938402a0b8f0976d89ce873c7c4f073e3d"
|
|
67
67
|
}
|