Commit Graph

3 Commits

Author SHA1 Message Date
02755bd1f0 Add plan execution mode, game ID, and version to health endpoint
- Add executionMode and gameId columns to StreamPlan schema
- Add migration for new columns
- Support executionMode/gameId in plan create and update endpoints
- Add version field to health check response from package.json
2026-02-28 22:38:56 +01:00
cff7cdc58a Multi-account support and streaming fixes
- Change LinkedAccount unique constraint to (userId, serviceId, accountId)
- Add linkedAccountId to StreamDestination for per-account targeting
- OAuth callbacks upsert by accountId so different accounts create new rows
- Delete endpoint changed to /providers/accounts/:id
- getDecryptedToken resolves tokens by linkedAccountId instead of serviceId
- /start transition wrapped in try-catch (enableAutoStart compatibility)
- /end always attempts YouTube complete transition regardless of plan status
- autoDetectEndedPlans loads tokens per-destination
2026-02-26 19:06:05 +01:00
8ea3279c3b Phase 1: Backend scaffold with Fastify, Prisma, Docker 2026-02-23 15:26:50 +01:00