UNPKG

@mongez/gnz

Version:

Generator Z, the next generation of scaffolding tools.

24 lines 782 B
import { MongoDBModelGeneratorOptions } from "./types"; export declare const generate: (options: MongoDBModelGeneratorOptions) => Promise<{ saveTo: string; collection: string; fileName?: string; className?: string; withIndex?: boolean; withMigration?: boolean; outputClass?: string; outputClassPath?: string; defaultValue?: { [key: string]: "string" | "number" | "boolean" | "int" | "float" | "bool" | "date" | "localized"; }; columns?: { [key: string]: "string" | "number" | "boolean" | "int" | "float" | "bool" | "date" | "localized"; }; embedded?: string[]; unique?: string[]; text?: string[]; geo?: string[]; index?: string[]; uniqueId?: boolean; }>; //# sourceMappingURL=generator.d.ts.map