Interface: QueryDataTools
Renderer tools and lifecycle controls for host-backed local Query data.
Properties
tools
tools:
Record<typeofOPENUI_DATA_TOOL_NAMES[number], (args:Record<string,unknown>) =>Promise<unknown>>
Registered local tools; spread into the renderer's toolProvider.
Methods
dispose()
dispose():
void
Reset the scope and reject pending calls; setScope can start another lifecycle. Already dispatched host work is not aborted.
Returns
void
publishDefaults()
publishDefaults(
scope:string,defaults:InitialQueryResults):void
Merge completed defaults for the current scope and initialize the host; other scopes and unchanged maps are ignored.
Parameters
Returns
void
setScope()
setScope(
scope:string):void
Select a data scope, resetting defaults and rejecting pending calls when the scope changes.
Parameters
Returns
void