Removed some sync v1 leftovers
This commit is contained in:
@@ -20,7 +20,6 @@ brave_common_web_compile_inputs = [
|
||||
rebase_path("../definitions/rewardsTip.d.ts"),
|
||||
rebase_path("../definitions/rewardsExtensions.d.ts"),
|
||||
rebase_path("../definitions/rewardsInternals.d.ts"),
|
||||
rebase_path("../definitions/sync.d.ts"),
|
||||
rebase_path("../definitions/throttleit.d.ts"),
|
||||
rebase_path("../definitions/webtorrent.d.ts"),
|
||||
rebase_path("../definitions/welcome.d.ts"),
|
||||
|
||||
Vendored
-47
@@ -1,47 +0,0 @@
|
||||
declare namespace Sync {
|
||||
export interface ApplicationState {
|
||||
syncData: State | undefined
|
||||
}
|
||||
|
||||
export interface SettingsFromBackEnd {
|
||||
sync_bookmarks: boolean
|
||||
sync_configured: boolean
|
||||
sync_history: boolean
|
||||
sync_settings: boolean
|
||||
sync_this_device: boolean
|
||||
}
|
||||
|
||||
export interface DevicesFromBackEnd {
|
||||
name: string
|
||||
device_id: number
|
||||
device_id_v2: string
|
||||
last_active: number
|
||||
}
|
||||
|
||||
export interface Devices {
|
||||
name: string
|
||||
id: number
|
||||
lastActive: number
|
||||
}
|
||||
|
||||
export type SetupErrorType =
|
||||
'ERR_SYNC_MISSING_WORDS' |
|
||||
'ERR_SYNC_WRONG_WORDS' |
|
||||
'ERR_SYNC_INIT_FAILED' |
|
||||
'ERR_SYNC_REQUIRES_CORRECT_TIME' |
|
||||
undefined
|
||||
|
||||
export interface State {
|
||||
thisDeviceName: string
|
||||
thisDeviceId: string
|
||||
thisDeviceIdV2: string
|
||||
devices: Devices[]
|
||||
isSyncConfigured: boolean
|
||||
seedQRImageSource: string
|
||||
syncWords: string
|
||||
syncBookmarks: boolean
|
||||
syncSavedSiteSettings: boolean
|
||||
syncBrowsingHistory: boolean
|
||||
error: SetupErrorType
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user