Polarcraft/webv2/types/global.d.ts
Xeovalyte 12e92b8106
All checks were successful
Build and Deploy / Deploy Web (push) Successful in 1m2s
Build and Deploy / Deploy Discord Bot (push) Successful in 44s
feat: Added get user by id, closes #18
2023-06-05 10:17:35 +02:00

25 lines
389 B
TypeScript

export {}
declare global {
interface IUser {
_id: string,
username: string,
discord: {
id: string,
username: string,
avatarHash: string
},
minecraft?: {
uuid: string,
username: string
},
teamInvites: string[],
role: {
admin: boolean,
moderator: boolean,
},
teamId: string,
accessToken?: string
}
}