The cursor after ref in a log ordered by id, then tenant: the id's length, the id, the tenant.
The aggregate id and the tenant of cursor (cursorOf).
The page of refs, at most limit of them: its cursor is the last one's (cursorOf) when it is full.