-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* replace `submit` subcommand with `sync` TODO: Implement leaderboard sync function. * wip * wip * passing test "DenoKvLeaderboardClient" step "sync" WIP. TODO: resolve failing tests ``` DenoKvLeaderboardClient ... getLatestSeason => ./lib/leaderboard/denokv/denokv_leaderboard_client_test.ts:67:11 DenoKvLeaderboardClient ... listSeasons => ./lib/leaderboard/denokv/denokv_leaderboard_client_test.ts:73:11 DenoKvLeaderboardClient ... getSeason => ./lib/leaderboard/denokv/denokv_leaderboard_client_test.ts:79:11 ``` * fix test steps Fix test steps `getLatestSeason`, `listSeasons , and `getSeason`. * set up sync in daily webhook * move `formatScores` to `lib/leaderboard/scores.ts` * run `deno task all` * Update main.ts * sub sync: allow season_id to be optional * register.ts: aesthetic fix to match prev commit Prev commit SHA: `80aee9e5aeff07b59e186a2d91b901ac6246993e`. * Update sync.ts * Update denokv_leaderboard_client.ts * Update denokv_leaderboard_client.ts * Change `sync` subcommand response to embeds Resolves <#41 (comment)>. * Add `synced_at` property to `api.Season` Resolves #44, <#41 (comment)>. * sync: Overwrite to empty season for new seasons Resolves <#41 (comment)>. * Update instructions sent in daily webhook embed Resolves <#41 (comment)>. * Update HANDBOOK.md Resolves <#41 (comment)>. * refactor `executeDailyWebhook` logic * `updateLatestSeason`: forceful kv set op
- Loading branch information
1 parent
1f68435
commit 3ac6b70
Showing
18 changed files
with
662 additions
and
486 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.