Files
FemScoreboard/models.ts
2026-02-27 02:48:25 -08:00

30 lines
597 B
TypeScript

/**
* models.ts
* Database models
*/
interface ScoreboardMessageRow {
id: number;
guild: number;
channel: number;
author: string;
content: string;
reaction_1_count: number;
reaction_2_count: number;
reaction_3_count: number;
reaction_4_count: number;
reaction_5_count: number;
}
interface ScoreboardUserRow {
id: string;
username: string;
reaction_1_total: number;
reaction_2_total: number;
reaction_3_total: number;
reaction_4_total: number;
reaction_5_total: number;
}
export { ScoreboardMessageRow, ScoreboardUserRow };