feat(boards): add max_agents field to board models and enforce limits

This commit is contained in:
Abhimanyu Saharan
2026-02-14 19:43:16 +05:30
parent d241455da6
commit ae711909ff
10 changed files with 204 additions and 1 deletions

View File

@@ -17,6 +17,8 @@ export interface BoardCreate {
gateway_id?: string | null;
goal_confirmed?: boolean;
goal_source?: string | null;
/** @minimum 0 */
max_agents?: number;
name: string;
objective?: string | null;
only_lead_can_change_status?: boolean;

View File

@@ -19,6 +19,8 @@ export interface BoardRead {
goal_confirmed?: boolean;
goal_source?: string | null;
id: string;
/** @minimum 0 */
max_agents?: number;
name: string;
objective?: string | null;
only_lead_can_change_status?: boolean;

View File

@@ -17,6 +17,7 @@ export interface BoardUpdate {
gateway_id?: string | null;
goal_confirmed?: boolean | null;
goal_source?: string | null;
max_agents?: number | null;
name?: string | null;
objective?: string | null;
only_lead_can_change_status?: boolean | null;