Polarcraft/webv2/types/global.d.ts
Xeovalyte d74a51db7f
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 verify account route, closes #28
2023-06-05 16:05:03 +02:00

32 lines
495 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
}
interface IWhitelist {
_id: string,
uuid: string,
connected: boolean,
code: string
}
}