RestoreHistory

data class RestoreHistory(val pageId: PageId, val queryHistory: List<String> = emptyList(), val resolutions: List<ResolutionHistoryEntry> = emptyList()) : PageAction

Replaces the page's query history and resolution/solutions history wholesale, e.g. right after creating a page from previously-persisted state - restoring what a frontend's Solutions tree and query-history navigation show, without re-running anything.

Constructors

Link copied to clipboard
constructor(pageId: PageId, queryHistory: List<String> = emptyList(), resolutions: List<ResolutionHistoryEntry> = emptyList())

Properties

Link copied to clipboard
open override val pageId: PageId

The page this action applies to.

Link copied to clipboard
Link copied to clipboard