BlockFilter Interface

Options to include or exclude blocks based on type, tag or permutation. If no include options are added it will select all blocks that are not rejected by the exclude options. If at least one include option is added the block must match one of the include options to not be rejected.

Properties

excludePermutations

excludePermutations?: BlockPermutation[];

Array of block permutations that the filter should reject if any matches.

Type: BlockPermutation[]

excludeTags

excludeTags?: string[];

Array of block tags that the filter should reject if any matches.

Type: string[]

excludeTypes

excludeTypes?: string[];

Array of block types that the filter should reject if any matches.

Type: string[]

includePermutations

includePermutations?: BlockPermutation[];

Array of block permutations that the filter should select if at least one matches.

Type: BlockPermutation[]

includeTags

includeTags?: string[];

Array of block tags that the filter should select if at least one matches.

Type: string[]

includeTypes

includeTypes?: string[];

Array of block types that the filter should select if at least one matches.

Type: string[]