mirror of
https://git.femboyfinancial.jp/james/FemScoreboard.git
synced 2024-11-24 11:22:00 -08:00
26 lines
475 B
TypeScript
26 lines
475 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
|
|
}
|
|
|
|
interface ScoreboardUserRow {
|
|
id: string,
|
|
username: string,
|
|
reaction_1_total: number,
|
|
reaction_2_total: number,
|
|
reaction_3_total: number
|
|
}
|
|
|
|
export { ScoreboardMessageRow, ScoreboardUserRow };
|