Orca Note Plugin API Documentation
    Preparing search index...

    Type Alias ConvertContext

    Context for block conversion, used to track export scope.

    type ConvertContext = {
        exportRootId?: DbId;
        getBlockById?: (blockId: DbId) => Block | undefined;
        getRefById?: (
            refId: DbId,
        ) => Promise<{ alias?: string; to: DbId } | undefined>;
    }
    Index

    Properties

    exportRootId?: DbId

    The root block ID of the export scope

    getBlockById?: (blockId: DbId) => Block | undefined

    Resolve a block from a temporary conversion context before falling back to global state.

    getRefById?: (refId: DbId) => Promise<{ alias?: string; to: DbId } | undefined>

    Resolve an inline reference from a temporary conversion context before hitting the backend.