mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
Send overlay permission status to the client
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user