@servicelabsco/nestjs-utility-services 1.2.1 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.controller.d.ts +18 -0
- package/dist/app.controller.js +97 -0
- package/dist/app.controller.js.map +1 -0
- package/dist/app.module.d.ts +4 -0
- package/dist/app.module.js +66 -0
- package/dist/app.module.js.map +1 -0
- package/dist/app.service.d.ts +13 -0
- package/dist/app.service.js +50 -0
- package/dist/app.service.js.map +1 -0
- package/dist/auth/auth.module.d.ts +2 -0
- package/dist/auth/auth.module.js +26 -0
- package/dist/auth/auth.module.js.map +1 -0
- package/dist/auth/controllers/admin.auth.controller.d.ts +19 -0
- package/dist/auth/controllers/admin.auth.controller.js +150 -0
- package/dist/auth/controllers/admin.auth.controller.js.map +1 -0
- package/dist/auth/controllers/index.d.ts +3 -0
- package/dist/auth/controllers/index.js +20 -0
- package/dist/auth/controllers/index.js.map +1 -0
- package/dist/auth/controllers/social.controller.d.ts +10 -0
- package/dist/auth/controllers/social.controller.js +55 -0
- package/dist/auth/controllers/social.controller.js.map +1 -0
- package/dist/auth/controllers/user.controller.d.ts +11 -0
- package/dist/auth/controllers/user.controller.js +46 -0
- package/dist/auth/controllers/user.controller.js.map +1 -0
- package/dist/auth/dtos/create.user.dto.d.ts +5 -0
- package/dist/auth/dtos/create.user.dto.js +29 -0
- package/dist/auth/dtos/create.user.dto.js.map +1 -0
- package/dist/auth/dtos/index.d.ts +8 -0
- package/dist/auth/dtos/index.js +25 -0
- package/dist/auth/dtos/index.js.map +1 -0
- package/dist/auth/dtos/offline.user.dto.d.ts +5 -0
- package/dist/auth/dtos/offline.user.dto.js +29 -0
- package/dist/auth/dtos/offline.user.dto.js.map +1 -0
- package/dist/auth/dtos/permission.assignment.dto.d.ts +3 -0
- package/dist/auth/dtos/permission.assignment.dto.js +21 -0
- package/dist/auth/dtos/permission.assignment.dto.js.map +1 -0
- package/dist/auth/dtos/role.assignment.dto.d.ts +3 -0
- package/dist/auth/dtos/role.assignment.dto.js +21 -0
- package/dist/auth/dtos/role.assignment.dto.js.map +1 -0
- package/dist/auth/dtos/update.user.dto.d.ts +4 -0
- package/dist/auth/dtos/update.user.dto.js +26 -0
- package/dist/auth/dtos/update.user.dto.js.map +1 -0
- package/dist/auth/dtos/user.access.dto.d.ts +13 -0
- package/dist/auth/dtos/user.access.dto.js +8 -0
- package/dist/auth/dtos/user.access.dto.js.map +1 -0
- package/dist/auth/dtos/user.login.dto.d.ts +4 -0
- package/dist/auth/dtos/user.login.dto.js +25 -0
- package/dist/auth/dtos/user.login.dto.js.map +1 -0
- package/dist/auth/dtos/user.roles.access.object.dto.d.ts +6 -0
- package/dist/auth/dtos/user.roles.access.object.dto.js +7 -0
- package/dist/auth/dtos/user.roles.access.object.dto.js.map +1 -0
- package/dist/auth/entities/country.entity.d.ts +10 -0
- package/dist/auth/entities/country.entity.js +56 -0
- package/dist/auth/entities/country.entity.js.map +1 -0
- package/dist/auth/entities/creator.entity.d.ts +9 -0
- package/dist/auth/entities/creator.entity.js +44 -0
- package/dist/auth/entities/creator.entity.js.map +1 -0
- package/dist/auth/entities/device.token.entity.d.ts +17 -0
- package/dist/auth/entities/device.token.entity.js +79 -0
- package/dist/auth/entities/device.token.entity.js.map +1 -0
- package/dist/auth/entities/index.d.ts +6 -0
- package/dist/auth/entities/index.js +23 -0
- package/dist/auth/entities/index.js.map +1 -0
- package/dist/auth/entities/refresh.token.entity.d.ts +14 -0
- package/dist/auth/entities/refresh.token.entity.js +62 -0
- package/dist/auth/entities/refresh.token.entity.js.map +1 -0
- package/dist/auth/entities/user.entity.d.ts +27 -0
- package/dist/auth/entities/user.entity.js +116 -0
- package/dist/auth/entities/user.entity.js.map +1 -0
- package/dist/auth/entities/user.referral.entity.d.ts +11 -0
- package/dist/auth/entities/user.referral.entity.js +52 -0
- package/dist/auth/entities/user.referral.entity.js.map +1 -0
- package/dist/auth/es6.classes.d.ts +34 -0
- package/dist/auth/es6.classes.js +48 -0
- package/dist/auth/es6.classes.js.map +1 -0
- package/dist/auth/index.d.ts +6 -0
- package/dist/auth/index.js +23 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/auth/middlewares/basic.auth.middleware.d.ts +10 -0
- package/dist/auth/middlewares/basic.auth.middleware.js +43 -0
- package/dist/auth/middlewares/basic.auth.middleware.js.map +1 -0
- package/dist/auth/middlewares/index.d.ts +4 -0
- package/dist/auth/middlewares/index.js +21 -0
- package/dist/auth/middlewares/index.js.map +1 -0
- package/dist/auth/middlewares/internal.middleware.d.ts +10 -0
- package/dist/auth/middlewares/internal.middleware.js +44 -0
- package/dist/auth/middlewares/internal.middleware.js.map +1 -0
- package/dist/auth/middlewares/jwt.middleware.d.ts +9 -0
- package/dist/auth/middlewares/jwt.middleware.js +54 -0
- package/dist/auth/middlewares/jwt.middleware.js.map +1 -0
- package/dist/auth/middlewares/restricted.middleware.d.ts +4 -0
- package/dist/auth/middlewares/restricted.middleware.js +25 -0
- package/dist/auth/middlewares/restricted.middleware.js.map +1 -0
- package/dist/auth/services/access.manager.d.ts +15 -0
- package/dist/auth/services/access.manager.js +127 -0
- package/dist/auth/services/access.manager.js.map +1 -0
- package/dist/auth/services/auth.service.d.ts +18 -0
- package/dist/auth/services/auth.service.js +78 -0
- package/dist/auth/services/auth.service.js.map +1 -0
- package/dist/auth/services/device.token.service.d.ts +6 -0
- package/dist/auth/services/device.token.service.js +62 -0
- package/dist/auth/services/device.token.service.js.map +1 -0
- package/dist/auth/services/es6.service.d.ts +20 -0
- package/dist/auth/services/es6.service.js +63 -0
- package/dist/auth/services/es6.service.js.map +1 -0
- package/dist/auth/services/index.d.ts +6 -0
- package/dist/auth/services/index.js +23 -0
- package/dist/auth/services/index.js.map +1 -0
- package/dist/auth/services/refresh.token.service.d.ts +9 -0
- package/dist/auth/services/refresh.token.service.js +47 -0
- package/dist/auth/services/refresh.token.service.js.map +1 -0
- package/dist/auth/services/social.service.d.ts +7 -0
- package/dist/auth/services/social.service.js +48 -0
- package/dist/auth/services/social.service.js.map +1 -0
- package/dist/auth/services/user.service.d.ts +15 -0
- package/dist/auth/services/user.service.js +84 -0
- package/dist/auth/services/user.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 +8 -0
- package/dist/common/adapters/redis.io.adapter.js +24 -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 +17 -0
- package/dist/common/common.module.js.map +1 -0
- package/dist/common/dtos/aggregation.param.dto.d.ts +5 -0
- package/dist/common/dtos/aggregation.param.dto.js +29 -0
- package/dist/common/dtos/aggregation.param.dto.js.map +1 -0
- package/dist/common/dtos/capture.record.index.dto.d.ts +16 -0
- package/dist/common/dtos/capture.record.index.dto.js +55 -0
- package/dist/common/dtos/capture.record.index.dto.js.map +1 -0
- package/dist/common/dtos/capture.record.show.dto.d.ts +10 -0
- package/dist/common/dtos/capture.record.show.dto.js +41 -0
- package/dist/common/dtos/capture.record.show.dto.js.map +1 -0
- package/dist/common/dtos/database.event.dto.d.ts +9 -0
- package/dist/common/dtos/database.event.dto.js +7 -0
- package/dist/common/dtos/database.event.dto.js.map +1 -0
- package/dist/common/dtos/foreign.migration.dto.d.ts +6 -0
- package/dist/common/dtos/foreign.migration.dto.js +7 -0
- package/dist/common/dtos/foreign.migration.dto.js.map +1 -0
- package/dist/common/dtos/generic.index.param.dto.d.ts +22 -0
- package/dist/common/dtos/generic.index.param.dto.js +58 -0
- package/dist/common/dtos/generic.index.param.dto.js.map +1 -0
- package/dist/common/dtos/generic.show.param.dto.d.ts +7 -0
- package/dist/common/dtos/generic.show.param.dto.js +7 -0
- package/dist/common/dtos/generic.show.param.dto.js.map +1 -0
- package/dist/common/dtos/group.param.dto.d.ts +5 -0
- package/dist/common/dtos/group.param.dto.js +25 -0
- package/dist/common/dtos/group.param.dto.js.map +1 -0
- package/dist/common/dtos/index.column.dto.d.ts +4 -0
- package/dist/common/dtos/index.column.dto.js +7 -0
- package/dist/common/dtos/index.column.dto.js.map +1 -0
- package/dist/common/dtos/index.d.ts +18 -0
- package/dist/common/dtos/index.js +35 -0
- package/dist/common/dtos/index.js.map +1 -0
- package/dist/common/dtos/index.params.dto.d.ts +18 -0
- package/dist/common/dtos/index.params.dto.js +83 -0
- package/dist/common/dtos/index.params.dto.js.map +1 -0
- package/dist/common/dtos/key.value.param.dto.d.ts +4 -0
- package/dist/common/dtos/key.value.param.dto.js +25 -0
- package/dist/common/dtos/key.value.param.dto.js.map +1 -0
- package/dist/common/dtos/layout.column.db.dto.d.ts +4 -0
- package/dist/common/dtos/layout.column.db.dto.js +7 -0
- package/dist/common/dtos/layout.column.db.dto.js.map +1 -0
- package/dist/common/dtos/meta.data.dto.d.ts +4 -0
- package/dist/common/dtos/meta.data.dto.js +7 -0
- package/dist/common/dtos/meta.data.dto.js.map +1 -0
- package/dist/common/dtos/record.data.manager.dto.d.ts +33 -0
- package/dist/common/dtos/record.data.manager.dto.js +7 -0
- package/dist/common/dtos/record.data.manager.dto.js.map +1 -0
- package/dist/common/dtos/record.tab.dto.d.ts +19 -0
- package/dist/common/dtos/record.tab.dto.js +7 -0
- package/dist/common/dtos/record.tab.dto.js.map +1 -0
- package/dist/common/dtos/rename.column.dto.d.ts +4 -0
- package/dist/common/dtos/rename.column.dto.js +7 -0
- package/dist/common/dtos/rename.column.dto.js.map +1 -0
- package/dist/common/dtos/report.body.dto.d.ts +20 -0
- package/dist/common/dtos/report.body.dto.js +57 -0
- package/dist/common/dtos/report.body.dto.js.map +1 -0
- package/dist/common/dtos/report.data.manager.dto.d.ts +34 -0
- package/dist/common/dtos/report.data.manager.dto.js +7 -0
- package/dist/common/dtos/report.data.manager.dto.js.map +1 -0
- package/dist/common/es6.classes.d.ts +38 -0
- package/dist/common/es6.classes.js +107 -0
- package/dist/common/es6.classes.js.map +1 -0
- package/dist/common/exceptions/access.exception.d.ts +4 -0
- package/dist/common/exceptions/access.exception.js +11 -0
- package/dist/common/exceptions/access.exception.js.map +1 -0
- package/dist/common/exceptions/form.exception.d.ts +7 -0
- package/dist/common/exceptions/form.exception.js +13 -0
- package/dist/common/exceptions/form.exception.js.map +1 -0
- package/dist/common/exceptions/index.d.ts +6 -0
- package/dist/common/exceptions/index.js +23 -0
- package/dist/common/exceptions/index.js.map +1 -0
- package/dist/common/exceptions/maintenance.exception.d.ts +4 -0
- package/dist/common/exceptions/maintenance.exception.js +11 -0
- package/dist/common/exceptions/maintenance.exception.js.map +1 -0
- package/dist/common/exceptions/no.logged.user.exception.d.ts +4 -0
- package/dist/common/exceptions/no.logged.user.exception.js +11 -0
- package/dist/common/exceptions/no.logged.user.exception.js.map +1 -0
- package/dist/common/exceptions/operation.exception.d.ts +4 -0
- package/dist/common/exceptions/operation.exception.js +13 -0
- package/dist/common/exceptions/operation.exception.js.map +1 -0
- package/dist/common/exceptions/subscription.exception.d.ts +4 -0
- package/dist/common/exceptions/subscription.exception.js +11 -0
- package/dist/common/exceptions/subscription.exception.js.map +1 -0
- package/dist/common/index.d.ts +5 -0
- package/dist/common/index.js +22 -0
- package/dist/common/index.js.map +1 -0
- package/dist/common/libraries/auth.d.ts +7 -0
- package/dist/common/libraries/auth.js +22 -0
- package/dist/common/libraries/auth.js.map +1 -0
- package/dist/common/libraries/base.job.interface.d.ts +4 -0
- package/dist/common/libraries/base.job.interface.js +3 -0
- package/dist/common/libraries/base.job.interface.js.map +1 -0
- package/dist/common/libraries/base.migration.utility.d.ts +58 -0
- package/dist/common/libraries/base.migration.utility.js +333 -0
- package/dist/common/libraries/base.migration.utility.js.map +1 -0
- package/dist/common/libraries/class.mapper.d.ts +8 -0
- package/dist/common/libraries/class.mapper.js +65 -0
- package/dist/common/libraries/class.mapper.js.map +1 -0
- package/dist/common/libraries/common.consumer.d.ts +2 -0
- package/dist/common/libraries/common.consumer.js +7 -0
- package/dist/common/libraries/common.consumer.js.map +1 -0
- package/dist/common/libraries/common.entity.d.ts +22 -0
- package/dist/common/libraries/common.entity.js +120 -0
- package/dist/common/libraries/common.entity.js.map +1 -0
- package/dist/common/libraries/common.job.d.ts +22 -0
- package/dist/common/libraries/common.job.js +66 -0
- package/dist/common/libraries/common.job.js.map +1 -0
- package/dist/common/libraries/common.mapper.job.d.ts +8 -0
- package/dist/common/libraries/common.mapper.job.js +36 -0
- package/dist/common/libraries/common.mapper.job.js.map +1 -0
- package/dist/common/libraries/common.mongo.entity.d.ts +20 -0
- package/dist/common/libraries/common.mongo.entity.js +120 -0
- package/dist/common/libraries/common.mongo.entity.js.map +1 -0
- package/dist/common/libraries/common.subscriber.d.ts +13 -0
- package/dist/common/libraries/common.subscriber.js +60 -0
- package/dist/common/libraries/common.subscriber.js.map +1 -0
- package/dist/common/libraries/custom.crypt.d.ts +6 -0
- package/dist/common/libraries/custom.crypt.js +30 -0
- package/dist/common/libraries/custom.crypt.js.map +1 -0
- package/dist/common/libraries/data.manager.d.ts +33 -0
- package/dist/common/libraries/data.manager.js +211 -0
- package/dist/common/libraries/data.manager.js.map +1 -0
- package/dist/common/libraries/database.event.evaluator.d.ts +11 -0
- package/dist/common/libraries/database.event.evaluator.js +40 -0
- package/dist/common/libraries/database.event.evaluator.js.map +1 -0
- package/dist/common/libraries/date.util.d.ts +15 -0
- package/dist/common/libraries/date.util.js +51 -0
- package/dist/common/libraries/date.util.js.map +1 -0
- package/dist/common/libraries/entity.evaluator.d.ts +28 -0
- package/dist/common/libraries/entity.evaluator.js +127 -0
- package/dist/common/libraries/entity.evaluator.js.map +1 -0
- package/dist/common/libraries/generic.index.parser.d.ts +18 -0
- package/dist/common/libraries/generic.index.parser.js +82 -0
- package/dist/common/libraries/generic.index.parser.js.map +1 -0
- package/dist/common/libraries/generic.show.parser.d.ts +12 -0
- package/dist/common/libraries/generic.show.parser.js +41 -0
- package/dist/common/libraries/generic.show.parser.js.map +1 -0
- package/dist/common/libraries/hash.d.ts +7 -0
- package/dist/common/libraries/hash.js +25 -0
- package/dist/common/libraries/hash.js.map +1 -0
- package/dist/common/libraries/index.d.ts +27 -0
- package/dist/common/libraries/index.js +44 -0
- package/dist/common/libraries/index.js.map +1 -0
- package/dist/common/libraries/list.manager.d.ts +23 -0
- package/dist/common/libraries/list.manager.js +101 -0
- package/dist/common/libraries/list.manager.js.map +1 -0
- package/dist/common/libraries/migration.utility.d.ts +7 -0
- package/dist/common/libraries/migration.utility.js +23 -0
- package/dist/common/libraries/migration.utility.js.map +1 -0
- package/dist/common/libraries/platform.utility.d.ts +33 -0
- package/dist/common/libraries/platform.utility.js +126 -0
- package/dist/common/libraries/platform.utility.js.map +1 -0
- package/dist/common/libraries/record.manager.d.ts +41 -0
- package/dist/common/libraries/record.manager.js +146 -0
- package/dist/common/libraries/record.manager.js.map +1 -0
- package/dist/common/libraries/report.body.parser.d.ts +6 -0
- package/dist/common/libraries/report.body.parser.js +21 -0
- package/dist/common/libraries/report.body.parser.js.map +1 -0
- package/dist/common/libraries/report.data.manager.d.ts +35 -0
- package/dist/common/libraries/report.data.manager.js +212 -0
- package/dist/common/libraries/report.data.manager.js.map +1 -0
- package/dist/common/libraries/report.list.manager.d.ts +22 -0
- package/dist/common/libraries/report.list.manager.js +109 -0
- package/dist/common/libraries/report.list.manager.js.map +1 -0
- package/dist/common/libraries/reverse.migration.utility.d.ts +7 -0
- package/dist/common/libraries/reverse.migration.utility.js +17 -0
- package/dist/common/libraries/reverse.migration.utility.js.map +1 -0
- package/dist/common/libraries/seeder.utility.d.ts +20 -0
- package/dist/common/libraries/seeder.utility.js +99 -0
- package/dist/common/libraries/seeder.utility.js.map +1 -0
- package/dist/config/cache.config.d.ts +10 -0
- package/dist/config/cache.config.js +13 -0
- package/dist/config/cache.config.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 +141 -0
- package/dist/config/entity.constants.js +143 -0
- package/dist/config/entity.constants.js.map +1 -0
- package/dist/config/jwt.config.d.ts +4 -0
- package/dist/config/jwt.config.js +12 -0
- package/dist/config/jwt.config.js.map +1 -0
- package/dist/config/mongo.config.d.ts +4 -0
- package/dist/config/mongo.config.js +24 -0
- package/dist/config/mongo.config.js.map +1 -0
- package/dist/config/orm.config.d.ts +3 -0
- package/dist/config/orm.config.js +28 -0
- package/dist/config/orm.config.js.map +1 -0
- package/dist/config/platform.constants.d.ts +10 -0
- package/dist/config/platform.constants.js +14 -0
- package/dist/config/platform.constants.js.map +1 -0
- package/dist/config/queue.config.d.ts +4 -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 +6 -0
- package/dist/config/rate.limiter.config.js +8 -0
- package/dist/config/rate.limiter.config.js.map +1 -0
- package/dist/config/read.typeorm.config.d.ts +4 -0
- package/dist/config/read.typeorm.config.js +25 -0
- package/dist/config/read.typeorm.config.js.map +1 -0
- package/dist/config/role.mapping.d.ts +6 -0
- package/dist/config/role.mapping.js +8 -0
- package/dist/config/role.mapping.js.map +1 -0
- package/dist/config/source.hash.d.ts +14 -0
- package/dist/config/source.hash.js +16 -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 +33 -0
- package/dist/config/typeorm.config.js.map +1 -0
- package/dist/console.d.ts +1 -0
- package/dist/console.js +19 -0
- package/dist/console.js.map +1 -0
- package/dist/health.check.controller.d.ts +9 -0
- package/dist/health.check.controller.js +45 -0
- package/dist/health.check.controller.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +23 -0
- package/dist/index.js.map +1 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +35 -0
- package/dist/main.js.map +1 -0
- package/dist/migrations/1580011348975-SysUsersTable.ts.d.ts +5 -0
- package/dist/migrations/1580011348975-SysUsersTable.ts.js +28 -0
- package/dist/migrations/1580011348975-SysUsersTable.ts.js.map +1 -0
- package/dist/migrations/1580012157523-SysRolesTable.ts.d.ts +5 -0
- package/dist/migrations/1580012157523-SysRolesTable.ts.js +21 -0
- package/dist/migrations/1580012157523-SysRolesTable.ts.js.map +1 -0
- package/dist/migrations/1580012268960-SysPermissionsTable.ts.d.ts +5 -0
- package/dist/migrations/1580012268960-SysPermissionsTable.ts.js +20 -0
- package/dist/migrations/1580012268960-SysPermissionsTable.ts.js.map +1 -0
- package/dist/migrations/1580012428385-SysPropertiesTable.ts.d.ts +5 -0
- package/dist/migrations/1580012428385-SysPropertiesTable.ts.js +21 -0
- package/dist/migrations/1580012428385-SysPropertiesTable.ts.js.map +1 -0
- package/dist/migrations/1580012617487-SysOpenPropertiesTable.ts.d.ts +5 -0
- package/dist/migrations/1580012617487-SysOpenPropertiesTable.ts.js +20 -0
- package/dist/migrations/1580012617487-SysOpenPropertiesTable.ts.js.map +1 -0
- package/dist/migrations/1580012802170-SysLookupTypesTable.ts.d.ts +5 -0
- package/dist/migrations/1580012802170-SysLookupTypesTable.ts.js +19 -0
- package/dist/migrations/1580012802170-SysLookupTypesTable.ts.js.map +1 -0
- package/dist/migrations/1580012876576-SysLookupValuesTable.ts.d.ts +5 -0
- package/dist/migrations/1580012876576-SysLookupValuesTable.ts.js +24 -0
- package/dist/migrations/1580012876576-SysLookupValuesTable.ts.js.map +1 -0
- package/dist/migrations/1580013243446-SysSystemScriptsTable.ts.d.ts +5 -0
- package/dist/migrations/1580013243446-SysSystemScriptsTable.ts.js +21 -0
- package/dist/migrations/1580013243446-SysSystemScriptsTable.ts.js.map +1 -0
- package/dist/migrations/1580013426935-SysUserGroupsTable.ts.d.ts +5 -0
- package/dist/migrations/1580013426935-SysUserGroupsTable.ts.js +20 -0
- package/dist/migrations/1580013426935-SysUserGroupsTable.ts.js.map +1 -0
- package/dist/migrations/1580013438750-SysUserGroupMembersTable.ts.d.ts +5 -0
- package/dist/migrations/1580013438750-SysUserGroupMembersTable.ts.js +22 -0
- package/dist/migrations/1580013438750-SysUserGroupMembersTable.ts.js.map +1 -0
- package/dist/migrations/1580013583515-SysColumnDefinitionsTable.ts.d.ts +5 -0
- package/dist/migrations/1580013583515-SysColumnDefinitionsTable.ts.js +20 -0
- package/dist/migrations/1580013583515-SysColumnDefinitionsTable.ts.js.map +1 -0
- package/dist/migrations/1580013737722-SysModelDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1580013737722-SysModelDetailsTable.ts.js +25 -0
- package/dist/migrations/1580013737722-SysModelDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1580032909794-SysColumnDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1580032909794-SysColumnDetailsTable.ts.js +34 -0
- package/dist/migrations/1580032909794-SysColumnDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1580033076554-SysModelColumnsTable.ts.d.ts +5 -0
- package/dist/migrations/1580033076554-SysModelColumnsTable.ts.js +19 -0
- package/dist/migrations/1580033076554-SysModelColumnsTable.ts.js.map +1 -0
- package/dist/migrations/1580033241460-SysModelRelationshipsTable.ts.d.ts +5 -0
- package/dist/migrations/1580033241460-SysModelRelationshipsTable.ts.js +39 -0
- package/dist/migrations/1580033241460-SysModelRelationshipsTable.ts.js.map +1 -0
- package/dist/migrations/1580033439057-SysPageDefinitionsTable.ts.d.ts +5 -0
- package/dist/migrations/1580033439057-SysPageDefinitionsTable.ts.js +20 -0
- package/dist/migrations/1580033439057-SysPageDefinitionsTable.ts.js.map +1 -0
- package/dist/migrations/1580033536134-SysModuleDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1580033536134-SysModuleDetailsTable.ts.js +21 -0
- package/dist/migrations/1580033536134-SysModuleDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1580033654069-SysMenuDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1580033654069-SysMenuDetailsTable.ts.js +28 -0
- package/dist/migrations/1580033654069-SysMenuDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1580034121887-SysModuleMenusTable.ts.d.ts +5 -0
- package/dist/migrations/1580034121887-SysModuleMenusTable.ts.js +20 -0
- package/dist/migrations/1580034121887-SysModuleMenusTable.ts.js.map +1 -0
- package/dist/migrations/1580034434762-SysParentMenusTable.ts.d.ts +5 -0
- package/dist/migrations/1580034434762-SysParentMenusTable.ts.js +22 -0
- package/dist/migrations/1580034434762-SysParentMenusTable.ts.js.map +1 -0
- package/dist/migrations/1580034626349-SysUserPreferencesTable.ts.d.ts +5 -0
- package/dist/migrations/1580034626349-SysUserPreferencesTable.ts.js +20 -0
- package/dist/migrations/1580034626349-SysUserPreferencesTable.ts.js.map +1 -0
- package/dist/migrations/1580034717318-SysFormDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1580034717318-SysFormDetailsTable.ts.js +23 -0
- package/dist/migrations/1580034717318-SysFormDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1580034866284-SysFormColumnsTable.ts.d.ts +5 -0
- package/dist/migrations/1580034866284-SysFormColumnsTable.ts.js +19 -0
- package/dist/migrations/1580034866284-SysFormColumnsTable.ts.js.map +1 -0
- package/dist/migrations/1580034927543-SysBusinessRulesTable.ts.d.ts +5 -0
- package/dist/migrations/1580034927543-SysBusinessRulesTable.ts.js +35 -0
- package/dist/migrations/1580034927543-SysBusinessRulesTable.ts.js.map +1 -0
- package/dist/migrations/1580035169090-SysFormPreferencesTable.ts.d.ts +5 -0
- package/dist/migrations/1580035169090-SysFormPreferencesTable.ts.js +20 -0
- package/dist/migrations/1580035169090-SysFormPreferencesTable.ts.js.map +1 -0
- package/dist/migrations/1580035241990-SysListPreferencesTable.ts.d.ts +5 -0
- package/dist/migrations/1580035241990-SysListPreferencesTable.ts.js +22 -0
- package/dist/migrations/1580035241990-SysListPreferencesTable.ts.js.map +1 -0
- package/dist/migrations/1580035351803-SysSecurityRulesTable.ts.d.ts +5 -0
- package/dist/migrations/1580035351803-SysSecurityRulesTable.ts.js +27 -0
- package/dist/migrations/1580035351803-SysSecurityRulesTable.ts.js.map +1 -0
- package/dist/migrations/1580035532119-SysUiActionsTable.ts.d.ts +5 -0
- package/dist/migrations/1580035532119-SysUiActionsTable.ts.js +38 -0
- package/dist/migrations/1580035532119-SysUiActionsTable.ts.js.map +1 -0
- package/dist/migrations/1580035823624-SysDeviceTokensTable.ts.d.ts +5 -0
- package/dist/migrations/1580035823624-SysDeviceTokensTable.ts.js +27 -0
- package/dist/migrations/1580035823624-SysDeviceTokensTable.ts.js.map +1 -0
- package/dist/migrations/1580036042576-SysCountriesTable.ts.d.ts +5 -0
- package/dist/migrations/1580036042576-SysCountriesTable.ts.js +22 -0
- package/dist/migrations/1580036042576-SysCountriesTable.ts.js.map +1 -0
- package/dist/migrations/1580036055684-SysRefreshTokensTable.ts.d.ts +5 -0
- package/dist/migrations/1580036055684-SysRefreshTokensTable.ts.js +22 -0
- package/dist/migrations/1580036055684-SysRefreshTokensTable.ts.js.map +1 -0
- package/dist/migrations/1580036754269-SysUserRolesTable.ts.d.ts +5 -0
- package/dist/migrations/1580036754269-SysUserRolesTable.ts.js +19 -0
- package/dist/migrations/1580036754269-SysUserRolesTable.ts.js.map +1 -0
- package/dist/migrations/1580036787378-SysMenuRolesTable.ts.d.ts +5 -0
- package/dist/migrations/1580036787378-SysMenuRolesTable.ts.js +19 -0
- package/dist/migrations/1580036787378-SysMenuRolesTable.ts.js.map +1 -0
- package/dist/migrations/1580036809003-SysModelRolesTable.ts.d.ts +5 -0
- package/dist/migrations/1580036809003-SysModelRolesTable.ts.js +20 -0
- package/dist/migrations/1580036809003-SysModelRolesTable.ts.js.map +1 -0
- package/dist/migrations/1580037052174-SysUiActionRolesTable.ts.d.ts +5 -0
- package/dist/migrations/1580037052174-SysUiActionRolesTable.ts.js +19 -0
- package/dist/migrations/1580037052174-SysUiActionRolesTable.ts.js.map +1 -0
- package/dist/migrations/1580037081670-SysUserGroupRolesTable.ts.d.ts +5 -0
- package/dist/migrations/1580037081670-SysUserGroupRolesTable.ts.js +22 -0
- package/dist/migrations/1580037081670-SysUserGroupRolesTable.ts.js.map +1 -0
- package/dist/migrations/1580037119302-SysUserPermissionsTable.ts.d.ts +5 -0
- package/dist/migrations/1580037119302-SysUserPermissionsTable.ts.js +22 -0
- package/dist/migrations/1580037119302-SysUserPermissionsTable.ts.js.map +1 -0
- package/dist/migrations/1598275443562-CreateDocumentTable.d.ts +5 -0
- package/dist/migrations/1598275443562-CreateDocumentTable.js +20 -0
- package/dist/migrations/1598275443562-CreateDocumentTable.js.map +1 -0
- package/dist/migrations/1598276044380-CreateCommentTable.d.ts +5 -0
- package/dist/migrations/1598276044380-CreateCommentTable.js +19 -0
- package/dist/migrations/1598276044380-CreateCommentTable.js.map +1 -0
- package/dist/migrations/1599034575440-AddTimezoneOffsetSysCountriesTable.ts.d.ts +5 -0
- package/dist/migrations/1599034575440-AddTimezoneOffsetSysCountriesTable.ts.js +20 -0
- package/dist/migrations/1599034575440-AddTimezoneOffsetSysCountriesTable.ts.js.map +1 -0
- package/dist/migrations/1599567001962-AddUserSequence.d.ts +5 -0
- package/dist/migrations/1599567001962-AddUserSequence.js +12 -0
- package/dist/migrations/1599567001962-AddUserSequence.js.map +1 -0
- package/dist/migrations/1600155092754-CreateEventDetailTable.d.ts +5 -0
- package/dist/migrations/1600155092754-CreateEventDetailTable.js +20 -0
- package/dist/migrations/1600155092754-CreateEventDetailTable.js.map +1 -0
- package/dist/migrations/1600155436756-CreateEventQueueTable.d.ts +5 -0
- package/dist/migrations/1600155436756-CreateEventQueueTable.js +24 -0
- package/dist/migrations/1600155436756-CreateEventQueueTable.js.map +1 -0
- package/dist/migrations/1600155904221-CreateScheduledEventTable.d.ts +5 -0
- package/dist/migrations/1600155904221-CreateScheduledEventTable.js +27 -0
- package/dist/migrations/1600155904221-CreateScheduledEventTable.js.map +1 -0
- package/dist/migrations/1606282995979-ActiveColumnSysDeviceTokensTable.ts.d.ts +5 -0
- package/dist/migrations/1606282995979-ActiveColumnSysDeviceTokensTable.ts.js +15 -0
- package/dist/migrations/1606282995979-ActiveColumnSysDeviceTokensTable.ts.js.map +1 -0
- package/dist/migrations/1607944291609-AddUniqueIndexDeviceToken.d.ts +5 -0
- package/dist/migrations/1607944291609-AddUniqueIndexDeviceToken.js +17 -0
- package/dist/migrations/1607944291609-AddUniqueIndexDeviceToken.js.map +1 -0
- package/dist/migrations/1608920595813-CreateSmsTemplateTable.d.ts +5 -0
- package/dist/migrations/1608920595813-CreateSmsTemplateTable.js +25 -0
- package/dist/migrations/1608920595813-CreateSmsTemplateTable.js.map +1 -0
- package/dist/migrations/1609583413782-SystemGeneratedSysCommentsTable.ts.d.ts +5 -0
- package/dist/migrations/1609583413782-SystemGeneratedSysCommentsTable.ts.js +15 -0
- package/dist/migrations/1609583413782-SystemGeneratedSysCommentsTable.ts.js.map +1 -0
- package/dist/migrations/1610226459497-AddIndexOnTokenSysDeviceTokensTable.ts.d.ts +5 -0
- package/dist/migrations/1610226459497-AddIndexOnTokenSysDeviceTokensTable.ts.js +15 -0
- package/dist/migrations/1610226459497-AddIndexOnTokenSysDeviceTokensTable.ts.js.map +1 -0
- package/dist/migrations/1610518853208-CreateUserReferralTable.d.ts +5 -0
- package/dist/migrations/1610518853208-CreateUserReferralTable.js +22 -0
- package/dist/migrations/1610518853208-CreateUserReferralTable.js.map +1 -0
- package/dist/migrations/1615622117306-DeleteValueColumnSysUserPreferencesTable.ts.d.ts +5 -0
- package/dist/migrations/1615622117306-DeleteValueColumnSysUserPreferencesTable.ts.js +15 -0
- package/dist/migrations/1615622117306-DeleteValueColumnSysUserPreferencesTable.ts.js.map +1 -0
- package/dist/migrations/1615622742904-AddValueJsonColumnSysUserPreferencesTable.ts.d.ts +5 -0
- package/dist/migrations/1615622742904-AddValueJsonColumnSysUserPreferencesTable.ts.js +15 -0
- package/dist/migrations/1615622742904-AddValueJsonColumnSysUserPreferencesTable.ts.js.map +1 -0
- package/dist/migrations/1615661067542-RemoveColumnDefinitionColumnSysListPreferencesTable.ts.d.ts +5 -0
- package/dist/migrations/1615661067542-RemoveColumnDefinitionColumnSysListPreferencesTable.ts.js +15 -0
- package/dist/migrations/1615661067542-RemoveColumnDefinitionColumnSysListPreferencesTable.ts.js.map +1 -0
- package/dist/migrations/1615661131556-AddColumnDefinitionJsonColumnSysListPreferencesTable.ts.d.ts +5 -0
- package/dist/migrations/1615661131556-AddColumnDefinitionJsonColumnSysListPreferencesTable.ts.js +15 -0
- package/dist/migrations/1615661131556-AddColumnDefinitionJsonColumnSysListPreferencesTable.ts.js.map +1 -0
- package/dist/migrations/1615663840083-CreateUiActionPermissionTable.d.ts +5 -0
- package/dist/migrations/1615663840083-CreateUiActionPermissionTable.js +22 -0
- package/dist/migrations/1615663840083-CreateUiActionPermissionTable.js.map +1 -0
- package/dist/migrations/1615743889725-RemoveColumnDefinitionColumnSysFormPreferencesTable.ts.d.ts +5 -0
- package/dist/migrations/1615743889725-RemoveColumnDefinitionColumnSysFormPreferencesTable.ts.js +15 -0
- package/dist/migrations/1615743889725-RemoveColumnDefinitionColumnSysFormPreferencesTable.ts.js.map +1 -0
- package/dist/migrations/1615743931363-AddColumnDefinitionColumnSysFormPreferencesTable.ts.d.ts +5 -0
- package/dist/migrations/1615743931363-AddColumnDefinitionColumnSysFormPreferencesTable.ts.js +15 -0
- package/dist/migrations/1615743931363-AddColumnDefinitionColumnSysFormPreferencesTable.ts.js.map +1 -0
- package/dist/migrations/1616095909364-CreateClientScriptEntityTable.d.ts +5 -0
- package/dist/migrations/1616095909364-CreateClientScriptEntityTable.js +26 -0
- package/dist/migrations/1616095909364-CreateClientScriptEntityTable.js.map +1 -0
- package/dist/migrations/1616255314846-RenameRouteColumnSysMenuDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1616255314846-RenameRouteColumnSysMenuDetailsTable.ts.js +15 -0
- package/dist/migrations/1616255314846-RenameRouteColumnSysMenuDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1616257589431-RenameRouteColumnSysModelDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1616257589431-RenameRouteColumnSysModelDetailsTable.ts.js +15 -0
- package/dist/migrations/1616257589431-RenameRouteColumnSysModelDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1616329406291-AddIncludesColumnSysMenuDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1616329406291-AddIncludesColumnSysMenuDetailsTable.ts.js +15 -0
- package/dist/migrations/1616329406291-AddIncludesColumnSysMenuDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1616604451282-CreateChartEntityTable.d.ts +5 -0
- package/dist/migrations/1616604451282-CreateChartEntityTable.js +28 -0
- package/dist/migrations/1616604451282-CreateChartEntityTable.js.map +1 -0
- package/dist/migrations/1616604996435-CreatePrimaryAxisTable.d.ts +5 -0
- package/dist/migrations/1616604996435-CreatePrimaryAxisTable.js +20 -0
- package/dist/migrations/1616604996435-CreatePrimaryAxisTable.js.map +1 -0
- package/dist/migrations/1616605261755-CreateSecondaryAxisTable.d.ts +5 -0
- package/dist/migrations/1616605261755-CreateSecondaryAxisTable.js +21 -0
- package/dist/migrations/1616605261755-CreateSecondaryAxisTable.js.map +1 -0
- package/dist/migrations/1616608867213-CreateReportTable.d.ts +5 -0
- package/dist/migrations/1616608867213-CreateReportTable.js +21 -0
- package/dist/migrations/1616608867213-CreateReportTable.js.map +1 -0
- package/dist/migrations/1616609134435-CreateReportColumnTable.d.ts +5 -0
- package/dist/migrations/1616609134435-CreateReportColumnTable.js +19 -0
- package/dist/migrations/1616609134435-CreateReportColumnTable.js.map +1 -0
- package/dist/migrations/1616610298682-CreateReportParamTable.d.ts +5 -0
- package/dist/migrations/1616610298682-CreateReportParamTable.js +20 -0
- package/dist/migrations/1616610298682-CreateReportParamTable.js.map +1 -0
- package/dist/migrations/1616738455290-AddNameColumnSysReportParamsTable.ts.d.ts +5 -0
- package/dist/migrations/1616738455290-AddNameColumnSysReportParamsTable.ts.js +15 -0
- package/dist/migrations/1616738455290-AddNameColumnSysReportParamsTable.ts.js.map +1 -0
- package/dist/migrations/1616749370769-AddSourceColumnsSysRelationshipDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1616749370769-AddSourceColumnsSysRelationshipDetailsTable.ts.js +15 -0
- package/dist/migrations/1616749370769-AddSourceColumnsSysRelationshipDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1616750113885-CreateTableSysModelRelationshipsTable.ts.d.ts +5 -0
- package/dist/migrations/1616750113885-CreateTableSysModelRelationshipsTable.ts.js +22 -0
- package/dist/migrations/1616750113885-CreateTableSysModelRelationshipsTable.ts.js.map +1 -0
- package/dist/migrations/1616750244901-CreateReportRelationshipTable.d.ts +5 -0
- package/dist/migrations/1616750244901-CreateReportRelationshipTable.js +22 -0
- package/dist/migrations/1616750244901-CreateReportRelationshipTable.js.map +1 -0
- package/dist/migrations/1616787597931-CreateReportRoleTable.d.ts +5 -0
- package/dist/migrations/1616787597931-CreateReportRoleTable.js +19 -0
- package/dist/migrations/1616787597931-CreateReportRoleTable.js.map +1 -0
- package/dist/migrations/1617433544860-AddRouteColumnIncludesSysReportDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1617433544860-AddRouteColumnIncludesSysReportDetailsTable.ts.js +20 -0
- package/dist/migrations/1617433544860-AddRouteColumnIncludesSysReportDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1619186436996-AddRouteIdentifierColumnSysModelDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1619186436996-AddRouteIdentifierColumnSysModelDetailsTable.ts.js +16 -0
- package/dist/migrations/1619186436996-AddRouteIdentifierColumnSysModelDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1619193418460-AddDefaultUserDataSeederTable.d.ts +5 -0
- package/dist/migrations/1619193418460-AddDefaultUserDataSeederTable.js +39 -0
- package/dist/migrations/1619193418460-AddDefaultUserDataSeederTable.js.map +1 -0
- package/dist/migrations/1619555997151-AddSourceColumnsSysUserRolesTable.ts.d.ts +5 -0
- package/dist/migrations/1619555997151-AddSourceColumnsSysUserRolesTable.ts.js +15 -0
- package/dist/migrations/1619555997151-AddSourceColumnsSysUserRolesTable.ts.js.map +1 -0
- package/dist/migrations/1619556025823-AddSourceColumnsSysUserPermissionsTable.ts.d.ts +5 -0
- package/dist/migrations/1619556025823-AddSourceColumnsSysUserPermissionsTable.ts.js +15 -0
- package/dist/migrations/1619556025823-AddSourceColumnsSysUserPermissionsTable.ts.js.map +1 -0
- package/dist/migrations/1619556172009-CreateUserGroupPermissionEntityTable.d.ts +5 -0
- package/dist/migrations/1619556172009-CreateUserGroupPermissionEntityTable.js +25 -0
- package/dist/migrations/1619556172009-CreateUserGroupPermissionEntityTable.js.map +1 -0
- package/dist/migrations/1619903986363-CreateServiceTable.d.ts +5 -0
- package/dist/migrations/1619903986363-CreateServiceTable.js +22 -0
- package/dist/migrations/1619903986363-CreateServiceTable.js.map +1 -0
- package/dist/migrations/1619909254139-CreateBusinessRuleRoleTable.d.ts +5 -0
- package/dist/migrations/1619909254139-CreateBusinessRuleRoleTable.js +22 -0
- package/dist/migrations/1619909254139-CreateBusinessRuleRoleTable.js.map +1 -0
- package/dist/migrations/1633602353156-AddWhatsAppNumberSysCountriesTable.ts.d.ts +5 -0
- package/dist/migrations/1633602353156-AddWhatsAppNumberSysCountriesTable.ts.js +15 -0
- package/dist/migrations/1633602353156-AddWhatsAppNumberSysCountriesTable.ts.js.map +1 -0
- package/dist/migrations/1643398296090-CreateMailLogTable.d.ts +5 -0
- package/dist/migrations/1643398296090-CreateMailLogTable.js +25 -0
- package/dist/migrations/1643398296090-CreateMailLogTable.js.map +1 -0
- package/dist/migrations/1643899218270-CreateSmsMessageTable.d.ts +5 -0
- package/dist/migrations/1643899218270-CreateSmsMessageTable.js +26 -0
- package/dist/migrations/1643899218270-CreateSmsMessageTable.js.map +1 -0
- package/dist/migrations/1645738975654-CreateEmailTemplateTable.d.ts +5 -0
- package/dist/migrations/1645738975654-CreateEmailTemplateTable.js +21 -0
- package/dist/migrations/1645738975654-CreateEmailTemplateTable.js.map +1 -0
- package/dist/migrations/1645739142116-CreateWhatsappTemplateTable.d.ts +5 -0
- package/dist/migrations/1645739142116-CreateWhatsappTemplateTable.js +21 -0
- package/dist/migrations/1645739142116-CreateWhatsappTemplateTable.js.map +1 -0
- package/dist/migrations/1645886071349-AddSubjectSysEmailTemplatesTable.ts.d.ts +5 -0
- package/dist/migrations/1645886071349-AddSubjectSysEmailTemplatesTable.ts.js +15 -0
- package/dist/migrations/1645886071349-AddSubjectSysEmailTemplatesTable.ts.js.map +1 -0
- package/dist/migrations/1652332064735-AddOrdinalPositionSysColumnDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1652332064735-AddOrdinalPositionSysColumnDetailsTable.ts.js +15 -0
- package/dist/migrations/1652332064735-AddOrdinalPositionSysColumnDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1662188562840-AddAttemptsSysUsersTable.ts.d.ts +5 -0
- package/dist/migrations/1662188562840-AddAttemptsSysUsersTable.ts.js +15 -0
- package/dist/migrations/1662188562840-AddAttemptsSysUsersTable.ts.js.map +1 -0
- package/dist/migrations/1669970181143-CreateDynamoTableTable.d.ts +5 -0
- package/dist/migrations/1669970181143-CreateDynamoTableTable.js +21 -0
- package/dist/migrations/1669970181143-CreateDynamoTableTable.js.map +1 -0
- package/dist/migrations/1675176639864-AddReportFilterTableSysReportFiltersTable.ts.d.ts +5 -0
- package/dist/migrations/1675176639864-AddReportFilterTableSysReportFiltersTable.ts.js +21 -0
- package/dist/migrations/1675176639864-AddReportFilterTableSysReportFiltersTable.ts.js.map +1 -0
- package/dist/migrations/1675876187420-AddIsEncryptedSysPropertiesTable.ts.d.ts +5 -0
- package/dist/migrations/1675876187420-AddIsEncryptedSysPropertiesTable.ts.js +15 -0
- package/dist/migrations/1675876187420-AddIsEncryptedSysPropertiesTable.ts.js.map +1 -0
- package/dist/migrations/1678730411972-CreatePendingBullJobTable.d.ts +5 -0
- package/dist/migrations/1678730411972-CreatePendingBullJobTable.js +24 -0
- package/dist/migrations/1678730411972-CreatePendingBullJobTable.js.map +1 -0
- package/dist/migrations/1678789489235-CreateFailedBullJobTable.d.ts +5 -0
- package/dist/migrations/1678789489235-CreateFailedBullJobTable.js +27 -0
- package/dist/migrations/1678789489235-CreateFailedBullJobTable.js.map +1 -0
- package/dist/migrations/1679473705431-RemoveModelSysRelationshipDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1679473705431-RemoveModelSysRelationshipDetailsTable.ts.js +15 -0
- package/dist/migrations/1679473705431-RemoveModelSysRelationshipDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1684649589572-AddTypeSysCommentsTable.ts.d.ts +5 -0
- package/dist/migrations/1684649589572-AddTypeSysCommentsTable.ts.js +16 -0
- package/dist/migrations/1684649589572-AddTypeSysCommentsTable.ts.js.map +1 -0
- package/dist/migrations/1686046172898-CreateMailValidationTable.d.ts +5 -0
- package/dist/migrations/1686046172898-CreateMailValidationTable.js +24 -0
- package/dist/migrations/1686046172898-CreateMailValidationTable.js.map +1 -0
- package/dist/migrations/1686048669716-CreateMobileValidationTable.d.ts +5 -0
- package/dist/migrations/1686048669716-CreateMobileValidationTable.js +26 -0
- package/dist/migrations/1686048669716-CreateMobileValidationTable.js.map +1 -0
- package/dist/migrations/1692726438006-AddColumnTypeSysReportFiltersTable.ts.d.ts +5 -0
- package/dist/migrations/1692726438006-AddColumnTypeSysReportFiltersTable.ts.js +19 -0
- package/dist/migrations/1692726438006-AddColumnTypeSysReportFiltersTable.ts.js.map +1 -0
- package/dist/platformUtility/commands/index.d.ts +3 -0
- package/dist/platformUtility/commands/index.js +20 -0
- package/dist/platformUtility/commands/index.js.map +1 -0
- package/dist/platformUtility/commands/maintenance.command.d.ts +14 -0
- package/dist/platformUtility/commands/maintenance.command.js +99 -0
- package/dist/platformUtility/commands/maintenance.command.js.map +1 -0
- package/dist/platformUtility/commands/sqs.worker.command.d.ts +12 -0
- package/dist/platformUtility/commands/sqs.worker.command.js +54 -0
- package/dist/platformUtility/commands/sqs.worker.command.js.map +1 -0
- package/dist/platformUtility/commands/sync.class.command.d.ts +6 -0
- package/dist/platformUtility/commands/sync.class.command.js +56 -0
- package/dist/platformUtility/commands/sync.class.command.js.map +1 -0
- package/dist/platformUtility/consumers/event.consumer.d.ts +18 -0
- package/dist/platformUtility/consumers/event.consumer.js +119 -0
- package/dist/platformUtility/consumers/event.consumer.js.map +1 -0
- package/dist/platformUtility/consumers/index.d.ts +2 -0
- package/dist/platformUtility/consumers/index.js +19 -0
- package/dist/platformUtility/consumers/index.js.map +1 -0
- package/dist/platformUtility/consumers/job.consumer.d.ts +9 -0
- package/dist/platformUtility/consumers/job.consumer.js +74 -0
- package/dist/platformUtility/consumers/job.consumer.js.map +1 -0
- package/dist/platformUtility/controllers/bull.job.controller.d.ts +15 -0
- package/dist/platformUtility/controllers/bull.job.controller.js +134 -0
- package/dist/platformUtility/controllers/bull.job.controller.js.map +1 -0
- package/dist/platformUtility/controllers/index.d.ts +2 -0
- package/dist/platformUtility/controllers/index.js +19 -0
- package/dist/platformUtility/controllers/index.js.map +1 -0
- package/dist/platformUtility/controllers/queue.controller.d.ts +10 -0
- package/dist/platformUtility/controllers/queue.controller.js +53 -0
- package/dist/platformUtility/controllers/queue.controller.js.map +1 -0
- package/dist/platformUtility/dtos/aws.config.dto.d.ts +6 -0
- package/dist/platformUtility/dtos/aws.config.dto.js +7 -0
- package/dist/platformUtility/dtos/aws.config.dto.js.map +1 -0
- package/dist/platformUtility/dtos/common.attributes.dto.d.ts +7 -0
- package/dist/platformUtility/dtos/common.attributes.dto.js +36 -0
- package/dist/platformUtility/dtos/common.attributes.dto.js.map +1 -0
- package/dist/platformUtility/dtos/failed.bull.job.attributes.dto.d.ts +3 -0
- package/dist/platformUtility/dtos/failed.bull.job.attributes.dto.js +8 -0
- package/dist/platformUtility/dtos/failed.bull.job.attributes.dto.js.map +1 -0
- package/dist/platformUtility/dtos/fcm.response.dto.d.ts +7 -0
- package/dist/platformUtility/dtos/fcm.response.dto.js +7 -0
- package/dist/platformUtility/dtos/fcm.response.dto.js.map +1 -0
- package/dist/platformUtility/dtos/index.d.ts +15 -0
- package/dist/platformUtility/dtos/index.js +32 -0
- package/dist/platformUtility/dtos/index.js.map +1 -0
- package/dist/platformUtility/dtos/job.payload.dto.d.ts +6 -0
- package/dist/platformUtility/dtos/job.payload.dto.js +36 -0
- package/dist/platformUtility/dtos/job.payload.dto.js.map +1 -0
- package/dist/platformUtility/dtos/mail.options.dto.d.ts +14 -0
- package/dist/platformUtility/dtos/mail.options.dto.js +59 -0
- package/dist/platformUtility/dtos/mail.options.dto.js.map +1 -0
- package/dist/platformUtility/dtos/pending.bull.job.attributes.dto.d.ts +3 -0
- package/dist/platformUtility/dtos/pending.bull.job.attributes.dto.js +8 -0
- package/dist/platformUtility/dtos/pending.bull.job.attributes.dto.js.map +1 -0
- package/dist/platformUtility/dtos/push.notification.response.dto.d.ts +6 -0
- package/dist/platformUtility/dtos/push.notification.response.dto.js +7 -0
- package/dist/platformUtility/dtos/push.notification.response.dto.js.map +1 -0
- package/dist/platformUtility/dtos/push.notification.template.dto.d.ts +23 -0
- package/dist/platformUtility/dtos/push.notification.template.dto.js +7 -0
- package/dist/platformUtility/dtos/push.notification.template.dto.js.map +1 -0
- package/dist/platformUtility/dtos/queue.options.dto.d.ts +9 -0
- package/dist/platformUtility/dtos/queue.options.dto.js +50 -0
- package/dist/platformUtility/dtos/queue.options.dto.js.map +1 -0
- package/dist/platformUtility/dtos/remote.raw.response.dto.d.ts +6 -0
- package/dist/platformUtility/dtos/remote.raw.response.dto.js +35 -0
- package/dist/platformUtility/dtos/remote.raw.response.dto.js.map +1 -0
- package/dist/platformUtility/dtos/sms.payload.dto.d.ts +7 -0
- package/dist/platformUtility/dtos/sms.payload.dto.js +38 -0
- package/dist/platformUtility/dtos/sms.payload.dto.js.map +1 -0
- package/dist/platformUtility/dtos/smtp.config.dto.d.ts +7 -0
- package/dist/platformUtility/dtos/smtp.config.dto.js +7 -0
- package/dist/platformUtility/dtos/smtp.config.dto.js.map +1 -0
- package/dist/platformUtility/dtos/source.column.dto.d.ts +4 -0
- package/dist/platformUtility/dtos/source.column.dto.js +29 -0
- package/dist/platformUtility/dtos/source.column.dto.js.map +1 -0
- package/dist/platformUtility/dtos/string.search.dto.d.ts +5 -0
- package/dist/platformUtility/dtos/string.search.dto.js +34 -0
- package/dist/platformUtility/dtos/string.search.dto.js.map +1 -0
- package/dist/platformUtility/entities/failed.bull.job.entity.d.ts +15 -0
- package/dist/platformUtility/entities/failed.bull.job.entity.js +66 -0
- package/dist/platformUtility/entities/failed.bull.job.entity.js.map +1 -0
- package/dist/platformUtility/entities/index.d.ts +2 -0
- package/dist/platformUtility/entities/index.js +19 -0
- package/dist/platformUtility/entities/index.js.map +1 -0
- package/dist/platformUtility/entities/pending.bull.job.entity.d.ts +12 -0
- package/dist/platformUtility/entities/pending.bull.job.entity.js +54 -0
- package/dist/platformUtility/entities/pending.bull.job.entity.js.map +1 -0
- package/dist/platformUtility/es6.classes.d.ts +69 -0
- package/dist/platformUtility/es6.classes.js +119 -0
- package/dist/platformUtility/es6.classes.js.map +1 -0
- package/dist/platformUtility/index.d.ts +11 -0
- package/dist/platformUtility/index.js +28 -0
- package/dist/platformUtility/index.js.map +1 -0
- package/dist/platformUtility/jobs/index.d.ts +4 -0
- package/dist/platformUtility/jobs/index.js +21 -0
- package/dist/platformUtility/jobs/index.js.map +1 -0
- package/dist/platformUtility/jobs/load.failed.bull.job.d.ts +9 -0
- package/dist/platformUtility/jobs/load.failed.bull.job.js +54 -0
- package/dist/platformUtility/jobs/load.failed.bull.job.js.map +1 -0
- package/dist/platformUtility/jobs/record.watcher.job.d.ts +12 -0
- package/dist/platformUtility/jobs/record.watcher.job.js +37 -0
- package/dist/platformUtility/jobs/record.watcher.job.js.map +1 -0
- package/dist/platformUtility/jobs/reload.pending.bull.job.d.ts +7 -0
- package/dist/platformUtility/jobs/reload.pending.bull.job.js +39 -0
- package/dist/platformUtility/jobs/reload.pending.bull.job.js.map +1 -0
- package/dist/platformUtility/jobs/test.job.d.ts +7 -0
- package/dist/platformUtility/jobs/test.job.js +28 -0
- package/dist/platformUtility/jobs/test.job.js.map +1 -0
- package/dist/platformUtility/libraries/common.sqs.polling.d.ts +24 -0
- package/dist/platformUtility/libraries/common.sqs.polling.js +71 -0
- package/dist/platformUtility/libraries/common.sqs.polling.js.map +1 -0
- package/dist/platformUtility/libraries/create.entity.constants.file.d.ts +10 -0
- package/dist/platformUtility/libraries/create.entity.constants.file.js +64 -0
- package/dist/platformUtility/libraries/create.entity.constants.file.js.map +1 -0
- package/dist/platformUtility/libraries/create.es6.classes.file.d.ts +9 -0
- package/dist/platformUtility/libraries/create.es6.classes.file.js +62 -0
- package/dist/platformUtility/libraries/create.es6.classes.file.js.map +1 -0
- package/dist/platformUtility/libraries/create.es6.jobs.file.d.ts +9 -0
- package/dist/platformUtility/libraries/create.es6.jobs.file.js +105 -0
- package/dist/platformUtility/libraries/create.es6.jobs.file.js.map +1 -0
- package/dist/platformUtility/libraries/create.es6.service.file.d.ts +9 -0
- package/dist/platformUtility/libraries/create.es6.service.file.js +109 -0
- package/dist/platformUtility/libraries/create.es6.service.file.js.map +1 -0
- package/dist/platformUtility/libraries/create.index.file.d.ts +12 -0
- package/dist/platformUtility/libraries/create.index.file.js +78 -0
- package/dist/platformUtility/libraries/create.index.file.js.map +1 -0
- package/dist/platformUtility/libraries/file.system.utility.d.ts +13 -0
- package/dist/platformUtility/libraries/file.system.utility.js +67 -0
- package/dist/platformUtility/libraries/file.system.utility.js.map +1 -0
- package/dist/platformUtility/libraries/index.d.ts +11 -0
- package/dist/platformUtility/libraries/index.js +28 -0
- package/dist/platformUtility/libraries/index.js.map +1 -0
- package/dist/platformUtility/libraries/process.audit.log.data.d.ts +12 -0
- package/dist/platformUtility/libraries/process.audit.log.data.js +63 -0
- package/dist/platformUtility/libraries/process.audit.log.data.js.map +1 -0
- package/dist/platformUtility/libraries/process.common.mail.d.ts +9 -0
- package/dist/platformUtility/libraries/process.common.mail.js +42 -0
- package/dist/platformUtility/libraries/process.common.mail.js.map +1 -0
- package/dist/platformUtility/libraries/process.kaleyra.sms.d.ts +12 -0
- package/dist/platformUtility/libraries/process.kaleyra.sms.js +58 -0
- package/dist/platformUtility/libraries/process.kaleyra.sms.js.map +1 -0
- package/dist/platformUtility/libraries/process.smtp.mail.d.ts +14 -0
- package/dist/platformUtility/libraries/process.smtp.mail.js +81 -0
- package/dist/platformUtility/libraries/process.smtp.mail.js.map +1 -0
- package/dist/platformUtility/middlewares/index.d.ts +2 -0
- package/dist/platformUtility/middlewares/index.js +19 -0
- package/dist/platformUtility/middlewares/index.js.map +1 -0
- package/dist/platformUtility/middlewares/maintenance.middleware.d.ts +7 -0
- package/dist/platformUtility/middlewares/maintenance.middleware.js +31 -0
- package/dist/platformUtility/middlewares/maintenance.middleware.js.map +1 -0
- package/dist/platformUtility/middlewares/trim.pipe.d.ts +6 -0
- package/dist/platformUtility/middlewares/trim.pipe.js +42 -0
- package/dist/platformUtility/middlewares/trim.pipe.js.map +1 -0
- package/dist/platformUtility/platform.utility.module.d.ts +3 -0
- package/dist/platformUtility/platform.utility.module.js +35 -0
- package/dist/platformUtility/platform.utility.module.js.map +1 -0
- package/dist/platformUtility/services/audit.service.d.ts +17 -0
- package/dist/platformUtility/services/audit.service.js +96 -0
- package/dist/platformUtility/services/audit.service.js.map +1 -0
- package/dist/platformUtility/services/aws.config.service.d.ts +10 -0
- package/dist/platformUtility/services/aws.config.service.js +48 -0
- package/dist/platformUtility/services/aws.config.service.js.map +1 -0
- package/dist/platformUtility/services/cache.service.d.ts +8 -0
- package/dist/platformUtility/services/cache.service.js +57 -0
- package/dist/platformUtility/services/cache.service.js.map +1 -0
- package/dist/platformUtility/services/dynamo.service.d.ts +20 -0
- package/dist/platformUtility/services/dynamo.service.js +155 -0
- package/dist/platformUtility/services/dynamo.service.js.map +1 -0
- package/dist/platformUtility/services/es6.jobs.service.d.ts +14 -0
- package/dist/platformUtility/services/es6.jobs.service.js +49 -0
- package/dist/platformUtility/services/es6.jobs.service.js.map +1 -0
- package/dist/platformUtility/services/fcm.notification.service.d.ts +17 -0
- package/dist/platformUtility/services/fcm.notification.service.js +91 -0
- package/dist/platformUtility/services/fcm.notification.service.js.map +1 -0
- package/dist/platformUtility/services/index.d.ts +15 -0
- package/dist/platformUtility/services/index.js +32 -0
- package/dist/platformUtility/services/index.js.map +1 -0
- package/dist/platformUtility/services/local.property.service.d.ts +8 -0
- package/dist/platformUtility/services/local.property.service.js +44 -0
- package/dist/platformUtility/services/local.property.service.js.map +1 -0
- package/dist/platformUtility/services/mail.service.d.ts +17 -0
- package/dist/platformUtility/services/mail.service.js +73 -0
- package/dist/platformUtility/services/mail.service.js.map +1 -0
- package/dist/platformUtility/services/maintenance.service.d.ts +15 -0
- package/dist/platformUtility/services/maintenance.service.js +76 -0
- package/dist/platformUtility/services/maintenance.service.js.map +1 -0
- package/dist/platformUtility/services/queue.service.d.ts +42 -0
- package/dist/platformUtility/services/queue.service.js +191 -0
- package/dist/platformUtility/services/queue.service.js.map +1 -0
- package/dist/platformUtility/services/remote.request.service.d.ts +5 -0
- package/dist/platformUtility/services/remote.request.service.js +40 -0
- package/dist/platformUtility/services/remote.request.service.js.map +1 -0
- package/dist/platformUtility/services/shutdown.service.d.ts +7 -0
- package/dist/platformUtility/services/shutdown.service.js +30 -0
- package/dist/platformUtility/services/shutdown.service.js.map +1 -0
- package/dist/platformUtility/services/sms.service.d.ts +12 -0
- package/dist/platformUtility/services/sms.service.js +43 -0
- package/dist/platformUtility/services/sms.service.js.map +1 -0
- package/dist/platformUtility/services/sql.service.d.ts +15 -0
- package/dist/platformUtility/services/sql.service.js +87 -0
- package/dist/platformUtility/services/sql.service.js.map +1 -0
- package/dist/platformUtility/services/sqs.service.d.ts +13 -0
- package/dist/platformUtility/services/sqs.service.js +79 -0
- package/dist/platformUtility/services/sqs.service.js.map +1 -0
- package/dist/platformUtility/services/startup.service.d.ts +10 -0
- package/dist/platformUtility/services/startup.service.js +37 -0
- package/dist/platformUtility/services/startup.service.js.map +1 -0
- package/dist/platformUtility/subscribers/base.subscriber.d.ts +11 -0
- package/dist/platformUtility/subscribers/base.subscriber.js +63 -0
- package/dist/platformUtility/subscribers/base.subscriber.js.map +1 -0
- package/dist/platformUtility/subscribers/index.d.ts +1 -0
- package/dist/platformUtility/subscribers/index.js +18 -0
- package/dist/platformUtility/subscribers/index.js.map +1 -0
- package/dist/security/entities/index.d.ts +4 -0
- package/dist/security/entities/index.js +21 -0
- package/dist/security/entities/index.js.map +1 -0
- package/dist/security/entities/permission.entity.d.ts +7 -0
- package/dist/security/entities/permission.entity.js +41 -0
- package/dist/security/entities/permission.entity.js.map +1 -0
- package/dist/security/entities/role.entity.d.ts +8 -0
- package/dist/security/entities/role.entity.js +46 -0
- package/dist/security/entities/role.entity.js.map +1 -0
- package/dist/security/entities/user.permission.entity.d.ts +12 -0
- package/dist/security/entities/user.permission.entity.js +56 -0
- package/dist/security/entities/user.permission.entity.js.map +1 -0
- package/dist/security/entities/user.role.entity.d.ts +12 -0
- package/dist/security/entities/user.role.entity.js +56 -0
- package/dist/security/entities/user.role.entity.js.map +1 -0
- package/dist/security/es6.classes.d.ts +7 -0
- package/dist/security/es6.classes.js +11 -0
- package/dist/security/es6.classes.js.map +1 -0
- package/dist/security/index.d.ts +2 -0
- package/dist/security/index.js +19 -0
- package/dist/security/index.js.map +1 -0
- package/dist/security/security.module.d.ts +2 -0
- package/dist/security/security.module.js +21 -0
- package/dist/security/security.module.js.map +1 -0
- package/dist/system/commands/db.scanner.command.d.ts +30 -0
- package/dist/system/commands/db.scanner.command.js +285 -0
- package/dist/system/commands/db.scanner.command.js.map +1 -0
- package/dist/system/commands/dynamo.scanner.command.d.ts +8 -0
- package/dist/system/commands/dynamo.scanner.command.js +42 -0
- package/dist/system/commands/dynamo.scanner.command.js.map +1 -0
- package/dist/system/commands/event.queue.command.d.ts +17 -0
- package/dist/system/commands/event.queue.command.js +83 -0
- package/dist/system/commands/event.queue.command.js.map +1 -0
- package/dist/system/commands/index.d.ts +8 -0
- package/dist/system/commands/index.js +25 -0
- package/dist/system/commands/index.js.map +1 -0
- package/dist/system/commands/jobs.scanner.command.d.ts +8 -0
- package/dist/system/commands/jobs.scanner.command.js +46 -0
- package/dist/system/commands/jobs.scanner.command.js.map +1 -0
- package/dist/system/commands/model.scanner.command.d.ts +10 -0
- package/dist/system/commands/model.scanner.command.js +58 -0
- package/dist/system/commands/model.scanner.command.js.map +1 -0
- package/dist/system/commands/report.scanner.command.d.ts +8 -0
- package/dist/system/commands/report.scanner.command.js +49 -0
- package/dist/system/commands/report.scanner.command.js.map +1 -0
- package/dist/system/commands/service.scanner.command.d.ts +9 -0
- package/dist/system/commands/service.scanner.command.js +47 -0
- package/dist/system/commands/service.scanner.command.js.map +1 -0
- package/dist/system/commands/sync.all.command.d.ts +18 -0
- package/dist/system/commands/sync.all.command.js +76 -0
- package/dist/system/commands/sync.all.command.js.map +1 -0
- package/dist/system/controllers/base.controller.d.ts +50 -0
- package/dist/system/controllers/base.controller.js +187 -0
- package/dist/system/controllers/base.controller.js.map +1 -0
- package/dist/system/controllers/data.controller.d.ts +9 -0
- package/dist/system/controllers/data.controller.js +60 -0
- package/dist/system/controllers/data.controller.js.map +1 -0
- package/dist/system/controllers/form.controller.d.ts +15 -0
- package/dist/system/controllers/form.controller.js +51 -0
- package/dist/system/controllers/form.controller.js.map +1 -0
- package/dist/system/controllers/index.d.ts +8 -0
- package/dist/system/controllers/index.js +25 -0
- package/dist/system/controllers/index.js.map +1 -0
- package/dist/system/controllers/menu.controller.d.ts +10 -0
- package/dist/system/controllers/menu.controller.js +47 -0
- package/dist/system/controllers/menu.controller.js.map +1 -0
- package/dist/system/controllers/preference.controller.d.ts +18 -0
- package/dist/system/controllers/preference.controller.js +149 -0
- package/dist/system/controllers/preference.controller.js.map +1 -0
- package/dist/system/controllers/report.controller.d.ts +22 -0
- package/dist/system/controllers/report.controller.js +117 -0
- package/dist/system/controllers/report.controller.js.map +1 -0
- package/dist/system/controllers/upload.controller.d.ts +8 -0
- package/dist/system/controllers/upload.controller.js +60 -0
- package/dist/system/controllers/upload.controller.js.map +1 -0
- package/dist/system/controllers/user.preference.controller.d.ts +9 -0
- package/dist/system/controllers/user.preference.controller.js +56 -0
- package/dist/system/controllers/user.preference.controller.js.map +1 -0
- package/dist/system/dtos/add.comment.dto.d.ts +6 -0
- package/dist/system/dtos/add.comment.dto.js +41 -0
- package/dist/system/dtos/add.comment.dto.js.map +1 -0
- package/dist/system/dtos/comment.attributes.dto.d.ts +3 -0
- package/dist/system/dtos/comment.attributes.dto.js +8 -0
- package/dist/system/dtos/comment.attributes.dto.js.map +1 -0
- package/dist/system/dtos/document.attributes.dto.d.ts +7 -0
- package/dist/system/dtos/document.attributes.dto.js +40 -0
- package/dist/system/dtos/document.attributes.dto.js.map +1 -0
- package/dist/system/dtos/file.upload.dto.d.ts +8 -0
- package/dist/system/dtos/file.upload.dto.js +48 -0
- package/dist/system/dtos/file.upload.dto.js.map +1 -0
- package/dist/system/dtos/file.upload.spec.dto.d.ts +10 -0
- package/dist/system/dtos/file.upload.spec.dto.js +7 -0
- package/dist/system/dtos/file.upload.spec.dto.js.map +1 -0
- package/dist/system/dtos/index.d.ts +18 -0
- package/dist/system/dtos/index.js +35 -0
- package/dist/system/dtos/index.js.map +1 -0
- package/dist/system/dtos/job.record.param.dto.d.ts +4 -0
- package/dist/system/dtos/job.record.param.dto.js +29 -0
- package/dist/system/dtos/job.record.param.dto.js.map +1 -0
- package/dist/system/dtos/local.file.s3.upload.dto.d.ts +6 -0
- package/dist/system/dtos/local.file.s3.upload.dto.js +33 -0
- package/dist/system/dtos/local.file.s3.upload.dto.js.map +1 -0
- package/dist/system/dtos/mail.validation.dto.d.ts +5 -0
- package/dist/system/dtos/mail.validation.dto.js +7 -0
- package/dist/system/dtos/mail.validation.dto.js.map +1 -0
- package/dist/system/dtos/menu.list.preference.creation.dto.d.ts +7 -0
- package/dist/system/dtos/menu.list.preference.creation.dto.js +39 -0
- package/dist/system/dtos/menu.list.preference.creation.dto.js.map +1 -0
- package/dist/system/dtos/mobile.validation.dto.d.ts +5 -0
- package/dist/system/dtos/mobile.validation.dto.js +7 -0
- package/dist/system/dtos/mobile.validation.dto.js.map +1 -0
- package/dist/system/dtos/model.allowed.column.dto.d.ts +5 -0
- package/dist/system/dtos/model.allowed.column.dto.js +7 -0
- package/dist/system/dtos/model.allowed.column.dto.js.map +1 -0
- package/dist/system/dtos/model.form.preference.creation.dto.d.ts +4 -0
- package/dist/system/dtos/model.form.preference.creation.dto.js +27 -0
- package/dist/system/dtos/model.form.preference.creation.dto.js.map +1 -0
- package/dist/system/dtos/otp.generation.dto.d.ts +5 -0
- package/dist/system/dtos/otp.generation.dto.js +25 -0
- package/dist/system/dtos/otp.generation.dto.js.map +1 -0
- package/dist/system/dtos/s3.object.info.dto.d.ts +4 -0
- package/dist/system/dtos/s3.object.info.dto.js +7 -0
- package/dist/system/dtos/s3.object.info.dto.js.map +1 -0
- package/dist/system/dtos/s3.upload.options.dto.d.ts +6 -0
- package/dist/system/dtos/s3.upload.options.dto.js +7 -0
- package/dist/system/dtos/s3.upload.options.dto.js.map +1 -0
- package/dist/system/dtos/sms.message.attributes.dto.d.ts +4 -0
- package/dist/system/dtos/sms.message.attributes.dto.js +8 -0
- package/dist/system/dtos/sms.message.attributes.dto.js.map +1 -0
- package/dist/system/dtos/user.preference.creation.dto.d.ts +4 -0
- package/dist/system/dtos/user.preference.creation.dto.js +25 -0
- package/dist/system/dtos/user.preference.creation.dto.js.map +1 -0
- package/dist/system/dtos/validation.options.dto.d.ts +4 -0
- package/dist/system/dtos/validation.options.dto.js +7 -0
- package/dist/system/dtos/validation.options.dto.js.map +1 -0
- package/dist/system/entities/business.rule.entity.d.ts +27 -0
- package/dist/system/entities/business.rule.entity.js +115 -0
- package/dist/system/entities/business.rule.entity.js.map +1 -0
- package/dist/system/entities/business.rule.role.entity.d.ts +10 -0
- package/dist/system/entities/business.rule.role.entity.js +45 -0
- package/dist/system/entities/business.rule.role.entity.js.map +1 -0
- package/dist/system/entities/chart.entity.d.ts +21 -0
- package/dist/system/entities/chart.entity.js +87 -0
- package/dist/system/entities/chart.entity.js.map +1 -0
- package/dist/system/entities/client.script.entity.d.ts +15 -0
- package/dist/system/entities/client.script.entity.js +65 -0
- package/dist/system/entities/client.script.entity.js.map +1 -0
- package/dist/system/entities/column.definition.entity.d.ts +7 -0
- package/dist/system/entities/column.definition.entity.js +41 -0
- package/dist/system/entities/column.definition.entity.js.map +1 -0
- package/dist/system/entities/column.entity.d.ts +21 -0
- package/dist/system/entities/column.entity.js +95 -0
- package/dist/system/entities/column.entity.js.map +1 -0
- package/dist/system/entities/comment.entity.d.ts +11 -0
- package/dist/system/entities/comment.entity.js +56 -0
- package/dist/system/entities/comment.entity.js.map +1 -0
- package/dist/system/entities/document.entity.d.ts +11 -0
- package/dist/system/entities/document.entity.js +48 -0
- package/dist/system/entities/document.entity.js.map +1 -0
- package/dist/system/entities/dynamo.table.entity.d.ts +10 -0
- package/dist/system/entities/dynamo.table.entity.js +47 -0
- package/dist/system/entities/dynamo.table.entity.js.map +1 -0
- package/dist/system/entities/email.template.entity.d.ts +9 -0
- package/dist/system/entities/email.template.entity.js +45 -0
- package/dist/system/entities/email.template.entity.js.map +1 -0
- package/dist/system/entities/event.detail.entity.d.ts +7 -0
- package/dist/system/entities/event.detail.entity.js +37 -0
- package/dist/system/entities/event.detail.entity.js.map +1 -0
- package/dist/system/entities/event.queue.entity.d.ts +14 -0
- package/dist/system/entities/event.queue.entity.js +63 -0
- package/dist/system/entities/event.queue.entity.js.map +1 -0
- package/dist/system/entities/form.column.entity.d.ts +10 -0
- package/dist/system/entities/form.column.entity.js +45 -0
- package/dist/system/entities/form.column.entity.js.map +1 -0
- package/dist/system/entities/form.entity.d.ts +17 -0
- package/dist/system/entities/form.entity.js +75 -0
- package/dist/system/entities/form.entity.js.map +1 -0
- package/dist/system/entities/form.preference.entity.d.ts +8 -0
- package/dist/system/entities/form.preference.entity.js +41 -0
- package/dist/system/entities/form.preference.entity.js.map +1 -0
- package/dist/system/entities/index.d.ts +57 -0
- package/dist/system/entities/index.js +74 -0
- package/dist/system/entities/index.js.map +1 -0
- package/dist/system/entities/list.preference.entity.d.ts +12 -0
- package/dist/system/entities/list.preference.entity.js +58 -0
- package/dist/system/entities/list.preference.entity.js.map +1 -0
- package/dist/system/entities/lookup.type.entity.d.ts +8 -0
- package/dist/system/entities/lookup.type.entity.js +41 -0
- package/dist/system/entities/lookup.type.entity.js.map +1 -0
- package/dist/system/entities/lookup.value.entity.d.ts +10 -0
- package/dist/system/entities/lookup.value.entity.js +51 -0
- package/dist/system/entities/lookup.value.entity.js.map +1 -0
- package/dist/system/entities/mail.log.entity.d.ts +12 -0
- package/dist/system/entities/mail.log.entity.js +57 -0
- package/dist/system/entities/mail.log.entity.js.map +1 -0
- package/dist/system/entities/mail.validation.entity.d.ts +13 -0
- package/dist/system/entities/mail.validation.entity.js +59 -0
- package/dist/system/entities/mail.validation.entity.js.map +1 -0
- package/dist/system/entities/menu.entity.d.ts +28 -0
- package/dist/system/entities/menu.entity.js +97 -0
- package/dist/system/entities/menu.entity.js.map +1 -0
- package/dist/system/entities/menu.role.entity.d.ts +10 -0
- package/dist/system/entities/menu.role.entity.js +48 -0
- package/dist/system/entities/menu.role.entity.js.map +1 -0
- package/dist/system/entities/mobile.validation.entity.d.ts +14 -0
- package/dist/system/entities/mobile.validation.entity.js +63 -0
- package/dist/system/entities/mobile.validation.entity.js.map +1 -0
- package/dist/system/entities/model.column.entity.d.ts +10 -0
- package/dist/system/entities/model.column.entity.js +45 -0
- package/dist/system/entities/model.column.entity.js.map +1 -0
- package/dist/system/entities/model.entity.d.ts +31 -0
- package/dist/system/entities/model.entity.js +120 -0
- package/dist/system/entities/model.entity.js.map +1 -0
- package/dist/system/entities/model.relationship.entity.d.ts +10 -0
- package/dist/system/entities/model.relationship.entity.js +45 -0
- package/dist/system/entities/model.relationship.entity.js.map +1 -0
- package/dist/system/entities/model.role.entity.d.ts +11 -0
- package/dist/system/entities/model.role.entity.js +49 -0
- package/dist/system/entities/model.role.entity.js.map +1 -0
- package/dist/system/entities/module.entity.d.ts +10 -0
- package/dist/system/entities/module.entity.js +49 -0
- package/dist/system/entities/module.entity.js.map +1 -0
- package/dist/system/entities/module.menu.entity.d.ts +11 -0
- package/dist/system/entities/module.menu.entity.js +52 -0
- package/dist/system/entities/module.menu.entity.js.map +1 -0
- package/dist/system/entities/open.property.entity.d.ts +7 -0
- package/dist/system/entities/open.property.entity.js +37 -0
- package/dist/system/entities/open.property.entity.js.map +1 -0
- package/dist/system/entities/page.definition.entity.d.ts +7 -0
- package/dist/system/entities/page.definition.entity.js +40 -0
- package/dist/system/entities/page.definition.entity.js.map +1 -0
- package/dist/system/entities/parent.menu.entity.d.ts +9 -0
- package/dist/system/entities/parent.menu.entity.js +47 -0
- package/dist/system/entities/parent.menu.entity.js.map +1 -0
- package/dist/system/entities/primary.axis.entity.d.ts +9 -0
- package/dist/system/entities/primary.axis.entity.js +43 -0
- package/dist/system/entities/primary.axis.entity.js.map +1 -0
- package/dist/system/entities/property.entity.d.ts +10 -0
- package/dist/system/entities/property.entity.js +53 -0
- package/dist/system/entities/property.entity.js.map +1 -0
- package/dist/system/entities/relationship.entity.d.ts +22 -0
- package/dist/system/entities/relationship.entity.js +98 -0
- package/dist/system/entities/relationship.entity.js.map +1 -0
- package/dist/system/entities/report.column.entity.d.ts +8 -0
- package/dist/system/entities/report.column.entity.js +39 -0
- package/dist/system/entities/report.column.entity.js.map +1 -0
- package/dist/system/entities/report.entity.d.ts +35 -0
- package/dist/system/entities/report.entity.js +117 -0
- package/dist/system/entities/report.entity.js.map +1 -0
- package/dist/system/entities/report.filter.entity.d.ts +19 -0
- package/dist/system/entities/report.filter.entity.js +79 -0
- package/dist/system/entities/report.filter.entity.js.map +1 -0
- package/dist/system/entities/report.param.entity.d.ts +12 -0
- package/dist/system/entities/report.param.entity.js +53 -0
- package/dist/system/entities/report.param.entity.js.map +1 -0
- package/dist/system/entities/report.relationship.entity.d.ts +10 -0
- package/dist/system/entities/report.relationship.entity.js +45 -0
- package/dist/system/entities/report.relationship.entity.js.map +1 -0
- package/dist/system/entities/report.role.entity.d.ts +10 -0
- package/dist/system/entities/report.role.entity.js +45 -0
- package/dist/system/entities/report.role.entity.js.map +1 -0
- package/dist/system/entities/scheduled.event.entity.d.ts +15 -0
- package/dist/system/entities/scheduled.event.entity.js +67 -0
- package/dist/system/entities/scheduled.event.entity.js.map +1 -0
- package/dist/system/entities/secondary.axis.entity.d.ts +10 -0
- package/dist/system/entities/secondary.axis.entity.js +47 -0
- package/dist/system/entities/secondary.axis.entity.js.map +1 -0
- package/dist/system/entities/security.rule.entity.d.ts +15 -0
- package/dist/system/entities/security.rule.entity.js +74 -0
- package/dist/system/entities/security.rule.entity.js.map +1 -0
- package/dist/system/entities/service.entity.d.ts +7 -0
- package/dist/system/entities/service.entity.js +37 -0
- package/dist/system/entities/service.entity.js.map +1 -0
- package/dist/system/entities/sms.message.entity.d.ts +18 -0
- package/dist/system/entities/sms.message.entity.js +74 -0
- package/dist/system/entities/sms.message.entity.js.map +1 -0
- package/dist/system/entities/sms.template.entity.d.ts +13 -0
- package/dist/system/entities/sms.template.entity.js +59 -0
- package/dist/system/entities/sms.template.entity.js.map +1 -0
- package/dist/system/entities/system.script.entity.d.ts +11 -0
- package/dist/system/entities/system.script.entity.js +55 -0
- package/dist/system/entities/system.script.entity.js.map +1 -0
- package/dist/system/entities/ui.action.entity.d.ts +29 -0
- package/dist/system/entities/ui.action.entity.js +116 -0
- package/dist/system/entities/ui.action.entity.js.map +1 -0
- package/dist/system/entities/ui.action.permission.entity.d.ts +10 -0
- package/dist/system/entities/ui.action.permission.entity.js +45 -0
- package/dist/system/entities/ui.action.permission.entity.js.map +1 -0
- package/dist/system/entities/ui.action.role.entity.d.ts +10 -0
- package/dist/system/entities/ui.action.role.entity.js +45 -0
- package/dist/system/entities/ui.action.role.entity.js.map +1 -0
- package/dist/system/entities/user.group.entity.d.ts +15 -0
- package/dist/system/entities/user.group.entity.js +66 -0
- package/dist/system/entities/user.group.entity.js.map +1 -0
- package/dist/system/entities/user.group.member.entity.d.ts +10 -0
- package/dist/system/entities/user.group.member.entity.js +45 -0
- package/dist/system/entities/user.group.member.entity.js.map +1 -0
- package/dist/system/entities/user.group.permission.entity.d.ts +6 -0
- package/dist/system/entities/user.group.permission.entity.js +33 -0
- package/dist/system/entities/user.group.permission.entity.js.map +1 -0
- package/dist/system/entities/user.group.role.entity.d.ts +10 -0
- package/dist/system/entities/user.group.role.entity.js +45 -0
- package/dist/system/entities/user.group.role.entity.js.map +1 -0
- package/dist/system/entities/user.preference.entity.d.ts +7 -0
- package/dist/system/entities/user.preference.entity.js +40 -0
- package/dist/system/entities/user.preference.entity.js.map +1 -0
- package/dist/system/entities/whatsapp.template.entity.d.ts +7 -0
- package/dist/system/entities/whatsapp.template.entity.js +37 -0
- package/dist/system/entities/whatsapp.template.entity.js.map +1 -0
- package/dist/system/es6.classes.d.ts +155 -0
- package/dist/system/es6.classes.js +320 -0
- package/dist/system/es6.classes.js.map +1 -0
- package/dist/system/index.d.ts +10 -0
- package/dist/system/index.js +27 -0
- package/dist/system/index.js.map +1 -0
- package/dist/system/jobs/clean.scheduled.event.job.d.ts +12 -0
- package/dist/system/jobs/clean.scheduled.event.job.js +37 -0
- package/dist/system/jobs/clean.scheduled.event.job.js.map +1 -0
- package/dist/system/jobs/column.mapper.job.d.ts +11 -0
- package/dist/system/jobs/column.mapper.job.js +65 -0
- package/dist/system/jobs/column.mapper.job.js.map +1 -0
- package/dist/system/jobs/comment.job.d.ts +10 -0
- package/dist/system/jobs/comment.job.js +45 -0
- package/dist/system/jobs/comment.job.js.map +1 -0
- package/dist/system/jobs/document.job.d.ts +10 -0
- package/dist/system/jobs/document.job.js +45 -0
- package/dist/system/jobs/document.job.js.map +1 -0
- package/dist/system/jobs/index.d.ts +17 -0
- package/dist/system/jobs/index.js +34 -0
- package/dist/system/jobs/index.js.map +1 -0
- package/dist/system/jobs/mail.validation.job.d.ts +9 -0
- package/dist/system/jobs/mail.validation.job.js +28 -0
- package/dist/system/jobs/mail.validation.job.js.map +1 -0
- package/dist/system/jobs/mobile.validation.job.d.ts +9 -0
- package/dist/system/jobs/mobile.validation.job.js +28 -0
- package/dist/system/jobs/mobile.validation.job.js.map +1 -0
- package/dist/system/jobs/model.scanner.job.d.ts +20 -0
- package/dist/system/jobs/model.scanner.job.js +220 -0
- package/dist/system/jobs/model.scanner.job.js.map +1 -0
- package/dist/system/jobs/property.job.d.ts +10 -0
- package/dist/system/jobs/property.job.js +32 -0
- package/dist/system/jobs/property.job.js.map +1 -0
- package/dist/system/jobs/refresh.property.cache.job.d.ts +10 -0
- package/dist/system/jobs/refresh.property.cache.job.js +44 -0
- package/dist/system/jobs/refresh.property.cache.job.js.map +1 -0
- package/dist/system/jobs/relationship.mapper.job.d.ts +11 -0
- package/dist/system/jobs/relationship.mapper.job.js +60 -0
- package/dist/system/jobs/relationship.mapper.job.js.map +1 -0
- package/dist/system/jobs/report.column.sync.job.d.ts +18 -0
- package/dist/system/jobs/report.column.sync.job.js +133 -0
- package/dist/system/jobs/report.column.sync.job.js.map +1 -0
- package/dist/system/jobs/scheduled.event.job.d.ts +11 -0
- package/dist/system/jobs/scheduled.event.job.js +48 -0
- package/dist/system/jobs/scheduled.event.job.js.map +1 -0
- package/dist/system/jobs/scheduled.events.job.d.ts +10 -0
- package/dist/system/jobs/scheduled.events.job.js +43 -0
- package/dist/system/jobs/scheduled.events.job.js.map +1 -0
- package/dist/system/jobs/sms.message.job.d.ts +12 -0
- package/dist/system/jobs/sms.message.job.js +39 -0
- package/dist/system/jobs/sms.message.job.js.map +1 -0
- package/dist/system/jobs/user.group.member.job.d.ts +14 -0
- package/dist/system/jobs/user.group.member.job.js +101 -0
- package/dist/system/jobs/user.group.member.job.js.map +1 -0
- package/dist/system/jobs/user.group.permission.job.d.ts +10 -0
- package/dist/system/jobs/user.group.permission.job.js +59 -0
- package/dist/system/jobs/user.group.permission.job.js.map +1 -0
- package/dist/system/jobs/user.group.role.job.d.ts +10 -0
- package/dist/system/jobs/user.group.role.job.js +59 -0
- package/dist/system/jobs/user.group.role.job.js.map +1 -0
- package/dist/system/libraries/business.rule.filter.validator.d.ts +10 -0
- package/dist/system/libraries/business.rule.filter.validator.js +37 -0
- package/dist/system/libraries/business.rule.filter.validator.js.map +1 -0
- package/dist/system/libraries/business.rule.query.evaluator.d.ts +10 -0
- package/dist/system/libraries/business.rule.query.evaluator.js +40 -0
- package/dist/system/libraries/business.rule.query.evaluator.js.map +1 -0
- package/dist/system/libraries/column.manager.d.ts +17 -0
- package/dist/system/libraries/column.manager.js +70 -0
- package/dist/system/libraries/column.manager.js.map +1 -0
- package/dist/system/libraries/index.d.ts +6 -0
- package/dist/system/libraries/index.js +23 -0
- package/dist/system/libraries/index.js.map +1 -0
- package/dist/system/libraries/model.sync.d.ts +15 -0
- package/dist/system/libraries/model.sync.js +101 -0
- package/dist/system/libraries/model.sync.js.map +1 -0
- package/dist/system/libraries/security.rule.evaluator.d.ts +6 -0
- package/dist/system/libraries/security.rule.evaluator.js +26 -0
- package/dist/system/libraries/security.rule.evaluator.js.map +1 -0
- package/dist/system/libraries/sync.dynamo.tables.d.ts +12 -0
- package/dist/system/libraries/sync.dynamo.tables.js +64 -0
- package/dist/system/libraries/sync.dynamo.tables.js.map +1 -0
- package/dist/system/modifiers/index.d.ts +2 -0
- package/dist/system/modifiers/index.js +19 -0
- package/dist/system/modifiers/index.js.map +1 -0
- package/dist/system/modifiers/menu.list.modifier.d.ts +9 -0
- package/dist/system/modifiers/menu.list.modifier.js +45 -0
- package/dist/system/modifiers/menu.list.modifier.js.map +1 -0
- package/dist/system/modifiers/module.list.modifier.d.ts +8 -0
- package/dist/system/modifiers/module.list.modifier.js +37 -0
- package/dist/system/modifiers/module.list.modifier.js.map +1 -0
- package/dist/system/services/aws.s3.service.d.ts +22 -0
- package/dist/system/services/aws.s3.service.js +140 -0
- package/dist/system/services/aws.s3.service.js.map +1 -0
- package/dist/system/services/business.rule.service.d.ts +11 -0
- package/dist/system/services/business.rule.service.js +62 -0
- package/dist/system/services/business.rule.service.js.map +1 -0
- package/dist/system/services/client.script.service.d.ts +3 -0
- package/dist/system/services/client.script.service.js +39 -0
- package/dist/system/services/client.script.service.js.map +1 -0
- package/dist/system/services/column.service.d.ts +4 -0
- package/dist/system/services/column.service.js +33 -0
- package/dist/system/services/column.service.js.map +1 -0
- package/dist/system/services/comment.service.d.ts +12 -0
- package/dist/system/services/comment.service.js +35 -0
- package/dist/system/services/comment.service.js.map +1 -0
- package/dist/system/services/common.service.d.ts +12 -0
- package/dist/system/services/common.service.js +62 -0
- package/dist/system/services/common.service.js.map +1 -0
- package/dist/system/services/document.service.d.ts +13 -0
- package/dist/system/services/document.service.js +55 -0
- package/dist/system/services/document.service.js.map +1 -0
- package/dist/system/services/es6.jobs.service.d.ts +40 -0
- package/dist/system/services/es6.jobs.service.js +101 -0
- package/dist/system/services/es6.jobs.service.js.map +1 -0
- package/dist/system/services/es6.service.d.ts +50 -0
- package/dist/system/services/es6.service.js +123 -0
- package/dist/system/services/es6.service.js.map +1 -0
- package/dist/system/services/event.detail.service.d.ts +4 -0
- package/dist/system/services/event.detail.service.js +32 -0
- package/dist/system/services/event.detail.service.js.map +1 -0
- package/dist/system/services/event.queue.service.d.ts +5 -0
- package/dist/system/services/event.queue.service.js +47 -0
- package/dist/system/services/event.queue.service.js.map +1 -0
- package/dist/system/services/form.service.d.ts +7 -0
- package/dist/system/services/form.service.js +35 -0
- package/dist/system/services/form.service.js.map +1 -0
- package/dist/system/services/index.d.ts +23 -0
- package/dist/system/services/index.js +40 -0
- package/dist/system/services/index.js.map +1 -0
- package/dist/system/services/list.service.d.ts +37 -0
- package/dist/system/services/list.service.js +73 -0
- package/dist/system/services/list.service.js.map +1 -0
- package/dist/system/services/mail.validation.service.d.ts +14 -0
- package/dist/system/services/mail.validation.service.js +84 -0
- package/dist/system/services/mail.validation.service.js.map +1 -0
- package/dist/system/services/menu.service.d.ts +19 -0
- package/dist/system/services/menu.service.js +113 -0
- package/dist/system/services/menu.service.js.map +1 -0
- package/dist/system/services/mobile.validation.service.d.ts +14 -0
- package/dist/system/services/mobile.validation.service.js +88 -0
- package/dist/system/services/mobile.validation.service.js.map +1 -0
- package/dist/system/services/model.service.d.ts +21 -0
- package/dist/system/services/model.service.js +119 -0
- package/dist/system/services/model.service.js.map +1 -0
- package/dist/system/services/preference.service.d.ts +10 -0
- package/dist/system/services/preference.service.js +64 -0
- package/dist/system/services/preference.service.js.map +1 -0
- package/dist/system/services/property.service.d.ts +9 -0
- package/dist/system/services/property.service.js +63 -0
- package/dist/system/services/property.service.js.map +1 -0
- package/dist/system/services/report.service.d.ts +12 -0
- package/dist/system/services/report.service.js +58 -0
- package/dist/system/services/report.service.js.map +1 -0
- package/dist/system/services/scheduled.event.service.d.ts +10 -0
- package/dist/system/services/scheduled.event.service.js +104 -0
- package/dist/system/services/scheduled.event.service.js.map +1 -0
- package/dist/system/services/security.rule.service.d.ts +12 -0
- package/dist/system/services/security.rule.service.js +90 -0
- package/dist/system/services/security.rule.service.js.map +1 -0
- package/dist/system/services/ui.action.service.d.ts +9 -0
- package/dist/system/services/ui.action.service.js +56 -0
- package/dist/system/services/ui.action.service.js.map +1 -0
- package/dist/system/services/upload.service.d.ts +16 -0
- package/dist/system/services/upload.service.js +75 -0
- package/dist/system/services/upload.service.js.map +1 -0
- package/dist/system/services/user.preference.service.d.ts +11 -0
- package/dist/system/services/user.preference.service.js +76 -0
- package/dist/system/services/user.preference.service.js.map +1 -0
- package/dist/system/subscribers/column.subscriber.d.ts +12 -0
- package/dist/system/subscribers/column.subscriber.js +39 -0
- package/dist/system/subscribers/column.subscriber.js.map +1 -0
- package/dist/system/subscribers/comment.subscriber.d.ts +12 -0
- package/dist/system/subscribers/comment.subscriber.js +39 -0
- package/dist/system/subscribers/comment.subscriber.js.map +1 -0
- package/dist/system/subscribers/document.subscriber.d.ts +12 -0
- package/dist/system/subscribers/document.subscriber.js +39 -0
- package/dist/system/subscribers/document.subscriber.js.map +1 -0
- package/dist/system/subscribers/index.d.ts +12 -0
- package/dist/system/subscribers/index.js +29 -0
- package/dist/system/subscribers/index.js.map +1 -0
- package/dist/system/subscribers/mail.validation.subscriber.d.ts +12 -0
- package/dist/system/subscribers/mail.validation.subscriber.js +39 -0
- package/dist/system/subscribers/mail.validation.subscriber.js.map +1 -0
- package/dist/system/subscribers/mobile.validation.subscriber.d.ts +12 -0
- package/dist/system/subscribers/mobile.validation.subscriber.js +39 -0
- package/dist/system/subscribers/mobile.validation.subscriber.js.map +1 -0
- package/dist/system/subscribers/property.subscriber.d.ts +14 -0
- package/dist/system/subscribers/property.subscriber.js +48 -0
- package/dist/system/subscribers/property.subscriber.js.map +1 -0
- package/dist/system/subscribers/relationship.subscriber.d.ts +11 -0
- package/dist/system/subscribers/relationship.subscriber.js +37 -0
- package/dist/system/subscribers/relationship.subscriber.js.map +1 -0
- package/dist/system/subscribers/scheduled.event.subscriber.d.ts +14 -0
- package/dist/system/subscribers/scheduled.event.subscriber.js +45 -0
- package/dist/system/subscribers/scheduled.event.subscriber.js.map +1 -0
- package/dist/system/subscribers/sms.message.subscriber.d.ts +12 -0
- package/dist/system/subscribers/sms.message.subscriber.js +39 -0
- package/dist/system/subscribers/sms.message.subscriber.js.map +1 -0
- package/dist/system/subscribers/user.group.member.subscriber.d.ts +12 -0
- package/dist/system/subscribers/user.group.member.subscriber.js +39 -0
- package/dist/system/subscribers/user.group.member.subscriber.js.map +1 -0
- package/dist/system/subscribers/user.group.permission.subscriber.d.ts +12 -0
- package/dist/system/subscribers/user.group.permission.subscriber.js +39 -0
- package/dist/system/subscribers/user.group.permission.subscriber.js.map +1 -0
- package/dist/system/subscribers/user.group.role.subscriber.d.ts +12 -0
- package/dist/system/subscribers/user.group.role.subscriber.js +39 -0
- package/dist/system/subscribers/user.group.role.subscriber.js.map +1 -0
- package/dist/system/system.module.d.ts +2 -0
- package/dist/system/system.module.js +26 -0
- package/dist/system/system.module.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/dist/worker.d.ts +1 -0
- package/dist/worker.js +16 -0
- package/dist/worker.js.map +1 -0
- package/dist/worker.service.d.ts +11 -0
- package/dist/worker.service.js +39 -0
- package/dist/worker.service.js.map +1 -0
- package/package.json +1 -1
@@ -0,0 +1,187 @@
|
|
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
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
13
|
+
};
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
15
|
+
exports.BaseController = void 0;
|
16
|
+
const common_1 = require("@nestjs/common");
|
17
|
+
const class_transformer_1 = require("class-transformer");
|
18
|
+
const operation_exception_1 = require("../../common/exceptions/operation.exception");
|
19
|
+
const generic_index_parser_1 = require("../../common/libraries/generic.index.parser");
|
20
|
+
const generic_show_parser_1 = require("../../common/libraries/generic.show.parser");
|
21
|
+
const client_script_service_1 = require("../../system/services/client.script.service");
|
22
|
+
const list_service_1 = require("../../system/services/list.service");
|
23
|
+
const model_service_1 = require("../../system/services/model.service");
|
24
|
+
const preference_service_1 = require("../../system/services/preference.service");
|
25
|
+
const audit_service_1 = require("./../../platformUtility/services/audit.service");
|
26
|
+
const local_property_service_1 = require("./../../platformUtility/services/local.property.service");
|
27
|
+
let BaseController = class BaseController {
|
28
|
+
constructor(listService, modelService, preferenceService, clientScriptService, auditService, localPropertyService) {
|
29
|
+
this.listService = listService;
|
30
|
+
this.modelService = modelService;
|
31
|
+
this.preferenceService = preferenceService;
|
32
|
+
this.clientScriptService = clientScriptService;
|
33
|
+
this.auditService = auditService;
|
34
|
+
this.localPropertyService = localPropertyService;
|
35
|
+
}
|
36
|
+
async get(hash, query) {
|
37
|
+
const params = new generic_index_parser_1.GenericIndexParser(query).process();
|
38
|
+
params.model = await this.modelService.validateHashAccess(hash, 'r');
|
39
|
+
params.hash = params.model.model_hash;
|
40
|
+
return this.listService.index(params);
|
41
|
+
}
|
42
|
+
async create(hash) {
|
43
|
+
const model = await this.modelService.validateHashAccess(hash, 'a');
|
44
|
+
const data = {
|
45
|
+
model,
|
46
|
+
form_layouts: await this.preferenceService.getModelFormPreferences(model.id),
|
47
|
+
client_scripts: await this.clientScriptService.getClientScripts(model.table_name),
|
48
|
+
dictionary: {},
|
49
|
+
};
|
50
|
+
const columns = await this.modelService.getDictionary(model, 'a');
|
51
|
+
data.dictionary[model.name.toLowerCase()] = columns.allowed;
|
52
|
+
return data;
|
53
|
+
}
|
54
|
+
async show(param, query) {
|
55
|
+
if (isNaN(param.id))
|
56
|
+
throw new operation_exception_1.OperationException('Invalid id');
|
57
|
+
const options = new generic_show_parser_1.GenericShowParser(query).process();
|
58
|
+
options.model = await this.modelService.validateHashAccess(param.hash, 'r');
|
59
|
+
options.hash = options.model.model_hash;
|
60
|
+
return this.listService.show(param.id, options);
|
61
|
+
}
|
62
|
+
async store(hash, body) {
|
63
|
+
const model = await this.modelService.validateHashAccess(hash, 'a');
|
64
|
+
const entityObject = this.getEntityFromHash(model.model_hash);
|
65
|
+
const record = (0, class_transformer_1.plainToInstance)(entityObject, body);
|
66
|
+
await record.save();
|
67
|
+
return record;
|
68
|
+
}
|
69
|
+
async edit(hash, id) {
|
70
|
+
const model = await this.modelService.validateHashAccess(hash, 'e');
|
71
|
+
const entityObject = this.getEntityFromHash(model.model_hash);
|
72
|
+
const data = await entityObject.first(id);
|
73
|
+
const response = {
|
74
|
+
data,
|
75
|
+
model,
|
76
|
+
form_layouts: await this.preferenceService.getModelFormPreferences(model.id),
|
77
|
+
client_scripts: await this.clientScriptService.getClientScripts(model.table_name),
|
78
|
+
dictionary: {},
|
79
|
+
};
|
80
|
+
const columns = await this.modelService.getDictionary(model, 'e', data);
|
81
|
+
response.dictionary[model.name.toLowerCase()] = columns.allowed;
|
82
|
+
return response;
|
83
|
+
}
|
84
|
+
async logs(hash, id) {
|
85
|
+
const model = await this.modelService.validateHashAccess(hash, 'e');
|
86
|
+
return this.auditService.getAuditLogs(model, id);
|
87
|
+
}
|
88
|
+
async update(hash, id, body) {
|
89
|
+
const model = await this.modelService.validateHashAccess(hash, 'e');
|
90
|
+
const entityObject = this.getEntityFromHash(model.model_hash);
|
91
|
+
let record = await entityObject.first(id);
|
92
|
+
if (!record)
|
93
|
+
throw new operation_exception_1.OperationException('No record with the given id exists');
|
94
|
+
record = (0, class_transformer_1.plainToClassFromExist)(record, body);
|
95
|
+
await record.save();
|
96
|
+
return record;
|
97
|
+
}
|
98
|
+
async delete(hash, id) {
|
99
|
+
const model = await this.modelService.validateHashAccess(hash, 'd');
|
100
|
+
const entityObject = this.getEntityFromHash(model.model_hash);
|
101
|
+
const record = await entityObject.first(id);
|
102
|
+
if (!record)
|
103
|
+
throw new operation_exception_1.OperationException('No record with the given id exists');
|
104
|
+
await record.softDelete();
|
105
|
+
}
|
106
|
+
getEntityFromHash(hash) {
|
107
|
+
const entityObject = this.localPropertyService.getEntity(hash);
|
108
|
+
if (!entityObject)
|
109
|
+
throw new operation_exception_1.OperationException('Entity does not exist in the system');
|
110
|
+
return entityObject;
|
111
|
+
}
|
112
|
+
};
|
113
|
+
exports.BaseController = BaseController;
|
114
|
+
__decorate([
|
115
|
+
(0, common_1.Get)(),
|
116
|
+
__param(0, (0, common_1.Param)('hash')),
|
117
|
+
__param(1, (0, common_1.Query)()),
|
118
|
+
__metadata("design:type", Function),
|
119
|
+
__metadata("design:paramtypes", [String, Object]),
|
120
|
+
__metadata("design:returntype", Promise)
|
121
|
+
], BaseController.prototype, "get", null);
|
122
|
+
__decorate([
|
123
|
+
(0, common_1.Get)('create'),
|
124
|
+
__param(0, (0, common_1.Param)('hash')),
|
125
|
+
__metadata("design:type", Function),
|
126
|
+
__metadata("design:paramtypes", [String]),
|
127
|
+
__metadata("design:returntype", Promise)
|
128
|
+
], BaseController.prototype, "create", null);
|
129
|
+
__decorate([
|
130
|
+
(0, common_1.Get)('/:id'),
|
131
|
+
__param(0, (0, common_1.Param)()),
|
132
|
+
__param(1, (0, common_1.Query)()),
|
133
|
+
__metadata("design:type", Function),
|
134
|
+
__metadata("design:paramtypes", [Object, Object]),
|
135
|
+
__metadata("design:returntype", Promise)
|
136
|
+
], BaseController.prototype, "show", null);
|
137
|
+
__decorate([
|
138
|
+
(0, common_1.Post)(),
|
139
|
+
__param(0, (0, common_1.Param)('hash')),
|
140
|
+
__param(1, (0, common_1.Body)()),
|
141
|
+
__metadata("design:type", Function),
|
142
|
+
__metadata("design:paramtypes", [String, Object]),
|
143
|
+
__metadata("design:returntype", Promise)
|
144
|
+
], BaseController.prototype, "store", null);
|
145
|
+
__decorate([
|
146
|
+
(0, common_1.Get)(':id/edit'),
|
147
|
+
__param(0, (0, common_1.Param)('hash')),
|
148
|
+
__param(1, (0, common_1.Param)('id')),
|
149
|
+
__metadata("design:type", Function),
|
150
|
+
__metadata("design:paramtypes", [String, Number]),
|
151
|
+
__metadata("design:returntype", Promise)
|
152
|
+
], BaseController.prototype, "edit", null);
|
153
|
+
__decorate([
|
154
|
+
(0, common_1.Get)(':id/audit-log'),
|
155
|
+
__param(0, (0, common_1.Param)('hash')),
|
156
|
+
__param(1, (0, common_1.Param)('id')),
|
157
|
+
__metadata("design:type", Function),
|
158
|
+
__metadata("design:paramtypes", [String, Number]),
|
159
|
+
__metadata("design:returntype", Promise)
|
160
|
+
], BaseController.prototype, "logs", null);
|
161
|
+
__decorate([
|
162
|
+
(0, common_1.Put)(':id'),
|
163
|
+
__param(0, (0, common_1.Param)('hash')),
|
164
|
+
__param(1, (0, common_1.Param)('id')),
|
165
|
+
__param(2, (0, common_1.Body)()),
|
166
|
+
__metadata("design:type", Function),
|
167
|
+
__metadata("design:paramtypes", [String, Number, Object]),
|
168
|
+
__metadata("design:returntype", Promise)
|
169
|
+
], BaseController.prototype, "update", null);
|
170
|
+
__decorate([
|
171
|
+
(0, common_1.Delete)(':id'),
|
172
|
+
__param(0, (0, common_1.Param)('hash')),
|
173
|
+
__param(1, (0, common_1.Param)('id')),
|
174
|
+
__metadata("design:type", Function),
|
175
|
+
__metadata("design:paramtypes", [String, Number]),
|
176
|
+
__metadata("design:returntype", Promise)
|
177
|
+
], BaseController.prototype, "delete", null);
|
178
|
+
exports.BaseController = BaseController = __decorate([
|
179
|
+
(0, common_1.Controller)('api/record/:hash'),
|
180
|
+
__metadata("design:paramtypes", [list_service_1.ListService,
|
181
|
+
model_service_1.ModelService,
|
182
|
+
preference_service_1.PreferenceService,
|
183
|
+
client_script_service_1.ClientScriptService,
|
184
|
+
audit_service_1.AuditService,
|
185
|
+
local_property_service_1.LocalPropertyService])
|
186
|
+
], BaseController);
|
187
|
+
//# sourceMappingURL=base.controller.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.controller.js","sourceRoot":"","sources":["../../../src/system/controllers/base.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAwF;AACxF,yDAA2E;AAC3E,qFAAiF;AACjF,sFAAiF;AACjF,oFAA+E;AAC/E,uFAAkF;AAClF,qEAAiE;AACjE,uEAAmE;AACnE,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GAAE,CAAA;IAAc,WAAA,IAAA,cAAK,GAAE,CAAA;;;;0CAQvC;AAGK;IADL,IAAA,aAAI,GAAE;IACM,WAAA,IAAA,cAAK,EAAC,MAAM,CAAC,CAAA;IAAgB,WAAA,IAAA,aAAI,GAAE,CAAA;;;;2CAU/C;AAGK;IADL,IAAA,YAAG,EAAC,UAAU,CAAC;IACJ,WAAA,IAAA,cAAK,EAAC,MAAM,CAAC,CAAA;IAAgB,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;0CAiBnD;AAUK;IADL,IAAA,YAAG,EAAC,eAAe,CAAC;IACT,WAAA,IAAA,cAAK,EAAC,MAAM,CAAC,CAAA;IAAgB,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;0CAInD;AAGK;IADL,IAAA,YAAG,EAAC,KAAK,CAAC;IACG,WAAA,IAAA,cAAK,EAAC,MAAM,CAAC,CAAA;IAAgB,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;IAAc,WAAA,IAAA,aAAI,GAAE,CAAA;;;;4CAazE;AAGK;IADL,IAAA,eAAM,EAAC,KAAK,CAAC;IACA,WAAA,IAAA,cAAK,EAAC,MAAM,CAAC,CAAA;IAAgB,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;4CASrD;yBAxHQ,cAAc;IAD1B,IAAA,mBAAU,EAAC,kBAAkB,CAAC;qCAGO,0BAAW;QACV,4BAAY;QACP,sCAAiB;QACf,2CAAmB;QAC1B,4BAAY;QACJ,6CAAoB;GAPtD,cAAc,CAuI1B"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { LocalPropertyService } from './../../platformUtility/services/local.property.service';
|
2
|
+
import { ModelService } from './../../system/services/model.service';
|
3
|
+
export declare class DataController {
|
4
|
+
private readonly modelService;
|
5
|
+
private readonly localPropertyService;
|
6
|
+
constructor(modelService: ModelService, localPropertyService: LocalPropertyService);
|
7
|
+
index(hash: string, query: any): Promise<any>;
|
8
|
+
show(hash: string, id: number, query: any): Promise<any>;
|
9
|
+
}
|
@@ -0,0 +1,60 @@
|
|
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
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
13
|
+
};
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
15
|
+
exports.DataController = void 0;
|
16
|
+
const common_1 = require("@nestjs/common");
|
17
|
+
const index_params_dto_1 = require("../../common/dtos/index.params.dto");
|
18
|
+
const local_property_service_1 = require("./../../platformUtility/services/local.property.service");
|
19
|
+
const model_service_1 = require("./../../system/services/model.service");
|
20
|
+
let DataController = class DataController {
|
21
|
+
constructor(modelService, localPropertyService) {
|
22
|
+
this.modelService = modelService;
|
23
|
+
this.localPropertyService = localPropertyService;
|
24
|
+
}
|
25
|
+
async index(hash, query) {
|
26
|
+
const model = await this.modelService.validateHashAccess(hash, 'r');
|
27
|
+
const entity = this.localPropertyService.getEntity(model.model_hash);
|
28
|
+
const options = new index_params_dto_1.IndexParamsDto(query).getOptions();
|
29
|
+
return entity.find(options);
|
30
|
+
}
|
31
|
+
async show(hash, id, query) {
|
32
|
+
const model = await this.modelService.validateHashAccess(hash, 'r');
|
33
|
+
const entity = this.localPropertyService.getEntity(model.model_hash);
|
34
|
+
const options = new index_params_dto_1.IndexParamsDto(query).getOptions();
|
35
|
+
return entity.first(id, options);
|
36
|
+
}
|
37
|
+
};
|
38
|
+
exports.DataController = DataController;
|
39
|
+
__decorate([
|
40
|
+
(0, common_1.Get)(),
|
41
|
+
__param(0, (0, common_1.Param)('hash')),
|
42
|
+
__param(1, (0, common_1.Query)()),
|
43
|
+
__metadata("design:type", Function),
|
44
|
+
__metadata("design:paramtypes", [String, Object]),
|
45
|
+
__metadata("design:returntype", Promise)
|
46
|
+
], DataController.prototype, "index", null);
|
47
|
+
__decorate([
|
48
|
+
(0, common_1.Get)('/:id'),
|
49
|
+
__param(0, (0, common_1.Param)('hash')),
|
50
|
+
__param(1, (0, common_1.Param)('id')),
|
51
|
+
__param(2, (0, common_1.Query)()),
|
52
|
+
__metadata("design:type", Function),
|
53
|
+
__metadata("design:paramtypes", [String, Number, Object]),
|
54
|
+
__metadata("design:returntype", Promise)
|
55
|
+
], DataController.prototype, "show", null);
|
56
|
+
exports.DataController = DataController = __decorate([
|
57
|
+
(0, common_1.Controller)('api/data/:hash'),
|
58
|
+
__metadata("design:paramtypes", [model_service_1.ModelService, local_property_service_1.LocalPropertyService])
|
59
|
+
], DataController);
|
60
|
+
//# sourceMappingURL=data.controller.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"data.controller.js","sourceRoot":"","sources":["../../../src/system/controllers/data.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA+D;AAC/D,yEAAoE;AACpE,oGAA+F;AAC/F,yEAAqE;AAG9D,IAAM,cAAc,GAApB,MAAM,cAAc;IACvB,YAA6B,YAA0B,EAAmB,oBAA0C;QAAvF,iBAAY,GAAZ,YAAY,CAAc;QAAmB,yBAAoB,GAApB,oBAAoB,CAAsB;IAAG,CAAC;IAElH,AAAN,KAAK,CAAC,KAAK,CAAgB,IAAY,EAAW,KAAU;QACxD,MAAM,K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ntity } from '../entities';
|
2
|
+
import { FormService } from '../services/form.service';
|
3
|
+
import { PreferenceService } from '../services/preference.service';
|
4
|
+
import { ClientScriptEntity } from './../entities/client.script.entity';
|
5
|
+
export declare class FormController {
|
6
|
+
private readonly formService;
|
7
|
+
private readonly preferenceService;
|
8
|
+
constructor(formService: FormService, preferenceService: PreferenceService);
|
9
|
+
show(id: number): Promise<{
|
10
|
+
form: FormEntity;
|
11
|
+
form_layouts: import("../entities").FormPreferenceEntity[];
|
12
|
+
client_scripts: ClientScriptEntity[];
|
13
|
+
dictionary: {};
|
14
|
+
}>;
|
15
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
+
};
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
|
+
};
|
11
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
13
|
+
};
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
15
|
+
exports.FormController = void 0;
|
16
|
+
const common_1 = require("@nestjs/common");
|
17
|
+
const entities_1 = require("../entities");
|
18
|
+
const form_service_1 = require("../services/form.service");
|
19
|
+
const preference_service_1 = require("../services/preference.service");
|
20
|
+
const client_script_entity_1 = require("./../entities/client.script.entity");
|
21
|
+
const SOURCEHASH = require("../../config/source.hash");
|
22
|
+
let FormController = class FormController {
|
23
|
+
constructor(formService, preferenceService) {
|
24
|
+
this.formService = formService;
|
25
|
+
this.preferenceService = preferenceService;
|
26
|
+
}
|
27
|
+
async show(id) {
|
28
|
+
const form = await entities_1.FormEntity.first(id);
|
29
|
+
const dictionary = {};
|
30
|
+
dictionary[form.identifier] = await this.formService.getDictionary(form);
|
31
|
+
const form_layouts = await this.preferenceService.getFormPreferences(SOURCEHASH.form, form.id);
|
32
|
+
const client_scripts = await client_script_entity_1.ClientScriptEntity.find({
|
33
|
+
where: { source_type: SOURCEHASH.form, source_id: form.id, active: true },
|
34
|
+
relations: ['script'],
|
35
|
+
});
|
36
|
+
return { form, form_layouts, client_scripts, dictionary };
|
37
|
+
}
|
38
|
+
};
|
39
|
+
exports.FormController = FormController;
|
40
|
+
__decorate([
|
41
|
+
(0, common_1.Get)('/:id'),
|
42
|
+
__param(0, (0, common_1.Param)('id')),
|
43
|
+
__metadata("design:type", Function),
|
44
|
+
__metadata("design:paramtypes", [Number]),
|
45
|
+
__metadata("design:returntype", Promise)
|
46
|
+
], FormController.prototype, "show", null);
|
47
|
+
exports.FormController = FormController = __decorate([
|
48
|
+
(0, common_1.Controller)('api/admin/form'),
|
49
|
+
__metadata("design:paramtypes", [form_service_1.FormService, preference_service_1.PreferenceService])
|
50
|
+
], FormController);
|
51
|
+
//# sourceMappingURL=form.controller.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"form.controller.js","sourceRoot":"","sources":["../../../src/system/controllers/form.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAwD;AACxD,0CAAyC;AACzC,2DAAuD;AACvD,uEAAmE;AACnE,6EAAwE;AACxE,uDAAwD;AAGjD,IAAM,cAAc,GAApB,MAAM,cAAc;IACvB,YAA6B,WAAwB,EAAmB,iBAAoC;QAA/E,gBAAW,GAAX,WAAW,CAAa;QAAmB,sBAAiB,GAAjB,iBAAiB,CAAmB;IAAG,CAAC;IAG1G,AAAN,KAAK,CAAC,IAAI,CAAc,EAAU;QAC9B,MAAM,IAAI,GAAG,MAAM,qBAAU,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QAExC,MAAM,UAAU,GAAG,EAAE,CAAC;QACtB,UAAU,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QAEzE,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,UAAU,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC;QAE/F,MAAM,cAAc,GAAG,MAAM,yCAAkB,CAAC,IAAI,CAAC;YACjD,KAAK,EAAE,EAAE,WAAW,EAAE,UAAU,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;YACzE,SAAS,EAAE,CAAC,QAAQ,CAAC;SACxB,CAAC,CAAC;QAEH,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC;IAC9D,CAAC;CACJ,CAAA;AAnBY,wCAAc;AAIjB;IADL,IAAA,YAAG,EAAC,MAAM,CAAC;IACA,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;0CActB;yBAlBQ,cAAc;IAD1B,IAAA,mBAAU,EAAC,gBAAgB,CAAC;qCAEiB,0BAAW,EAAsC,sCAAiB;GADnG,cAAc,CAmB1B"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export * from './base.controller';
|
2
|
+
export * from './data.controller';
|
3
|
+
export * from './form.controller';
|
4
|
+
export * from './menu.controller';
|
5
|
+
export * from './preference.controller';
|
6
|
+
export * from './report.controller';
|
7
|
+
export * from './upload.controller';
|
8
|
+
export * from './user.preference.controller';
|
@@ -0,0 +1,25 @@
|
|
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("./base.controller"), exports);
|
18
|
+
__exportStar(require("./data.controller"), exports);
|
19
|
+
__exportStar(require("./form.controller"), exports);
|
20
|
+
__exportStar(require("./menu.controller"), exports);
|
21
|
+
__exportStar(require("./preference.controller"), exports);
|
22
|
+
__exportStar(require("./report.controller"), exports);
|
23
|
+
__exportStar(require("./upload.controller"), exports);
|
24
|
+
__exportStar(require("./user.preference.controller"), exports);
|
25
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,oDAAkC;AAClC,oDAAkC;AAClC,oDAAkC;AAClC,0DAAwC;AACxC,sDAAoC;AACpC,sDAAoC;AACpC,+DAA6C"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { MenuService } from '../services/menu.service';
|
2
|
+
export declare class MenuController {
|
3
|
+
private readonly menuService;
|
4
|
+
constructor(menuService: MenuService);
|
5
|
+
get(): Promise<{
|
6
|
+
modules: any[];
|
7
|
+
pages: any;
|
8
|
+
}>;
|
9
|
+
show(id: number): Promise<import("..").MenuEntity>;
|
10
|
+
}
|
@@ -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
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
13
|
+
};
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
15
|
+
exports.MenuController = void 0;
|
16
|
+
const common_1 = require("@nestjs/common");
|
17
|
+
const menu_service_1 = require("../services/menu.service");
|
18
|
+
let MenuController = class MenuController {
|
19
|
+
constructor(menuService) {
|
20
|
+
this.menuService = menuService;
|
21
|
+
}
|
22
|
+
async get() {
|
23
|
+
return this.menuService.getMenus();
|
24
|
+
}
|
25
|
+
async show(id) {
|
26
|
+
return this.menuService.getMenuDetails(id);
|
27
|
+
}
|
28
|
+
};
|
29
|
+
exports.MenuController = MenuController;
|
30
|
+
__decorate([
|
31
|
+
(0, common_1.Get)(),
|
32
|
+
__metadata("design:type", Function),
|
33
|
+
__metadata("design:paramtypes", []),
|
34
|
+
__metadata("design:returntype", Promise)
|
35
|
+
], MenuController.prototype, "get", null);
|
36
|
+
__decorate([
|
37
|
+
(0, common_1.Get)(':id'),
|
38
|
+
__param(0, (0, common_1.Param)('id')),
|
39
|
+
__metadata("design:type", Function),
|
40
|
+
__metadata("design:paramtypes", [Number]),
|
41
|
+
__metadata("design:returntype", Promise)
|
42
|
+
], MenuController.prototype, "show", null);
|
43
|
+
exports.MenuController = MenuController = __decorate([
|
44
|
+
(0, common_1.Controller)('api/admin/menu'),
|
45
|
+
__metadata("design:paramtypes", [menu_service_1.MenuService])
|
46
|
+
], MenuController);
|
47
|
+
//# sourceMappingURL=menu.controller.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"menu.controller.js","sourceRoot":"","sources":["../../../src/system/controllers/menu.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAwD;AACxD,2DAAuD;AAGhD,IAAM,cAAc,GAApB,MAAM,cAAc;IACvB,YAA6B,WAAwB;QAAxB,gBAAW,GAAX,WAAW,CAAa;IAAG,CAAC;IAGnD,AAAN,KAAK,CAAC,GAAG;QACL,OAAO,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IACvC,CAAC;IAGK,AAAN,KAAK,CAAC,IAAI,CAAc,EAAU;QAC9B,OAAO,IAAI,CAAC,WAAW,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC;IAC/C,CAAC;CACJ,CAAA;AAZY,wCAAc;AAIjB;IADL,IAAA,YAAG,GAAE;;;;yCAGL;AAGK;IADL,IAAA,YAAG,EAAC,KAAK,CAAC;IACC,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;0CAEtB;yBAXQ,cAAc;IAD1B,IAAA,mBAAU,EAAC,gBAAgB,CAAC;qCAEiB,0BAAW;GAD5C,cAAc,CAY1B"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { AccessManager } from '../../auth/services/access.manager';
|
2
|
+
import { MenuListPreferenceCreationDto } from '../dtos/menu.list.preference.creation.dto';
|
3
|
+
import { ModelFormPreferenceCreationDto } from '../dtos/model.form.preference.creation.dto';
|
4
|
+
import { FormPreferenceEntity } from '../entities/form.preference.entity';
|
5
|
+
import { ListPreferenceEntity } from '../entities/list.preference.entity';
|
6
|
+
import { UserPreferenceService } from '../services/user.preference.service';
|
7
|
+
export declare class PreferenceController {
|
8
|
+
private readonly accessManager;
|
9
|
+
private readonly userPreferenceService;
|
10
|
+
constructor(accessManager: AccessManager, userPreferenceService: UserPreferenceService);
|
11
|
+
getUserPreferences(): Promise<import("..").UserPreferenceEntity[]>;
|
12
|
+
setPreference(body: MenuListPreferenceCreationDto): Promise<ListPreferenceEntity>;
|
13
|
+
storeMenuListPreference(id: number, body: MenuListPreferenceCreationDto): Promise<ListPreferenceEntity>;
|
14
|
+
storeModelFormPreference(id: number, body: ModelFormPreferenceCreationDto): Promise<FormPreferenceEntity>;
|
15
|
+
storeFormPreference(body: any): Promise<FormPreferenceEntity>;
|
16
|
+
dropListPreference(id: number): Promise<void>;
|
17
|
+
dropFormPreference(id: number): Promise<void>;
|
18
|
+
}
|
@@ -0,0 +1,149 @@
|
|
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
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
13
|
+
};
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
15
|
+
exports.PreferenceController = void 0;
|
16
|
+
const common_1 = require("@nestjs/common");
|
17
|
+
const access_manager_1 = require("../../auth/services/access.manager");
|
18
|
+
const access_exception_1 = require("../../common/exceptions/access.exception");
|
19
|
+
const operation_exception_1 = require("../../common/exceptions/operation.exception");
|
20
|
+
const auth_1 = require("../../common/libraries/auth");
|
21
|
+
const menu_list_preference_creation_dto_1 = require("../dtos/menu.list.preference.creation.dto");
|
22
|
+
const model_form_preference_creation_dto_1 = require("../dtos/model.form.preference.creation.dto");
|
23
|
+
const form_preference_entity_1 = require("../entities/form.preference.entity");
|
24
|
+
const list_preference_entity_1 = require("../entities/list.preference.entity");
|
25
|
+
const user_preference_service_1 = require("../services/user.preference.service");
|
26
|
+
const SOURCEHASH = require("../../config/source.hash");
|
27
|
+
let PreferenceController = class PreferenceController {
|
28
|
+
constructor(accessManager, userPreferenceService) {
|
29
|
+
this.accessManager = accessManager;
|
30
|
+
this.userPreferenceService = userPreferenceService;
|
31
|
+
}
|
32
|
+
async getUserPreferences() {
|
33
|
+
return this.userPreferenceService.getUserPreferences();
|
34
|
+
}
|
35
|
+
async setPreference(body) {
|
36
|
+
const user = auth_1.Auth.user();
|
37
|
+
const preference = await list_preference_entity_1.ListPreferenceEntity.firstOrNew({
|
38
|
+
source_type: body.source_type,
|
39
|
+
source_id: body.source_id,
|
40
|
+
user_id: user.id,
|
41
|
+
name: body.name,
|
42
|
+
});
|
43
|
+
preference.column_definition = body.column_definition;
|
44
|
+
return preference.save();
|
45
|
+
}
|
46
|
+
async storeMenuListPreference(id, body) {
|
47
|
+
const user = auth_1.Auth.user();
|
48
|
+
const preference = await list_preference_entity_1.ListPreferenceEntity.firstOrNew({
|
49
|
+
source_type: SOURCEHASH.menu,
|
50
|
+
source_id: id,
|
51
|
+
user_id: user.id,
|
52
|
+
name: body.name,
|
53
|
+
});
|
54
|
+
preference.column_definition = body.column_definition;
|
55
|
+
preference.save();
|
56
|
+
return preference;
|
57
|
+
}
|
58
|
+
async storeModelFormPreference(id, body) {
|
59
|
+
const preference = await form_preference_entity_1.FormPreferenceEntity.firstOrNew({
|
60
|
+
source_type: SOURCEHASH.model,
|
61
|
+
source_id: id,
|
62
|
+
name: body.name,
|
63
|
+
});
|
64
|
+
preference.column_definition = body.column_definition;
|
65
|
+
preference.save();
|
66
|
+
return preference;
|
67
|
+
}
|
68
|
+
async storeFormPreference(body) {
|
69
|
+
const source = body.source_type === SOURCEHASH.relationship ? SOURCEHASH.model : body.source_type;
|
70
|
+
const preference = await form_preference_entity_1.FormPreferenceEntity.firstOrNew({
|
71
|
+
source_type: source,
|
72
|
+
source_id: body.source_id,
|
73
|
+
name: body.name,
|
74
|
+
});
|
75
|
+
preference.column_definition = body.column_definition;
|
76
|
+
return preference.save();
|
77
|
+
}
|
78
|
+
async dropListPreference(id) {
|
79
|
+
const user = auth_1.Auth.user();
|
80
|
+
const record = await list_preference_entity_1.ListPreferenceEntity.first(id);
|
81
|
+
if (!record)
|
82
|
+
throw new operation_exception_1.OperationException('Invalid record to drop');
|
83
|
+
if (record.user_id !== user.id && !this.accessManager.hasRoleId(1))
|
84
|
+
throw new access_exception_1.AccessException('Not your record to drop');
|
85
|
+
record.softDelete();
|
86
|
+
}
|
87
|
+
async dropFormPreference(id) {
|
88
|
+
const record = await form_preference_entity_1.FormPreferenceEntity.first(id);
|
89
|
+
if (!record)
|
90
|
+
throw new operation_exception_1.OperationException('Invalid record to drop');
|
91
|
+
record.softDelete();
|
92
|
+
}
|
93
|
+
};
|
94
|
+
exports.PreferenceController = PreferenceController;
|
95
|
+
__decorate([
|
96
|
+
(0, common_1.Get)('preferences'),
|
97
|
+
__metadata("design:type", Function),
|
98
|
+
__metadata("design:paramtypes", []),
|
99
|
+
__metadata("design:returntype", Promise)
|
100
|
+
], PreferenceController.prototype, "getUserPreferences", null);
|
101
|
+
__decorate([
|
102
|
+
(0, common_1.Post)('list-preference'),
|
103
|
+
__param(0, (0, common_1.Body)()),
|
104
|
+
__metadata("design:type", Function),
|
105
|
+
__metadata("design:paramtypes", [menu_list_preference_creation_dto_1.MenuListPreferenceCreationDto]),
|
106
|
+
__metadata("design:returntype", Promise)
|
107
|
+
], PreferenceController.prototype, "setPreference", null);
|
108
|
+
__decorate([
|
109
|
+
(0, common_1.Post)('menu-list-preference/:id'),
|
110
|
+
__param(0, (0, common_1.Param)('id')),
|
111
|
+
__param(1, (0, common_1.Body)()),
|
112
|
+
__metadata("design:type", Function),
|
113
|
+
__metadata("design:paramtypes", [Number, menu_list_preference_creation_dto_1.MenuListPreferenceCreationDto]),
|
114
|
+
__metadata("design:returntype", Promise)
|
115
|
+
], PreferenceController.prototype, "storeMenuListPreference", null);
|
116
|
+
__decorate([
|
117
|
+
(0, common_1.Post)('model-form-preference/:id'),
|
118
|
+
__param(0, (0, common_1.Param)('id')),
|
119
|
+
__param(1, (0, common_1.Body)()),
|
120
|
+
__metadata("design:type", Function),
|
121
|
+
__metadata("design:paramtypes", [Number, model_form_preference_creation_dto_1.ModelFormPreferenceCreationDto]),
|
122
|
+
__metadata("design:returntype", Promise)
|
123
|
+
], PreferenceController.prototype, "storeModelFormPreference", null);
|
124
|
+
__decorate([
|
125
|
+
(0, common_1.Post)('form-preference'),
|
126
|
+
__param(0, (0, common_1.Body)()),
|
127
|
+
__metadata("design:type", Function),
|
128
|
+
__metadata("design:paramtypes", [Object]),
|
129
|
+
__metadata("design:returntype", Promise)
|
130
|
+
], PreferenceController.prototype, "storeFormPreference", null);
|
131
|
+
__decorate([
|
132
|
+
(0, common_1.Delete)('list-preference/:id'),
|
133
|
+
__param(0, (0, common_1.Param)('id')),
|
134
|
+
__metadata("design:type", Function),
|
135
|
+
__metadata("design:paramtypes", [Number]),
|
136
|
+
__metadata("design:returntype", Promise)
|
137
|
+
], PreferenceController.prototype, "dropListPreference", null);
|
138
|
+
__decorate([
|
139
|
+
(0, common_1.Delete)('form-preference/:id'),
|
140
|
+
__param(0, (0, common_1.Param)('id')),
|
141
|
+
__metadata("design:type", Function),
|
142
|
+
__metadata("design:paramtypes", [Number]),
|
143
|
+
__metadata("design:returntype", Promise)
|
144
|
+
], PreferenceController.prototype, "dropFormPreference", null);
|
145
|
+
exports.PreferenceController = PreferenceController = __decorate([
|
146
|
+
(0, common_1.Controller)('api/admin/'),
|
147
|
+
__metadata("design:paramtypes", [access_manager_1.AccessManager, user_preference_service_1.UserPreferenceService])
|
148
|
+
], PreferenceController);
|
149
|
+
//# sourceMappingURL=preference.controller.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"preference.controller.js","sourceRoot":"","sources":["../../../src/system/controllers/preference.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA4E;AAE5E,uEAAmE;AACnE,+EAA2E;AAC3E,qFAAiF;AACjF,sDAAmD;AACnD,iGAA0F;AAC1F,mGAA4F;AAC5F,+EAA0E;AAC1E,+EAA0E;AAC1E,iFAA4E;AAC5E,uDAAwD;AASjD,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAC7B,YAA6B,aAA4B,EAAmB,qBAA4C;QAA3F,kBAAa,GAAb,aAAa,CAAe;QAAmB,0BAAqB,GAArB,qBAAqB,CAAuB;IAAG,CAAC;IAGtH,AAAN,KAAK,CAAC,kBAAkB;QACpB,OAAO,IAAI,CAAC,qBAAqB,CAAC,kBAAkB,EAAE,CAAC;IAC3D,CAAC;IAGK,AAAN,KAAK,CAAC,aAAa,CAAS,IAAmC;QAC3D,MAAM,IAAI,GAAG,WAAI,CAAC,IAAI,EAAE,CAAC;QAEzB,MAAM,UAAU,GAAG,MAAM,6CAAoB,CAAC,UAAU,CAAC;YACrD,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,OAAO,EAAE,IAAI,CAAC,EAAE;YAChB,IAAI,EAAE,IAAI,CAAC,IAAI;SAClB,CAAC,CAAC;QAEH,UAAU,CAAC,iBAAiB,GAAG,IAAI,CAAC,iBAAiB,CAAC;QAEtD,OAAO,UAAU,CAAC,IAAI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