@rocketmakers/orbit-capsule-utils 0.16.2 → 2.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -49
- package/lib/src/bootstrap/boot.d.ts +12 -0
- package/lib/src/bootstrap/boot.d.ts.map +1 -0
- package/lib/src/bootstrap/boot.js +30 -0
- package/lib/src/bootstrap/boot.js.map +1 -0
- package/lib/{bootstrap → src/bootstrap}/common.d.ts +4 -4
- package/lib/src/bootstrap/common.d.ts.map +1 -0
- package/lib/src/bootstrap/common.js +33 -0
- package/lib/src/bootstrap/common.js.map +1 -0
- package/lib/src/bootstrap/createExpressApp.d.ts +4 -0
- package/lib/src/bootstrap/createExpressApp.d.ts.map +1 -0
- package/lib/src/bootstrap/createExpressApp.js +36 -0
- package/lib/src/bootstrap/createExpressApp.js.map +1 -0
- package/lib/{bootstrap → src/bootstrap}/index.d.ts +2 -2
- package/lib/src/bootstrap/index.d.ts.map +1 -0
- package/lib/{bootstrap → src/bootstrap}/index.js +1 -2
- package/lib/src/bootstrap/index.js.map +1 -0
- package/lib/src/bootstrap/ioc/container.d.ts +12 -0
- package/lib/src/bootstrap/ioc/container.d.ts.map +1 -0
- package/lib/src/bootstrap/ioc/container.js +7 -0
- package/lib/src/bootstrap/ioc/container.js.map +1 -0
- package/lib/src/bootstrap/ioc/index.d.ts +3 -0
- package/lib/src/bootstrap/ioc/index.d.ts.map +1 -0
- package/lib/src/bootstrap/ioc/index.js +6 -0
- package/lib/src/bootstrap/ioc/index.js.map +1 -0
- package/lib/src/bootstrap/ioc/register.d.ts +6 -0
- package/lib/src/bootstrap/ioc/register.d.ts.map +1 -0
- package/lib/src/bootstrap/ioc/register.js +27 -0
- package/lib/src/bootstrap/ioc/register.js.map +1 -0
- package/lib/src/bootstrap/ioc/tsoaIoc.d.ts +9 -0
- package/lib/src/bootstrap/ioc/tsoaIoc.d.ts.map +1 -0
- package/lib/src/bootstrap/ioc/tsoaIoc.helper.d.ts +4 -0
- package/lib/src/bootstrap/ioc/tsoaIoc.helper.d.ts.map +1 -0
- package/lib/src/bootstrap/ioc/tsoaIoc.helper.js +14 -0
- package/lib/src/bootstrap/ioc/tsoaIoc.helper.js.map +1 -0
- package/lib/src/bootstrap/ioc/tsoaIoc.js +12 -0
- package/lib/src/bootstrap/ioc/tsoaIoc.js.map +1 -0
- package/lib/src/bootstrap/ioc/types.d.ts +19 -0
- package/lib/src/bootstrap/ioc/types.d.ts.map +1 -0
- package/lib/{build/index.js → src/bootstrap/ioc/types.js} +1 -1
- package/lib/src/bootstrap/ioc/types.js.map +1 -0
- package/lib/{build → src/build}/config.d.ts +1 -0
- package/lib/src/build/config.d.ts.map +1 -0
- package/lib/{build → src/build}/config.js +0 -0
- package/lib/src/build/config.js.map +1 -0
- package/lib/src/build/index.d.ts +2 -0
- package/lib/src/build/index.d.ts.map +1 -0
- package/lib/{notify → src/build}/index.js +1 -1
- package/lib/src/build/index.js.map +1 -0
- package/lib/src/build-docker/copy.d.ts +4 -0
- package/lib/src/build-docker/copy.d.ts.map +1 -0
- package/lib/src/build-docker/copy.js +69 -0
- package/lib/src/build-docker/copy.js.map +1 -0
- package/lib/src/config/app.d.ts +37 -0
- package/lib/src/config/app.d.ts.map +1 -0
- package/lib/src/config/app.js +56 -0
- package/lib/src/config/app.js.map +1 -0
- package/lib/src/config/environment.generated.d.ts +30 -0
- package/lib/src/config/environment.generated.d.ts.map +1 -0
- package/lib/src/config/environment.generated.js +120 -0
- package/lib/src/config/environment.generated.js.map +1 -0
- package/lib/src/config/index.d.ts +2 -0
- package/lib/src/config/index.d.ts.map +1 -0
- package/lib/{config → src/config}/index.js +0 -0
- package/lib/src/config/index.js.map +1 -0
- package/lib/{database → src/database}/connectionFactory.d.ts +5 -2
- package/lib/src/database/connectionFactory.d.ts.map +1 -0
- package/lib/{database → src/database}/connectionFactory.js +4 -4
- package/lib/src/database/connectionFactory.js.map +1 -0
- package/lib/src/database/dataContext.d.ts +13 -0
- package/lib/src/database/dataContext.d.ts.map +1 -0
- package/lib/src/database/dataContext.js +35 -0
- package/lib/src/database/dataContext.js.map +1 -0
- package/lib/src/database/index.d.ts +3 -0
- package/lib/src/database/index.d.ts.map +1 -0
- package/lib/src/database/index.js +6 -0
- package/lib/src/database/index.js.map +1 -0
- package/lib/src/index.d.ts +9 -0
- package/lib/src/index.d.ts.map +1 -0
- package/lib/src/index.js +12 -0
- package/lib/src/index.js.map +1 -0
- package/lib/{middleware → src/middleware}/errors.d.ts +2 -1
- package/lib/src/middleware/errors.d.ts.map +1 -0
- package/lib/{middleware → src/middleware}/errors.js +8 -8
- package/lib/src/middleware/errors.js.map +1 -0
- package/lib/{middleware → src/middleware}/health.d.ts +1 -0
- package/lib/src/middleware/health.d.ts.map +1 -0
- package/lib/{middleware → src/middleware}/health.js +1 -0
- package/lib/src/middleware/health.js.map +1 -0
- package/lib/{middleware → src/middleware}/index.d.ts +1 -0
- package/lib/src/middleware/index.d.ts.map +1 -0
- package/lib/{middleware → src/middleware}/index.js +0 -0
- package/lib/src/middleware/index.js.map +1 -0
- package/lib/src/rest/health.d.ts +7 -0
- package/lib/src/rest/health.d.ts.map +1 -0
- package/lib/{controllers → src/rest}/health.js +15 -14
- package/lib/src/rest/health.js.map +1 -0
- package/lib/src/rest/index.d.ts +2 -0
- package/lib/src/rest/index.d.ts.map +1 -0
- package/lib/{controllers → src/rest}/index.js +0 -0
- package/lib/src/rest/index.js.map +1 -0
- package/lib/src/services/identity.d.ts +10 -0
- package/lib/src/services/identity.d.ts.map +1 -0
- package/lib/{services → src/services}/identity.js +10 -13
- package/lib/src/services/identity.js.map +1 -0
- package/lib/src/services/index.d.ts +2 -0
- package/lib/src/services/index.d.ts.map +1 -0
- package/lib/{tasks → src/services}/index.js +1 -1
- package/lib/src/services/index.js.map +1 -0
- package/lib/src/utils/capsules.d.ts +10 -0
- package/lib/src/utils/capsules.d.ts.map +1 -0
- package/lib/src/utils/capsules.js +27 -0
- package/lib/src/utils/capsules.js.map +1 -0
- package/lib/src/utils/context.d.ts +10 -0
- package/lib/src/utils/context.d.ts.map +1 -0
- package/lib/src/utils/context.js +20 -0
- package/lib/src/utils/context.js.map +1 -0
- package/lib/{utils → src/utils}/httpErrors.d.ts +1 -0
- package/lib/src/utils/httpErrors.d.ts.map +1 -0
- package/lib/{utils → src/utils}/httpErrors.js +1 -0
- package/lib/src/utils/httpErrors.js.map +1 -0
- package/lib/src/utils/index.d.ts +6 -0
- package/lib/src/utils/index.d.ts.map +1 -0
- package/lib/src/utils/index.js +9 -0
- package/lib/src/utils/index.js.map +1 -0
- package/lib/src/utils/podTypes.d.ts +2 -0
- package/lib/src/utils/podTypes.d.ts.map +1 -0
- package/lib/{core/arrays.js → src/utils/podTypes.js} +1 -1
- package/lib/src/utils/podTypes.js.map +1 -0
- package/lib/src/utils/repositoryPaths.d.ts +4 -0
- package/lib/src/utils/repositoryPaths.d.ts.map +1 -0
- package/lib/src/utils/repositoryPaths.js +13 -0
- package/lib/src/utils/repositoryPaths.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +9789 -20418
- package/package.json +53 -72
- package/.npm-version +0 -1
- package/check-npm.js +0 -37
- package/lib/_tests/assertHelpers/array.d.ts +0 -1
- package/lib/_tests/assertHelpers/array.js +0 -21
- package/lib/_tests/assertHelpers/array.js.map +0 -1
- package/lib/_tests/assertHelpers/authorisation.d.ts +0 -9
- package/lib/_tests/assertHelpers/authorisation.js +0 -93
- package/lib/_tests/assertHelpers/authorisation.js.map +0 -1
- package/lib/_tests/assertHelpers/context.d.ts +0 -3
- package/lib/_tests/assertHelpers/context.js +0 -12
- package/lib/_tests/assertHelpers/context.js.map +0 -1
- package/lib/_tests/assertHelpers/core.d.ts +0 -2
- package/lib/_tests/assertHelpers/core.js +0 -38
- package/lib/_tests/assertHelpers/core.js.map +0 -1
- package/lib/_tests/assertHelpers/string.d.ts +0 -4
- package/lib/_tests/assertHelpers/string.js +0 -80
- package/lib/_tests/assertHelpers/string.js.map +0 -1
- package/lib/_tests/assertHelpers/validation.d.ts +0 -14
- package/lib/_tests/assertHelpers/validation.js +0 -59
- package/lib/_tests/assertHelpers/validation.js.map +0 -1
- package/lib/_tests/common.d.ts +0 -5
- package/lib/_tests/common.js +0 -31
- package/lib/_tests/common.js.map +0 -1
- package/lib/_tests/factories/context.d.ts +0 -43
- package/lib/_tests/factories/context.js +0 -141
- package/lib/_tests/factories/context.js.map +0 -1
- package/lib/_tests/factories/transaction.d.ts +0 -2
- package/lib/_tests/factories/transaction.js +0 -7
- package/lib/_tests/factories/transaction.js.map +0 -1
- package/lib/_tests/services/claims/claims.test.d.ts +0 -1
- package/lib/_tests/services/claims/claims.test.js +0 -51
- package/lib/_tests/services/claims/claims.test.js.map +0 -1
- package/lib/_tests/services/encryption/encryptDecrypt.test.d.ts +0 -1
- package/lib/_tests/services/encryption/encryptDecrypt.test.js +0 -104
- package/lib/_tests/services/encryption/encryptDecrypt.test.js.map +0 -1
- package/lib/_tests/services/encryption/mockedService.d.ts +0 -6
- package/lib/_tests/services/encryption/mockedService.js +0 -11
- package/lib/_tests/services/encryption/mockedService.js.map +0 -1
- package/lib/_tests/tasks/factories/scheduledTask.d.ts +0 -2
- package/lib/_tests/tasks/factories/scheduledTask.js +0 -22
- package/lib/_tests/tasks/factories/scheduledTask.js.map +0 -1
- package/lib/_tests/tasks/factories/task.d.ts +0 -3
- package/lib/_tests/tasks/factories/task.js +0 -22
- package/lib/_tests/tasks/factories/task.js.map +0 -1
- package/lib/_tests/tasks/services/taskService/index.test.d.ts +0 -1
- package/lib/_tests/tasks/services/taskService/index.test.js +0 -9
- package/lib/_tests/tasks/services/taskService/index.test.js.map +0 -1
- package/lib/_tests/tasks/services/taskService/mockedService.d.ts +0 -25
- package/lib/_tests/tasks/services/taskService/mockedService.js +0 -60
- package/lib/_tests/tasks/services/taskService/mockedService.js.map +0 -1
- package/lib/_tests/tasks/services/taskService/process.d.ts +0 -1
- package/lib/_tests/tasks/services/taskService/process.js +0 -126
- package/lib/_tests/tasks/services/taskService/process.js.map +0 -1
- package/lib/_tests/tasks/services/taskService/schedule.d.ts +0 -1
- package/lib/_tests/tasks/services/taskService/schedule.js +0 -99
- package/lib/_tests/tasks/services/taskService/schedule.js.map +0 -1
- package/lib/_tests/tracing/decorators/tracing.test.d.ts +0 -1
- package/lib/_tests/tracing/decorators/tracing.test.js +0 -44
- package/lib/_tests/tracing/decorators/tracing.test.js.map +0 -1
- package/lib/_tests/utils/array.test.d.ts +0 -1
- package/lib/_tests/utils/array.test.js +0 -105
- package/lib/_tests/utils/array.test.js.map +0 -1
- package/lib/_tests/utils/errors.d.ts +0 -6
- package/lib/_tests/utils/errors.js +0 -29
- package/lib/_tests/utils/errors.js.map +0 -1
- package/lib/auth/authorisation.d.ts +0 -22
- package/lib/auth/authorisation.js +0 -197
- package/lib/auth/authorisation.js.map +0 -1
- package/lib/auth/claims.d.ts +0 -4
- package/lib/auth/claims.js +0 -10
- package/lib/auth/claims.js.map +0 -1
- package/lib/auth/context.d.ts +0 -23
- package/lib/auth/context.js +0 -57
- package/lib/auth/context.js.map +0 -1
- package/lib/auth/index.d.ts +0 -7
- package/lib/auth/index.js +0 -9
- package/lib/auth/index.js.map +0 -1
- package/lib/auth/interfaces.d.ts +0 -5
- package/lib/auth/interfaces.js +0 -3
- package/lib/auth/interfaces.js.map +0 -1
- package/lib/auth/session.d.ts +0 -15
- package/lib/auth/session.js +0 -3
- package/lib/auth/session.js.map +0 -1
- package/lib/auth/tokenParser.d.ts +0 -21
- package/lib/auth/tokenParser.js +0 -119
- package/lib/auth/tokenParser.js.map +0 -1
- package/lib/auth/user.d.ts +0 -63
- package/lib/auth/user.js +0 -26
- package/lib/auth/user.js.map +0 -1
- package/lib/bootstrap/boot.d.ts +0 -10
- package/lib/bootstrap/boot.js +0 -34
- package/lib/bootstrap/boot.js.map +0 -1
- package/lib/bootstrap/common.js +0 -58
- package/lib/bootstrap/common.js.map +0 -1
- package/lib/bootstrap/createExpressApp.d.ts +0 -4
- package/lib/bootstrap/createExpressApp.js +0 -69
- package/lib/bootstrap/createExpressApp.js.map +0 -1
- package/lib/bootstrap/index.js.map +0 -1
- package/lib/bootstrap/kernel.d.ts +0 -24
- package/lib/bootstrap/kernel.js +0 -75
- package/lib/bootstrap/kernel.js.map +0 -1
- package/lib/bootstrap/request.d.ts +0 -41
- package/lib/bootstrap/request.js +0 -49
- package/lib/bootstrap/request.js.map +0 -1
- package/lib/build/config.js.map +0 -1
- package/lib/build/index.d.ts +0 -1
- package/lib/build/index.js.map +0 -1
- package/lib/config/app.d.ts +0 -67
- package/lib/config/app.js +0 -142
- package/lib/config/app.js.map +0 -1
- package/lib/config/index.d.ts +0 -1
- package/lib/config/index.js.map +0 -1
- package/lib/controllers/health.d.ts +0 -7
- package/lib/controllers/health.js.map +0 -1
- package/lib/controllers/index.d.ts +0 -1
- package/lib/controllers/index.js.map +0 -1
- package/lib/core/arrays.d.ts +0 -1
- package/lib/core/arrays.js.map +0 -1
- package/lib/core/dto.d.ts +0 -26
- package/lib/core/dto.js +0 -3
- package/lib/core/dto.js.map +0 -1
- package/lib/core/errors.d.ts +0 -51
- package/lib/core/errors.js +0 -154
- package/lib/core/errors.js.map +0 -1
- package/lib/core/index.d.ts +0 -7
- package/lib/core/index.js +0 -10
- package/lib/core/index.js.map +0 -1
- package/lib/core/opaqueTypes.d.ts +0 -10
- package/lib/core/opaqueTypes.js +0 -7
- package/lib/core/opaqueTypes.js.map +0 -1
- package/lib/core/pagination.d.ts +0 -32
- package/lib/core/pagination.js +0 -65
- package/lib/core/pagination.js.map +0 -1
- package/lib/core/query.d.ts +0 -21
- package/lib/core/query.js +0 -16
- package/lib/core/query.js.map +0 -1
- package/lib/core/serverError.d.ts +0 -42
- package/lib/core/serverError.js +0 -85
- package/lib/core/serverError.js.map +0 -1
- package/lib/core/types.d.ts +0 -37
- package/lib/core/types.js +0 -45
- package/lib/core/types.js.map +0 -1
- package/lib/database/columns.d.ts +0 -4
- package/lib/database/columns.js +0 -13
- package/lib/database/columns.js.map +0 -1
- package/lib/database/connectionFactory.js.map +0 -1
- package/lib/database/dataContext.d.ts +0 -14
- package/lib/database/dataContext.js +0 -25
- package/lib/database/dataContext.js.map +0 -1
- package/lib/database/entities.d.ts +0 -10
- package/lib/database/entities.js +0 -28
- package/lib/database/entities.js.map +0 -1
- package/lib/database/index.d.ts +0 -8
- package/lib/database/index.js +0 -12
- package/lib/database/index.js.map +0 -1
- package/lib/database/query.d.ts +0 -3
- package/lib/database/query.js +0 -50
- package/lib/database/query.js.map +0 -1
- package/lib/database/relationsBuilder.d.ts +0 -6
- package/lib/database/relationsBuilder.js +0 -32
- package/lib/database/relationsBuilder.js.map +0 -1
- package/lib/database/repository.d.ts +0 -32
- package/lib/database/repository.js +0 -155
- package/lib/database/repository.js.map +0 -1
- package/lib/database/select.d.ts +0 -4
- package/lib/database/select.js +0 -26
- package/lib/database/select.js.map +0 -1
- package/lib/database/transformers.d.ts +0 -12
- package/lib/database/transformers.js +0 -37
- package/lib/database/transformers.js.map +0 -1
- package/lib/graphql/GraphqlController.d.ts +0 -12
- package/lib/graphql/GraphqlController.js +0 -80
- package/lib/graphql/GraphqlController.js.map +0 -1
- package/lib/graphql/index.d.ts +0 -4
- package/lib/graphql/index.js +0 -8
- package/lib/graphql/index.js.map +0 -1
- package/lib/graphql/init.d.ts +0 -6
- package/lib/graphql/init.js +0 -50
- package/lib/graphql/init.js.map +0 -1
- package/lib/graphql/registrations.d.ts +0 -6
- package/lib/graphql/registrations.js +0 -15
- package/lib/graphql/registrations.js.map +0 -1
- package/lib/graphql/types/InputTypes/index.d.ts +0 -2
- package/lib/graphql/types/InputTypes/index.js +0 -6
- package/lib/graphql/types/InputTypes/index.js.map +0 -1
- package/lib/graphql/types/InputTypes/paging.d.ts +0 -5
- package/lib/graphql/types/InputTypes/paging.js +0 -19
- package/lib/graphql/types/InputTypes/paging.js.map +0 -1
- package/lib/graphql/types/InputTypes/query.d.ts +0 -7
- package/lib/graphql/types/InputTypes/query.js +0 -35
- package/lib/graphql/types/InputTypes/query.js.map +0 -1
- package/lib/graphql/types/ObjectTypes/index.d.ts +0 -2
- package/lib/graphql/types/ObjectTypes/index.js +0 -6
- package/lib/graphql/types/ObjectTypes/index.js.map +0 -1
- package/lib/graphql/types/ObjectTypes/paging.d.ts +0 -6
- package/lib/graphql/types/ObjectTypes/paging.js +0 -23
- package/lib/graphql/types/ObjectTypes/paging.js.map +0 -1
- package/lib/graphql/types/ObjectTypes/user.d.ts +0 -26
- package/lib/graphql/types/ObjectTypes/user.js +0 -113
- package/lib/graphql/types/ObjectTypes/user.js.map +0 -1
- package/lib/graphql/types/index.d.ts +0 -2
- package/lib/graphql/types/index.js +0 -6
- package/lib/graphql/types/index.js.map +0 -1
- package/lib/index.d.ts +0 -15
- package/lib/index.js +0 -18
- package/lib/index.js.map +0 -1
- package/lib/middleware/errors.js.map +0 -1
- package/lib/middleware/health.js.map +0 -1
- package/lib/middleware/index.js.map +0 -1
- package/lib/notify/decorator.d.ts +0 -6
- package/lib/notify/decorator.js +0 -7
- package/lib/notify/decorator.js.map +0 -1
- package/lib/notify/index.d.ts +0 -1
- package/lib/notify/index.js.map +0 -1
- package/lib/public/api-clients/auditClientApi.d.ts +0 -165
- package/lib/public/api-clients/auditClientApi.js +0 -254
- package/lib/public/api-clients/auditClientApi.js.map +0 -1
- package/lib/public/api-clients/authClientApi.d.ts +0 -582
- package/lib/public/api-clients/authClientApi.js +0 -551
- package/lib/public/api-clients/authClientApi.js.map +0 -1
- package/lib/public/api-clients/notifyClientApi.d.ts +0 -435
- package/lib/public/api-clients/notifyClientApi.js +0 -385
- package/lib/public/api-clients/notifyClientApi.js.map +0 -1
- package/lib/public/api-clients/storageClientApi.d.ts +0 -345
- package/lib/public/api-clients/storageClientApi.js +0 -339
- package/lib/public/api-clients/storageClientApi.js.map +0 -1
- package/lib/services/client.d.ts +0 -2
- package/lib/services/client.js +0 -37
- package/lib/services/client.js.map +0 -1
- package/lib/services/encryption.d.ts +0 -20
- package/lib/services/encryption.js +0 -73
- package/lib/services/encryption.js.map +0 -1
- package/lib/services/identity.d.ts +0 -7
- package/lib/services/identity.js.map +0 -1
- package/lib/services/index.d.ts +0 -8
- package/lib/services/index.js +0 -12
- package/lib/services/index.js.map +0 -1
- package/lib/services/jsonSchema.d.ts +0 -7
- package/lib/services/jsonSchema.js +0 -21
- package/lib/services/jsonSchema.js.map +0 -1
- package/lib/services/time.d.ts +0 -21
- package/lib/services/time.js +0 -19
- package/lib/services/time.js.map +0 -1
- package/lib/services/token.d.ts +0 -5
- package/lib/services/token.js +0 -16
- package/lib/services/token.js.map +0 -1
- package/lib/services/transaction.d.ts +0 -7
- package/lib/services/transaction.js +0 -10
- package/lib/services/transaction.js.map +0 -1
- package/lib/services/uuidGenerator.d.ts +0 -7
- package/lib/services/uuidGenerator.js +0 -10
- package/lib/services/uuidGenerator.js.map +0 -1
- package/lib/tasks/configTypes.d.ts +0 -3
- package/lib/tasks/configTypes.js +0 -3
- package/lib/tasks/configTypes.js.map +0 -1
- package/lib/tasks/data/ScheduledTaskRepository.d.ts +0 -14
- package/lib/tasks/data/ScheduledTaskRepository.js +0 -63
- package/lib/tasks/data/ScheduledTaskRepository.js.map +0 -1
- package/lib/tasks/data/TaskRepository.d.ts +0 -17
- package/lib/tasks/data/TaskRepository.js +0 -66
- package/lib/tasks/data/TaskRepository.js.map +0 -1
- package/lib/tasks/data/entities/ScheduledTask.d.ts +0 -10
- package/lib/tasks/data/entities/ScheduledTask.js +0 -32
- package/lib/tasks/data/entities/ScheduledTask.js.map +0 -1
- package/lib/tasks/data/entities/Task.d.ts +0 -13
- package/lib/tasks/data/entities/Task.js +0 -45
- package/lib/tasks/data/entities/Task.js.map +0 -1
- package/lib/tasks/data/repositories.d.ts +0 -18
- package/lib/tasks/data/repositories.js +0 -3
- package/lib/tasks/data/repositories.js.map +0 -1
- package/lib/tasks/data/types/opaqueTypes.d.ts +0 -3
- package/lib/tasks/data/types/opaqueTypes.js +0 -3
- package/lib/tasks/data/types/opaqueTypes.js.map +0 -1
- package/lib/tasks/data/types/scheduledTaskTypes.d.ts +0 -11
- package/lib/tasks/data/types/scheduledTaskTypes.js +0 -3
- package/lib/tasks/data/types/scheduledTaskTypes.js.map +0 -1
- package/lib/tasks/data/types/taskTypes.d.ts +0 -18
- package/lib/tasks/data/types/taskTypes.js +0 -9
- package/lib/tasks/data/types/taskTypes.js.map +0 -1
- package/lib/tasks/index.d.ts +0 -3
- package/lib/tasks/index.js.map +0 -1
- package/lib/tasks/services/TaskService.d.ts +0 -19
- package/lib/tasks/services/TaskService.js +0 -106
- package/lib/tasks/services/TaskService.js.map +0 -1
- package/lib/tasks/services/index.d.ts +0 -16
- package/lib/tasks/services/index.js +0 -3
- package/lib/tasks/services/index.js.map +0 -1
- package/lib/tasks/validators/index.d.ts +0 -2
- package/lib/tasks/validators/index.js +0 -6
- package/lib/tasks/validators/index.js.map +0 -1
- package/lib/tasks/validators/scheduledTaskValidators.d.ts +0 -5
- package/lib/tasks/validators/scheduledTaskValidators.js +0 -11
- package/lib/tasks/validators/scheduledTaskValidators.js.map +0 -1
- package/lib/tasks/validators/taskValidators.d.ts +0 -5
- package/lib/tasks/validators/taskValidators.js +0 -14
- package/lib/tasks/validators/taskValidators.js.map +0 -1
- package/lib/tracing/decorator.d.ts +0 -19
- package/lib/tracing/decorator.js +0 -100
- package/lib/tracing/decorator.js.map +0 -1
- package/lib/tracing/index.d.ts +0 -3
- package/lib/tracing/index.js +0 -7
- package/lib/tracing/index.js.map +0 -1
- package/lib/tracing/init.d.ts +0 -4
- package/lib/tracing/init.js +0 -23
- package/lib/tracing/init.js.map +0 -1
- package/lib/tracing/middleware.d.ts +0 -3
- package/lib/tracing/middleware.js +0 -13
- package/lib/tracing/middleware.js.map +0 -1
- package/lib/utils/array.d.ts +0 -1
- package/lib/utils/array.js +0 -19
- package/lib/utils/array.js.map +0 -1
- package/lib/utils/base64.d.ts +0 -1
- package/lib/utils/base64.js +0 -11
- package/lib/utils/base64.js.map +0 -1
- package/lib/utils/context.d.ts +0 -16
- package/lib/utils/context.js +0 -20
- package/lib/utils/context.js.map +0 -1
- package/lib/utils/dates.d.ts +0 -5
- package/lib/utils/dates.js +0 -19
- package/lib/utils/dates.js.map +0 -1
- package/lib/utils/errors.d.ts +0 -4
- package/lib/utils/errors.js +0 -23
- package/lib/utils/errors.js.map +0 -1
- package/lib/utils/httpErrors.js.map +0 -1
- package/lib/utils/index.d.ts +0 -10
- package/lib/utils/index.js +0 -14
- package/lib/utils/index.js.map +0 -1
- package/lib/utils/number.d.ts +0 -4
- package/lib/utils/number.js +0 -20
- package/lib/utils/number.js.map +0 -1
- package/lib/utils/object.d.ts +0 -6
- package/lib/utils/object.js +0 -39
- package/lib/utils/object.js.map +0 -1
- package/lib/utils/random.d.ts +0 -13
- package/lib/utils/random.js +0 -40
- package/lib/utils/random.js.map +0 -1
- package/lib/utils/string.d.ts +0 -3
- package/lib/utils/string.js +0 -31
- package/lib/utils/string.js.map +0 -1
- package/lib/validation/index.d.ts +0 -1
- package/lib/validation/index.js +0 -5
- package/lib/validation/index.js.map +0 -1
- package/lib/validation/validators.d.ts +0 -32
- package/lib/validation/validators.js +0 -157
- package/lib/validation/validators.js.map +0 -1
- package/tsconfig.json +0 -35
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
const apollo_server_core_1 = require("apollo-server-core");
|
|
5
|
-
const graphql_1 = require("graphql");
|
|
6
|
-
const rokot_apicontroller_1 = require("rokot-apicontroller");
|
|
7
|
-
const typeorm_1 = require("typeorm");
|
|
8
|
-
const log_1 = require("@rocketmakers/log");
|
|
9
|
-
const types_1 = require("../core/types");
|
|
10
|
-
const app_1 = require("../config/app");
|
|
11
|
-
const decorator_1 = require("../tracing/decorator");
|
|
12
|
-
let GraphQLController = class GraphQLController {
|
|
13
|
-
constructor(schema, logger) {
|
|
14
|
-
this.schema = schema;
|
|
15
|
-
this.options = app_1.appConfig.graphqlOptions(logger);
|
|
16
|
-
}
|
|
17
|
-
post(req) {
|
|
18
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
19
|
-
yield decorator_1.startSpanFromRequest(req, this.constructor.name, (span) => tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
20
|
-
try {
|
|
21
|
-
const response = yield typeorm_1.getConnection().transaction((tx) => tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
req.native.request.tx = tx;
|
|
23
|
-
const { graphqlResponse } = yield apollo_server_core_1.runHttpQuery([], {
|
|
24
|
-
method: 'POST',
|
|
25
|
-
options: Object.assign(Object.assign({}, this.options), { context: decorator_1.createSpanContext(req.native.request, span), schema: this.schema }),
|
|
26
|
-
query: req.body,
|
|
27
|
-
request: apollo_server_core_1.convertNodeHttpToRequest(req.native.request),
|
|
28
|
-
});
|
|
29
|
-
return this.checkResponse(graphqlResponse);
|
|
30
|
-
}));
|
|
31
|
-
req.sendOk(response);
|
|
32
|
-
}
|
|
33
|
-
catch (errResponse) {
|
|
34
|
-
const { message } = errResponse;
|
|
35
|
-
if (message) {
|
|
36
|
-
req.sendOk(JSON.parse(message));
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
req.sendOk(errResponse);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}));
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
checkResponse(graphqlResponse) {
|
|
46
|
-
let objectResponse;
|
|
47
|
-
try {
|
|
48
|
-
objectResponse = JSON.parse(graphqlResponse);
|
|
49
|
-
}
|
|
50
|
-
catch (err) {
|
|
51
|
-
throw {
|
|
52
|
-
data: null,
|
|
53
|
-
errors: [
|
|
54
|
-
{
|
|
55
|
-
kind: 'UnknownServerError',
|
|
56
|
-
message: 'Invalid JSON response',
|
|
57
|
-
statusCode: 500,
|
|
58
|
-
},
|
|
59
|
-
],
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
if (objectResponse.errors && objectResponse.errors.length > 0) {
|
|
63
|
-
throw objectResponse;
|
|
64
|
-
}
|
|
65
|
-
return objectResponse;
|
|
66
|
-
}
|
|
67
|
-
};
|
|
68
|
-
tslib_1.__decorate([
|
|
69
|
-
rokot_apicontroller_1.api.route(''),
|
|
70
|
-
rokot_apicontroller_1.api.verbs('post'),
|
|
71
|
-
tslib_1.__metadata("design:type", Function),
|
|
72
|
-
tslib_1.__metadata("design:paramtypes", [Object]),
|
|
73
|
-
tslib_1.__metadata("design:returntype", Promise)
|
|
74
|
-
], GraphQLController.prototype, "post", null);
|
|
75
|
-
GraphQLController = tslib_1.__decorate([
|
|
76
|
-
rokot_apicontroller_1.api.controller(types_1.types.Controllers.GraphQL, '/graphql'),
|
|
77
|
-
tslib_1.__metadata("design:paramtypes", [graphql_1.GraphQLSchema, log_1.Logger])
|
|
78
|
-
], GraphQLController);
|
|
79
|
-
exports.GraphQLController = GraphQLController;
|
|
80
|
-
//# sourceMappingURL=GraphqlController.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GraphqlController.js","sourceRoot":"","sources":["../../../../capsules/shared/graphql/GraphqlController.ts"],"names":[],"mappings":";;;AAAA,2DAM4B;AAC5B,qCAAwC;AACxC,6DAA0C;AAC1C,qCAAwC;AACxC,2CAA2C;AAC3C,yCAAsC;AACtC,uCAA0C;AAG1C,oDAA+E;AAG/E,IAAa,iBAAiB,GAA9B,MAAa,iBAAiB;IAG5B,YAAoB,MAAqB,EAAE,MAAc;QAArC,WAAM,GAAN,MAAM,CAAe;QACvC,IAAI,CAAC,OAAO,GAAG,eAAS,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;IAClD,CAAC;IAIY,IAAI,CAAC,GAA0D;;YAC1E,MAAM,gCAAoB,CAAC,GAAG,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAO,IAAI,EAAE,EAAE;gBACpE,I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1B,OAAO,EAAE,uBAAuB;wBAChC,UAAU,EAAE,GAAG;qBAChB;iBACmB;aACvB,CAAC;SACH;QAGD,IAAI,cAAc,CAAC,MAAM,IAAI,cAAc,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE;YAC7D,MAAM,cAAc,CAAC;SACtB;QAGD,OAAO,cAAc,CAAC;IACxB,CAAC;CACF,CAAA;AA/DC;IAFC,yBAAG,CAAC,KAAK,CAAC,EAAE,CAAC;IACb,yBAAG,CAAC,KAAK,CAAC,MAAM,CAAC;;;;6CAmCjB;AA3CU,iBAAiB;IAD7B,yBAAG,CAAC,UAAU,CAAC,aAAK,CAAC,WAAW,CAAC,OAAO,EAAE,UAAU,CAAC;6CAIxB,uBAAa,EAAU,YAAM;GAH9C,iBAAiB,CAwE7B;AAxEY,8CAAiB"}
|
package/lib/graphql/index.d.ts
DELETED
package/lib/graphql/index.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./GraphqlController"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./init"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./registrations"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./types"), exports);
|
|
8
|
-
//# sourceMappingURL=index.js.map
|
package/lib/graphql/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../capsules/shared/graphql/index.ts"],"names":[],"mappings":";;;AAAA,8DAAoC;AACpC,iDAAuB;AACvB,0DAAgC;AAChC,kDAAwB"}
|
package/lib/graphql/init.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="bunyan" />
|
|
2
|
-
import { GraphQLSchema } from 'graphql';
|
|
3
|
-
import { Logger } from '@rocketmakers/log';
|
|
4
|
-
import { Middleware } from 'type-graphql/dist/interfaces/Middleware';
|
|
5
|
-
export declare function schemaFactory(resolvers: (string | Function)[], middleware: Middleware<any>[], logger: Logger): Promise<GraphQLSchema | null>;
|
|
6
|
-
export declare function initGraphQL(resolvers: (string | Function)[], middleware: Middleware<any>[], logger: Logger, preInit?: (logger?: Logger) => Promise<void>, postInit?: (logger?: Logger) => Promise<void>): Promise<void>;
|
package/lib/graphql/init.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
const path = require("path");
|
|
5
|
-
const type_graphql_1 = require("type-graphql");
|
|
6
|
-
const kernel_1 = require("../bootstrap/kernel");
|
|
7
|
-
const types_1 = require("../core/types");
|
|
8
|
-
const GraphqlController_1 = require("./GraphqlController");
|
|
9
|
-
const middleware_1 = require("../tracing/middleware");
|
|
10
|
-
const config_1 = require("../config");
|
|
11
|
-
function schemaFactory(resolvers, middleware, logger) {
|
|
12
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
13
|
-
try {
|
|
14
|
-
const schemaPath = path.resolve(__dirname, '/app/schema/schema.graphql');
|
|
15
|
-
return yield type_graphql_1.buildSchema({
|
|
16
|
-
container: kernel_1.graphqlKernel,
|
|
17
|
-
dateScalarMode: 'isoDate',
|
|
18
|
-
emitSchemaFile: schemaPath,
|
|
19
|
-
globalMiddlewares: [...middleware],
|
|
20
|
-
resolvers,
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
catch (err) {
|
|
24
|
-
logger.error({ err });
|
|
25
|
-
return null;
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
exports.schemaFactory = schemaFactory;
|
|
30
|
-
function initGraphQL(resolvers, middleware, logger, preInit, postInit) {
|
|
31
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
32
|
-
if (preInit) {
|
|
33
|
-
yield preInit(logger);
|
|
34
|
-
}
|
|
35
|
-
logger.trace('-- Building GraphQL Schema');
|
|
36
|
-
const schema = yield schemaFactory(resolvers, [...(config_1.appConfig.tracing.enabled ? [middleware_1.GraphQLTracing] : []), ...middleware], logger);
|
|
37
|
-
if (schema == null) {
|
|
38
|
-
logger.error('Unable to build graphql schema - Service stopping!');
|
|
39
|
-
throw new Error('Failed to build schema');
|
|
40
|
-
}
|
|
41
|
-
logger.info('-- Built GraphQL Schema');
|
|
42
|
-
kernel_1.kernel.bind(types_1.types.GraphQLSchema).toConstantValue(schema);
|
|
43
|
-
kernel_1.registerSingleton(GraphqlController_1.GraphQLController, types_1.types.Controllers.GraphQL, types_1.types.GraphQLSchema, types_1.types.Logger);
|
|
44
|
-
if (postInit) {
|
|
45
|
-
yield postInit(logger);
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
exports.initGraphQL = initGraphQL;
|
|
50
|
-
//# sourceMappingURL=init.js.map
|
package/lib/graphql/init.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"init.js","sourceRoot":"","sources":["../../../../capsules/shared/graphql/init.ts"],"names":[],"mappings":";;;AAIA,6BAA6B;AAE7B,+CAA2C;AAE3C,gDAA+E;AAC/E,yCAAsC;AACtC,2DAAwD;AACxD,sDAAuD;AACvD,sCAAsC;AAGtC,SAAsB,aAAa,CACjC,SAAgC,EAChC,UAA6B,EAC7B,MAAc;;QAEd,IAAI;YACF,MAAM,UAAU,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,4BAA4B,CAAC,CAAC;YAEzE,OAAO,MAAM,0BAAW,CAAC;gBACvB,SAAS,EAAE,sBAAa;gBACxB,cAAc,EAAE,SAAS;gBACzB,cAAc,EAAE,UAAU;gBAC1B,iBAAiB,EAAE,CAAC,GAAG,UAAU,CAAC;gBAClC,SAAS;aACV,CAAC,CAAC;SACJ;QAAC,OAAO,GAAG,EAAE;YACZ,MAAM,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC;YAEtB,OAAO,IAAI,CAAC;SACb;IACH,CAAC;CAAA;AApBD,sCAoBC;AAMD,SAAsB,WAAW,CAC/B,SAAgC,EAChC,UAA6B,EAC7B,MAAc,EACd,OAA4C,EAC5C,QAA6C;;QAG7C,IAAI,OAAO,EAAE;YACX,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC;SACvB;QAED,MAAM,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC;QAC3C,MAAM,MAAM,GAAyB,MAAM,aAAa,CACtD,SAAS,EACT,CAAC,GAAG,CAAC,kBAAS,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,2BAAc,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,UAAU,CAAC,EACvE,MAAM,CACP,CAAC;QACF,IAAI,MAAM,IAAI,IAAI,EAAE;YAClB,MAAM,CAAC,KAAK,CAAC,oDAAoD,CAAC,CAAC;YACnE,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC;SAC3C;QACD,MAAM,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC;QAGvC,eAAM,CAAC,IAAI,CAAgB,aAAK,CAAC,aAAa,CAAC,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;QACxE,0BAAiB,CAAC,qCAAiB,EAAE,aAAK,CAAC,WAAW,CAAC,OAAO,EAAE,aAAK,CAAC,aAAa,EAAE,aAAK,CAAC,MAAM,CAAC,CAAC;QAGnG,IAAI,QAAQ,EAAE;YACZ,MAAM,QAAQ,CAAC,MAAM,CAAC,CAAC;SACxB;IACH,CAAC;CAAA;AAhCD,kCAgCC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const type_graphql_1 = require("type-graphql");
|
|
4
|
-
const auth_1 = require("../auth");
|
|
5
|
-
function registerCoreGraphQLEnums() {
|
|
6
|
-
type_graphql_1.registerEnumType(auth_1.UserType, { name: 'UserTypeEnum', description: 'The type of user' });
|
|
7
|
-
}
|
|
8
|
-
function registerGraphQLEnums(enums) {
|
|
9
|
-
registerCoreGraphQLEnums();
|
|
10
|
-
for (const { enumObj, name, description } of enums) {
|
|
11
|
-
type_graphql_1.registerEnumType(enumObj, { name, description });
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
exports.registerGraphQLEnums = registerGraphQLEnums;
|
|
15
|
-
//# sourceMappingURL=registrations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"registrations.js","sourceRoot":"","sources":["../../../../capsules/shared/graphql/registrations.ts"],"names":[],"mappings":";;AAAA,+CAAgD;AAEhD,kCAAmC;AAEnC,SAAS,wBAAwB;IAC/B,+BAAgB,CAAC,eAAQ,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,WAAW,EAAE,kBAAkB,EAAE,CAAC,CAAC;AACxF,CAAC;AAMD,SAAgB,oBAAoB,CAAC,KAAwB;IAC3D,wBAAwB,EAAE,CAAC;IAE3B,KAAK,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,KAAK,EAAE;QAClD,+BAAgB,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,CAAC;KAClD;AACH,CAAC;AAND,oDAMC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../capsules/shared/graphql/types/InputTypes/index.ts"],"names":[],"mappings":";;;AAAA,mDAAyB;AACzB,kDAAwB"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
const type_graphql_1 = require("type-graphql");
|
|
5
|
-
let PagingQuery = class PagingQuery {
|
|
6
|
-
};
|
|
7
|
-
tslib_1.__decorate([
|
|
8
|
-
type_graphql_1.Field({ description: 'Page to query for', nullable: true }),
|
|
9
|
-
tslib_1.__metadata("design:type", String)
|
|
10
|
-
], PagingQuery.prototype, "page", void 0);
|
|
11
|
-
tslib_1.__decorate([
|
|
12
|
-
type_graphql_1.Field(() => type_graphql_1.Int, { description: 'Size of query page', nullable: true }),
|
|
13
|
-
tslib_1.__metadata("design:type", Number)
|
|
14
|
-
], PagingQuery.prototype, "pageSize", void 0);
|
|
15
|
-
PagingQuery = tslib_1.__decorate([
|
|
16
|
-
type_graphql_1.InputType()
|
|
17
|
-
], PagingQuery);
|
|
18
|
-
exports.PagingQuery = PagingQuery;
|
|
19
|
-
//# sourceMappingURL=paging.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"paging.js","sourceRoot":"","sources":["../../../../../../capsules/shared/graphql/types/InputTypes/paging.ts"],"names":[],"mappings":";;;AAAA,+CAAqD;AAIrD,IAAa,WAAW,GAAxB,MAAa,WAAW;CAMvB,CAAA;AAJC;IADC,oBAAK,CAAC,EAAE,WAAW,EAAE,mBAAmB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCAC9C;AAGd;IADC,oBAAK,CAAC,GAAG,EAAE,CAAC,kBAAG,EAAE,EAAE,WAAW,EAAE,oBAAoB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACtD;AALP,WAAW;IADvB,wBAAS,EAAE;GACC,WAAW,CAMvB;AANY,kCAAW"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
const type_graphql_1 = require("type-graphql");
|
|
5
|
-
const query_1 = require("../../../core/query");
|
|
6
|
-
type_graphql_1.registerEnumType(query_1.QueryOperator, {
|
|
7
|
-
description: 'The operators supported for querying',
|
|
8
|
-
name: 'QueryOperator',
|
|
9
|
-
});
|
|
10
|
-
let QueryWhere = class QueryWhere {
|
|
11
|
-
};
|
|
12
|
-
tslib_1.__decorate([
|
|
13
|
-
type_graphql_1.Field(() => String, { description: 'The property key the restriction is applied to' }),
|
|
14
|
-
tslib_1.__metadata("design:type", Object)
|
|
15
|
-
], QueryWhere.prototype, "key", void 0);
|
|
16
|
-
tslib_1.__decorate([
|
|
17
|
-
type_graphql_1.Field(() => query_1.QueryOperator, { description: 'The operator to apply' }),
|
|
18
|
-
tslib_1.__metadata("design:type", String)
|
|
19
|
-
], QueryWhere.prototype, "operator", void 0);
|
|
20
|
-
tslib_1.__decorate([
|
|
21
|
-
type_graphql_1.Field({ description: 'The first value of the restriction' }),
|
|
22
|
-
tslib_1.__metadata("design:type", String)
|
|
23
|
-
], QueryWhere.prototype, "valueOne", void 0);
|
|
24
|
-
tslib_1.__decorate([
|
|
25
|
-
type_graphql_1.Field({
|
|
26
|
-
description: 'The second value of the restriction. This is only applicable for certain operators.',
|
|
27
|
-
nullable: true,
|
|
28
|
-
}),
|
|
29
|
-
tslib_1.__metadata("design:type", String)
|
|
30
|
-
], QueryWhere.prototype, "valueTwo", void 0);
|
|
31
|
-
QueryWhere = tslib_1.__decorate([
|
|
32
|
-
type_graphql_1.InputType()
|
|
33
|
-
], QueryWhere);
|
|
34
|
-
exports.QueryWhere = QueryWhere;
|
|
35
|
-
//# sourceMappingURL=query.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../../../capsules/shared/graphql/types/InputTypes/query.ts"],"names":[],"mappings":";;;AAAA,+CAAkE;AAClE,+CAAiE;AAEjE,+BAAgB,CAAC,qBAAa,EAAE;IAC9B,WAAW,EAAE,sCAAsC;IACnD,IAAI,EAAE,eAAe;CACtB,CAAC,CAAC;AAGH,IAAsB,UAAU,GAAhC,MAAsB,UAAU;CAe/B,CAAA;AAbC;IADC,oBAAK,CAAC,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,WAAW,EAAE,gDAAgD,EAAE,CAAC;;uCACzE;AAGd;IADC,oBAAK,CAAC,GAAG,EAAE,CAAC,qBAAa,EAAE,EAAE,WAAW,EAAE,uBAAuB,EAAE,CAAC;;4CAC5C;AAGzB;IADC,oBAAK,CAAC,EAAE,WAAW,EAAE,oCAAoC,EAAE,CAAC;;4CAC3C;AAMlB;IAJC,oBAAK,CAAC;QACL,WAAW,EAAE,qFAAqF;QAClG,QAAQ,EAAE,IAAI;KACf,CAAC;;4CACgB;AAdE,UAAU;IAD/B,wBAAS,EAAE;GACU,UAAU,CAe/B;AAfqB,gCAAU"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../capsules/shared/graphql/types/ObjectTypes/index.ts"],"names":[],"mappings":";;;AAAA,mDAAyB;AACzB,iDAAuB"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
const type_graphql_1 = require("type-graphql");
|
|
5
|
-
let Paging = class Paging {
|
|
6
|
-
};
|
|
7
|
-
tslib_1.__decorate([
|
|
8
|
-
type_graphql_1.Field({ description: 'Current page' }),
|
|
9
|
-
tslib_1.__metadata("design:type", String)
|
|
10
|
-
], Paging.prototype, "current", void 0);
|
|
11
|
-
tslib_1.__decorate([
|
|
12
|
-
type_graphql_1.Field({ description: 'Next page if present', nullable: true }),
|
|
13
|
-
tslib_1.__metadata("design:type", String)
|
|
14
|
-
], Paging.prototype, "next", void 0);
|
|
15
|
-
tslib_1.__decorate([
|
|
16
|
-
type_graphql_1.Field({ description: 'Previous page if not first page', nullable: true }),
|
|
17
|
-
tslib_1.__metadata("design:type", String)
|
|
18
|
-
], Paging.prototype, "previous", void 0);
|
|
19
|
-
Paging = tslib_1.__decorate([
|
|
20
|
-
type_graphql_1.ObjectType()
|
|
21
|
-
], Paging);
|
|
22
|
-
exports.Paging = Paging;
|
|
23
|
-
//# sourceMappingURL=paging.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"paging.js","sourceRoot":"","sources":["../../../../../../capsules/shared/graphql/types/ObjectTypes/paging.ts"],"names":[],"mappings":";;;AAAA,+CAAiD;AAIjD,IAAa,MAAM,GAAnB,MAAa,MAAM;CASlB,CAAA;AAPC;IADC,oBAAK,CAAC,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC;;uCACtB;AAGjB;IADC,oBAAK,CAAC,EAAE,WAAW,EAAE,sBAAsB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oCACjD;AAGd;IADC,oBAAK,CAAC,EAAE,WAAW,EAAE,iCAAiC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wCACxD;AARP,MAAM;IADlB,yBAAU,EAAE;GACA,MAAM,CASlB;AATY,wBAAM"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { IByUnknown, IByAnon, UserType, IByUser, UserId, IBySystem } from '../../../auth';
|
|
2
|
-
import { ICreatable, DateTimeString, IUpdatable } from '../../../core';
|
|
3
|
-
export declare class ByUnknown implements IByUnknown {
|
|
4
|
-
type: 'unknown';
|
|
5
|
-
}
|
|
6
|
-
export declare class ByAnon implements IByAnon {
|
|
7
|
-
type: UserType.anonymous;
|
|
8
|
-
}
|
|
9
|
-
export declare class ByUser implements IByUser {
|
|
10
|
-
type: UserType.user;
|
|
11
|
-
userId: UserId;
|
|
12
|
-
impersonator?: UserId;
|
|
13
|
-
}
|
|
14
|
-
export declare class BySystem implements IBySystem {
|
|
15
|
-
type: UserType.system;
|
|
16
|
-
userId?: UserId;
|
|
17
|
-
}
|
|
18
|
-
export declare const ByWho: ByUnknown | ByAnon | ByUser | BySystem;
|
|
19
|
-
export declare abstract class Creatable implements ICreatable {
|
|
20
|
-
createdOn: DateTimeString;
|
|
21
|
-
createdBy: typeof ByWho;
|
|
22
|
-
}
|
|
23
|
-
export declare abstract class UpdatableCreatable extends Creatable implements IUpdatable {
|
|
24
|
-
updatedOn: DateTimeString;
|
|
25
|
-
updatedBy: typeof ByWho;
|
|
26
|
-
}
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
const type_graphql_1 = require("type-graphql");
|
|
5
|
-
const auth_1 = require("../../../auth");
|
|
6
|
-
const utils_1 = require("../../../utils");
|
|
7
|
-
let ByUnknown = class ByUnknown {
|
|
8
|
-
};
|
|
9
|
-
tslib_1.__decorate([
|
|
10
|
-
type_graphql_1.Field({ description: 'Unknown user-type [SHOULD NEVER SEE THIS TYPE]' }),
|
|
11
|
-
tslib_1.__metadata("design:type", String)
|
|
12
|
-
], ByUnknown.prototype, "type", void 0);
|
|
13
|
-
ByUnknown = tslib_1.__decorate([
|
|
14
|
-
type_graphql_1.ObjectType()
|
|
15
|
-
], ByUnknown);
|
|
16
|
-
exports.ByUnknown = ByUnknown;
|
|
17
|
-
let ByAnon = class ByAnon {
|
|
18
|
-
};
|
|
19
|
-
tslib_1.__decorate([
|
|
20
|
-
type_graphql_1.Field(() => auth_1.UserType, { description: 'Anonymous user-type' }),
|
|
21
|
-
tslib_1.__metadata("design:type", String)
|
|
22
|
-
], ByAnon.prototype, "type", void 0);
|
|
23
|
-
ByAnon = tslib_1.__decorate([
|
|
24
|
-
type_graphql_1.ObjectType()
|
|
25
|
-
], ByAnon);
|
|
26
|
-
exports.ByAnon = ByAnon;
|
|
27
|
-
let ByUser = class ByUser {
|
|
28
|
-
};
|
|
29
|
-
tslib_1.__decorate([
|
|
30
|
-
type_graphql_1.Field(() => auth_1.UserType, { description: 'User user-type' }),
|
|
31
|
-
tslib_1.__metadata("design:type", String)
|
|
32
|
-
], ByUser.prototype, "type", void 0);
|
|
33
|
-
tslib_1.__decorate([
|
|
34
|
-
type_graphql_1.Field(() => type_graphql_1.ID, { description: 'User ID', nullable: true }),
|
|
35
|
-
tslib_1.__metadata("design:type", String)
|
|
36
|
-
], ByUser.prototype, "userId", void 0);
|
|
37
|
-
tslib_1.__decorate([
|
|
38
|
-
type_graphql_1.Field(() => type_graphql_1.ID, { description: 'Impersonator User ID', nullable: true }),
|
|
39
|
-
tslib_1.__metadata("design:type", String)
|
|
40
|
-
], ByUser.prototype, "impersonator", void 0);
|
|
41
|
-
ByUser = tslib_1.__decorate([
|
|
42
|
-
type_graphql_1.ObjectType()
|
|
43
|
-
], ByUser);
|
|
44
|
-
exports.ByUser = ByUser;
|
|
45
|
-
let BySystem = class BySystem {
|
|
46
|
-
};
|
|
47
|
-
tslib_1.__decorate([
|
|
48
|
-
type_graphql_1.Field(() => auth_1.UserType, { description: 'System user-type' }),
|
|
49
|
-
tslib_1.__metadata("design:type", String)
|
|
50
|
-
], BySystem.prototype, "type", void 0);
|
|
51
|
-
tslib_1.__decorate([
|
|
52
|
-
type_graphql_1.Field(() => type_graphql_1.ID, { description: 'Impersonated User ID', defaultValue: '[NOT_SPECIFIED]' }),
|
|
53
|
-
tslib_1.__metadata("design:type", String)
|
|
54
|
-
], BySystem.prototype, "userId", void 0);
|
|
55
|
-
BySystem = tslib_1.__decorate([
|
|
56
|
-
type_graphql_1.ObjectType()
|
|
57
|
-
], BySystem);
|
|
58
|
-
exports.BySystem = BySystem;
|
|
59
|
-
exports.ByWho = type_graphql_1.createUnionType({
|
|
60
|
-
name: 'ByWho',
|
|
61
|
-
description: 'Object indicated with user type created the entity',
|
|
62
|
-
types: [ByUnknown, ByAnon, ByUser, BySystem],
|
|
63
|
-
resolveType: (value) => {
|
|
64
|
-
const { type } = value;
|
|
65
|
-
switch (type) {
|
|
66
|
-
case auth_1.UserType.anonymous: {
|
|
67
|
-
return ByAnon;
|
|
68
|
-
}
|
|
69
|
-
case auth_1.UserType.user: {
|
|
70
|
-
return ByUser;
|
|
71
|
-
}
|
|
72
|
-
case auth_1.UserType.system: {
|
|
73
|
-
return BySystem;
|
|
74
|
-
}
|
|
75
|
-
case 'unknown':
|
|
76
|
-
return ByUnknown;
|
|
77
|
-
default: {
|
|
78
|
-
utils_1.assertNever(type, `Unsupported user type: ${type}`);
|
|
79
|
-
break;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
return undefined;
|
|
83
|
-
},
|
|
84
|
-
});
|
|
85
|
-
let Creatable = class Creatable {
|
|
86
|
-
};
|
|
87
|
-
tslib_1.__decorate([
|
|
88
|
-
type_graphql_1.Field({ description: 'Date time string representing creation time' }),
|
|
89
|
-
tslib_1.__metadata("design:type", String)
|
|
90
|
-
], Creatable.prototype, "createdOn", void 0);
|
|
91
|
-
tslib_1.__decorate([
|
|
92
|
-
type_graphql_1.Field(() => exports.ByWho, { description: 'Description of identity that created this entity' }),
|
|
93
|
-
tslib_1.__metadata("design:type", Object)
|
|
94
|
-
], Creatable.prototype, "createdBy", void 0);
|
|
95
|
-
Creatable = tslib_1.__decorate([
|
|
96
|
-
type_graphql_1.ObjectType()
|
|
97
|
-
], Creatable);
|
|
98
|
-
exports.Creatable = Creatable;
|
|
99
|
-
let UpdatableCreatable = class UpdatableCreatable extends Creatable {
|
|
100
|
-
};
|
|
101
|
-
tslib_1.__decorate([
|
|
102
|
-
type_graphql_1.Field({ description: 'Date time string representing last updated time' }),
|
|
103
|
-
tslib_1.__metadata("design:type", String)
|
|
104
|
-
], UpdatableCreatable.prototype, "updatedOn", void 0);
|
|
105
|
-
tslib_1.__decorate([
|
|
106
|
-
type_graphql_1.Field(() => exports.ByWho, { description: 'Description of identity that last updated this entity' }),
|
|
107
|
-
tslib_1.__metadata("design:type", Object)
|
|
108
|
-
], UpdatableCreatable.prototype, "updatedBy", void 0);
|
|
109
|
-
UpdatableCreatable = tslib_1.__decorate([
|
|
110
|
-
type_graphql_1.ObjectType()
|
|
111
|
-
], UpdatableCreatable);
|
|
112
|
-
exports.UpdatableCreatable = UpdatableCreatable;
|
|
113
|
-
//# sourceMappingURL=user.js.map
|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AK,CAAC,EAAE,WAAW,EAAE,iDAAiD,EAAE,CAAC;;qDAC/C;AAG3B;IADC,oBAAK,CAAC,GAAG,EAAE,CAAC,aAAK,EAAE,EAAE,WAAW,EAAE,uDAAuD,EAAE,CAAC;;qDACpE;AALL,kBAAkB;IADvC,yBAAU,EAAE;GACS,kBAAkB,CAMvC;AANqB,gDAAkB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../capsules/shared/graphql/types/index.ts"],"names":[],"mappings":";;;AAAA,uDAA6B;AAC7B,wDAA8B"}
|
package/lib/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export * from './auth';
|
|
2
|
-
export * from './bootstrap';
|
|
3
|
-
export * from './build';
|
|
4
|
-
export * from './config';
|
|
5
|
-
export * from './controllers';
|
|
6
|
-
export * from './core';
|
|
7
|
-
export * from './database';
|
|
8
|
-
export * from './graphql';
|
|
9
|
-
export * from './middleware';
|
|
10
|
-
export * from './notify';
|
|
11
|
-
export * from './services';
|
|
12
|
-
export * from './tasks';
|
|
13
|
-
export * from './tracing';
|
|
14
|
-
export * from './utils';
|
|
15
|
-
export * from './validation';
|
package/lib/index.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./auth"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./bootstrap"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./config"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./controllers"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./core"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./database"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./graphql"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./middleware"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./notify"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./services"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./tasks"), exports);
|
|
15
|
-
tslib_1.__exportStar(require("./tracing"), exports);
|
|
16
|
-
tslib_1.__exportStar(require("./utils"), exports);
|
|
17
|
-
tslib_1.__exportStar(require("./validation"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../capsules/shared/index.ts"],"names":[],"mappings":";;;AAAA,iDAAuB;AACvB,sDAA4B;AAE5B,mDAAyB;AACzB,wDAA8B;AAC9B,iDAAuB;AACvB,qDAA2B;AAC3B,oDAA0B;AAC1B,uDAA6B;AAC7B,mDAAyB;AACzB,qDAA2B;AAC3B,kDAAwB;AACxB,oDAA0B;AAC1B,kDAAwB;AACxB,uDAA6B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../../capsules/shared/middleware/errors.ts"],"names":[],"mappings":";;AAGA,qDAAqF;AACrF,2CAA4D;AAC5D,oDAA6D;AAE7D,SAAS,IAAI,CAAC,OAA2B;IACvC,IAAI,OAAO,EAAE;QACX,OAAO,KAAK,OAAO,GAAG,CAAC;KACxB;IAED,OAAO,EAAE,CAAC;AACZ,CAAC;AAED,SAAS,QAAQ,CAAC,UAAkB,EAAE,aAAqB,EAAE,MAAc,EAAE,GAAQ,EAAE,gBAAyB;IAC9G,IAAI;QACF,MAAM,SAAS,GAAG,UAAU,IAAI,GAAG,IAAI,UAAU,GAAG,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;QACrF,SAAS,CAAC,IAAI,CAAC,MAAM,kBAAI,KAAK,EAAE,GAAG,CAAC,KAAK,IAAK,GAAG,GAAI,GAAG,UAAU,IAAI,aAAa,GAAG,I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@@
|
|
|
1
|
-
{"version":3,"file":"health.js","sourceRoot":"","sources":["../../../../capsules/shared/middleware/health.ts"],"names":[],"mappings":";;AAGA,SAAgB,WAAW,CAAC,MAAc,EAAE,IAAY;IACtD,MAAM,CAAC,KAAK,CAAC,0BAA0B,IAAI,EAAE,CAAC,CAAC;IAC/C,OAAO,CAAC,GAAY,EAAE,GAAa,EAAE,IAAkB,EAAE,EAAE;QACzD,IAAI,GAAG,CAAC,IAAI,KAAK,IAAI,EAAE;YACrB,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC;YACvB,OAAO;SACR;QACD,IAAI,EAAE,CAAC;IACT,CAAC,CAAC;AACJ,CAAC;AATD,kCASC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../capsules/shared/middleware/index.ts"],"names":[],"mappings":";;;AAAA,mDAAyB;AACzB,mDAAyB"}
|
package/lib/notify/decorator.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"decorator.js","sourceRoot":"","sources":["../../../../capsules/shared/notify/decorator.ts"],"names":[],"mappings":";;AAaA,SAAgB,cAAc,CAAC,KAAa,EAAE,OAAwC;IACpF,OAAO,GAAG,EAAE,GAAE,CAAC,CAAC;AAClB,CAAC;AAFD,wCAEC"}
|
package/lib/notify/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './decorator';
|
package/lib/notify/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../capsules/shared/notify/index.ts"],"names":[],"mappings":";;;AAAA,sDAA4B"}
|