docs(tasks): point task 3 targets to server/routes/events.ts

This commit is contained in:
Tyler Gillispie 2026-08-25 08:31:55 -07:00
parent 578f3d06ac
commit 62fc91eb25

View File

@ -1,7 +1,7 @@
# TASK METADATA # TASK METADATA
- **Target Files:** - **Target Files:**
- `server/main.ts` - `server/routes/events.ts`
- `ui/components/SessionsPage.tsx` - `ui/components/SessionsPage.tsx`
- `ui/mod.ts` - `ui/mod.ts`
- `server/main.test.ts` - `server/main.test.ts`
@ -9,7 +9,7 @@
active seat counters, PIN display, time extension, and 1-tap master kill active seat counters, PIN display, time extension, and 1-tap master kill
switch (`/api/events/:id/end`). switch (`/api/events/:id/end`).
- **Dependencies:** - **Dependencies:**
`tasks/new/2026-0825.02.gem.feat.event-passes.multi-claim-workshops-and-kiosks-0046.md` `tasks/complete/2026-0825.02.gem.feat.event-passes.multi-claim-workshops-and-kiosks-0046.md`
- **Additional Important Notes:** Sub-millisecond mass revocation of all event - **Additional Important Notes:** Sub-millisecond mass revocation of all event
guest sessions via Valkey RESP3 push tracking. guest sessions via Valkey RESP3 push tracking.
@ -29,7 +29,7 @@
### 2. Proposed Implementation ### 2. Proposed Implementation
1. **Backend Endpoints (`server/main.ts`):** 1. **Backend Endpoints (`server/routes/events.ts`):**
- `POST /api/events/:id/end`: Closes the event, deletes all guest sessions - `POST /api/events/:id/end`: Closes the event, deletes all guest sessions
under the event, and purges Valkey cache. under the event, and purges Valkey cache.
- `POST /api/events/:id/extend`: Adds hours to `expires_at` for the event and - `POST /api/events/:id/extend`: Adds hours to `expires_at` for the event and