Entity / foldkit-entity

AfterRow

type · packages/entity/src/invariant.ts:74

type AfterRow<E extends AnyEntity> = {
  readonly [K in keyof E['fields'] & string]: NextExpr<
    Schema.Codec.Encoded<E['fields'][K]['schema']>
  > &
    Reads<E['name']>
}

Each field as the row after a write holds it, encoded: what an invariant reads as after.