mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
typed some components
This commit is contained in:
parent
a3f7fd9b46
commit
a5126aff4a
7 changed files with 23 additions and 31 deletions
|
@ -12,12 +12,13 @@ export interface IUser {
|
|||
success: boolean,
|
||||
id?: string,
|
||||
token?: string,
|
||||
userdata: {
|
||||
name: string,
|
||||
agent: string,
|
||||
ip: string,
|
||||
photo: string,
|
||||
}
|
||||
photo: string,
|
||||
first_name: string,
|
||||
// userdata: {
|
||||
// name: string,
|
||||
// agent: string,
|
||||
// ip: string,
|
||||
// }
|
||||
}
|
||||
|
||||
export const ROLES: IRoles = {
|
||||
|
@ -34,10 +35,6 @@ export const DEFAULT_USER: IUser = {
|
|||
success: false,
|
||||
id: null,
|
||||
token: null,
|
||||
userdata: {
|
||||
name: '',
|
||||
agent: '',
|
||||
ip: '',
|
||||
photo: '',
|
||||
}
|
||||
photo: null,
|
||||
first_name: null,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue