1 | import { DynamicModule, OnModuleDestroy, OnModuleInit } from '@nestjs/common/interfaces';
|
2 | import { HttpAdapterHost } from '@nestjs/core';
|
3 | import { AbstractGraphQLDriver } from './drivers/abstract-graphql.driver';
|
4 | import { GraphQLSchemaHost } from './graphql-schema.host';
|
5 | import { GraphQLTypesLoader } from './graphql-types.loader';
|
6 | import { GqlModuleAsyncOptions, GqlModuleOptions, GqlOptionsFactory } from './interfaces/gql-module-options.interface';
|
7 | export declare class GraphQLModule<TAdapter extends AbstractGraphQLDriver = AbstractGraphQLDriver> implements OnModuleInit, OnModuleDestroy {
|
8 | private readonly httpAdapterHost;
|
9 | private readonly options;
|
10 | private readonly _graphQlAdapter;
|
11 | private readonly graphQlTypesLoader;
|
12 | private readonly gqlSchemaHost;
|
13 | private static readonly logger;
|
14 | private readonly metadataLoader;
|
15 | get graphQlAdapter(): TAdapter;
|
16 | constructor(httpAdapterHost: HttpAdapterHost, options: GqlModuleOptions, _graphQlAdapter: AbstractGraphQLDriver, graphQlTypesLoader: GraphQLTypesLoader, gqlSchemaHost: GraphQLSchemaHost);
|
17 | onModuleDestroy(): Promise<void>;
|
18 | static forRoot<TOptions extends Record<string, any> = GqlModuleOptions>(options?: TOptions): DynamicModule;
|
19 | static forRootAsync<TOptions extends Record<string, any> = GqlModuleOptions>(options: GqlModuleAsyncOptions<TOptions, GqlOptionsFactory<TOptions>>): DynamicModule;
|
20 | private static createAsyncProviders;
|
21 | private static createAsyncOptionsProvider;
|
22 | onModuleInit(): Promise<void>;
|
23 | private static assertDriver;
|
24 | }
|
25 | //# sourceMappingURL=graphql.module.d.ts.map |
\ | No newline at end of file |