Removed some sync v1 leftovers

This commit is contained in:
AlexeyBarabash
2020-10-29 10:30:15 +02:00
parent 7a6c30375b
commit c6f82d3196
2 changed files with 0 additions and 48 deletions
-1
View File
@@ -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"),
-47
View File
@@ -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
}
}