shared/ipc/history-contracts
Type Aliases
Section titled “Type Aliases”HistoryItem
Section titled “HistoryItem”HistoryItem =
v.InferOutput<typeofHistoryItem>
Defined in: app/src/shared/ipc/history-contracts.ts:5
A page of the history as the history page shows it.
Variables
Section titled “Variables”ClearHistory
Section titled “ClearHistory”
constClearHistory:RequestContract<{ },null>
Defined in: app/src/shared/ipc/history-contracts.ts:35
Removes the whole history.
DeleteHistory
Section titled “DeleteHistory”
constDeleteHistory:RequestContract<{ids:number[]; },null>
Defined in: app/src/shared/ipc/history-contracts.ts:27
Removes pages from the history.
HistoryItem
Section titled “HistoryItem”
constHistoryItem:StrictObjectSchema<{id:NumberSchema<undefined>;lastVisit:NumberSchema<undefined>;title:StringSchema<undefined>;url:StringSchema<undefined>; },undefined>
Defined in: app/src/shared/ipc/history-contracts.ts:5
A page of the history as the history page shows it.
ListHistory
Section titled “ListHistory”
constListHistory:RequestContract<{before?:number;query:string; }, {items:object[]; }>
Defined in: app/src/shared/ipc/history-contracts.ts:16
Lists the history, newest first, optionally matching search words.
OpenFromHistory
Section titled “OpenFromHistory”
constOpenFromHistory:RequestContract<{newTab:boolean;url:string; },null>
Defined in: app/src/shared/ipc/history-contracts.ts:43
Opens a page of the history in the history page’s tab or in a new tab.