Skip to content

Commit

Permalink
feat: Add SimpleUserInfo type to use in mobile client (#623)
Browse files Browse the repository at this point in the history
Commits:
* feat: Add SimpleUserInfo type to use in mobile client
* fix: Use Omit instead of Exclude
  • Loading branch information
knipec authored Jun 14, 2024
1 parent e193932 commit 6cf29e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/account/accountSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ export type User = {
preferences: Record<string, string>;
};

export type SimpleUserInfo = Omit<User, 'preferences'>;

export const setHasAccessTokenAsync = createAsyncThunk(
'account/setHasAccessTokenAsync',
() => getToken(),
Expand Down

0 comments on commit 6cf29e1

Please sign in to comment.