/** * Admin Wrapper * * Imports plugin admin modules from the virtual module and passes them * to AdminApp via props. This ensures plugin components are bundled * together with the admin app and available via React context. */ import { AdminApp, type AdminBranding } from "@premium-cms/admin"; import type { Messages } from "@lingui/core"; // @ts-ignore - virtual module generated by integration import { pluginAdmins } from "virtual:emdash/admin-registry"; // @ts-ignore - virtual module generated by integration import { authProviders } from "virtual:emdash/auth-providers"; interface AdminWrapperProps { locale: string; messages: Messages; /** Configured admin white-label branding (logo, site name), read server-side from `admin.astro`. */ adminBranding?: AdminBranding; } export default function AdminWrapper({ locale, messages, adminBranding }: AdminWrapperProps) { return ( ); }