Skip to content

Kiln API / kiln / Row

Type Alias: Row<P> ​

ts
type Row<P> = P extends readonly [infer F, ...(infer R extends QueryList)] ? [...(F extends MutParam<infer T> ? DataOf<T> : F extends Trait ? ReadOf<F> : []), ...Row<R>] : [];

Only plain traits and Mut(T) produce row entries, in order. Tags and filters produce none.

Type Parameters ​

Type Parameter
P extends QueryList