2023-06-04 22:06:28 +02:00
|
|
|
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,
|
2023-06-05 10:17:35 +02:00
|
|
|
accessToken?: string
|
2023-06-04 22:06:28 +02:00
|
|
|
}
|
2023-06-05 16:05:03 +02:00
|
|
|
|
|
|
|
interface IWhitelist {
|
|
|
|
_id: string,
|
|
|
|
uuid: string,
|
|
|
|
connected: boolean,
|
|
|
|
code: string
|
|
|
|
}
|
2023-06-04 22:06:28 +02:00
|
|
|
}
|