Polarcraft/webv2/types/global.d.ts

32 lines
495 B
TypeScript
Raw Normal View History

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