This commit is contained in:
Sandeep Somavarapu
2020-01-30 19:23:22 +01:00
parent 1b0dce4548
commit 8e526ac73e
10 changed files with 21 additions and 15 deletions

View File

@@ -84,8 +84,8 @@ export class SettingsSyncService extends Disposable implements ISettingsSyncServ
return this.channel.call('hasLocalData');
}
resolveConflicts(content: string): Promise<void> {
return this.channel.call('resolveConflicts', [content]);
resolveConflicts(content: string, remote: boolean): Promise<void> {
return this.channel.call('resolveConflicts', [content, remote]);
}
resolveSettingsConflicts(conflicts: { key: string, value: any | undefined }[]): Promise<void> {

View File

@@ -49,8 +49,8 @@ export class UserDataSyncService extends Disposable implements IUserDataSyncServ
return this.channel.call('sync');
}
resolveConflictsAndContinueSync(content: string): Promise<void> {
return this.channel.call('resolveConflictsAndContinueSync', [content]);
resolveConflictsAndContinueSync(content: string, remote: boolean): Promise<void> {
return this.channel.call('resolveConflictsAndContinueSync', [content, remote]);
}
reset(): Promise<void> {