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
This commit is contained in:
2026-02-28 22:38:56 +01:00
parent e16eb85071
commit 02755bd1f0
6 changed files with 220 additions and 11 deletions

View File

@@ -44,9 +44,18 @@ export interface LinkedAccountResponse {
// ── Streams ──────────────────────────────────────────────
export interface CreateStreamPlanBody {
name: string;
executionMode?: string;
gameId?: string;
destinations: CreateDestinationBody[];
}
export interface UpdateStreamPlanBody {
name?: string;
executionMode?: string;
gameId?: string;
destinations?: CreateDestinationBody[];
}
export interface CreateDestinationBody {
linkedAccountId: string;
title: string;
@@ -60,6 +69,8 @@ export interface StreamPlanResponse {
id: string;
name: string;
status: string;
executionMode: string;
gameId: string;
createdAt: string;
updatedAt: string;
destinations: StreamDestinationResponse[];