No JSDoc comment in source yet.
API
@Interface("@prismshadow/penguin-server#HarnessHistoryIface")
export abstract class HarnessHistoryIface {
abstract list(): Promise<HarnessHistory>;
abstract table(hash: string): Promise<unknown | null>;
abstract rollback(id: string): Promise<boolean>;
}Contract Topology
Static AST wiring across @Module / @Provide / @UseMembers (3)
list
list(): Promise<HarnessHistory>The recorded versions, newest first, with the runtime's current commit and the last rollback that failed.
@returns
Promise<HarnessHistory>table
table(hash: string): Promise<unknown | null>A recorded interface table by hash, or null.
@paramhash
string@returns
Promise<unknown | null>rollback
rollback(id: string): Promise<boolean>Pushes a kept version back through the runtime's own upgrade channel. Resolves true
once the runtime has taken it (this platform is then being replaced); false when this
platform kept no artifacts for that id; throws when the runtime refused, after
recording the refusal for list().
@paramid
string@returns
Promise<boolean>