- show edit for all machines
- include platform in default name
This commit is contained in:
Sandeep Somavarapu
2020-05-20 19:09:59 +02:00
parent 8253b52191
commit 11878fd652
5 changed files with 56 additions and 34 deletions

View File

@@ -26,16 +26,20 @@ class UserDataSyncMachinesService extends Disposable implements IUserDataSyncMac
return this.channel.call<IUserDataSyncMachine[]>('getMachines');
}
updateName(name: string): Promise<void> {
return this.channel.call('updateName', [name]);
addCurrentMachine(name: string): Promise<void> {
return this.channel.call('addCurrentMachine', [name]);
}
unset(): Promise<void> {
return this.channel.call('unset');
removeCurrentMachine(): Promise<void> {
return this.channel.call('removeCurrentMachine');
}
disable(id: string): Promise<void> {
return this.channel.call('disable', [id]);
renameMachine(machineId: string, name: string): Promise<void> {
return this.channel.call('renameMachine', [machineId, name]);
}
disableMachine(machineId: string): Promise<void> {
return this.channel.call('disableMachine', [machineId]);
}
}