misc rooms endpoints, friends

This commit is contained in:
Devin Zuczek
2026-07-08 13:22:06 -04:00
parent 390843c679
commit a1d9fc17f0
22 changed files with 823 additions and 123 deletions
+8 -4
View File
@@ -4,14 +4,18 @@
"main": "src/api.app.ts",
"compatibility_date": "2025-09-20",
"compatibility_flags": ["nodejs_compat"],
// Shared `recflare` DB (bound read-only here). Created manually with
// `wrangler d1 create recflare`; its id lives in RECFLARE_D1 (see .env) and the
// "local" placeholder below is spliced out at deploy time.
// Shared `recflare` DB. Created manually with `wrangler d1 create recflare`; its
// id lives in RECFLARE_D1 (see .env) and the "local" placeholder below is
// spliced out at deploy time. The `api` worker owns the `relationships` table
// (schema/migration here); its own migrations_table keeps history separate from
// the other workers' migrations on the shared database.
"d1_databases": [
{
"binding": "DB",
"database_name": "recflare",
"database_id": "local"
"database_id": "local",
"migrations_dir": "migrations",
"migrations_table": "d1_migrations_api"
}
],
// Image bucket shared with the `img` worker (which serves objects back by key).