UNPKG

@jrmc/adonis-attachment

Version:

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

14 lines 514 B
/** * @jrmc/adonis-attachment * * @license MIT * @copyright Jeremy Chaufourier <jeremy@chaufourier.fr> */ import type { ConverterAttributes } from '../types/converter.js'; import type { Input } from '../types/input.js'; import Converter from './converter.js'; export default class DocumentThumbnailConverter extends Converter { handle({ input, options }: ConverterAttributes): Promise<Input>; documentToImage(input: Input): Promise<string>; } //# sourceMappingURL=document_thumbnail_converter.d.ts.map