Type Alias: NormalizeResult
type NormalizeResult =
| {
definition: ReportDefinition;
ok: true;
}
| {
error: string;
ok: false;
};Defined in: shared/insights/normalize.ts:12
Result of normalizing a stored saved-report payload. Never throws — the
caller (repository normalize-on-read) decides how to surface a corrupt
row. Mirrors the forms ParseResult pattern.