General History Drawer now works

This commit is contained in:
2024-07-29 14:54:29 -05:00
parent 8a00507431
commit c95ee5957c
4 changed files with 96 additions and 27 deletions

View File

@@ -53,12 +53,12 @@ export const updateEmployeeStatusByName =
};
// Type definitions for Paginated History API
interface HistoryEntry {
type HistoryEntry = {
name: string;
status: string;
updatedAt: Date;
}
interface PaginatedHistory {
type PaginatedHistory = {
data: HistoryEntry[];
meta: {
current_page: number;