Entity / foldkit-entity
RefinementLiteral
type · packages/entity/src/refine.ts:65
type RefinementLiteral<E extends AnyEntity> = {
readonly [K in keyof E['fields'] & string]?: Schema.Codec.Encoded<
E['fields'][K]['schema']
>
}The literal form: a value per field, each typed by what the field stores.