mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
Refactor code to send the status to the client
This commit is contained in:
@@ -17,12 +17,15 @@
|
||||
|
||||
export interface ClientDataStatus {
|
||||
devices: string // deviceListVersion
|
||||
apps: {[key: string]: string} // installedAppsVersionsByDeviceId
|
||||
categories: {[key: string]: CategoryDataStatus}
|
||||
apps: ClientDataStatusApps
|
||||
categories: ClientDataStatusCategories
|
||||
users: string // userListVersion
|
||||
clientLevel?: number
|
||||
}
|
||||
|
||||
export type ClientDataStatusApps = {[key: string]: string} // installedAppsVersionsByDeviceId
|
||||
export type ClientDataStatusCategories = {[key: string]: CategoryDataStatus}
|
||||
|
||||
export interface CategoryDataStatus {
|
||||
base: string // baseVersion
|
||||
apps: string // assignedAppsVersion
|
||||
|
||||
Reference in New Issue
Block a user