Skip to content

SetPick beta ​

Interface of @v12-engine/engine

ts
export interface SetPick<D extends {
    id: string;
} = {
    id: string;
}>

Some of a default set (SetChoice)

Members ​

change ​

ts
change?: Readonly<Record<string, DeepPart<D> | ((def: D) => D)>>;

Changes to some of the set's, by id: fields laid over it (deep, a list whole), or a function of it

except ​

ts
except?: readonly string[];

All but these, by id

id ​

ts
id: string;

only ​

ts
only?: readonly string[];

Only these, by id: every one when left out

with ​

ts
with?: readonly D[];

Definitions of the game's besides: one with the id of one of the set's takes its place