gradum-kit - v0.1.0
    Preparing search index...

    Type Alias BlockStoreType<Type, BlockType>

    BlockStoreType: Type extends "map" ? Map<string, BlockType> : BlockType[]

    Type Parameters

    • Type extends "array" | "map" = "map"

      How the blocks are stored. Defaults to "map".

    • BlockType extends object = object

      The type of one block.

    The container a nested store keeps its blocks in, resolved from Type: a Map keyed by block name for "map", or a plain array indexed by position for "array".