Orca Note Plugin API Documentation
    Preparing search index...

    Interface QueryViewProps

    Props passed to a registered custom query view component.

    interface QueryViewProps {
        data: number[][];
        options: Record<string, any>;
        refresh: () => Promise<void>;
        tagNames: string[];
    }
    Index

    Properties

    data: number[][]

    The currently loaded query results, grouped by result group. Each inner array is the block IDs of one result group. For an ungrouped query this is a single group containing all loaded block IDs.

    options: Record<string, any>

    Per-view options, backed by the query editor's reactive view options proxy. The view owns this object and should mutate it directly (and use useSnapshot for reactivity) to persist its configuration.

    refresh: () => Promise<void>

    Re-runs the query and refreshes the results.

    tagNames: string[]

    Tag names derived from the query conditions.