UNPKG

@jrmc/adonis-attachment

Version:

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

20 lines 578 B
/** * @jrmc/adonis-attachment * * @license MIT * @copyright Jeremy Chaufourier <jeremy@chaufourier.fr> */ import type { ApplicationService } from '@adonisjs/core/types'; import type { AttachmentService } from '../src/types/config.js'; declare module '@adonisjs/core/types' { interface ContainerBindings { 'jrmc.attachment': AttachmentService; } } export default class AttachmentProvider { #private; protected app: ApplicationService; constructor(app: ApplicationService); register(): void; } //# sourceMappingURL=attachment_provider.d.ts.map