@ballistix.digital/types-pbc-react 0.2.0
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/dto/attachment/attachment.dto.d.ts +20 -0
- package/dist/dto/attachment/attachment.dto.js +83 -0
- package/dist/dto/attachment/attachment.dto.js.map +1 -0
- package/dist/dto/attachment/attachmentEmbedded.dto.d.ts +5 -0
- package/dist/dto/attachment/attachmentEmbedded.dto.js +31 -0
- package/dist/dto/attachment/attachmentEmbedded.dto.js.map +1 -0
- package/dist/dto/attachment/attachmentPage.dto.d.ts +13 -0
- package/dist/dto/attachment/attachmentPage.dto.js +28 -0
- package/dist/dto/attachment/attachmentPage.dto.js.map +1 -0
- package/dist/dto/attachment/bulkUpdateAttachment.dto.d.ts +10 -0
- package/dist/dto/attachment/bulkUpdateAttachment.dto.js +9 -0
- package/dist/dto/attachment/bulkUpdateAttachment.dto.js.map +1 -0
- package/dist/dto/attachment/createAttachment.dto.d.ts +8 -0
- package/dist/dto/attachment/createAttachment.dto.js +55 -0
- package/dist/dto/attachment/createAttachment.dto.js.map +1 -0
- package/dist/dto/attachment/updateAttachment.dto.d.ts +8 -0
- package/dist/dto/attachment/updateAttachment.dto.js +50 -0
- package/dist/dto/attachment/updateAttachment.dto.js.map +1 -0
- package/dist/dto/audit/audit.dto.d.ts +19 -0
- package/dist/dto/audit/audit.dto.js +78 -0
- package/dist/dto/audit/audit.dto.js.map +1 -0
- package/dist/dto/audit/auditEmbedded.dto.d.ts +11 -0
- package/dist/dto/audit/auditEmbedded.dto.js +52 -0
- package/dist/dto/audit/auditEmbedded.dto.js.map +1 -0
- package/dist/dto/audit/auditPage.dto.d.ts +13 -0
- package/dist/dto/audit/auditPage.dto.js +28 -0
- package/dist/dto/audit/auditPage.dto.js.map +1 -0
- package/dist/dto/audit/bulkUpdateAudit.dto.d.ts +10 -0
- package/dist/dto/audit/bulkUpdateAudit.dto.js +9 -0
- package/dist/dto/audit/bulkUpdateAudit.dto.js.map +1 -0
- package/dist/dto/audit/createAudit.dto.d.ts +12 -0
- package/dist/dto/audit/createAudit.dto.js +80 -0
- package/dist/dto/audit/createAudit.dto.js.map +1 -0
- package/dist/dto/audit/updateAudit.dto.d.ts +11 -0
- package/dist/dto/audit/updateAudit.dto.js +76 -0
- package/dist/dto/audit/updateAudit.dto.js.map +1 -0
- package/dist/dto/auditTeam/auditTeam.dto.d.ts +7 -0
- package/dist/dto/auditTeam/auditTeam.dto.js +30 -0
- package/dist/dto/auditTeam/auditTeam.dto.js.map +1 -0
- package/dist/dto/auditTeam/auditTeamEmbedded.dto.d.ts +5 -0
- package/dist/dto/auditTeam/auditTeamEmbedded.dto.js +31 -0
- package/dist/dto/auditTeam/auditTeamEmbedded.dto.js.map +1 -0
- package/dist/dto/auditTeam/auditTeamPage.dto.d.ts +13 -0
- package/dist/dto/auditTeam/auditTeamPage.dto.js +28 -0
- package/dist/dto/auditTeam/auditTeamPage.dto.js.map +1 -0
- package/dist/dto/auditTeam/bulkUpdateAuditTeam.dto.d.ts +10 -0
- package/dist/dto/auditTeam/bulkUpdateAuditTeam.dto.js +9 -0
- package/dist/dto/auditTeam/bulkUpdateAuditTeam.dto.js.map +1 -0
- package/dist/dto/auditTeam/createAuditTeam.dto.d.ts +4 -0
- package/dist/dto/auditTeam/createAuditTeam.dto.js +31 -0
- package/dist/dto/auditTeam/createAuditTeam.dto.js.map +1 -0
- package/dist/dto/auditTeam/updateAuditTeam.dto.d.ts +4 -0
- package/dist/dto/auditTeam/updateAuditTeam.dto.js +33 -0
- package/dist/dto/auditTeam/updateAuditTeam.dto.js.map +1 -0
- package/dist/dto/comment/bulkUpdateComment.dto.d.ts +10 -0
- package/dist/dto/comment/bulkUpdateComment.dto.js +9 -0
- package/dist/dto/comment/bulkUpdateComment.dto.js.map +1 -0
- package/dist/dto/comment/comment.dto.d.ts +10 -0
- package/dist/dto/comment/comment.dto.js +41 -0
- package/dist/dto/comment/comment.dto.js.map +1 -0
- package/dist/dto/comment/commentEmbedded.dto.d.ts +7 -0
- package/dist/dto/comment/commentEmbedded.dto.js +38 -0
- package/dist/dto/comment/commentEmbedded.dto.js.map +1 -0
- package/dist/dto/comment/commentPage.dto.d.ts +13 -0
- package/dist/dto/comment/commentPage.dto.js +28 -0
- package/dist/dto/comment/commentPage.dto.js.map +1 -0
- package/dist/dto/comment/createComment.dto.d.ts +6 -0
- package/dist/dto/comment/createComment.dto.js +40 -0
- package/dist/dto/comment/createComment.dto.js.map +1 -0
- package/dist/dto/comment/updateComment.dto.d.ts +5 -0
- package/dist/dto/comment/updateComment.dto.js +34 -0
- package/dist/dto/comment/updateComment.dto.js.map +1 -0
- package/dist/dto/cronJob/cronJob.dto.d.ts +6 -0
- package/dist/dto/cronJob/cronJob.dto.js +34 -0
- package/dist/dto/cronJob/cronJob.dto.js.map +1 -0
- package/dist/dto/cronJob/cronJobOptions.dto.d.ts +4 -0
- package/dist/dto/cronJob/cronJobOptions.dto.js +28 -0
- package/dist/dto/cronJob/cronJobOptions.dto.js.map +1 -0
- package/dist/dto/cronJob/cronJobPage.dto.d.ts +13 -0
- package/dist/dto/cronJob/cronJobPage.dto.js +28 -0
- package/dist/dto/cronJob/cronJobPage.dto.js.map +1 -0
- package/dist/dto/customer/bulkUpdateCustomer.dto.d.ts +10 -0
- package/dist/dto/customer/bulkUpdateCustomer.dto.js +9 -0
- package/dist/dto/customer/bulkUpdateCustomer.dto.js.map +1 -0
- package/dist/dto/customer/createCustomer.dto.d.ts +4 -0
- package/dist/dto/customer/createCustomer.dto.js +32 -0
- package/dist/dto/customer/createCustomer.dto.js.map +1 -0
- package/dist/dto/customer/customer.dto.d.ts +8 -0
- package/dist/dto/customer/customer.dto.js +35 -0
- package/dist/dto/customer/customer.dto.js.map +1 -0
- package/dist/dto/customer/customerEmbedded.dto.d.ts +7 -0
- package/dist/dto/customer/customerEmbedded.dto.js +38 -0
- package/dist/dto/customer/customerEmbedded.dto.js.map +1 -0
- package/dist/dto/customer/customerPage.dto.d.ts +13 -0
- package/dist/dto/customer/customerPage.dto.js +28 -0
- package/dist/dto/customer/customerPage.dto.js.map +1 -0
- package/dist/dto/customer/updateCustomer.dto.d.ts +4 -0
- package/dist/dto/customer/updateCustomer.dto.js +33 -0
- package/dist/dto/customer/updateCustomer.dto.js.map +1 -0
- package/dist/dto/customerTeam/bulkUpdateCustomerTeam.dto.d.ts +10 -0
- package/dist/dto/customerTeam/bulkUpdateCustomerTeam.dto.js +9 -0
- package/dist/dto/customerTeam/bulkUpdateCustomerTeam.dto.js.map +1 -0
- package/dist/dto/customerTeam/createCustomerTeam.dto.d.ts +4 -0
- package/dist/dto/customerTeam/createCustomerTeam.dto.js +31 -0
- package/dist/dto/customerTeam/createCustomerTeam.dto.js.map +1 -0
- package/dist/dto/customerTeam/customerTeam.dto.d.ts +8 -0
- package/dist/dto/customerTeam/customerTeam.dto.js +35 -0
- package/dist/dto/customerTeam/customerTeam.dto.js.map +1 -0
- package/dist/dto/customerTeam/customerTeamEmbedded.dto.d.ts +9 -0
- package/dist/dto/customerTeam/customerTeamEmbedded.dto.js +45 -0
- package/dist/dto/customerTeam/customerTeamEmbedded.dto.js.map +1 -0
- package/dist/dto/customerTeam/customerTeamPage.dto.d.ts +13 -0
- package/dist/dto/customerTeam/customerTeamPage.dto.js +28 -0
- package/dist/dto/customerTeam/customerTeamPage.dto.js.map +1 -0
- package/dist/dto/customerTeam/updateCustomerTeam.dto.d.ts +3 -0
- package/dist/dto/customerTeam/updateCustomerTeam.dto.js +26 -0
- package/dist/dto/customerTeam/updateCustomerTeam.dto.js.map +1 -0
- package/dist/dto/cycle/bulkUpdateCycle.dto.d.ts +10 -0
- package/dist/dto/cycle/bulkUpdateCycle.dto.js +9 -0
- package/dist/dto/cycle/bulkUpdateCycle.dto.js.map +1 -0
- package/dist/dto/cycle/createCycle.dto.d.ts +7 -0
- package/dist/dto/cycle/createCycle.dto.js +46 -0
- package/dist/dto/cycle/createCycle.dto.js.map +1 -0
- package/dist/dto/cycle/cycle.dto.d.ts +12 -0
- package/dist/dto/cycle/cycle.dto.js +51 -0
- package/dist/dto/cycle/cycle.dto.js.map +1 -0
- package/dist/dto/cycle/cycleEmbedded.dto.d.ts +9 -0
- package/dist/dto/cycle/cycleEmbedded.dto.js +45 -0
- package/dist/dto/cycle/cycleEmbedded.dto.js.map +1 -0
- package/dist/dto/cycle/cyclePage.dto.d.ts +13 -0
- package/dist/dto/cycle/cyclePage.dto.js +28 -0
- package/dist/dto/cycle/cyclePage.dto.js.map +1 -0
- package/dist/dto/cycle/updateCycle.dto.d.ts +6 -0
- package/dist/dto/cycle/updateCycle.dto.js +41 -0
- package/dist/dto/cycle/updateCycle.dto.js.map +1 -0
- package/dist/dto/exception/exception.dto.d.ts +7 -0
- package/dist/dto/exception/exception.dto.js +54 -0
- package/dist/dto/exception/exception.dto.js.map +1 -0
- package/dist/dto/generic/base.dto.d.ts +15 -0
- package/dist/dto/generic/base.dto.js +47 -0
- package/dist/dto/generic/base.dto.js.map +1 -0
- package/dist/dto/generic/baseView.dto.d.ts +7 -0
- package/dist/dto/generic/baseView.dto.js +11 -0
- package/dist/dto/generic/baseView.dto.js.map +1 -0
- package/dist/dto/generic/bulk.dto.d.ts +8 -0
- package/dist/dto/generic/bulk.dto.js +34 -0
- package/dist/dto/generic/bulk.dto.js.map +1 -0
- package/dist/dto/generic/collectionFilter.dto.d.ts +9 -0
- package/dist/dto/generic/collectionFilter.dto.js +72 -0
- package/dist/dto/generic/collectionFilter.dto.js.map +1 -0
- package/dist/dto/generic/embedded/embedded.dto.d.ts +8 -0
- package/dist/dto/generic/embedded/embedded.dto.js +36 -0
- package/dist/dto/generic/embedded/embedded.dto.js.map +1 -0
- package/dist/dto/generic/filter.dto.d.ts +7 -0
- package/dist/dto/generic/filter.dto.js +50 -0
- package/dist/dto/generic/filter.dto.js.map +1 -0
- package/dist/dto/generic/page.dto.d.ts +8 -0
- package/dist/dto/generic/page.dto.js +41 -0
- package/dist/dto/generic/page.dto.js.map +1 -0
- package/dist/dto/generic/pageInfo.dto.d.ts +6 -0
- package/dist/dto/generic/pageInfo.dto.js +47 -0
- package/dist/dto/generic/pageInfo.dto.js.map +1 -0
- package/dist/dto/notificationTask/bulkUpdateNotificationTaskDto.d.ts +10 -0
- package/dist/dto/notificationTask/bulkUpdateNotificationTaskDto.js +9 -0
- package/dist/dto/notificationTask/bulkUpdateNotificationTaskDto.js.map +1 -0
- package/dist/dto/notificationTask/createNotificationTaskDto.d.ts +8 -0
- package/dist/dto/notificationTask/createNotificationTaskDto.js +53 -0
- package/dist/dto/notificationTask/createNotificationTaskDto.js.map +1 -0
- package/dist/dto/notificationTask/notificationTaskDto.d.ts +14 -0
- package/dist/dto/notificationTask/notificationTaskDto.js +57 -0
- package/dist/dto/notificationTask/notificationTaskDto.js.map +1 -0
- package/dist/dto/notificationTask/notificationTaskEmbeddedDto.d.ts +5 -0
- package/dist/dto/notificationTask/notificationTaskEmbeddedDto.js +31 -0
- package/dist/dto/notificationTask/notificationTaskEmbeddedDto.js.map +1 -0
- package/dist/dto/notificationTask/notificationTaskPageDto.d.ts +13 -0
- package/dist/dto/notificationTask/notificationTaskPageDto.js +28 -0
- package/dist/dto/notificationTask/notificationTaskPageDto.js.map +1 -0
- package/dist/dto/notificationTask/updateNotificationTaskDto.d.ts +9 -0
- package/dist/dto/notificationTask/updateNotificationTaskDto.js +57 -0
- package/dist/dto/notificationTask/updateNotificationTaskDto.js.map +1 -0
- package/dist/dto/question/bulkUpdateQuestion.dto.d.ts +10 -0
- package/dist/dto/question/bulkUpdateQuestion.dto.js +9 -0
- package/dist/dto/question/bulkUpdateQuestion.dto.js.map +1 -0
- package/dist/dto/question/createQuestion.dto.d.ts +13 -0
- package/dist/dto/question/createQuestion.dto.js +79 -0
- package/dist/dto/question/createQuestion.dto.js.map +1 -0
- package/dist/dto/question/question.dto.d.ts +18 -0
- package/dist/dto/question/question.dto.js +73 -0
- package/dist/dto/question/question.dto.js.map +1 -0
- package/dist/dto/question/questionEmbedded.dto.d.ts +9 -0
- package/dist/dto/question/questionEmbedded.dto.js +45 -0
- package/dist/dto/question/questionEmbedded.dto.js.map +1 -0
- package/dist/dto/question/questionPage.dto.d.ts +13 -0
- package/dist/dto/question/questionPage.dto.js +28 -0
- package/dist/dto/question/questionPage.dto.js.map +1 -0
- package/dist/dto/question/updateQuestion.dto.d.ts +12 -0
- package/dist/dto/question/updateQuestion.dto.js +74 -0
- package/dist/dto/question/updateQuestion.dto.js.map +1 -0
- package/dist/dto/status/component.dto.d.ts +5 -0
- package/dist/dto/status/component.dto.js +38 -0
- package/dist/dto/status/component.dto.js.map +1 -0
- package/dist/dto/status/componentHealth.dto.d.ts +5 -0
- package/dist/dto/status/componentHealth.dto.js +33 -0
- package/dist/dto/status/componentHealth.dto.js.map +1 -0
- package/dist/dto/status/health.dto.d.ts +3 -0
- package/dist/dto/status/health.dto.js +23 -0
- package/dist/dto/status/health.dto.js.map +1 -0
- package/dist/dto/survey/bulkUpdateSurvey.dto.d.ts +10 -0
- package/dist/dto/survey/bulkUpdateSurvey.dto.js +9 -0
- package/dist/dto/survey/bulkUpdateSurvey.dto.js.map +1 -0
- package/dist/dto/survey/createSurvey.dto.d.ts +5 -0
- package/dist/dto/survey/createSurvey.dto.js +37 -0
- package/dist/dto/survey/createSurvey.dto.js.map +1 -0
- package/dist/dto/survey/survey.dto.d.ts +9 -0
- package/dist/dto/survey/survey.dto.js +40 -0
- package/dist/dto/survey/survey.dto.js.map +1 -0
- package/dist/dto/survey/surveyCalculated.dto.d.ts +5 -0
- package/dist/dto/survey/surveyCalculated.dto.js +33 -0
- package/dist/dto/survey/surveyCalculated.dto.js.map +1 -0
- package/dist/dto/survey/surveyEmbedded.dto.d.ts +11 -0
- package/dist/dto/survey/surveyEmbedded.dto.js +52 -0
- package/dist/dto/survey/surveyEmbedded.dto.js.map +1 -0
- package/dist/dto/survey/surveyPage.dto.d.ts +13 -0
- package/dist/dto/survey/surveyPage.dto.js +28 -0
- package/dist/dto/survey/surveyPage.dto.js.map +1 -0
- package/dist/dto/survey/updateSurvey.dto.d.ts +4 -0
- package/dist/dto/survey/updateSurvey.dto.js +32 -0
- package/dist/dto/survey/updateSurvey.dto.js.map +1 -0
- package/dist/dto/user/bulkUpdateUser.dto.d.ts +10 -0
- package/dist/dto/user/bulkUpdateUser.dto.js +9 -0
- package/dist/dto/user/bulkUpdateUser.dto.js.map +1 -0
- package/dist/dto/user/createUser.dto.d.ts +2 -0
- package/dist/dto/user/createUser.dto.js +7 -0
- package/dist/dto/user/createUser.dto.js.map +1 -0
- package/dist/dto/user/updateUser.dto.d.ts +4 -0
- package/dist/dto/user/updateUser.dto.js +28 -0
- package/dist/dto/user/updateUser.dto.js.map +1 -0
- package/dist/dto/user/user.dto.d.ts +11 -0
- package/dist/dto/user/user.dto.js +46 -0
- package/dist/dto/user/user.dto.js.map +1 -0
- package/dist/dto/user/userEmbedded.dto.d.ts +9 -0
- package/dist/dto/user/userEmbedded.dto.js +45 -0
- package/dist/dto/user/userEmbedded.dto.js.map +1 -0
- package/dist/dto/user/userPage.dto.d.ts +13 -0
- package/dist/dto/user/userPage.dto.js +28 -0
- package/dist/dto/user/userPage.dto.js.map +1 -0
- package/dist/dto/userCustomerTeam/bulkUpdateUserCustomerTeam.dto.d.ts +10 -0
- package/dist/dto/userCustomerTeam/bulkUpdateUserCustomerTeam.dto.js +9 -0
- package/dist/dto/userCustomerTeam/bulkUpdateUserCustomerTeam.dto.js.map +1 -0
- package/dist/dto/userCustomerTeam/createUserCustomerTeam.dto.d.ts +4 -0
- package/dist/dto/userCustomerTeam/createUserCustomerTeam.dto.js +31 -0
- package/dist/dto/userCustomerTeam/createUserCustomerTeam.dto.js.map +1 -0
- package/dist/dto/userCustomerTeam/updateUserCustomerTeam.dto.d.ts +4 -0
- package/dist/dto/userCustomerTeam/updateUserCustomerTeam.dto.js +33 -0
- package/dist/dto/userCustomerTeam/updateUserCustomerTeam.dto.js.map +1 -0
- package/dist/dto/userCustomerTeam/userCustomerTeam.dto.d.ts +8 -0
- package/dist/dto/userCustomerTeam/userCustomerTeam.dto.js +35 -0
- package/dist/dto/userCustomerTeam/userCustomerTeam.dto.js.map +1 -0
- package/dist/dto/userCustomerTeam/userCustomerTeamEmbedded.dto.d.ts +8 -0
- package/dist/dto/userCustomerTeam/userCustomerTeamEmbedded.dto.js +44 -0
- package/dist/dto/userCustomerTeam/userCustomerTeamEmbedded.dto.js.map +1 -0
- package/dist/dto/userCustomerTeam/userCustomerTeamPage.dto.d.ts +13 -0
- package/dist/dto/userCustomerTeam/userCustomerTeamPage.dto.js +28 -0
- package/dist/dto/userCustomerTeam/userCustomerTeamPage.dto.js.map +1 -0
- package/dist/enum/attachmentStatus.enum.d.ts +5 -0
- package/dist/enum/attachmentStatus.enum.js +10 -0
- package/dist/enum/attachmentStatus.enum.js.map +1 -0
- package/dist/enum/attachmentType.enum.d.ts +4 -0
- package/dist/enum/attachmentType.enum.js +9 -0
- package/dist/enum/attachmentType.enum.js.map +1 -0
- package/dist/enum/attachmentUploadStatus.enum.d.ts +5 -0
- package/dist/enum/attachmentUploadStatus.enum.js +10 -0
- package/dist/enum/attachmentUploadStatus.enum.js.map +1 -0
- package/dist/enum/auditErrorStatus.enum.d.ts +5 -0
- package/dist/enum/auditErrorStatus.enum.js +10 -0
- package/dist/enum/auditErrorStatus.enum.js.map +1 -0
- package/dist/enum/auditStatus.enum.d.ts +11 -0
- package/dist/enum/auditStatus.enum.js +16 -0
- package/dist/enum/auditStatus.enum.js.map +1 -0
- package/dist/enum/auditType.enum.d.ts +6 -0
- package/dist/enum/auditType.enum.js +11 -0
- package/dist/enum/auditType.enum.js.map +1 -0
- package/dist/enum/commentStatus.enum.d.ts +4 -0
- package/dist/enum/commentStatus.enum.js +9 -0
- package/dist/enum/commentStatus.enum.js.map +1 -0
- package/dist/enum/cycleStatus.enum.d.ts +4 -0
- package/dist/enum/cycleStatus.enum.js +9 -0
- package/dist/enum/cycleStatus.enum.js.map +1 -0
- package/dist/enum/notificationTaskStatus.enum.d.ts +7 -0
- package/dist/enum/notificationTaskStatus.enum.js +12 -0
- package/dist/enum/notificationTaskStatus.enum.js.map +1 -0
- package/dist/enum/notificationTaskType.enum.d.ts +11 -0
- package/dist/enum/notificationTaskType.enum.js +16 -0
- package/dist/enum/notificationTaskType.enum.js.map +1 -0
- package/dist/enum/questionCategory.enum.d.ts +4 -0
- package/dist/enum/questionCategory.enum.js +9 -0
- package/dist/enum/questionCategory.enum.js.map +1 -0
- package/dist/enum/questionStatus.enum.d.ts +8 -0
- package/dist/enum/questionStatus.enum.js +13 -0
- package/dist/enum/questionStatus.enum.js.map +1 -0
- package/dist/enum/questionType.enum.d.ts +5 -0
- package/dist/enum/questionType.enum.js +10 -0
- package/dist/enum/questionType.enum.js.map +1 -0
- package/dist/enum/userRoleEnum.d.ts +5 -0
- package/dist/enum/userRoleEnum.js +10 -0
- package/dist/enum/userRoleEnum.js.map +1 -0
- package/dist/exception/validationException.d.ts +5 -0
- package/dist/exception/validationException.js +10 -0
- package/dist/exception/validationException.js.map +1 -0
- package/dist/index.d.ts +107 -0
- package/dist/index.js +219 -0
- package/dist/index.js.map +1 -0
- package/dist/nestjs.d.ts +11 -0
- package/dist/nestjs.js +18 -0
- package/dist/nestjs.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/util/convertAndValidate.d.ts +1 -0
- package/dist/util/convertAndValidate.js +47 -0
- package/dist/util/convertAndValidate.js.map +1 -0
- package/dist/util/isBiggerThan.validator.d.ts +2 -0
- package/dist/util/isBiggerThan.validator.js +40 -0
- package/dist/util/isBiggerThan.validator.js.map +1 -0
- package/dist/util/isEmptyAttribute.validator.d.ts +2 -0
- package/dist/util/isEmptyAttribute.validator.js +42 -0
- package/dist/util/isEmptyAttribute.validator.js.map +1 -0
- package/dist/util/isRequiredFieldValue.validator.d.ts +2 -0
- package/dist/util/isRequiredFieldValue.validator.js +43 -0
- package/dist/util/isRequiredFieldValue.validator.js.map +1 -0
- package/dist/util/isRequiredFields.validator.d.ts +2 -0
- package/dist/util/isRequiredFields.validator.js +39 -0
- package/dist/util/isRequiredFields.validator.js.map +1 -0
- package/dist/util/isSmallerThan.validator.d.ts +2 -0
- package/dist/util/isSmallerThan.validator.js +40 -0
- package/dist/util/isSmallerThan.validator.js.map +1 -0
- package/dist/util/isTimeString.validator.d.ts +2 -0
- package/dist/util/isTimeString.validator.js +36 -0
- package/dist/util/isTimeString.validator.js.map +1 -0
- package/dist/util/transformDefault.d.ts +1 -0
- package/dist/util/transformDefault.js +10 -0
- package/dist/util/transformDefault.js.map +1 -0
- package/dist/util/transformEmbedded.d.ts +1 -0
- package/dist/util/transformEmbedded.js +31 -0
- package/dist/util/transformEmbedded.js.map +1 -0
- package/dist/util/transformFloat.d.ts +1 -0
- package/dist/util/transformFloat.js +21 -0
- package/dist/util/transformFloat.js.map +1 -0
- package/dist/util/transformInteger.d.ts +1 -0
- package/dist/util/transformInteger.js +21 -0
- package/dist/util/transformInteger.js.map +1 -0
- package/dist/util/transformTime.d.ts +1 -0
- package/dist/util/transformTime.js +13 -0
- package/dist/util/transformTime.js.map +1 -0
- package/dist/util/transformTotal.d.ts +1 -0
- package/dist/util/transformTotal.js +16 -0
- package/dist/util/transformTotal.js.map +1 -0
- package/dist/util/transformTrimString.d.ts +1 -0
- package/dist/util/transformTrimString.js +23 -0
- package/dist/util/transformTrimString.js.map +1 -0
- package/package.json +28 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NotificationTaskTypeEnum } from '../../enum/notificationTaskType.enum';
|
|
2
|
+
import { NotificationTaskStatusEnum } from '../../enum/notificationTaskStatus.enum';
|
|
3
|
+
export declare class UpdateNotificationTaskDto {
|
|
4
|
+
reference?: string;
|
|
5
|
+
type?: NotificationTaskTypeEnum;
|
|
6
|
+
status?: NotificationTaskStatusEnum;
|
|
7
|
+
retryCount?: number;
|
|
8
|
+
errorMessage?: string;
|
|
9
|
+
}
|
|
@@ -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.UpdateNotificationTaskDto = void 0;
|
|
13
|
+
const nestjs_1 = require("../../nestjs");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const notificationTaskType_enum_1 = require("../../enum/notificationTaskType.enum");
|
|
16
|
+
const notificationTaskStatus_enum_1 = require("../../enum/notificationTaskStatus.enum");
|
|
17
|
+
const class_validator_1 = require("class-validator");
|
|
18
|
+
const lodash_1 = require("lodash");
|
|
19
|
+
class UpdateNotificationTaskDto {
|
|
20
|
+
}
|
|
21
|
+
exports.UpdateNotificationTaskDto = UpdateNotificationTaskDto;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
24
|
+
(0, class_validator_1.IsOptional)(),
|
|
25
|
+
(0, class_validator_1.IsString)(),
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], UpdateNotificationTaskDto.prototype, "reference", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, nestjs_1.ApiProperty)({ enum: notificationTaskType_enum_1.NotificationTaskTypeEnum, required: false }),
|
|
31
|
+
(0, class_validator_1.IsOptional)(),
|
|
32
|
+
(0, class_validator_1.IsIn)((0, lodash_1.values)(notificationTaskType_enum_1.NotificationTaskTypeEnum)),
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], UpdateNotificationTaskDto.prototype, "type", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, nestjs_1.ApiProperty)({ enum: notificationTaskStatus_enum_1.NotificationTaskStatusEnum, required: false }),
|
|
38
|
+
(0, class_validator_1.IsOptional)(),
|
|
39
|
+
(0, class_validator_1.IsIn)((0, lodash_1.values)(notificationTaskStatus_enum_1.NotificationTaskStatusEnum)),
|
|
40
|
+
(0, class_transformer_1.Expose)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], UpdateNotificationTaskDto.prototype, "status", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: false, default: 0 }),
|
|
45
|
+
(0, class_validator_1.IsOptional)(),
|
|
46
|
+
(0, class_validator_1.IsInt)(),
|
|
47
|
+
(0, class_transformer_1.Expose)(),
|
|
48
|
+
__metadata("design:type", Number)
|
|
49
|
+
], UpdateNotificationTaskDto.prototype, "retryCount", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
52
|
+
(0, class_validator_1.IsOptional)(),
|
|
53
|
+
(0, class_validator_1.IsString)(),
|
|
54
|
+
(0, class_transformer_1.Expose)(),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], UpdateNotificationTaskDto.prototype, "errorMessage", void 0);
|
|
57
|
+
//# sourceMappingURL=updateNotificationTaskDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateNotificationTaskDto.js","sourceRoot":"","sources":["../../../src/dto/notificationTask/updateNotificationTaskDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,oFAAgF;AAChF,wFAAoF;AACpF,qDAA4E;AAC5E,mCAAgC;AAEhC,MAAa,yBAAyB;CA8BrC;AA9BD,8DA8BC;AAzBA;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;4DACU;AAMnB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,oDAAwB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChE,IAAA,4BAAU,GAAE;IACZ,IAAA,sBAAI,EAAC,IAAA,eAAM,EAAC,oDAAwB,CAAC,CAAC;IACtC,IAAA,0BAAM,GAAE;;uDACuB;AAMhC;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,wDAA0B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAClE,IAAA,4BAAU,GAAE;IACZ,IAAA,sBAAI,EAAC,IAAA,eAAM,EAAC,wDAA0B,CAAC,CAAC;IACxC,IAAA,0BAAM,GAAE;;yDAC2B;AAMpC;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC1D,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,0BAAM,GAAE;;6DACW;AAMpB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;+DACa"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BulkUpdateQuestionDto = void 0;
|
|
4
|
+
const bulk_dto_1 = require("../generic/bulk.dto");
|
|
5
|
+
const updateQuestion_dto_1 = require("./updateQuestion.dto");
|
|
6
|
+
class BulkUpdateQuestionDto extends (0, bulk_dto_1.BulkDto)(updateQuestion_dto_1.UpdateQuestionDto) {
|
|
7
|
+
}
|
|
8
|
+
exports.BulkUpdateQuestionDto = BulkUpdateQuestionDto;
|
|
9
|
+
//# sourceMappingURL=bulkUpdateQuestion.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulkUpdateQuestion.dto.js","sourceRoot":"","sources":["../../../src/dto/question/bulkUpdateQuestion.dto.ts"],"names":[],"mappings":";;;AAAA,kDAA8C;AAC9C,6DAAyD;AAEzD,MAAa,qBAAsB,SAAQ,IAAA,kBAAO,EAAC,sCAAiB,CAAC;CAAG;AAAxE,sDAAwE"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { QuestionStatusEnum } from '../../enum/questionStatus.enum';
|
|
2
|
+
import { QuestionTypeEnum } from '../../enum/questionType.enum';
|
|
3
|
+
import { QuestionCategoryEnum } from '../../enum/questionCategory.enum';
|
|
4
|
+
export declare class CreateQuestionDto {
|
|
5
|
+
title: string;
|
|
6
|
+
status?: QuestionStatusEnum;
|
|
7
|
+
type?: QuestionTypeEnum;
|
|
8
|
+
category?: QuestionCategoryEnum;
|
|
9
|
+
textResponse?: string;
|
|
10
|
+
booleanResponse?: boolean;
|
|
11
|
+
isConfidential?: boolean;
|
|
12
|
+
cycleId: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
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.CreateQuestionDto = void 0;
|
|
13
|
+
const nestjs_1 = require("../../nestjs");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const class_transformer_1 = require("class-transformer");
|
|
16
|
+
const questionStatus_enum_1 = require("../../enum/questionStatus.enum");
|
|
17
|
+
const questionType_enum_1 = require("../../enum/questionType.enum");
|
|
18
|
+
const questionCategory_enum_1 = require("../../enum/questionCategory.enum");
|
|
19
|
+
class CreateQuestionDto {
|
|
20
|
+
}
|
|
21
|
+
exports.CreateQuestionDto = CreateQuestionDto;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], CreateQuestionDto.prototype, "title", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, nestjs_1.ApiProperty)({ enum: questionStatus_enum_1.QuestionStatusEnum, required: false }),
|
|
30
|
+
(0, class_validator_1.IsString)(),
|
|
31
|
+
(0, class_validator_1.IsIn)(Object.values(questionStatus_enum_1.QuestionStatusEnum)),
|
|
32
|
+
(0, class_validator_1.IsOptional)(),
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], CreateQuestionDto.prototype, "status", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, nestjs_1.ApiProperty)({ enum: questionType_enum_1.QuestionTypeEnum, required: false }),
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
(0, class_validator_1.IsIn)(Object.values(questionType_enum_1.QuestionTypeEnum)),
|
|
40
|
+
(0, class_validator_1.IsOptional)(),
|
|
41
|
+
(0, class_transformer_1.Expose)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], CreateQuestionDto.prototype, "type", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, nestjs_1.ApiProperty)({ enum: questionCategory_enum_1.QuestionCategoryEnum, required: false }),
|
|
46
|
+
(0, class_validator_1.IsString)(),
|
|
47
|
+
(0, class_validator_1.IsIn)(Object.values(questionCategory_enum_1.QuestionCategoryEnum)),
|
|
48
|
+
(0, class_validator_1.IsOptional)(),
|
|
49
|
+
(0, class_transformer_1.Expose)(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], CreateQuestionDto.prototype, "category", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
54
|
+
(0, class_validator_1.IsString)(),
|
|
55
|
+
(0, class_validator_1.IsOptional)(),
|
|
56
|
+
(0, class_transformer_1.Expose)(),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], CreateQuestionDto.prototype, "textResponse", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, nestjs_1.ApiProperty)({ type: Boolean, required: false }),
|
|
61
|
+
(0, class_validator_1.IsBoolean)(),
|
|
62
|
+
(0, class_validator_1.IsOptional)(),
|
|
63
|
+
(0, class_transformer_1.Expose)(),
|
|
64
|
+
__metadata("design:type", Boolean)
|
|
65
|
+
], CreateQuestionDto.prototype, "booleanResponse", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
68
|
+
(0, class_validator_1.IsBoolean)(),
|
|
69
|
+
(0, class_validator_1.IsOptional)(),
|
|
70
|
+
(0, class_transformer_1.Expose)(),
|
|
71
|
+
__metadata("design:type", Boolean)
|
|
72
|
+
], CreateQuestionDto.prototype, "isConfidential", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
|
|
75
|
+
(0, class_validator_1.IsUUID)(),
|
|
76
|
+
(0, class_transformer_1.Expose)(),
|
|
77
|
+
__metadata("design:type", String)
|
|
78
|
+
], CreateQuestionDto.prototype, "cycleId", void 0);
|
|
79
|
+
//# sourceMappingURL=createQuestion.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createQuestion.dto.js","sourceRoot":"","sources":["../../../src/dto/question/createQuestion.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAA8E;AAC9E,yDAA2C;AAC3C,wEAAoE;AACpE,oEAAgE;AAChE,4EAAwE;AAExE,MAAa,iBAAiB;CAiD7B;AAjDD,8CAiDC;AA7CA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;gDACM;AAOf;IALC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,wCAAkB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC1D,IAAA,0BAAQ,GAAE;IACV,IAAA,sBAAI,EAAC,MAAM,CAAC,MAAM,CAAC,wCAAkB,CAAC,CAAC;IACvC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;iDACmB;AAO5B;IALC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,oCAAgB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACxD,IAAA,0BAAQ,GAAE;IACV,IAAA,sBAAI,EAAC,MAAM,CAAC,MAAM,CAAC,oCAAgB,CAAC,CAAC;IACrC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;+CACe;AAOxB;IALC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,4CAAoB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC5D,IAAA,0BAAQ,GAAE;IACV,IAAA,sBAAI,EAAC,MAAM,CAAC,MAAM,CAAC,4CAAoB,CAAC,CAAC;IACzC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;mDACuB;AAMhC;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;uDACa;AAMtB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC/C,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;0DACiB;AAM1B;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;yDACgB;AAKzB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,wBAAM,GAAE;IACR,IAAA,0BAAM,GAAE;;kDACQ"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { QuestionEmbeddedDto } from './questionEmbedded.dto';
|
|
2
|
+
import { QuestionStatusEnum } from '../../enum/questionStatus.enum';
|
|
3
|
+
import { QuestionTypeEnum } from '../../enum/questionType.enum';
|
|
4
|
+
import { QuestionCategoryEnum } from '../../enum/questionCategory.enum';
|
|
5
|
+
declare const QuestionDto_base: import("../generic/base.dto").BaseDtoType<QuestionEmbeddedDto>;
|
|
6
|
+
export declare class QuestionDto extends QuestionDto_base {
|
|
7
|
+
id: string;
|
|
8
|
+
sequenceNumber: number;
|
|
9
|
+
title: string;
|
|
10
|
+
status: QuestionStatusEnum;
|
|
11
|
+
type: QuestionTypeEnum;
|
|
12
|
+
category: QuestionCategoryEnum;
|
|
13
|
+
textResponse?: string;
|
|
14
|
+
booleanResponse?: boolean;
|
|
15
|
+
isConfidential: boolean;
|
|
16
|
+
cycleId: string;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,73 @@
|
|
|
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.QuestionDto = void 0;
|
|
13
|
+
const base_dto_1 = require("../generic/base.dto");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const nestjs_1 = require("../../nestjs");
|
|
16
|
+
const questionEmbedded_dto_1 = require("./questionEmbedded.dto");
|
|
17
|
+
const questionStatus_enum_1 = require("../../enum/questionStatus.enum");
|
|
18
|
+
const questionType_enum_1 = require("../../enum/questionType.enum");
|
|
19
|
+
const questionCategory_enum_1 = require("../../enum/questionCategory.enum");
|
|
20
|
+
class QuestionDto extends (0, base_dto_1.BaseDto)(questionEmbedded_dto_1.QuestionEmbeddedDto) {
|
|
21
|
+
}
|
|
22
|
+
exports.QuestionDto = QuestionDto;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], QuestionDto.prototype, "id", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: true }),
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], QuestionDto.prototype, "sequenceNumber", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
35
|
+
(0, class_transformer_1.Expose)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], QuestionDto.prototype, "title", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, nestjs_1.ApiProperty)({ enum: questionStatus_enum_1.QuestionStatusEnum, required: true }),
|
|
40
|
+
(0, class_transformer_1.Expose)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], QuestionDto.prototype, "status", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, nestjs_1.ApiProperty)({ enum: questionType_enum_1.QuestionTypeEnum, required: true }),
|
|
45
|
+
(0, class_transformer_1.Expose)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], QuestionDto.prototype, "type", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, nestjs_1.ApiProperty)({ enum: questionCategory_enum_1.QuestionCategoryEnum, required: true }),
|
|
50
|
+
(0, class_transformer_1.Expose)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], QuestionDto.prototype, "category", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
55
|
+
(0, class_transformer_1.Expose)(),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], QuestionDto.prototype, "textResponse", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, nestjs_1.ApiProperty)({ type: Boolean, required: false }),
|
|
60
|
+
(0, class_transformer_1.Expose)(),
|
|
61
|
+
__metadata("design:type", Boolean)
|
|
62
|
+
], QuestionDto.prototype, "booleanResponse", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
65
|
+
(0, class_transformer_1.Expose)(),
|
|
66
|
+
__metadata("design:type", Boolean)
|
|
67
|
+
], QuestionDto.prototype, "isConfidential", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
|
|
70
|
+
(0, class_transformer_1.Expose)(),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], QuestionDto.prototype, "cycleId", void 0);
|
|
73
|
+
//# sourceMappingURL=question.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"question.dto.js","sourceRoot":"","sources":["../../../src/dto/question/question.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8C;AAC9C,yDAA2C;AAC3C,yCAA2C;AAC3C,iEAA6D;AAC7D,wEAAoE;AACpE,oEAAgE;AAChE,4EAAwE;AAExE,MAAa,WAAY,SAAQ,IAAA,kBAAO,EAAC,0CAAmB,CAAC;CAwC5D;AAxCD,kCAwCC;AArCA;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;uCACG;AAIZ;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;mDACe;AAIxB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;0CACM;AAIf;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,wCAAkB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACzD,IAAA,0BAAM,GAAE;;2CACmB;AAI5B;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,oCAAgB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACvD,IAAA,0BAAM,GAAE;;yCACe;AAIxB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,4CAAoB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC3D,IAAA,0BAAM,GAAE;;6CACuB;AAIhC;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAM,GAAE;;iDACa;AAItB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC/C,IAAA,0BAAM,GAAE;;oDACiB;AAI1B;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;mDACgB;AAIzB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;4CACQ"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { UserDto } from '../user/user.dto';
|
|
2
|
+
import { AttachmentDto } from '../attachment/attachment.dto';
|
|
3
|
+
import { CycleDto } from '../cycle/cycle.dto';
|
|
4
|
+
export declare class QuestionEmbeddedDto {
|
|
5
|
+
cycle?: CycleDto;
|
|
6
|
+
attachments: AttachmentDto[];
|
|
7
|
+
createdBy?: UserDto;
|
|
8
|
+
updatedBy?: UserDto;
|
|
9
|
+
}
|
|
@@ -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.QuestionEmbeddedDto = void 0;
|
|
13
|
+
const nestjs_1 = require("../../nestjs");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const user_dto_1 = require("../user/user.dto");
|
|
16
|
+
const attachment_dto_1 = require("../attachment/attachment.dto");
|
|
17
|
+
const cycle_dto_1 = require("../cycle/cycle.dto");
|
|
18
|
+
class QuestionEmbeddedDto {
|
|
19
|
+
}
|
|
20
|
+
exports.QuestionEmbeddedDto = QuestionEmbeddedDto;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, nestjs_1.ApiProperty)({ type: () => cycle_dto_1.CycleDto, required: false }),
|
|
23
|
+
(0, class_transformer_1.Type)(() => cycle_dto_1.CycleDto),
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", cycle_dto_1.CycleDto)
|
|
26
|
+
], QuestionEmbeddedDto.prototype, "cycle", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, nestjs_1.ApiProperty)({ type: () => [attachment_dto_1.AttachmentDto], required: false }),
|
|
29
|
+
(0, class_transformer_1.Type)(() => attachment_dto_1.AttachmentDto),
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", Array)
|
|
32
|
+
], QuestionEmbeddedDto.prototype, "attachments", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
|
|
35
|
+
(0, class_transformer_1.Type)(() => user_dto_1.UserDto),
|
|
36
|
+
(0, class_transformer_1.Expose)(),
|
|
37
|
+
__metadata("design:type", user_dto_1.UserDto)
|
|
38
|
+
], QuestionEmbeddedDto.prototype, "createdBy", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
|
|
41
|
+
(0, class_transformer_1.Type)(() => user_dto_1.UserDto),
|
|
42
|
+
(0, class_transformer_1.Expose)(),
|
|
43
|
+
__metadata("design:type", user_dto_1.UserDto)
|
|
44
|
+
], QuestionEmbeddedDto.prototype, "updatedBy", void 0);
|
|
45
|
+
//# sourceMappingURL=questionEmbedded.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"questionEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/question/questionEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AACjD,+CAA2C;AAC3C,iEAA6D;AAC7D,kDAA8C;AAE9C,MAAa,mBAAmB;CAoB/B;AApBD,kDAoBC;AAhBA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,oBAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACtD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAQ,CAAC;IACpB,IAAA,0BAAM,GAAE;8BACD,oBAAQ;kDAAC;AAKjB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,8BAAa,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC7D,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAa,CAAC;IACzB,IAAA,0BAAM,GAAE;;wDACoB;AAK7B;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,0BAAM,GAAE;8BACG,kBAAO;sDAAC;AAKpB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,0BAAM,GAAE;8BACG,kBAAO;sDAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { QuestionDto } from './question.dto';
|
|
2
|
+
declare class EmbeddedQuestion {
|
|
3
|
+
questions?: QuestionDto[];
|
|
4
|
+
}
|
|
5
|
+
declare const QuestionPageDto_base: {
|
|
6
|
+
new (): {
|
|
7
|
+
_page: import("../..").PageInfoDto;
|
|
8
|
+
_embedded: EmbeddedQuestion;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare class QuestionPageDto extends QuestionPageDto_base {
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
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.QuestionPageDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const nestjs_1 = require("../../nestjs");
|
|
15
|
+
const page_dto_1 = require("../generic/page.dto");
|
|
16
|
+
const question_dto_1 = require("./question.dto");
|
|
17
|
+
class EmbeddedQuestion {
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, nestjs_1.ApiProperty)({ type: () => [question_dto_1.QuestionDto], required: false }),
|
|
21
|
+
(0, class_transformer_1.Type)(() => question_dto_1.QuestionDto),
|
|
22
|
+
(0, class_transformer_1.Expose)({ name: 'items' }),
|
|
23
|
+
__metadata("design:type", Array)
|
|
24
|
+
], EmbeddedQuestion.prototype, "questions", void 0);
|
|
25
|
+
class QuestionPageDto extends (0, page_dto_1.PageDto)(EmbeddedQuestion) {
|
|
26
|
+
}
|
|
27
|
+
exports.QuestionPageDto = QuestionPageDto;
|
|
28
|
+
//# sourceMappingURL=questionPage.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"questionPage.dto.js","sourceRoot":"","sources":["../../../src/dto/question/questionPage.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,yCAA2C;AAC3C,kDAA8C;AAC9C,iDAA6C;AAE7C,MAAM,gBAAgB;CAKrB;AADA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,0BAAW,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC3D,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;IACvB,IAAA,0BAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;mDACA;AAG3B,MAAa,eAAgB,SAAQ,IAAA,kBAAO,EAAC,gBAAgB,CAAC;CAAG;AAAjE,0CAAiE"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { QuestionStatusEnum } from '../../enum/questionStatus.enum';
|
|
2
|
+
import { QuestionTypeEnum } from '../../enum/questionType.enum';
|
|
3
|
+
import { QuestionCategoryEnum } from '../../enum/questionCategory.enum';
|
|
4
|
+
export declare class UpdateQuestionDto {
|
|
5
|
+
title?: string;
|
|
6
|
+
status?: QuestionStatusEnum;
|
|
7
|
+
type?: QuestionTypeEnum;
|
|
8
|
+
category?: QuestionCategoryEnum;
|
|
9
|
+
textResponse?: string;
|
|
10
|
+
booleanResponse?: boolean;
|
|
11
|
+
isConfidential?: boolean;
|
|
12
|
+
}
|
|
@@ -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.UpdateQuestionDto = void 0;
|
|
13
|
+
const nestjs_1 = require("../../nestjs");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const class_transformer_1 = require("class-transformer");
|
|
16
|
+
const questionStatus_enum_1 = require("../../enum/questionStatus.enum");
|
|
17
|
+
const questionType_enum_1 = require("../../enum/questionType.enum");
|
|
18
|
+
const questionCategory_enum_1 = require("../../enum/questionCategory.enum");
|
|
19
|
+
class UpdateQuestionDto {
|
|
20
|
+
}
|
|
21
|
+
exports.UpdateQuestionDto = UpdateQuestionDto;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
(0, class_validator_1.IsOptional)(),
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], UpdateQuestionDto.prototype, "title", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, nestjs_1.ApiProperty)({ enum: questionStatus_enum_1.QuestionStatusEnum, required: false }),
|
|
31
|
+
(0, class_validator_1.IsString)(),
|
|
32
|
+
(0, class_validator_1.IsIn)(Object.values(questionStatus_enum_1.QuestionStatusEnum)),
|
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], UpdateQuestionDto.prototype, "status", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, nestjs_1.ApiProperty)({ enum: questionType_enum_1.QuestionTypeEnum, required: false }),
|
|
39
|
+
(0, class_validator_1.IsString)(),
|
|
40
|
+
(0, class_validator_1.IsIn)(Object.values(questionType_enum_1.QuestionTypeEnum)),
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
|
+
(0, class_transformer_1.Expose)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], UpdateQuestionDto.prototype, "type", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, nestjs_1.ApiProperty)({ enum: questionCategory_enum_1.QuestionCategoryEnum, required: false }),
|
|
47
|
+
(0, class_validator_1.IsString)(),
|
|
48
|
+
(0, class_validator_1.IsIn)(Object.values(questionCategory_enum_1.QuestionCategoryEnum)),
|
|
49
|
+
(0, class_validator_1.IsOptional)(),
|
|
50
|
+
(0, class_transformer_1.Expose)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], UpdateQuestionDto.prototype, "category", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
55
|
+
(0, class_validator_1.IsString)(),
|
|
56
|
+
(0, class_validator_1.IsOptional)(),
|
|
57
|
+
(0, class_transformer_1.Expose)(),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], UpdateQuestionDto.prototype, "textResponse", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, nestjs_1.ApiProperty)({ type: Boolean, required: false }),
|
|
62
|
+
(0, class_validator_1.IsBoolean)(),
|
|
63
|
+
(0, class_validator_1.IsOptional)(),
|
|
64
|
+
(0, class_transformer_1.Expose)(),
|
|
65
|
+
__metadata("design:type", Boolean)
|
|
66
|
+
], UpdateQuestionDto.prototype, "booleanResponse", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
69
|
+
(0, class_validator_1.IsBoolean)(),
|
|
70
|
+
(0, class_validator_1.IsOptional)(),
|
|
71
|
+
(0, class_transformer_1.Expose)(),
|
|
72
|
+
__metadata("design:type", Boolean)
|
|
73
|
+
], UpdateQuestionDto.prototype, "isConfidential", void 0);
|
|
74
|
+
//# sourceMappingURL=updateQuestion.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateQuestion.dto.js","sourceRoot":"","sources":["../../../src/dto/question/updateQuestion.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAA8E;AAC9E,yDAA2C;AAC3C,wEAAoE;AACpE,oEAAgE;AAChE,4EAAwE;AAExE,MAAa,iBAAiB;CA6C7B;AA7CD,8CA6CC;AAxCA;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;gDACM;AAOf;IALC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,wCAAkB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC1D,IAAA,0BAAQ,GAAE;IACV,IAAA,sBAAI,EAAC,MAAM,CAAC,MAAM,CAAC,wCAAkB,CAAC,CAAC;IACvC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;iDACmB;AAO5B;IALC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,oCAAgB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACxD,IAAA,0BAAQ,GAAE;IACV,IAAA,sBAAI,EAAC,MAAM,CAAC,MAAM,CAAC,oCAAgB,CAAC,CAAC;IACrC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;+CACe;AAOxB;IALC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,4CAAoB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC5D,IAAA,0BAAQ,GAAE;IACV,IAAA,sBAAI,EAAC,MAAM,CAAC,MAAM,CAAC,4CAAoB,CAAC,CAAC;IACzC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;mDACuB;AAMhC;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;uDACa;AAMtB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC/C,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;0DACiB;AAM1B;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;yDACgB"}
|
|
@@ -0,0 +1,38 @@
|
|
|
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.ComponentDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const nestjs_1 = require("../../nestjs");
|
|
16
|
+
class ComponentDto {
|
|
17
|
+
}
|
|
18
|
+
exports.ComponentDto = ComponentDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
(0, class_validator_1.IsString)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], ComponentDto.prototype, "name", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
27
|
+
(0, class_transformer_1.Expose)(),
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], ComponentDto.prototype, "status", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
(0, class_validator_1.IsOptional)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], ComponentDto.prototype, "details", void 0);
|
|
38
|
+
//# sourceMappingURL=component.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component.dto.js","sourceRoot":"","sources":["../../../src/dto/status/component.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAAuD;AACvD,yCAA2C;AAE3C,MAAa,YAAY;CAgBxB;AAhBD,oCAgBC;AAZA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;0CACG;AAKd;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;4CACK;AAMhB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6CACI"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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.ComponentHealthDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const component_dto_1 = require("./component.dto");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
const nestjs_1 = require("../../nestjs");
|
|
17
|
+
class ComponentHealthDto {
|
|
18
|
+
}
|
|
19
|
+
exports.ComponentHealthDto = ComponentHealthDto;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, nestjs_1.ApiProperty)({ required: true }),
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", Object)
|
|
24
|
+
], ComponentHealthDto.prototype, "status", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, nestjs_1.ApiProperty)({ type: () => component_dto_1.ComponentDto, isArray: true, required: false }),
|
|
27
|
+
(0, class_transformer_1.Expose)(),
|
|
28
|
+
(0, class_transformer_1.Type)(() => component_dto_1.ComponentDto),
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
(0, class_validator_1.IsArray)(),
|
|
31
|
+
__metadata("design:type", Array)
|
|
32
|
+
], ComponentHealthDto.prototype, "components", void 0);
|
|
33
|
+
//# sourceMappingURL=componentHealth.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"componentHealth.dto.js","sourceRoot":"","sources":["../../../src/dto/status/componentHealth.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,mDAA+C;AAC/C,qDAAsD;AACtD,yCAA2C;AAE3C,MAAa,kBAAkB;CAW9B;AAXD,gDAWC;AARA;IAFC,IAAA,oBAAW,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC/B,IAAA,0BAAM,GAAE;;kDACI;AAOb;IALC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,4BAAY,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACzE,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,4BAAY,CAAC;IACxB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;sDACiB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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.HealthDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const nestjs_1 = require("../../nestjs");
|
|
15
|
+
class HealthDto {
|
|
16
|
+
}
|
|
17
|
+
exports.HealthDto = HealthDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, nestjs_1.ApiProperty)({ required: true }),
|
|
20
|
+
(0, class_transformer_1.Expose)(),
|
|
21
|
+
__metadata("design:type", Object)
|
|
22
|
+
], HealthDto.prototype, "status", void 0);
|
|
23
|
+
//# sourceMappingURL=health.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"health.dto.js","sourceRoot":"","sources":["../../../src/dto/status/health.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,yCAA2C;AAE3C,MAAa,SAAS;CAIrB;AAJD,8BAIC;AADA;IAFC,IAAA,oBAAW,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC/B,IAAA,0BAAM,GAAE;;yCACI"}
|