UNPKG

@jrmc/adonis-attachment

Version:

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

15 lines 525 B
/** * @jrmc/adonis-attachment * * @license MIT * @copyright Jeremy Chaufourier <jeremy@chaufourier.fr> */ import type { Exif, Input } from '../types/input.js'; import type { Converter } from '../types/converter.js'; import { ResolvedAttachmentConfig } from '../define_config.js'; type KnownConverters = Record<string, Converter>; declare const _default: { exif(input: Input, config: ResolvedAttachmentConfig<KnownConverters>): Promise<Exif | undefined>; }; export default _default; //# sourceMappingURL=exif.d.ts.map