@procxo/shared 1.0.1
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/README.md +250 -0
- package/dist/config/index.d.ts +2 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +7 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/ormconfig.factory.d.ts +10 -0
- package/dist/config/ormconfig.factory.d.ts.map +1 -0
- package/dist/config/ormconfig.factory.js +47 -0
- package/dist/config/ormconfig.factory.js.map +1 -0
- package/dist/config/typeorm.config.d.ts +4 -0
- package/dist/config/typeorm.config.d.ts.map +1 -0
- package/dist/config/typeorm.config.js +22 -0
- package/dist/config/typeorm.config.js.map +1 -0
- package/dist/core/constant/index.d.ts +2 -0
- package/dist/core/constant/index.d.ts.map +1 -0
- package/dist/core/constant/index.js +18 -0
- package/dist/core/constant/index.js.map +1 -0
- package/dist/core/constant/notification-preference.d.ts +29 -0
- package/dist/core/constant/notification-preference.d.ts.map +1 -0
- package/dist/core/constant/notification-preference.js +81 -0
- package/dist/core/constant/notification-preference.js.map +1 -0
- package/dist/core/json/core-data/currency.json +8 -0
- package/dist/core/json/core-data/department.json +38 -0
- package/dist/core/json/core-data/permission.json +898 -0
- package/dist/core/json/core-data/role.json +30 -0
- package/dist/core/json/core-data/user.json +12 -0
- package/dist/core/json/geographic-data/cities.json +54693 -0
- package/dist/core/json/geographic-data/countries.json +31 -0
- package/dist/database/entities/activity-logs.entity.d.ts +11 -0
- package/dist/database/entities/activity-logs.entity.d.ts.map +1 -0
- package/dist/database/entities/activity-logs.entity.js +56 -0
- package/dist/database/entities/activity-logs.entity.js.map +1 -0
- package/dist/database/entities/address.entity.d.ts +13 -0
- package/dist/database/entities/address.entity.d.ts.map +1 -0
- package/dist/database/entities/address.entity.js +63 -0
- package/dist/database/entities/address.entity.js.map +1 -0
- package/dist/database/entities/alert.entity.d.ts +37 -0
- package/dist/database/entities/alert.entity.d.ts.map +1 -0
- package/dist/database/entities/alert.entity.js +171 -0
- package/dist/database/entities/alert.entity.js.map +1 -0
- package/dist/database/entities/approval-condition.entity.d.ts +16 -0
- package/dist/database/entities/approval-condition.entity.d.ts.map +1 -0
- package/dist/database/entities/approval-condition.entity.js +66 -0
- package/dist/database/entities/approval-condition.entity.js.map +1 -0
- package/dist/database/entities/approval-hierarchy-role.entity.d.ts +10 -0
- package/dist/database/entities/approval-hierarchy-role.entity.d.ts.map +1 -0
- package/dist/database/entities/approval-hierarchy-role.entity.js +47 -0
- package/dist/database/entities/approval-hierarchy-role.entity.js.map +1 -0
- package/dist/database/entities/approval-hierarchy-user.entity.d.ts +10 -0
- package/dist/database/entities/approval-hierarchy-user.entity.d.ts.map +1 -0
- package/dist/database/entities/approval-hierarchy-user.entity.js +47 -0
- package/dist/database/entities/approval-hierarchy-user.entity.js.map +1 -0
- package/dist/database/entities/approval-hierarchy.entity.d.ts +22 -0
- package/dist/database/entities/approval-hierarchy.entity.d.ts.map +1 -0
- package/dist/database/entities/approval-hierarchy.entity.js +80 -0
- package/dist/database/entities/approval-hierarchy.entity.js.map +1 -0
- package/dist/database/entities/approval-journey.entity.d.ts +32 -0
- package/dist/database/entities/approval-journey.entity.d.ts.map +1 -0
- package/dist/database/entities/approval-journey.entity.js +125 -0
- package/dist/database/entities/approval-journey.entity.js.map +1 -0
- package/dist/database/entities/approval-level-escalation-user.entity.d.ts +10 -0
- package/dist/database/entities/approval-level-escalation-user.entity.d.ts.map +1 -0
- package/dist/database/entities/approval-level-escalation-user.entity.js +47 -0
- package/dist/database/entities/approval-level-escalation-user.entity.js.map +1 -0
- package/dist/database/entities/approval-level-escalation.entity.d.ts +14 -0
- package/dist/database/entities/approval-level-escalation.entity.d.ts.map +1 -0
- package/dist/database/entities/approval-level-escalation.entity.js +65 -0
- package/dist/database/entities/approval-level-escalation.entity.js.map +1 -0
- package/dist/database/entities/approval-level-user.entity.d.ts +10 -0
- package/dist/database/entities/approval-level-user.entity.d.ts.map +1 -0
- package/dist/database/entities/approval-level-user.entity.js +49 -0
- package/dist/database/entities/approval-level-user.entity.js.map +1 -0
- package/dist/database/entities/approval-level.entity.d.ts +17 -0
- package/dist/database/entities/approval-level.entity.d.ts.map +1 -0
- package/dist/database/entities/approval-level.entity.js +76 -0
- package/dist/database/entities/approval-level.entity.js.map +1 -0
- package/dist/database/entities/base.entity.d.ts +12 -0
- package/dist/database/entities/base.entity.d.ts.map +1 -0
- package/dist/database/entities/base.entity.js +63 -0
- package/dist/database/entities/base.entity.js.map +1 -0
- package/dist/database/entities/chat.entity.d.ts +13 -0
- package/dist/database/entities/chat.entity.d.ts.map +1 -0
- package/dist/database/entities/chat.entity.js +67 -0
- package/dist/database/entities/chat.entity.js.map +1 -0
- package/dist/database/entities/city.entity.d.ts +11 -0
- package/dist/database/entities/city.entity.d.ts.map +1 -0
- package/dist/database/entities/city.entity.js +53 -0
- package/dist/database/entities/city.entity.js.map +1 -0
- package/dist/database/entities/client.entity.d.ts +40 -0
- package/dist/database/entities/client.entity.d.ts.map +1 -0
- package/dist/database/entities/client.entity.js +146 -0
- package/dist/database/entities/client.entity.js.map +1 -0
- package/dist/database/entities/contact.entity.d.ts +12 -0
- package/dist/database/entities/contact.entity.d.ts.map +1 -0
- package/dist/database/entities/contact.entity.js +57 -0
- package/dist/database/entities/contact.entity.js.map +1 -0
- package/dist/database/entities/country.entity.d.ts +26 -0
- package/dist/database/entities/country.entity.d.ts.map +1 -0
- package/dist/database/entities/country.entity.js +127 -0
- package/dist/database/entities/country.entity.js.map +1 -0
- package/dist/database/entities/credit-note.entity.d.ts +35 -0
- package/dist/database/entities/credit-note.entity.d.ts.map +1 -0
- package/dist/database/entities/credit-note.entity.js +144 -0
- package/dist/database/entities/credit-note.entity.js.map +1 -0
- package/dist/database/entities/currency.entity.d.ts +10 -0
- package/dist/database/entities/currency.entity.d.ts.map +1 -0
- package/dist/database/entities/currency.entity.js +47 -0
- package/dist/database/entities/currency.entity.js.map +1 -0
- package/dist/database/entities/department.entity.d.ts +10 -0
- package/dist/database/entities/department.entity.d.ts.map +1 -0
- package/dist/database/entities/department.entity.js +47 -0
- package/dist/database/entities/department.entity.js.map +1 -0
- package/dist/database/entities/entitlement.entity.d.ts +24 -0
- package/dist/database/entities/entitlement.entity.d.ts.map +1 -0
- package/dist/database/entities/entitlement.entity.js +106 -0
- package/dist/database/entities/entitlement.entity.js.map +1 -0
- package/dist/database/entities/expense.entity.d.ts +47 -0
- package/dist/database/entities/expense.entity.d.ts.map +1 -0
- package/dist/database/entities/expense.entity.js +221 -0
- package/dist/database/entities/expense.entity.js.map +1 -0
- package/dist/database/entities/file.entity.d.ts +9 -0
- package/dist/database/entities/file.entity.d.ts.map +1 -0
- package/dist/database/entities/file.entity.js +46 -0
- package/dist/database/entities/file.entity.js.map +1 -0
- package/dist/database/entities/fixed-invoice-item.entity.d.ts +9 -0
- package/dist/database/entities/fixed-invoice-item.entity.d.ts.map +1 -0
- package/dist/database/entities/fixed-invoice-item.entity.js +52 -0
- package/dist/database/entities/fixed-invoice-item.entity.js.map +1 -0
- package/dist/database/entities/group.entity.d.ts +9 -0
- package/dist/database/entities/group.entity.d.ts.map +1 -0
- package/dist/database/entities/group.entity.js +45 -0
- package/dist/database/entities/group.entity.js.map +1 -0
- package/dist/database/entities/gst.entity.d.ts +6 -0
- package/dist/database/entities/gst.entity.d.ts.map +1 -0
- package/dist/database/entities/gst.entity.js +44 -0
- package/dist/database/entities/gst.entity.js.map +1 -0
- package/dist/database/entities/holiday.entity.d.ts +14 -0
- package/dist/database/entities/holiday.entity.d.ts.map +1 -0
- package/dist/database/entities/holiday.entity.js +79 -0
- package/dist/database/entities/holiday.entity.js.map +1 -0
- package/dist/database/entities/index.d.ts +78 -0
- package/dist/database/entities/index.d.ts.map +1 -0
- package/dist/database/entities/index.js +94 -0
- package/dist/database/entities/index.js.map +1 -0
- package/dist/database/entities/invoice-template-footer.entity.d.ts +24 -0
- package/dist/database/entities/invoice-template-footer.entity.d.ts.map +1 -0
- package/dist/database/entities/invoice-template-footer.entity.js +118 -0
- package/dist/database/entities/invoice-template-footer.entity.js.map +1 -0
- package/dist/database/entities/invoice-template-header.entity.d.ts +14 -0
- package/dist/database/entities/invoice-template-header.entity.d.ts.map +1 -0
- package/dist/database/entities/invoice-template-header.entity.js +68 -0
- package/dist/database/entities/invoice-template-header.entity.js.map +1 -0
- package/dist/database/entities/invoice-template-table.entity.d.ts +35 -0
- package/dist/database/entities/invoice-template-table.entity.d.ts.map +1 -0
- package/dist/database/entities/invoice-template-table.entity.js +143 -0
- package/dist/database/entities/invoice-template-table.entity.js.map +1 -0
- package/dist/database/entities/invoice-template.entity.d.ts +39 -0
- package/dist/database/entities/invoice-template.entity.d.ts.map +1 -0
- package/dist/database/entities/invoice-template.entity.js +157 -0
- package/dist/database/entities/invoice-template.entity.js.map +1 -0
- package/dist/database/entities/invoice.entity.d.ts +46 -0
- package/dist/database/entities/invoice.entity.d.ts.map +1 -0
- package/dist/database/entities/invoice.entity.js +212 -0
- package/dist/database/entities/invoice.entity.js.map +1 -0
- package/dist/database/entities/invoice_item.entity.d.ts +22 -0
- package/dist/database/entities/invoice_item.entity.d.ts.map +1 -0
- package/dist/database/entities/invoice_item.entity.js +89 -0
- package/dist/database/entities/invoice_item.entity.js.map +1 -0
- package/dist/database/entities/leave-balance.entity.d.ts +38 -0
- package/dist/database/entities/leave-balance.entity.d.ts.map +1 -0
- package/dist/database/entities/leave-balance.entity.js +166 -0
- package/dist/database/entities/leave-balance.entity.js.map +1 -0
- package/dist/database/entities/leave-request.entity.d.ts +64 -0
- package/dist/database/entities/leave-request.entity.d.ts.map +1 -0
- package/dist/database/entities/leave-request.entity.js +219 -0
- package/dist/database/entities/leave-request.entity.js.map +1 -0
- package/dist/database/entities/leave-type.entity.d.ts +15 -0
- package/dist/database/entities/leave-type.entity.d.ts.map +1 -0
- package/dist/database/entities/leave-type.entity.js +72 -0
- package/dist/database/entities/leave-type.entity.js.map +1 -0
- package/dist/database/entities/matter-tag.entity.d.ts +10 -0
- package/dist/database/entities/matter-tag.entity.d.ts.map +1 -0
- package/dist/database/entities/matter-tag.entity.js +45 -0
- package/dist/database/entities/matter-tag.entity.js.map +1 -0
- package/dist/database/entities/matter-task-view-filter.entity.d.ts +11 -0
- package/dist/database/entities/matter-task-view-filter.entity.d.ts.map +1 -0
- package/dist/database/entities/matter-task-view-filter.entity.js +42 -0
- package/dist/database/entities/matter-task-view-filter.entity.js.map +1 -0
- package/dist/database/entities/matter-team-member.entity.d.ts +11 -0
- package/dist/database/entities/matter-team-member.entity.d.ts.map +1 -0
- package/dist/database/entities/matter-team-member.entity.js +56 -0
- package/dist/database/entities/matter-team-member.entity.js.map +1 -0
- package/dist/database/entities/matter.entity.d.ts +62 -0
- package/dist/database/entities/matter.entity.d.ts.map +1 -0
- package/dist/database/entities/matter.entity.js +249 -0
- package/dist/database/entities/matter.entity.js.map +1 -0
- package/dist/database/entities/payment.entity.d.ts +26 -0
- package/dist/database/entities/payment.entity.d.ts.map +1 -0
- package/dist/database/entities/payment.entity.js +127 -0
- package/dist/database/entities/payment.entity.js.map +1 -0
- package/dist/database/entities/permission.entity.d.ts +11 -0
- package/dist/database/entities/permission.entity.d.ts.map +1 -0
- package/dist/database/entities/permission.entity.js +52 -0
- package/dist/database/entities/permission.entity.js.map +1 -0
- package/dist/database/entities/quickbooks-connection.entity.d.ts +14 -0
- package/dist/database/entities/quickbooks-connection.entity.d.ts.map +1 -0
- package/dist/database/entities/quickbooks-connection.entity.js +71 -0
- package/dist/database/entities/quickbooks-connection.entity.js.map +1 -0
- package/dist/database/entities/quickbooks-sync-log.entity.d.ts +34 -0
- package/dist/database/entities/quickbooks-sync-log.entity.d.ts.map +1 -0
- package/dist/database/entities/quickbooks-sync-log.entity.js +116 -0
- package/dist/database/entities/quickbooks-sync-log.entity.js.map +1 -0
- package/dist/database/entities/role-permission.entity.d.ts +10 -0
- package/dist/database/entities/role-permission.entity.d.ts.map +1 -0
- package/dist/database/entities/role-permission.entity.js +49 -0
- package/dist/database/entities/role-permission.entity.js.map +1 -0
- package/dist/database/entities/role-shift.entity.d.ts +8 -0
- package/dist/database/entities/role-shift.entity.d.ts.map +1 -0
- package/dist/database/entities/role-shift.entity.js +48 -0
- package/dist/database/entities/role-shift.entity.js.map +1 -0
- package/dist/database/entities/role.entity.d.ts +13 -0
- package/dist/database/entities/role.entity.d.ts.map +1 -0
- package/dist/database/entities/role.entity.js +58 -0
- package/dist/database/entities/role.entity.js.map +1 -0
- package/dist/database/entities/sequence-generator.entity.d.ts +8 -0
- package/dist/database/entities/sequence-generator.entity.d.ts.map +1 -0
- package/dist/database/entities/sequence-generator.entity.js +64 -0
- package/dist/database/entities/sequence-generator.entity.js.map +1 -0
- package/dist/database/entities/shift.entity.d.ts +18 -0
- package/dist/database/entities/shift.entity.d.ts.map +1 -0
- package/dist/database/entities/shift.entity.js +110 -0
- package/dist/database/entities/shift.entity.js.map +1 -0
- package/dist/database/entities/sub-task-tag.entity.d.ts +10 -0
- package/dist/database/entities/sub-task-tag.entity.d.ts.map +1 -0
- package/dist/database/entities/sub-task-tag.entity.js +45 -0
- package/dist/database/entities/sub-task-tag.entity.js.map +1 -0
- package/dist/database/entities/subtask-user.entity.d.ts +10 -0
- package/dist/database/entities/subtask-user.entity.d.ts.map +1 -0
- package/dist/database/entities/subtask-user.entity.js +45 -0
- package/dist/database/entities/subtask-user.entity.js.map +1 -0
- package/dist/database/entities/subtask.entity.d.ts +47 -0
- package/dist/database/entities/subtask.entity.d.ts.map +1 -0
- package/dist/database/entities/subtask.entity.js +185 -0
- package/dist/database/entities/subtask.entity.js.map +1 -0
- package/dist/database/entities/summary-task-status.entity.d.ts +7 -0
- package/dist/database/entities/summary-task-status.entity.d.ts.map +1 -0
- package/dist/database/entities/summary-task-status.entity.js +37 -0
- package/dist/database/entities/summary-task-status.entity.js.map +1 -0
- package/dist/database/entities/superset.entity.d.ts +15 -0
- package/dist/database/entities/superset.entity.d.ts.map +1 -0
- package/dist/database/entities/superset.entity.js +73 -0
- package/dist/database/entities/superset.entity.js.map +1 -0
- package/dist/database/entities/tag.entity.d.ts +10 -0
- package/dist/database/entities/tag.entity.d.ts.map +1 -0
- package/dist/database/entities/tag.entity.js +43 -0
- package/dist/database/entities/tag.entity.js.map +1 -0
- package/dist/database/entities/task-comment.entity.d.ts +15 -0
- package/dist/database/entities/task-comment.entity.d.ts.map +1 -0
- package/dist/database/entities/task-comment.entity.js +67 -0
- package/dist/database/entities/task-comment.entity.js.map +1 -0
- package/dist/database/entities/task-milestone.entity.d.ts +7 -0
- package/dist/database/entities/task-milestone.entity.d.ts.map +1 -0
- package/dist/database/entities/task-milestone.entity.js +36 -0
- package/dist/database/entities/task-milestone.entity.js.map +1 -0
- package/dist/database/entities/task-remainder.entity.d.ts +12 -0
- package/dist/database/entities/task-remainder.entity.d.ts.map +1 -0
- package/dist/database/entities/task-remainder.entity.js +57 -0
- package/dist/database/entities/task-remainder.entity.js.map +1 -0
- package/dist/database/entities/task-tag.entity.d.ts +10 -0
- package/dist/database/entities/task-tag.entity.d.ts.map +1 -0
- package/dist/database/entities/task-tag.entity.js +45 -0
- package/dist/database/entities/task-tag.entity.js.map +1 -0
- package/dist/database/entities/task-type.entity.d.ts +7 -0
- package/dist/database/entities/task-type.entity.d.ts.map +1 -0
- package/dist/database/entities/task-type.entity.js +36 -0
- package/dist/database/entities/task-type.entity.js.map +1 -0
- package/dist/database/entities/task-user.entity.d.ts +10 -0
- package/dist/database/entities/task-user.entity.d.ts.map +1 -0
- package/dist/database/entities/task-user.entity.js +45 -0
- package/dist/database/entities/task-user.entity.js.map +1 -0
- package/dist/database/entities/task.entity.d.ts +53 -0
- package/dist/database/entities/task.entity.d.ts.map +1 -0
- package/dist/database/entities/task.entity.js +259 -0
- package/dist/database/entities/task.entity.js.map +1 -0
- package/dist/database/entities/template-task.entity.d.ts +11 -0
- package/dist/database/entities/template-task.entity.d.ts.map +1 -0
- package/dist/database/entities/template-task.entity.js +53 -0
- package/dist/database/entities/template-task.entity.js.map +1 -0
- package/dist/database/entities/template.entity.d.ts +13 -0
- package/dist/database/entities/template.entity.d.ts.map +1 -0
- package/dist/database/entities/template.entity.js +58 -0
- package/dist/database/entities/template.entity.js.map +1 -0
- package/dist/database/entities/timesheet-comment.entity.d.ts +11 -0
- package/dist/database/entities/timesheet-comment.entity.d.ts.map +1 -0
- package/dist/database/entities/timesheet-comment.entity.js +65 -0
- package/dist/database/entities/timesheet-comment.entity.js.map +1 -0
- package/dist/database/entities/timesheet-event.entity.d.ts +48 -0
- package/dist/database/entities/timesheet-event.entity.d.ts.map +1 -0
- package/dist/database/entities/timesheet-event.entity.js +328 -0
- package/dist/database/entities/timesheet-event.entity.js.map +1 -0
- package/dist/database/entities/timesheet-summary.entity.d.ts +27 -0
- package/dist/database/entities/timesheet-summary.entity.d.ts.map +1 -0
- package/dist/database/entities/timesheet-summary.entity.js +161 -0
- package/dist/database/entities/timesheet-summary.entity.js.map +1 -0
- package/dist/database/entities/timesheet.entity.d.ts +32 -0
- package/dist/database/entities/timesheet.entity.d.ts.map +1 -0
- package/dist/database/entities/timesheet.entity.js +112 -0
- package/dist/database/entities/timesheet.entity.js.map +1 -0
- package/dist/database/entities/transfer-ownership.entity.d.ts +15 -0
- package/dist/database/entities/transfer-ownership.entity.d.ts.map +1 -0
- package/dist/database/entities/transfer-ownership.entity.js +75 -0
- package/dist/database/entities/transfer-ownership.entity.js.map +1 -0
- package/dist/database/entities/upload-log.entity.d.ts +31 -0
- package/dist/database/entities/upload-log.entity.d.ts.map +1 -0
- package/dist/database/entities/upload-log.entity.js +111 -0
- package/dist/database/entities/upload-log.entity.js.map +1 -0
- package/dist/database/entities/user-notification-channel.entity.d.ts +8 -0
- package/dist/database/entities/user-notification-channel.entity.d.ts.map +1 -0
- package/dist/database/entities/user-notification-channel.entity.js +63 -0
- package/dist/database/entities/user-notification-channel.entity.js.map +1 -0
- package/dist/database/entities/user-notification-preference.entity.d.ts +10 -0
- package/dist/database/entities/user-notification-preference.entity.d.ts.map +1 -0
- package/dist/database/entities/user-notification-preference.entity.js +72 -0
- package/dist/database/entities/user-notification-preference.entity.js.map +1 -0
- package/dist/database/entities/user-role.entity.d.ts +10 -0
- package/dist/database/entities/user-role.entity.d.ts.map +1 -0
- package/dist/database/entities/user-role.entity.js +45 -0
- package/dist/database/entities/user-role.entity.js.map +1 -0
- package/dist/database/entities/user-session-history.entity.d.ts +16 -0
- package/dist/database/entities/user-session-history.entity.d.ts.map +1 -0
- package/dist/database/entities/user-session-history.entity.js +78 -0
- package/dist/database/entities/user-session-history.entity.js.map +1 -0
- package/dist/database/entities/user-shift.entity.d.ts +24 -0
- package/dist/database/entities/user-shift.entity.d.ts.map +1 -0
- package/dist/database/entities/user-shift.entity.js +153 -0
- package/dist/database/entities/user-shift.entity.js.map +1 -0
- package/dist/database/entities/user.entity.d.ts +74 -0
- package/dist/database/entities/user.entity.d.ts.map +1 -0
- package/dist/database/entities/user.entity.js +280 -0
- package/dist/database/entities/user.entity.js.map +1 -0
- package/dist/database/index.d.ts +2 -0
- package/dist/database/index.d.ts.map +1 -0
- package/dist/database/index.js +18 -0
- package/dist/database/index.js.map +1 -0
- package/dist/database/migrations/1770706648232-initialMigration.d.ts +7 -0
- package/dist/database/migrations/1770706648232-initialMigration.d.ts.map +1 -0
- package/dist/database/migrations/1770706648232-initialMigration.js +474 -0
- package/dist/database/migrations/1770706648232-initialMigration.js.map +1 -0
- package/dist/database/seeder/base.seed.d.ts +19 -0
- package/dist/database/seeder/base.seed.d.ts.map +1 -0
- package/dist/database/seeder/base.seed.js +83 -0
- package/dist/database/seeder/base.seed.js.map +1 -0
- package/dist/database/seeder/config/seeder.config.d.ts +7 -0
- package/dist/database/seeder/config/seeder.config.d.ts.map +1 -0
- package/dist/database/seeder/config/seeder.config.js +21 -0
- package/dist/database/seeder/config/seeder.config.js.map +1 -0
- package/dist/database/seeder/errors/seeder.error.d.ts +11 -0
- package/dist/database/seeder/errors/seeder.error.d.ts.map +1 -0
- package/dist/database/seeder/errors/seeder.error.js +27 -0
- package/dist/database/seeder/errors/seeder.error.js.map +1 -0
- package/dist/database/seeder/seed-runner.d.ts +2 -0
- package/dist/database/seeder/seed-runner.d.ts.map +1 -0
- package/dist/database/seeder/seed-runner.js +157 -0
- package/dist/database/seeder/seed-runner.js.map +1 -0
- package/dist/database/seeder/seeds/city.seed.d.ts +8 -0
- package/dist/database/seeder/seeds/city.seed.d.ts.map +1 -0
- package/dist/database/seeder/seeds/city.seed.js +62 -0
- package/dist/database/seeder/seeds/city.seed.js.map +1 -0
- package/dist/database/seeder/seeds/country.seed.d.ts +8 -0
- package/dist/database/seeder/seeds/country.seed.d.ts.map +1 -0
- package/dist/database/seeder/seeds/country.seed.js +54 -0
- package/dist/database/seeder/seeds/country.seed.js.map +1 -0
- package/dist/database/seeder/seeds/currency.seed.d.ts +8 -0
- package/dist/database/seeder/seeds/currency.seed.d.ts.map +1 -0
- package/dist/database/seeder/seeds/currency.seed.js +50 -0
- package/dist/database/seeder/seeds/currency.seed.js.map +1 -0
- package/dist/database/seeder/seeds/department.seed.d.ts +8 -0
- package/dist/database/seeder/seeds/department.seed.d.ts.map +1 -0
- package/dist/database/seeder/seeds/department.seed.js +48 -0
- package/dist/database/seeder/seeds/department.seed.js.map +1 -0
- package/dist/database/seeder/seeds/permission.seed.d.ts +8 -0
- package/dist/database/seeder/seeds/permission.seed.d.ts.map +1 -0
- package/dist/database/seeder/seeds/permission.seed.js +54 -0
- package/dist/database/seeder/seeds/permission.seed.js.map +1 -0
- package/dist/database/seeder/seeds/role-permission.seed.d.ts +8 -0
- package/dist/database/seeder/seeds/role-permission.seed.d.ts.map +1 -0
- package/dist/database/seeder/seeds/role-permission.seed.js +47 -0
- package/dist/database/seeder/seeds/role-permission.seed.js.map +1 -0
- package/dist/database/seeder/seeds/role.seed.d.ts +8 -0
- package/dist/database/seeder/seeds/role.seed.d.ts.map +1 -0
- package/dist/database/seeder/seeds/role.seed.js +52 -0
- package/dist/database/seeder/seeds/role.seed.js.map +1 -0
- package/dist/database/seeder/seeds/user-role.seed.d.ts +8 -0
- package/dist/database/seeder/seeds/user-role.seed.d.ts.map +1 -0
- package/dist/database/seeder/seeds/user-role.seed.js +66 -0
- package/dist/database/seeder/seeds/user-role.seed.js.map +1 -0
- package/dist/database/seeder/seeds/user.seed.d.ts +8 -0
- package/dist/database/seeder/seeds/user.seed.d.ts.map +1 -0
- package/dist/database/seeder/seeds/user.seed.js +110 -0
- package/dist/database/seeder/seeds/user.seed.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +23 -0
- package/dist/index.js.map +1 -0
- package/dist/scripts/create-schema.d.ts +2 -0
- package/dist/scripts/create-schema.d.ts.map +1 -0
- package/dist/scripts/create-schema.js +77 -0
- package/dist/scripts/create-schema.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +68 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BaseEntity } from './base.entity';
|
|
2
|
+
import { ApprovalCondition } from './approval-condition.entity';
|
|
3
|
+
import { ApprovalLevel } from './approval-level.entity';
|
|
4
|
+
import { ApprovalHierarchyUser } from './approval-hierarchy-user.entity';
|
|
5
|
+
import { ApprovalHierarchyRole } from './approval-hierarchy-role.entity';
|
|
6
|
+
export declare enum InitiatorTypeEnum {
|
|
7
|
+
Role = "Role",
|
|
8
|
+
User = "User"
|
|
9
|
+
}
|
|
10
|
+
export declare class ApprovalHierarchy extends BaseEntity {
|
|
11
|
+
name: string;
|
|
12
|
+
slug: string;
|
|
13
|
+
module: string;
|
|
14
|
+
task: string;
|
|
15
|
+
initiator_type: InitiatorTypeEnum;
|
|
16
|
+
is_active: boolean;
|
|
17
|
+
approval_condition: ApprovalCondition[];
|
|
18
|
+
approval_level: ApprovalLevel[];
|
|
19
|
+
initiator_users: ApprovalHierarchyUser[];
|
|
20
|
+
initiator_roles: ApprovalHierarchyRole[];
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=approval-hierarchy.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approval-hierarchy.entity.d.ts","sourceRoot":"","sources":["../../../src/database/entities/approval-hierarchy.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAGzE,oBAAY,iBAAiB;IAC3B,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,qBACa,iBAAkB,SAAQ,UAAU;IAE/C,IAAI,EAAE,MAAM,CAAC;IAGb,IAAI,EAAE,MAAM,CAAC;IAGb,MAAM,EAAE,MAAM,CAAC;IAGf,IAAI,EAAE,MAAM,CAAC;IAGb,cAAc,EAAE,iBAAiB,CAAC;IAGlC,SAAS,EAAE,OAAO,CAAC;IAMnB,kBAAkB,EAAE,iBAAiB,EAAE,CAAC;IAGxC,cAAc,EAAE,aAAa,EAAE,CAAC;IAOhC,eAAe,EAAE,qBAAqB,EAAE,CAAC;IAOzC,eAAe,EAAE,qBAAqB,EAAE,CAAC;CAI1C"}
|
|
@@ -0,0 +1,80 @@
|
|
|
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.ApprovalHierarchy = exports.InitiatorTypeEnum = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const base_entity_1 = require("./base.entity");
|
|
15
|
+
const approval_condition_entity_1 = require("./approval-condition.entity");
|
|
16
|
+
const approval_level_entity_1 = require("./approval-level.entity");
|
|
17
|
+
const approval_hierarchy_user_entity_1 = require("./approval-hierarchy-user.entity");
|
|
18
|
+
const approval_hierarchy_role_entity_1 = require("./approval-hierarchy-role.entity");
|
|
19
|
+
var InitiatorTypeEnum;
|
|
20
|
+
(function (InitiatorTypeEnum) {
|
|
21
|
+
InitiatorTypeEnum["Role"] = "Role";
|
|
22
|
+
InitiatorTypeEnum["User"] = "User";
|
|
23
|
+
})(InitiatorTypeEnum || (exports.InitiatorTypeEnum = InitiatorTypeEnum = {}));
|
|
24
|
+
let ApprovalHierarchy = class ApprovalHierarchy extends base_entity_1.BaseEntity {
|
|
25
|
+
name;
|
|
26
|
+
slug;
|
|
27
|
+
module;
|
|
28
|
+
task;
|
|
29
|
+
initiator_type;
|
|
30
|
+
is_active;
|
|
31
|
+
approval_condition;
|
|
32
|
+
approval_level;
|
|
33
|
+
initiator_users;
|
|
34
|
+
initiator_roles;
|
|
35
|
+
};
|
|
36
|
+
exports.ApprovalHierarchy = ApprovalHierarchy;
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ name: 'name', nullable: true }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], ApprovalHierarchy.prototype, "name", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ name: 'slug', unique: true, nullable: true }),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], ApprovalHierarchy.prototype, "slug", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ name: 'module', nullable: true }),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], ApprovalHierarchy.prototype, "module", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ name: 'task', nullable: true }),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], ApprovalHierarchy.prototype, "task", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ name: 'initiator_type', type: 'enum', enum: InitiatorTypeEnum }),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], ApprovalHierarchy.prototype, "initiator_type", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ name: 'is_active', default: true }),
|
|
59
|
+
__metadata("design:type", Boolean)
|
|
60
|
+
], ApprovalHierarchy.prototype, "is_active", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.OneToMany)(() => approval_condition_entity_1.ApprovalCondition, (condition) => condition.approval_hierarchy),
|
|
63
|
+
__metadata("design:type", Array)
|
|
64
|
+
], ApprovalHierarchy.prototype, "approval_condition", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.OneToMany)(() => approval_level_entity_1.ApprovalLevel, (level) => level.approval_hierarchy),
|
|
67
|
+
__metadata("design:type", Array)
|
|
68
|
+
], ApprovalHierarchy.prototype, "approval_level", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.OneToMany)(() => approval_hierarchy_user_entity_1.ApprovalHierarchyUser, (hierarchyUser) => hierarchyUser.approval_hierarchy, { cascade: true }),
|
|
71
|
+
__metadata("design:type", Array)
|
|
72
|
+
], ApprovalHierarchy.prototype, "initiator_users", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, typeorm_1.OneToMany)(() => approval_hierarchy_role_entity_1.ApprovalHierarchyRole, (hierarchyRole) => hierarchyRole.approval_hierarchy, { cascade: true }),
|
|
75
|
+
__metadata("design:type", Array)
|
|
76
|
+
], ApprovalHierarchy.prototype, "initiator_roles", void 0);
|
|
77
|
+
exports.ApprovalHierarchy = ApprovalHierarchy = __decorate([
|
|
78
|
+
(0, typeorm_1.Entity)({ name: 'approval_hierarchy', schema: 'user' })
|
|
79
|
+
], ApprovalHierarchy);
|
|
80
|
+
//# sourceMappingURL=approval-hierarchy.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approval-hierarchy.entity.js","sourceRoot":"","sources":["../../../src/database/entities/approval-hierarchy.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,+CAA2C;AAC3C,2EAAgE;AAChE,mEAAwD;AACxD,qFAAyE;AACzE,qFAAyE;AAGzE,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,kCAAa,CAAA;IACb,kCAAa,CAAA;AACf,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B;AAGM,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,wBAAU;IAE/C,IAAI,CAAS;IAGb,IAAI,CAAS;IAGb,MAAM,CAAS;IAGf,IAAI,CAAS;IAGb,cAAc,CAAoB;IAGlC,SAAS,CAAU;IAMnB,kBAAkB,CAAsB;IAGxC,cAAc,CAAkB;IAOhC,eAAe,CAA0B;IAOzC,eAAe,CAA0B;CAI1C,CAAA;AA5CY,8CAAiB;AAE5B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CAC5B;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CAC1C;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDAC5B;AAGf;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CAC5B;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;;yDACxC;AAGlC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;oDAC1B;AAMnB;IAJC,IAAA,mBAAS,EACR,GAAG,EAAE,CAAC,6CAAiB,EACvB,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,kBAAkB,CAC5C;;6DACuC;AAGxC;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,qCAAa,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,kBAAkB,CAAC;;yDACpC;AAOhC;IALC,IAAA,mBAAS,EACR,GAAG,EAAE,CAAC,sDAAqB,EAC3B,CAAC,aAAa,EAAE,EAAE,CAAC,aAAa,CAAC,kBAAkB,EACnD,EAAE,OAAO,EAAE,IAAI,EAAE,CAClB;;0DACwC;AAOzC;IALC,IAAA,mBAAS,EACR,GAAG,EAAE,CAAC,sDAAqB,EAC3B,CAAC,aAAa,EAAE,EAAE,CAAC,aAAa,CAAC,kBAAkB,EACnD,EAAE,OAAO,EAAE,IAAI,EAAE,CAClB;;0DACwC;4BAxC9B,iBAAiB;IAD7B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GAC1C,iBAAiB,CA4C7B"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ApprovalHierarchy } from './approval-hierarchy.entity';
|
|
2
|
+
import { BaseEntity } from './base.entity';
|
|
3
|
+
import { User } from './user.entity';
|
|
4
|
+
export declare enum ApprovalJourneyStatusEnum {
|
|
5
|
+
PENDING = "Pending",
|
|
6
|
+
APPROVED = "Approved",
|
|
7
|
+
REJECTED = "Rejected",
|
|
8
|
+
AUTO_APPROVED = "AutoApproved",
|
|
9
|
+
AUTO_REJECTED = "AutoRejected",
|
|
10
|
+
ESCALATED = "Escalated",
|
|
11
|
+
NA = "NA"
|
|
12
|
+
}
|
|
13
|
+
export declare class ApprovalJourney extends BaseEntity {
|
|
14
|
+
parent_id?: string;
|
|
15
|
+
journy_type?: string;
|
|
16
|
+
task_type?: string;
|
|
17
|
+
approval_hierarchy_id?: number;
|
|
18
|
+
approval_hierarchy?: ApprovalHierarchy;
|
|
19
|
+
approvar_id?: number;
|
|
20
|
+
requester_id?: number;
|
|
21
|
+
requester?: User;
|
|
22
|
+
user?: User;
|
|
23
|
+
level?: string;
|
|
24
|
+
status: ApprovalJourneyStatusEnum;
|
|
25
|
+
reject_reason?: string;
|
|
26
|
+
is_approver_turn: boolean;
|
|
27
|
+
valid_till?: Date;
|
|
28
|
+
duration?: string;
|
|
29
|
+
valid_to?: Date;
|
|
30
|
+
journey_batch_id?: string;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=approval-journey.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approval-journey.entity.d.ts","sourceRoot":"","sources":["../../../src/database/entities/approval-journey.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAErC,oBAAY,yBAAyB;IACnC,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,aAAa,iBAAiB;IAC9B,aAAa,iBAAiB;IAC9B,SAAS,cAAc;IACvB,EAAE,OAAO;CACV;AAED,qBACa,eAAgB,SAAQ,UAAU;IAE7C,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAI/B,kBAAkB,CAAC,EAAE,iBAAiB,CAAC;IAGvC,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,YAAY,CAAC,EAAE,MAAM,CAAC;IAItB,SAAS,CAAC,EAAE,IAAI,CAAC;IAIjB,IAAI,CAAC,EAAE,IAAI,CAAC;IAGZ,KAAK,CAAC,EAAE,MAAM,CAAC;IAOf,MAAM,EAAE,yBAAyB,CAAC;IAGlC,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,gBAAgB,EAAE,OAAO,CAAC;IAG1B,UAAU,CAAC,EAAE,IAAI,CAAC;IAGlB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,QAAQ,CAAC,EAAE,IAAI,CAAC;IAGhB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B"}
|
|
@@ -0,0 +1,125 @@
|
|
|
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.ApprovalJourney = exports.ApprovalJourneyStatusEnum = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const approval_hierarchy_entity_1 = require("./approval-hierarchy.entity");
|
|
15
|
+
const base_entity_1 = require("./base.entity");
|
|
16
|
+
const user_entity_1 = require("./user.entity");
|
|
17
|
+
var ApprovalJourneyStatusEnum;
|
|
18
|
+
(function (ApprovalJourneyStatusEnum) {
|
|
19
|
+
ApprovalJourneyStatusEnum["PENDING"] = "Pending";
|
|
20
|
+
ApprovalJourneyStatusEnum["APPROVED"] = "Approved";
|
|
21
|
+
ApprovalJourneyStatusEnum["REJECTED"] = "Rejected";
|
|
22
|
+
ApprovalJourneyStatusEnum["AUTO_APPROVED"] = "AutoApproved";
|
|
23
|
+
ApprovalJourneyStatusEnum["AUTO_REJECTED"] = "AutoRejected";
|
|
24
|
+
ApprovalJourneyStatusEnum["ESCALATED"] = "Escalated";
|
|
25
|
+
ApprovalJourneyStatusEnum["NA"] = "NA";
|
|
26
|
+
})(ApprovalJourneyStatusEnum || (exports.ApprovalJourneyStatusEnum = ApprovalJourneyStatusEnum = {}));
|
|
27
|
+
let ApprovalJourney = class ApprovalJourney extends base_entity_1.BaseEntity {
|
|
28
|
+
parent_id;
|
|
29
|
+
journy_type;
|
|
30
|
+
task_type;
|
|
31
|
+
approval_hierarchy_id;
|
|
32
|
+
approval_hierarchy;
|
|
33
|
+
approvar_id;
|
|
34
|
+
requester_id;
|
|
35
|
+
requester;
|
|
36
|
+
user;
|
|
37
|
+
level;
|
|
38
|
+
status;
|
|
39
|
+
reject_reason;
|
|
40
|
+
is_approver_turn;
|
|
41
|
+
valid_till;
|
|
42
|
+
duration;
|
|
43
|
+
valid_to;
|
|
44
|
+
journey_batch_id;
|
|
45
|
+
};
|
|
46
|
+
exports.ApprovalJourney = ApprovalJourney;
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.Column)({ name: 'parent_id', type: 'varchar', nullable: true }),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], ApprovalJourney.prototype, "parent_id", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, typeorm_1.Column)({ name: 'journy_type', type: 'varchar', nullable: true }),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], ApprovalJourney.prototype, "journy_type", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, typeorm_1.Column)({ name: 'task_type', type: 'varchar', nullable: true }),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], ApprovalJourney.prototype, "task_type", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, typeorm_1.Column)({ name: 'approval_hierarchy_id', type: 'int', nullable: true }),
|
|
61
|
+
__metadata("design:type", Number)
|
|
62
|
+
], ApprovalJourney.prototype, "approval_hierarchy_id", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, typeorm_1.ManyToOne)(() => approval_hierarchy_entity_1.ApprovalHierarchy, { onDelete: 'CASCADE' }),
|
|
65
|
+
(0, typeorm_1.JoinColumn)({ name: 'approval_hierarchy_id' }),
|
|
66
|
+
__metadata("design:type", approval_hierarchy_entity_1.ApprovalHierarchy)
|
|
67
|
+
], ApprovalJourney.prototype, "approval_hierarchy", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.Column)({ name: 'approvar_id', type: 'int', nullable: true }),
|
|
70
|
+
__metadata("design:type", Number)
|
|
71
|
+
], ApprovalJourney.prototype, "approvar_id", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, typeorm_1.Column)({ name: 'requester_id', type: 'int', nullable: true }),
|
|
74
|
+
__metadata("design:type", Number)
|
|
75
|
+
], ApprovalJourney.prototype, "requester_id", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { onDelete: 'CASCADE' }),
|
|
78
|
+
(0, typeorm_1.JoinColumn)({ name: 'requester_id' }),
|
|
79
|
+
__metadata("design:type", user_entity_1.User)
|
|
80
|
+
], ApprovalJourney.prototype, "requester", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { onDelete: 'CASCADE' }),
|
|
83
|
+
(0, typeorm_1.JoinColumn)({ name: 'approvar_id' }),
|
|
84
|
+
__metadata("design:type", user_entity_1.User)
|
|
85
|
+
], ApprovalJourney.prototype, "user", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
88
|
+
__metadata("design:type", String)
|
|
89
|
+
], ApprovalJourney.prototype, "level", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, typeorm_1.Column)({
|
|
92
|
+
type: 'enum',
|
|
93
|
+
enum: ApprovalJourneyStatusEnum,
|
|
94
|
+
default: ApprovalJourneyStatusEnum.PENDING,
|
|
95
|
+
}),
|
|
96
|
+
__metadata("design:type", String)
|
|
97
|
+
], ApprovalJourney.prototype, "status", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, typeorm_1.Column)({ name: 'reject_reason', type: 'text', nullable: true }),
|
|
100
|
+
__metadata("design:type", String)
|
|
101
|
+
], ApprovalJourney.prototype, "reject_reason", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, typeorm_1.Column)({ name: 'is_approver_turn', type: 'boolean', default: false }),
|
|
104
|
+
__metadata("design:type", Boolean)
|
|
105
|
+
], ApprovalJourney.prototype, "is_approver_turn", void 0);
|
|
106
|
+
__decorate([
|
|
107
|
+
(0, typeorm_1.Column)({ name: 'valid_till', type: 'timestamp', nullable: true }),
|
|
108
|
+
__metadata("design:type", Date)
|
|
109
|
+
], ApprovalJourney.prototype, "valid_till", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
(0, typeorm_1.Column)({ name: 'duration', type: 'varchar', nullable: true }),
|
|
112
|
+
__metadata("design:type", String)
|
|
113
|
+
], ApprovalJourney.prototype, "duration", void 0);
|
|
114
|
+
__decorate([
|
|
115
|
+
(0, typeorm_1.Column)({ name: 'valid_to', type: 'timestamp', nullable: true }),
|
|
116
|
+
__metadata("design:type", Date)
|
|
117
|
+
], ApprovalJourney.prototype, "valid_to", void 0);
|
|
118
|
+
__decorate([
|
|
119
|
+
(0, typeorm_1.Column)({ name: 'journey_batch_id', type: 'uuid', nullable: true }),
|
|
120
|
+
__metadata("design:type", String)
|
|
121
|
+
], ApprovalJourney.prototype, "journey_batch_id", void 0);
|
|
122
|
+
exports.ApprovalJourney = ApprovalJourney = __decorate([
|
|
123
|
+
(0, typeorm_1.Entity)({ name: 'approval_journey', schema: 'user' })
|
|
124
|
+
], ApprovalJourney);
|
|
125
|
+
//# sourceMappingURL=approval-journey.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approval-journey.entity.js","sourceRoot":"","sources":["../../../src/database/entities/approval-journey.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,2EAAgE;AAChE,+CAA2C;AAC3C,+CAAqC;AAErC,IAAY,yBAQX;AARD,WAAY,yBAAyB;IACnC,gDAAmB,CAAA;IACnB,kDAAqB,CAAA;IACrB,kDAAqB,CAAA;IACrB,2DAA8B,CAAA;IAC9B,2DAA8B,CAAA;IAC9B,oDAAuB,CAAA;IACvB,sCAAS,CAAA;AACX,CAAC,EARW,yBAAyB,yCAAzB,yBAAyB,QAQpC;AAGM,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,wBAAU;IAE7C,SAAS,CAAU;IAGnB,WAAW,CAAU;IAGrB,SAAS,CAAU;IAGnB,qBAAqB,CAAU;IAI/B,kBAAkB,CAAqB;IAGvC,WAAW,CAAU;IAGrB,YAAY,CAAU;IAItB,SAAS,CAAQ;IAIjB,IAAI,CAAQ;IAGZ,KAAK,CAAU;IAOf,MAAM,CAA4B;IAGlC,aAAa,CAAU;IAGvB,gBAAgB,CAAU;IAG1B,UAAU,CAAQ;IAGlB,QAAQ,CAAU;IAGlB,QAAQ,CAAQ;IAGhB,gBAAgB,CAAU;CAC3B,CAAA;AA1DY,0CAAe;AAE1B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDAC5C;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDAC5C;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDAC5C;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8DACxC;AAI/B;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAiB,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC3D,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC;8BACzB,6CAAiB;2DAAC;AAGvC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACxC;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACxC;AAItB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC9C,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC;8BACzB,kBAAI;kDAAC;AAIjB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC9C,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAC7B,kBAAI;6CAAC;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CAC7B;AAOf;IALC,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,yBAAyB;QAC/B,OAAO,EAAE,yBAAyB,CAAC,OAAO;KAC3C,CAAC;;+CACgC;AAGlC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACzC;AAGvB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;yDAC5C;AAG1B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACrD,IAAI;mDAAC;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDAC5C;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACrD,IAAI;iDAAC;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDACzC;0BAzDf,eAAe;IAD3B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GACxC,eAAe,CA0D3B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseEntity } from "./base.entity";
|
|
2
|
+
import { ApprovalLevelEscalation } from "./approval-level-escalation.entity";
|
|
3
|
+
import { User } from "./user.entity";
|
|
4
|
+
export declare class ApprovalLevelEscalationUser extends BaseEntity {
|
|
5
|
+
approval_level_escalation_id: number;
|
|
6
|
+
approval_level_escalation: ApprovalLevelEscalation;
|
|
7
|
+
approver_id: number;
|
|
8
|
+
user: User;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=approval-level-escalation-user.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approval-level-escalation-user.entity.d.ts","sourceRoot":"","sources":["../../../src/database/entities/approval-level-escalation-user.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAErC,qBACa,2BAA4B,SAAQ,UAAU;IAEzD,4BAA4B,EAAE,MAAM,CAAC;IAMrC,yBAAyB,EAAE,uBAAuB,CAAC;IAGnD,WAAW,EAAE,MAAM,CAAC;IAIpB,IAAI,EAAE,IAAI,CAAC;CACZ"}
|
|
@@ -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.ApprovalLevelEscalationUser = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const base_entity_1 = require("./base.entity");
|
|
15
|
+
const approval_level_escalation_entity_1 = require("./approval-level-escalation.entity");
|
|
16
|
+
const user_entity_1 = require("./user.entity");
|
|
17
|
+
let ApprovalLevelEscalationUser = class ApprovalLevelEscalationUser extends base_entity_1.BaseEntity {
|
|
18
|
+
approval_level_escalation_id;
|
|
19
|
+
approval_level_escalation;
|
|
20
|
+
approver_id;
|
|
21
|
+
user;
|
|
22
|
+
};
|
|
23
|
+
exports.ApprovalLevelEscalationUser = ApprovalLevelEscalationUser;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)({ name: 'approval_level_escalation_id', nullable: true }),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], ApprovalLevelEscalationUser.prototype, "approval_level_escalation_id", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.ManyToOne)(() => approval_level_escalation_entity_1.ApprovalLevelEscalation, (approval_level_escalation) => approval_level_escalation.approval_level_escalation_user, {
|
|
30
|
+
onDelete: "CASCADE",
|
|
31
|
+
}),
|
|
32
|
+
(0, typeorm_1.JoinColumn)({ name: 'approval_level_escalation_id' }),
|
|
33
|
+
__metadata("design:type", approval_level_escalation_entity_1.ApprovalLevelEscalation)
|
|
34
|
+
], ApprovalLevelEscalationUser.prototype, "approval_level_escalation", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)({ name: 'approver_id', nullable: true }),
|
|
37
|
+
__metadata("design:type", Number)
|
|
38
|
+
], ApprovalLevelEscalationUser.prototype, "approver_id", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, (user) => user.approval_level_escalation_user, { onDelete: "CASCADE" }),
|
|
41
|
+
(0, typeorm_1.JoinColumn)({ name: 'approver_id' }),
|
|
42
|
+
__metadata("design:type", user_entity_1.User)
|
|
43
|
+
], ApprovalLevelEscalationUser.prototype, "user", void 0);
|
|
44
|
+
exports.ApprovalLevelEscalationUser = ApprovalLevelEscalationUser = __decorate([
|
|
45
|
+
(0, typeorm_1.Entity)({ name: 'approval_level_escalation_users', schema: 'user' })
|
|
46
|
+
], ApprovalLevelEscalationUser);
|
|
47
|
+
//# sourceMappingURL=approval-level-escalation-user.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approval-level-escalation-user.entity.js","sourceRoot":"","sources":["../../../src/database/entities/approval-level-escalation-user.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,+CAA2C;AAC3C,yFAA6E;AAC7E,+CAAqC;AAG9B,IAAM,2BAA2B,GAAjC,MAAM,2BAA4B,SAAQ,wBAAU;IAEzD,4BAA4B,CAAS;IAMrC,yBAAyB,CAA0B;IAGnD,WAAW,CAAS;IAIpB,IAAI,CAAO;CACZ,CAAA;AAhBY,kEAA2B;AAEtC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,8BAA8B,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iFAC5B;AAMrC;IAJC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,0DAAuB,EAAE,CAAC,yBAAyB,EAAE,EAAE,CAAC,yBAAyB,CAAC,8BAA8B,EAAE;QACjI,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,8BAA8B,EAAE,CAAC;8BAC1B,0DAAuB;8EAAC;AAGnD;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gEAC5B;AAIpB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC7F,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAC9B,kBAAI;yDAAC;sCAfA,2BAA2B;IADvC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,iCAAiC,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GACvD,2BAA2B,CAgBvC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ApprovalLevel } from './approval-level.entity';
|
|
2
|
+
import { User } from './user.entity';
|
|
3
|
+
import { ApprovalLevelEscalationUser } from './approval-level-escalation-user.entity';
|
|
4
|
+
import { BaseEntity } from './base.entity';
|
|
5
|
+
export declare class ApprovalLevelEscalation extends BaseEntity {
|
|
6
|
+
approval_level_id: number;
|
|
7
|
+
approval_level: ApprovalLevel;
|
|
8
|
+
escalation_approver_id: number;
|
|
9
|
+
user: User;
|
|
10
|
+
valid_till_hours: number;
|
|
11
|
+
valid_till_minutes: number;
|
|
12
|
+
approval_level_escalation_user: ApprovalLevelEscalationUser[];
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=approval-level-escalation.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approval-level-escalation.entity.d.ts","sourceRoot":"","sources":["../../../src/database/entities/approval-level-escalation.entity.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,qBACa,uBAAwB,SAAQ,UAAU;IAErD,iBAAiB,EAAE,MAAM,CAAC;IAM1B,cAAc,EAAE,aAAa,CAAC;IAG9B,sBAAsB,EAAE,MAAM,CAAC;IAM/B,IAAI,EAAE,IAAI,CAAC;IAGX,gBAAgB,EAAE,MAAM,CAAC;IAGzB,kBAAkB,EAAE,MAAM,CAAC;IAO3B,8BAA8B,EAAE,2BAA2B,EAAE,CAAC;CAC/D"}
|
|
@@ -0,0 +1,65 @@
|
|
|
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.ApprovalLevelEscalation = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const approval_level_entity_1 = require("./approval-level.entity");
|
|
15
|
+
const user_entity_1 = require("./user.entity");
|
|
16
|
+
const approval_level_escalation_user_entity_1 = require("./approval-level-escalation-user.entity");
|
|
17
|
+
const base_entity_1 = require("./base.entity");
|
|
18
|
+
let ApprovalLevelEscalation = class ApprovalLevelEscalation extends base_entity_1.BaseEntity {
|
|
19
|
+
approval_level_id;
|
|
20
|
+
approval_level;
|
|
21
|
+
escalation_approver_id;
|
|
22
|
+
user;
|
|
23
|
+
valid_till_hours;
|
|
24
|
+
valid_till_minutes;
|
|
25
|
+
approval_level_escalation_user;
|
|
26
|
+
};
|
|
27
|
+
exports.ApprovalLevelEscalation = ApprovalLevelEscalation;
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ name: 'approval_level_id', nullable: true }),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], ApprovalLevelEscalation.prototype, "approval_level_id", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.ManyToOne)(() => approval_level_entity_1.ApprovalLevel, (level) => level.approval_level_escalation, {
|
|
34
|
+
onDelete: 'CASCADE',
|
|
35
|
+
}),
|
|
36
|
+
(0, typeorm_1.JoinColumn)({ name: 'approval_level_id', referencedColumnName: 'id' }),
|
|
37
|
+
__metadata("design:type", approval_level_entity_1.ApprovalLevel)
|
|
38
|
+
], ApprovalLevelEscalation.prototype, "approval_level", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)({ name: 'escalation_approver_id', nullable: true }),
|
|
41
|
+
__metadata("design:type", Number)
|
|
42
|
+
], ApprovalLevelEscalation.prototype, "escalation_approver_id", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, (user) => user.approval_level_escalation, {
|
|
45
|
+
onDelete: 'CASCADE',
|
|
46
|
+
}),
|
|
47
|
+
(0, typeorm_1.JoinColumn)({ name: 'escalation_approver_id' }),
|
|
48
|
+
__metadata("design:type", user_entity_1.User)
|
|
49
|
+
], ApprovalLevelEscalation.prototype, "user", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, typeorm_1.Column)({ name: 'valid_till_hours', nullable: true }),
|
|
52
|
+
__metadata("design:type", Number)
|
|
53
|
+
], ApprovalLevelEscalation.prototype, "valid_till_hours", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, typeorm_1.Column)({ name: 'valid_till_minutes', nullable: true }),
|
|
56
|
+
__metadata("design:type", Number)
|
|
57
|
+
], ApprovalLevelEscalation.prototype, "valid_till_minutes", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, typeorm_1.OneToMany)(() => approval_level_escalation_user_entity_1.ApprovalLevelEscalationUser, (approval_level_escalation_user) => approval_level_escalation_user.approval_level_escalation),
|
|
60
|
+
__metadata("design:type", Array)
|
|
61
|
+
], ApprovalLevelEscalation.prototype, "approval_level_escalation_user", void 0);
|
|
62
|
+
exports.ApprovalLevelEscalation = ApprovalLevelEscalation = __decorate([
|
|
63
|
+
(0, typeorm_1.Entity)({ name: 'approval_level_escalations', schema: 'user' })
|
|
64
|
+
], ApprovalLevelEscalation);
|
|
65
|
+
//# sourceMappingURL=approval-level-escalation.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approval-level-escalation.entity.js","sourceRoot":"","sources":["../../../src/database/entities/approval-level-escalation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAMiB;AACjB,mEAAwD;AACxD,+CAAqC;AACrC,mGAAsF;AACtF,+CAA2C;AAGpC,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,wBAAU;IAErD,iBAAiB,CAAS;IAM1B,cAAc,CAAgB;IAG9B,sBAAsB,CAAS;IAM/B,IAAI,CAAO;IAGX,gBAAgB,CAAS;IAGzB,kBAAkB,CAAS;IAO3B,8BAA8B,CAAgC;CAC/D,CAAA;AA/BY,0DAAuB;AAElC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kEAC5B;AAM1B;IAJC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,qCAAa,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,yBAAyB,EAAE;QAC1E,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC;8BACtD,qCAAa;+DAAC;AAG9B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,wBAAwB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uEAC5B;AAM/B;IAJC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,yBAAyB,EAAE;QAC/D,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,wBAAwB,EAAE,CAAC;8BACzC,kBAAI;qDAAC;AAGX;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iEAC5B;AAGzB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mEAC5B;AAO3B;IALC,IAAA,mBAAS,EACR,GAAG,EAAE,CAAC,mEAA2B,EACjC,CAAC,8BAA8B,EAAE,EAAE,CACjC,8BAA8B,CAAC,yBAAyB,CAC3D;;+EAC6D;kCA9BnD,uBAAuB;IADnC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,4BAA4B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GAClD,uBAAuB,CA+BnC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseEntity } from './base.entity';
|
|
2
|
+
import { ApprovalLevel } from './approval-level.entity';
|
|
3
|
+
import { User } from './user.entity';
|
|
4
|
+
export declare class ApprovalLevelUser extends BaseEntity {
|
|
5
|
+
approval_level_id: number;
|
|
6
|
+
approval_level: ApprovalLevel;
|
|
7
|
+
approver_id: number;
|
|
8
|
+
user: User;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=approval-level-user.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approval-level-user.entity.d.ts","sourceRoot":"","sources":["../../../src/database/entities/approval-level-user.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAErC,qBACa,iBAAkB,SAAQ,UAAU;IAE/C,iBAAiB,EAAE,MAAM,CAAC;IAM1B,cAAc,EAAE,aAAa,CAAC;IAG9B,WAAW,EAAE,MAAM,CAAC;IAMpB,IAAI,EAAE,IAAI,CAAC;CACZ"}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.ApprovalLevelUser = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const base_entity_1 = require("./base.entity");
|
|
15
|
+
const approval_level_entity_1 = require("./approval-level.entity");
|
|
16
|
+
const user_entity_1 = require("./user.entity");
|
|
17
|
+
let ApprovalLevelUser = class ApprovalLevelUser extends base_entity_1.BaseEntity {
|
|
18
|
+
approval_level_id;
|
|
19
|
+
approval_level;
|
|
20
|
+
approver_id;
|
|
21
|
+
user;
|
|
22
|
+
};
|
|
23
|
+
exports.ApprovalLevelUser = ApprovalLevelUser;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)({ name: 'approval_level_id', nullable: true }),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], ApprovalLevelUser.prototype, "approval_level_id", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.ManyToOne)(() => approval_level_entity_1.ApprovalLevel, (level) => level.approval_level_users, {
|
|
30
|
+
onDelete: 'CASCADE',
|
|
31
|
+
}),
|
|
32
|
+
(0, typeorm_1.JoinColumn)({ name: 'approval_level_id' }),
|
|
33
|
+
__metadata("design:type", approval_level_entity_1.ApprovalLevel)
|
|
34
|
+
], ApprovalLevelUser.prototype, "approval_level", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)({ name: 'approver_id', nullable: true }),
|
|
37
|
+
__metadata("design:type", Number)
|
|
38
|
+
], ApprovalLevelUser.prototype, "approver_id", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, (user) => user.approval_level_user, {
|
|
41
|
+
onDelete: 'CASCADE',
|
|
42
|
+
}),
|
|
43
|
+
(0, typeorm_1.JoinColumn)({ name: 'approver_id' }),
|
|
44
|
+
__metadata("design:type", user_entity_1.User)
|
|
45
|
+
], ApprovalLevelUser.prototype, "user", void 0);
|
|
46
|
+
exports.ApprovalLevelUser = ApprovalLevelUser = __decorate([
|
|
47
|
+
(0, typeorm_1.Entity)({ name: 'approval_level_users', schema: 'user' })
|
|
48
|
+
], ApprovalLevelUser);
|
|
49
|
+
//# sourceMappingURL=approval-level-user.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approval-level-user.entity.js","sourceRoot":"","sources":["../../../src/database/entities/approval-level-user.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,+CAA2C;AAC3C,mEAAwD;AACxD,+CAAqC;AAG9B,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,wBAAU;IAE/C,iBAAiB,CAAS;IAM1B,cAAc,CAAgB;IAG9B,WAAW,CAAS;IAMpB,IAAI,CAAO;CACZ,CAAA;AAlBY,8CAAiB;AAE5B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DAC5B;AAM1B;IAJC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,qCAAa,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,oBAAoB,EAAE;QACrE,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,CAAC;8BAC1B,qCAAa;yDAAC;AAG9B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDAC5B;AAMpB;IAJC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,mBAAmB,EAAE;QACzD,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAC9B,kBAAI;+CAAC;4BAjBA,iBAAiB;IAD7B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,sBAAsB,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GAC5C,iBAAiB,CAkB7B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ApprovalHierarchy } from './approval-hierarchy.entity';
|
|
2
|
+
import { ApprovalCondition } from './approval-condition.entity';
|
|
3
|
+
import { ApprovalLevelUser } from './approval-level-user.entity';
|
|
4
|
+
import { ApprovalLevelEscalation } from './approval-level-escalation.entity';
|
|
5
|
+
import { BaseEntity } from './base.entity';
|
|
6
|
+
export declare class ApprovalLevel extends BaseEntity {
|
|
7
|
+
approval_hierarchy_id: number;
|
|
8
|
+
approval_hierarchy: ApprovalHierarchy;
|
|
9
|
+
approval_condition_id: number;
|
|
10
|
+
approval_condition: ApprovalCondition;
|
|
11
|
+
level: string;
|
|
12
|
+
valid_till_hours: number;
|
|
13
|
+
valid_till_minutes: number;
|
|
14
|
+
approval_level_escalation: ApprovalLevelEscalation[];
|
|
15
|
+
approval_level_users: ApprovalLevelUser[];
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=approval-level.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approval-level.entity.d.ts","sourceRoot":"","sources":["../../../src/database/entities/approval-level.entity.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,qBACa,aAAc,SAAQ,UAAU;IAE3C,qBAAqB,EAAE,MAAM,CAAC;IAM9B,kBAAkB,EAAE,iBAAiB,CAAC;IAGtC,qBAAqB,EAAE,MAAM,CAAC;IAM9B,kBAAkB,EAAE,iBAAiB,CAAC;IAGtC,KAAK,EAAE,MAAM,CAAC;IAGd,gBAAgB,EAAE,MAAM,CAAC;IAGzB,kBAAkB,EAAE,MAAM,CAAC;IAM3B,yBAAyB,EAAE,uBAAuB,EAAE,CAAC;IAGrD,oBAAoB,EAAE,iBAAiB,EAAE,CAAC;CAC3C"}
|
|
@@ -0,0 +1,76 @@
|
|
|
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.ApprovalLevel = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const approval_hierarchy_entity_1 = require("./approval-hierarchy.entity");
|
|
15
|
+
const approval_condition_entity_1 = require("./approval-condition.entity");
|
|
16
|
+
const approval_level_user_entity_1 = require("./approval-level-user.entity");
|
|
17
|
+
const approval_level_escalation_entity_1 = require("./approval-level-escalation.entity");
|
|
18
|
+
const base_entity_1 = require("./base.entity");
|
|
19
|
+
let ApprovalLevel = class ApprovalLevel extends base_entity_1.BaseEntity {
|
|
20
|
+
approval_hierarchy_id;
|
|
21
|
+
approval_hierarchy;
|
|
22
|
+
approval_condition_id;
|
|
23
|
+
approval_condition;
|
|
24
|
+
level;
|
|
25
|
+
valid_till_hours;
|
|
26
|
+
valid_till_minutes;
|
|
27
|
+
approval_level_escalation;
|
|
28
|
+
approval_level_users;
|
|
29
|
+
};
|
|
30
|
+
exports.ApprovalLevel = ApprovalLevel;
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], ApprovalLevel.prototype, "approval_hierarchy_id", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.ManyToOne)(() => approval_hierarchy_entity_1.ApprovalHierarchy, (hierarchy) => hierarchy.approval_level, {
|
|
37
|
+
onDelete: 'CASCADE',
|
|
38
|
+
}),
|
|
39
|
+
(0, typeorm_1.JoinColumn)({ name: 'approval_hierarchy_id' }),
|
|
40
|
+
__metadata("design:type", approval_hierarchy_entity_1.ApprovalHierarchy)
|
|
41
|
+
], ApprovalLevel.prototype, "approval_hierarchy", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Column)({ name: 'approval_condition_id', nullable: true }),
|
|
44
|
+
__metadata("design:type", Number)
|
|
45
|
+
], ApprovalLevel.prototype, "approval_condition_id", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, typeorm_1.ManyToOne)(() => approval_condition_entity_1.ApprovalCondition, (condition) => condition.approval_level, {
|
|
48
|
+
onDelete: 'CASCADE',
|
|
49
|
+
}),
|
|
50
|
+
(0, typeorm_1.JoinColumn)({ name: 'approval_condition_id' }),
|
|
51
|
+
__metadata("design:type", approval_condition_entity_1.ApprovalCondition)
|
|
52
|
+
], ApprovalLevel.prototype, "approval_condition", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ name: 'level', nullable: true }),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], ApprovalLevel.prototype, "level", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ name: 'valid_till_hours', nullable: true }),
|
|
59
|
+
__metadata("design:type", Number)
|
|
60
|
+
], ApprovalLevel.prototype, "valid_till_hours", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ name: 'valid_till_minutes', nullable: true }),
|
|
63
|
+
__metadata("design:type", Number)
|
|
64
|
+
], ApprovalLevel.prototype, "valid_till_minutes", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.OneToMany)(() => approval_level_escalation_entity_1.ApprovalLevelEscalation, (escalation) => escalation.approval_level),
|
|
67
|
+
__metadata("design:type", Array)
|
|
68
|
+
], ApprovalLevel.prototype, "approval_level_escalation", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.OneToMany)(() => approval_level_user_entity_1.ApprovalLevelUser, (user) => user.approval_level),
|
|
71
|
+
__metadata("design:type", Array)
|
|
72
|
+
], ApprovalLevel.prototype, "approval_level_users", void 0);
|
|
73
|
+
exports.ApprovalLevel = ApprovalLevel = __decorate([
|
|
74
|
+
(0, typeorm_1.Entity)({ name: 'approval_levels', schema: 'user' })
|
|
75
|
+
], ApprovalLevel);
|
|
76
|
+
//# sourceMappingURL=approval-level.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approval-level.entity.js","sourceRoot":"","sources":["../../../src/database/entities/approval-level.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAMiB;AACjB,2EAAgE;AAChE,2EAAgE;AAChE,6EAAiE;AACjE,yFAA6E;AAC7E,+CAA2C;AAGpC,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,wBAAU;IAE3C,qBAAqB,CAAS;IAM9B,kBAAkB,CAAoB;IAGtC,qBAAqB,CAAS;IAM9B,kBAAkB,CAAoB;IAGtC,KAAK,CAAS;IAGd,gBAAgB,CAAS;IAGzB,kBAAkB,CAAS;IAM3B,yBAAyB,CAA4B;IAGrD,oBAAoB,CAAsB;CAC3C,CAAA;AApCY,sCAAa;AAExB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACG;AAM9B;IAJC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAiB,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,cAAc,EAAE;QAC3E,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC;8BAC1B,6CAAiB;yDAAC;AAGtC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DAC5B;AAM9B;IAJC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAiB,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,cAAc,EAAE;QAC3E,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC;8BAC1B,6CAAiB;yDAAC;AAGtC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CAC5B;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDAC5B;AAGzB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDAC5B;AAM3B;IAJC,IAAA,mBAAS,EACR,GAAG,EAAE,CAAC,0DAAuB,EAC7B,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,cAAc,CAC1C;;gEACoD;AAGrD;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,8CAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC;;2DACxB;wBAnC/B,aAAa;IADzB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GACvC,aAAa,CAoCzB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare abstract class BaseEntity {
|
|
2
|
+
id: number;
|
|
3
|
+
uuid: string;
|
|
4
|
+
createdAt: Date | null;
|
|
5
|
+
createdBy: number | null;
|
|
6
|
+
updatedAt: Date | null;
|
|
7
|
+
updatedBy: number | null;
|
|
8
|
+
isDeleted: boolean;
|
|
9
|
+
deletedBy: number | null;
|
|
10
|
+
deletedAt: Date | null;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=base.entity.d.ts.map
|