From 2eb18acfefcf0f8385fd4f26b82199516a9b9f51 Mon Sep 17 00:00:00 2001 From: Eric Tuvesson Date: Wed, 11 Sep 2024 16:15:02 +0200 Subject: [PATCH] fix(viewer-react): Update CurrentUserObject TS typings (#72) --- packages/noodl-viewer-react/static/viewer/global.d.ts.keep | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/noodl-viewer-react/static/viewer/global.d.ts.keep b/packages/noodl-viewer-react/static/viewer/global.d.ts.keep index e21e938..5461b82 100644 --- a/packages/noodl-viewer-react/static/viewer/global.d.ts.keep +++ b/packages/noodl-viewer-react/static/viewer/global.d.ts.keep @@ -482,7 +482,12 @@ declare namespace Noodl { const Records: RecordsApi; interface CurrentUserObject { - UserId: string; + id: string; + email: string; + emailVerified: boolean; + username: string; + + Properties: unknown; /** * Log out the current user and terminate the session.