function
validateAdminManifest
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 | ResolvedAdminConfig | The config value. |
manifest | Pick< | The manifest value. |
options | { completeManifest?: boolean; } | The options value. |
Returns
The declared result.
voidFull signature
function validateAdminManifest(
config: ResolvedAdminConfig,
manifest: Pick<
SchemaManifest,
"collections" | "globals" | "blocks",
> & Partial<Pick<SchemaManifest, "plugins" | "application">>,
options?: { completeManifest?: boolean; },
): voidRelated types
ResolvedAdminConfigStatic configuration owned by one mounted admin. Changes require remount/HMR.