Orca Note Plugin API Documentation
    Preparing search index...

    Interface Block

    Core block data structure that represents a single note, section, or other content unit. Blocks are the primary building blocks of content in Orca.

    interface Block {
        aliases: string[];
        backRefs: BlockRef[];
        children: number[];
        content?: ContentFragment[];
        created: Date;
        id: number;
        left?: number;
        modified: Date;
        parent?: number;
        properties: BlockProperty[];
        refs: BlockRef[];
        text?: string;
    }
    Index

    Properties

    aliases: string[]

    Array of aliases (alternative names) for the block

    backRefs: BlockRef[]

    Array of incoming references from other blocks to this block

    children: number[]

    Array of child block IDs

    content?: ContentFragment[]

    Optional array of content fragments for rich text content

    created: Date

    Timestamp when the block was created

    id: number

    Unique identifier for the block

    left?: number

    ID of the block to the left in the content flow, used for ordering siblings

    modified: Date

    Timestamp when the block was last modified

    parent?: number

    ID of the parent block, if any

    properties: BlockProperty[]

    Array of named properties attached to the block

    refs: BlockRef[]

    Array of outgoing references from this block to other blocks

    text?: string

    Optional plain text content, used along with the content array