Type Alias DatasetResponse
type DatasetResponse = {
after?: string;
cursor: number;
deletes: DatasetDelete[];
name: string;
next?: string;
proof?: SetProof;
protocol: typeof PROTOCOL_VERSION;
puts: DatasetPut[];
reset: boolean;
schema: string;
}
after?: string;
cursor: number;
deletes: DatasetDelete[];
name: string;
next?: string;
proof?: SetProof;
protocol: typeof PROTOCOL_VERSION;
puts: DatasetPut[];
reset: boolean;
schema: string;
}
Properties
Optionalafter
after?: string
on a seed page after the first: the key the request paged from
cursor
cursor: number
the cursor the response brings a device to
deletes
name
name: string
Optionalnext
next?: string
on a seed page with more to come: the after of the next request
Optionalproof
the collection's proof at cursor; absent on a seed page that has a next
protocol
puts
reset
reset: boolean
the device drops every row it holds before applying puts (unless after is set)
schema
schema: string
The body of
/.spool/dataset. A patch hasreset: falseandproof. A seed, or a reset, hasreset: trueand one page of rows inputs: a page withnextset is followed by a request withafter=<next>, and the last page has nonextand carriesproof. A page after the first echoes thatafter.