import {Type} from '@nestjs/common'; import {ModuleMetadata} from '@nestjs/common/interfaces'; import {Oauth2OptionsFactoryInterface} from "./oauth2-options-factory.interface"; import {OAuth2Options} from "./oauth2-options.type"; export interface Oauth2AsyncOptionsInterface extends Pick { useExisting?: Type; useClass?: Type; useFactory?: (...args: any[]) => Promise | OAuth2Options; inject?: any[]; }