[lists] fix a few lists

This commit is contained in:
Devin Zuczek
2026-08-20 18:27:50 -04:00
parent e47ce58db3
commit 879d8e95ab
9 changed files with 815 additions and 81 deletions
+9 -4
View File
@@ -4,15 +4,20 @@
"main": "src/lists.app.ts",
"compatibility_date": "2026-06-16",
"compatibility_flags": ["nodejs_compat"],
// Shared `recflare` DB (schema/migrations owned by the `rooms` worker). Read-only
// Shared `recflare` DB. The room tables (owned by the `rooms` worker) are read-only
// here: `/algorithmiclists/HotList` ranks the same rooms the rooms worker's `/rooms/hot`
// feed does, rather than serving a canned list of ids. The "local" placeholder is
// replaced with the real id from RECFLARE_D1 at deploy time.
// feed does, rather than serving a canned list of ids. This worker owns the `list` /
// `list_item` tables behind the player-owned curated lists (schema/migration here); its
// own migrations_table keeps history separate from the other workers' migrations on the
// shared database. The "local" placeholder is replaced with the real id from RECFLARE_D1
// at deploy time.
"d1_databases": [
{
"binding": "DB",
"database_name": "recflare",
"database_id": "local"
"database_id": "local",
"migrations_dir": "migrations",
"migrations_table": "d1_migrations_lists"
}
],
// Shared Secrets Store holding the HS256 JWT signing key. Every worker binds the