mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2025-10-03 01:39:31 +02:00
Send overlay permission status to the client
This commit is contained in:
parent
ae0f1c67aa
commit
b591a07cf5
2 changed files with 5 additions and 1 deletions
|
@ -93,7 +93,9 @@ export const generateServerDataStatus = async ({ database, clientStatus, familyI
|
|||
showDeviceConnected: item.showDeviceConnected,
|
||||
defUser: item.defaultUserId,
|
||||
defUserTimeout: item.defaultUserTimeout,
|
||||
rebootIsManipulation: item.considerRebootManipulation
|
||||
rebootIsManipulation: item.considerRebootManipulation,
|
||||
cOverlay: item.currentOverlayPermission,
|
||||
hOverlay: item.highestOverlayPermission
|
||||
}))
|
||||
}
|
||||
}
|
||||
|
|
|
@ -82,6 +82,8 @@ export interface ServerDeviceData {
|
|||
defUser: string
|
||||
defUserTimeout: number
|
||||
rebootIsManipulation: boolean
|
||||
cOverlay: RuntimePermissionStatus
|
||||
hOverlay: RuntimePermissionStatus
|
||||
}
|
||||
|
||||
export interface ServerUpdatedCategoryBaseData {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue