1 | import { MetadataScanner, ModuleRef, ModulesContainer } from '@nestjs/core';
|
2 | import { ExternalContextCreator } from '@nestjs/core/helpers/external-context-creator';
|
3 | import { InstanceWrapper } from '@nestjs/core/injector/instance-wrapper';
|
4 | import { Module } from '@nestjs/core/injector/module';
|
5 | import { SerializedGraph } from '@nestjs/core/inspector/serialized-graph';
|
6 | import { SubscriptionOptions } from '../decorators/subscription.decorator';
|
7 | import { AbstractGraphQLDriver } from '../drivers/abstract-graphql.driver';
|
8 | import { GqlModuleOptions } from '../interfaces';
|
9 | import { ResolverMetadata } from '../interfaces/resolver-metadata.interface';
|
10 | import { BaseExplorerService } from './base-explorer.service';
|
11 | export declare class ResolversExplorerService extends BaseExplorerService {
|
12 | private readonly modulesContainer;
|
13 | private readonly metadataScanner;
|
14 | private readonly externalContextCreator;
|
15 | private readonly gqlOptions;
|
16 | private readonly moduleRef;
|
17 | private readonly serializedGraph;
|
18 | private readonly logger;
|
19 | private readonly gqlParamsFactory;
|
20 | private readonly injector;
|
21 | constructor(modulesContainer: ModulesContainer, metadataScanner: MetadataScanner, externalContextCreator: ExternalContextCreator, gqlOptions: GqlModuleOptions, moduleRef: ModuleRef, serializedGraph: SerializedGraph);
|
22 | explore(): any;
|
23 | filterResolvers(gqlAdapter: AbstractGraphQLDriver, wrapper: InstanceWrapper, moduleRef: Module): ResolverMetadata[];
|
24 | createContextCallback<T extends Record<string, any>>(instance: T, prototype: any, wrapper: InstanceWrapper, moduleRef: Module, resolver: ResolverMetadata, isRequestScoped: boolean, transform?: Function): Function;
|
25 | createSubscriptionMetadata(gqlAdapter: AbstractGraphQLDriver, createSubscribeContext: Function, subscriptionOptions: SubscriptionOptions, resolverMetadata: ResolverMetadata, instanceRef: Record<string, any>): {
|
26 | callback: {
|
27 | subscribe: any;
|
28 | resolve: any;
|
29 | };
|
30 | name: string;
|
31 | type: string;
|
32 | methodName: string;
|
33 | };
|
34 | getAllCtors(): Function[];
|
35 | private mapToCtor;
|
36 | private registerContextProvider;
|
37 | private registerFieldMiddlewareIfExists;
|
38 | private getContextId;
|
39 | private assignResolverConstructorUniqueId;
|
40 | }
|
41 |
|
\ | No newline at end of file |