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