UNPKG

phx-react

Version:

PHX REACT

37 lines 955 B
export const queryShiftAndExplanationConfig = ` query getShiftAndExplanationConfig($school_id: Int!, $user_id: Int!) { users(where: {id: {_eq: $user_id}}) { department_users(where: {deleted_at: {_is_null: true}}) { department_id department { name } } } hrm_checkin_hrm_checkin_shift_config(where: {deleted_at: {_is_null: true}, school_id: {_eq: $school_id}}) { id applicable_days department_id working_hours_per_day break_start break_end allow_break_time } hrm_checkin_explanation_config(where: {deleted_at: {_is_null: true}}) { limit_time_create id request_type_id approval_type { id code } } }`; export const queryAttendanceCode = ` query getAttendanceCode($id: Int!) { hrm_checkin_attendance_code(where: {id: {_eq: $id}}) { id work_time } }`; //# sourceMappingURL=index.js.map