update agents skill design
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user