Outcome of projecting one JSON payload column: either a value to write back, or a decision to
withhold the column entirely because the payload could not be inspected.
Deliberately an interface with an optional Value rather than a discriminated union — MJCore
compiles without strictNullChecks, under which TypeScript does not narrow a union on a
boolean discriminant, so the union shape would force a cast at every read.
Outcome of projecting one JSON payload column: either a value to write back, or a decision to withhold the column entirely because the payload could not be inspected.
Deliberately an interface with an optional
Valuerather than a discriminated union — MJCore compiles withoutstrictNullChecks, under which TypeScript does not narrow a union on a boolean discriminant, so the union shape would force a cast at every read.