Type Alias DecorateOptions
type DecorateOptions = {
assembled?: string;
clear?: readonly string[];
hardReset?: boolean;
judged?: boolean;
vector?: number;
}
assembled?: string;
clear?: readonly string[];
hardReset?: boolean;
judged?: boolean;
vector?: number;
}
Properties
Optionalassembled
assembled?: string
the shell text of this route's assembly artifact, as the body carries it before the client
tag goes in. Spool-Artifact then names its hash, and the worker keeps the page it already
received in place of asking /.spool/artifact. Ignored unless the route is a public
assembly route and the body is tagged HTML.
Optionalclear
clear?: readonly string[]
Spool-Clear tokens to send, such as ['*'] on logout
Optionalhard Reset
hardReset?: boolean
also send Clear-Site-Data: "storage", the browser's own wipe of everything the origin holds
Optionaljudged
judged?: boolean
set when the caller has judged the response, so decorate skips the public-route gate
Optionalvector
vector?: number
the cursor read before the response was built; read now when omitted
per-call overrides for Spool.decorate