diff --git a/src/function/sync/get-server-data-status.ts b/src/function/sync/get-server-data-status.ts index 45e5544..fa85b77 100644 --- a/src/function/sync/get-server-data-status.ts +++ b/src/function/sync/get-server-data-status.ts @@ -98,7 +98,8 @@ export const generateServerDataStatus = async ({ database, clientStatus, familyI hOverlay: item.highestOverlayPermission, asEnabled: item.asEnabled, wasAsEnabled: item.wasAsEnabled, - activityLevelBlocking: item.activityLevelBlocking + activityLevelBlocking: item.activityLevelBlocking, + qOrLater: item.isQorLater })) } } @@ -332,7 +333,8 @@ export const generateServerDataStatus = async ({ database, clientStatus, familyI 'temporarilyBlocked', 'baseVersion', 'parentCategoryId', - 'blockAllNotifications' + 'blockAllNotifications', + 'timeWarnings' ], transaction })).map((item) => ({ @@ -344,7 +346,8 @@ export const generateServerDataStatus = async ({ database, clientStatus, familyI temporarilyBlocked: item.temporarilyBlocked, baseVersion: item.baseVersion, parentCategoryId: item.parentCategoryId, - blockAllNotifications: item.blockAllNotifications + blockAllNotifications: item.blockAllNotifications, + timeWarningFlags: item.timeWarningFlags })) result.categoryBase = dataForSyncing.map((item): ServerUpdatedCategoryBaseData => ({ @@ -356,7 +359,8 @@ export const generateServerDataStatus = async ({ database, clientStatus, familyI tempBlocked: item.temporarilyBlocked, version: item.baseVersion, parentCategoryId: item.parentCategoryId, - blockAllNotifications: item.blockAllNotifications + blockAllNotifications: item.blockAllNotifications, + timeWarnings: item.timeWarningFlags })) } diff --git a/src/object/serverdatastatus.ts b/src/object/serverdatastatus.ts index 61db358..b3580ab 100644 --- a/src/object/serverdatastatus.ts +++ b/src/object/serverdatastatus.ts @@ -88,6 +88,7 @@ export interface ServerDeviceData { asEnabled: boolean wasAsEnabled: boolean activityLevelBlocking: boolean + qOrLater: boolean } export interface ServerUpdatedCategoryBaseData { @@ -100,6 +101,7 @@ export interface ServerUpdatedCategoryBaseData { version: string parentCategoryId: string blockAllNotifications: boolean + timeWarnings: number } export interface ServerUpdatedCategoryAssignedApps {