UNPKG

@adonis-agora/media

Version:

Media-library for AdonisJS — owner collections (MIME whitelist, single-file replace, ordering), image conversions (eager/lazy), pluggable content transformers (HLS video via mediabunny, metadata probe, image blur-up placeholder), and column attachments, a

17 lines • 1.05 kB
import type Configure from '@adonisjs/core/commands/configure'; /** * `node ace configure @adonis-agora/media` — auto-wires the package: * * 1. registers the media service provider in `adonisrc.ts`; * 2. registers the dashboard provider — the management console SPA ships embedded in this package * (its built assets are copied in at `pnpm build` time), so this alone is enough to get it; no * separate `@adonis-agora/media-dashboard` install is required; * 3. publishes `config/media.ts` and `config/media_dashboard.ts`; * 4. registers the `@adonis-agora/media/commands` barrel (`media:publish-migration`, …); * 5. publishes the Lucid migrations for the optional `lucid` store and the resumable (TUS) session * store (run `node ace migration:run`; delete either if you only use the in-memory equivalents). * * Requires `@adonisjs/drive` to be installed and configured first (`node ace add @adonisjs/drive`). */ export declare function configure(command: Configure): Promise<void>; //# sourceMappingURL=configure.d.ts.map