Skip to content

readV2Block

readV2Block(doc): MapModel

Defined in: packages/core/src/model/read-v2.ts:116

Turn a validated format-v2 block into the internal MapModel.

ParameterTypeDescription
doc{[key: string]: any; }a block already validated against MapBlockV2Schema.

MapModel

the internal model — deep-equal to the v1 twin’s (AE2).