Skip to main content

AllowTypes

Index

Interfaces

Type Aliases

Interfaces

Data

Data:

readonlyAllTypes

AllTypes: Readonly<Record<string, Readonly<Set<number>>>>

A record mapping type record key to a set of all values referenced in this AllowTypes instance. Equivalent to all the (un-stringified) keys of TypeToID.

readonlyIDToTypeKey

IDToTypeKey: Readonly<Record<number, readonly string[]>>

A record mapping IDs to a set of TypeRecord keys. The key set represents all keys for a given ID that must be present for a layer to be drawn (an AND condition).

readonlyTypeToID

TypeToID: Readonly<Record<`${string}${number}`, Readonly<Set<number>>>>

A record mapping partial TypeRecord types to a set of IDs. Each ID represents one or more unique type records for which a layer must be drawn. It is possible that multiple partial types are required for a single ID (see IDToTypeKey).

Type Aliases

Definition

A record (or list thereof) with required screen names + option indices. If a list of indices is provided all combinations involving one of its indices is considered valid.

For example {"a": [0, 1], "b": [0, 1], "c": [0, 1]}, with its 3 lists of length 2, will produce a total of 3*2 combinations.

@see

TypeRecord

_DefinitionRecord

_DefinitionRecord: Record<string, number | readonly number[]>
Page Options