LoongPanel-Asp/web/types/UserType.ts

36 lines
833 B
TypeScript
Executable File

export type UserInfoType = {
nickName: string;
id: string;
userName: string;
normalizedUserName: string;
email: string;
normalizedEmail: string;
emailConfirmed: boolean;
phoneNumber: string;
phoneNumberConfirmed: boolean;
twoFactorEnabled: boolean;
avatar: string,
desc: string,
posts: string,
}
export type UserInfoListType = {
address: string | null
avatar: string
createDate: string
desc: string | null
email: string
id: string
lastLoginTime: string
modifiedDate: string
nickName: string
phoneNumber: string
posts: string
userName: string,
physicalAddress: string | null,
isLock: boolean,
}[]
export type OnlineUser = {
id: string; userName: string; nickName: string; avatar: string; role: string[]; posts: string;
}