function
validateAdminConfig
Check admin registrations against Ridu's resolved Go schema. Used by Ridu's build tooling and admin startup; application authors normally run ridu check instead. Set completeManifest only with the full schema from Go: runtime schemas can omit resources the current user cannot access, so absence there does not prove a typo. Throws with the affected registration or field when a selection/config is invalid.
Arguments
| Argument | Type | Description |
|---|---|---|
config | AdminConfig | The config value. |
manifest | Pick< | The manifest value. |
options | { completeManifest?: boolean; } | The options value. |
Returns
The declared result.
voidFull signature
function validateAdminConfig(
config: AdminConfig,
manifest: Pick<
SchemaManifest,
"collections" | "globals" | "blocks",
> & Partial<Pick<SchemaManifest, "plugins">>,
options?: { completeManifest?: boolean; },
): voidRelated types
AdminConfigSettings exported from admin/src/admin.config.ts to customize one application’s admin.