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

16 lines • 1.27 kB
// Config idiom — author `config/media_dashboard.ts` against these. // The built-in "access denied" page (what a browser sees on a refused page navigation). export { CONSOLE as ACCESS_DENIED_CONSOLE, escapeHtml, renderAccessDeniedPage, resolveAccessDeniedPage, } from './access_denied_page.js'; export { anyAuthorize, authorizeByToken, normalizeConsoleAuthorizeResult, resolveConsoleAuthorize, } from './console_authorize.js'; // The Agora console switcher: join it from a console the app mounts itself. export { AGORA_CONSOLES_BINDING, registerAgoraConsole } from './console_switcher.js'; export { defineConfig } from './define_config.js'; // Developer tools for the app's dev MCP endpoint (`@adonis-agora/agent`), when it has one. export { DEV_TOOLS_BINDING, MAX_DELETE_KEYS, mediaDevTools, registerMediaDevTools, } from './dev_tools.js'; // Host-supplied object annotations. export { sanitizeInsight } from './object_insights.js'; // Where the reported object `url` points (store-signed vs. this console's proxy). export { objectProxyUrl } from './object_urls.js'; // Dashboard read/action logic (framework-free — the provider is a thin HTTP shell around this). export { DashboardError, DashboardService } from './service.js'; //# sourceMappingURL=index.js.map