UNPKG

@jrmc/adonis-attachment

Version:

Turn any field on your Lucid model to an attachment data type

30 lines 583 B
/** * @jrmc/adonis-attachment * * @license MIT * @copyright Jeremy Chaufourier <jeremy@chaufourier.fr> */ export type Exif = { orientation?: { value: number; description?: string; }; date?: string; host?: string; gps?: { latitude?: number; longitude?: number; altitude?: number; }; dimension?: { width: number; height: number; }; }; export type Meta = { extname: string; mimeType: string; size: number; }; export type Input = Buffer | string; //# sourceMappingURL=input.d.ts.map