- useActivities(): {
adaptTasksToItems: (
tasks: ITask[],
statusTime: ActivityTimeStatus,
) => ActivityItemProps[];
fetchAllTasksList: (
params?: { [key: string]: string | number | boolean },
) => void;
fetchCalendar: () => void;
mappedTimeStatus: Record<
ActivityTimeStatus,
{
style: { background: string; border: string; text: string };
tasks: (tasks: ITask[]) => ITask[];
title: string;
},
>;
taskIsLate: (task: ITask) => boolean;
} Returns {
adaptTasksToItems: (
tasks: ITask[],
statusTime: ActivityTimeStatus,
) => ActivityItemProps[];
fetchAllTasksList: (
params?: { [key: string]: string | number | boolean },
) => void;
fetchCalendar: () => void;
mappedTimeStatus: Record<
ActivityTimeStatus,
{
style: { background: string; border: string; text: string };
tasks: (tasks: ITask[]) => ITask[];
title: string;
},
>;
taskIsLate: (task: ITask) => boolean;
}