added support for short format training report and created_by field

This commit is contained in:
2025-11-16 22:37:41 -05:00
parent 4d0dea553e
commit f6dd3a77dc
3 changed files with 17 additions and 6 deletions

View File

@@ -25,8 +25,10 @@ export interface CourseEventDetails {
deleted: boolean | null; // tinyint(4), nullable
report_url: string | null; // varchar(2048)
remarks: string | null; // text
attendees: CourseAttendee[] | null;
created_by: number | null;
}
@@ -65,4 +67,12 @@ export interface RawAttendeeRow {
role_deleted: number | null;
role_created_at: string | null;
role_updated_at: string | null;
}
export interface CourseEventSummary {
event_id: number;
course_id: number;
course_name: string;
date: string;
created_by: number;
}