From 380bd72087b9acca8c4e39de7deb670feb63f342 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Tue, 13 Feb 2024 13:08:26 +0100 Subject: [PATCH] MOBILE-2768 site: Add missing fields in site info type --- src/core/classes/sites/unauthenticated-site.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/classes/sites/unauthenticated-site.ts b/src/core/classes/sites/unauthenticated-site.ts index 0dd9c69fe..0f999406b 100644 --- a/src/core/classes/sites/unauthenticated-site.ts +++ b/src/core/classes/sites/unauthenticated-site.ts @@ -374,6 +374,9 @@ export type CoreSiteInfoResponse = { usercalendartype?: string; // Calendar typed used by the user. userissiteadmin?: boolean; // Whether the user is a site admin or not. theme?: string; // Current theme for the user. + limitconcurrentlogins?: number; // @since 4.0. Number of concurrent sessions allowed. + usersessionscount?: number; // @since 4.0. Number of active sessions for current user. Only if limitconcurrentlogins is used. + policyagreed?: number; // @since 4.4. Whether user accepted all the policies. }; /**