Phantom brand on query results that are plain records rather than entities: the flat row
Query.aggregate produces, and Change.Change. Present only at the type level (never
at runtime), it lets hooks like useQuery/usePagination return the record as-is instead of
wrapping it in Entity.Entity. The brand is a required property so T extends RecordResult
discriminates — an optional one would be satisfied by any type. Consumers never read it.
Phantom brand on query results that are plain records rather than entities: the flat row Query.aggregate produces, and Change.Change. Present only at the type level (never at runtime), it lets hooks like
useQuery/usePaginationreturn the record as-is instead of wrapping it inEntity.Entity. The brand is a required property soT extends RecordResultdiscriminates — an optional one would be satisfied by any type. Consumers never read it.