From 6cf29e10f3b3914ae327ffc3c91608736bae2a6c Mon Sep 17 00:00:00 2001 From: Carissa Knipe Date: Fri, 14 Jun 2024 14:25:22 -0700 Subject: [PATCH] feat: Add SimpleUserInfo type to use in mobile client (#623) Commits: * feat: Add SimpleUserInfo type to use in mobile client * fix: Use Omit instead of Exclude --- src/account/accountSlice.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/account/accountSlice.ts b/src/account/accountSlice.ts index 45d60723..851c8af7 100644 --- a/src/account/accountSlice.ts +++ b/src/account/accountSlice.ts @@ -59,6 +59,8 @@ export type User = { preferences: Record; }; +export type SimpleUserInfo = Omit; + export const setHasAccessTokenAsync = createAsyncThunk( 'account/setHasAccessTokenAsync', () => getToken(),