Skip to content

ItemSearchOptions beta ​

Interface of @v12-engine/client/kit

ts
export interface ItemSearchOptions

What a search of items is narrowed to (searchItems): a tier, a calling they suit, tags they all have

Members ​

calling ​

ts
calling?: string;

Only items that suit this calling (ItemDef.suits)

fuzzy ​

ts
fuzzy?: boolean;

Whether a typo finds (the fuzzy tier): yes when left out

limit ​

ts
limit?: number;

How many at most, the best: all of them when left out

tags ​

ts
tags?: readonly string[];

Only items with every one of these tags (ItemDef.tags), besides those typed (#tag)

tier ​

ts
tier?: string | readonly string[];

Only items of this tier, or of one of these (epic is intermediate)