Skip to content

shared/ipc/newtab-contracts

const GetNewTabState: RequestContract<{ }, { engine: string | null; }>

Defined in: app/src/shared/ipc/newtab-contracts.ts:5

What the new tab page shows: the name of the search engine, null for a custom one.


const NavigateFromNewTab: RequestContract<{ input: string; }, null>

Defined in: app/src/shared/ipc/newtab-contracts.ts:13

Searches for, or opens, what the user typed on the new tab page, in the same tab.