Skip to content

KeyTuplePart = { readonly [K in KeyTuplePartKind]: { kind: K; value: KeyTuplePartValueByKind[K]; direction?: KeyDirection } }[KeyTuplePartKind]

Defined in: packages/key-encoding/src/tuple.ts:55

One element of a composite key: a value, the domain it belongs to, and the direction it sorts in, 'ascending' when omitted. Narrowing on kind narrows value.