ApolloModule
@tsed/apollo
Usage
typescript
import { ApolloModule } from "@tsed/apollo";
Overview
ts
class ApolloModule implements OnRoutesInit, AfterListen {
protected logger: Logger;
protected service: ApolloService;
protected configuration: PlatformConfiguration;
protected injector: InjectorService;
get settings(): {
[key: string]: ApolloSettings;
} | undefined;
$onRoutesInit(): Promise<void>;
$afterListen(): Promise<any> | void;
}
protected logger
ts
protected logger: Logger;
protected service
ts
protected service: ApolloService;
protected configuration
ts
protected configuration: PlatformConfiguration;
protected injector
ts
protected injector: InjectorService;
get settings
ts
get settings(): {
[key: string]: ApolloSettings;
} | undefined;
$onRoutesInit
ts
$onRoutesInit(): Promise<void>;
$afterListen
ts
$afterListen(): Promise<any> | void;