@servicelabsco/nestjs-utility-services 3.0.19 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +275 -1
- package/README.md +3 -1
- package/dist/app.module.js +10 -43
- package/dist/app.module.js.map +1 -1
- package/dist/auth/auth.module.js +1 -4
- package/dist/auth/auth.module.js.map +1 -1
- package/dist/auth/middlewares/internal.middleware.js +4 -36
- package/dist/auth/middlewares/internal.middleware.js.map +1 -1
- package/dist/auth/services/auth.service.js.map +1 -1
- package/dist/auth/services/device.token.service.js +4 -3
- package/dist/auth/services/device.token.service.js.map +1 -1
- package/dist/auth/services/refresh.token.service.js +1 -34
- package/dist/auth/services/refresh.token.service.js.map +1 -1
- package/dist/common/adapters/redis.io.adapter.d.ts +1 -3
- package/dist/common/adapters/redis.io.adapter.js +3 -7
- package/dist/common/adapters/redis.io.adapter.js.map +1 -1
- package/dist/common/libraries/auth.js +1 -34
- package/dist/common/libraries/auth.js.map +1 -1
- package/dist/common/libraries/common.subscriber.js +15 -15
- package/dist/common/libraries/common.subscriber.js.map +1 -1
- package/dist/common/libraries/custom.crypt.js +13 -46
- package/dist/common/libraries/custom.crypt.js.map +1 -1
- package/dist/common/libraries/custom.logger.js +1 -1
- package/dist/common/libraries/custom.logger.js.map +1 -1
- package/dist/common/libraries/date.util.js +3 -3
- package/dist/common/libraries/date.util.js.map +1 -1
- package/dist/common/libraries/hash.js +3 -36
- package/dist/common/libraries/hash.js.map +1 -1
- package/dist/common/libraries/json.evaluator.js +26 -26
- package/dist/common/libraries/json.evaluator.js.map +1 -1
- package/dist/common/libraries/log.redactor.js +14 -14
- package/dist/common/libraries/log.redactor.js.map +1 -1
- package/dist/common/libraries/money.js +4 -4
- package/dist/common/libraries/money.js.map +1 -1
- package/dist/common/libraries/platform.utility.js +1 -4
- package/dist/common/libraries/platform.utility.js.map +1 -1
- package/dist/common/libraries/record.manager.js.map +1 -1
- package/dist/common/libraries/sentry.sdk.d.ts +1 -1
- package/dist/common/libraries/sentry.sdk.js +1 -1
- package/dist/common/libraries/sentry.sdk.js.map +1 -1
- package/dist/config/jwt.config.js.map +1 -1
- package/dist/config/orm.config.js +0 -3
- package/dist/config/orm.config.js.map +1 -1
- package/dist/config/read.typeorm.config.js +6 -35
- package/dist/config/read.typeorm.config.js.map +1 -1
- package/dist/config/sentry.options.js +14 -1
- package/dist/config/sentry.options.js.map +1 -1
- package/dist/config/typeorm.config.js +6 -37
- package/dist/config/typeorm.config.js.map +1 -1
- package/dist/health.check.controller.js +18 -0
- package/dist/health.check.controller.js.map +1 -1
- package/dist/main.d.ts +0 -1
- package/dist/main.js +6 -45
- package/dist/main.js.map +1 -1
- package/dist/migrations/1619296224563-AddMasterSeedersDataSeederTable.js +2 -35
- package/dist/migrations/1619296224563-AddMasterSeedersDataSeederTable.js.map +1 -1
- package/dist/migrations/1779607111923-AddUniqueIndexSysPropertiesName.js +2 -2
- package/dist/migrations/1779607111923-AddUniqueIndexSysPropertiesName.js.map +1 -1
- package/dist/migrations/1779607111924-AddUniqueIndexSysDocumentsFileHash.js +2 -2
- package/dist/migrations/1779607111924-AddUniqueIndexSysDocumentsFileHash.js.map +1 -1
- package/dist/migrations/1779690975270-AddUniqueIndexSysSessionIdentifiers.js +1 -1
- package/dist/migrations/1779690975270-AddUniqueIndexSysSessionIdentifiers.js.map +1 -1
- package/dist/migrations/1779773659655-AddIdempotencyIndexesForJobs.js +3 -3
- package/dist/migrations/1779773659655-AddIdempotencyIndexesForJobs.js.map +1 -1
- package/dist/migrations/1780002352495-MigrateJsonColumnsToJsonb.js +20 -20
- package/dist/migrations/1780002352495-MigrateJsonColumnsToJsonb.js.map +1 -1
- package/dist/migrations/1788287350858-ReplaceUniqueIndexesWithSoftDeleteAware.js +4 -4
- package/dist/migrations/1788287350858-ReplaceUniqueIndexesWithSoftDeleteAware.js.map +1 -1
- package/dist/migrations/1788287350859-NormalizeSocialIdentitiesUuidDefault.js +1 -1
- package/dist/migrations/1788287350859-NormalizeSocialIdentitiesUuidDefault.js.map +1 -1
- package/dist/migrations/1793302598724-CreateUploadSessionTable.d.ts +5 -0
- package/dist/migrations/1793302598724-CreateUploadSessionTable.js +33 -0
- package/dist/migrations/1793302598724-CreateUploadSessionTable.js.map +1 -0
- package/dist/migrations/1793726866264-CreateSourceVersionTable.d.ts +5 -0
- package/dist/migrations/1793726866264-CreateSourceVersionTable.js +22 -0
- package/dist/migrations/1793726866264-CreateSourceVersionTable.js.map +1 -0
- package/dist/migrations/1793732831136-AddLastViewedAtSysMaterialViewsTable.d.ts +5 -0
- package/dist/migrations/1793732831136-AddLastViewedAtSysMaterialViewsTable.js +15 -0
- package/dist/migrations/1793732831136-AddLastViewedAtSysMaterialViewsTable.js.map +1 -0
- package/dist/platformUtility/constants/index.d.ts +1 -0
- package/dist/platformUtility/constants/index.js +1 -0
- package/dist/platformUtility/constants/index.js.map +1 -1
- package/dist/platformUtility/constants/servicelabs.constants.d.ts +30 -0
- package/dist/platformUtility/constants/servicelabs.constants.js +34 -0
- package/dist/platformUtility/constants/servicelabs.constants.js.map +1 -0
- package/dist/platformUtility/consumers/job.consumer.d.ts +2 -1
- package/dist/platformUtility/consumers/job.consumer.js +8 -8
- package/dist/platformUtility/consumers/job.consumer.js.map +1 -1
- package/dist/platformUtility/es6.classes.d.ts +36 -4
- package/dist/platformUtility/es6.classes.js +8 -1
- package/dist/platformUtility/es6.classes.js.map +1 -1
- package/dist/platformUtility/filters/sentry.reporting.filter.js +2 -1
- package/dist/platformUtility/filters/sentry.reporting.filter.js.map +1 -1
- package/dist/platformUtility/interfaces/index.d.ts +19 -0
- package/dist/platformUtility/interfaces/index.js +19 -0
- package/dist/platformUtility/interfaces/index.js.map +1 -1
- package/dist/platformUtility/interfaces/servicelabs.call.options.interface.d.ts +8 -0
- package/dist/platformUtility/interfaces/servicelabs.call.options.interface.js +3 -0
- package/dist/platformUtility/interfaces/servicelabs.call.options.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/servicelabs.callback.event.interface.d.ts +6 -0
- package/dist/platformUtility/interfaces/servicelabs.callback.event.interface.js +3 -0
- package/dist/platformUtility/interfaces/servicelabs.callback.event.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/servicelabs.error.interface.d.ts +10 -0
- package/dist/platformUtility/interfaces/servicelabs.error.interface.js +3 -0
- package/dist/platformUtility/interfaces/servicelabs.error.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/servicelabs.html.pdf.input.interface.d.ts +5 -0
- package/dist/platformUtility/interfaces/servicelabs.html.pdf.input.interface.js +3 -0
- package/dist/platformUtility/interfaces/servicelabs.html.pdf.input.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/servicelabs.job.file.interface.d.ts +10 -0
- package/dist/platformUtility/interfaces/servicelabs.job.file.interface.js +3 -0
- package/dist/platformUtility/interfaces/servicelabs.job.file.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/servicelabs.job.interface.d.ts +31 -0
- package/dist/platformUtility/interfaces/servicelabs.job.interface.js +3 -0
- package/dist/platformUtility/interfaces/servicelabs.job.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/servicelabs.job.list.interface.d.ts +5 -0
- package/dist/platformUtility/interfaces/servicelabs.job.list.interface.js +3 -0
- package/dist/platformUtility/interfaces/servicelabs.job.list.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/servicelabs.job.list.options.interface.d.ts +6 -0
- package/dist/platformUtility/interfaces/servicelabs.job.list.options.interface.js +3 -0
- package/dist/platformUtility/interfaces/servicelabs.job.list.options.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/servicelabs.job.summary.interface.d.ts +15 -0
- package/dist/platformUtility/interfaces/servicelabs.job.summary.interface.js +3 -0
- package/dist/platformUtility/interfaces/servicelabs.job.summary.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/servicelabs.request.interface.d.ts +5 -0
- package/dist/platformUtility/interfaces/servicelabs.request.interface.js +3 -0
- package/dist/platformUtility/interfaces/servicelabs.request.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/servicelabs.response.interface.d.ts +6 -0
- package/dist/platformUtility/interfaces/servicelabs.response.interface.js +3 -0
- package/dist/platformUtility/interfaces/servicelabs.response.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/servicelabs.run.options.interface.d.ts +8 -0
- package/dist/platformUtility/interfaces/servicelabs.run.options.interface.js +3 -0
- package/dist/platformUtility/interfaces/servicelabs.run.options.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/servicelabs.store.options.interface.d.ts +5 -0
- package/dist/platformUtility/interfaces/servicelabs.store.options.interface.js +3 -0
- package/dist/platformUtility/interfaces/servicelabs.store.options.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/servicelabs.stored.file.interface.d.ts +6 -0
- package/dist/platformUtility/interfaces/servicelabs.stored.file.interface.js +3 -0
- package/dist/platformUtility/interfaces/servicelabs.stored.file.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/servicelabs.url.input.interface.d.ts +3 -0
- package/dist/platformUtility/interfaces/servicelabs.url.input.interface.js +3 -0
- package/dist/platformUtility/interfaces/servicelabs.url.input.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/servicelabs.utility.interface.d.ts +12 -0
- package/dist/platformUtility/interfaces/servicelabs.utility.interface.js +3 -0
- package/dist/platformUtility/interfaces/servicelabs.utility.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/servicelabs.zip.entry.interface.d.ts +4 -0
- package/dist/platformUtility/interfaces/servicelabs.zip.entry.interface.js +3 -0
- package/dist/platformUtility/interfaces/servicelabs.zip.entry.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/servicelabs.zip.files.input.interface.d.ts +4 -0
- package/dist/platformUtility/interfaces/servicelabs.zip.files.input.interface.js +3 -0
- package/dist/platformUtility/interfaces/servicelabs.zip.files.input.interface.js.map +1 -0
- package/dist/platformUtility/interfaces/unzip.file.interface.d.ts +6 -0
- package/dist/platformUtility/interfaces/unzip.file.interface.js +3 -0
- package/dist/platformUtility/interfaces/unzip.file.interface.js.map +1 -0
- package/dist/platformUtility/libraries/common.servicelabs.callback.controller.d.ts +11 -0
- package/dist/platformUtility/libraries/common.servicelabs.callback.controller.js +43 -0
- package/dist/platformUtility/libraries/common.servicelabs.callback.controller.js.map +1 -0
- package/dist/platformUtility/libraries/create.entity.constants.file.js +1 -34
- package/dist/platformUtility/libraries/create.entity.constants.file.js.map +1 -1
- package/dist/platformUtility/libraries/create.es6.classes.file.js +1 -34
- package/dist/platformUtility/libraries/create.es6.classes.file.js.map +1 -1
- package/dist/platformUtility/libraries/create.es6.jobs.file.js +1 -34
- package/dist/platformUtility/libraries/create.es6.jobs.file.js.map +1 -1
- package/dist/platformUtility/libraries/create.es6.service.file.js +1 -34
- package/dist/platformUtility/libraries/create.es6.service.file.js.map +1 -1
- package/dist/platformUtility/libraries/create.index.file.js +1 -34
- package/dist/platformUtility/libraries/create.index.file.js.map +1 -1
- package/dist/platformUtility/libraries/file.system.utility.js +1 -34
- package/dist/platformUtility/libraries/file.system.utility.js.map +1 -1
- package/dist/platformUtility/libraries/index.d.ts +1 -0
- package/dist/platformUtility/libraries/index.js +1 -0
- package/dist/platformUtility/libraries/index.js.map +1 -1
- package/dist/platformUtility/libraries/process.common.mail.js +4 -7
- package/dist/platformUtility/libraries/process.common.mail.js.map +1 -1
- package/dist/platformUtility/libraries/process.kaleyra.sms.d.ts +1 -0
- package/dist/platformUtility/libraries/process.kaleyra.sms.js +11 -37
- package/dist/platformUtility/libraries/process.kaleyra.sms.js.map +1 -1
- package/dist/platformUtility/libraries/process.smtp.mail.js +1 -34
- package/dist/platformUtility/libraries/process.smtp.mail.js.map +1 -1
- package/dist/platformUtility/libraries/sentry.bootstrap.js +5 -5
- package/dist/platformUtility/libraries/sentry.bootstrap.js.map +1 -1
- package/dist/platformUtility/libraries/sentry.context.d.ts +1 -1
- package/dist/platformUtility/libraries/sentry.context.js +1 -2
- package/dist/platformUtility/libraries/sentry.context.js.map +1 -1
- package/dist/platformUtility/middlewares/trim.pipe.js +13 -12
- package/dist/platformUtility/middlewares/trim.pipe.js.map +1 -1
- package/dist/platformUtility/platform.utility.module.js +9 -5
- package/dist/platformUtility/platform.utility.module.js.map +1 -1
- package/dist/platformUtility/services/aws.client.factory.js +3 -2
- package/dist/platformUtility/services/aws.client.factory.js.map +1 -1
- package/dist/platformUtility/services/aws.config.service.js +3 -2
- package/dist/platformUtility/services/aws.config.service.js.map +1 -1
- package/dist/platformUtility/services/cache.service.js +4 -2
- package/dist/platformUtility/services/cache.service.js.map +1 -1
- package/dist/platformUtility/services/dynamo.service.js +4 -3
- package/dist/platformUtility/services/dynamo.service.js.map +1 -1
- package/dist/platformUtility/services/index.d.ts +2 -0
- package/dist/platformUtility/services/index.js +2 -0
- package/dist/platformUtility/services/index.js.map +1 -1
- package/dist/platformUtility/services/local.property.service.js +1 -4
- package/dist/platformUtility/services/local.property.service.js.map +1 -1
- package/dist/platformUtility/services/maintenance.service.js +2 -35
- package/dist/platformUtility/services/maintenance.service.js.map +1 -1
- package/dist/platformUtility/services/pdf.service.d.ts +4 -1
- package/dist/platformUtility/services/pdf.service.js +16 -2
- package/dist/platformUtility/services/pdf.service.js.map +1 -1
- package/dist/platformUtility/services/queue.service.d.ts +5 -3
- package/dist/platformUtility/services/queue.service.js +14 -3
- package/dist/platformUtility/services/queue.service.js.map +1 -1
- package/dist/platformUtility/services/redis.service.d.ts +1 -0
- package/dist/platformUtility/services/redis.service.js +10 -8
- package/dist/platformUtility/services/redis.service.js.map +1 -1
- package/dist/platformUtility/services/remote.request.service.js +1 -4
- package/dist/platformUtility/services/remote.request.service.js.map +1 -1
- package/dist/platformUtility/services/s3.service.js +1 -34
- package/dist/platformUtility/services/s3.service.js.map +1 -1
- package/dist/platformUtility/services/servicelabs.dev.service.d.ts +49 -0
- package/dist/platformUtility/services/servicelabs.dev.service.js +181 -0
- package/dist/platformUtility/services/servicelabs.dev.service.js.map +1 -0
- package/dist/platformUtility/services/servicelabs.utility.service.d.ts +51 -0
- package/dist/platformUtility/services/servicelabs.utility.service.js +193 -0
- package/dist/platformUtility/services/servicelabs.utility.service.js.map +1 -0
- package/dist/platformUtility/services/shutdown.service.js.map +1 -1
- package/dist/platformUtility/services/split.pdf.service.d.ts +3 -1
- package/dist/platformUtility/services/split.pdf.service.js +9 -2
- package/dist/platformUtility/services/split.pdf.service.js.map +1 -1
- package/dist/platformUtility/services/sql.service.d.ts +13 -0
- package/dist/platformUtility/services/sql.service.js +51 -0
- package/dist/platformUtility/services/sql.service.js.map +1 -1
- package/dist/platformUtility/services/zip.service.d.ts +7 -2
- package/dist/platformUtility/services/zip.service.js +41 -5
- package/dist/platformUtility/services/zip.service.js.map +1 -1
- package/dist/security/security.module.js +1 -4
- package/dist/security/security.module.js.map +1 -1
- package/dist/system/constants/index.d.ts +1 -0
- package/dist/system/constants/index.js +1 -0
- package/dist/system/constants/index.js.map +1 -1
- package/dist/system/constants/upload.session.constants.d.ts +21 -0
- package/dist/system/constants/upload.session.constants.js +25 -0
- package/dist/system/constants/upload.session.constants.js.map +1 -0
- package/dist/system/controllers/upload.controller.js +2 -2
- package/dist/system/controllers/upload.controller.js.map +1 -1
- package/dist/system/dtos/direct.upload.file.dto.d.ts +5 -0
- package/dist/system/dtos/direct.upload.file.dto.js +37 -0
- package/dist/system/dtos/direct.upload.file.dto.js.map +1 -0
- package/dist/system/dtos/direct.upload.initiate.dto.d.ts +4 -0
- package/dist/system/dtos/direct.upload.initiate.dto.js +27 -0
- package/dist/system/dtos/direct.upload.initiate.dto.js.map +1 -0
- package/dist/system/dtos/direct.upload.options.dto.d.ts +8 -0
- package/dist/system/dtos/direct.upload.options.dto.js +54 -0
- package/dist/system/dtos/direct.upload.options.dto.js.map +1 -0
- package/dist/system/dtos/direct.upload.parts.dto.d.ts +3 -0
- package/dist/system/dtos/direct.upload.parts.dto.js +26 -0
- package/dist/system/dtos/direct.upload.parts.dto.js.map +1 -0
- package/dist/system/dtos/index.d.ts +5 -0
- package/dist/system/dtos/index.js +5 -0
- package/dist/system/dtos/index.js.map +1 -1
- package/dist/system/dtos/local.file.s3.upload.dto.d.ts +1 -0
- package/dist/system/dtos/local.file.s3.upload.dto.js +4 -0
- package/dist/system/dtos/local.file.s3.upload.dto.js.map +1 -1
- package/dist/system/dtos/material.view.attributes.dto.d.ts +4 -0
- package/dist/system/dtos/material.view.attributes.dto.js.map +1 -1
- package/dist/system/dtos/upload.session.attributes.dto.d.ts +5 -0
- package/dist/system/dtos/upload.session.attributes.dto.js +7 -0
- package/dist/system/dtos/upload.session.attributes.dto.js.map +1 -0
- package/dist/system/entities/index.d.ts +2 -0
- package/dist/system/entities/index.js +2 -0
- package/dist/system/entities/index.js.map +1 -1
- package/dist/system/entities/material.view.entity.d.ts +1 -0
- package/dist/system/entities/material.view.entity.js +4 -0
- package/dist/system/entities/material.view.entity.js.map +1 -1
- package/dist/system/entities/source.version.entity.d.ts +9 -0
- package/dist/system/entities/source.version.entity.js +45 -0
- package/dist/system/entities/source.version.entity.js.map +1 -0
- package/dist/system/entities/upload.session.entity.d.ts +20 -0
- package/dist/system/entities/upload.session.entity.js +86 -0
- package/dist/system/entities/upload.session.entity.js.map +1 -0
- package/dist/system/es6.classes.d.ts +38 -6
- package/dist/system/es6.classes.js +26 -1
- package/dist/system/es6.classes.js.map +1 -1
- package/dist/system/interfaces/direct.upload.part.url.interface.d.ts +6 -0
- package/dist/system/interfaces/direct.upload.part.url.interface.js +3 -0
- package/dist/system/interfaces/direct.upload.part.url.interface.js.map +1 -0
- package/dist/system/interfaces/direct.upload.result.interface.d.ts +10 -0
- package/dist/system/interfaces/direct.upload.result.interface.js +3 -0
- package/dist/system/interfaces/direct.upload.result.interface.js.map +1 -0
- package/dist/system/interfaces/direct.upload.session.interface.d.ts +16 -0
- package/dist/system/interfaces/direct.upload.session.interface.js +3 -0
- package/dist/system/interfaces/direct.upload.session.interface.js.map +1 -0
- package/dist/system/interfaces/direct.upload.status.interface.d.ts +12 -0
- package/dist/system/interfaces/direct.upload.status.interface.js +3 -0
- package/dist/system/interfaces/direct.upload.status.interface.js.map +1 -0
- package/dist/system/interfaces/index.d.ts +6 -0
- package/dist/system/interfaces/index.js +6 -0
- package/dist/system/interfaces/index.js.map +1 -1
- package/dist/system/interfaces/source.version.options.interface.d.ts +7 -0
- package/dist/system/interfaces/source.version.options.interface.js +3 -0
- package/dist/system/interfaces/source.version.options.interface.js.map +1 -0
- package/dist/system/interfaces/uploaded.part.interface.d.ts +5 -0
- package/dist/system/interfaces/uploaded.part.interface.js +3 -0
- package/dist/system/interfaces/uploaded.part.interface.js.map +1 -0
- package/dist/system/jobs/execute.material.view.job.js +2 -0
- package/dist/system/jobs/execute.material.view.job.js.map +1 -1
- package/dist/system/jobs/expire.upload.session.job.d.ts +13 -0
- package/dist/system/jobs/expire.upload.session.job.js +38 -0
- package/dist/system/jobs/expire.upload.session.job.js.map +1 -0
- package/dist/system/jobs/index.d.ts +1 -0
- package/dist/system/jobs/index.js +1 -0
- package/dist/system/jobs/index.js.map +1 -1
- package/dist/system/jobs/orphan.sweeper.job.js +3 -2
- package/dist/system/jobs/orphan.sweeper.job.js.map +1 -1
- package/dist/system/jobs/set.event.queue.job.js +3 -2
- package/dist/system/jobs/set.event.queue.job.js.map +1 -1
- package/dist/system/jobs/sqs.polling.job.js.map +1 -1
- package/dist/system/jobs/sync.all.code.job.d.ts +9 -0
- package/dist/system/jobs/sync.all.code.job.js +106 -28
- package/dist/system/jobs/sync.all.code.job.js.map +1 -1
- package/dist/system/libraries/code.evaluator.d.ts +13 -0
- package/dist/system/libraries/code.evaluator.js +41 -1
- package/dist/system/libraries/code.evaluator.js.map +1 -1
- package/dist/system/libraries/common.direct.upload.controller.d.ts +19 -0
- package/dist/system/libraries/common.direct.upload.controller.js +84 -0
- package/dist/system/libraries/common.direct.upload.controller.js.map +1 -0
- package/dist/system/libraries/common.storage.service.d.ts +13 -0
- package/dist/system/libraries/common.storage.service.js +78 -1
- package/dist/system/libraries/common.storage.service.js.map +1 -1
- package/dist/system/libraries/crypt.re.encrypt.processor.js +2 -2
- package/dist/system/libraries/crypt.re.encrypt.processor.js.map +1 -1
- package/dist/system/libraries/file.type.detector.d.ts +2 -0
- package/dist/system/libraries/file.type.detector.js +88 -75
- package/dist/system/libraries/file.type.detector.js.map +1 -1
- package/dist/system/libraries/generate.downloadable.report.file.d.ts +1 -0
- package/dist/system/libraries/generate.downloadable.report.file.js +14 -36
- package/dist/system/libraries/generate.downloadable.report.file.js.map +1 -1
- package/dist/system/libraries/index.d.ts +1 -0
- package/dist/system/libraries/index.js +1 -0
- package/dist/system/libraries/index.js.map +1 -1
- package/dist/system/libraries/model.sync.js +2 -2
- package/dist/system/libraries/model.sync.js.map +1 -1
- package/dist/system/libraries/sandboxed.script.executor.js +17 -17
- package/dist/system/libraries/sandboxed.script.executor.js.map +1 -1
- package/dist/system/services/aws.s3.service.js +6 -5
- package/dist/system/services/aws.s3.service.js.map +1 -1
- package/dist/system/services/base.service.js.map +1 -1
- package/dist/system/services/direct.upload.service.d.ts +41 -0
- package/dist/system/services/direct.upload.service.js +385 -0
- package/dist/system/services/direct.upload.service.js.map +1 -0
- package/dist/system/services/document.service.js +2 -38
- package/dist/system/services/document.service.js.map +1 -1
- package/dist/system/services/event.detail.service.js.map +1 -1
- package/dist/system/services/event.queue.service.js +3 -2
- package/dist/system/services/event.queue.service.js.map +1 -1
- package/dist/system/services/index.d.ts +2 -0
- package/dist/system/services/index.js +2 -0
- package/dist/system/services/index.js.map +1 -1
- package/dist/system/services/source.version.service.d.ts +17 -0
- package/dist/system/services/source.version.service.js +86 -0
- package/dist/system/services/source.version.service.js.map +1 -0
- package/dist/system/services/storage.service.d.ts +20 -0
- package/dist/system/services/storage.service.js +62 -7
- package/dist/system/services/storage.service.js.map +1 -1
- package/dist/system/services/upload.service.d.ts +4 -1
- package/dist/system/services/upload.service.js +18 -6
- package/dist/system/services/upload.service.js.map +1 -1
- package/dist/system/subscribers/index.d.ts +1 -0
- package/dist/system/subscribers/index.js +1 -0
- package/dist/system/subscribers/index.js.map +1 -1
- package/dist/system/subscribers/system.script.subscriber.d.ts +13 -0
- package/dist/system/subscribers/system.script.subscriber.js +61 -0
- package/dist/system/subscribers/system.script.subscriber.js.map +1 -0
- package/dist/system/system.module.js +1 -4
- package/dist/system/system.module.js.map +1 -1
- package/dist/worker.d.ts +1 -1
- package/dist/worker.js +2 -1
- package/dist/worker.js.map +1 -1
- package/docs/sentry-reporting.md +26 -20
- package/docs/servicelabs-utilities.md +174 -0
- package/docs/upgrade-4.0.md +215 -0
- package/package.json +70 -74
|
@@ -9,6 +9,10 @@ import { UserPreferenceController } from './controllers/user.preference.controll
|
|
|
9
9
|
import { AddCommentDto } from './dtos/add.comment.dto';
|
|
10
10
|
import { AddDirectMenuDto } from './dtos/add.direct.menu.dto';
|
|
11
11
|
import { ClientCredentialDto } from './dtos/client.credential.dto';
|
|
12
|
+
import { DirectUploadFileDto } from './dtos/direct.upload.file.dto';
|
|
13
|
+
import { DirectUploadInitiateDto } from './dtos/direct.upload.initiate.dto';
|
|
14
|
+
import { DirectUploadOptionsDto } from './dtos/direct.upload.options.dto';
|
|
15
|
+
import { DirectUploadPartsDto } from './dtos/direct.upload.parts.dto';
|
|
12
16
|
import { ExecutableScriptPayloadDto } from './dtos/executable.script.payload.dto';
|
|
13
17
|
import { FileUploadDto } from './dtos/file.upload.dto';
|
|
14
18
|
import { FileUploadSpecDto } from './dtos/file.upload.spec.dto';
|
|
@@ -22,6 +26,7 @@ import { ModelFormPreferenceCreationDto } from './dtos/model.form.preference.cre
|
|
|
22
26
|
import { OtpGenerationDto } from './dtos/otp.generation.dto';
|
|
23
27
|
import { S3ObjectInfoDto } from './dtos/s3.object.info.dto';
|
|
24
28
|
import { StorageUploadOptionsDto } from './dtos/storage.upload.options.dto';
|
|
29
|
+
import { UploadSessionAttributesDto } from './dtos/upload.session.attributes.dto';
|
|
25
30
|
import { UserPreferenceCreationDto } from './dtos/user.preference.creation.dto';
|
|
26
31
|
import { ValidationOptionsDto } from './dtos/validation.options.dto';
|
|
27
32
|
import { BusinessRuleEntity } from './entities/business.rule.entity';
|
|
@@ -75,10 +80,12 @@ import { SecurityRuleEntity } from './entities/security.rule.entity';
|
|
|
75
80
|
import { ServiceEntity } from './entities/service.entity';
|
|
76
81
|
import { SmsMessageEntity } from './entities/sms.message.entity';
|
|
77
82
|
import { SmsTemplateEntity } from './entities/sms.template.entity';
|
|
83
|
+
import { SourceVersionEntity } from './entities/source.version.entity';
|
|
78
84
|
import { SystemScriptEntity } from './entities/system.script.entity';
|
|
79
85
|
import { UiActionEntity } from './entities/ui.action.entity';
|
|
80
86
|
import { UiActionPermissionEntity } from './entities/ui.action.permission.entity';
|
|
81
87
|
import { UiActionRoleEntity } from './entities/ui.action.role.entity';
|
|
88
|
+
import { UploadSessionEntity } from './entities/upload.session.entity';
|
|
82
89
|
import { UserGroupEntity } from './entities/user.group.entity';
|
|
83
90
|
import { UserGroupMemberEntity } from './entities/user.group.member.entity';
|
|
84
91
|
import { UserGroupPermissionEntity } from './entities/user.group.permission.entity';
|
|
@@ -94,6 +101,7 @@ import { DocumentJob } from './jobs/document.job';
|
|
|
94
101
|
import { ExecuteCodeFixJob } from './jobs/execute.code.fix.job';
|
|
95
102
|
import { ExecuteMaterialViewJob } from './jobs/execute.material.view.job';
|
|
96
103
|
import { ExecuteRecurringQueryJob } from './jobs/execute.recurring.query.job';
|
|
104
|
+
import { ExpireUploadSessionJob } from './jobs/expire.upload.session.job';
|
|
97
105
|
import { MaterialViewJob } from './jobs/material.view.job';
|
|
98
106
|
import { ModelScannerJob } from './jobs/model.scanner.job';
|
|
99
107
|
import { OrphanSweeperJob } from './jobs/orphan.sweeper.job';
|
|
@@ -117,6 +125,7 @@ import { BusinessRuleFilterValidator } from './libraries/business.rule.filter.va
|
|
|
117
125
|
import { BusinessRuleQueryEvaluator } from './libraries/business.rule.query.evaluator';
|
|
118
126
|
import { CodeEvaluator } from './libraries/code.evaluator';
|
|
119
127
|
import { ColumnManager } from './libraries/column.manager';
|
|
128
|
+
import { CommonDirectUploadController } from './libraries/common.direct.upload.controller';
|
|
120
129
|
import { CommonStorageService } from './libraries/common.storage.service';
|
|
121
130
|
import { CryptReEncryptProcessor } from './libraries/crypt.re.encrypt.processor';
|
|
122
131
|
import { ExecuteCodeFix } from './libraries/execute.code.fix';
|
|
@@ -142,6 +151,7 @@ import { ClientScriptService } from './services/client.script.service';
|
|
|
142
151
|
import { CloudflareR2Service } from './services/cloudflare.r2.service';
|
|
143
152
|
import { ColumnService } from './services/column.service';
|
|
144
153
|
import { CommentService } from './services/comment.service';
|
|
154
|
+
import { DirectUploadService } from './services/direct.upload.service';
|
|
145
155
|
import { DocumentService } from './services/document.service';
|
|
146
156
|
import { EventDetailService } from './services/event.detail.service';
|
|
147
157
|
import { EventQueueService } from './services/event.queue.service';
|
|
@@ -158,6 +168,7 @@ import { PropertyService } from './services/property.service';
|
|
|
158
168
|
import { ReportService } from './services/report.service';
|
|
159
169
|
import { ScheduledEventService } from './services/scheduled.event.service';
|
|
160
170
|
import { SecurityRuleService } from './services/security.rule.service';
|
|
171
|
+
import { SourceVersionService } from './services/source.version.service';
|
|
161
172
|
import { StorageService } from './services/storage.service';
|
|
162
173
|
import { UiActionService } from './services/ui.action.service';
|
|
163
174
|
import { UploadService } from './services/upload.service';
|
|
@@ -168,6 +179,7 @@ import { MaterialViewSubscriber } from './subscribers/material.view.subscriber';
|
|
|
168
179
|
import { PropertySubscriber } from './subscribers/property.subscriber';
|
|
169
180
|
import { RecurringQuerySubscriber } from './subscribers/recurring.query.subscriber';
|
|
170
181
|
import { ScheduledEventSubscriber } from './subscribers/scheduled.event.subscriber';
|
|
182
|
+
import { SystemScriptSubscriber } from './subscribers/system.script.subscriber';
|
|
171
183
|
declare const es6Classes: {
|
|
172
184
|
constants: ({
|
|
173
185
|
ENGINE_S3: string;
|
|
@@ -181,15 +193,35 @@ declare const es6Classes: {
|
|
|
181
193
|
} | {
|
|
182
194
|
PUBLIC: Set<string>;
|
|
183
195
|
PRIVATE: Set<string>;
|
|
196
|
+
} | {
|
|
197
|
+
STATUS_PENDING: string;
|
|
198
|
+
STATUS_COMPLETED: string;
|
|
199
|
+
STATUS_ABORTED: string;
|
|
200
|
+
STATUS_EXPIRED: string;
|
|
201
|
+
STATUS_REJECTED: string;
|
|
202
|
+
MODE_SINGLE: string;
|
|
203
|
+
MODE_MULTIPART: string;
|
|
204
|
+
MAX_FILE_SIZE: number;
|
|
205
|
+
SINGLE_PUT_THRESHOLD: number;
|
|
206
|
+
PART_SIZE: number;
|
|
207
|
+
MAX_FILES: number;
|
|
208
|
+
URL_TTL: number;
|
|
209
|
+
SESSION_TTL: number;
|
|
210
|
+
MIN_PART_SIZE: number;
|
|
211
|
+
MAX_PARTS: number;
|
|
212
|
+
INITIAL_PART_URLS: number;
|
|
213
|
+
MAX_PART_URLS_PER_CALL: number;
|
|
214
|
+
SNIFF_BYTES: number;
|
|
215
|
+
EXPIRE_BATCH_SIZE: number;
|
|
184
216
|
})[];
|
|
185
217
|
controllers: (typeof BaseController | typeof DataController | typeof FormController | typeof MenuController | typeof PreferenceController | typeof ReportController | typeof UploadController | typeof UserPreferenceController)[];
|
|
186
|
-
dtos: (typeof FileUploadSpecDto | typeof StorageUploadOptionsDto | typeof LocalFileS3UploadDto | typeof S3ObjectInfoDto | typeof MailRecipientAttributesDto | typeof AddDirectMenuDto | typeof ModelFormPreferenceCreationDto | typeof UserPreferenceCreationDto | typeof FileUploadDto | typeof AddCommentDto | typeof ClientCredentialDto | typeof ExecutableScriptPayloadDto | typeof JobRecordParamDto | typeof MailValidationDto | typeof MobileValidationDto | typeof ModelAllowedColumnDto | typeof OtpGenerationDto | typeof ValidationOptionsDto)[];
|
|
187
|
-
entities: (typeof ColumnDefinitionEntity | typeof BusinessRuleRoleEntity | typeof BusinessRuleEntity | typeof LookupTypeEntity | typeof SystemScriptEntity | typeof ModelEntity | typeof FormPreferenceEntity | typeof ModelColumnEntity | typeof ColumnEntity | typeof RelationshipEntity | typeof ModelRelationshipEntity | typeof ModelRoleEntity | typeof FormColumnEntity | typeof UiActionPermissionEntity | typeof UiActionEntity | typeof UiActionRoleEntity | typeof DynamoTableEntity | typeof MailLogEntity | typeof MailRecipientEntity | typeof CodeFixScriptEntity | typeof CodeFixLogEntity | typeof ServiceEntity | typeof SecurityRuleEntity | typeof EventDetailEntity | typeof EventQueueEntity | typeof ScheduledEventEntity | typeof PrimaryAxisEntity | typeof ChartEntity | typeof UserGroupRoleEntity | typeof UserGroupEntity | typeof UserGroupMemberEntity | typeof ReportColumnEntity | typeof ReportEntity | typeof ReportFilterEntity | typeof ReportRelationshipEntity | typeof ReportRoleEntity | typeof ClientScriptEntity | typeof MenuRoleEntity | typeof MenuEntity | typeof ModuleEntity | typeof ModuleMenuEntity | typeof PageDefinitionEntity | typeof ParentMenuEntity | typeof UserPreferenceEntity | typeof ClientEntity | typeof ClientCredentialEntity | typeof CredentialIpEntity | typeof DocumentEntity | typeof CommentEntity | typeof DataLogEntity | typeof MailEventEntity | typeof MailValidationEntity | typeof
|
|
218
|
+
dtos: (typeof FileUploadSpecDto | typeof StorageUploadOptionsDto | typeof LocalFileS3UploadDto | typeof S3ObjectInfoDto | typeof MailRecipientAttributesDto | typeof AddDirectMenuDto | typeof ModelFormPreferenceCreationDto | typeof UserPreferenceCreationDto | typeof FileUploadDto | typeof AddCommentDto | typeof ClientCredentialDto | typeof DirectUploadFileDto | typeof DirectUploadInitiateDto | typeof DirectUploadOptionsDto | typeof DirectUploadPartsDto | typeof ExecutableScriptPayloadDto | typeof JobRecordParamDto | typeof MailValidationDto | typeof MobileValidationDto | typeof ModelAllowedColumnDto | typeof OtpGenerationDto | typeof UploadSessionAttributesDto | typeof ValidationOptionsDto)[];
|
|
219
|
+
entities: (typeof ColumnDefinitionEntity | typeof BusinessRuleRoleEntity | typeof BusinessRuleEntity | typeof LookupTypeEntity | typeof SystemScriptEntity | typeof ModelEntity | typeof FormPreferenceEntity | typeof ModelColumnEntity | typeof ColumnEntity | typeof RelationshipEntity | typeof ModelRelationshipEntity | typeof ModelRoleEntity | typeof FormColumnEntity | typeof UiActionPermissionEntity | typeof UiActionEntity | typeof UiActionRoleEntity | typeof DynamoTableEntity | typeof MailLogEntity | typeof MailRecipientEntity | typeof CodeFixScriptEntity | typeof CodeFixLogEntity | typeof ServiceEntity | typeof SecurityRuleEntity | typeof EventDetailEntity | typeof EventQueueEntity | typeof ScheduledEventEntity | typeof PrimaryAxisEntity | typeof ChartEntity | typeof UserGroupRoleEntity | typeof UserGroupEntity | typeof UserGroupMemberEntity | typeof ReportColumnEntity | typeof ReportEntity | typeof ReportFilterEntity | typeof ReportRelationshipEntity | typeof ReportRoleEntity | typeof MaterialViewEntity | typeof ClientScriptEntity | typeof MenuRoleEntity | typeof MenuEntity | typeof ModuleEntity | typeof ModuleMenuEntity | typeof PageDefinitionEntity | typeof ParentMenuEntity | typeof UserPreferenceEntity | typeof ClientEntity | typeof ClientCredentialEntity | typeof CredentialIpEntity | typeof DocumentEntity | typeof CommentEntity | typeof DataLogEntity | typeof MailEventEntity | typeof MailValidationEntity | typeof MobileValidationEntity | typeof OpenPropertyEntity | typeof RecurringQueryEntity | typeof ReportSheetEntity | typeof SmsTemplateEntity | typeof SmsMessageEntity | typeof SourceVersionEntity | typeof UploadSessionEntity | typeof UserGroupPermissionEntity | typeof WhatsappTemplateEntity)[];
|
|
188
220
|
interfaces: any[];
|
|
189
|
-
jobs: (typeof ExecuteCodeFixJob | typeof SetScheduledEventJob | typeof ModelScannerJob | typeof ReportColumnSyncJob | typeof SyncAllCodeJob | typeof ClientCredentialJob | typeof SetCodefixScriptEventJob | typeof CodeFixScriptJob | typeof ColumnMapperJob | typeof CommentJob | typeof CredentialIpJob | typeof DocumentJob | typeof ExecuteMaterialViewJob | typeof ExecuteRecurringQueryJob | typeof RefreshMaterialViewJob | typeof MaterialViewJob | typeof OrphanSweeperJob | typeof RefreshPropertyCacheJob | typeof PropertyJob | typeof SetRecurringQueryEventJob | typeof RecurringQueryJob | typeof RelationshipMapperJob | typeof ScheduledEventJob | typeof SetEventQueueJob | typeof SqsPollingJob | typeof UserGroupMemberJob | typeof UserGroupPermissionJob | typeof UserGroupRoleJob)[];
|
|
190
|
-
libraries: (typeof FileTypeDetector | typeof CommonStorageService | typeof SandboxedScriptExecutor | typeof SecurityRuleEvaluator | typeof ColumnManager | typeof ScriptFnHelpers | typeof ExecuteCodeFix | typeof ModelSync | typeof BusinessRuleFilterValidator | typeof BusinessRuleQueryEvaluator | typeof ProcessMenuCreation | typeof MaterialViewFreshness | typeof CodeEvaluator | typeof CryptReEncryptProcessor | typeof GetReportQuery | typeof ReportBatchPaginator | typeof GenerateDownloadableReportFile | typeof ProcessScriptExecution | typeof SyncDynamoTables)[];
|
|
221
|
+
jobs: (typeof ExecuteCodeFixJob | typeof SetScheduledEventJob | typeof ModelScannerJob | typeof ReportColumnSyncJob | typeof SyncAllCodeJob | typeof ClientCredentialJob | typeof SetCodefixScriptEventJob | typeof CodeFixScriptJob | typeof ColumnMapperJob | typeof CommentJob | typeof CredentialIpJob | typeof DocumentJob | typeof ExecuteMaterialViewJob | typeof ExecuteRecurringQueryJob | typeof ExpireUploadSessionJob | typeof RefreshMaterialViewJob | typeof MaterialViewJob | typeof OrphanSweeperJob | typeof RefreshPropertyCacheJob | typeof PropertyJob | typeof SetRecurringQueryEventJob | typeof RecurringQueryJob | typeof RelationshipMapperJob | typeof ScheduledEventJob | typeof SetEventQueueJob | typeof SqsPollingJob | typeof UserGroupMemberJob | typeof UserGroupPermissionJob | typeof UserGroupRoleJob)[];
|
|
222
|
+
libraries: (typeof FileTypeDetector | typeof CommonStorageService | typeof SandboxedScriptExecutor | typeof SecurityRuleEvaluator | typeof ColumnManager | typeof ScriptFnHelpers | typeof ExecuteCodeFix | typeof ModelSync | typeof BusinessRuleFilterValidator | typeof BusinessRuleQueryEvaluator | typeof ProcessMenuCreation | typeof MaterialViewFreshness | typeof CodeEvaluator | typeof CommonDirectUploadController | typeof CryptReEncryptProcessor | typeof GetReportQuery | typeof ReportBatchPaginator | typeof GenerateDownloadableReportFile | typeof ProcessScriptExecution | typeof SyncDynamoTables)[];
|
|
191
223
|
modifiers: (typeof MenuListModifier | typeof ModuleListModifier)[];
|
|
192
|
-
services: (typeof PropertyService | typeof AwsS3Service | typeof CloudflareR2Service | typeof StorageService | typeof UploadService | typeof SecurityRuleService | typeof UiActionService | typeof ModelService | typeof BaseService | typeof ScheduledEventService | typeof EventDetailService | typeof ClientScriptService | typeof PreferenceService | typeof BusinessRuleService | typeof ListService | typeof FormService | typeof MenuService | typeof UserPreferenceService | typeof ReportService | typeof ClientCredentialService | typeof EventQueueService | typeof ColumnService | typeof DocumentService | typeof CommentService | typeof ExecutableScriptService | typeof InternalServerConnectService | typeof MailValidationService | typeof MobileValidationService)[];
|
|
193
|
-
subscribers: (typeof ClientCredentialSubscriber | typeof CodeFixScriptSubscriber | typeof MaterialViewSubscriber | typeof PropertySubscriber | typeof RecurringQuerySubscriber | typeof ScheduledEventSubscriber)[];
|
|
224
|
+
services: (typeof PropertyService | typeof AwsS3Service | typeof CloudflareR2Service | typeof StorageService | typeof UploadService | typeof SecurityRuleService | typeof UiActionService | typeof ModelService | typeof BaseService | typeof ScheduledEventService | typeof EventDetailService | typeof ClientScriptService | typeof PreferenceService | typeof BusinessRuleService | typeof ListService | typeof FormService | typeof MenuService | typeof UserPreferenceService | typeof ReportService | typeof ClientCredentialService | typeof DirectUploadService | typeof EventQueueService | typeof ColumnService | typeof DocumentService | typeof CommentService | typeof ExecutableScriptService | typeof InternalServerConnectService | typeof MailValidationService | typeof MobileValidationService | typeof SourceVersionService)[];
|
|
225
|
+
subscribers: (typeof ClientCredentialSubscriber | typeof CodeFixScriptSubscriber | typeof MaterialViewSubscriber | typeof PropertySubscriber | typeof RecurringQuerySubscriber | typeof ScheduledEventSubscriber | typeof SystemScriptSubscriber)[];
|
|
194
226
|
};
|
|
195
227
|
export default es6Classes;
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const storage_constants_1 = require("./constants/storage.constants");
|
|
4
4
|
const ui_action_constants_1 = require("./constants/ui.action.constants");
|
|
5
5
|
const upload_allow_list_1 = require("./constants/upload.allow.list");
|
|
6
|
+
const upload_session_constants_1 = require("./constants/upload.session.constants");
|
|
6
7
|
const base_controller_1 = require("./controllers/base.controller");
|
|
7
8
|
const data_controller_1 = require("./controllers/data.controller");
|
|
8
9
|
const form_controller_1 = require("./controllers/form.controller");
|
|
@@ -21,6 +22,10 @@ const code_fix_script_attributes_dto_1 = require("./dtos/code.fix.script.attribu
|
|
|
21
22
|
const comment_attributes_dto_1 = require("./dtos/comment.attributes.dto");
|
|
22
23
|
const credential_ip_attributes_dto_1 = require("./dtos/credential.ip.attributes.dto");
|
|
23
24
|
const data_log_attributes_dto_1 = require("./dtos/data.log.attributes.dto");
|
|
25
|
+
const direct_upload_file_dto_1 = require("./dtos/direct.upload.file.dto");
|
|
26
|
+
const direct_upload_initiate_dto_1 = require("./dtos/direct.upload.initiate.dto");
|
|
27
|
+
const direct_upload_options_dto_1 = require("./dtos/direct.upload.options.dto");
|
|
28
|
+
const direct_upload_parts_dto_1 = require("./dtos/direct.upload.parts.dto");
|
|
24
29
|
const document_attributes_dto_1 = require("./dtos/document.attributes.dto");
|
|
25
30
|
const executable_script_attributes_dto_1 = require("./dtos/executable.script.attributes.dto");
|
|
26
31
|
const executable_script_payload_dto_1 = require("./dtos/executable.script.payload.dto");
|
|
@@ -45,6 +50,7 @@ const scheduled_event_attributes_dto_1 = require("./dtos/scheduled.event.attribu
|
|
|
45
50
|
const sms_message_attributes_dto_1 = require("./dtos/sms.message.attributes.dto");
|
|
46
51
|
const sms_template_attributes_dto_1 = require("./dtos/sms.template.attributes.dto");
|
|
47
52
|
const storage_upload_options_dto_1 = require("./dtos/storage.upload.options.dto");
|
|
53
|
+
const upload_session_attributes_dto_1 = require("./dtos/upload.session.attributes.dto");
|
|
48
54
|
const user_preference_creation_dto_1 = require("./dtos/user.preference.creation.dto");
|
|
49
55
|
const validation_options_dto_1 = require("./dtos/validation.options.dto");
|
|
50
56
|
const business_rule_entity_1 = require("./entities/business.rule.entity");
|
|
@@ -106,10 +112,12 @@ const security_rule_entity_1 = require("./entities/security.rule.entity");
|
|
|
106
112
|
const service_entity_1 = require("./entities/service.entity");
|
|
107
113
|
const sms_message_entity_1 = require("./entities/sms.message.entity");
|
|
108
114
|
const sms_template_entity_1 = require("./entities/sms.template.entity");
|
|
115
|
+
const source_version_entity_1 = require("./entities/source.version.entity");
|
|
109
116
|
const system_script_entity_1 = require("./entities/system.script.entity");
|
|
110
117
|
const ui_action_entity_1 = require("./entities/ui.action.entity");
|
|
111
118
|
const ui_action_permission_entity_1 = require("./entities/ui.action.permission.entity");
|
|
112
119
|
const ui_action_role_entity_1 = require("./entities/ui.action.role.entity");
|
|
120
|
+
const upload_session_entity_1 = require("./entities/upload.session.entity");
|
|
113
121
|
const user_group_entity_1 = require("./entities/user.group.entity");
|
|
114
122
|
const user_group_member_entity_1 = require("./entities/user.group.member.entity");
|
|
115
123
|
const user_group_permission_entity_1 = require("./entities/user.group.permission.entity");
|
|
@@ -125,6 +133,7 @@ const document_job_1 = require("./jobs/document.job");
|
|
|
125
133
|
const execute_code_fix_job_1 = require("./jobs/execute.code.fix.job");
|
|
126
134
|
const execute_material_view_job_1 = require("./jobs/execute.material.view.job");
|
|
127
135
|
const execute_recurring_query_job_1 = require("./jobs/execute.recurring.query.job");
|
|
136
|
+
const expire_upload_session_job_1 = require("./jobs/expire.upload.session.job");
|
|
128
137
|
const material_view_job_1 = require("./jobs/material.view.job");
|
|
129
138
|
const model_scanner_job_1 = require("./jobs/model.scanner.job");
|
|
130
139
|
const orphan_sweeper_job_1 = require("./jobs/orphan.sweeper.job");
|
|
@@ -148,6 +157,7 @@ const business_rule_filter_validator_1 = require("./libraries/business.rule.filt
|
|
|
148
157
|
const business_rule_query_evaluator_1 = require("./libraries/business.rule.query.evaluator");
|
|
149
158
|
const code_evaluator_1 = require("./libraries/code.evaluator");
|
|
150
159
|
const column_manager_1 = require("./libraries/column.manager");
|
|
160
|
+
const common_direct_upload_controller_1 = require("./libraries/common.direct.upload.controller");
|
|
151
161
|
const common_storage_service_1 = require("./libraries/common.storage.service");
|
|
152
162
|
const crypt_re_encrypt_processor_1 = require("./libraries/crypt.re.encrypt.processor");
|
|
153
163
|
const execute_code_fix_1 = require("./libraries/execute.code.fix");
|
|
@@ -173,6 +183,7 @@ const client_script_service_1 = require("./services/client.script.service");
|
|
|
173
183
|
const cloudflare_r2_service_1 = require("./services/cloudflare.r2.service");
|
|
174
184
|
const column_service_1 = require("./services/column.service");
|
|
175
185
|
const comment_service_1 = require("./services/comment.service");
|
|
186
|
+
const direct_upload_service_1 = require("./services/direct.upload.service");
|
|
176
187
|
const document_service_1 = require("./services/document.service");
|
|
177
188
|
const event_detail_service_1 = require("./services/event.detail.service");
|
|
178
189
|
const event_queue_service_1 = require("./services/event.queue.service");
|
|
@@ -189,6 +200,7 @@ const property_service_1 = require("./services/property.service");
|
|
|
189
200
|
const report_service_1 = require("./services/report.service");
|
|
190
201
|
const scheduled_event_service_1 = require("./services/scheduled.event.service");
|
|
191
202
|
const security_rule_service_1 = require("./services/security.rule.service");
|
|
203
|
+
const source_version_service_1 = require("./services/source.version.service");
|
|
192
204
|
const storage_service_1 = require("./services/storage.service");
|
|
193
205
|
const ui_action_service_1 = require("./services/ui.action.service");
|
|
194
206
|
const upload_service_1 = require("./services/upload.service");
|
|
@@ -199,8 +211,9 @@ const material_view_subscriber_1 = require("./subscribers/material.view.subscrib
|
|
|
199
211
|
const property_subscriber_1 = require("./subscribers/property.subscriber");
|
|
200
212
|
const recurring_query_subscriber_1 = require("./subscribers/recurring.query.subscriber");
|
|
201
213
|
const scheduled_event_subscriber_1 = require("./subscribers/scheduled.event.subscriber");
|
|
214
|
+
const system_script_subscriber_1 = require("./subscribers/system.script.subscriber");
|
|
202
215
|
const es6Classes = {
|
|
203
|
-
constants: [storage_constants_1.StorageConstants, ui_action_constants_1.UiActionConstants, upload_allow_list_1.UploadAllowList],
|
|
216
|
+
constants: [storage_constants_1.StorageConstants, ui_action_constants_1.UiActionConstants, upload_allow_list_1.UploadAllowList, upload_session_constants_1.UploadSessionConstants],
|
|
204
217
|
controllers: [
|
|
205
218
|
base_controller_1.BaseController,
|
|
206
219
|
data_controller_1.DataController,
|
|
@@ -222,6 +235,10 @@ const es6Classes = {
|
|
|
222
235
|
comment_attributes_dto_1.CommentAttributesDto,
|
|
223
236
|
credential_ip_attributes_dto_1.CredentialIpAttributesDto,
|
|
224
237
|
data_log_attributes_dto_1.DataLogAttributesDto,
|
|
238
|
+
direct_upload_file_dto_1.DirectUploadFileDto,
|
|
239
|
+
direct_upload_initiate_dto_1.DirectUploadInitiateDto,
|
|
240
|
+
direct_upload_options_dto_1.DirectUploadOptionsDto,
|
|
241
|
+
direct_upload_parts_dto_1.DirectUploadPartsDto,
|
|
225
242
|
document_attributes_dto_1.DocumentAttributesDto,
|
|
226
243
|
executable_script_attributes_dto_1.ExecutableScriptAttributesDto,
|
|
227
244
|
executable_script_payload_dto_1.ExecutableScriptPayloadDto,
|
|
@@ -246,6 +263,7 @@ const es6Classes = {
|
|
|
246
263
|
sms_message_attributes_dto_1.SmsMessageAttributesDto,
|
|
247
264
|
sms_template_attributes_dto_1.SmsTemplateAttributesDto,
|
|
248
265
|
storage_upload_options_dto_1.StorageUploadOptionsDto,
|
|
266
|
+
upload_session_attributes_dto_1.UploadSessionAttributesDto,
|
|
249
267
|
user_preference_creation_dto_1.UserPreferenceCreationDto,
|
|
250
268
|
validation_options_dto_1.ValidationOptionsDto,
|
|
251
269
|
],
|
|
@@ -309,10 +327,12 @@ const es6Classes = {
|
|
|
309
327
|
service_entity_1.ServiceEntity,
|
|
310
328
|
sms_message_entity_1.SmsMessageEntity,
|
|
311
329
|
sms_template_entity_1.SmsTemplateEntity,
|
|
330
|
+
source_version_entity_1.SourceVersionEntity,
|
|
312
331
|
system_script_entity_1.SystemScriptEntity,
|
|
313
332
|
ui_action_entity_1.UiActionEntity,
|
|
314
333
|
ui_action_permission_entity_1.UiActionPermissionEntity,
|
|
315
334
|
ui_action_role_entity_1.UiActionRoleEntity,
|
|
335
|
+
upload_session_entity_1.UploadSessionEntity,
|
|
316
336
|
user_group_entity_1.UserGroupEntity,
|
|
317
337
|
user_group_member_entity_1.UserGroupMemberEntity,
|
|
318
338
|
user_group_permission_entity_1.UserGroupPermissionEntity,
|
|
@@ -331,6 +351,7 @@ const es6Classes = {
|
|
|
331
351
|
execute_code_fix_job_1.ExecuteCodeFixJob,
|
|
332
352
|
execute_material_view_job_1.ExecuteMaterialViewJob,
|
|
333
353
|
execute_recurring_query_job_1.ExecuteRecurringQueryJob,
|
|
354
|
+
expire_upload_session_job_1.ExpireUploadSessionJob,
|
|
334
355
|
material_view_job_1.MaterialViewJob,
|
|
335
356
|
model_scanner_job_1.ModelScannerJob,
|
|
336
357
|
orphan_sweeper_job_1.OrphanSweeperJob,
|
|
@@ -356,6 +377,7 @@ const es6Classes = {
|
|
|
356
377
|
business_rule_query_evaluator_1.BusinessRuleQueryEvaluator,
|
|
357
378
|
code_evaluator_1.CodeEvaluator,
|
|
358
379
|
column_manager_1.ColumnManager,
|
|
380
|
+
common_direct_upload_controller_1.CommonDirectUploadController,
|
|
359
381
|
common_storage_service_1.CommonStorageService,
|
|
360
382
|
crypt_re_encrypt_processor_1.CryptReEncryptProcessor,
|
|
361
383
|
execute_code_fix_1.ExecuteCodeFix,
|
|
@@ -382,6 +404,7 @@ const es6Classes = {
|
|
|
382
404
|
cloudflare_r2_service_1.CloudflareR2Service,
|
|
383
405
|
column_service_1.ColumnService,
|
|
384
406
|
comment_service_1.CommentService,
|
|
407
|
+
direct_upload_service_1.DirectUploadService,
|
|
385
408
|
document_service_1.DocumentService,
|
|
386
409
|
event_detail_service_1.EventDetailService,
|
|
387
410
|
event_queue_service_1.EventQueueService,
|
|
@@ -398,6 +421,7 @@ const es6Classes = {
|
|
|
398
421
|
report_service_1.ReportService,
|
|
399
422
|
scheduled_event_service_1.ScheduledEventService,
|
|
400
423
|
security_rule_service_1.SecurityRuleService,
|
|
424
|
+
source_version_service_1.SourceVersionService,
|
|
401
425
|
storage_service_1.StorageService,
|
|
402
426
|
ui_action_service_1.UiActionService,
|
|
403
427
|
upload_service_1.UploadService,
|
|
@@ -410,6 +434,7 @@ const es6Classes = {
|
|
|
410
434
|
property_subscriber_1.PropertySubscriber,
|
|
411
435
|
recurring_query_subscriber_1.RecurringQuerySubscriber,
|
|
412
436
|
scheduled_event_subscriber_1.ScheduledEventSubscriber,
|
|
437
|
+
system_script_subscriber_1.SystemScriptSubscriber,
|
|
413
438
|
],
|
|
414
439
|
};
|
|
415
440
|
exports.default = es6Classes;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/system/es6.classes.ts"],"names":[],"mappings":";;AAAA,qEAAiE;AACjE,yEAAoE;AACpE,qEAAgE;AAChE,mEAA+D;AAC/D,mEAA+D;AAC/D,mEAA+D;AAC/D,mEAA+D;AAC/D,+EAA2E;AAC3E,uEAAmE;AACnE,uEAAmE;AACnE,yFAAoF;AACpF,4DAAuD;AACvD,oEAA8D;AAC9D,wEAAmE;AACnE,8FAAwF;AACxF,wEAAmE;AACnE,oFAA6E;AAC7E,0FAAmF;AACnF,0EAAqE;AACrE,sFAAgF;AAChF,4EAAsE;AACtE,4EAAuE;AACvE,8FAAwF;AACxF,wFAAkF;AAClF,4DAAuD;AACvD,sEAAgE;AAChE,sEAAgE;AAChE,8EAAuE;AACvE,gFAA0E;AAC1E,wFAAkF;AAClF,oEAA+D;AAC/D,sFAAgF;AAChF,gGAAyF;AACzF,wEAAmE;AACnE,8EAAwE;AACxE,kGAA2F;AAC3F,kEAA6D;AAC7D,0FAAoF;AACpF,oFAA8E;AAC9E,kEAA4D;AAC5D,wEAAkE;AAClE,0FAAoF;AACpF,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EAA2D;AAC3D,gEAA2D;AAC3D,kEAA6D;AAC7D,sDAAkD;AAClD,oEAA+D;AAC/D,gFAA0E;AAC1E,kFAA4E;AAC5E,4EAAuE;AACvE,0EAAoE;AACpE,oEAA+D;AAC/D,sFAA+E;AAC/E,oEAA8D;AAC9D,wFAAiF;AACjF,4EAAsE;AACtE,4DAAuD;AACvD,gEAA0D;AAC1D,wEAAkE;AAClE,gFAA0E;AAC1E,oEAA8D;AAC9D,+FAAyF;AACzF,6FAAuF;AACvF,+DAA2D;AAC3D,+DAA2D;AAC3D,+EAA0E;AAC1E,uFAAiF;AACjF,mEAA8D;AAC9D,uEAAkE;AAClE,qGAA+F;AAC/F,mEAA8D;AAC9D,iFAA4E;AAC5E,uDAAmD;AACnD,6EAAwE;AACxE,mFAA8E;AAC9E,+EAA0E;AAC1E,qFAAgF;AAChF,qEAAgE;AAChE,iFAA4E;AAC5E,uEAAkE;AAClE,uEAAkE;AAClE,2EAAsE;AACtE,8DAAyD;AACzD,0DAAsD;AACtD,4EAAuE;AACvE,oFAA+E;AAC/E,4EAAuE;AACvE,4EAAuE;AACvE,8DAA0D;AAC1D,gEAA4D;AAC5D,kEAA8D;AAC9D,0EAAqE;AACrE,wEAAmE;AACnE,oFAA+E;AAC/E,0DAAsD;AACtD,gGAA0F;AAC1F,0DAAsD;AACtD,gFAA2E;AAC3E,0DAAsD;AACtD,oFAA+E;AAC/E,4DAAwD;AACxD,sEAAkE;AAClE,kEAA8D;AAC9D,8DAA0D;AAC1D,gFAA2E;AAC3E,4EAAuE;AACvE,gEAA4D;AAC5D,oEAA+D;AAC/D,8DAA0D;AAC1D,gFAA2E;AAC3E,6FAAwF;AACxF,yFAAmF;AACnF,qFAAgF;AAChF,2EAAuE;AACvE,yFAAoF;AACpF,yFAAoF;
|
|
1
|
+
{"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/system/es6.classes.ts"],"names":[],"mappings":";;AAAA,qEAAiE;AACjE,yEAAoE;AACpE,qEAAgE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mCAAe;QACf,8BAAa;QACb,+CAAqB;KACxB;IACD,WAAW,EAAE;QACT,yDAA0B;QAC1B,oDAAuB;QACvB,iDAAsB;QACtB,wCAAkB;QAClB,qDAAwB;QACxB,qDAAwB;QACxB,iDAAsB;KACzB;CACJ,CAAC;AAEF,kBAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"direct.upload.part.url.interface.js","sourceRoot":"","sources":["../../../src/system/interfaces/direct.upload.part.url.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"direct.upload.result.interface.js","sourceRoot":"","sources":["../../../src/system/interfaces/direct.upload.result.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DirectUploadPartUrlInterface } from './direct.upload.part.url.interface';
|
|
2
|
+
export interface DirectUploadSessionInterface {
|
|
3
|
+
uuid: string;
|
|
4
|
+
mode: string;
|
|
5
|
+
engine: string;
|
|
6
|
+
key: string;
|
|
7
|
+
original_name: string;
|
|
8
|
+
content_type: string;
|
|
9
|
+
size: number;
|
|
10
|
+
expires_at: Date;
|
|
11
|
+
url?: string;
|
|
12
|
+
headers: Record<string, string>;
|
|
13
|
+
part_size?: number;
|
|
14
|
+
part_count?: number;
|
|
15
|
+
parts?: DirectUploadPartUrlInterface[];
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"direct.upload.session.interface.js","sourceRoot":"","sources":["../../../src/system/interfaces/direct.upload.session.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UploadedPartInterface } from './uploaded.part.interface';
|
|
2
|
+
export interface DirectUploadStatusInterface {
|
|
3
|
+
uuid: string;
|
|
4
|
+
status: string;
|
|
5
|
+
mode: string;
|
|
6
|
+
size: number;
|
|
7
|
+
part_size?: number;
|
|
8
|
+
part_count?: number;
|
|
9
|
+
uploaded_parts: UploadedPartInterface[];
|
|
10
|
+
expires_at: Date;
|
|
11
|
+
url?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"direct.upload.status.interface.js","sourceRoot":"","sources":["../../../src/system/interfaces/direct.upload.status.interface.ts"],"names":[],"mappings":""}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
export * from './bulk.delete.result.interface';
|
|
2
2
|
export * from './crypt.re.encrypt.result.interface';
|
|
3
3
|
export * from './crypt.re.encrypt.target.interface';
|
|
4
|
+
export * from './direct.upload.part.url.interface';
|
|
5
|
+
export * from './direct.upload.result.interface';
|
|
6
|
+
export * from './direct.upload.session.interface';
|
|
7
|
+
export * from './direct.upload.status.interface';
|
|
4
8
|
export * from './engine.feature.support.interface';
|
|
5
9
|
export * from './list.options.interface';
|
|
6
10
|
export * from './migration.target.interface';
|
|
7
11
|
export * from './object.ref.interface';
|
|
8
12
|
export * from './polymorphic.source.interface';
|
|
13
|
+
export * from './source.version.options.interface';
|
|
9
14
|
export * from './storage.object.interface';
|
|
10
15
|
export * from './storage.object.metadata.interface';
|
|
11
16
|
export * from './storage.ref.interface';
|
|
17
|
+
export * from './uploaded.part.interface';
|
|
@@ -17,12 +17,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./bulk.delete.result.interface"), exports);
|
|
18
18
|
__exportStar(require("./crypt.re.encrypt.result.interface"), exports);
|
|
19
19
|
__exportStar(require("./crypt.re.encrypt.target.interface"), exports);
|
|
20
|
+
__exportStar(require("./direct.upload.part.url.interface"), exports);
|
|
21
|
+
__exportStar(require("./direct.upload.result.interface"), exports);
|
|
22
|
+
__exportStar(require("./direct.upload.session.interface"), exports);
|
|
23
|
+
__exportStar(require("./direct.upload.status.interface"), exports);
|
|
20
24
|
__exportStar(require("./engine.feature.support.interface"), exports);
|
|
21
25
|
__exportStar(require("./list.options.interface"), exports);
|
|
22
26
|
__exportStar(require("./migration.target.interface"), exports);
|
|
23
27
|
__exportStar(require("./object.ref.interface"), exports);
|
|
24
28
|
__exportStar(require("./polymorphic.source.interface"), exports);
|
|
29
|
+
__exportStar(require("./source.version.options.interface"), exports);
|
|
25
30
|
__exportStar(require("./storage.object.interface"), exports);
|
|
26
31
|
__exportStar(require("./storage.object.metadata.interface"), exports);
|
|
27
32
|
__exportStar(require("./storage.ref.interface"), exports);
|
|
33
|
+
__exportStar(require("./uploaded.part.interface"), exports);
|
|
28
34
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C;AAAA,sEAAoD;AAAA,sEAAoD;AAAA,qEAAmD;AAAA,2DAAyC;AAAA,+DAA6C;AAAA,yDAAuC;AAAA,iEAA+C;AAAA,6DAA2C;AAAA,sEAAoD;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C;AAAA,sEAAoD;AAAA,sEAAoD;AAAA,qEAAmD;AAAA,mEAAiD;AAAA,oEAAkD;AAAA,mEAAiD;AAAA,qEAAmD;AAAA,2DAAyC;AAAA,+DAA6C;AAAA,yDAAuC;AAAA,iEAA+C;AAAA,qEAAmD;AAAA,6DAA2C;AAAA,sEAAoD;AAAA,0DAAwC;AAAA,4DAAyC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source.version.options.interface.js","sourceRoot":"","sources":["../../../src/system/interfaces/source.version.options.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uploaded.part.interface.js","sourceRoot":"","sources":["../../../src/system/interfaces/uploaded.part.interface.ts"],"names":[],"mappings":""}
|
|
@@ -29,6 +29,7 @@ let ExecuteMaterialViewJob = class ExecuteMaterialViewJob extends common_job_1.C
|
|
|
29
29
|
const view = await material_view_entity_1.MaterialViewEntity.first(+id);
|
|
30
30
|
if (!view?.active)
|
|
31
31
|
return;
|
|
32
|
+
const startedAt = new Date();
|
|
32
33
|
const sql = `REFRESH MATERIALIZED VIEW CONCURRENTLY ${view.table_name}`;
|
|
33
34
|
try {
|
|
34
35
|
await this.sqlService.sql(sql);
|
|
@@ -38,6 +39,7 @@ let ExecuteMaterialViewJob = class ExecuteMaterialViewJob extends common_job_1.C
|
|
|
38
39
|
throw error;
|
|
39
40
|
}
|
|
40
41
|
view.last_run_time = new Date();
|
|
42
|
+
view.attributes = { ...(view.attributes ?? {}), last_refresh_started_at: startedAt.toISOString() };
|
|
41
43
|
return view.save();
|
|
42
44
|
}
|
|
43
45
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute.material.view.job.js","sourceRoot":"","sources":["../../../src/system/jobs/execute.material.view.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,kEAA8D;AAC9D,wEAAoE;AACpE,gFAA4E;AAC5E,4EAAwE;AACxE,2EAAsE;AAG/D,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,sBAAS;IAGjD,YACuB,YAA0B,EAC5B,UAAsB;QAEvC,KAAK,CAAC,kCAAkC,CAAC,CAAC;QAHvB,iBAAY,GAAZ,YAAY,CAAc;QAC5B,eAAU,GAAV,UAAU,CAAY;QAJjC,YAAO,GAAW,MAAM,CAAC;IAOnC,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,EAAU;QACnB,IAAI,CAAC,EAAE;YAAE,OAAO;QAEhB,MAAM,IAAI,GAAG,MAAM,yCAAkB,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC;QACjD,IAAI,CAAC,IAAI,EAAE,MAAM;YAAE,OAAO;
|
|
1
|
+
{"version":3,"file":"execute.material.view.job.js","sourceRoot":"","sources":["../../../src/system/jobs/execute.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AAA,mBAAU,GAAE;qCAK4B,4BAAY;QAChB,wBAAU;GALlC,sBAAsB,CA+BlC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CommonJob } from '../../common/libraries/common.job';
|
|
2
|
+
import { QueueService } from '../../platformUtility/services/queue.service';
|
|
3
|
+
import { DirectUploadService } from '../services/direct.upload.service';
|
|
4
|
+
export declare class ExpireUploadSessionJob extends CommonJob {
|
|
5
|
+
protected readonly queueService: QueueService;
|
|
6
|
+
private readonly directUploadService;
|
|
7
|
+
protected noDuplicate: boolean;
|
|
8
|
+
protected timeout: number;
|
|
9
|
+
constructor(queueService: QueueService, directUploadService: DirectUploadService);
|
|
10
|
+
handle(): Promise<{
|
|
11
|
+
expired: number;
|
|
12
|
+
}>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ExpireUploadSessionJob = void 0;
|
|
13
|
+
const common_1 = require("@nestjs/common");
|
|
14
|
+
const common_job_1 = require("../../common/libraries/common.job");
|
|
15
|
+
const queue_service_1 = require("../../platformUtility/services/queue.service");
|
|
16
|
+
const direct_upload_service_1 = require("../services/direct.upload.service");
|
|
17
|
+
let ExpireUploadSessionJob = class ExpireUploadSessionJob extends common_job_1.CommonJob {
|
|
18
|
+
constructor(queueService, directUploadService) {
|
|
19
|
+
super('448285a89156793e0cafaa8d5d43c328');
|
|
20
|
+
this.queueService = queueService;
|
|
21
|
+
this.directUploadService = directUploadService;
|
|
22
|
+
this.noDuplicate = true;
|
|
23
|
+
this.timeout = 300000;
|
|
24
|
+
}
|
|
25
|
+
async handle() {
|
|
26
|
+
const expired = await this.directUploadService.expireStale();
|
|
27
|
+
if (expired)
|
|
28
|
+
this.logger.log(`[direct-upload] expired ${expired} upload session(s)`);
|
|
29
|
+
return { expired };
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
exports.ExpireUploadSessionJob = ExpireUploadSessionJob;
|
|
33
|
+
exports.ExpireUploadSessionJob = ExpireUploadSessionJob = __decorate([
|
|
34
|
+
(0, common_1.Injectable)(),
|
|
35
|
+
__metadata("design:paramtypes", [queue_service_1.QueueService,
|
|
36
|
+
direct_upload_service_1.DirectUploadService])
|
|
37
|
+
], ExpireUploadSessionJob);
|
|
38
|
+
//# sourceMappingURL=expire.upload.session.job.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"expire.upload.session.job.js","sourceRoot":"","sources":["../../../src/system/jobs/expire.upload.session.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,kEAA8D;AAC9D,gFAA4E;AAC5E,6EAAwE;AAWjE,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,sBAAS;IAIjD,YACuB,YAA0B,EAC5B,mBAAwC;QAEzD,KAAK,CAAC,kCAAkC,CAAC,CAAC;QAHvB,iBAAY,GAAZ,YAAY,CAAc;QAC5B,wBAAmB,GAAnB,mBAAmB,CAAqB;QALnD,gBAAW,GAAY,IAAI,CAAC;QAC5B,YAAO,GAAW,MAAM,CAAC;IAOnC,CAAC;IAMD,KAAK,CAAC,MAAM;QACR,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,mBAAmB,CAAC,WAAW,EAAE,CAAC;QAE7D,IAAI,OAAO;YAAE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,2BAA2B,OAAO,oBAAoB,CAAC,CAAC;QAErF,OAAO,EAAE,OAAO,EAAE,CAAC;IACvB,CAAC;CACJ,CAAA;AAtBY,wDAAsB;iCAAtB,sBAAsB;IADlC,IAAA,mBAAU,GAAE;qCAM4B,4BAAY;QACP,2CAAmB;GANpD,sBAAsB,CAsBlC"}
|
|
@@ -7,6 +7,7 @@ export * from './document.job';
|
|
|
7
7
|
export * from './execute.code.fix.job';
|
|
8
8
|
export * from './execute.material.view.job';
|
|
9
9
|
export * from './execute.recurring.query.job';
|
|
10
|
+
export * from './expire.upload.session.job';
|
|
10
11
|
export * from './material.view.job';
|
|
11
12
|
export * from './model.scanner.job';
|
|
12
13
|
export * from './orphan.sweeper.job';
|
|
@@ -23,6 +23,7 @@ __exportStar(require("./document.job"), exports);
|
|
|
23
23
|
__exportStar(require("./execute.code.fix.job"), exports);
|
|
24
24
|
__exportStar(require("./execute.material.view.job"), exports);
|
|
25
25
|
__exportStar(require("./execute.recurring.query.job"), exports);
|
|
26
|
+
__exportStar(require("./expire.upload.session.job"), exports);
|
|
26
27
|
__exportStar(require("./material.view.job"), exports);
|
|
27
28
|
__exportStar(require("./model.scanner.job"), exports);
|
|
28
29
|
__exportStar(require("./orphan.sweeper.job"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/jobs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AAAA,wDAAsC;AAAA,sDAAoC;AAAA,gDAA8B;AAAA,sDAAoC;AAAA,iDAA+B;AAAA,yDAAuC;AAAA,8DAA4C;AAAA,gEAA8C;AAAA,sDAAoC;AAAA,sDAAoC;AAAA,uDAAqC;AAAA,iDAA+B;AAAA,wDAAsC;AAAA,8DAA4C;AAAA,+DAA6C;AAAA,4DAA0C;AAAA,2DAAyC;AAAA,wDAAsC;AAAA,iEAA+C;AAAA,wDAAsC;AAAA,kEAAgD;AAAA,4DAA0C;AAAA,oDAAkC;AAAA,sDAAoC;AAAA,0DAAwC;AAAA,8DAA4C;AAAA,wDAAqC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/jobs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AAAA,wDAAsC;AAAA,sDAAoC;AAAA,gDAA8B;AAAA,sDAAoC;AAAA,iDAA+B;AAAA,yDAAuC;AAAA,8DAA4C;AAAA,gEAA8C;AAAA,8DAA4C;AAAA,sDAAoC;AAAA,sDAAoC;AAAA,uDAAqC;AAAA,iDAA+B;AAAA,wDAAsC;AAAA,8DAA4C;AAAA,+DAA6C;AAAA,4DAA0C;AAAA,2DAAyC;AAAA,wDAAsC;AAAA,iEAA+C;AAAA,wDAAsC;AAAA,kEAAgD;AAAA,4DAA0C;AAAA,oDAAkC;AAAA,sDAAoC;AAAA,0DAAwC;AAAA,8DAA4C;AAAA,wDAAqC"}
|
|
@@ -32,7 +32,9 @@ const security_rule_entity_1 = require("../entities/security.rule.entity");
|
|
|
32
32
|
const sms_message_entity_1 = require("../entities/sms.message.entity");
|
|
33
33
|
const system_script_entity_1 = require("../entities/system.script.entity");
|
|
34
34
|
const ui_action_entity_1 = require("../entities/ui.action.entity");
|
|
35
|
-
let OrphanSweeperJob =
|
|
35
|
+
let OrphanSweeperJob = class OrphanSweeperJob extends common_job_1.CommonJob {
|
|
36
|
+
static { OrphanSweeperJob_1 = this; }
|
|
37
|
+
static { this.DEFAULT_MAX_ORPHAN_IDS = 200; }
|
|
36
38
|
constructor(queueService) {
|
|
37
39
|
super('bfea54a004f96cdc92baf197367e084f');
|
|
38
40
|
this.queueService = queueService;
|
|
@@ -159,7 +161,6 @@ let OrphanSweeperJob = OrphanSweeperJob_1 = class OrphanSweeperJob extends commo
|
|
|
159
161
|
}
|
|
160
162
|
};
|
|
161
163
|
exports.OrphanSweeperJob = OrphanSweeperJob;
|
|
162
|
-
OrphanSweeperJob.DEFAULT_MAX_ORPHAN_IDS = 200;
|
|
163
164
|
exports.OrphanSweeperJob = OrphanSweeperJob = OrphanSweeperJob_1 = __decorate([
|
|
164
165
|
(0, common_1.Injectable)(),
|
|
165
166
|
__metadata("design:paramtypes", [queue_service_1.QueueService])
|