feat: add description field to boards and update related components for onboarding

This commit is contained in:
Abhimanyu Saharan
2026-02-11 18:19:29 +05:30
parent 25eb45bf54
commit c6417bcffb
15 changed files with 148 additions and 6 deletions

View File

@@ -12,6 +12,7 @@ import type { BoardCreateSuccessMetrics } from "./boardCreateSuccessMetrics";
export interface BoardCreate {
name: string;
slug: string;
description: string;
gateway_id?: string | null;
board_group_id?: string | null;
board_type?: string;

View File

@@ -7,7 +7,6 @@
import type { BoardOnboardingAgentCompleteSuccessMetrics } from "./boardOnboardingAgentCompleteSuccessMetrics";
import type { BoardOnboardingLeadAgentDraft } from "./boardOnboardingLeadAgentDraft";
import type { BoardOnboardingUserProfile } from "./boardOnboardingUserProfile";
import { BoardOnboardingAgentCompleteStatus } from "./boardOnboardingAgentCompleteStatus";
/**
* Complete onboarding draft produced by the onboarding assistant.
@@ -17,7 +16,7 @@ export interface BoardOnboardingAgentComplete {
objective?: string | null;
success_metrics?: BoardOnboardingAgentCompleteSuccessMetrics;
target_date?: string | null;
status: BoardOnboardingAgentCompleteStatus;
status: "complete";
user_profile?: BoardOnboardingUserProfile | null;
lead_agent?: BoardOnboardingLeadAgentDraft | null;
}

View File

@@ -12,6 +12,7 @@ import type { BoardReadSuccessMetrics } from "./boardReadSuccessMetrics";
export interface BoardRead {
name: string;
slug: string;
description: string;
gateway_id?: string | null;
board_group_id?: string | null;
board_type?: string;

View File

@@ -12,6 +12,7 @@ import type { BoardUpdateSuccessMetrics } from "./boardUpdateSuccessMetrics";
export interface BoardUpdate {
name?: string | null;
slug?: string | null;
description?: string | null;
gateway_id?: string | null;
board_group_id?: string | null;
board_type?: string | null;

View File

@@ -206,3 +206,4 @@ export * from "./updateAgentApiV1AgentsAgentIdPatchParams";
export * from "./userRead";
export * from "./userUpdate";
export * from "./validationError";
export * from "./validationErrorCtx";

View File

@@ -4,9 +4,12 @@
* Mission Control API
* OpenAPI spec version: 0.1.0
*/
import type { ValidationErrorCtx } from "./validationErrorCtx";
export interface ValidationError {
loc: (string | number)[];
msg: string;
type: string;
input?: unknown;
ctx?: ValidationErrorCtx;
}

View File

@@ -0,0 +1,8 @@
/**
* Generated by orval v8.2.0 🍺
* Do not edit manually.
* Mission Control API
* OpenAPI spec version: 0.1.0
*/
export type ValidationErrorCtx = { [key: string]: unknown };