Edit client modal... we'll need a server one too

This commit is contained in:
James Barnsley
2018-03-23 22:06:12 +13:00
parent 2be4851ecc
commit e7abde42f8
11 changed files with 1685 additions and 2260 deletions

View File

@ -200,3 +200,28 @@ export function setSnapcastClientName(id, name){
}
}
export function setSnapcastClientLatency(id, latency){
return {
type: 'PUSHER_SET_SNAPCAST_CLIENT_LATENCY',
data: {
method: 'Client.SetLatency',
params: {
id: id,
latency: latency
}
}
}
}
export function deleteSnapcastClient(id){
return {
type: 'PUSHER_DELETE_SNAPCAST_CLIENT',
data: {
method: 'Server.DeleteClient',
params: {
id: id
}
}
}
}