mirror of
https://github.com/djdevin/recflare.git
synced 2026-09-09 23:21:30 -07:00
Leaderboards (#43)
* leaderboards * [leaderboard] add basic leaderboards - will probably have to clean up later but data is collected now
This commit is contained in:
@@ -4,6 +4,18 @@
|
||||
"main": "src/leaderboard.app.ts",
|
||||
"compatibility_date": "2026-06-16",
|
||||
"compatibility_flags": ["nodejs_compat"],
|
||||
// Shared `recflare` D1 database. This worker owns the `leaderboard` table
|
||||
// (migrations/), applied under its own migrations table so they don't clash with the
|
||||
// other workers' migrations that share the database.
|
||||
"d1_databases": [
|
||||
{
|
||||
"binding": "DB",
|
||||
"database_name": "recflare",
|
||||
"database_id": "local",
|
||||
"migrations_dir": "migrations",
|
||||
"migrations_table": "d1_migrations_leaderboard"
|
||||
}
|
||||
],
|
||||
// Shared Secrets Store holding the HS256 JWT signing key. Every worker binds the
|
||||
// same store as JWT_SECRET so tokens signed by `auth` verify here. The "local"
|
||||
// store_id placeholder is replaced with RECFLARE_SECRETS_STORE at deploy time.
|
||||
|
||||
Reference in New Issue
Block a user