added discord container for renaming and role-management

This commit is contained in:
PxlLoewe
2025-06-05 01:03:13 -07:00
parent 3c620b9b67
commit 6c9942a984
26 changed files with 824 additions and 28 deletions

View File

@@ -8,6 +8,13 @@ export interface PublicUser {
fullName: string;
}
export const DISCORD_ROLES = {
ONLINE_DISPATCHER: "1287399540390891571", // Replace with actual role ID
ONLINE_PILOT: "1287399540390891571", // Replace with actual role ID
DISPATCHER: "1081247459994501222",
PILOT: "1081247405304975390",
};
export const getPublicUser = (
user: User,
options = {

View File

@@ -23,6 +23,7 @@ model Participant {
attended Boolean @default(false)
appointmentCancelled Boolean @default(false)
completetionWorkflowFinished Boolean @default(false)
inscriptionWorkflowCompleted Boolean @default(false)
eventAppointmentId Int?
enscriptionDate DateTime @default(now())