interface
MountAdminOptions
interface MountAdminOptions<Config extends RiduConfigShape> { ... }Public interface MountAdminOptions from @riducms/admin.
targetElement- Existing DOM element that receives the Ridu admin application.
clientFactory() => RiduClient<Config>- Creates the generated, application-specific Fetch client.
adminBasePathstring | undefined- Route prefix used when the admin is not mounted at /admin.
pluginsreadonly AdminPlugin[] | undefined- Statically paired packaged plugins, including fields and routes.
fieldPluginsreadonly FieldPlugin[] | undefined- Application-local field renderers that have no packaged backend pair.
languagesreadonly TranslationLanguage[] | undefined- Statically imported catalogs available to the Go-configured admin languages.
Methods
MountAdminOptions.clientFactory()Creates the generated, application-specific Fetch client.