feat(games): add games to disable + path

This commit is contained in:
2026-05-23 14:18:44 +02:00
parent 9f94fb3974
commit 544112b204
20 changed files with 235 additions and 27 deletions
@@ -1,4 +1,5 @@
import type {
Game,
SteamCollection,
SteamCollectionItem,
Submission,
@@ -99,6 +100,11 @@ export class ApiService {
}
}
// Games endpoint
async getGames(): Promise<ApiResponse<Game[]>> {
return this.request<Game[]>('/games/')
}
// Puzzle endpoints
async getPuzzles(): Promise<ApiResponse<SteamCollectionItem[]>> {
return this.request<SteamCollectionItem[]>('/submissions/puzzles')