added support for short format training report and created_by field
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user