@tunnel-cast/nestjs
Version:
## About This is a Tunnel-Cast - NestJS integration package, wrap the `cast` application into the `NestJS` building blocks.
14 lines (13 loc) • 361 B
TypeScript
import { Type } from "@nestjs/common";
export interface AsyncModelFactory {
}
export interface CastModuleFactoryParameters {
models: Array<{
name: string;
model: Type<any>;
}>;
castError: Type<Error>;
transformError: Function;
}
export interface CastModuleOptions extends Partial<Omit<CastModuleFactoryParameters, "models">> {
}