Added displayname and member card system

This commit is contained in:
2025-12-13 01:21:07 -05:00
parent 8aad3c67c7
commit 82eb6b7bbf
11 changed files with 624 additions and 45 deletions

31
shared/types/member.ts Normal file
View File

@@ -0,0 +1,31 @@
export interface memberSettings {
displayName: string;
}
export enum MemberState {
Guest = "guest",
Applicant = "applicant",
Member = "member",
Retired = "retired",
Banned = "banned",
Denied = "denied"
}
export type Member = {
member_id: number;
member_name: string;
rank: string | null;
rank_date: string | null;
unit: string | null;
unit_date: string | null;
status: string | null;
status_date: string | null;
loa_until?: Date;
};
export interface MemberLight {
id: number
displayName: string
username: string
color: string
}