feat(tester): extend ListContests endpoint

This commit is contained in:
Vyacheslav1557 2025-03-02 14:13:58 +05:00
parent 251772a049
commit 52d38d07bb
8 changed files with 66 additions and 4 deletions

View file

@ -8,3 +8,10 @@ type Contest struct {
CreatedAt *time.Time `db:"created_at"`
UpdatedAt *time.Time `db:"updated_at"`
}
type ContestsListItem struct {
Id int32 `db:"id"`
Title string `db:"title"`
CreatedAt time.Time `db:"created_at"`
UpdatedAt time.Time `db:"updated_at"`
}