mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 15:55:48 +00:00
feat(FE): create type for daily checklist dashboard
This commit is contained in:
@@ -54,3 +54,29 @@ export type CreateDailyChecklistPayload = {
|
|||||||
category: string;
|
category: string;
|
||||||
status: string;
|
status: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type PerformanceOverviewItem = {
|
||||||
|
employee_id: number;
|
||||||
|
employee_name: string;
|
||||||
|
total_activity: number;
|
||||||
|
activity_done: number;
|
||||||
|
activity_left: number;
|
||||||
|
kandang: Pick<BaseKandang, 'id' | 'name'>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type TrackingAbkItem = {
|
||||||
|
employee_id: number;
|
||||||
|
employee_name: string;
|
||||||
|
kandang_id: number;
|
||||||
|
kandang_name: string;
|
||||||
|
total_activity: number;
|
||||||
|
activity_done: number;
|
||||||
|
activity_left: number;
|
||||||
|
completion_rate: number;
|
||||||
|
last_activity: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type DailyChecklistSummary = {
|
||||||
|
performance_overview: PerformanceOverviewItem[];
|
||||||
|
tracking_abk: TrackingAbkItem[];
|
||||||
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user