easywork-common-lib 1.0.756 → 1.0.757
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/@types/enums/crm.enum.d.ts +8 -0
- package/dist/common/@types/enums/crm.enum.js +14 -0
- package/dist/common/@types/enums/crm.enum.js.map +1 -0
- package/dist/common/@types/enums/index.d.ts +3 -0
- package/dist/common/@types/enums/index.js +20 -0
- package/dist/common/@types/enums/index.js.map +1 -0
- package/dist/common/@types/enums/misc.enum.d.ts +60 -0
- package/dist/common/@types/enums/misc.enum.js +81 -0
- package/dist/common/@types/enums/misc.enum.js.map +1 -0
- package/dist/common/@types/enums/permission.enum.d.ts +13 -0
- package/dist/common/@types/enums/permission.enum.js +19 -0
- package/dist/common/@types/enums/permission.enum.js.map +1 -0
- package/dist/common/@types/index.d.ts +2 -0
- package/dist/common/@types/index.js +19 -0
- package/dist/common/@types/index.js.map +1 -0
- package/dist/common/@types/interfaces/authentication.interface.d.ts +17 -0
- package/dist/common/@types/interfaces/authentication.interface.js +3 -0
- package/dist/common/@types/interfaces/authentication.interface.js.map +1 -0
- package/dist/common/@types/interfaces/crm.interface.d.ts +131 -0
- package/dist/common/@types/interfaces/crm.interface.js +3 -0
- package/dist/common/@types/interfaces/crm.interface.js.map +1 -0
- package/dist/common/@types/interfaces/file.interface.d.ts +14 -0
- package/dist/common/@types/interfaces/file.interface.js +3 -0
- package/dist/common/@types/interfaces/file.interface.js.map +1 -0
- package/dist/common/@types/interfaces/index.d.ts +6 -0
- package/dist/common/@types/interfaces/index.js +23 -0
- package/dist/common/@types/interfaces/index.js.map +1 -0
- package/dist/common/@types/interfaces/lsm.interface.d.ts +5 -0
- package/dist/common/@types/interfaces/lsm.interface.js +3 -0
- package/dist/common/@types/interfaces/lsm.interface.js.map +1 -0
- package/dist/common/@types/interfaces/mail.interface.d.ts +9 -0
- package/dist/common/@types/interfaces/mail.interface.js +3 -0
- package/dist/common/@types/interfaces/mail.interface.js.map +1 -0
- package/dist/common/@types/interfaces/validator.interface.d.ts +41 -0
- package/dist/common/@types/interfaces/validator.interface.js +3 -0
- package/dist/common/@types/interfaces/validator.interface.js.map +1 -0
- package/dist/common/constants/app.contants.d.ts +48 -0
- package/dist/common/constants/app.contants.js +219 -0
- package/dist/common/constants/app.contants.js.map +1 -0
- package/dist/common/constants/index.d.ts +3 -0
- package/dist/common/constants/index.js +20 -0
- package/dist/common/constants/index.js.map +1 -0
- package/dist/common/constants/regex.constant.d.ts +6 -0
- package/dist/common/constants/regex.constant.js +10 -0
- package/dist/common/constants/regex.constant.js.map +1 -0
- package/dist/common/constants/string.constant.d.ts +5 -0
- package/dist/common/constants/string.constant.js +41 -0
- package/dist/common/constants/string.constant.js.map +1 -0
- package/dist/common/database/base.entity.d.ts +15 -0
- package/dist/common/database/base.entity.js +76 -0
- package/dist/common/database/base.entity.js.map +1 -0
- package/dist/common/database/comment.base.entity.d.ts +11 -0
- package/dist/common/database/comment.base.entity.js +83 -0
- package/dist/common/database/comment.base.entity.js.map +1 -0
- package/dist/common/database/index.d.ts +2 -0
- package/dist/common/database/index.js +19 -0
- package/dist/common/database/index.js.map +1 -0
- package/dist/common/dtos/index.d.ts +1 -0
- package/dist/common/dtos/index.js +18 -0
- package/dist/common/dtos/index.js.map +1 -0
- package/dist/common/dtos/send-notification.dto.d.ts +11 -0
- package/dist/common/dtos/send-notification.dto.js +60 -0
- package/dist/common/dtos/send-notification.dto.js.map +1 -0
- package/dist/common/enums/common.enum.d.ts +18 -0
- package/dist/common/enums/common.enum.js +25 -0
- package/dist/common/enums/common.enum.js.map +1 -0
- package/dist/common/enums/drive.enum.d.ts +26 -0
- package/dist/common/enums/drive.enum.js +32 -0
- package/dist/common/enums/drive.enum.js.map +1 -0
- package/dist/common/enums/index.d.ts +5 -0
- package/dist/common/enums/index.js +22 -0
- package/dist/common/enums/index.js.map +1 -0
- package/dist/common/enums/notification.enum.d.ts +42 -0
- package/dist/common/enums/notification.enum.js +49 -0
- package/dist/common/enums/notification.enum.js.map +1 -0
- package/dist/common/enums/sales.enum.d.ts +107 -0
- package/dist/common/enums/sales.enum.js +129 -0
- package/dist/common/enums/sales.enum.js.map +1 -0
- package/dist/common/enums/tools.enum.d.ts +54 -0
- package/dist/common/enums/tools.enum.js +65 -0
- package/dist/common/enums/tools.enum.js.map +1 -0
- package/dist/common/functions/cripto.d.ts +1 -0
- package/dist/common/functions/cripto.js +8 -0
- package/dist/common/functions/cripto.js.map +1 -0
- package/dist/common/functions/image.d.ts +3 -0
- package/dist/common/functions/image.js +16 -0
- package/dist/common/functions/image.js.map +1 -0
- package/dist/common/functions/index.d.ts +2 -0
- package/dist/common/functions/index.js +19 -0
- package/dist/common/functions/index.js.map +1 -0
- package/dist/common/helpers/app.utils.d.ts +5 -0
- package/dist/common/helpers/app.utils.js +32 -0
- package/dist/common/helpers/app.utils.js.map +1 -0
- package/dist/common/helpers/helpers.utils.d.ts +5 -0
- package/dist/common/helpers/helpers.utils.js +26 -0
- package/dist/common/helpers/helpers.utils.js.map +1 -0
- package/dist/common/helpers/index.d.ts +2 -0
- package/dist/common/helpers/index.js +19 -0
- package/dist/common/helpers/index.js.map +1 -0
- package/dist/common/index.d.ts +8 -0
- package/dist/common/index.js +25 -0
- package/dist/common/index.js.map +1 -0
- package/dist/common/interceptors/index.d.ts +1 -0
- package/dist/common/interceptors/index.js +18 -0
- package/dist/common/interceptors/index.js.map +1 -0
- package/dist/common/interceptors/security.interceptor.d.ts +5 -0
- package/dist/common/interceptors/security.interceptor.js +22 -0
- package/dist/common/interceptors/security.interceptor.js.map +1 -0
- package/dist/entities/app_config/app-config.entity.d.ts +5 -0
- package/dist/entities/app_config/app-config.entity.js +33 -0
- package/dist/entities/app_config/app-config.entity.js.map +1 -0
- package/dist/entities/capacitation/capacitation.entity.d.ts +10 -0
- package/dist/entities/capacitation/capacitation.entity.js +68 -0
- package/dist/entities/capacitation/capacitation.entity.js.map +1 -0
- package/dist/entities/capacitation/course-assigned.entity.d.ts +12 -0
- package/dist/entities/capacitation/course-assigned.entity.js +44 -0
- package/dist/entities/capacitation/course-assigned.entity.js.map +1 -0
- package/dist/entities/capacitation/course-evaluation-attempt.entity.d.ts +22 -0
- package/dist/entities/capacitation/course-evaluation-attempt.entity.js +96 -0
- package/dist/entities/capacitation/course-evaluation-attempt.entity.js.map +1 -0
- package/dist/entities/capacitation/course-evaluation.entity.d.ts +42 -0
- package/dist/entities/capacitation/course-evaluation.entity.js +111 -0
- package/dist/entities/capacitation/course-evaluation.entity.js.map +1 -0
- package/dist/entities/capacitation/course-folder-page.entity.d.ts +14 -0
- package/dist/entities/capacitation/course-folder-page.entity.js +74 -0
- package/dist/entities/capacitation/course-folder-page.entity.js.map +1 -0
- package/dist/entities/capacitation/course-folder.entity.d.ts +10 -0
- package/dist/entities/capacitation/course-folder.entity.js +57 -0
- package/dist/entities/capacitation/course-folder.entity.js.map +1 -0
- package/dist/entities/capacitation/course-order.entity.d.ts +8 -0
- package/dist/entities/capacitation/course-order.entity.js +45 -0
- package/dist/entities/capacitation/course-order.entity.js.map +1 -0
- package/dist/entities/capacitation/course.entity.d.ts +21 -0
- package/dist/entities/capacitation/course.entity.js +119 -0
- package/dist/entities/capacitation/course.entity.js.map +1 -0
- package/dist/entities/capacitation/index.d.ts +8 -0
- package/dist/entities/capacitation/index.js +21 -0
- package/dist/entities/capacitation/index.js.map +1 -0
- package/dist/entities/currency.entity.d.ts +6 -0
- package/dist/entities/currency.entity.js +43 -0
- package/dist/entities/currency.entity.js.map +1 -0
- package/dist/entities/drive/attached_object.entity.d.ts +27 -0
- package/dist/entities/drive/attached_object.entity.js +154 -0
- package/dist/entities/drive/attached_object.entity.js.map +1 -0
- package/dist/entities/drive/file.entity.d.ts +19 -0
- package/dist/entities/drive/file.entity.js +130 -0
- package/dist/entities/drive/file.entity.js.map +1 -0
- package/dist/entities/drive/folder.entity.d.ts +18 -0
- package/dist/entities/drive/folder.entity.js +137 -0
- package/dist/entities/drive/folder.entity.js.map +1 -0
- package/dist/entities/drive/index.d.ts +3 -0
- package/dist/entities/drive/index.js +20 -0
- package/dist/entities/drive/index.js.map +1 -0
- package/dist/entities/easyapp/filter-view.entity.d.ts +7 -0
- package/dist/entities/easyapp/filter-view.entity.js +41 -0
- package/dist/entities/easyapp/filter-view.entity.js.map +1 -0
- package/dist/entities/email.entity.d.ts +5 -0
- package/dist/entities/email.entity.js +36 -0
- package/dist/entities/email.entity.js.map +1 -0
- package/dist/entities/group.entity.d.ts +13 -0
- package/dist/entities/group.entity.js +57 -0
- package/dist/entities/group.entity.js.map +1 -0
- package/dist/entities/helpers/entity_file.entity.d.ts +10 -0
- package/dist/entities/helpers/entity_file.entity.js +61 -0
- package/dist/entities/helpers/entity_file.entity.js.map +1 -0
- package/dist/entities/helpers/entity_folder.entity.d.ts +10 -0
- package/dist/entities/helpers/entity_folder.entity.js +61 -0
- package/dist/entities/helpers/entity_folder.entity.js.map +1 -0
- package/dist/entities/helpers/index.d.ts +5 -0
- package/dist/entities/helpers/index.js +22 -0
- package/dist/entities/helpers/index.js.map +1 -0
- package/dist/entities/helpers/meeting_crm.entity.d.ts +23 -0
- package/dist/entities/helpers/meeting_crm.entity.js +166 -0
- package/dist/entities/helpers/meeting_crm.entity.js.map +1 -0
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection.entity.d.ts +20 -0
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection.entity.js +160 -0
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection.entity.js.map +1 -0
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection_stage.entity.d.ts +5 -0
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection_stage.entity.js +43 -0
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection_stage.entity.js.map +1 -0
- package/dist/entities/helpers/sales/agent/h_agent_source.entity.d.ts +4 -0
- package/dist/entities/helpers/sales/agent/h_agent_source.entity.js +34 -0
- package/dist/entities/helpers/sales/agent/h_agent_source.entity.js.map +1 -0
- package/dist/entities/helpers/sales/agent/h_agent_types.entity.d.ts +4 -0
- package/dist/entities/helpers/sales/agent/h_agent_types.entity.js +34 -0
- package/dist/entities/helpers/sales/agent/h_agent_types.entity.js.map +1 -0
- package/dist/entities/helpers/sales/agent/index.d.ts +6 -0
- package/dist/entities/helpers/sales/agent/index.js +23 -0
- package/dist/entities/helpers/sales/agent/index.js.map +1 -0
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment.entity.d.ts +15 -0
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment.entity.js +120 -0
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment.entity.js.map +1 -0
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_stage.entity.d.ts +5 -0
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_stage.entity.js +43 -0
- package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_stage.entity.js.map +1 -0
- package/dist/entities/helpers/sales/common/client_sources.entity.d.ts +5 -0
- package/dist/entities/helpers/sales/common/client_sources.entity.js +36 -0
- package/dist/entities/helpers/sales/common/client_sources.entity.js.map +1 -0
- package/dist/entities/helpers/sales/common/client_types.entity.d.ts +5 -0
- package/dist/entities/helpers/sales/common/client_types.entity.js +36 -0
- package/dist/entities/helpers/sales/common/client_types.entity.js.map +1 -0
- package/dist/entities/helpers/sales/contact/contact_email.entity.d.ts +11 -0
- package/dist/entities/helpers/sales/contact/contact_email.entity.js +68 -0
- package/dist/entities/helpers/sales/contact/contact_email.entity.js.map +1 -0
- package/dist/entities/helpers/sales/contact/contact_insurance.entity.d.ts +11 -0
- package/dist/entities/helpers/sales/contact/contact_insurance.entity.js +92 -0
- package/dist/entities/helpers/sales/contact/contact_insurance.entity.js.map +1 -0
- package/dist/entities/helpers/sales/contact/contact_phone.entity.d.ts +11 -0
- package/dist/entities/helpers/sales/contact/contact_phone.entity.js +68 -0
- package/dist/entities/helpers/sales/contact/contact_phone.entity.js.map +1 -0
- package/dist/entities/helpers/sales/contact/index.d.ts +5 -0
- package/dist/entities/helpers/sales/contact/index.js +22 -0
- package/dist/entities/helpers/sales/contact/index.js.map +1 -0
- package/dist/entities/helpers/sales/index.d.ts +7 -0
- package/dist/entities/helpers/sales/index.js +24 -0
- package/dist/entities/helpers/sales/index.js.map +1 -0
- package/dist/entities/helpers/sales/lead/h_lead_source.entity.d.ts +4 -0
- package/dist/entities/helpers/sales/lead/h_lead_source.entity.js +30 -0
- package/dist/entities/helpers/sales/lead/h_lead_source.entity.js.map +1 -0
- package/dist/entities/helpers/sales/lead/h_lead_stage.entity.d.ts +5 -0
- package/dist/entities/helpers/sales/lead/h_lead_stage.entity.js +36 -0
- package/dist/entities/helpers/sales/lead/h_lead_stage.entity.js.map +1 -0
- package/dist/entities/helpers/sales/lead/h_lead_types.entity.d.ts +4 -0
- package/dist/entities/helpers/sales/lead/h_lead_types.entity.js +30 -0
- package/dist/entities/helpers/sales/lead/h_lead_types.entity.js.map +1 -0
- package/dist/entities/helpers/sales/lead/index.d.ts +6 -0
- package/dist/entities/helpers/sales/lead/index.js +23 -0
- package/dist/entities/helpers/sales/lead/index.js.map +1 -0
- package/dist/entities/helpers/sales/lead/lead_cancel_reazon.entity.d.ts +4 -0
- package/dist/entities/helpers/sales/lead/lead_cancel_reazon.entity.js +28 -0
- package/dist/entities/helpers/sales/lead/lead_cancel_reazon.entity.js.map +1 -0
- package/dist/entities/helpers/sales/lead/lead_email.entity.d.ts +11 -0
- package/dist/entities/helpers/sales/lead/lead_email.entity.js +66 -0
- package/dist/entities/helpers/sales/lead/lead_email.entity.js.map +1 -0
- package/dist/entities/helpers/sales/lead/lead_phone.entity.d.ts +11 -0
- package/dist/entities/helpers/sales/lead/lead_phone.entity.js +66 -0
- package/dist/entities/helpers/sales/lead/lead_phone.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.d.ts +5 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.js +30 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.d.ts +5 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.js +33 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.d.ts +6 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.js +39 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.d.ts +6 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.js +39 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.d.ts +5 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.js +30 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_stage.entity.d.ts +5 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_stage.entity.js +43 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_stage.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.d.ts +6 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.js +36 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.d.ts +5 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.js +33 -0
- package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/h_receipt_stage.entity.d.ts +8 -0
- package/dist/entities/helpers/sales/poliza/h_receipt_stage.entity.js +53 -0
- package/dist/entities/helpers/sales/poliza/h_receipt_stage.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/index.d.ts +11 -0
- package/dist/entities/helpers/sales/poliza/index.js +28 -0
- package/dist/entities/helpers/sales/poliza/index.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/poliza_cancel_reason.entity.d.ts +4 -0
- package/dist/entities/helpers/sales/poliza/poliza_cancel_reason.entity.js +28 -0
- package/dist/entities/helpers/sales/poliza/poliza_cancel_reason.entity.js.map +1 -0
- package/dist/entities/helpers/sales/poliza/poliza_insured.entity.d.ts +11 -0
- package/dist/entities/helpers/sales/poliza/poliza_insured.entity.js +86 -0
- package/dist/entities/helpers/sales/poliza/poliza_insured.entity.js.map +1 -0
- package/dist/entities/helpers/tools/event_crm.entity.d.ts +23 -0
- package/dist/entities/helpers/tools/event_crm.entity.js +166 -0
- package/dist/entities/helpers/tools/event_crm.entity.js.map +1 -0
- package/dist/entities/helpers/tools/index.d.ts +2 -0
- package/dist/entities/helpers/tools/index.js +19 -0
- package/dist/entities/helpers/tools/index.js.map +1 -0
- package/dist/entities/helpers/tools/task_crm.entity.d.ts +27 -0
- package/dist/entities/helpers/tools/task_crm.entity.js +196 -0
- package/dist/entities/helpers/tools/task_crm.entity.js.map +1 -0
- package/dist/entities/helpers/user/access_history.entity.d.ts +9 -0
- package/dist/entities/helpers/user/access_history.entity.js +58 -0
- package/dist/entities/helpers/user/access_history.entity.js.map +1 -0
- package/dist/entities/imap-config.entity.d.ts +11 -0
- package/dist/entities/imap-config.entity.js +61 -0
- package/dist/entities/imap-config.entity.js.map +1 -0
- package/dist/entities/index.d.ts +31 -0
- package/dist/entities/index.js +48 -0
- package/dist/entities/index.js.map +1 -0
- package/dist/entities/meeting-comment.entity.d.ts +8 -0
- package/dist/entities/meeting-comment.entity.js +46 -0
- package/dist/entities/meeting-comment.entity.js.map +1 -0
- package/dist/entities/meeting-list-field.d.ts +5 -0
- package/dist/entities/meeting-list-field.js +46 -0
- package/dist/entities/meeting-list-field.js.map +1 -0
- package/dist/entities/meeting.entity.d.ts +24 -0
- package/dist/entities/meeting.entity.js +187 -0
- package/dist/entities/meeting.entity.js.map +1 -0
- package/dist/entities/menu-permissions.entity.d.ts +7 -0
- package/dist/entities/menu-permissions.entity.js +42 -0
- package/dist/entities/menu-permissions.entity.js.map +1 -0
- package/dist/entities/notifications/index.d.ts +2 -0
- package/dist/entities/notifications/index.js +19 -0
- package/dist/entities/notifications/index.js.map +1 -0
- package/dist/entities/notifications/notification.entity.d.ts +15 -0
- package/dist/entities/notifications/notification.entity.js +119 -0
- package/dist/entities/notifications/notification.entity.js.map +1 -0
- package/dist/entities/notifications/push-token.entity.d.ts +7 -0
- package/dist/entities/notifications/push-token.entity.js +45 -0
- package/dist/entities/notifications/push-token.entity.js.map +1 -0
- package/dist/entities/otp-log.entity.d.ts +8 -0
- package/dist/entities/otp-log.entity.js +49 -0
- package/dist/entities/otp-log.entity.js.map +1 -0
- package/dist/entities/permission.entity.d.ts +7 -0
- package/dist/entities/permission.entity.js +46 -0
- package/dist/entities/permission.entity.js.map +1 -0
- package/dist/entities/phone.entity.d.ts +5 -0
- package/dist/entities/phone.entity.js +36 -0
- package/dist/entities/phone.entity.js.map +1 -0
- package/dist/entities/profile.entity.d.ts +9 -0
- package/dist/entities/profile.entity.js +56 -0
- package/dist/entities/profile.entity.js.map +1 -0
- package/dist/entities/protocol.entity.d.ts +8 -0
- package/dist/entities/protocol.entity.js +46 -0
- package/dist/entities/protocol.entity.js.map +1 -0
- package/dist/entities/refresh-token.entity.d.ts +8 -0
- package/dist/entities/refresh-token.entity.js +46 -0
- package/dist/entities/refresh-token.entity.js.map +1 -0
- package/dist/entities/role.entity.d.ts +7 -0
- package/dist/entities/role.entity.js +48 -0
- package/dist/entities/role.entity.js.map +1 -0
- package/dist/entities/sales/agent-comment.entity.d.ts +5 -0
- package/dist/entities/sales/agent-comment.entity.js +35 -0
- package/dist/entities/sales/agent-comment.entity.js.map +1 -0
- package/dist/entities/sales/agent.entity.d.ts +32 -0
- package/dist/entities/sales/agent.entity.js +254 -0
- package/dist/entities/sales/agent.entity.js.map +1 -0
- package/dist/entities/sales/agente-intermediario.entity.d.ts +7 -0
- package/dist/entities/sales/agente-intermediario.entity.js +49 -0
- package/dist/entities/sales/agente-intermediario.entity.js.map +1 -0
- package/dist/entities/sales/beneficiarios/index.d.ts +2 -0
- package/dist/entities/sales/beneficiarios/index.js +19 -0
- package/dist/entities/sales/beneficiarios/index.js.map +1 -0
- package/dist/entities/sales/beneficiarios/person.entity.d.ts +10 -0
- package/dist/entities/sales/beneficiarios/person.entity.js +89 -0
- package/dist/entities/sales/beneficiarios/person.entity.js.map +1 -0
- package/dist/entities/sales/beneficiarios/vehicle.entity.d.ts +16 -0
- package/dist/entities/sales/beneficiarios/vehicle.entity.js +106 -0
- package/dist/entities/sales/beneficiarios/vehicle.entity.js.map +1 -0
- package/dist/entities/sales/contact-comment.entity.d.ts +5 -0
- package/dist/entities/sales/contact-comment.entity.js +32 -0
- package/dist/entities/sales/contact-comment.entity.js.map +1 -0
- package/dist/entities/sales/contact.entity.d.ts +57 -0
- package/dist/entities/sales/contact.entity.js +497 -0
- package/dist/entities/sales/contact.entity.js.map +1 -0
- package/dist/entities/sales/import-session.entity.d.ts +29 -0
- package/dist/entities/sales/import-session.entity.js +155 -0
- package/dist/entities/sales/import-session.entity.js.map +1 -0
- package/dist/entities/sales/index.d.ts +16 -0
- package/dist/entities/sales/index.js +33 -0
- package/dist/entities/sales/index.js.map +1 -0
- package/dist/entities/sales/lead-comment.entity.d.ts +5 -0
- package/dist/entities/sales/lead-comment.entity.js +32 -0
- package/dist/entities/sales/lead-comment.entity.js.map +1 -0
- package/dist/entities/sales/lead.entity.d.ts +60 -0
- package/dist/entities/sales/lead.entity.js +572 -0
- package/dist/entities/sales/lead.entity.js.map +1 -0
- package/dist/entities/sales/poliza/index.d.ts +8 -0
- package/dist/entities/sales/poliza/index.js +25 -0
- package/dist/entities/sales/poliza/index.js.map +1 -0
- package/dist/entities/sales/poliza/poliza_claim-comment.entity.d.ts +5 -0
- package/dist/entities/sales/poliza/poliza_claim-comment.entity.js +35 -0
- package/dist/entities/sales/poliza/poliza_claim-comment.entity.js.map +1 -0
- package/dist/entities/sales/poliza/poliza_claim.entity.d.ts +34 -0
- package/dist/entities/sales/poliza/poliza_claim.entity.js +285 -0
- package/dist/entities/sales/poliza/poliza_claim.entity.js.map +1 -0
- package/dist/entities/sales/poliza/poliza_fund-recovery-comment.entity.d.ts +5 -0
- package/dist/entities/sales/poliza/poliza_fund-recovery-comment.entity.js +35 -0
- package/dist/entities/sales/poliza/poliza_fund-recovery-comment.entity.js.map +1 -0
- package/dist/entities/sales/poliza/poliza_fund-recovery.entity.d.ts +31 -0
- package/dist/entities/sales/poliza/poliza_fund-recovery.entity.js +259 -0
- package/dist/entities/sales/poliza/poliza_fund-recovery.entity.js.map +1 -0
- package/dist/entities/sales/poliza/poliza_reimbursement-comment.entity.d.ts +5 -0
- package/dist/entities/sales/poliza/poliza_reimbursement-comment.entity.js +35 -0
- package/dist/entities/sales/poliza/poliza_reimbursement-comment.entity.js.map +1 -0
- package/dist/entities/sales/poliza/poliza_reimbursement.entity.d.ts +34 -0
- package/dist/entities/sales/poliza/poliza_reimbursement.entity.js +277 -0
- package/dist/entities/sales/poliza/poliza_reimbursement.entity.js.map +1 -0
- package/dist/entities/sales/poliza/poliza_scheduling-comment.entity.d.ts +5 -0
- package/dist/entities/sales/poliza/poliza_scheduling-comment.entity.js +35 -0
- package/dist/entities/sales/poliza/poliza_scheduling-comment.entity.js.map +1 -0
- package/dist/entities/sales/poliza/poliza_scheduling.entity.d.ts +34 -0
- package/dist/entities/sales/poliza/poliza_scheduling.entity.js +277 -0
- package/dist/entities/sales/poliza/poliza_scheduling.entity.js.map +1 -0
- package/dist/entities/sales/poliza-comment.entity.d.ts +5 -0
- package/dist/entities/sales/poliza-comment.entity.js +32 -0
- package/dist/entities/sales/poliza-comment.entity.js.map +1 -0
- package/dist/entities/sales/poliza.entity.d.ts +108 -0
- package/dist/entities/sales/poliza.entity.js +1032 -0
- package/dist/entities/sales/poliza.entity.js.map +1 -0
- package/dist/entities/sales/poliza_pdf.entity.d.ts +94 -0
- package/dist/entities/sales/poliza_pdf.entity.js +926 -0
- package/dist/entities/sales/poliza_pdf.entity.js.map +1 -0
- package/dist/entities/sales/receipt-comment.entity.d.ts +5 -0
- package/dist/entities/sales/receipt-comment.entity.js +32 -0
- package/dist/entities/sales/receipt-comment.entity.js.map +1 -0
- package/dist/entities/sales/receipt-sub-agente.entity.d.ts +5 -0
- package/dist/entities/sales/receipt-sub-agente.entity.js +35 -0
- package/dist/entities/sales/receipt-sub-agente.entity.js.map +1 -0
- package/dist/entities/sales/receipt.entity.d.ts +32 -0
- package/dist/entities/sales/receipt.entity.js +255 -0
- package/dist/entities/sales/receipt.entity.js.map +1 -0
- package/dist/entities/tag.entity.d.ts +8 -0
- package/dist/entities/tag.entity.js +53 -0
- package/dist/entities/tag.entity.js.map +1 -0
- package/dist/entities/thirdparty/email-config.entity.d.ts +14 -0
- package/dist/entities/thirdparty/email-config.entity.js +76 -0
- package/dist/entities/thirdparty/email-config.entity.js.map +1 -0
- package/dist/entities/thirdparty/email.entity.d.ts +17 -0
- package/dist/entities/thirdparty/email.entity.js +79 -0
- package/dist/entities/thirdparty/email.entity.js.map +1 -0
- package/dist/entities/thirdparty/oauth.entity.d.ts +21 -0
- package/dist/entities/thirdparty/oauth.entity.js +100 -0
- package/dist/entities/thirdparty/oauth.entity.js.map +1 -0
- package/dist/entities/thirdparty/service.entity.d.ts +8 -0
- package/dist/entities/thirdparty/service.entity.js +38 -0
- package/dist/entities/thirdparty/service.entity.js.map +1 -0
- package/dist/entities/thirdparty/user-email-relation.entity.d.ts +7 -0
- package/dist/entities/thirdparty/user-email-relation.entity.js +35 -0
- package/dist/entities/thirdparty/user-email-relation.entity.js.map +1 -0
- package/dist/entities/tools/calendar/event-list-calendars.entity.d.ts +6 -0
- package/dist/entities/tools/calendar/event-list-calendars.entity.js +32 -0
- package/dist/entities/tools/calendar/event-list-calendars.entity.js.map +1 -0
- package/dist/entities/tools/calendar/event.entity.d.ts +25 -0
- package/dist/entities/tools/calendar/event.entity.js +213 -0
- package/dist/entities/tools/calendar/event.entity.js.map +1 -0
- package/dist/entities/tools/calendar/index.d.ts +1 -0
- package/dist/entities/tools/calendar/index.js +18 -0
- package/dist/entities/tools/calendar/index.js.map +1 -0
- package/dist/entities/tools/index.d.ts +7 -0
- package/dist/entities/tools/index.js +24 -0
- package/dist/entities/tools/index.js.map +1 -0
- package/dist/entities/tools/task-comment.entity.d.ts +8 -0
- package/dist/entities/tools/task-comment.entity.js +39 -0
- package/dist/entities/tools/task-comment.entity.js.map +1 -0
- package/dist/entities/tools/task-history.entity.d.ts +15 -0
- package/dist/entities/tools/task-history.entity.js +131 -0
- package/dist/entities/tools/task-history.entity.js.map +1 -0
- package/dist/entities/tools/task-list-field.d.ts +5 -0
- package/dist/entities/tools/task-list-field.js +39 -0
- package/dist/entities/tools/task-list-field.js.map +1 -0
- package/dist/entities/tools/task-objection.entity.d.ts +10 -0
- package/dist/entities/tools/task-objection.entity.js +80 -0
- package/dist/entities/tools/task-objection.entity.js.map +1 -0
- package/dist/entities/tools/task-time-track.entity.d.ts +16 -0
- package/dist/entities/tools/task-time-track.entity.js +139 -0
- package/dist/entities/tools/task-time-track.entity.js.map +1 -0
- package/dist/entities/tools/task.entity.d.ts +49 -0
- package/dist/entities/tools/task.entity.js +419 -0
- package/dist/entities/tools/task.entity.js.map +1 -0
- package/dist/entities/user-invitations.entity.d.ts +11 -0
- package/dist/entities/user-invitations.entity.js +102 -0
- package/dist/entities/user-invitations.entity.js.map +1 -0
- package/dist/entities/user.entity.d.ts +39 -0
- package/dist/entities/user.entity.js +270 -0
- package/dist/entities/user.entity.js.map +1 -0
- package/dist/eslint.config.d.ts +2 -0
- package/dist/eslint.config.js +46 -0
- package/dist/eslint.config.js.map +1 -0
- package/dist/grpc/drive/drive.proto +260 -0
- package/dist/grpc/drive/leads.proto +114 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -0
- package/dist/modules/index.d.ts +5 -0
- package/dist/modules/index.js +22 -0
- package/dist/modules/index.js.map +1 -0
- package/dist/modules/queue/event.service.d.ts +32 -0
- package/dist/modules/queue/event.service.js +45 -0
- package/dist/modules/queue/event.service.js.map +1 -0
- package/dist/modules/queue/notifier.service.d.ts +15 -0
- package/dist/modules/queue/notifier.service.js +70 -0
- package/dist/modules/queue/notifier.service.js.map +1 -0
- package/dist/modules/queue/notifiers/calendar.notifier.d.ts +10 -0
- package/dist/modules/queue/notifiers/calendar.notifier.js +60 -0
- package/dist/modules/queue/notifiers/calendar.notifier.js.map +1 -0
- package/dist/modules/queue/notifiers/contact.notifier.d.ts +7 -0
- package/dist/modules/queue/notifiers/contact.notifier.js +52 -0
- package/dist/modules/queue/notifiers/contact.notifier.js.map +1 -0
- package/dist/modules/queue/notifiers/index.d.ts +4 -0
- package/dist/modules/queue/notifiers/index.js +21 -0
- package/dist/modules/queue/notifiers/index.js.map +1 -0
- package/dist/modules/queue/notifiers/lead.notifier.d.ts +7 -0
- package/dist/modules/queue/notifiers/lead.notifier.js +52 -0
- package/dist/modules/queue/notifiers/lead.notifier.js.map +1 -0
- package/dist/modules/queue/notifiers/task.notifier.d.ts +15 -0
- package/dist/modules/queue/notifiers/task.notifier.js +159 -0
- package/dist/modules/queue/notifiers/task.notifier.js.map +1 -0
- package/dist/modules/queue/queue.module.d.ts +4 -0
- package/dist/modules/queue/queue.module.js +68 -0
- package/dist/modules/queue/queue.module.js.map +1 -0
- package/dist/modules/queue/queue.service.d.ts +9 -0
- package/dist/modules/queue/queue.service.js +56 -0
- package/dist/modules/queue/queue.service.js.map +1 -0
- package/dist/modules/queue/scheduler.service.d.ts +9 -0
- package/dist/modules/queue/scheduler.service.js +40 -0
- package/dist/modules/queue/scheduler.service.js.map +1 -0
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CourseEvaluationAttempt = exports.CourseEvaluationAttemptStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
+
const base_entity_1 = require("../../common/database/base.entity");
|
|
16
|
+
const course_evaluation_entity_1 = require("./course-evaluation.entity");
|
|
17
|
+
const user_entity_1 = require("../user.entity");
|
|
18
|
+
var CourseEvaluationAttemptStatus;
|
|
19
|
+
(function (CourseEvaluationAttemptStatus) {
|
|
20
|
+
CourseEvaluationAttemptStatus["inAttempt"] = "in-progress";
|
|
21
|
+
CourseEvaluationAttemptStatus["approved"] = "approved";
|
|
22
|
+
CourseEvaluationAttemptStatus["notPassed"] = "not-passed";
|
|
23
|
+
CourseEvaluationAttemptStatus["notStarted"] = "not-started";
|
|
24
|
+
})(CourseEvaluationAttemptStatus || (exports.CourseEvaluationAttemptStatus = CourseEvaluationAttemptStatus = {}));
|
|
25
|
+
let CourseEvaluationAttempt = class CourseEvaluationAttempt extends base_entity_1.EntityBase {
|
|
26
|
+
status;
|
|
27
|
+
attempt;
|
|
28
|
+
isStarted;
|
|
29
|
+
isFinished;
|
|
30
|
+
questionsAnswered;
|
|
31
|
+
finishedAt;
|
|
32
|
+
startedAt;
|
|
33
|
+
qualification;
|
|
34
|
+
timeTaken;
|
|
35
|
+
evaluation;
|
|
36
|
+
tookBy;
|
|
37
|
+
};
|
|
38
|
+
exports.CourseEvaluationAttempt = CourseEvaluationAttempt;
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)({ type: 'enum', nullable: false, default: CourseEvaluationAttemptStatus.notStarted, enum: CourseEvaluationAttemptStatus }),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], CourseEvaluationAttempt.prototype, "status", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
45
|
+
__metadata("design:type", Number)
|
|
46
|
+
], CourseEvaluationAttempt.prototype, "attempt", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
49
|
+
__metadata("design:type", Boolean)
|
|
50
|
+
], CourseEvaluationAttempt.prototype, "isStarted", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
53
|
+
__metadata("design:type", Boolean)
|
|
54
|
+
], CourseEvaluationAttempt.prototype, "isFinished", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: false, default: [] }),
|
|
57
|
+
__metadata("design:type", Array)
|
|
58
|
+
], CourseEvaluationAttempt.prototype, "questionsAnswered", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, typeorm_1.Column)({ type: 'timestamp', nullable: true }),
|
|
61
|
+
__metadata("design:type", Date)
|
|
62
|
+
], CourseEvaluationAttempt.prototype, "finishedAt", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, typeorm_1.Column)({ type: 'timestamp', nullable: true }),
|
|
65
|
+
__metadata("design:type", Date)
|
|
66
|
+
], CourseEvaluationAttempt.prototype, "startedAt", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, typeorm_1.Column)({ type: 'numeric', nullable: false, scale: 2, default: 0 }),
|
|
69
|
+
__metadata("design:type", Number)
|
|
70
|
+
], CourseEvaluationAttempt.prototype, "qualification", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, typeorm_1.Column)({ type: 'numeric', nullable: true, default: 60, scale: 2 }),
|
|
73
|
+
__metadata("design:type", Number)
|
|
74
|
+
], CourseEvaluationAttempt.prototype, "timeTaken", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, swagger_1.ApiProperty)({
|
|
77
|
+
type: () => course_evaluation_entity_1.CourseEvaluation,
|
|
78
|
+
description: 'Evaluation progress parent entity',
|
|
79
|
+
required: false,
|
|
80
|
+
}),
|
|
81
|
+
(0, typeorm_1.ManyToOne)(() => course_evaluation_entity_1.CourseEvaluation, courseEvaluation => courseEvaluation.evaluationAttempts, { cascade: true, onDelete: 'SET NULL', nullable: true }),
|
|
82
|
+
__metadata("design:type", course_evaluation_entity_1.CourseEvaluation)
|
|
83
|
+
], CourseEvaluationAttempt.prototype, "evaluation", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, swagger_1.ApiProperty)({
|
|
86
|
+
type: () => user_entity_1.User,
|
|
87
|
+
description: 'User who takes the evaluation',
|
|
88
|
+
required: false,
|
|
89
|
+
}),
|
|
90
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User),
|
|
91
|
+
__metadata("design:type", user_entity_1.User)
|
|
92
|
+
], CourseEvaluationAttempt.prototype, "tookBy", void 0);
|
|
93
|
+
exports.CourseEvaluationAttempt = CourseEvaluationAttempt = __decorate([
|
|
94
|
+
(0, typeorm_1.Entity)()
|
|
95
|
+
], CourseEvaluationAttempt);
|
|
96
|
+
//# sourceMappingURL=course-evaluation-attempt.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course-evaluation-attempt.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/course-evaluation-attempt.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,6CAA8C;AAE9C,mEAA+D;AAC/D,yEAAkF;AAClF,gDAAsC;AAEtC,IAAY,6BAKX;AALD,WAAY,6BAA6B;IACvC,0DAAyB,CAAA;IACzB,sDAAqB,CAAA;IACrB,yDAAwB,CAAA;IACxB,2DAA0B,CAAA;AAC5B,CAAC,EALW,6BAA6B,6CAA7B,6BAA6B,QAKxC;AAGM,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,wBAAU;IAErD,MAAM,CAAgC;IAGtC,OAAO,CAAS;IAGhB,SAAS,CAAU;IAGnB,UAAU,CAAU;IAGpB,iBAAiB,CAAuB;IAGxC,UAAU,CAAQ;IAGlB,SAAS,CAAQ;IAGjB,aAAa,CAAS;IAGtB,SAAS,CAAU;IAQnB,UAAU,CAAmB;IAQ7B,MAAM,CAAO;CACd,CAAA;AA3CY,0DAAuB;AAElC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,6BAA6B,CAAC,UAAU,EAAE,IAAI,EAAE,6BAA6B,EAAE,CAAC;;uDAC5F;AAGtC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;wDACzB;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;0DACR;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;2DACP;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;kEAChB;AAGxC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACjC,IAAI;2DAAC;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAClC,IAAI;0DAAC;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;8DAC7C;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;;0DAChD;AAQnB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,2CAAgB;QAC5B,WAAW,EAAE,mCAAmC;QAChD,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,2CAAgB,EAAE,gBAAgB,CAAC,EAAE,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACxI,2CAAgB;2DAAC;AAQ7B;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAI;QAChB,WAAW,EAAE,+BAA+B;QAC5C,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,CAAC;8BACd,kBAAI;uDAAC;kCA1CF,uBAAuB;IADnC,IAAA,gBAAM,GAAE;GACI,uBAAuB,CA2CnC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EntityBase } from '../../common/database/base.entity';
|
|
2
|
+
import { User } from '../user.entity';
|
|
3
|
+
import { Course } from './course.entity';
|
|
4
|
+
import { CourseFolderPage } from './course-folder-page.entity';
|
|
5
|
+
import { CourseEvaluationAttempt } from './course-evaluation-attempt.entity';
|
|
6
|
+
export declare enum QuestionType {
|
|
7
|
+
text = "text",
|
|
8
|
+
multipleChoice = "multiple-choice",
|
|
9
|
+
trueOrFalse = "true-false",
|
|
10
|
+
selection = "selection",
|
|
11
|
+
checkList = "check-list",
|
|
12
|
+
imageSection = "image-section",
|
|
13
|
+
videoSection = "video-section"
|
|
14
|
+
}
|
|
15
|
+
export type EvaluationQuestionAnswer = {
|
|
16
|
+
answeredAt: Date;
|
|
17
|
+
isSelected?: boolean;
|
|
18
|
+
value?: string | boolean | undefined | null;
|
|
19
|
+
};
|
|
20
|
+
export type EvaluationQuestion = {
|
|
21
|
+
id: string;
|
|
22
|
+
title: string;
|
|
23
|
+
description?: string;
|
|
24
|
+
body: any[];
|
|
25
|
+
type: QuestionType;
|
|
26
|
+
required: boolean;
|
|
27
|
+
isAnswered: boolean;
|
|
28
|
+
answer: any[];
|
|
29
|
+
isCorrect: boolean;
|
|
30
|
+
};
|
|
31
|
+
export declare class CourseEvaluation extends EntityBase {
|
|
32
|
+
name: string;
|
|
33
|
+
description?: string;
|
|
34
|
+
coverPhotoSrc?: string;
|
|
35
|
+
isFinal: boolean;
|
|
36
|
+
questions: EvaluationQuestion[];
|
|
37
|
+
totalAttempts: number;
|
|
38
|
+
evaluationAttempts: CourseEvaluationAttempt[];
|
|
39
|
+
page?: CourseFolderPage;
|
|
40
|
+
course: Course;
|
|
41
|
+
createdBy: User;
|
|
42
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CourseEvaluation = exports.QuestionType = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
+
const base_entity_1 = require("../../common/database/base.entity");
|
|
16
|
+
const user_entity_1 = require("../user.entity");
|
|
17
|
+
const course_entity_1 = require("./course.entity");
|
|
18
|
+
const course_folder_page_entity_1 = require("./course-folder-page.entity");
|
|
19
|
+
const course_evaluation_attempt_entity_1 = require("./course-evaluation-attempt.entity");
|
|
20
|
+
var QuestionType;
|
|
21
|
+
(function (QuestionType) {
|
|
22
|
+
QuestionType["text"] = "text";
|
|
23
|
+
QuestionType["multipleChoice"] = "multiple-choice";
|
|
24
|
+
QuestionType["trueOrFalse"] = "true-false";
|
|
25
|
+
QuestionType["selection"] = "selection";
|
|
26
|
+
QuestionType["checkList"] = "check-list";
|
|
27
|
+
QuestionType["imageSection"] = "image-section";
|
|
28
|
+
QuestionType["videoSection"] = "video-section";
|
|
29
|
+
})(QuestionType || (exports.QuestionType = QuestionType = {}));
|
|
30
|
+
let CourseEvaluation = class CourseEvaluation extends base_entity_1.EntityBase {
|
|
31
|
+
name;
|
|
32
|
+
description;
|
|
33
|
+
coverPhotoSrc;
|
|
34
|
+
isFinal;
|
|
35
|
+
questions;
|
|
36
|
+
totalAttempts;
|
|
37
|
+
evaluationAttempts;
|
|
38
|
+
page;
|
|
39
|
+
course;
|
|
40
|
+
createdBy;
|
|
41
|
+
};
|
|
42
|
+
exports.CourseEvaluation = CourseEvaluation;
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, swagger_1.ApiProperty)({
|
|
45
|
+
type: String,
|
|
46
|
+
description: 'Evaluation name',
|
|
47
|
+
required: true,
|
|
48
|
+
}),
|
|
49
|
+
(0, typeorm_1.Column)({ length: 150, nullable: false }),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], CourseEvaluation.prototype, "name", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, swagger_1.ApiProperty)({
|
|
54
|
+
type: String,
|
|
55
|
+
description: 'Evaluation description',
|
|
56
|
+
required: false,
|
|
57
|
+
}),
|
|
58
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], CourseEvaluation.prototype, "description", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Cover photo URL', nullable: true }),
|
|
63
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
64
|
+
__metadata("design:type", String)
|
|
65
|
+
], CourseEvaluation.prototype, "coverPhotoSrc", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
68
|
+
__metadata("design:type", Boolean)
|
|
69
|
+
], CourseEvaluation.prototype, "isFinal", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: false, default: [] }),
|
|
72
|
+
__metadata("design:type", Array)
|
|
73
|
+
], CourseEvaluation.prototype, "questions", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false, default: 3 }),
|
|
76
|
+
__metadata("design:type", Number)
|
|
77
|
+
], CourseEvaluation.prototype, "totalAttempts", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, swagger_1.ApiProperty)({
|
|
80
|
+
type: () => CourseEvaluation,
|
|
81
|
+
description: 'Evaluation attempts',
|
|
82
|
+
required: false,
|
|
83
|
+
}),
|
|
84
|
+
(0, typeorm_1.ManyToOne)(() => course_evaluation_attempt_entity_1.CourseEvaluationAttempt, courseEvaluationAttempt => courseEvaluationAttempt.evaluation),
|
|
85
|
+
__metadata("design:type", Array)
|
|
86
|
+
], CourseEvaluation.prototype, "evaluationAttempts", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, swagger_1.ApiProperty)({ type: () => course_folder_page_entity_1.CourseFolderPage, description: "Page's evaluation", required: false }),
|
|
89
|
+
(0, typeorm_1.ManyToOne)(() => course_folder_page_entity_1.CourseFolderPage, page => page.evaluations, {
|
|
90
|
+
nullable: true,
|
|
91
|
+
}),
|
|
92
|
+
__metadata("design:type", course_folder_page_entity_1.CourseFolderPage)
|
|
93
|
+
], CourseEvaluation.prototype, "page", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, swagger_1.ApiProperty)({ type: () => course_entity_1.Course, description: "Course's evaluations", required: false }),
|
|
96
|
+
(0, typeorm_1.ManyToOne)(() => course_entity_1.Course, course => course.evaluations, { cascade: true, onDelete: 'CASCADE' }),
|
|
97
|
+
__metadata("design:type", course_entity_1.Course)
|
|
98
|
+
], CourseEvaluation.prototype, "course", void 0);
|
|
99
|
+
__decorate([
|
|
100
|
+
(0, swagger_1.ApiProperty)({
|
|
101
|
+
type: () => user_entity_1.User,
|
|
102
|
+
description: 'User who creates the evaluation',
|
|
103
|
+
required: false,
|
|
104
|
+
}),
|
|
105
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User),
|
|
106
|
+
__metadata("design:type", user_entity_1.User)
|
|
107
|
+
], CourseEvaluation.prototype, "createdBy", void 0);
|
|
108
|
+
exports.CourseEvaluation = CourseEvaluation = __decorate([
|
|
109
|
+
(0, typeorm_1.Entity)()
|
|
110
|
+
], CourseEvaluation);
|
|
111
|
+
//# sourceMappingURL=course-evaluation.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course-evaluation.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/course-evaluation.entity.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LMSFileUploaded } from 'common';
|
|
2
|
+
import { EntityBase } from '../../common/database/base.entity';
|
|
3
|
+
import { CourseFolder } from './course-folder.entity';
|
|
4
|
+
import { CourseEvaluation } from './course-evaluation.entity';
|
|
5
|
+
export declare class CourseFolderPage extends EntityBase {
|
|
6
|
+
name: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
isCompleted: boolean;
|
|
9
|
+
isPublished: boolean;
|
|
10
|
+
order: number;
|
|
11
|
+
files?: LMSFileUploaded[];
|
|
12
|
+
folder: CourseFolder;
|
|
13
|
+
evaluations: CourseEvaluation[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CourseFolderPage = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
+
const base_entity_1 = require("../../common/database/base.entity");
|
|
16
|
+
const course_folder_entity_1 = require("./course-folder.entity");
|
|
17
|
+
const course_evaluation_entity_1 = require("./course-evaluation.entity");
|
|
18
|
+
let CourseFolderPage = class CourseFolderPage extends base_entity_1.EntityBase {
|
|
19
|
+
name;
|
|
20
|
+
description;
|
|
21
|
+
isCompleted;
|
|
22
|
+
isPublished;
|
|
23
|
+
order;
|
|
24
|
+
files;
|
|
25
|
+
folder;
|
|
26
|
+
evaluations;
|
|
27
|
+
};
|
|
28
|
+
exports.CourseFolderPage = CourseFolderPage;
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Folder page name' }),
|
|
31
|
+
(0, typeorm_1.Column)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], CourseFolderPage.prototype, "name", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Folder page description', nullable: true }),
|
|
36
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], CourseFolderPage.prototype, "description", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
41
|
+
__metadata("design:type", Boolean)
|
|
42
|
+
], CourseFolderPage.prototype, "isCompleted", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
45
|
+
__metadata("design:type", Boolean)
|
|
46
|
+
], CourseFolderPage.prototype, "isPublished", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, swagger_1.ApiProperty)({
|
|
49
|
+
type: String,
|
|
50
|
+
description: 'Course folder page order',
|
|
51
|
+
required: false,
|
|
52
|
+
}),
|
|
53
|
+
(0, typeorm_1.Column)({ type: 'int', generated: 'increment' }),
|
|
54
|
+
__metadata("design:type", Number)
|
|
55
|
+
], CourseFolderPage.prototype, "order", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, swagger_1.ApiProperty)({ isArray: true, type: String, description: 'Files uploaded to the content' }),
|
|
58
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true, default: [] }),
|
|
59
|
+
__metadata("design:type", Array)
|
|
60
|
+
], CourseFolderPage.prototype, "files", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, swagger_1.ApiProperty)({ type: () => course_folder_entity_1.CourseFolder, description: 'Folder owner of the page', required: false }),
|
|
63
|
+
(0, typeorm_1.ManyToOne)(() => course_folder_entity_1.CourseFolder, folder => folder.pages, { cascade: true, onDelete: 'CASCADE' }),
|
|
64
|
+
__metadata("design:type", course_folder_entity_1.CourseFolder)
|
|
65
|
+
], CourseFolderPage.prototype, "folder", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, swagger_1.ApiProperty)({ type: () => course_evaluation_entity_1.CourseEvaluation, description: 'Evaluation of the page', required: false }),
|
|
68
|
+
(0, typeorm_1.OneToMany)(() => course_evaluation_entity_1.CourseEvaluation, evaluation => evaluation.page, { nullable: true, cascade: true, onDelete: 'SET NULL' }),
|
|
69
|
+
__metadata("design:type", Array)
|
|
70
|
+
], CourseFolderPage.prototype, "evaluations", void 0);
|
|
71
|
+
exports.CourseFolderPage = CourseFolderPage = __decorate([
|
|
72
|
+
(0, typeorm_1.Entity)()
|
|
73
|
+
], CourseFolderPage);
|
|
74
|
+
//# sourceMappingURL=course-folder-page.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course-folder-page.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/course-folder-page.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA+D;AAC/D,6CAA8C;AAI9C,mEAA+D;AAC/D,iEAAsD;AACtD,yEAA8D;AAGvD,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,wBAAU;IAG9C,IAAI,CAAS;IAIb,WAAW,CAAU;IAGrB,WAAW,CAAU;IAGrB,WAAW,CAAU;IAQrB,KAAK,CAAS;IAId,KAAK,CAAqB;IAI1B,MAAM,CAAe;IAIrB,WAAW,CAAqB;CACjC,CAAA;AAlCY,4CAAgB;AAG3B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,kBAAkB,EAAE,CAAC;IAC9D,IAAA,gBAAM,GAAE;;8CACI;AAIb;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,yBAAyB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACrF,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACN;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;qDACN;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;qDACN;AAQrB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,0BAA0B;QACvC,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;;+CAClC;AAId;IAFC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,+BAA+B,EAAE,CAAC;IAC1F,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;+CAC7B;AAI1B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,mCAAY,EAAE,WAAW,EAAE,0BAA0B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACnG,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,mCAAY,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACtF,mCAAY;gDAAC;AAIrB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,2CAAgB,EAAE,WAAW,EAAE,wBAAwB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrG,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,2CAAgB,EAAE,UAAU,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;;qDAC1F;2BAjCrB,gBAAgB;IAD5B,IAAA,gBAAM,GAAE;GACI,gBAAgB,CAkC5B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EntityBase } from '../../common/database/base.entity';
|
|
2
|
+
import { Course } from './course.entity';
|
|
3
|
+
import { CourseFolderPage } from './course-folder-page.entity';
|
|
4
|
+
export declare class CourseFolder extends EntityBase {
|
|
5
|
+
name: string;
|
|
6
|
+
isPublished: boolean;
|
|
7
|
+
order: number;
|
|
8
|
+
course: Course;
|
|
9
|
+
pages: CourseFolderPage[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CourseFolder = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
+
const base_entity_1 = require("../../common/database/base.entity");
|
|
16
|
+
const course_entity_1 = require("./course.entity");
|
|
17
|
+
const course_folder_page_entity_1 = require("./course-folder-page.entity");
|
|
18
|
+
let CourseFolder = class CourseFolder extends base_entity_1.EntityBase {
|
|
19
|
+
name;
|
|
20
|
+
isPublished;
|
|
21
|
+
order;
|
|
22
|
+
course;
|
|
23
|
+
pages;
|
|
24
|
+
};
|
|
25
|
+
exports.CourseFolder = CourseFolder;
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Folder name' }),
|
|
28
|
+
(0, typeorm_1.Column)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], CourseFolder.prototype, "name", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
33
|
+
__metadata("design:type", Boolean)
|
|
34
|
+
], CourseFolder.prototype, "isPublished", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, swagger_1.ApiProperty)({
|
|
37
|
+
type: String,
|
|
38
|
+
description: 'Course folder order',
|
|
39
|
+
required: false,
|
|
40
|
+
}),
|
|
41
|
+
(0, typeorm_1.Column)({ type: 'int', generated: 'increment' }),
|
|
42
|
+
__metadata("design:type", Number)
|
|
43
|
+
], CourseFolder.prototype, "order", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, swagger_1.ApiProperty)({ type: () => course_entity_1.Course, description: 'Course owner of the folder', required: false }),
|
|
46
|
+
(0, typeorm_1.ManyToOne)(() => course_entity_1.Course, course => course.folders, { cascade: true, onDelete: 'CASCADE' }),
|
|
47
|
+
__metadata("design:type", course_entity_1.Course)
|
|
48
|
+
], CourseFolder.prototype, "course", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, swagger_1.ApiProperty)({ type: () => course_folder_page_entity_1.CourseFolderPage, description: 'Folder owner of the pages', required: false }),
|
|
51
|
+
(0, typeorm_1.OneToMany)(() => course_folder_page_entity_1.CourseFolderPage, courseFolderPage => courseFolderPage.folder),
|
|
52
|
+
__metadata("design:type", Array)
|
|
53
|
+
], CourseFolder.prototype, "pages", void 0);
|
|
54
|
+
exports.CourseFolder = CourseFolder = __decorate([
|
|
55
|
+
(0, typeorm_1.Entity)()
|
|
56
|
+
], CourseFolder);
|
|
57
|
+
//# sourceMappingURL=course-folder.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course-folder.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/course-folder.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA+D;AAC/D,6CAA8C;AAE9C,mEAA+D;AAC/D,mDAAyC;AACzC,2EAA+D;AAGxD,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,wBAAU;IAG1C,IAAI,CAAS;IAGb,WAAW,CAAU;IAQrB,KAAK,CAAS;IAId,MAAM,CAAS;IAIf,KAAK,CAAqB;CAC3B,CAAA;AAvBY,oCAAY;AAGvB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC;IACzD,IAAA,gBAAM,GAAE;;0CACI;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;iDACN;AAQrB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,qBAAqB;QAClC,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;;2CAClC;AAId;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,sBAAM,EAAE,WAAW,EAAE,4BAA4B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC/F,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sBAAM,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAClF,sBAAM;4CAAC;AAIf;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,4CAAgB,EAAE,WAAW,EAAE,2BAA2B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACxG,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,4CAAgB,EAAE,gBAAgB,CAAC,EAAE,CAAC,gBAAgB,CAAC,MAAM,CAAC;;2CACrD;uBAtBf,YAAY;IADxB,IAAA,gBAAM,GAAE;GACI,YAAY,CAuBxB"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CourseOrder = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const course_entity_1 = require("./course.entity");
|
|
15
|
+
const group_entity_1 = require("../group.entity");
|
|
16
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
+
const base_entity_1 = require("../../common/database/base.entity");
|
|
18
|
+
let CourseOrder = class CourseOrder extends base_entity_1.EntityBase {
|
|
19
|
+
group;
|
|
20
|
+
course;
|
|
21
|
+
order;
|
|
22
|
+
};
|
|
23
|
+
exports.CourseOrder = CourseOrder;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.ManyToOne)(() => group_entity_1.Group),
|
|
26
|
+
__metadata("design:type", group_entity_1.Group)
|
|
27
|
+
], CourseOrder.prototype, "group", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.ManyToOne)(() => course_entity_1.Course, course => course.orders, { cascade: true, onDelete: 'CASCADE' }),
|
|
30
|
+
__metadata("design:type", course_entity_1.Course)
|
|
31
|
+
], CourseOrder.prototype, "course", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, swagger_1.ApiProperty)({
|
|
34
|
+
type: String,
|
|
35
|
+
description: 'Course order',
|
|
36
|
+
required: false,
|
|
37
|
+
}),
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'int', generated: 'increment' }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], CourseOrder.prototype, "order", void 0);
|
|
41
|
+
exports.CourseOrder = CourseOrder = __decorate([
|
|
42
|
+
(0, typeorm_1.Entity)(),
|
|
43
|
+
(0, typeorm_1.Unique)(['group', 'course'])
|
|
44
|
+
], CourseOrder);
|
|
45
|
+
//# sourceMappingURL=course-order.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course-order.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/course-order.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA4D;AAC5D,mDAAyC;AACzC,kDAAwC;AACxC,6CAA8C;AAC9C,mEAA+D;AAIxD,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,wBAAU;IAEzC,KAAK,CAAQ;IAGb,MAAM,CAAS;IAQf,KAAK,CAAS;CACf,CAAA;AAdY,kCAAW;AAEtB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,CAAC;8BAChB,oBAAK;0CAAC;AAGb;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sBAAM,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACjF,sBAAM;2CAAC;AAQf;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,cAAc;QAC3B,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;;0CAClC;sBAbH,WAAW;IAFvB,IAAA,gBAAM,GAAE;IACR,IAAA,gBAAM,EAAC,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;GACf,WAAW,CAcvB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EntityBase } from '../../common/database/base.entity';
|
|
2
|
+
import { CourseFolder } from './course-folder.entity';
|
|
3
|
+
import { CourseAssigned } from './course-assigned.entity';
|
|
4
|
+
import { User } from '../user.entity';
|
|
5
|
+
import { Group } from '../group.entity';
|
|
6
|
+
import { CourseOrder } from './course-order.entity';
|
|
7
|
+
import { CourseEvaluation } from './course-evaluation.entity';
|
|
8
|
+
export declare class Course extends EntityBase {
|
|
9
|
+
name: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
openToAll: boolean;
|
|
12
|
+
private: boolean;
|
|
13
|
+
coverPhotoSrc?: string;
|
|
14
|
+
isPublished: boolean;
|
|
15
|
+
createdBy: User;
|
|
16
|
+
groups: Group[];
|
|
17
|
+
folders: CourseFolder[];
|
|
18
|
+
assignedUsers: CourseAssigned[];
|
|
19
|
+
orders: CourseOrder[];
|
|
20
|
+
evaluations: CourseEvaluation[];
|
|
21
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Course = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
+
const base_entity_1 = require("../../common/database/base.entity");
|
|
16
|
+
const course_folder_entity_1 = require("./course-folder.entity");
|
|
17
|
+
const course_assigned_entity_1 = require("./course-assigned.entity");
|
|
18
|
+
const user_entity_1 = require("../user.entity");
|
|
19
|
+
const group_entity_1 = require("../group.entity");
|
|
20
|
+
const course_order_entity_1 = require("./course-order.entity");
|
|
21
|
+
const course_evaluation_entity_1 = require("./course-evaluation.entity");
|
|
22
|
+
let Course = class Course extends base_entity_1.EntityBase {
|
|
23
|
+
name;
|
|
24
|
+
description;
|
|
25
|
+
openToAll;
|
|
26
|
+
private;
|
|
27
|
+
coverPhotoSrc;
|
|
28
|
+
isPublished;
|
|
29
|
+
createdBy;
|
|
30
|
+
groups;
|
|
31
|
+
folders;
|
|
32
|
+
assignedUsers;
|
|
33
|
+
orders;
|
|
34
|
+
evaluations;
|
|
35
|
+
};
|
|
36
|
+
exports.Course = Course;
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, swagger_1.ApiProperty)({
|
|
39
|
+
type: String,
|
|
40
|
+
description: 'Course name',
|
|
41
|
+
required: true,
|
|
42
|
+
}),
|
|
43
|
+
(0, typeorm_1.Column)({ length: 150, nullable: false }),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], Course.prototype, "name", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, swagger_1.ApiProperty)({
|
|
48
|
+
type: String,
|
|
49
|
+
description: 'Course description',
|
|
50
|
+
required: false,
|
|
51
|
+
}),
|
|
52
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], Course.prototype, "description", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, swagger_1.ApiProperty)({
|
|
57
|
+
type: Boolean,
|
|
58
|
+
required: false,
|
|
59
|
+
}),
|
|
60
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
61
|
+
__metadata("design:type", Boolean)
|
|
62
|
+
], Course.prototype, "openToAll", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, swagger_1.ApiProperty)({
|
|
65
|
+
type: Boolean,
|
|
66
|
+
required: false,
|
|
67
|
+
}),
|
|
68
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
69
|
+
__metadata("design:type", Boolean)
|
|
70
|
+
], Course.prototype, "private", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Cover photo URL', nullable: true }),
|
|
73
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], Course.prototype, "coverPhotoSrc", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, swagger_1.ApiProperty)({
|
|
78
|
+
type: Boolean,
|
|
79
|
+
required: false,
|
|
80
|
+
}),
|
|
81
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
82
|
+
__metadata("design:type", Boolean)
|
|
83
|
+
], Course.prototype, "isPublished", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, swagger_1.ApiProperty)({
|
|
86
|
+
type: () => user_entity_1.User,
|
|
87
|
+
description: 'User who creates the course',
|
|
88
|
+
required: false,
|
|
89
|
+
}),
|
|
90
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, user => user.createdCourses, { nullable: true, onDelete: 'SET NULL' }),
|
|
91
|
+
__metadata("design:type", user_entity_1.User)
|
|
92
|
+
], Course.prototype, "createdBy", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, typeorm_1.ManyToMany)(() => group_entity_1.Group, group => group.courses, { onDelete: 'CASCADE' }),
|
|
95
|
+
(0, typeorm_1.JoinTable)(),
|
|
96
|
+
__metadata("design:type", Array)
|
|
97
|
+
], Course.prototype, "groups", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, swagger_1.ApiProperty)({ type: () => course_folder_entity_1.CourseFolder }),
|
|
100
|
+
(0, typeorm_1.OneToMany)(() => course_folder_entity_1.CourseFolder, folder => folder.course),
|
|
101
|
+
__metadata("design:type", Array)
|
|
102
|
+
], Course.prototype, "folders", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, typeorm_1.OneToMany)(() => course_assigned_entity_1.CourseAssigned, courseAssigned => courseAssigned.course),
|
|
105
|
+
__metadata("design:type", Array)
|
|
106
|
+
], Course.prototype, "assignedUsers", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
(0, typeorm_1.OneToMany)(() => course_order_entity_1.CourseOrder, courseOrder => courseOrder.course),
|
|
109
|
+
__metadata("design:type", Array)
|
|
110
|
+
], Course.prototype, "orders", void 0);
|
|
111
|
+
__decorate([
|
|
112
|
+
(0, swagger_1.ApiProperty)({ type: () => course_evaluation_entity_1.CourseEvaluation, description: 'Evaluation of the course', required: false }),
|
|
113
|
+
(0, typeorm_1.OneToMany)(() => course_evaluation_entity_1.CourseEvaluation, evaluation => evaluation.course),
|
|
114
|
+
__metadata("design:type", Array)
|
|
115
|
+
], Course.prototype, "evaluations", void 0);
|
|
116
|
+
exports.Course = Course = __decorate([
|
|
117
|
+
(0, typeorm_1.Entity)()
|
|
118
|
+
], Course);
|
|
119
|
+
//# sourceMappingURL=course.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/course.entity.ts"],"names":[],"mappings":"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"}
|