import { Model } from "@mongez/monpulse"; import { GenericObject } from "@mongez/reinforcements"; import { Output } from "./output"; /** * Built in casts */ export type OutputCastType = "string" | "number" | "boolean" | "object" | "array" | "float" | "integer" | "int" | "double" | "date" | "birthDate" | "url" | "any" | "location" | "mixed" | "localized" | "uploadsUrl" | "publicUrl" | "assetsUrl"; export type OutputValue = OutputCastType | typeof Output | ((value: any) => Promise | any); /** * Advanced output transformer */ export type OutputTransformer = { transformer: (value: any) => Promise | any; settings?: any; }; /** * final output */ export type FinalOutput = Record; /** * Allowed output data resource */ export type OutputResource = GenericObject | typeof Model | typeof Output; //# sourceMappingURL=types.d.ts.map