shared/ipc/import-contracts
Type Aliases
Section titled “Type Aliases”BrowserProfileView
Section titled “BrowserProfileView”BrowserProfileView =
v.InferOutput<typeofBrowserProfileView>
Defined in: app/src/shared/ipc/import-contracts.ts:9
A profile of another browser that the import can read.
Variables
Section titled “Variables”BrowserProfileView
Section titled “BrowserProfileView”
constBrowserProfileView:StrictObjectSchema<{browser:StringSchema<undefined>;id:SchemaWithPipe<readonly [StringSchema<undefined>,MinLengthAction<string,1,undefined>,MaxLengthAction<string,4096,undefined>]>;profile:StringSchema<undefined>;tabs:BooleanSchema<undefined>; },undefined>
Defined in: app/src/shared/ipc/import-contracts.ts:9
A profile of another browser that the import can read.
FindBrowsers
Section titled “FindBrowsers”
constFindBrowsers:RequestContract<{ }, {enabled:boolean;profiles:object[]; }>
Defined in: app/src/shared/ipc/import-contracts.ts:23
Finds other browsers on this computer. enabled is false when a policy turns the import
off. The settings page and the setup guide both offer the import.
ImportBrowser
Section titled “ImportBrowser”
constImportBrowser:RequestContract<{bookmarks:boolean;history:boolean;id:string;labels: {folder:string;menu:string;mobile:string;other:string;toolbar:string; };tabs:boolean; }, {bookmarks:number;failed: ("history"|"bookmarks"|"tabs")[];history:number;tabs:number; }>
Defined in: app/src/shared/ipc/import-contracts.ts:34
Imports bookmarks, history and open tabs from a profile that settings.findBrowsers
found, with the titles of the folders it creates in the language of the page.