refactor(typings): Refactor user and profile models; update API response types
This commit is contained in:
@@ -25,8 +25,8 @@ import {
|
||||
} from './utils/storage';
|
||||
const isProdBuild = process.env.NODE_ENV === 'production';
|
||||
export type InitialStateResponse = {
|
||||
getUserProfile?: () => Promise<MasterModel.ProfileResponse | undefined>;
|
||||
currentUserProfile?: MasterModel.ProfileResponse;
|
||||
getUserProfile?: () => Promise<MasterModel.UserResponse | undefined>;
|
||||
currentUserProfile?: MasterModel.UserResponse;
|
||||
theme?: 'light' | 'dark';
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user