@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 • 647 B
TypeScript
import { BaseCommand } from '@adonisjs/core/ace';
import type { CommandOptions } from '@adonisjs/core/types/ace';
/**
* `node ace media:tenancy:backfill --owner-type=Organization` — stamp `tenant_id` on stored files
* that have none and whose owner is the tenant itself (`tenant_id = owner_id`). Lucid store only.
*/
export default class MediaTenancyBackfill extends BaseCommand {
static commandName: string;
static description: string;
static options: CommandOptions;
ownerType: string;
table: string;
connection: string;
dryRun: boolean;
run(): Promise<void>;
}
//# sourceMappingURL=tenancy_backfill.d.ts.map