feat: preserve infrared ownership in schema
This commit is contained in:
+1
@@ -39,6 +39,7 @@ class AddVirtualRemoteKey(
|
||||
id = UUID.randomUUID().toString(),
|
||||
remoteId = remoteId,
|
||||
profileId = profileId,
|
||||
hardwareDeviceName = remote.deviceName,
|
||||
buttonId = buttonId,
|
||||
displayName = trimmed,
|
||||
assignedSlot = assignedSlot,
|
||||
|
||||
+2
@@ -64,6 +64,7 @@ class CreateVirtualRemote(
|
||||
id = UUID.randomUUID().toString(),
|
||||
remoteId = remoteId,
|
||||
profileId = profileId,
|
||||
hardwareDeviceName = deviceName,
|
||||
buttonId = template.buttonId,
|
||||
displayName = template.displayName,
|
||||
assignedSlot = (index + 1).toString(),
|
||||
@@ -77,6 +78,7 @@ class CreateVirtualRemote(
|
||||
id = UUID.randomUUID().toString(),
|
||||
remoteId = remoteId,
|
||||
profileId = profileId,
|
||||
hardwareDeviceName = deviceName,
|
||||
buttonId = template.buttonId,
|
||||
displayName = template.displayName,
|
||||
assignedSlot = null,
|
||||
|
||||
+1
@@ -80,6 +80,7 @@ data class RemoteKeyBinding(
|
||||
val id: String,
|
||||
val remoteId: VirtualRemoteId,
|
||||
val profileId: ProviderProfileId,
|
||||
val hardwareDeviceName: DeviceName = DeviceName(""),
|
||||
val buttonId: String,
|
||||
val displayName: String,
|
||||
val assignedSlot: String? = null,
|
||||
|
||||
Reference in New Issue
Block a user