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

37 lines • 1.57 kB
import { MediaConsoleCommand } from '../src/commands/console_command.js'; import type { DashboardService } from '../src/dashboard/service.js'; /** `node ace media:collections:list` — record count and total size per collection. */ export declare class MediaCollectionsList extends MediaConsoleCommand { static commandName: string; static description: string; protected handle(service: DashboardService): Promise<void>; } /** `node ace media:records:list` — stored media records, newest first (one page). */ export declare class MediaRecordsList extends MediaConsoleCommand { static commandName: string; static description: string; collection?: string; ownerType?: string; ownerId?: string; prefix?: string; after?: string; first?: number; sort?: string; protected handle(service: DashboardService): Promise<void>; } /** `node ace media:records:show <id>` — one media record, with a URL per generated conversion. */ export declare class MediaRecordsShow extends MediaConsoleCommand { static commandName: string; static description: string; id: string; protected handle(service: DashboardService): Promise<void>; } /** `node ace media:records:delete <id>` — delete a media record (its files are left on the disk). */ export declare class MediaRecordsDelete extends MediaConsoleCommand { static commandName: string; static description: string; id: string; force: boolean; protected handle(service: DashboardService): Promise<void>; } //# sourceMappingURL=console_records.d.ts.map