Skip to content
Sheetwrite

@sheetwrite/queries

QueryRefreshResulttype

Report a problem

On this page

One refresh commits every requested output in one transaction, or none.

Variants 7

{
readonly status: "applied";
readonly transaction: ApplyTransactionResult;
}
{
readonly status: "failed";
readonly queryId: string;
readonly diagnostic: QueryDiagnostic;
}
{
readonly status: "blocked";
readonly queryId: string;
readonly reason: QueryOutputBlock;
}
{ readonly status: "missing"; readonly queryId: string }
{ readonly status: "stale" }
{ readonly status: "aborted" }
{
readonly status: "rejected";
readonly transaction: ApplyTransactionResult;
}

Declaration

View full TypeScript declaration
export type QueryRefreshResult =
| {
readonly status: "applied";
readonly transaction: ApplyTransactionResult;
}
| {
readonly status: "failed";
readonly queryId: string;
readonly diagnostic: QueryDiagnostic;
}
| {
readonly status: "blocked";
readonly queryId: string;
readonly reason: QueryOutputBlock;
}
| {
readonly status: "missing";
readonly queryId: string;
}
| {
readonly status: "stale";
}
| {
readonly status: "aborted";
}
| {
readonly status: "rejected";
readonly transaction: ApplyTransactionResult;
};

Referenced by

Public exports naming QueryRefreshResult