Field Notes
    Preparing search index...

    Interface ExtensionElementEnvelope

    interface ExtensionElementEnvelope {
        data: Record<string, unknown>;
        dataVersion?: number;
        editor?: string;
        extensionType: string;
        groupId?: string;
        id: string;
        index: string;
        layerId: string;
        link?: string;
        locked: boolean;
        parentId?: string;
        position: Point;
        rotation?: number;
        size?: Size;
        type: "extension";
        version: number;
    }

    Hierarchy (View Summary)

    Index
    data: Record<string, unknown>
    dataVersion?: number

    Version of data in the owning type's schema; absent means 1.

    editor?: string

    Peer that wrote the accepted remote version; absent after a local edit.

    extensionType: string
    groupId?: string

    Optional flat group membership. Elements sharing a groupId select/move/delete as a unit.

    id: string
    index: string

    Fractional order key within the layer; '' only on input, meaning "place on top".

    layerId: string
    link?: string

    Opens from the select tool; http(s), mailto or #fn:element=<id> only.

    locked: boolean
    parentId?: string

    Optional containing element. Parent and child share a layer.

    position: Point
    rotation?: number

    Rotation in radians (clockwise) about the element's center. Absent = 0 (unrotated). Applied to note/text/image/html/shape/stroke; ignored for arrows. Extension element definitions own their rotation semantics.

    size?: Size

    Opts the element into core resize handles; the definition's bounds should read it.

    type: "extension"
    version: number

    Per-element revision: local edits bump it, remote edits carry the accepted value.