update agents skill design

This commit is contained in:
2026-08-20 18:18:10 +05:30
parent 161b237695
commit b2e6868824
75 changed files with 14586 additions and 98 deletions

View File

@@ -94,6 +94,21 @@ export function useInterviews() {
});
}
/**
* Shifts worked, missed and overrun.
*
* A higher limit than the other collections because this is the one that grows
* per person per day: three workers over eight weeks is already north of a
* hundred records, and a truncated read would silently under-report attendance
* rather than fail.
*/
export function useShiftRecords() {
return useQuery({
queryKey: ['shiftRecords'],
queryFn: () => base44.entities.ShiftRecord.list('-created_date', 500),
});
}
export function useStaff() {
return useQuery({
queryKey: ['staff'],