UNPKG

phx-node

Version:

PHX NODE

42 lines 1.08 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.queryAttendanceCode = exports.queryShiftAndExplanationConfig = void 0; exports.queryShiftAndExplanationConfig = ` query getShiftAndExplanationConfig($user_id: Int!) { users(where: {id: {_eq: $user_id}}) { school_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}}) { id school_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 } } }`; exports.queryAttendanceCode = ` query getAttendanceCode($id: Int!) { hrm_checkin_attendance_code(where: {id: {_eq: $id}}) { id work_time } }`; //# sourceMappingURL=query.js.map