Sync / foldkit-sync/entity

RowOf

type · packages/sync/src/entity.ts:51

type RowOf<E extends EntityFields, Ms extends Member<E>> = {
  readonly id: IdOf<E>
  readonly revision: number
} & {
  readonly [K in Ms]: ValueOf<E, K>
}

A row as the table holds it: its id, the revision it has applied, and its members.