mirror of
https://git.femboyfinancial.jp/james/FemScoreboard.git
synced 2025-11-22 04:03:43 -08:00
Initial commit
This commit is contained in:
25
models.ts
Normal file
25
models.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* models.ts
|
||||
* Database models
|
||||
*/
|
||||
|
||||
interface ScoreboardMessageRow {
|
||||
id: number,
|
||||
author: number,
|
||||
guild: number,
|
||||
channel: number,
|
||||
content: string,
|
||||
reaction_1_count: number,
|
||||
reaction_2_count: number,
|
||||
reaction_3_count: number
|
||||
}
|
||||
|
||||
interface ScoreboardUserRow {
|
||||
id: number,
|
||||
username: string,
|
||||
reaction_1_total: number,
|
||||
reaction_2_total: number,
|
||||
reaction_3_total: number
|
||||
}
|
||||
|
||||
export { ScoreboardMessageRow, ScoreboardUserRow };
|
||||
Reference in New Issue
Block a user