LoongPanel-Asp/web/types/UserType.ts

37 lines
851 B
TypeScript
Raw Normal View History

2024-06-22 10:54:02 +08:00
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,
2024-07-02 18:32:02 +08:00
role: string,
2024-06-22 10:54:02 +08:00
}
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;
}