For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/api/genui/openui/data-tools/interfaces/QueryDataStorage.md.
Lynx
  • English
  • Interface: QueryDataStorage

    Synchronous persistence supplied by the host; writes must replace a scope atomically or throw.

    Methods

    read()

    read(scope: string): Readonly<Record<string, unknown>> | null

    Read saved Query results for a scope, or null when nothing has been saved.

    Parameters

    ParameterType
    scopestring

    Returns

    Readonly<Record<string, unknown>> | null


    write()

    write(scope: string, data: InitialQueryResults): void

    Persist the complete snapshot for a scope, throwing on failure.

    Parameters

    ParameterType
    scopestring
    dataInitialQueryResults

    Returns

    void

    Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.