@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,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.CustomerTeamEmbeddedDto = 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 customer_dto_1 = require("../customer/customer.dto");
|
|
17
|
+
const userCustomerTeam_dto_1 = require("../userCustomerTeam/userCustomerTeam.dto");
|
|
18
|
+
class CustomerTeamEmbeddedDto {
|
|
19
|
+
}
|
|
20
|
+
exports.CustomerTeamEmbeddedDto = CustomerTeamEmbeddedDto;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, nestjs_1.ApiProperty)({ type: () => customer_dto_1.CustomerDto, required: false }),
|
|
23
|
+
(0, class_transformer_1.Type)(() => customer_dto_1.CustomerDto),
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", customer_dto_1.CustomerDto)
|
|
26
|
+
], CustomerTeamEmbeddedDto.prototype, "customer", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, nestjs_1.ApiProperty)({ type: () => [userCustomerTeam_dto_1.UserCustomerTeamDto], required: false }),
|
|
29
|
+
(0, class_transformer_1.Type)(() => userCustomerTeam_dto_1.UserCustomerTeamDto),
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", Array)
|
|
32
|
+
], CustomerTeamEmbeddedDto.prototype, "userCustomerTeams", 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
|
+
], CustomerTeamEmbeddedDto.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
|
+
], CustomerTeamEmbeddedDto.prototype, "updatedBy", void 0);
|
|
45
|
+
//# sourceMappingURL=customerTeamEmbedded.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customerTeamEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/customerTeam/customerTeamEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AACjD,+CAA2C;AAC3C,2DAAuD;AACvD,mFAA+E;AAE/E,MAAa,uBAAuB;CAoBnC;AApBD,0DAoBC;AAhBA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,0BAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACzD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;IACvB,IAAA,0BAAM,GAAE;8BACE,0BAAW;yDAAC;AAKvB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,0CAAmB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACnE,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,0CAAmB,CAAC;IAC/B,IAAA,0BAAM,GAAE;;kEACgC;AAKzC;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;0DAAC;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;0DAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CustomerTeamDto } from './customerTeam.dto';
|
|
2
|
+
declare class EmbeddedCustomerTeam {
|
|
3
|
+
customerTeams?: CustomerTeamDto[];
|
|
4
|
+
}
|
|
5
|
+
declare const CustomerTeamPageDto_base: {
|
|
6
|
+
new (): {
|
|
7
|
+
_page: import("../..").PageInfoDto;
|
|
8
|
+
_embedded: EmbeddedCustomerTeam;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare class CustomerTeamPageDto extends CustomerTeamPageDto_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.CustomerTeamPageDto = 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 customerTeam_dto_1 = require("./customerTeam.dto");
|
|
17
|
+
class EmbeddedCustomerTeam {
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, nestjs_1.ApiProperty)({ type: () => [customerTeam_dto_1.CustomerTeamDto], required: false }),
|
|
21
|
+
(0, class_transformer_1.Type)(() => customerTeam_dto_1.CustomerTeamDto),
|
|
22
|
+
(0, class_transformer_1.Expose)({ name: 'items' }),
|
|
23
|
+
__metadata("design:type", Array)
|
|
24
|
+
], EmbeddedCustomerTeam.prototype, "customerTeams", void 0);
|
|
25
|
+
class CustomerTeamPageDto extends (0, page_dto_1.PageDto)(EmbeddedCustomerTeam) {
|
|
26
|
+
}
|
|
27
|
+
exports.CustomerTeamPageDto = CustomerTeamPageDto;
|
|
28
|
+
//# sourceMappingURL=customerTeamPage.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customerTeamPage.dto.js","sourceRoot":"","sources":["../../../src/dto/customerTeam/customerTeamPage.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,yCAA2C;AAC3C,kDAA8C;AAC9C,yDAAqD;AAErD,MAAM,oBAAoB;CAKzB;AADA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,kCAAe,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC/D,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kCAAe,CAAC;IAC3B,IAAA,0BAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;2DACQ;AAGnC,MAAa,mBAAoB,SAAQ,IAAA,kBAAO,EAAC,oBAAoB,CAAC;CAAG;AAAzE,kDAAyE"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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.UpdateCustomerTeamDto = 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
|
+
class UpdateCustomerTeamDto {
|
|
17
|
+
}
|
|
18
|
+
exports.UpdateCustomerTeamDto = UpdateCustomerTeamDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
21
|
+
(0, class_validator_1.IsString)(),
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
23
|
+
(0, class_transformer_1.Expose)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], UpdateCustomerTeamDto.prototype, "name", void 0);
|
|
26
|
+
//# sourceMappingURL=updateCustomerTeam.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateCustomerTeam.dto.js","sourceRoot":"","sources":["../../../src/dto/customerTeam/updateCustomerTeam.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAGyB;AACzB,yDAA2C;AAE3C,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AADA;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;;mDACK"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BulkUpdateCycleDto = void 0;
|
|
4
|
+
const bulk_dto_1 = require("../generic/bulk.dto");
|
|
5
|
+
const updateCycle_dto_1 = require("./updateCycle.dto");
|
|
6
|
+
class BulkUpdateCycleDto extends (0, bulk_dto_1.BulkDto)(updateCycle_dto_1.UpdateCycleDto) {
|
|
7
|
+
}
|
|
8
|
+
exports.BulkUpdateCycleDto = BulkUpdateCycleDto;
|
|
9
|
+
//# sourceMappingURL=bulkUpdateCycle.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulkUpdateCycle.dto.js","sourceRoot":"","sources":["../../../src/dto/cycle/bulkUpdateCycle.dto.ts"],"names":[],"mappings":";;;AAAA,kDAA8C;AAC9C,uDAAmD;AAEnD,MAAa,kBAAmB,SAAQ,IAAA,kBAAO,EAAC,gCAAc,CAAC;CAAG;AAAlE,gDAAkE"}
|
|
@@ -0,0 +1,46 @@
|
|
|
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.CreateCycleDto = 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 cycleStatus_enum_1 = require("../../enum/cycleStatus.enum");
|
|
17
|
+
class CreateCycleDto {
|
|
18
|
+
}
|
|
19
|
+
exports.CreateCycleDto = CreateCycleDto;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
22
|
+
(0, class_validator_1.IsString)(),
|
|
23
|
+
(0, class_transformer_1.Expose)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], CreateCycleDto.prototype, "title", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, nestjs_1.ApiProperty)({ enum: cycleStatus_enum_1.CycleStatusEnum, required: false }),
|
|
28
|
+
(0, class_validator_1.IsOptional)(),
|
|
29
|
+
(0, class_validator_1.IsIn)(Object.values(cycleStatus_enum_1.CycleStatusEnum)),
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], CreateCycleDto.prototype, "status", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
35
|
+
(0, class_validator_1.IsOptional)(),
|
|
36
|
+
(0, class_validator_1.IsBoolean)(),
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
__metadata("design:type", Boolean)
|
|
39
|
+
], CreateCycleDto.prototype, "isConfidential", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
|
|
42
|
+
(0, class_validator_1.IsUUID)(),
|
|
43
|
+
(0, class_transformer_1.Expose)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], CreateCycleDto.prototype, "surveyId", void 0);
|
|
46
|
+
//# sourceMappingURL=createCycle.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createCycle.dto.js","sourceRoot":"","sources":["../../../src/dto/cycle/createCycle.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAA8E;AAC9E,yDAA2C;AAC3C,kEAA8D;AAE9D,MAAa,cAAc;CAsB1B;AAtBD,wCAsBC;AAlBA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;6CACM;AAMf;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,kCAAe,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACvD,IAAA,4BAAU,GAAE;IACZ,IAAA,sBAAI,EAAC,MAAM,CAAC,MAAM,CAAC,kCAAe,CAAC,CAAC;IACpC,IAAA,0BAAM,GAAE;;8CACgB;AAMzB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,0BAAM,GAAE;;sDACgB;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;;gDACS"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CycleEmbeddedDto } from './cycleEmbedded.dto';
|
|
2
|
+
import { CycleStatusEnum } from '../../enum/cycleStatus.enum';
|
|
3
|
+
declare const CycleDto_base: import("../generic/base.dto").BaseDtoType<CycleEmbeddedDto>;
|
|
4
|
+
export declare class CycleDto extends CycleDto_base {
|
|
5
|
+
id: string;
|
|
6
|
+
sequenceNumber: number;
|
|
7
|
+
title: string;
|
|
8
|
+
status: CycleStatusEnum;
|
|
9
|
+
isConfidential: boolean;
|
|
10
|
+
surveyId: string;
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,51 @@
|
|
|
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.CycleDto = 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 cycleEmbedded_dto_1 = require("./cycleEmbedded.dto");
|
|
17
|
+
const cycleStatus_enum_1 = require("../../enum/cycleStatus.enum");
|
|
18
|
+
class CycleDto extends (0, base_dto_1.BaseDto)(cycleEmbedded_dto_1.CycleEmbeddedDto) {
|
|
19
|
+
}
|
|
20
|
+
exports.CycleDto = CycleDto;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
|
|
23
|
+
(0, class_transformer_1.Expose)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], CycleDto.prototype, "id", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: true }),
|
|
28
|
+
(0, class_transformer_1.Expose)(),
|
|
29
|
+
__metadata("design:type", Number)
|
|
30
|
+
], CycleDto.prototype, "sequenceNumber", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], CycleDto.prototype, "title", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, nestjs_1.ApiProperty)({ enum: cycleStatus_enum_1.CycleStatusEnum, required: true }),
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], CycleDto.prototype, "status", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
43
|
+
(0, class_transformer_1.Expose)(),
|
|
44
|
+
__metadata("design:type", Boolean)
|
|
45
|
+
], CycleDto.prototype, "isConfidential", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
|
|
48
|
+
(0, class_transformer_1.Expose)(),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], CycleDto.prototype, "surveyId", void 0);
|
|
51
|
+
//# sourceMappingURL=cycle.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cycle.dto.js","sourceRoot":"","sources":["../../../src/dto/cycle/cycle.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8C;AAC9C,yDAA2C;AAC3C,yCAA2C;AAC3C,2DAAuD;AACvD,kEAA8D;AAE9D,MAAa,QAAS,SAAQ,IAAA,kBAAO,EAAC,oCAAgB,CAAC;CAwBtD;AAxBD,4BAwBC;AArBA;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;oCACG;AAIZ;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;gDACe;AAIxB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;uCACM;AAIf;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,kCAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACtD,IAAA,0BAAM,GAAE;;wCACgB;AAIzB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;gDACgB;AAIzB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;0CACS"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { UserDto } from '../user/user.dto';
|
|
2
|
+
import { SurveyDto } from '../survey/survey.dto';
|
|
3
|
+
import { QuestionDto } from '../question/question.dto';
|
|
4
|
+
export declare class CycleEmbeddedDto {
|
|
5
|
+
survey?: SurveyDto;
|
|
6
|
+
questions: QuestionDto[];
|
|
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.CycleEmbeddedDto = 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 survey_dto_1 = require("../survey/survey.dto");
|
|
17
|
+
const question_dto_1 = require("../question/question.dto");
|
|
18
|
+
class CycleEmbeddedDto {
|
|
19
|
+
}
|
|
20
|
+
exports.CycleEmbeddedDto = CycleEmbeddedDto;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, nestjs_1.ApiProperty)({ type: () => survey_dto_1.SurveyDto, required: false }),
|
|
23
|
+
(0, class_transformer_1.Type)(() => survey_dto_1.SurveyDto),
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", survey_dto_1.SurveyDto)
|
|
26
|
+
], CycleEmbeddedDto.prototype, "survey", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, nestjs_1.ApiProperty)({ type: () => [question_dto_1.QuestionDto], required: false }),
|
|
29
|
+
(0, class_transformer_1.Type)(() => question_dto_1.QuestionDto),
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", Array)
|
|
32
|
+
], CycleEmbeddedDto.prototype, "questions", 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
|
+
], CycleEmbeddedDto.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
|
+
], CycleEmbeddedDto.prototype, "updatedBy", void 0);
|
|
45
|
+
//# sourceMappingURL=cycleEmbedded.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cycleEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/cycle/cycleEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AACjD,+CAA2C;AAC3C,qDAAiD;AACjD,2DAAuD;AAEvD,MAAa,gBAAgB;CAoB5B;AApBD,4CAoBC;AAhBA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,sBAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACvD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sBAAS,CAAC;IACrB,IAAA,0BAAM,GAAE;8BACA,sBAAS;gDAAC;AAKnB;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,GAAE;;mDACgB;AAKzB;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;mDAAC;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;mDAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CycleDto } from './cycle.dto';
|
|
2
|
+
declare class EmbeddedCycle {
|
|
3
|
+
cycles?: CycleDto[];
|
|
4
|
+
}
|
|
5
|
+
declare const CyclePageDto_base: {
|
|
6
|
+
new (): {
|
|
7
|
+
_page: import("../..").PageInfoDto;
|
|
8
|
+
_embedded: EmbeddedCycle;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare class CyclePageDto extends CyclePageDto_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.CyclePageDto = 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 cycle_dto_1 = require("./cycle.dto");
|
|
17
|
+
class EmbeddedCycle {
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, nestjs_1.ApiProperty)({ type: () => [cycle_dto_1.CycleDto], required: false }),
|
|
21
|
+
(0, class_transformer_1.Type)(() => cycle_dto_1.CycleDto),
|
|
22
|
+
(0, class_transformer_1.Expose)({ name: 'items' }),
|
|
23
|
+
__metadata("design:type", Array)
|
|
24
|
+
], EmbeddedCycle.prototype, "cycles", void 0);
|
|
25
|
+
class CyclePageDto extends (0, page_dto_1.PageDto)(EmbeddedCycle) {
|
|
26
|
+
}
|
|
27
|
+
exports.CyclePageDto = CyclePageDto;
|
|
28
|
+
//# sourceMappingURL=cyclePage.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cyclePage.dto.js","sourceRoot":"","sources":["../../../src/dto/cycle/cyclePage.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,yCAA2C;AAC3C,kDAA8C;AAC9C,2CAAuC;AAEvC,MAAM,aAAa;CAKlB;AADA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,oBAAQ,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACxD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAQ,CAAC;IACpB,IAAA,0BAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;6CACN;AAGrB,MAAa,YAAa,SAAQ,IAAA,kBAAO,EAAC,aAAa,CAAC;CAAG;AAA3D,oCAA2D"}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.UpdateCycleDto = 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 cycleStatus_enum_1 = require("../../enum/cycleStatus.enum");
|
|
17
|
+
class UpdateCycleDto {
|
|
18
|
+
}
|
|
19
|
+
exports.UpdateCycleDto = UpdateCycleDto;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
22
|
+
(0, class_validator_1.IsString)(),
|
|
23
|
+
(0, class_validator_1.IsOptional)(),
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], UpdateCycleDto.prototype, "title", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, nestjs_1.ApiProperty)({ enum: cycleStatus_enum_1.CycleStatusEnum, required: false }),
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
(0, class_validator_1.IsIn)(Object.values(cycleStatus_enum_1.CycleStatusEnum)),
|
|
31
|
+
(0, class_transformer_1.Expose)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], UpdateCycleDto.prototype, "status", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
36
|
+
(0, class_validator_1.IsOptional)(),
|
|
37
|
+
(0, class_validator_1.IsBoolean)(),
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
__metadata("design:type", Boolean)
|
|
40
|
+
], UpdateCycleDto.prototype, "isConfidential", void 0);
|
|
41
|
+
//# sourceMappingURL=updateCycle.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateCycle.dto.js","sourceRoot":"","sources":["../../../src/dto/cycle/updateCycle.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAA8E;AAC9E,yDAA2C;AAC3C,kEAA4D;AAE5D,MAAa,cAAc;CAkB1B;AAlBD,wCAkBC;AAbA;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;;6CACM;AAMf;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,kCAAe,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACvD,IAAA,4BAAU,GAAE;IACZ,IAAA,sBAAI,EAAC,MAAM,CAAC,MAAM,CAAC,kCAAe,CAAC,CAAC;IACpC,IAAA,0BAAM,GAAE;;8CACgB;AAMzB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,0BAAM,GAAE;;sDACgB"}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.ExceptionDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const nestjs_1 = require("../../nestjs");
|
|
15
|
+
const class_transformer_1 = require("class-transformer");
|
|
16
|
+
class ExceptionDto {
|
|
17
|
+
}
|
|
18
|
+
exports.ExceptionDto = ExceptionDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsOptional)(),
|
|
21
|
+
(0, class_validator_1.IsString)(),
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], ExceptionDto.prototype, "type", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsOptional)(),
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], ExceptionDto.prototype, "title", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
|
35
|
+
(0, class_validator_1.IsNumber)(),
|
|
36
|
+
(0, class_transformer_1.Expose)(),
|
|
37
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: false }),
|
|
38
|
+
__metadata("design:type", Number)
|
|
39
|
+
], ExceptionDto.prototype, "status", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
|
+
(0, class_validator_1.IsString)(),
|
|
43
|
+
(0, class_transformer_1.Expose)(),
|
|
44
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], ExceptionDto.prototype, "identifier", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_validator_1.IsOptional)(),
|
|
49
|
+
(0, class_validator_1.IsNumber)(),
|
|
50
|
+
(0, class_transformer_1.Expose)(),
|
|
51
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: false }),
|
|
52
|
+
__metadata("design:type", Number)
|
|
53
|
+
], ExceptionDto.prototype, "code", void 0);
|
|
54
|
+
//# sourceMappingURL=exception.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exception.dto.js","sourceRoot":"","sources":["../../../src/dto/exception/exception.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,yCAA2C;AAC3C,yDAA2C;AAE3C,MAAa,YAAY;CA8BxB;AA9BD,oCA8BC;AAzBA;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;IACR,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;0CACjC;AAMd;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;IACR,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;2CAChC;AAMf;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;IACR,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;4CAC/B;AAMhB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;IACR,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;gDAC3C;AAMpB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;IACR,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;0CACjC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Type as ClassType } from '../../nestjs';
|
|
2
|
+
export type DtoType<T, U> = T extends (infer T)[] ? U[] : U;
|
|
3
|
+
export type BaseDtoType<T> = {
|
|
4
|
+
new (): {
|
|
5
|
+
createdAt: string;
|
|
6
|
+
updatedAt: string;
|
|
7
|
+
_embedded?: T;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export type BaseViewDtoType<T> = {
|
|
11
|
+
new (): {
|
|
12
|
+
_embedded?: T;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare function BaseDto<T = any>(ClassType?: ClassType<T>): BaseDtoType<T>;
|
|
@@ -0,0 +1,47 @@
|
|
|
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.BaseDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const embedded_dto_1 = require("./embedded/embedded.dto");
|
|
15
|
+
const nestjs_1 = require("../../nestjs");
|
|
16
|
+
function BaseDto(ClassType) {
|
|
17
|
+
class Base extends (0, embedded_dto_1.EmbeddedDto)(ClassType) {
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], Base.prototype, "id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], Base.prototype, "createdAt", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
31
|
+
(0, class_transformer_1.Expose)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], Base.prototype, "updatedAt", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
36
|
+
(0, class_transformer_1.Expose)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], Base.prototype, "createdById", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
41
|
+
(0, class_transformer_1.Expose)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], Base.prototype, "updatedById", void 0);
|
|
44
|
+
return Base;
|
|
45
|
+
}
|
|
46
|
+
exports.BaseDto = BaseDto;
|
|
47
|
+
//# sourceMappingURL=base.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.dto.js","sourceRoot":"","sources":["../../../src/dto/generic/base.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,0DAAsD;AACtD,yCAA8D;AAsB9D,SAAgB,OAAO,CAAU,SAAwB;IACxD,MAAM,IAAK,SAAQ,IAAA,0BAAW,EAAC,SAAS,CAAC;KAoBxC;IAjBA;QAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;QAC7D,IAAA,0BAAM,GAAE;;oCACG;IAIZ;QAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;QAC7C,IAAA,0BAAM,GAAE;;2CACU;IAInB;QAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;QAC7C,IAAA,0BAAM,GAAE;;2CACU;IAInB;QAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;QAC7C,IAAA,0BAAM,GAAE;;6CACY;IAIrB;QAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;QAC7C,IAAA,0BAAM,GAAE;;6CACY;IAGtB,OAAO,IAAI,CAAC;AACb,CAAC;AAxBD,0BAwBC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BaseViewDto = void 0;
|
|
4
|
+
const embedded_dto_1 = require("./embedded/embedded.dto");
|
|
5
|
+
function BaseViewDto(ClassType) {
|
|
6
|
+
class Base extends (0, embedded_dto_1.EmbeddedDto)(ClassType) {
|
|
7
|
+
}
|
|
8
|
+
return Base;
|
|
9
|
+
}
|
|
10
|
+
exports.BaseViewDto = BaseViewDto;
|
|
11
|
+
//# sourceMappingURL=baseView.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"baseView.dto.js","sourceRoot":"","sources":["../../../src/dto/generic/baseView.dto.ts"],"names":[],"mappings":";;;AAAA,0DAAsD;AAStD,SAAgB,WAAW,CAC1B,SAAwB;IAExB,MAAM,IAAK,SAAQ,IAAA,0BAAW,EAAC,SAAS,CAAC;KAAG;IAE5C,OAAO,IAAI,CAAC;AACb,CAAC;AAND,kCAMC"}
|