Type Alias MetadataQueryRecord

MetadataQueryRecord: { path: string } & Record<string, unknown>

A record a query may return INSTEAD of a bare path (R3-276): the path plus whatever the query computed on the way to selecting it.

The motivating case is a query that derives something per match — a sort key, a section, a formatted date — and would otherwise have to recompute it downstream from meta, or smuggle it through a closure. Returning it here keeps the derivation next to the selection that needed it.