From a8c12d0c929842a65e33fd1ae9ad55e0ae88aac5 Mon Sep 17 00:00:00 2001 From: ValdiANS Date: Mon, 12 Jan 2026 10:47:00 +0700 Subject: [PATCH] feat(FE): create type for daily checklist dashboard --- .../api/daily-checklist/daily-checklist.d.ts | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/types/api/daily-checklist/daily-checklist.d.ts b/src/types/api/daily-checklist/daily-checklist.d.ts index 9f01ae1f..b88a34aa 100644 --- a/src/types/api/daily-checklist/daily-checklist.d.ts +++ b/src/types/api/daily-checklist/daily-checklist.d.ts @@ -54,3 +54,29 @@ export type CreateDailyChecklistPayload = { category: string; status: string; }; + +export type PerformanceOverviewItem = { + employee_id: number; + employee_name: string; + total_activity: number; + activity_done: number; + activity_left: number; + kandang: Pick; +}; + +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[]; +};