@servicelabsco/slabs-access-manager 0.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/.vscode/settings.json +8 -0
- package/README.md +73 -0
- package/dist/access/access.module.d.ts +2 -0
- package/dist/access/access.module.js +25 -0
- package/dist/access/access.module.js.map +1 -0
- package/dist/access/controllers/index.d.ts +1 -0
- package/dist/access/controllers/index.js +18 -0
- package/dist/access/controllers/index.js.map +1 -0
- package/dist/access/controllers/menu.controller.d.ts +8 -0
- package/dist/access/controllers/menu.controller.js +62 -0
- package/dist/access/controllers/menu.controller.js.map +1 -0
- package/dist/access/dtos/business.user.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/business.user.attributes.dto.js +8 -0
- package/dist/access/dtos/business.user.attributes.dto.js.map +1 -0
- package/dist/access/dtos/business.user.role.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/business.user.role.attributes.dto.js +8 -0
- package/dist/access/dtos/business.user.role.attributes.dto.js.map +1 -0
- package/dist/access/dtos/child.menu.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/child.menu.attributes.dto.js +8 -0
- package/dist/access/dtos/child.menu.attributes.dto.js.map +1 -0
- package/dist/access/dtos/custom.report.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/custom.report.attributes.dto.js +8 -0
- package/dist/access/dtos/custom.report.attributes.dto.js.map +1 -0
- package/dist/access/dtos/dashboard.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/dashboard.attributes.dto.js +8 -0
- package/dist/access/dtos/dashboard.attributes.dto.js.map +1 -0
- package/dist/access/dtos/dashboard.component.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/dashboard.component.attributes.dto.js +8 -0
- package/dist/access/dtos/dashboard.component.attributes.dto.js.map +1 -0
- package/dist/access/dtos/group.role.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/group.role.attributes.dto.js +8 -0
- package/dist/access/dtos/group.role.attributes.dto.js.map +1 -0
- package/dist/access/dtos/index.d.ts +18 -0
- package/dist/access/dtos/index.js +35 -0
- package/dist/access/dtos/index.js.map +1 -0
- package/dist/access/dtos/list.preference.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/list.preference.attributes.dto.js +8 -0
- package/dist/access/dtos/list.preference.attributes.dto.js.map +1 -0
- package/dist/access/dtos/menu.action.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/menu.action.attributes.dto.js +8 -0
- package/dist/access/dtos/menu.action.attributes.dto.js.map +1 -0
- package/dist/access/dtos/menu.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/menu.attributes.dto.js +8 -0
- package/dist/access/dtos/menu.attributes.dto.js.map +1 -0
- package/dist/access/dtos/menu.role.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/menu.role.attributes.dto.js +8 -0
- package/dist/access/dtos/menu.role.attributes.dto.js.map +1 -0
- package/dist/access/dtos/module.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/module.attributes.dto.js +8 -0
- package/dist/access/dtos/module.attributes.dto.js.map +1 -0
- package/dist/access/dtos/module.menu.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/module.menu.attributes.dto.js +8 -0
- package/dist/access/dtos/module.menu.attributes.dto.js.map +1 -0
- package/dist/access/dtos/product.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/product.attributes.dto.js +8 -0
- package/dist/access/dtos/product.attributes.dto.js.map +1 -0
- package/dist/access/dtos/role.group.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/role.group.attributes.dto.js +8 -0
- package/dist/access/dtos/role.group.attributes.dto.js.map +1 -0
- package/dist/access/dtos/ui.action.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/ui.action.attributes.dto.js +8 -0
- package/dist/access/dtos/ui.action.attributes.dto.js.map +1 -0
- package/dist/access/dtos/ui.action.role.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/ui.action.role.attributes.dto.js +8 -0
- package/dist/access/dtos/ui.action.role.attributes.dto.js.map +1 -0
- package/dist/access/dtos/user.role.attributes.dto.d.ts +3 -0
- package/dist/access/dtos/user.role.attributes.dto.js +8 -0
- package/dist/access/dtos/user.role.attributes.dto.js.map +1 -0
- package/dist/access/entities/business.entity.d.ts +9 -0
- package/dist/access/entities/business.entity.js +46 -0
- package/dist/access/entities/business.entity.js.map +1 -0
- package/dist/access/entities/business.user.entity.d.ts +12 -0
- package/dist/access/entities/business.user.entity.js +53 -0
- package/dist/access/entities/business.user.entity.js.map +1 -0
- package/dist/access/entities/business.user.role.entity.d.ts +11 -0
- package/dist/access/entities/business.user.role.entity.js +46 -0
- package/dist/access/entities/business.user.role.entity.js.map +1 -0
- package/dist/access/entities/child.menu.entity.d.ts +10 -0
- package/dist/access/entities/child.menu.entity.js +45 -0
- package/dist/access/entities/child.menu.entity.js.map +1 -0
- package/dist/access/entities/custom.report.entity.d.ts +13 -0
- package/dist/access/entities/custom.report.entity.js +56 -0
- package/dist/access/entities/custom.report.entity.js.map +1 -0
- package/dist/access/entities/dashboard.component.entity.d.ts +14 -0
- package/dist/access/entities/dashboard.component.entity.js +58 -0
- package/dist/access/entities/dashboard.component.entity.js.map +1 -0
- package/dist/access/entities/dashboard.entity.d.ts +17 -0
- package/dist/access/entities/dashboard.entity.js +71 -0
- package/dist/access/entities/dashboard.entity.js.map +1 -0
- package/dist/access/entities/group.role.entity.d.ts +10 -0
- package/dist/access/entities/group.role.entity.js +45 -0
- package/dist/access/entities/group.role.entity.js.map +1 -0
- package/dist/access/entities/index.d.ts +19 -0
- package/dist/access/entities/index.js +36 -0
- package/dist/access/entities/index.js.map +1 -0
- package/dist/access/entities/list.preference.entity.d.ts +19 -0
- package/dist/access/entities/list.preference.entity.js +77 -0
- package/dist/access/entities/list.preference.entity.js.map +1 -0
- package/dist/access/entities/menu.action.entity.d.ts +10 -0
- package/dist/access/entities/menu.action.entity.js +48 -0
- package/dist/access/entities/menu.action.entity.js.map +1 -0
- package/dist/access/entities/menu.entity.d.ts +15 -0
- package/dist/access/entities/menu.entity.js +66 -0
- package/dist/access/entities/menu.entity.js.map +1 -0
- package/dist/access/entities/menu.role.entity.d.ts +10 -0
- package/dist/access/entities/menu.role.entity.js +45 -0
- package/dist/access/entities/menu.role.entity.js.map +1 -0
- package/dist/access/entities/module.entity.d.ts +20 -0
- package/dist/access/entities/module.entity.js +85 -0
- package/dist/access/entities/module.entity.js.map +1 -0
- package/dist/access/entities/module.menu.entity.d.ts +12 -0
- package/dist/access/entities/module.menu.entity.js +50 -0
- package/dist/access/entities/module.menu.entity.js.map +1 -0
- package/dist/access/entities/product.entity.d.ts +6 -0
- package/dist/access/entities/product.entity.js +30 -0
- package/dist/access/entities/product.entity.js.map +1 -0
- package/dist/access/entities/role.group.entity.d.ts +10 -0
- package/dist/access/entities/role.group.entity.js +44 -0
- package/dist/access/entities/role.group.entity.js.map +1 -0
- package/dist/access/entities/ui.action.entity.d.ts +15 -0
- package/dist/access/entities/ui.action.entity.js +68 -0
- package/dist/access/entities/ui.action.entity.js.map +1 -0
- package/dist/access/entities/ui.action.role.entity.d.ts +10 -0
- package/dist/access/entities/ui.action.role.entity.js +45 -0
- package/dist/access/entities/ui.action.role.entity.js.map +1 -0
- package/dist/access/entities/user.role.entity.d.ts +14 -0
- package/dist/access/entities/user.role.entity.js +62 -0
- package/dist/access/entities/user.role.entity.js.map +1 -0
- package/dist/access/es6.classes.d.ts +65 -0
- package/dist/access/es6.classes.js +168 -0
- package/dist/access/es6.classes.js.map +1 -0
- package/dist/access/index.d.ts +8 -0
- package/dist/access/index.js +25 -0
- package/dist/access/index.js.map +1 -0
- package/dist/access/jobs/business.user.job.d.ts +7 -0
- package/dist/access/jobs/business.user.job.js +27 -0
- package/dist/access/jobs/business.user.job.js.map +1 -0
- package/dist/access/jobs/business.user.role.job.d.ts +7 -0
- package/dist/access/jobs/business.user.role.job.js +27 -0
- package/dist/access/jobs/business.user.role.job.js.map +1 -0
- package/dist/access/jobs/child.menu.job.d.ts +7 -0
- package/dist/access/jobs/child.menu.job.js +27 -0
- package/dist/access/jobs/child.menu.job.js.map +1 -0
- package/dist/access/jobs/custom.report.job.d.ts +7 -0
- package/dist/access/jobs/custom.report.job.js +27 -0
- package/dist/access/jobs/custom.report.job.js.map +1 -0
- package/dist/access/jobs/dashboard.component.job.d.ts +7 -0
- package/dist/access/jobs/dashboard.component.job.js +27 -0
- package/dist/access/jobs/dashboard.component.job.js.map +1 -0
- package/dist/access/jobs/dashboard.job.d.ts +7 -0
- package/dist/access/jobs/dashboard.job.js +27 -0
- package/dist/access/jobs/dashboard.job.js.map +1 -0
- package/dist/access/jobs/group.role.job.d.ts +7 -0
- package/dist/access/jobs/group.role.job.js +27 -0
- package/dist/access/jobs/group.role.job.js.map +1 -0
- package/dist/access/jobs/index.d.ts +18 -0
- package/dist/access/jobs/index.js +35 -0
- package/dist/access/jobs/index.js.map +1 -0
- package/dist/access/jobs/list.preference.job.d.ts +7 -0
- package/dist/access/jobs/list.preference.job.js +27 -0
- package/dist/access/jobs/list.preference.job.js.map +1 -0
- package/dist/access/jobs/menu.action.job.d.ts +7 -0
- package/dist/access/jobs/menu.action.job.js +27 -0
- package/dist/access/jobs/menu.action.job.js.map +1 -0
- package/dist/access/jobs/menu.job.d.ts +7 -0
- package/dist/access/jobs/menu.job.js +27 -0
- package/dist/access/jobs/menu.job.js.map +1 -0
- package/dist/access/jobs/menu.role.job.d.ts +7 -0
- package/dist/access/jobs/menu.role.job.js +27 -0
- package/dist/access/jobs/menu.role.job.js.map +1 -0
- package/dist/access/jobs/module.job.d.ts +7 -0
- package/dist/access/jobs/module.job.js +27 -0
- package/dist/access/jobs/module.job.js.map +1 -0
- package/dist/access/jobs/module.menu.job.d.ts +7 -0
- package/dist/access/jobs/module.menu.job.js +27 -0
- package/dist/access/jobs/module.menu.job.js.map +1 -0
- package/dist/access/jobs/product.job.d.ts +7 -0
- package/dist/access/jobs/product.job.js +27 -0
- package/dist/access/jobs/product.job.js.map +1 -0
- package/dist/access/jobs/role.group.job.d.ts +7 -0
- package/dist/access/jobs/role.group.job.js +27 -0
- package/dist/access/jobs/role.group.job.js.map +1 -0
- package/dist/access/jobs/ui.action.job.d.ts +7 -0
- package/dist/access/jobs/ui.action.job.js +27 -0
- package/dist/access/jobs/ui.action.job.js.map +1 -0
- package/dist/access/jobs/ui.action.role.job.d.ts +7 -0
- package/dist/access/jobs/ui.action.role.job.js +27 -0
- package/dist/access/jobs/ui.action.role.job.js.map +1 -0
- package/dist/access/jobs/user.role.job.d.ts +7 -0
- package/dist/access/jobs/user.role.job.js +27 -0
- package/dist/access/jobs/user.role.job.js.map +1 -0
- package/dist/access/libraries/index.d.ts +2 -0
- package/dist/access/libraries/index.js +19 -0
- package/dist/access/libraries/index.js.map +1 -0
- package/dist/access/libraries/process.application.menu.d.ts +14 -0
- package/dist/access/libraries/process.application.menu.js +87 -0
- package/dist/access/libraries/process.application.menu.js.map +1 -0
- package/dist/access/libraries/process.menu.details.d.ts +12 -0
- package/dist/access/libraries/process.menu.details.js +67 -0
- package/dist/access/libraries/process.menu.details.js.map +1 -0
- package/dist/access/services/es6.jobs.service.d.ts +42 -0
- package/dist/access/services/es6.jobs.service.js +105 -0
- package/dist/access/services/es6.jobs.service.js.map +1 -0
- package/dist/access/services/index.d.ts +1 -0
- package/dist/access/services/index.js +18 -0
- package/dist/access/services/index.js.map +1 -0
- package/dist/access/services/load.entity.service.d.ts +4 -0
- package/dist/access/services/load.entity.service.js +29 -0
- package/dist/access/services/load.entity.service.js.map +1 -0
- package/dist/access/services/menu.service.d.ts +2 -0
- package/dist/access/services/menu.service.js +17 -0
- package/dist/access/services/menu.service.js.map +1 -0
- package/dist/access/subscribers/business.user.role.subscriber.d.ts +12 -0
- package/dist/access/subscribers/business.user.role.subscriber.js +39 -0
- package/dist/access/subscribers/business.user.role.subscriber.js.map +1 -0
- package/dist/access/subscribers/business.user.subscriber.d.ts +12 -0
- package/dist/access/subscribers/business.user.subscriber.js +39 -0
- package/dist/access/subscribers/business.user.subscriber.js.map +1 -0
- package/dist/access/subscribers/child.menu.subscriber.d.ts +12 -0
- package/dist/access/subscribers/child.menu.subscriber.js +39 -0
- package/dist/access/subscribers/child.menu.subscriber.js.map +1 -0
- package/dist/access/subscribers/custom.report.subscriber.d.ts +12 -0
- package/dist/access/subscribers/custom.report.subscriber.js +39 -0
- package/dist/access/subscribers/custom.report.subscriber.js.map +1 -0
- package/dist/access/subscribers/dashboard.component.subscriber.d.ts +12 -0
- package/dist/access/subscribers/dashboard.component.subscriber.js +39 -0
- package/dist/access/subscribers/dashboard.component.subscriber.js.map +1 -0
- package/dist/access/subscribers/dashboard.subscriber.d.ts +12 -0
- package/dist/access/subscribers/dashboard.subscriber.js +39 -0
- package/dist/access/subscribers/dashboard.subscriber.js.map +1 -0
- package/dist/access/subscribers/group.role.subscriber.d.ts +12 -0
- package/dist/access/subscribers/group.role.subscriber.js +39 -0
- package/dist/access/subscribers/group.role.subscriber.js.map +1 -0
- package/dist/access/subscribers/index.d.ts +18 -0
- package/dist/access/subscribers/index.js +35 -0
- package/dist/access/subscribers/index.js.map +1 -0
- package/dist/access/subscribers/list.preference.subscriber.d.ts +12 -0
- package/dist/access/subscribers/list.preference.subscriber.js +39 -0
- package/dist/access/subscribers/list.preference.subscriber.js.map +1 -0
- package/dist/access/subscribers/menu.action.subscriber.d.ts +12 -0
- package/dist/access/subscribers/menu.action.subscriber.js +39 -0
- package/dist/access/subscribers/menu.action.subscriber.js.map +1 -0
- package/dist/access/subscribers/menu.role.subscriber.d.ts +12 -0
- package/dist/access/subscribers/menu.role.subscriber.js +39 -0
- package/dist/access/subscribers/menu.role.subscriber.js.map +1 -0
- package/dist/access/subscribers/menu.subscriber.d.ts +12 -0
- package/dist/access/subscribers/menu.subscriber.js +39 -0
- package/dist/access/subscribers/menu.subscriber.js.map +1 -0
- package/dist/access/subscribers/module.menu.subscriber.d.ts +12 -0
- package/dist/access/subscribers/module.menu.subscriber.js +39 -0
- package/dist/access/subscribers/module.menu.subscriber.js.map +1 -0
- package/dist/access/subscribers/module.subscriber.d.ts +12 -0
- package/dist/access/subscribers/module.subscriber.js +39 -0
- package/dist/access/subscribers/module.subscriber.js.map +1 -0
- package/dist/access/subscribers/product.subscriber.d.ts +12 -0
- package/dist/access/subscribers/product.subscriber.js +39 -0
- package/dist/access/subscribers/product.subscriber.js.map +1 -0
- package/dist/access/subscribers/role.group.subscriber.d.ts +12 -0
- package/dist/access/subscribers/role.group.subscriber.js +39 -0
- package/dist/access/subscribers/role.group.subscriber.js.map +1 -0
- package/dist/access/subscribers/ui.action.role.subscriber.d.ts +12 -0
- package/dist/access/subscribers/ui.action.role.subscriber.js +39 -0
- package/dist/access/subscribers/ui.action.role.subscriber.js.map +1 -0
- package/dist/access/subscribers/ui.action.subscriber.d.ts +12 -0
- package/dist/access/subscribers/ui.action.subscriber.js +39 -0
- package/dist/access/subscribers/ui.action.subscriber.js.map +1 -0
- package/dist/access/subscribers/user.role.subscriber.d.ts +12 -0
- package/dist/access/subscribers/user.role.subscriber.js +39 -0
- package/dist/access/subscribers/user.role.subscriber.js.map +1 -0
- package/dist/app.controller.d.ts +17 -0
- package/dist/app.controller.js +94 -0
- package/dist/app.controller.js.map +1 -0
- package/dist/app.module.d.ts +4 -0
- package/dist/app.module.js +46 -0
- package/dist/app.module.js.map +1 -0
- package/dist/app.service.d.ts +8 -0
- package/dist/app.service.js +38 -0
- package/dist/app.service.js.map +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +21 -0
- package/dist/cli.js.map +1 -0
- package/dist/common/adapters/index.d.ts +1 -0
- package/dist/common/adapters/index.js +18 -0
- package/dist/common/adapters/index.js.map +1 -0
- package/dist/common/adapters/redis.io.adapter.d.ts +5 -0
- package/dist/common/adapters/redis.io.adapter.js +23 -0
- package/dist/common/adapters/redis.io.adapter.js.map +1 -0
- package/dist/common/common.module.d.ts +2 -0
- package/dist/common/common.module.js +23 -0
- package/dist/common/common.module.js.map +1 -0
- package/dist/common/es6.classes.d.ts +7 -0
- package/dist/common/es6.classes.js +10 -0
- package/dist/common/es6.classes.js.map +1 -0
- package/dist/common/index.d.ts +3 -0
- package/dist/common/index.js +20 -0
- package/dist/common/index.js.map +1 -0
- package/dist/common/services/index.d.ts +1 -0
- package/dist/common/services/index.js +18 -0
- package/dist/common/services/index.js.map +1 -0
- package/dist/common/services/shutdown.service.d.ts +7 -0
- package/dist/common/services/shutdown.service.js +30 -0
- package/dist/common/services/shutdown.service.js.map +1 -0
- package/dist/config/aws.config.d.ts +7 -0
- package/dist/config/aws.config.js +11 -0
- package/dist/config/aws.config.js.map +1 -0
- package/dist/config/constants.d.ts +9 -0
- package/dist/config/constants.js +12 -0
- package/dist/config/constants.js.map +1 -0
- package/dist/config/cors.config.d.ts +7 -0
- package/dist/config/cors.config.js +9 -0
- package/dist/config/cors.config.js.map +1 -0
- package/dist/config/entity.constants.d.ts +41 -0
- package/dist/config/entity.constants.js +43 -0
- package/dist/config/entity.constants.js.map +1 -0
- package/dist/config/orm.config.d.ts +2 -0
- package/dist/config/orm.config.js +36 -0
- package/dist/config/orm.config.js.map +1 -0
- package/dist/config/queue.config.d.ts +2 -0
- package/dist/config/queue.config.js +18 -0
- package/dist/config/queue.config.js.map +1 -0
- package/dist/config/rate.limiter.config.d.ts +5 -0
- package/dist/config/rate.limiter.config.js +9 -0
- package/dist/config/rate.limiter.config.js.map +1 -0
- package/dist/config/source.hash.d.ts +2 -0
- package/dist/config/source.hash.js +4 -0
- package/dist/config/source.hash.js.map +1 -0
- package/dist/config/typeorm.config.d.ts +3 -0
- package/dist/config/typeorm.config.js +34 -0
- package/dist/config/typeorm.config.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +36 -0
- package/dist/main.js.map +1 -0
- package/dist/migrations/1682920799049-CreateUiActionTable.d.ts +5 -0
- package/dist/migrations/1682920799049-CreateUiActionTable.js +24 -0
- package/dist/migrations/1682920799049-CreateUiActionTable.js.map +1 -0
- package/dist/migrations/1682920884084-CreateProductTable.d.ts +5 -0
- package/dist/migrations/1682920884084-CreateProductTable.js +18 -0
- package/dist/migrations/1682920884084-CreateProductTable.js.map +1 -0
- package/dist/migrations/1682920884085-CreateBusinessUserTable.d.ts +5 -0
- package/dist/migrations/1682920884085-CreateBusinessUserTable.js +21 -0
- package/dist/migrations/1682920884085-CreateBusinessUserTable.js.map +1 -0
- package/dist/migrations/1682921088960-CreateModuleTable.d.ts +5 -0
- package/dist/migrations/1682921088960-CreateModuleTable.js +29 -0
- package/dist/migrations/1682921088960-CreateModuleTable.js.map +1 -0
- package/dist/migrations/1682921602179-CreateMenuTable.d.ts +5 -0
- package/dist/migrations/1682921602179-CreateMenuTable.js +26 -0
- package/dist/migrations/1682921602179-CreateMenuTable.js.map +1 -0
- package/dist/migrations/1682921759923-CreateModuleMenuTable.d.ts +5 -0
- package/dist/migrations/1682921759923-CreateModuleMenuTable.js +20 -0
- package/dist/migrations/1682921759923-CreateModuleMenuTable.js.map +1 -0
- package/dist/migrations/1682921937026-CreateMenuActionTable.d.ts +5 -0
- package/dist/migrations/1682921937026-CreateMenuActionTable.js +20 -0
- package/dist/migrations/1682921937026-CreateMenuActionTable.js.map +1 -0
- package/dist/migrations/1682922132112-CreateUiActionRoleTable.d.ts +5 -0
- package/dist/migrations/1682922132112-CreateUiActionRoleTable.js +19 -0
- package/dist/migrations/1682922132112-CreateUiActionRoleTable.js.map +1 -0
- package/dist/migrations/1682922399933-CreateMenuRoleTable.d.ts +5 -0
- package/dist/migrations/1682922399933-CreateMenuRoleTable.js +19 -0
- package/dist/migrations/1682922399933-CreateMenuRoleTable.js.map +1 -0
- package/dist/migrations/1682924094072-CreateChildMenuTable.d.ts +5 -0
- package/dist/migrations/1682924094072-CreateChildMenuTable.js +19 -0
- package/dist/migrations/1682924094072-CreateChildMenuTable.js.map +1 -0
- package/dist/migrations/1683006713983-CreateListPreferenceTable.d.ts +5 -0
- package/dist/migrations/1683006713983-CreateListPreferenceTable.js +24 -0
- package/dist/migrations/1683006713983-CreateListPreferenceTable.js.map +1 -0
- package/dist/migrations/1683181943286-CreateExpenseTcsTable.d.ts +5 -0
- package/dist/migrations/1683181943286-CreateExpenseTcsTable.js +20 -0
- package/dist/migrations/1683181943286-CreateExpenseTcsTable.js.map +1 -0
- package/dist/migrations/1683517649276-AddApplicationRolesDataSeederTable.d.ts +5 -0
- package/dist/migrations/1683517649276-AddApplicationRolesDataSeederTable.js +56 -0
- package/dist/migrations/1683517649276-AddApplicationRolesDataSeederTable.js.map +1 -0
- package/dist/migrations/1683714575296-CreateRoleGroupTable.d.ts +5 -0
- package/dist/migrations/1683714575296-CreateRoleGroupTable.js +20 -0
- package/dist/migrations/1683714575296-CreateRoleGroupTable.js.map +1 -0
- package/dist/migrations/1683714976514-CreateGroupRoleTable.d.ts +5 -0
- package/dist/migrations/1683714976514-CreateGroupRoleTable.js +19 -0
- package/dist/migrations/1683714976514-CreateGroupRoleTable.js.map +1 -0
- package/dist/migrations/1683715271948-CreateBusinessUserRoleTable.d.ts +5 -0
- package/dist/migrations/1683715271948-CreateBusinessUserRoleTable.js +19 -0
- package/dist/migrations/1683715271948-CreateBusinessUserRoleTable.js.map +1 -0
- package/dist/migrations/1683715690120-CreateUserRoleTable.d.ts +5 -0
- package/dist/migrations/1683715690120-CreateUserRoleTable.js +21 -0
- package/dist/migrations/1683715690120-CreateUserRoleTable.js.map +1 -0
- package/dist/migrations/1683972209257-CreateDashboardTable.d.ts +5 -0
- package/dist/migrations/1683972209257-CreateDashboardTable.js +24 -0
- package/dist/migrations/1683972209257-CreateDashboardTable.js.map +1 -0
- package/dist/migrations/1683972787331-CreateCustomReportTable.d.ts +5 -0
- package/dist/migrations/1683972787331-CreateCustomReportTable.js +23 -0
- package/dist/migrations/1683972787331-CreateCustomReportTable.js.map +1 -0
- package/dist/migrations/1683972787341-CreateDashboardComponentTable.d.ts +5 -0
- package/dist/migrations/1683972787341-CreateDashboardComponentTable.js +22 -0
- package/dist/migrations/1683972787341-CreateDashboardComponentTable.js.map +1 -0
- package/dist/newrelic.d.ts +1 -0
- package/dist/newrelic.js +35 -0
- package/dist/newrelic.js.map +1 -0
- package/dist/worker.d.ts +1 -0
- package/dist/worker.js +17 -0
- package/dist/worker.js.map +1 -0
- package/dist/worker.service.d.ts +7 -0
- package/dist/worker.service.js +33 -0
- package/dist/worker.service.js.map +1 -0
- package/package.json +105 -0
|
@@ -0,0 +1,39 @@
|
|
|
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.BusinessUserRoleSubscriber = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const business_user_role_entity_1 = require("../entities/business.user.role.entity");
|
|
16
|
+
const business_user_role_job_1 = require("../jobs/business.user.role.job");
|
|
17
|
+
let BusinessUserRoleSubscriber = class BusinessUserRoleSubscriber extends nestjs_utility_services_1.CommonSubscriber {
|
|
18
|
+
constructor(dataSource, businessUserRoleJob) {
|
|
19
|
+
super();
|
|
20
|
+
this.dataSource = dataSource;
|
|
21
|
+
this.businessUserRoleJob = businessUserRoleJob;
|
|
22
|
+
dataSource.subscribers.push(this);
|
|
23
|
+
}
|
|
24
|
+
listenTo() {
|
|
25
|
+
return business_user_role_entity_1.BusinessUserRoleEntity;
|
|
26
|
+
}
|
|
27
|
+
async afterInsert(event) {
|
|
28
|
+
await this.businessUserRoleJob.delayedDispatch(this.getEventData(event));
|
|
29
|
+
}
|
|
30
|
+
async afterUpdate(event) {
|
|
31
|
+
await this.businessUserRoleJob.delayedDispatch(this.getEventData(event));
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
BusinessUserRoleSubscriber = __decorate([
|
|
35
|
+
(0, typeorm_1.EventSubscriber)(),
|
|
36
|
+
__metadata("design:paramtypes", [typeorm_1.DataSource, business_user_role_job_1.BusinessUserRoleJob])
|
|
37
|
+
], BusinessUserRoleSubscriber);
|
|
38
|
+
exports.BusinessUserRoleSubscriber = BusinessUserRoleSubscriber;
|
|
39
|
+
//# sourceMappingURL=business.user.role.subscriber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.user.role.subscriber.js","sourceRoot":"","sources":["../../../src/access/subscribers/business.user.role.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA0E;AAC1E,qCAAgF;AAChF,qFAA+E;AAC/E,2EAAqE;AAE9D,IAAM,0BAA0B,GAAhC,MAAM,0BAA2B,SAAQ,0CAAwC;IACpF,YAA6B,UAAsB,EAAmB,mBAAwC;QAC1G,KAAK,EAAE,CAAC;QADiB,eAAU,GAAV,UAAU,CAAY;QAAmB,wBAAmB,GAAnB,mBAAmB,CAAqB;QAE1G,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,kDAAsB,CAAC;IAClC,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,KAA0C;QACxD,MAAM,IAAI,CAAC,mBAAmB,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IAC7E,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,KAA0C;QACxD,MAAM,IAAI,CAAC,mBAAmB,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IAC7E,CAAC;CACJ,CAAA;AAfY,0BAA0B;IADtC,IAAA,yBAAe,GAAE;qCAE2B,oBAAU,EAAwC,4CAAmB;GADrG,0BAA0B,CAetC;AAfY,gEAA0B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CommonSubscriber } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { DataSource, InsertEvent, UpdateEvent } from 'typeorm';
|
|
3
|
+
import { BusinessUserEntity } from '../entities/business.user.entity';
|
|
4
|
+
import { BusinessUserJob } from '../jobs/business.user.job';
|
|
5
|
+
export declare class BusinessUserSubscriber extends CommonSubscriber<BusinessUserEntity> {
|
|
6
|
+
private readonly dataSource;
|
|
7
|
+
private readonly businessUserJob;
|
|
8
|
+
constructor(dataSource: DataSource, businessUserJob: BusinessUserJob);
|
|
9
|
+
listenTo(): typeof BusinessUserEntity;
|
|
10
|
+
afterInsert(event: InsertEvent<BusinessUserEntity>): Promise<void>;
|
|
11
|
+
afterUpdate(event: UpdateEvent<BusinessUserEntity>): Promise<void>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.BusinessUserSubscriber = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const business_user_entity_1 = require("../entities/business.user.entity");
|
|
16
|
+
const business_user_job_1 = require("../jobs/business.user.job");
|
|
17
|
+
let BusinessUserSubscriber = class BusinessUserSubscriber extends nestjs_utility_services_1.CommonSubscriber {
|
|
18
|
+
constructor(dataSource, businessUserJob) {
|
|
19
|
+
super();
|
|
20
|
+
this.dataSource = dataSource;
|
|
21
|
+
this.businessUserJob = businessUserJob;
|
|
22
|
+
dataSource.subscribers.push(this);
|
|
23
|
+
}
|
|
24
|
+
listenTo() {
|
|
25
|
+
return business_user_entity_1.BusinessUserEntity;
|
|
26
|
+
}
|
|
27
|
+
async afterInsert(event) {
|
|
28
|
+
await this.businessUserJob.delayedDispatch(this.getEventData(event));
|
|
29
|
+
}
|
|
30
|
+
async afterUpdate(event) {
|
|
31
|
+
await this.businessUserJob.delayedDispatch(this.getEventData(event));
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
BusinessUserSubscriber = __decorate([
|
|
35
|
+
(0, typeorm_1.EventSubscriber)(),
|
|
36
|
+
__metadata("design:paramtypes", [typeorm_1.DataSource, business_user_job_1.BusinessUserJob])
|
|
37
|
+
], BusinessUserSubscriber);
|
|
38
|
+
exports.BusinessUserSubscriber = BusinessUserSubscriber;
|
|
39
|
+
//# sourceMappingURL=business.user.subscriber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.user.subscriber.js","sourceRoot":"","sources":["../../../src/access/subscribers/business.user.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA0E;AAC1E,qCAAgF;AAChF,2EAAsE;AACtE,iEAA4D;AAErD,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,0CAAoC;IAC5E,YAA6B,UAAsB,EAAmB,eAAgC;QAClG,KAAK,EAAE,CAAC;QADiB,eAAU,GAAV,UAAU,CAAY;QAAmB,oBAAe,GAAf,eAAe,CAAiB;QAElG,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,yCAAkB,CAAC;IAC9B,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,KAAsC;QACpD,MAAM,IAAI,CAAC,eAAe,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IACzE,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,KAAsC;QACpD,MAAM,IAAI,CAAC,eAAe,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IACzE,CAAC;CACJ,CAAA;AAfY,sBAAsB;IADlC,IAAA,yBAAe,GAAE;qCAE2B,oBAAU,EAAoC,mCAAe;GAD7F,sBAAsB,CAelC;AAfY,wDAAsB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CommonSubscriber } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { DataSource, InsertEvent, UpdateEvent } from 'typeorm';
|
|
3
|
+
import { ChildMenuEntity } from '../entities/child.menu.entity';
|
|
4
|
+
import { ChildMenuJob } from '../jobs/child.menu.job';
|
|
5
|
+
export declare class ChildMenuSubscriber extends CommonSubscriber<ChildMenuEntity> {
|
|
6
|
+
private readonly dataSource;
|
|
7
|
+
private readonly childMenuJob;
|
|
8
|
+
constructor(dataSource: DataSource, childMenuJob: ChildMenuJob);
|
|
9
|
+
listenTo(): typeof ChildMenuEntity;
|
|
10
|
+
afterInsert(event: InsertEvent<ChildMenuEntity>): Promise<void>;
|
|
11
|
+
afterUpdate(event: UpdateEvent<ChildMenuEntity>): Promise<void>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.ChildMenuSubscriber = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const child_menu_entity_1 = require("../entities/child.menu.entity");
|
|
16
|
+
const child_menu_job_1 = require("../jobs/child.menu.job");
|
|
17
|
+
let ChildMenuSubscriber = class ChildMenuSubscriber extends nestjs_utility_services_1.CommonSubscriber {
|
|
18
|
+
constructor(dataSource, childMenuJob) {
|
|
19
|
+
super();
|
|
20
|
+
this.dataSource = dataSource;
|
|
21
|
+
this.childMenuJob = childMenuJob;
|
|
22
|
+
dataSource.subscribers.push(this);
|
|
23
|
+
}
|
|
24
|
+
listenTo() {
|
|
25
|
+
return child_menu_entity_1.ChildMenuEntity;
|
|
26
|
+
}
|
|
27
|
+
async afterInsert(event) {
|
|
28
|
+
await this.childMenuJob.delayedDispatch(this.getEventData(event));
|
|
29
|
+
}
|
|
30
|
+
async afterUpdate(event) {
|
|
31
|
+
await this.childMenuJob.delayedDispatch(this.getEventData(event));
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
ChildMenuSubscriber = __decorate([
|
|
35
|
+
(0, typeorm_1.EventSubscriber)(),
|
|
36
|
+
__metadata("design:paramtypes", [typeorm_1.DataSource, child_menu_job_1.ChildMenuJob])
|
|
37
|
+
], ChildMenuSubscriber);
|
|
38
|
+
exports.ChildMenuSubscriber = ChildMenuSubscriber;
|
|
39
|
+
//# sourceMappingURL=child.menu.subscriber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"child.menu.subscriber.js","sourceRoot":"","sources":["../../../src/access/subscribers/child.menu.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA0E;AAC1E,qCAAgF;AAChF,qEAAgE;AAChE,2DAAsD;AAE/C,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,0CAAiC;IACtE,YAA6B,UAAsB,EAAmB,YAA0B;QAC5F,KAAK,EAAE,CAAC;QADiB,eAAU,GAAV,UAAU,CAAY;QAAmB,iBAAY,GAAZ,YAAY,CAAc;QAE5F,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,mCAAe,CAAC;IAC3B,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,KAAmC;QACjD,MAAM,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IACtE,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,KAAmC;QACjD,MAAM,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IACtE,CAAC;CACJ,CAAA;AAfY,mBAAmB;IAD/B,IAAA,yBAAe,GAAE;qCAE2B,oBAAU,EAAiC,6BAAY;GADvF,mBAAmB,CAe/B;AAfY,kDAAmB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CommonSubscriber } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { DataSource, InsertEvent, UpdateEvent } from 'typeorm';
|
|
3
|
+
import { CustomReportEntity } from '../entities/custom.report.entity';
|
|
4
|
+
import { CustomReportJob } from '../jobs/custom.report.job';
|
|
5
|
+
export declare class CustomReportSubscriber extends CommonSubscriber<CustomReportEntity> {
|
|
6
|
+
private readonly dataSource;
|
|
7
|
+
private readonly customReportJob;
|
|
8
|
+
constructor(dataSource: DataSource, customReportJob: CustomReportJob);
|
|
9
|
+
listenTo(): typeof CustomReportEntity;
|
|
10
|
+
afterInsert(event: InsertEvent<CustomReportEntity>): Promise<void>;
|
|
11
|
+
afterUpdate(event: UpdateEvent<CustomReportEntity>): Promise<void>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.CustomReportSubscriber = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const custom_report_entity_1 = require("../entities/custom.report.entity");
|
|
16
|
+
const custom_report_job_1 = require("../jobs/custom.report.job");
|
|
17
|
+
let CustomReportSubscriber = class CustomReportSubscriber extends nestjs_utility_services_1.CommonSubscriber {
|
|
18
|
+
constructor(dataSource, customReportJob) {
|
|
19
|
+
super();
|
|
20
|
+
this.dataSource = dataSource;
|
|
21
|
+
this.customReportJob = customReportJob;
|
|
22
|
+
dataSource.subscribers.push(this);
|
|
23
|
+
}
|
|
24
|
+
listenTo() {
|
|
25
|
+
return custom_report_entity_1.CustomReportEntity;
|
|
26
|
+
}
|
|
27
|
+
async afterInsert(event) {
|
|
28
|
+
await this.customReportJob.delayedDispatch(this.getEventData(event));
|
|
29
|
+
}
|
|
30
|
+
async afterUpdate(event) {
|
|
31
|
+
await this.customReportJob.delayedDispatch(this.getEventData(event));
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
CustomReportSubscriber = __decorate([
|
|
35
|
+
(0, typeorm_1.EventSubscriber)(),
|
|
36
|
+
__metadata("design:paramtypes", [typeorm_1.DataSource, custom_report_job_1.CustomReportJob])
|
|
37
|
+
], CustomReportSubscriber);
|
|
38
|
+
exports.CustomReportSubscriber = CustomReportSubscriber;
|
|
39
|
+
//# sourceMappingURL=custom.report.subscriber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom.report.subscriber.js","sourceRoot":"","sources":["../../../src/access/subscribers/custom.report.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA0E;AAC1E,qCAAgF;AAChF,2EAAsE;AACtE,iEAA4D;AAErD,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,0CAAoC;IAC5E,YAA6B,UAAsB,EAAmB,eAAgC;QAClG,KAAK,EAAE,CAAC;QADiB,eAAU,GAAV,UAAU,CAAY;QAAmB,oBAAe,GAAf,eAAe,CAAiB;QAElG,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,yCAAkB,CAAC;IAC9B,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,KAAsC;QACpD,MAAM,IAAI,CAAC,eAAe,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IACzE,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,KAAsC;QACpD,MAAM,IAAI,CAAC,eAAe,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IACzE,CAAC;CACJ,CAAA;AAfY,sBAAsB;IADlC,IAAA,yBAAe,GAAE;qCAE2B,oBAAU,EAAoC,mCAAe;GAD7F,sBAAsB,CAelC;AAfY,wDAAsB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CommonSubscriber } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { DataSource, InsertEvent, UpdateEvent } from 'typeorm';
|
|
3
|
+
import { DashboardComponentEntity } from '../entities/dashboard.component.entity';
|
|
4
|
+
import { DashboardComponentJob } from '../jobs/dashboard.component.job';
|
|
5
|
+
export declare class DashboardComponentSubscriber extends CommonSubscriber<DashboardComponentEntity> {
|
|
6
|
+
private readonly dataSource;
|
|
7
|
+
private readonly dashboardComponentJob;
|
|
8
|
+
constructor(dataSource: DataSource, dashboardComponentJob: DashboardComponentJob);
|
|
9
|
+
listenTo(): typeof DashboardComponentEntity;
|
|
10
|
+
afterInsert(event: InsertEvent<DashboardComponentEntity>): Promise<void>;
|
|
11
|
+
afterUpdate(event: UpdateEvent<DashboardComponentEntity>): Promise<void>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.DashboardComponentSubscriber = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const dashboard_component_entity_1 = require("../entities/dashboard.component.entity");
|
|
16
|
+
const dashboard_component_job_1 = require("../jobs/dashboard.component.job");
|
|
17
|
+
let DashboardComponentSubscriber = class DashboardComponentSubscriber extends nestjs_utility_services_1.CommonSubscriber {
|
|
18
|
+
constructor(dataSource, dashboardComponentJob) {
|
|
19
|
+
super();
|
|
20
|
+
this.dataSource = dataSource;
|
|
21
|
+
this.dashboardComponentJob = dashboardComponentJob;
|
|
22
|
+
dataSource.subscribers.push(this);
|
|
23
|
+
}
|
|
24
|
+
listenTo() {
|
|
25
|
+
return dashboard_component_entity_1.DashboardComponentEntity;
|
|
26
|
+
}
|
|
27
|
+
async afterInsert(event) {
|
|
28
|
+
await this.dashboardComponentJob.delayedDispatch(this.getEventData(event));
|
|
29
|
+
}
|
|
30
|
+
async afterUpdate(event) {
|
|
31
|
+
await this.dashboardComponentJob.delayedDispatch(this.getEventData(event));
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
DashboardComponentSubscriber = __decorate([
|
|
35
|
+
(0, typeorm_1.EventSubscriber)(),
|
|
36
|
+
__metadata("design:paramtypes", [typeorm_1.DataSource, dashboard_component_job_1.DashboardComponentJob])
|
|
37
|
+
], DashboardComponentSubscriber);
|
|
38
|
+
exports.DashboardComponentSubscriber = DashboardComponentSubscriber;
|
|
39
|
+
//# sourceMappingURL=dashboard.component.subscriber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboard.component.subscriber.js","sourceRoot":"","sources":["../../../src/access/subscribers/dashboard.component.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA0E;AAC1E,qCAAgF;AAChF,uFAAkF;AAClF,6EAAwE;AAEjE,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,0CAA0C;IACxF,YAA6B,UAAsB,EAAmB,qBAA4C;QAC9G,KAAK,EAAE,CAAC;QADiB,eAAU,GAAV,UAAU,CAAY;QAAmB,0BAAqB,GAArB,qBAAqB,CAAuB;QAE9G,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,qDAAwB,CAAC;IACpC,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,KAA4C;QAC1D,MAAM,IAAI,CAAC,qBAAqB,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IAC/E,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,KAA4C;QAC1D,MAAM,IAAI,CAAC,qBAAqB,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IAC/E,CAAC;CACJ,CAAA;AAfY,4BAA4B;IADxC,IAAA,yBAAe,GAAE;qCAE2B,oBAAU,EAA0C,+CAAqB;GADzG,4BAA4B,CAexC;AAfY,oEAA4B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CommonSubscriber } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { DataSource, InsertEvent, UpdateEvent } from 'typeorm';
|
|
3
|
+
import { DashboardEntity } from '../entities/dashboard.entity';
|
|
4
|
+
import { DashboardJob } from '../jobs/dashboard.job';
|
|
5
|
+
export declare class DashboardSubscriber extends CommonSubscriber<DashboardEntity> {
|
|
6
|
+
private readonly dataSource;
|
|
7
|
+
private readonly dashboardJob;
|
|
8
|
+
constructor(dataSource: DataSource, dashboardJob: DashboardJob);
|
|
9
|
+
listenTo(): typeof DashboardEntity;
|
|
10
|
+
afterInsert(event: InsertEvent<DashboardEntity>): Promise<void>;
|
|
11
|
+
afterUpdate(event: UpdateEvent<DashboardEntity>): Promise<void>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.DashboardSubscriber = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const dashboard_entity_1 = require("../entities/dashboard.entity");
|
|
16
|
+
const dashboard_job_1 = require("../jobs/dashboard.job");
|
|
17
|
+
let DashboardSubscriber = class DashboardSubscriber extends nestjs_utility_services_1.CommonSubscriber {
|
|
18
|
+
constructor(dataSource, dashboardJob) {
|
|
19
|
+
super();
|
|
20
|
+
this.dataSource = dataSource;
|
|
21
|
+
this.dashboardJob = dashboardJob;
|
|
22
|
+
dataSource.subscribers.push(this);
|
|
23
|
+
}
|
|
24
|
+
listenTo() {
|
|
25
|
+
return dashboard_entity_1.DashboardEntity;
|
|
26
|
+
}
|
|
27
|
+
async afterInsert(event) {
|
|
28
|
+
await this.dashboardJob.delayedDispatch(this.getEventData(event));
|
|
29
|
+
}
|
|
30
|
+
async afterUpdate(event) {
|
|
31
|
+
await this.dashboardJob.delayedDispatch(this.getEventData(event));
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
DashboardSubscriber = __decorate([
|
|
35
|
+
(0, typeorm_1.EventSubscriber)(),
|
|
36
|
+
__metadata("design:paramtypes", [typeorm_1.DataSource, dashboard_job_1.DashboardJob])
|
|
37
|
+
], DashboardSubscriber);
|
|
38
|
+
exports.DashboardSubscriber = DashboardSubscriber;
|
|
39
|
+
//# sourceMappingURL=dashboard.subscriber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboard.subscriber.js","sourceRoot":"","sources":["../../../src/access/subscribers/dashboard.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA0E;AAC1E,qCAAgF;AAChF,mEAA+D;AAC/D,yDAAqD;AAE9C,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,0CAAiC;IACtE,YAA6B,UAAsB,EAAmB,YAA0B;QAC5F,KAAK,EAAE,CAAC;QADiB,eAAU,GAAV,UAAU,CAAY;QAAmB,iBAAY,GAAZ,YAAY,CAAc;QAE5F,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,kCAAe,CAAC;IAC3B,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,KAAmC;QACjD,MAAM,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IACtE,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,KAAmC;QACjD,MAAM,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IACtE,CAAC;CACJ,CAAA;AAfY,mBAAmB;IAD/B,IAAA,yBAAe,GAAE;qCAE2B,oBAAU,EAAiC,4BAAY;GADvF,mBAAmB,CAe/B;AAfY,kDAAmB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CommonSubscriber } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { DataSource, InsertEvent, UpdateEvent } from 'typeorm';
|
|
3
|
+
import { GroupRoleEntity } from '../entities/group.role.entity';
|
|
4
|
+
import { GroupRoleJob } from '../jobs/group.role.job';
|
|
5
|
+
export declare class GroupRoleSubscriber extends CommonSubscriber<GroupRoleEntity> {
|
|
6
|
+
private readonly dataSource;
|
|
7
|
+
private readonly groupRoleJob;
|
|
8
|
+
constructor(dataSource: DataSource, groupRoleJob: GroupRoleJob);
|
|
9
|
+
listenTo(): typeof GroupRoleEntity;
|
|
10
|
+
afterInsert(event: InsertEvent<GroupRoleEntity>): Promise<void>;
|
|
11
|
+
afterUpdate(event: UpdateEvent<GroupRoleEntity>): Promise<void>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.GroupRoleSubscriber = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const group_role_entity_1 = require("../entities/group.role.entity");
|
|
16
|
+
const group_role_job_1 = require("../jobs/group.role.job");
|
|
17
|
+
let GroupRoleSubscriber = class GroupRoleSubscriber extends nestjs_utility_services_1.CommonSubscriber {
|
|
18
|
+
constructor(dataSource, groupRoleJob) {
|
|
19
|
+
super();
|
|
20
|
+
this.dataSource = dataSource;
|
|
21
|
+
this.groupRoleJob = groupRoleJob;
|
|
22
|
+
dataSource.subscribers.push(this);
|
|
23
|
+
}
|
|
24
|
+
listenTo() {
|
|
25
|
+
return group_role_entity_1.GroupRoleEntity;
|
|
26
|
+
}
|
|
27
|
+
async afterInsert(event) {
|
|
28
|
+
await this.groupRoleJob.delayedDispatch(this.getEventData(event));
|
|
29
|
+
}
|
|
30
|
+
async afterUpdate(event) {
|
|
31
|
+
await this.groupRoleJob.delayedDispatch(this.getEventData(event));
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
GroupRoleSubscriber = __decorate([
|
|
35
|
+
(0, typeorm_1.EventSubscriber)(),
|
|
36
|
+
__metadata("design:paramtypes", [typeorm_1.DataSource, group_role_job_1.GroupRoleJob])
|
|
37
|
+
], GroupRoleSubscriber);
|
|
38
|
+
exports.GroupRoleSubscriber = GroupRoleSubscriber;
|
|
39
|
+
//# sourceMappingURL=group.role.subscriber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"group.role.subscriber.js","sourceRoot":"","sources":["../../../src/access/subscribers/group.role.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA0E;AAC1E,qCAAgF;AAChF,qEAAgE;AAChE,2DAAsD;AAE/C,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,0CAAiC;IACtE,YAA6B,UAAsB,EAAmB,YAA0B;QAC5F,KAAK,EAAE,CAAC;QADiB,eAAU,GAAV,UAAU,CAAY;QAAmB,iBAAY,GAAZ,YAAY,CAAc;QAE5F,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,mCAAe,CAAC;IAC3B,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,KAAmC;QACjD,MAAM,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IACtE,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,KAAmC;QACjD,MAAM,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IACtE,CAAC;CACJ,CAAA;AAfY,mBAAmB;IAD/B,IAAA,yBAAe,GAAE;qCAE2B,oBAAU,EAAiC,6BAAY;GADvF,mBAAmB,CAe/B;AAfY,kDAAmB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export * from './business.user.role.subscriber';
|
|
2
|
+
export * from './business.user.subscriber';
|
|
3
|
+
export * from './child.menu.subscriber';
|
|
4
|
+
export * from './custom.report.subscriber';
|
|
5
|
+
export * from './dashboard.component.subscriber';
|
|
6
|
+
export * from './dashboard.subscriber';
|
|
7
|
+
export * from './group.role.subscriber';
|
|
8
|
+
export * from './list.preference.subscriber';
|
|
9
|
+
export * from './menu.action.subscriber';
|
|
10
|
+
export * from './menu.role.subscriber';
|
|
11
|
+
export * from './menu.subscriber';
|
|
12
|
+
export * from './module.menu.subscriber';
|
|
13
|
+
export * from './module.subscriber';
|
|
14
|
+
export * from './product.subscriber';
|
|
15
|
+
export * from './role.group.subscriber';
|
|
16
|
+
export * from './ui.action.role.subscriber';
|
|
17
|
+
export * from './ui.action.subscriber';
|
|
18
|
+
export * from './user.role.subscriber';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./business.user.role.subscriber"), exports);
|
|
18
|
+
__exportStar(require("./business.user.subscriber"), exports);
|
|
19
|
+
__exportStar(require("./child.menu.subscriber"), exports);
|
|
20
|
+
__exportStar(require("./custom.report.subscriber"), exports);
|
|
21
|
+
__exportStar(require("./dashboard.component.subscriber"), exports);
|
|
22
|
+
__exportStar(require("./dashboard.subscriber"), exports);
|
|
23
|
+
__exportStar(require("./group.role.subscriber"), exports);
|
|
24
|
+
__exportStar(require("./list.preference.subscriber"), exports);
|
|
25
|
+
__exportStar(require("./menu.action.subscriber"), exports);
|
|
26
|
+
__exportStar(require("./menu.role.subscriber"), exports);
|
|
27
|
+
__exportStar(require("./menu.subscriber"), exports);
|
|
28
|
+
__exportStar(require("./module.menu.subscriber"), exports);
|
|
29
|
+
__exportStar(require("./module.subscriber"), exports);
|
|
30
|
+
__exportStar(require("./product.subscriber"), exports);
|
|
31
|
+
__exportStar(require("./role.group.subscriber"), exports);
|
|
32
|
+
__exportStar(require("./ui.action.role.subscriber"), exports);
|
|
33
|
+
__exportStar(require("./ui.action.subscriber"), exports);
|
|
34
|
+
__exportStar(require("./user.role.subscriber"), exports);
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/subscribers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAChD,6DAA2C;AAC3C,0DAAwC;AACxC,6DAA2C;AAC3C,mEAAiD;AACjD,yDAAuC;AACvC,0DAAwC;AACxC,+DAA6C;AAC7C,2DAAyC;AACzC,yDAAuC;AACvC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,uDAAqC;AACrC,0DAAwC;AACxC,8DAA4C;AAC5C,yDAAuC;AACvC,yDAAuC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CommonSubscriber } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { DataSource, InsertEvent, UpdateEvent } from 'typeorm';
|
|
3
|
+
import { ListPreferenceEntity } from '../entities/list.preference.entity';
|
|
4
|
+
import { ListPreferenceJob } from '../jobs/list.preference.job';
|
|
5
|
+
export declare class ListPreferenceSubscriber extends CommonSubscriber<ListPreferenceEntity> {
|
|
6
|
+
private readonly dataSource;
|
|
7
|
+
private readonly listPreferenceJob;
|
|
8
|
+
constructor(dataSource: DataSource, listPreferenceJob: ListPreferenceJob);
|
|
9
|
+
listenTo(): typeof ListPreferenceEntity;
|
|
10
|
+
afterInsert(event: InsertEvent<ListPreferenceEntity>): Promise<void>;
|
|
11
|
+
afterUpdate(event: UpdateEvent<ListPreferenceEntity>): Promise<void>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.ListPreferenceSubscriber = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const list_preference_entity_1 = require("../entities/list.preference.entity");
|
|
16
|
+
const list_preference_job_1 = require("../jobs/list.preference.job");
|
|
17
|
+
let ListPreferenceSubscriber = class ListPreferenceSubscriber extends nestjs_utility_services_1.CommonSubscriber {
|
|
18
|
+
constructor(dataSource, listPreferenceJob) {
|
|
19
|
+
super();
|
|
20
|
+
this.dataSource = dataSource;
|
|
21
|
+
this.listPreferenceJob = listPreferenceJob;
|
|
22
|
+
dataSource.subscribers.push(this);
|
|
23
|
+
}
|
|
24
|
+
listenTo() {
|
|
25
|
+
return list_preference_entity_1.ListPreferenceEntity;
|
|
26
|
+
}
|
|
27
|
+
async afterInsert(event) {
|
|
28
|
+
await this.listPreferenceJob.delayedDispatch(this.getEventData(event));
|
|
29
|
+
}
|
|
30
|
+
async afterUpdate(event) {
|
|
31
|
+
await this.listPreferenceJob.delayedDispatch(this.getEventData(event));
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
ListPreferenceSubscriber = __decorate([
|
|
35
|
+
(0, typeorm_1.EventSubscriber)(),
|
|
36
|
+
__metadata("design:paramtypes", [typeorm_1.DataSource, list_preference_job_1.ListPreferenceJob])
|
|
37
|
+
], ListPreferenceSubscriber);
|
|
38
|
+
exports.ListPreferenceSubscriber = ListPreferenceSubscriber;
|
|
39
|
+
//# sourceMappingURL=list.preference.subscriber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.preference.subscriber.js","sourceRoot":"","sources":["../../../src/access/subscribers/list.preference.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA0E;AAC1E,qCAAgF;AAChF,+EAA0E;AAC1E,qEAAgE;AAEzD,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,0CAAsC;IAChF,YAA6B,UAAsB,EAAmB,iBAAoC;QACtG,KAAK,EAAE,CAAC;QADiB,eAAU,GAAV,UAAU,CAAY;QAAmB,sBAAiB,GAAjB,iBAAiB,CAAmB;QAEtG,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,6CAAoB,CAAC;IAChC,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,KAAwC;QACtD,MAAM,IAAI,CAAC,iBAAiB,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IAC3E,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,KAAwC;QACtD,MAAM,IAAI,CAAC,iBAAiB,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IAC3E,CAAC;CACJ,CAAA;AAfY,wBAAwB;IADpC,IAAA,yBAAe,GAAE;qCAE2B,oBAAU,EAAsC,uCAAiB;GADjG,wBAAwB,CAepC;AAfY,4DAAwB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CommonSubscriber } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { DataSource, InsertEvent, UpdateEvent } from 'typeorm';
|
|
3
|
+
import { MenuActionEntity } from '../entities/menu.action.entity';
|
|
4
|
+
import { MenuActionJob } from '../jobs/menu.action.job';
|
|
5
|
+
export declare class MenuActionSubscriber extends CommonSubscriber<MenuActionEntity> {
|
|
6
|
+
private readonly dataSource;
|
|
7
|
+
private readonly menuActionJob;
|
|
8
|
+
constructor(dataSource: DataSource, menuActionJob: MenuActionJob);
|
|
9
|
+
listenTo(): typeof MenuActionEntity;
|
|
10
|
+
afterInsert(event: InsertEvent<MenuActionEntity>): Promise<void>;
|
|
11
|
+
afterUpdate(event: UpdateEvent<MenuActionEntity>): Promise<void>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.MenuActionSubscriber = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const menu_action_entity_1 = require("../entities/menu.action.entity");
|
|
16
|
+
const menu_action_job_1 = require("../jobs/menu.action.job");
|
|
17
|
+
let MenuActionSubscriber = class MenuActionSubscriber extends nestjs_utility_services_1.CommonSubscriber {
|
|
18
|
+
constructor(dataSource, menuActionJob) {
|
|
19
|
+
super();
|
|
20
|
+
this.dataSource = dataSource;
|
|
21
|
+
this.menuActionJob = menuActionJob;
|
|
22
|
+
dataSource.subscribers.push(this);
|
|
23
|
+
}
|
|
24
|
+
listenTo() {
|
|
25
|
+
return menu_action_entity_1.MenuActionEntity;
|
|
26
|
+
}
|
|
27
|
+
async afterInsert(event) {
|
|
28
|
+
await this.menuActionJob.delayedDispatch(this.getEventData(event));
|
|
29
|
+
}
|
|
30
|
+
async afterUpdate(event) {
|
|
31
|
+
await this.menuActionJob.delayedDispatch(this.getEventData(event));
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
MenuActionSubscriber = __decorate([
|
|
35
|
+
(0, typeorm_1.EventSubscriber)(),
|
|
36
|
+
__metadata("design:paramtypes", [typeorm_1.DataSource, menu_action_job_1.MenuActionJob])
|
|
37
|
+
], MenuActionSubscriber);
|
|
38
|
+
exports.MenuActionSubscriber = MenuActionSubscriber;
|
|
39
|
+
//# sourceMappingURL=menu.action.subscriber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu.action.subscriber.js","sourceRoot":"","sources":["../../../src/access/subscribers/menu.action.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA0E;AAC1E,qCAAgF;AAChF,uEAAkE;AAClE,6DAAwD;AAEjD,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,0CAAkC;IACxE,YAA6B,UAAsB,EAAmB,aAA4B;QAC9F,KAAK,EAAE,CAAC;QADiB,eAAU,GAAV,UAAU,CAAY;QAAmB,kBAAa,GAAb,aAAa,CAAe;QAE9F,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,qCAAgB,CAAC;IAC5B,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,KAAoC;QAClD,MAAM,IAAI,CAAC,aAAa,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IACvE,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,KAAoC;QAClD,MAAM,IAAI,CAAC,aAAa,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IACvE,CAAC;CACJ,CAAA;AAfY,oBAAoB;IADhC,IAAA,yBAAe,GAAE;qCAE2B,oBAAU,EAAkC,+BAAa;GADzF,oBAAoB,CAehC;AAfY,oDAAoB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CommonSubscriber } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { DataSource, InsertEvent, UpdateEvent } from 'typeorm';
|
|
3
|
+
import { MenuRoleEntity } from '../entities/menu.role.entity';
|
|
4
|
+
import { MenuRoleJob } from '../jobs/menu.role.job';
|
|
5
|
+
export declare class MenuRoleSubscriber extends CommonSubscriber<MenuRoleEntity> {
|
|
6
|
+
private readonly dataSource;
|
|
7
|
+
private readonly menuRoleJob;
|
|
8
|
+
constructor(dataSource: DataSource, menuRoleJob: MenuRoleJob);
|
|
9
|
+
listenTo(): typeof MenuRoleEntity;
|
|
10
|
+
afterInsert(event: InsertEvent<MenuRoleEntity>): Promise<void>;
|
|
11
|
+
afterUpdate(event: UpdateEvent<MenuRoleEntity>): Promise<void>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.MenuRoleSubscriber = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const menu_role_entity_1 = require("../entities/menu.role.entity");
|
|
16
|
+
const menu_role_job_1 = require("../jobs/menu.role.job");
|
|
17
|
+
let MenuRoleSubscriber = class MenuRoleSubscriber extends nestjs_utility_services_1.CommonSubscriber {
|
|
18
|
+
constructor(dataSource, menuRoleJob) {
|
|
19
|
+
super();
|
|
20
|
+
this.dataSource = dataSource;
|
|
21
|
+
this.menuRoleJob = menuRoleJob;
|
|
22
|
+
dataSource.subscribers.push(this);
|
|
23
|
+
}
|
|
24
|
+
listenTo() {
|
|
25
|
+
return menu_role_entity_1.MenuRoleEntity;
|
|
26
|
+
}
|
|
27
|
+
async afterInsert(event) {
|
|
28
|
+
await this.menuRoleJob.delayedDispatch(this.getEventData(event));
|
|
29
|
+
}
|
|
30
|
+
async afterUpdate(event) {
|
|
31
|
+
await this.menuRoleJob.delayedDispatch(this.getEventData(event));
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
MenuRoleSubscriber = __decorate([
|
|
35
|
+
(0, typeorm_1.EventSubscriber)(),
|
|
36
|
+
__metadata("design:paramtypes", [typeorm_1.DataSource, menu_role_job_1.MenuRoleJob])
|
|
37
|
+
], MenuRoleSubscriber);
|
|
38
|
+
exports.MenuRoleSubscriber = MenuRoleSubscriber;
|
|
39
|
+
//# sourceMappingURL=menu.role.subscriber.js.map
|