@revisium/core 2.9.2 → 2.10.0-alpha.0
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/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/ee/billing/billing-client.d.ts +31 -0
- package/dist/ee/billing/billing-client.interface.d.ts +80 -0
- package/dist/ee/billing/billing-client.interface.js +5 -0
- package/dist/ee/billing/billing-client.interface.js.map +1 -0
- package/dist/ee/billing/billing-client.js +132 -0
- package/dist/ee/billing/billing-client.js.map +1 -0
- package/dist/ee/billing/billing-graphql.service.d.ts +24 -0
- package/dist/ee/billing/billing-graphql.service.js +159 -0
- package/dist/ee/billing/billing-graphql.service.js.map +1 -0
- package/dist/ee/billing/cache/billing-cache-invalidation.handler.d.ts +38 -0
- package/dist/ee/billing/cache/billing-cache-invalidation.handler.js +132 -0
- package/dist/ee/billing/cache/billing-cache-invalidation.handler.js.map +1 -0
- package/dist/ee/billing/cache/billing-cache.constants.d.ts +14 -0
- package/dist/ee/billing/cache/billing-cache.constants.js +18 -0
- package/dist/ee/billing/cache/billing-cache.constants.js.map +1 -0
- package/dist/ee/billing/cache/billing-cache.service.d.ts +12 -0
- package/dist/ee/billing/cache/billing-cache.service.js +72 -0
- package/dist/ee/billing/cache/billing-cache.service.js.map +1 -0
- package/dist/ee/billing/callback.controller.d.ts +12 -0
- package/dist/ee/billing/callback.controller.js +64 -0
- package/dist/ee/billing/callback.controller.js.map +1 -0
- package/dist/ee/billing/early-access/crons/auto-downgrade.cron.d.ts +4 -0
- package/dist/ee/billing/early-access/crons/auto-downgrade.cron.js +26 -0
- package/dist/ee/billing/early-access/crons/auto-downgrade.cron.js.map +1 -0
- package/dist/ee/billing/early-access/early-access.module.d.ts +2 -0
- package/dist/ee/billing/early-access/early-access.module.js +31 -0
- package/dist/ee/billing/early-access/early-access.module.js.map +1 -0
- package/dist/ee/billing/early-access/early-access.service.d.ts +14 -0
- package/dist/ee/billing/early-access/early-access.service.js +47 -0
- package/dist/ee/billing/early-access/early-access.service.js.map +1 -0
- package/dist/ee/billing/early-access/graphql/inputs/activate-early-access.input.d.ts +4 -0
- package/dist/ee/billing/early-access/graphql/inputs/activate-early-access.input.js +28 -0
- package/dist/ee/billing/early-access/graphql/inputs/activate-early-access.input.js.map +1 -0
- package/dist/ee/billing/early-access/graphql/models/plan.model.d.ts +19 -0
- package/dist/ee/billing/early-access/graphql/models/plan.model.js +86 -0
- package/dist/ee/billing/early-access/graphql/models/plan.model.js.map +1 -0
- package/dist/ee/billing/early-access/graphql/models/subscription.model.d.ts +8 -0
- package/dist/ee/billing/early-access/graphql/models/subscription.model.js +44 -0
- package/dist/ee/billing/early-access/graphql/models/subscription.model.js.map +1 -0
- package/dist/ee/billing/early-access/graphql/models/usage.model.d.ts +1 -0
- package/dist/ee/billing/early-access/graphql/models/usage.model.js +7 -0
- package/dist/ee/billing/early-access/graphql/models/usage.model.js.map +1 -0
- package/dist/ee/billing/early-access/rest/admin-billing.controller.d.ts +10 -0
- package/dist/ee/billing/early-access/rest/admin-billing.controller.js +58 -0
- package/dist/ee/billing/early-access/rest/admin-billing.controller.js.map +1 -0
- package/dist/ee/billing/early-access/rest/billing.controller.d.ts +15 -0
- package/dist/ee/billing/early-access/rest/billing.controller.js +110 -0
- package/dist/ee/billing/early-access/rest/billing.controller.js.map +1 -0
- package/dist/ee/billing/early-access/rest/dto/activate-early-access.dto.d.ts +3 -0
- package/dist/ee/billing/early-access/rest/dto/activate-early-access.dto.js +21 -0
- package/dist/ee/billing/early-access/rest/dto/activate-early-access.dto.js.map +1 -0
- package/dist/ee/billing/early-access/rest/dto/admin-update-subscription.dto.d.ts +4 -0
- package/dist/ee/billing/early-access/rest/dto/admin-update-subscription.dto.js +25 -0
- package/dist/ee/billing/early-access/rest/dto/admin-update-subscription.dto.js.map +1 -0
- package/dist/ee/billing/ee-billing.module.d.ts +4 -0
- package/dist/ee/billing/ee-billing.module.js +68 -0
- package/dist/ee/billing/ee-billing.module.js.map +1 -0
- package/dist/ee/billing/hmac.d.ts +5 -0
- package/dist/ee/billing/hmac.js +62 -0
- package/dist/ee/billing/hmac.js.map +1 -0
- package/dist/ee/billing/limits/limits.service.d.ts +22 -0
- package/dist/ee/billing/limits/limits.service.js +115 -0
- package/dist/ee/billing/limits/limits.service.js.map +1 -0
- package/dist/ee/billing/usage/build-metric.d.ts +5 -0
- package/dist/ee/billing/usage/build-metric.js +13 -0
- package/dist/ee/billing/usage/build-metric.js.map +1 -0
- package/dist/ee/billing/usage/usage.service.d.ts +54 -0
- package/dist/ee/billing/usage/usage.service.js +156 -0
- package/dist/ee/billing/usage/usage.service.js.map +1 -0
- package/dist/ee/billing/usage-reporter.service.d.ts +11 -0
- package/dist/ee/billing/usage-reporter.service.js +71 -0
- package/dist/ee/billing/usage-reporter.service.js.map +1 -0
- package/dist/ee/licensing/decorators.d.ts +2 -0
- package/dist/ee/licensing/decorators.js +8 -0
- package/dist/ee/licensing/decorators.js.map +1 -0
- package/dist/ee/licensing/license-payload.interface.d.ts +7 -0
- package/dist/ee/licensing/license-payload.interface.js +3 -0
- package/dist/ee/licensing/license-payload.interface.js.map +1 -0
- package/dist/ee/licensing/license.guard.d.ts +9 -0
- package/dist/ee/licensing/license.guard.js +38 -0
- package/dist/ee/licensing/license.guard.js.map +1 -0
- package/dist/ee/licensing/license.service.d.ts +20 -0
- package/dist/ee/licensing/license.service.js +155 -0
- package/dist/ee/licensing/license.service.js.map +1 -0
- package/dist/ee/licensing/licensing.module.d.ts +2 -0
- package/dist/ee/licensing/licensing.module.js +25 -0
- package/dist/ee/licensing/licensing.module.js.map +1 -0
- package/dist/package.json +35 -17
- package/dist/prisma/migrations/20260328163200_add_license_cache/migration.sql +10 -0
- package/dist/prisma/migrations/20260404120000_add_api_keys/migration.sql +50 -0
- package/dist/prisma/migrations/20260411120000_add_jwt_refresh/migration.sql +32 -0
- package/dist/prisma/migrations/20260420120000_add_file_usage/migration.sql +94 -0
- package/dist/prisma/schema.prisma +133 -1
- package/dist/prisma/seed/permissions/manage-api-key.json +5 -0
- package/dist/prisma/seed/permissions/manage-cache.json +5 -0
- package/dist/prisma/seed/permissions/manage-file-usage.json +5 -0
- package/dist/prisma/seed/permissions/read-cache.json +5 -0
- package/dist/prisma/seed/permissions/read-file-usage.json +5 -0
- package/dist/prisma/seed/roles/developer.json +2 -1
- package/dist/prisma/seed/roles/organizationAdmin.json +3 -1
- package/dist/prisma/seed/roles/organizationOwner.json +4 -1
- package/dist/prisma/seed/roles/systemAdmin.json +6 -1
- package/dist/prisma/sql/countOrgRowVersions.sql +12 -0
- package/dist/scripts/generate-internal-key.d.ts +1 -0
- package/dist/scripts/generate-internal-key.js +7 -0
- package/dist/scripts/generate-internal-key.js.map +1 -0
- package/dist/src/__generated__/client/browser.d.ts +6 -0
- package/dist/src/__generated__/client/browser.js.map +1 -1
- package/dist/src/__generated__/client/client.d.ts +11 -5
- package/dist/src/__generated__/client/client.js.map +1 -1
- package/dist/src/__generated__/client/commonInputTypes.d.ts +133 -53
- package/dist/src/__generated__/client/enums.d.ts +6 -0
- package/dist/src/__generated__/client/enums.js +8 -3
- package/dist/src/__generated__/client/enums.js.map +1 -1
- package/dist/src/__generated__/client/internal/class.d.ts +21 -3
- package/dist/src/__generated__/client/internal/class.js +22 -19
- package/dist/src/__generated__/client/internal/class.js.map +1 -1
- package/dist/src/__generated__/client/internal/prismaNamespace.d.ts +617 -13
- package/dist/src/__generated__/client/internal/prismaNamespace.js +185 -47
- package/dist/src/__generated__/client/internal/prismaNamespace.js.map +1 -1
- package/dist/src/__generated__/client/internal/prismaNamespaceBrowser.d.ts +155 -4
- package/dist/src/__generated__/client/internal/prismaNamespaceBrowser.js +182 -42
- package/dist/src/__generated__/client/internal/prismaNamespaceBrowser.js.map +1 -1
- package/dist/src/__generated__/client/models/ApiKey.d.ts +1490 -0
- package/dist/src/__generated__/client/models/ApiKey.js +3 -0
- package/dist/src/__generated__/client/models/ApiKey.js.map +1 -0
- package/dist/src/__generated__/client/models/Branch.d.ts +49 -50
- package/dist/src/__generated__/client/models/Endpoint.d.ts +55 -56
- package/dist/src/__generated__/client/models/EndpointVersion.d.ts +36 -37
- package/dist/src/__generated__/client/models/FileBlob.d.ts +638 -0
- package/dist/src/__generated__/client/models/FileBlob.js +3 -0
- package/dist/src/__generated__/client/models/FileBlob.js.map +1 -0
- package/dist/src/__generated__/client/models/Instance.d.ts +26 -27
- package/dist/src/__generated__/client/models/LicenseCache.d.ts +400 -0
- package/dist/src/__generated__/client/models/LicenseCache.js +3 -0
- package/dist/src/__generated__/client/models/LicenseCache.js.map +1 -0
- package/dist/src/__generated__/client/models/OAuthAccessToken.d.ts +63 -64
- package/dist/src/__generated__/client/models/OAuthAuthorizationCode.d.ts +73 -77
- package/dist/src/__generated__/client/models/OAuthClient.d.ts +49 -50
- package/dist/src/__generated__/client/models/OAuthRefreshToken.d.ts +68 -69
- package/dist/src/__generated__/client/models/Organization.d.ts +31 -32
- package/dist/src/__generated__/client/models/Permission.d.ts +48 -49
- package/dist/src/__generated__/client/models/Project.d.ts +55 -56
- package/dist/src/__generated__/client/models/ProjectFileUsage.d.ts +378 -0
- package/dist/src/__generated__/client/models/ProjectFileUsage.js +3 -0
- package/dist/src/__generated__/client/models/ProjectFileUsage.js.map +1 -0
- package/dist/src/__generated__/client/models/RefreshToken.d.ts +688 -0
- package/dist/src/__generated__/client/models/RefreshToken.js +3 -0
- package/dist/src/__generated__/client/models/RefreshToken.js.map +1 -0
- package/dist/src/__generated__/client/models/Revision.d.ts +76 -84
- package/dist/src/__generated__/client/models/Role.d.ts +52 -53
- package/dist/src/__generated__/client/models/Row.d.ts +229 -79
- package/dist/src/__generated__/client/models/Table.d.ts +59 -60
- package/dist/src/__generated__/client/models/TableMigration.d.ts +1079 -0
- package/dist/src/__generated__/client/models/TableMigration.js +3 -0
- package/dist/src/__generated__/client/models/TableMigration.js.map +1 -0
- package/dist/src/__generated__/client/models/User.d.ts +450 -67
- package/dist/src/__generated__/client/models/UserOrganization.d.ts +50 -51
- package/dist/src/__generated__/client/models/UserProject.d.ts +50 -51
- package/dist/src/__generated__/client/models.d.ts +6 -0
- package/dist/src/__generated__/client/sql/$DbEnums.d.ts +3 -2
- package/dist/src/__generated__/client/sql/countOrgRowVersions.d.ts +8 -0
- package/dist/src/__generated__/client/sql/countOrgRowVersions.js +39 -0
- package/dist/src/__generated__/client/sql/countOrgRowVersions.js.map +1 -0
- package/dist/src/__generated__/client/sql/countRowChangesBetweenRevisions.d.ts +2 -9
- package/dist/src/__generated__/client/sql/countRowChangesBetweenRevisions.js +1 -1
- package/dist/src/__generated__/client/sql/countRowChangesBetweenRevisions.js.map +1 -1
- package/dist/src/__generated__/client/sql/countTableDiffsBetweenRevisions.d.ts +2 -7
- package/dist/src/__generated__/client/sql/countTableDiffsBetweenRevisions.js +1 -1
- package/dist/src/__generated__/client/sql/countTableDiffsBetweenRevisions.js.map +1 -1
- package/dist/src/__generated__/client/sql/getRowChangesPaginatedBetweenRevisions.d.ts +2 -11
- package/dist/src/__generated__/client/sql/getRowChangesPaginatedBetweenRevisions.js +1 -1
- package/dist/src/__generated__/client/sql/getRowChangesPaginatedBetweenRevisions.js.map +1 -1
- package/dist/src/__generated__/client/sql/getRowChangesStatsBetweenRevisions.d.ts +2 -7
- package/dist/src/__generated__/client/sql/getRowChangesStatsBetweenRevisions.js +1 -1
- package/dist/src/__generated__/client/sql/getRowChangesStatsBetweenRevisions.js.map +1 -1
- package/dist/src/__generated__/client/sql/getTableDiffsPaginatedBetweenRevisions.d.ts +2 -9
- package/dist/src/__generated__/client/sql/getTableDiffsPaginatedBetweenRevisions.js +1 -1
- package/dist/src/__generated__/client/sql/getTableDiffsPaginatedBetweenRevisions.js.map +1 -1
- package/dist/src/__generated__/client/sql/getTableDiffsStatsBetweenRevisions.d.ts +2 -6
- package/dist/src/__generated__/client/sql/getTableDiffsStatsBetweenRevisions.js +1 -1
- package/dist/src/__generated__/client/sql/getTableDiffsStatsBetweenRevisions.js.map +1 -1
- package/dist/src/__generated__/client/sql/hasRowDiffsBetweenRevisions.d.ts +2 -6
- package/dist/src/__generated__/client/sql/hasRowDiffsBetweenRevisions.js +1 -1
- package/dist/src/__generated__/client/sql/hasRowDiffsBetweenRevisions.js.map +1 -1
- package/dist/src/__generated__/client/sql/hasTableDiffsBetweenRevisions.d.ts +1 -1
- package/dist/src/__generated__/client/sql/hasTableDiffsBetweenRevisions.js +1 -1
- package/dist/src/__generated__/client/sql/hasTableDiffsBetweenRevisions.js.map +1 -1
- package/dist/src/__generated__/client/sql.d.ts +10 -9
- package/dist/src/__generated__/client/sql.js +1 -0
- package/dist/src/__generated__/client/sql.js.map +1 -1
- package/dist/src/api/graphql-api/api-key/api-key.resolver.d.ts +21 -0
- package/dist/src/api/graphql-api/api-key/api-key.resolver.js +158 -0
- package/dist/src/api/graphql-api/api-key/api-key.resolver.js.map +1 -0
- package/dist/src/api/graphql-api/api-key/inputs/base-api-key-scope.input.d.ts +8 -0
- package/dist/src/api/graphql-api/api-key/inputs/base-api-key-scope.input.js +45 -0
- package/dist/src/api/graphql-api/api-key/inputs/base-api-key-scope.input.js.map +1 -0
- package/dist/src/api/graphql-api/api-key/inputs/create-personal-api-key.input.d.ts +5 -0
- package/dist/src/api/graphql-api/api-key/inputs/create-personal-api-key.input.js +29 -0
- package/dist/src/api/graphql-api/api-key/inputs/create-personal-api-key.input.js.map +1 -0
- package/dist/src/api/graphql-api/api-key/inputs/create-service-api-key.input.d.ts +16 -0
- package/dist/src/api/graphql-api/api-key/inputs/create-service-api-key.input.js +70 -0
- package/dist/src/api/graphql-api/api-key/inputs/create-service-api-key.input.js.map +1 -0
- package/dist/src/api/graphql-api/api-key/model/api-key-type.enum.d.ts +5 -0
- package/dist/src/api/graphql-api/api-key/model/api-key-type.enum.js +10 -0
- package/dist/src/api/graphql-api/api-key/model/api-key-type.enum.js.map +1 -0
- package/dist/src/api/graphql-api/api-key/model/api-key-with-secret.model.d.ts +5 -0
- package/dist/src/api/graphql-api/api-key/model/api-key-with-secret.model.js +29 -0
- package/dist/src/api/graphql-api/api-key/model/api-key-with-secret.model.js.map +1 -0
- package/dist/src/api/graphql-api/api-key/model/api-key.model.d.ts +21 -0
- package/dist/src/api/graphql-api/api-key/model/api-key.model.js +87 -0
- package/dist/src/api/graphql-api/api-key/model/api-key.model.js.map +1 -0
- package/dist/src/api/graphql-api/auth/auth.resolver.d.ts +26 -7
- package/dist/src/api/graphql-api/auth/auth.resolver.js +90 -22
- package/dist/src/api/graphql-api/auth/auth.resolver.js.map +1 -1
- package/dist/src/api/graphql-api/auth/inputs/create-user.input.js +12 -0
- package/dist/src/api/graphql-api/auth/inputs/create-user.input.js.map +1 -1
- package/dist/src/api/graphql-api/auth/inputs/login.input.js +7 -0
- package/dist/src/api/graphql-api/auth/inputs/login.input.js.map +1 -1
- package/dist/src/api/graphql-api/auth/model/login.model.d.ts +1 -0
- package/dist/src/api/graphql-api/auth/model/login.model.js +4 -0
- package/dist/src/api/graphql-api/auth/model/login.model.js.map +1 -1
- package/dist/src/api/graphql-api/billing/billing-configuration.resolver.d.ts +7 -0
- package/dist/src/api/graphql-api/billing/billing-configuration.resolver.js +42 -0
- package/dist/src/api/graphql-api/billing/billing-configuration.resolver.js.map +1 -0
- package/dist/src/api/graphql-api/billing/billing-mutation.resolver.d.ts +13 -0
- package/dist/src/api/graphql-api/billing/billing-mutation.resolver.js +84 -0
- package/dist/src/api/graphql-api/billing/billing-mutation.resolver.js.map +1 -0
- package/dist/src/api/graphql-api/billing/billing-organization.resolver.d.ts +8 -0
- package/dist/src/api/graphql-api/billing/billing-organization.resolver.js +53 -0
- package/dist/src/api/graphql-api/billing/billing-organization.resolver.js.map +1 -0
- package/dist/src/api/graphql-api/billing/billing-query.resolver.d.ts +7 -0
- package/dist/src/api/graphql-api/billing/billing-query.resolver.js +52 -0
- package/dist/src/api/graphql-api/billing/billing-query.resolver.js.map +1 -0
- package/dist/src/api/graphql-api/billing/inputs/activate-early-access.input.d.ts +4 -0
- package/dist/src/api/graphql-api/billing/inputs/activate-early-access.input.js +28 -0
- package/dist/src/api/graphql-api/billing/inputs/activate-early-access.input.js.map +1 -0
- package/dist/src/api/graphql-api/billing/inputs/cancel-subscription.input.d.ts +4 -0
- package/dist/src/api/graphql-api/billing/inputs/cancel-subscription.input.js +28 -0
- package/dist/src/api/graphql-api/billing/inputs/cancel-subscription.input.js.map +1 -0
- package/dist/src/api/graphql-api/billing/inputs/create-checkout.input.d.ts +10 -0
- package/dist/src/api/graphql-api/billing/inputs/create-checkout.input.js +52 -0
- package/dist/src/api/graphql-api/billing/inputs/create-checkout.input.js.map +1 -0
- package/dist/src/api/graphql-api/billing/models/billing-configuration.model.d.ts +3 -0
- package/dist/src/api/graphql-api/billing/models/billing-configuration.model.js +24 -0
- package/dist/src/api/graphql-api/billing/models/billing-configuration.model.js.map +1 -0
- package/dist/src/api/graphql-api/billing/models/billing-status.enum.d.ts +7 -0
- package/dist/src/api/graphql-api/billing/models/billing-status.enum.js +12 -0
- package/dist/src/api/graphql-api/billing/models/billing-status.enum.js.map +1 -0
- package/dist/src/api/graphql-api/billing/models/index.d.ts +6 -0
- package/dist/src/api/graphql-api/billing/models/index.js +20 -0
- package/dist/src/api/graphql-api/billing/models/index.js.map +1 -0
- package/dist/src/api/graphql-api/billing/models/payment-provider.model.d.ts +13 -0
- package/dist/src/api/graphql-api/billing/models/payment-provider.model.js +60 -0
- package/dist/src/api/graphql-api/billing/models/payment-provider.model.js.map +1 -0
- package/dist/src/api/graphql-api/billing/models/plan.model.d.ts +20 -0
- package/dist/src/api/graphql-api/billing/models/plan.model.js +91 -0
- package/dist/src/api/graphql-api/billing/models/plan.model.js.map +1 -0
- package/dist/src/api/graphql-api/billing/models/subscription.model.d.ts +10 -0
- package/dist/src/api/graphql-api/billing/models/subscription.model.js +50 -0
- package/dist/src/api/graphql-api/billing/models/subscription.model.js.map +1 -0
- package/dist/src/api/graphql-api/billing/models/usage.model.d.ts +11 -0
- package/dist/src/api/graphql-api/billing/models/usage.model.js +54 -0
- package/dist/src/api/graphql-api/billing/models/usage.model.js.map +1 -0
- package/dist/src/api/graphql-api/branch/branch.resolver.d.ts +25 -60
- package/dist/src/api/graphql-api/branch/branch.resolver.js +63 -29
- package/dist/src/api/graphql-api/branch/branch.resolver.js.map +1 -1
- package/dist/src/api/graphql-api/branch/model/branch.model.d.ts +1 -1
- package/dist/src/api/graphql-api/branch/parent-branch.resolver.d.ts +6 -23
- package/dist/src/api/graphql-api/branch/parent-branch.resolver.js +7 -7
- package/dist/src/api/graphql-api/branch/parent-branch.resolver.js.map +1 -1
- package/dist/src/api/graphql-api/cache/cache.resolver.d.ts +8 -0
- package/dist/src/api/graphql-api/cache/cache.resolver.js +58 -0
- package/dist/src/api/graphql-api/cache/cache.resolver.js.map +1 -0
- package/dist/src/api/graphql-api/cache/model/cache-stats.model.d.ts +17 -0
- package/dist/src/api/graphql-api/cache/model/cache-stats.model.js +78 -0
- package/dist/src/api/graphql-api/cache/model/cache-stats.model.js.map +1 -0
- package/dist/src/api/graphql-api/configuration/configuration.resolver.d.ts +1 -1
- package/dist/src/api/graphql-api/configuration/configuration.resolver.js +3 -3
- package/dist/src/api/graphql-api/configuration/configuration.resolver.js.map +1 -1
- package/dist/src/api/graphql-api/configuration/model/configuration.model.d.ts +4 -0
- package/dist/src/api/graphql-api/configuration/model/configuration.model.js +15 -1
- package/dist/src/api/graphql-api/configuration/model/configuration.model.js.map +1 -1
- package/dist/src/api/graphql-api/draft/draft.resolver.d.ts +28 -17
- package/dist/src/api/graphql-api/draft/draft.resolver.js +40 -28
- package/dist/src/api/graphql-api/draft/draft.resolver.js.map +1 -1
- package/dist/src/api/graphql-api/endpoint/endpoint.resolver.d.ts +4 -2
- package/dist/src/api/graphql-api/endpoint/endpoint.resolver.js +12 -9
- package/dist/src/api/graphql-api/endpoint/endpoint.resolver.js.map +1 -1
- package/dist/src/api/graphql-api/endpoint/model/endpoints-connection.model.d.ts +1 -1
- package/dist/src/api/graphql-api/file-usage/file-usage-admin.resolver.d.ts +10 -0
- package/dist/src/api/graphql-api/file-usage/file-usage-admin.resolver.js +66 -0
- package/dist/src/api/graphql-api/file-usage/file-usage-admin.resolver.js.map +1 -0
- package/dist/src/api/graphql-api/file-usage/file-usage-admin.service.d.ts +10 -0
- package/dist/src/api/graphql-api/file-usage/file-usage-admin.service.js +59 -0
- package/dist/src/api/graphql-api/file-usage/file-usage-admin.service.js.map +1 -0
- package/dist/src/api/graphql-api/file-usage/model/file-usage-inputs.d.ts +7 -0
- package/dist/src/api/graphql-api/file-usage/model/file-usage-inputs.js +38 -0
- package/dist/src/api/graphql-api/file-usage/model/file-usage-inputs.js.map +1 -0
- package/dist/src/api/graphql-api/file-usage/model/project-file-usage-report.model.d.ts +8 -0
- package/dist/src/api/graphql-api/file-usage/model/project-file-usage-report.model.js +44 -0
- package/dist/src/api/graphql-api/file-usage/model/project-file-usage-report.model.js.map +1 -0
- package/dist/src/api/graphql-api/file-usage/model/restore-project-file-bytes-result.model.d.ts +7 -0
- package/dist/src/api/graphql-api/file-usage/model/restore-project-file-bytes-result.model.js +40 -0
- package/dist/src/api/graphql-api/file-usage/model/restore-project-file-bytes-result.model.js.map +1 -0
- package/dist/src/api/graphql-api/filters/graphql-http-exception.filter.d.ts +5 -0
- package/dist/src/api/graphql-api/filters/graphql-http-exception.filter.js +39 -0
- package/dist/src/api/graphql-api/filters/graphql-http-exception.filter.js.map +1 -0
- package/dist/src/api/graphql-api/filters/graphql-validation-exception.filter.js +2 -2
- package/dist/src/api/graphql-api/filters/graphql-validation-exception.filter.js.map +1 -1
- package/dist/src/api/graphql-api/graphql-api.module.js +25 -6
- package/dist/src/api/graphql-api/graphql-api.module.js.map +1 -1
- package/dist/src/api/graphql-api/organization/inputs/get-organization.input.d.ts +3 -0
- package/dist/src/api/graphql-api/organization/inputs/get-organization.input.js +24 -0
- package/dist/src/api/graphql-api/organization/inputs/get-organization.input.js.map +1 -0
- package/dist/src/api/graphql-api/organization/model/users-organization.connection.d.ts +1 -1
- package/dist/src/api/graphql-api/organization/organization.resolver.d.ts +9 -2
- package/dist/src/api/graphql-api/organization/organization.resolver.js +26 -8
- package/dist/src/api/graphql-api/organization/organization.resolver.js.map +1 -1
- package/dist/src/api/graphql-api/project/model/project.model.d.ts +2 -0
- package/dist/src/api/graphql-api/project/model/project.model.js +5 -0
- package/dist/src/api/graphql-api/project/model/project.model.js.map +1 -1
- package/dist/src/api/graphql-api/project/model/projects.connection.d.ts +1 -1
- package/dist/src/api/graphql-api/project/model/users-project.connection.d.ts +1 -1
- package/dist/src/api/graphql-api/project/project.resolver.d.ts +9 -1
- package/dist/src/api/graphql-api/project/project.resolver.js +31 -2
- package/dist/src/api/graphql-api/project/project.resolver.js.map +1 -1
- package/dist/src/api/graphql-api/registerGraphqlEnums.js +4 -0
- package/dist/src/api/graphql-api/registerGraphqlEnums.js.map +1 -1
- package/dist/src/api/graphql-api/revision/child-branch.resolver.d.ts +7 -24
- package/dist/src/api/graphql-api/revision/child-branch.resolver.js +8 -8
- package/dist/src/api/graphql-api/revision/child-branch.resolver.js.map +1 -1
- package/dist/src/api/graphql-api/revision/model/revision.model.d.ts +1 -1
- package/dist/src/api/graphql-api/revision/revision.resolver.d.ts +18 -46
- package/dist/src/api/graphql-api/revision/revision.resolver.js +26 -18
- package/dist/src/api/graphql-api/revision/revision.resolver.js.map +1 -1
- package/dist/src/api/graphql-api/revision-changes/model/table-change.model.d.ts +1 -1
- package/dist/src/api/graphql-api/revision-changes/revision-changes.resolver.d.ts +12 -6
- package/dist/src/api/graphql-api/revision-changes/revision-changes.resolver.js +19 -11
- package/dist/src/api/graphql-api/revision-changes/revision-changes.resolver.js.map +1 -1
- package/dist/src/api/graphql-api/role/role.resolver.d.ts +1 -1
- package/dist/src/api/graphql-api/row/model/rows-connection.model.d.ts +1 -1
- package/dist/src/api/graphql-api/row/model/search-results-connection.model.d.ts +1 -1
- package/dist/src/api/graphql-api/row/resolver/search-rows.resolver.d.ts +3 -3
- package/dist/src/api/graphql-api/row/resolver/search-rows.resolver.js +3 -3
- package/dist/src/api/graphql-api/row/resolver/search-rows.resolver.js.map +1 -1
- package/dist/src/api/graphql-api/row/row.resolver.d.ts +6 -6
- package/dist/src/api/graphql-api/row/row.resolver.js +8 -8
- package/dist/src/api/graphql-api/row/row.resolver.js.map +1 -1
- package/dist/src/api/graphql-api/share/model/paginated.model.d.ts +1 -1
- package/dist/src/api/graphql-api/share/model/paginated.model.js.map +1 -1
- package/dist/src/api/graphql-api/sub-schema/model/sub-schema-item.model.d.ts +1 -1
- package/dist/src/api/graphql-api/sub-schema/sub-schema.resolver.d.ts +4 -4
- package/dist/src/api/graphql-api/sub-schema/sub-schema.resolver.js +5 -5
- package/dist/src/api/graphql-api/sub-schema/sub-schema.resolver.js.map +1 -1
- package/dist/src/api/graphql-api/table/model/table-connection.model.d.ts +1 -1
- package/dist/src/api/graphql-api/table/table.resolver.d.ts +11 -21
- package/dist/src/api/graphql-api/table/table.resolver.js +15 -18
- package/dist/src/api/graphql-api/table/table.resolver.js.map +1 -1
- package/dist/src/api/graphql-api/user/model/search-users.connection.d.ts +1 -1
- package/dist/src/api/graphql-api/user/model/users.connection.d.ts +1 -1
- package/dist/src/api/graphql-api/user/user.resolver.d.ts +6 -1
- package/dist/src/api/graphql-api/user/user.resolver.js +13 -8
- package/dist/src/api/graphql-api/user/user.resolver.js.map +1 -1
- package/dist/src/api/graphql-api/views/views.resolver.d.ts +5 -6
- package/dist/src/api/graphql-api/views/views.resolver.js +7 -7
- package/dist/src/api/graphql-api/views/views.resolver.js.map +1 -1
- package/dist/src/api/mcp-api/coerce-stringified-args.d.ts +2 -0
- package/dist/src/api/mcp-api/coerce-stringified-args.js +58 -0
- package/dist/src/api/mcp-api/coerce-stringified-args.js.map +1 -0
- package/dist/src/api/mcp-api/mcp-server.service.d.ts +8 -11
- package/dist/src/api/mcp-api/mcp-server.service.js +69 -42
- package/dist/src/api/mcp-api/mcp-server.service.js.map +1 -1
- package/dist/src/api/mcp-api/mcp.controller.js +2 -1
- package/dist/src/api/mcp-api/mcp.controller.js.map +1 -1
- package/dist/src/api/mcp-api/mcp.module.js +0 -2
- package/dist/src/api/mcp-api/mcp.module.js.map +1 -1
- package/dist/src/api/mcp-api/resources/migration.resource.js +17 -13
- package/dist/src/api/mcp-api/resources/migration.resource.js.map +1 -1
- package/dist/src/api/mcp-api/resources/schema.resource.js +2 -2
- package/dist/src/api/mcp-api/resources/schema.resource.js.map +1 -1
- package/dist/src/api/mcp-api/tools/branch.tools.d.ts +7 -2
- package/dist/src/api/mcp-api/tools/branch.tools.js +40 -26
- package/dist/src/api/mcp-api/tools/branch.tools.js.map +1 -1
- package/dist/src/api/mcp-api/tools/endpoint.tools.d.ts +4 -3
- package/dist/src/api/mcp-api/tools/endpoint.tools.js +20 -19
- package/dist/src/api/mcp-api/tools/endpoint.tools.js.map +1 -1
- package/dist/src/api/mcp-api/tools/file.tools.d.ts +5 -3
- package/dist/src/api/mcp-api/tools/file.tools.js +13 -9
- package/dist/src/api/mcp-api/tools/file.tools.js.map +1 -1
- package/dist/src/api/mcp-api/tools/mcp-helpers.d.ts +17 -0
- package/dist/src/api/mcp-api/tools/mcp-helpers.js +60 -0
- package/dist/src/api/mcp-api/tools/mcp-helpers.js.map +1 -0
- package/dist/src/api/mcp-api/tools/migration.tools.d.ts +5 -5
- package/dist/src/api/mcp-api/tools/migration.tools.js +14 -15
- package/dist/src/api/mcp-api/tools/migration.tools.js.map +1 -1
- package/dist/src/api/mcp-api/tools/project.tools.d.ts +2 -2
- package/dist/src/api/mcp-api/tools/project.tools.js +8 -9
- package/dist/src/api/mcp-api/tools/project.tools.js.map +1 -1
- package/dist/src/api/mcp-api/tools/revision-changes.tools.d.ts +9 -3
- package/dist/src/api/mcp-api/tools/revision-changes.tools.js +18 -13
- package/dist/src/api/mcp-api/tools/revision-changes.tools.js.map +1 -1
- package/dist/src/api/mcp-api/tools/revision.tools.d.ts +7 -4
- package/dist/src/api/mcp-api/tools/revision.tools.js +40 -17
- package/dist/src/api/mcp-api/tools/revision.tools.js.map +1 -1
- package/dist/src/api/mcp-api/tools/row.tools.d.ts +10 -8
- package/dist/src/api/mcp-api/tools/row.tools.js +164 -77
- package/dist/src/api/mcp-api/tools/row.tools.js.map +1 -1
- package/dist/src/api/mcp-api/tools/table.tools.d.ts +6 -4
- package/dist/src/api/mcp-api/tools/table.tools.js +202 -42
- package/dist/src/api/mcp-api/tools/table.tools.js.map +1 -1
- package/dist/src/api/mcp-api/uri/index.d.ts +6 -0
- package/dist/src/api/mcp-api/uri/index.js +15 -0
- package/dist/src/api/mcp-api/uri/index.js.map +1 -0
- package/dist/src/api/mcp-api/uri/parse-revisium-uri.d.ts +7 -0
- package/dist/src/api/mcp-api/uri/parse-revisium-uri.js +56 -0
- package/dist/src/api/mcp-api/uri/parse-revisium-uri.js.map +1 -0
- package/dist/src/api/mcp-api/uri/resolve-revision-id.d.ts +21 -0
- package/dist/src/api/mcp-api/uri/resolve-revision-id.js +44 -0
- package/dist/src/api/mcp-api/uri/resolve-revision-id.js.map +1 -0
- package/dist/src/api/mcp-api/uri/revision-id-schema.d.ts +15 -0
- package/dist/src/api/mcp-api/uri/revision-id-schema.js +43 -0
- package/dist/src/api/mcp-api/uri/revision-id-schema.js.map +1 -0
- package/dist/src/api/mcp-api/uri/uri-revision-resolver.d.ts +9 -0
- package/dist/src/api/mcp-api/uri/uri-revision-resolver.js +30 -0
- package/dist/src/api/mcp-api/uri/uri-revision-resolver.js.map +1 -0
- package/dist/src/api/rest-api/auth/auth.controller.d.ts +16 -3
- package/dist/src/api/rest-api/auth/auth.controller.js +165 -11
- package/dist/src/api/rest-api/auth/auth.controller.js.map +1 -1
- package/dist/src/api/rest-api/auth/dto/create-user.dto.js +12 -0
- package/dist/src/api/rest-api/auth/dto/create-user.dto.js.map +1 -1
- package/dist/src/api/rest-api/auth/dto/login.dto.js +7 -0
- package/dist/src/api/rest-api/auth/dto/login.dto.js.map +1 -1
- package/dist/src/api/rest-api/auth/model/login.response.d.ts +4 -0
- package/dist/src/api/rest-api/auth/model/login.response.js +12 -1
- package/dist/src/api/rest-api/auth/model/login.response.js.map +1 -1
- package/dist/src/api/rest-api/branch/branch-by-name.controller.d.ts +11 -6
- package/dist/src/api/rest-api/branch/branch-by-name.controller.js +40 -27
- package/dist/src/api/rest-api/branch/branch-by-name.controller.js.map +1 -1
- package/dist/src/api/rest-api/configuration/configuration.controller.d.ts +1 -1
- package/dist/src/api/rest-api/configuration/configuration.controller.js +2 -2
- package/dist/src/api/rest-api/configuration/configuration.controller.js.map +1 -1
- package/dist/src/api/rest-api/endpoint/endpoint-by-id.controller.d.ts +1 -1
- package/dist/src/api/rest-api/endpoint/endpoint-by-id.controller.js +3 -2
- package/dist/src/api/rest-api/endpoint/endpoint-by-id.controller.js.map +1 -1
- package/dist/src/api/rest-api/init-swagger.js +6 -0
- package/dist/src/api/rest-api/init-swagger.js.map +1 -1
- package/dist/src/api/rest-api/organization/model/users-organization.model.d.ts +1 -1
- package/dist/src/api/rest-api/organization/model/users-organization.model.js +6 -6
- package/dist/src/api/rest-api/organization/model/users-organization.model.js.map +1 -1
- package/dist/src/api/rest-api/organization/organization.controller.d.ts +6 -2
- package/dist/src/api/rest-api/organization/organization.controller.js +17 -11
- package/dist/src/api/rest-api/organization/organization.controller.js.map +1 -1
- package/dist/src/api/rest-api/project/model/users-project.model.d.ts +1 -1
- package/dist/src/api/rest-api/project/model/users-project.model.js +6 -6
- package/dist/src/api/rest-api/project/model/users-project.model.js.map +1 -1
- package/dist/src/api/rest-api/project/project.controller.d.ts +1 -1
- package/dist/src/api/rest-api/project/project.controller.js +1 -0
- package/dist/src/api/rest-api/project/project.controller.js.map +1 -1
- package/dist/src/api/rest-api/rest-api.module.js +0 -2
- package/dist/src/api/rest-api/rest-api.module.js.map +1 -1
- package/dist/src/api/rest-api/revision/revision-by-id.controller.d.ts +18 -14
- package/dist/src/api/rest-api/revision/revision-by-id.controller.js +36 -30
- package/dist/src/api/rest-api/revision/revision-by-id.controller.js.map +1 -1
- package/dist/src/api/rest-api/row/row-by-id.controller.d.ts +10 -9
- package/dist/src/api/rest-api/row/row-by-id.controller.js +25 -24
- package/dist/src/api/rest-api/row/row-by-id.controller.js.map +1 -1
- package/dist/src/api/rest-api/share/utils/transformFromPrismaToRevisionModel.d.ts +1 -1
- package/dist/src/api/rest-api/share/utils/transformFromPrismaToRowModel.d.ts +1 -1
- package/dist/src/api/rest-api/share/utils/transformFromPrismaToTableModel.d.ts +1 -1
- package/dist/src/api/rest-api/share/utils/transformFromPrismaToUserOrganizationModel.d.ts +2 -2
- package/dist/src/api/rest-api/share/utils/transformFromPrismaToUserProjectModel.d.ts +1 -1
- package/dist/src/api/rest-api/table/table-by-id.controller.d.ts +23 -12
- package/dist/src/api/rest-api/table/table-by-id.controller.js +59 -48
- package/dist/src/api/rest-api/table/table-by-id.controller.js.map +1 -1
- package/dist/src/api/rest-api/user/user.controller.js +1 -0
- package/dist/src/api/rest-api/user/user.controller.js.map +1 -1
- package/dist/src/api/utils/mapToPrismaOrderBy.d.ts +1 -1
- package/dist/src/core/core-engine.module.d.ts +8 -0
- package/dist/src/core/core-engine.module.js +73 -0
- package/dist/src/core/core-engine.module.js.map +1 -0
- package/dist/src/core/core.module.d.ts +4 -1
- package/dist/src/core/core.module.js +12 -2
- package/dist/src/core/core.module.js.map +1 -1
- package/dist/src/core/shared/billing-check.service.d.ts +13 -0
- package/dist/src/core/shared/billing-check.service.js +71 -0
- package/dist/src/core/shared/billing-check.service.js.map +1 -0
- package/dist/src/core/shared/endpoint-notifier.service.d.ts +9 -0
- package/dist/src/core/shared/endpoint-notifier.service.js +46 -0
- package/dist/src/core/shared/endpoint-notifier.service.js.map +1 -0
- package/dist/src/core/shared/shared.module.d.ts +2 -0
- package/dist/src/core/shared/shared.module.js +26 -0
- package/dist/src/core/shared/shared.module.js.map +1 -0
- package/dist/src/features/api-key/api-key-api.service.d.ts +39 -0
- package/dist/src/features/api-key/api-key-api.service.js +138 -0
- package/dist/src/features/api-key/api-key-api.service.js.map +1 -0
- package/dist/src/features/api-key/api-key-scope.service.d.ts +19 -0
- package/dist/src/features/api-key/api-key-scope.service.js +80 -0
- package/dist/src/features/api-key/api-key-scope.service.js.map +1 -0
- package/dist/src/features/api-key/api-key-tracking.service.d.ts +13 -0
- package/dist/src/features/api-key/api-key-tracking.service.js +83 -0
- package/dist/src/features/api-key/api-key-tracking.service.js.map +1 -0
- package/dist/src/features/api-key/api-key.module.d.ts +2 -0
- package/dist/src/features/api-key/api-key.module.js +43 -0
- package/dist/src/features/api-key/api-key.module.js.map +1 -0
- package/dist/src/features/api-key/api-key.service.d.ts +37 -0
- package/dist/src/features/api-key/api-key.service.js +51 -0
- package/dist/src/features/api-key/api-key.service.js.map +1 -0
- package/dist/src/features/api-key/commands/handlers/create-api-key.handler.d.ts +19 -0
- package/dist/src/features/api-key/commands/handlers/create-api-key.handler.js +219 -0
- package/dist/src/features/api-key/commands/handlers/create-api-key.handler.js.map +1 -0
- package/dist/src/features/api-key/commands/handlers/index.d.ts +3 -0
- package/dist/src/features/api-key/commands/handlers/index.js +20 -0
- package/dist/src/features/api-key/commands/handlers/index.js.map +1 -0
- package/dist/src/features/api-key/commands/handlers/revoke-api-key.handler.d.ts +10 -0
- package/dist/src/features/api-key/commands/handlers/revoke-api-key.handler.js +46 -0
- package/dist/src/features/api-key/commands/handlers/revoke-api-key.handler.js.map +1 -0
- package/dist/src/features/api-key/commands/handlers/rotate-api-key.handler.d.ts +14 -0
- package/dist/src/features/api-key/commands/handlers/rotate-api-key.handler.js +94 -0
- package/dist/src/features/api-key/commands/handlers/rotate-api-key.handler.js.map +1 -0
- package/dist/src/features/api-key/commands/impl/create-api-key.command.d.ts +37 -0
- package/dist/src/features/api-key/commands/impl/create-api-key.command.js +10 -0
- package/dist/src/features/api-key/commands/impl/create-api-key.command.js.map +1 -0
- package/dist/src/features/api-key/commands/impl/index.d.ts +3 -0
- package/dist/src/features/api-key/commands/impl/index.js +20 -0
- package/dist/src/features/api-key/commands/impl/index.js.map +1 -0
- package/dist/src/features/api-key/commands/impl/revoke-api-key.command.d.ts +9 -0
- package/dist/src/features/api-key/commands/impl/revoke-api-key.command.js +10 -0
- package/dist/src/features/api-key/commands/impl/revoke-api-key.command.js.map +1 -0
- package/dist/src/features/api-key/commands/impl/rotate-api-key.command.d.ts +12 -0
- package/dist/src/features/api-key/commands/impl/rotate-api-key.command.js +10 -0
- package/dist/src/features/api-key/commands/impl/rotate-api-key.command.js.map +1 -0
- package/dist/src/features/api-key/commands/index.d.ts +2 -0
- package/dist/src/features/api-key/commands/index.js +10 -0
- package/dist/src/features/api-key/commands/index.js.map +1 -0
- package/dist/src/features/api-key/internal-key-bootstrap.service.d.ts +23 -0
- package/dist/src/features/api-key/internal-key-bootstrap.service.js +170 -0
- package/dist/src/features/api-key/internal-key-bootstrap.service.js.map +1 -0
- package/dist/src/features/api-key/queries/handlers/get-api-key-by-id.handler.d.ts +8 -0
- package/dist/src/features/api-key/queries/handlers/get-api-key-by-id.handler.js +37 -0
- package/dist/src/features/api-key/queries/handlers/get-api-key-by-id.handler.js.map +1 -0
- package/dist/src/features/api-key/queries/handlers/get-api-keys.handler.d.ts +8 -0
- package/dist/src/features/api-key/queries/handlers/get-api-keys.handler.js +43 -0
- package/dist/src/features/api-key/queries/handlers/get-api-keys.handler.js.map +1 -0
- package/dist/src/features/api-key/queries/handlers/index.d.ts +2 -0
- package/dist/src/features/api-key/queries/handlers/index.js +19 -0
- package/dist/src/features/api-key/queries/handlers/index.js.map +1 -0
- package/dist/src/features/api-key/queries/impl/get-api-key-by-id.query.d.ts +14 -0
- package/dist/src/features/api-key/queries/impl/get-api-key-by-id.query.js +10 -0
- package/dist/src/features/api-key/queries/impl/get-api-key-by-id.query.js.map +1 -0
- package/dist/src/features/api-key/queries/impl/get-api-keys.query.d.ts +20 -0
- package/dist/src/features/api-key/queries/impl/get-api-keys.query.js +10 -0
- package/dist/src/features/api-key/queries/impl/get-api-keys.query.js.map +1 -0
- package/dist/src/features/api-key/queries/impl/index.d.ts +2 -0
- package/dist/src/features/api-key/queries/impl/index.js +19 -0
- package/dist/src/features/api-key/queries/impl/index.js.map +1 -0
- package/dist/src/features/api-key/queries/index.d.ts +2 -0
- package/dist/src/features/api-key/queries/index.js +6 -0
- package/dist/src/features/api-key/queries/index.js.map +1 -0
- package/dist/src/features/auth/auth.module.js +27 -0
- package/dist/src/features/auth/auth.module.js.map +1 -1
- package/dist/src/features/auth/auth.service.d.ts +34 -6
- package/dist/src/features/auth/auth.service.js +82 -7
- package/dist/src/features/auth/auth.service.js.map +1 -1
- package/dist/src/features/auth/casl-ability.factory.d.ts +5 -2
- package/dist/src/features/auth/casl-ability.factory.js +27 -0
- package/dist/src/features/auth/casl-ability.factory.js.map +1 -1
- package/dist/src/features/auth/commands/auth-api.service.d.ts +4 -1
- package/dist/src/features/auth/commands/auth-api.service.js +8 -2
- package/dist/src/features/auth/commands/auth-api.service.js.map +1 -1
- package/dist/src/features/auth/commands/handlers/confirm-email-code.handler.d.ts +1 -3
- package/dist/src/features/auth/commands/handlers/confirm-email-code.handler.js +5 -8
- package/dist/src/features/auth/commands/handlers/confirm-email-code.handler.js.map +1 -1
- package/dist/src/features/auth/commands/handlers/create-user.handler.d.ts +1 -1
- package/dist/src/features/auth/commands/handlers/create-user.handler.js +2 -2
- package/dist/src/features/auth/commands/handlers/create-user.handler.js.map +1 -1
- package/dist/src/features/auth/commands/handlers/login-github.handler.d.ts +1 -3
- package/dist/src/features/auth/commands/handlers/login-github.handler.js +4 -7
- package/dist/src/features/auth/commands/handlers/login-github.handler.js.map +1 -1
- package/dist/src/features/auth/commands/handlers/login-google.handler.d.ts +1 -3
- package/dist/src/features/auth/commands/handlers/login-google.handler.js +4 -7
- package/dist/src/features/auth/commands/handlers/login-google.handler.js.map +1 -1
- package/dist/src/features/auth/commands/handlers/login.handler.js +58 -20
- package/dist/src/features/auth/commands/handlers/login.handler.js.map +1 -1
- package/dist/src/features/auth/commands/impl/confirm-email-code.command.d.ts +6 -0
- package/dist/src/features/auth/commands/impl/confirm-email-code.command.js.map +1 -1
- package/dist/src/features/auth/commands/impl/login-github.command.d.ts +6 -0
- package/dist/src/features/auth/commands/impl/login-github.command.js.map +1 -1
- package/dist/src/features/auth/commands/impl/login-google.command.d.ts +6 -0
- package/dist/src/features/auth/commands/impl/login-google.command.js.map +1 -1
- package/dist/src/features/auth/commands/impl/login.command.d.ts +6 -0
- package/dist/src/features/auth/commands/impl/login.command.js.map +1 -1
- package/dist/src/features/auth/commands/index.d.ts +10 -2
- package/dist/src/features/auth/commands/index.js +18 -10
- package/dist/src/features/auth/commands/index.js.map +1 -1
- package/dist/src/features/auth/consts.d.ts +6 -2
- package/dist/src/features/auth/consts.js +4 -0
- package/dist/src/features/auth/consts.js.map +1 -1
- package/dist/src/features/auth/guards/base-persmission.guard.d.ts +17 -2
- package/dist/src/features/auth/guards/base-persmission.guard.js +86 -8
- package/dist/src/features/auth/guards/base-persmission.guard.js.map +1 -1
- package/dist/src/features/auth/guards/jwt/gql-jwt-auth-guard.service.d.ts +6 -9
- package/dist/src/features/auth/guards/jwt/gql-jwt-auth-guard.service.js +6 -18
- package/dist/src/features/auth/guards/jwt/gql-jwt-auth-guard.service.js.map +1 -1
- package/dist/src/features/auth/guards/jwt/http-jwt-auth-guard.service.d.ts +6 -8
- package/dist/src/features/auth/guards/jwt/http-jwt-auth-guard.service.js +6 -12
- package/dist/src/features/auth/guards/jwt/http-jwt-auth-guard.service.js.map +1 -1
- package/dist/src/features/auth/guards/jwt/optional-gql-jwt-auth-guard.service.d.ts +6 -10
- package/dist/src/features/auth/guards/jwt/optional-gql-jwt-auth-guard.service.js +6 -24
- package/dist/src/features/auth/guards/jwt/optional-gql-jwt-auth-guard.service.js.map +1 -1
- package/dist/src/features/auth/guards/jwt/optional-http-jwt-auth-guard.service.d.ts +6 -9
- package/dist/src/features/auth/guards/jwt/optional-http-jwt-auth-guard.service.js +6 -15
- package/dist/src/features/auth/guards/jwt/optional-http-jwt-auth-guard.service.js.map +1 -1
- package/dist/src/features/auth/guards/organization.guard.d.ts +3 -0
- package/dist/src/features/auth/guards/organization.guard.js +5 -0
- package/dist/src/features/auth/guards/organization.guard.js.map +1 -1
- package/dist/src/features/auth/guards/project.guard.d.ts +8 -0
- package/dist/src/features/auth/guards/project.guard.js +8 -0
- package/dist/src/features/auth/guards/project.guard.js.map +1 -1
- package/dist/src/features/auth/guards/universal/gql-universal-auth.guard.d.ts +24 -0
- package/dist/src/features/auth/guards/universal/gql-universal-auth.guard.js +86 -0
- package/dist/src/features/auth/guards/universal/gql-universal-auth.guard.js.map +1 -0
- package/dist/src/features/auth/guards/universal/http-universal-auth.guard.d.ts +22 -0
- package/dist/src/features/auth/guards/universal/http-universal-auth.guard.js +75 -0
- package/dist/src/features/auth/guards/universal/http-universal-auth.guard.js.map +1 -0
- package/dist/src/features/auth/guards/universal/optional-jwt-handle-request.d.ts +1 -0
- package/dist/src/features/auth/guards/universal/optional-jwt-handle-request.js +14 -0
- package/dist/src/features/auth/guards/universal/optional-jwt-handle-request.js.map +1 -0
- package/dist/src/features/auth/guards/universal-auth.service.d.ts +31 -0
- package/dist/src/features/auth/guards/universal-auth.service.js +193 -0
- package/dist/src/features/auth/guards/universal-auth.service.js.map +1 -0
- package/dist/src/features/auth/services/cookie.service.d.ts +20 -0
- package/dist/src/features/auth/services/cookie.service.js +94 -0
- package/dist/src/features/auth/services/cookie.service.js.map +1 -0
- package/dist/src/features/auth/services/refresh-token.service.d.ts +34 -0
- package/dist/src/features/auth/services/refresh-token.service.js +249 -0
- package/dist/src/features/auth/services/refresh-token.service.js.map +1 -0
- package/dist/src/features/auth/strategy/jwt.strategy.d.ts +18 -2
- package/dist/src/features/auth/strategy/jwt.strategy.js +42 -4
- package/dist/src/features/auth/strategy/jwt.strategy.js.map +1 -1
- package/dist/src/features/auth/types.d.ts +23 -4
- package/dist/src/features/billing/billing-graphql.interface.d.ts +76 -0
- package/dist/src/features/billing/billing-graphql.interface.js +5 -0
- package/dist/src/features/billing/billing-graphql.interface.js.map +1 -0
- package/dist/src/features/billing/billing.module.d.ts +2 -0
- package/dist/src/features/billing/billing.module.js +34 -0
- package/dist/src/features/billing/billing.module.js.map +1 -0
- package/dist/src/features/billing/limit-exceeded.exception.d.ts +5 -0
- package/dist/src/features/billing/limit-exceeded.exception.js +18 -0
- package/dist/src/features/billing/limit-exceeded.exception.js.map +1 -0
- package/dist/src/features/billing/limits.interface.d.ts +25 -0
- package/dist/src/features/billing/limits.interface.js +17 -0
- package/dist/src/features/billing/limits.interface.js.map +1 -0
- package/dist/src/features/billing/noop-billing-graphql.service.d.ts +15 -0
- package/dist/src/features/billing/noop-billing-graphql.service.js +47 -0
- package/dist/src/features/billing/noop-billing-graphql.service.js.map +1 -0
- package/dist/src/features/billing/noop-limits.service.d.ts +8 -0
- package/dist/src/features/billing/noop-limits.service.js +20 -0
- package/dist/src/features/billing/noop-limits.service.js.map +1 -0
- package/dist/src/features/branch/branch-api.service.d.ts +21 -72
- package/dist/src/features/branch/branch-api.service.js +33 -33
- package/dist/src/features/branch/branch-api.service.js.map +1 -1
- package/dist/src/features/branch/branch.module.js +4 -10
- package/dist/src/features/branch/branch.module.js.map +1 -1
- package/dist/src/features/branch/commands/handlers/create-branch.handler.d.ts +10 -0
- package/dist/src/features/branch/commands/handlers/create-branch.handler.js +34 -0
- package/dist/src/features/branch/commands/handlers/create-branch.handler.js.map +1 -0
- package/dist/src/features/branch/commands/handlers/index.d.ts +2 -4
- package/dist/src/features/branch/commands/handlers/index.js +3 -9
- package/dist/src/features/branch/commands/handlers/index.js.map +1 -1
- package/dist/src/features/branch/commands/impl/create-branch.command.d.ts +6 -0
- package/dist/src/features/branch/commands/impl/create-branch.command.js +10 -0
- package/dist/src/features/branch/commands/impl/create-branch.command.js.map +1 -0
- package/dist/src/features/endpoint/commands/handlers/create-endpoint.handler.d.ts +8 -1
- package/dist/src/features/endpoint/commands/handlers/create-endpoint.handler.js +39 -13
- package/dist/src/features/endpoint/commands/handlers/create-endpoint.handler.js.map +1 -1
- package/dist/src/features/endpoint/endpoint.module.js +2 -1
- package/dist/src/features/endpoint/endpoint.module.js.map +1 -1
- package/dist/src/features/endpoint/queries/impl/get-project-endpoints.query.d.ts +1 -1
- package/dist/src/features/oauth/oauth.controller.d.ts +12 -9
- package/dist/src/features/oauth/oauth.controller.js +84 -53
- package/dist/src/features/oauth/oauth.controller.js.map +1 -1
- package/dist/src/features/organization/commands/handlers/add-user-to-organization.handler.d.ts +5 -3
- package/dist/src/features/organization/commands/handlers/add-user-to-organization.handler.js +20 -7
- package/dist/src/features/organization/commands/handlers/add-user-to-organization.handler.js.map +1 -1
- package/dist/src/features/organization/commands/index.d.ts +2 -1
- package/dist/src/features/organization/commands/index.js +4 -3
- package/dist/src/features/organization/commands/index.js.map +1 -1
- package/dist/src/features/organization/queries/handlers/get-projects-by-organization-id.handler.d.ts +1 -1
- package/dist/src/features/organization/queries/handlers/get-users-organization.handler.d.ts +3 -1
- package/dist/src/features/organization/queries/handlers/get-users-organization.handler.js +1 -0
- package/dist/src/features/organization/queries/handlers/get-users-organization.handler.js.map +1 -1
- package/dist/src/features/organization/queries/impl/get-projects-by-organization-id.query.d.ts +1 -1
- package/dist/src/features/organization/queries/impl/get-users-organization.query.d.ts +2 -1
- package/dist/src/features/organization/queries/index.d.ts +2 -2
- package/dist/src/features/organization/queries/index.js +2 -2
- package/dist/src/features/organization/queries/index.js.map +1 -1
- package/dist/src/features/plugin/file/file.plugin.d.ts +3 -5
- package/dist/src/features/plugin/file/file.plugin.js +10 -10
- package/dist/src/features/plugin/file/file.plugin.js.map +1 -1
- package/dist/src/features/plugin/formula/formula-validation.service.d.ts +1 -1
- package/dist/src/features/plugin/formula/formula-validation.service.js +2 -2
- package/dist/src/features/plugin/formula/formula-validation.service.js.map +1 -1
- package/dist/src/features/plugin/index.d.ts +1 -1
- package/dist/src/features/plugin/plugin.module.js +5 -4
- package/dist/src/features/plugin/plugin.module.js.map +1 -1
- package/dist/src/features/plugin/plugin.service.d.ts +2 -2
- package/dist/src/features/plugin/plugin.service.js +2 -2
- package/dist/src/features/plugin/plugin.service.js.map +1 -1
- package/dist/src/features/project/commands/handlers/add-user-to-project.handler.d.ts +1 -1
- package/dist/src/features/project/commands/handlers/add-user-to-project.handler.js +2 -2
- package/dist/src/features/project/commands/handlers/add-user-to-project.handler.js.map +1 -1
- package/dist/src/features/project/commands/handlers/api-create-project.handler.d.ts +3 -1
- package/dist/src/features/project/commands/handlers/api-create-project.handler.js +8 -2
- package/dist/src/features/project/commands/handlers/api-create-project.handler.js.map +1 -1
- package/dist/src/features/project/commands/handlers/create-project.handler.d.ts +4 -2
- package/dist/src/features/project/commands/handlers/create-project.handler.js +18 -12
- package/dist/src/features/project/commands/handlers/create-project.handler.js.map +1 -1
- package/dist/src/features/project/commands/handlers/update-project.handler.d.ts +3 -1
- package/dist/src/features/project/commands/handlers/update-project.handler.js +8 -3
- package/dist/src/features/project/commands/handlers/update-project.handler.js.map +1 -1
- package/dist/src/features/project/project-api.service.d.ts +2 -1
- package/dist/src/features/project/project-api.service.js +3 -0
- package/dist/src/features/project/project-api.service.js.map +1 -1
- package/dist/src/features/project/queries/handlers/get-all-branches-by-project.handler.d.ts +1 -1
- package/dist/src/features/project/queries/handlers/get-projects-by-ids.handler.d.ts +15 -0
- package/dist/src/features/project/queries/handlers/get-projects-by-ids.handler.js +31 -0
- package/dist/src/features/project/queries/handlers/get-projects-by-ids.handler.js.map +1 -0
- package/dist/src/features/project/queries/handlers/get-users-project.handler.d.ts +2 -1
- package/dist/src/features/project/queries/handlers/index.d.ts +2 -1
- package/dist/src/features/project/queries/handlers/index.js +2 -0
- package/dist/src/features/project/queries/handlers/index.js.map +1 -1
- package/dist/src/features/project/queries/impl/get-all-branches-by-project.query.d.ts +1 -1
- package/dist/src/features/project/queries/impl/get-projects-by-ids.query.d.ts +11 -0
- package/dist/src/features/project/queries/impl/get-projects-by-ids.query.js +10 -0
- package/dist/src/features/project/queries/impl/get-projects-by-ids.query.js.map +1 -0
- package/dist/src/features/project/queries/impl/get-users-project.query.d.ts +1 -1
- package/dist/src/features/project/queries/impl/index.d.ts +1 -0
- package/dist/src/features/project/queries/impl/index.js +1 -0
- package/dist/src/features/project/queries/impl/index.js.map +1 -1
- package/dist/src/features/revision/commands/handlers/create-revision.handler.d.ts +14 -0
- package/dist/src/features/revision/commands/handlers/create-revision.handler.js +85 -0
- package/dist/src/features/revision/commands/handlers/create-revision.handler.js.map +1 -0
- package/dist/src/features/revision/commands/handlers/index.d.ts +3 -0
- package/dist/src/features/revision/commands/handlers/index.js +10 -0
- package/dist/src/features/revision/commands/handlers/index.js.map +1 -0
- package/dist/src/features/revision/commands/handlers/revert-changes.handler.d.ts +9 -0
- package/dist/src/features/revision/commands/handlers/revert-changes.handler.js +37 -0
- package/dist/src/features/revision/commands/handlers/revert-changes.handler.js.map +1 -0
- package/dist/src/features/revision/commands/impl/create-revision.command.d.ts +5 -0
- package/dist/src/features/revision/commands/impl/create-revision.command.js.map +1 -0
- package/dist/src/features/revision/commands/impl/revert-changes.command.d.ts +5 -0
- package/dist/src/features/revision/commands/impl/revert-changes.command.js.map +1 -0
- package/dist/src/features/revision/queries/commands/get-endpoints-by-revision-id.handler.d.ts +2 -2
- package/dist/src/features/revision/queries/commands/get-endpoints-by-revision-id.handler.js +2 -2
- package/dist/src/features/revision/queries/commands/get-endpoints-by-revision-id.handler.js.map +1 -1
- package/dist/src/features/revision/queries/impl/get-endpoints-by-revision-id.query.d.ts +1 -1
- package/dist/src/features/revision/revision.module.js +4 -4
- package/dist/src/features/revision/revision.module.js.map +1 -1
- package/dist/src/features/revision/revisions-api.service.d.ts +18 -30
- package/dist/src/features/revision/revisions-api.service.js +35 -21
- package/dist/src/features/revision/revisions-api.service.js.map +1 -1
- package/dist/src/features/revision-changes/revision-changes.module.js +1 -31
- package/dist/src/features/revision-changes/revision-changes.module.js.map +1 -1
- package/dist/src/features/role/queries/handlers/get-role-permissions.handler.d.ts +1 -1
- package/dist/src/features/role/role-api.service.d.ts +2 -1
- package/dist/src/features/role/role-api.service.js +4 -3
- package/dist/src/features/role/role-api.service.js.map +1 -1
- package/dist/src/features/row/commands/handlers/create-row.handler.d.ts +11 -0
- package/dist/src/features/row/commands/handlers/create-row.handler.js +42 -0
- package/dist/src/features/row/commands/handlers/create-row.handler.js.map +1 -0
- package/dist/src/features/row/commands/handlers/create-rows.handler.d.ts +11 -0
- package/dist/src/features/row/commands/handlers/create-rows.handler.js +41 -0
- package/dist/src/features/row/commands/handlers/create-rows.handler.js.map +1 -0
- package/dist/src/features/row/commands/handlers/index.d.ts +11 -0
- package/dist/src/features/row/commands/handlers/index.js +26 -0
- package/dist/src/features/row/commands/handlers/index.js.map +1 -0
- package/dist/src/features/row/commands/handlers/patch-row.handler.d.ts +11 -0
- package/dist/src/features/row/commands/handlers/patch-row.handler.js +41 -0
- package/dist/src/features/row/commands/handlers/patch-row.handler.js.map +1 -0
- package/dist/src/features/row/commands/handlers/patch-rows.handler.d.ts +11 -0
- package/dist/src/features/row/commands/handlers/patch-rows.handler.js +40 -0
- package/dist/src/features/row/commands/handlers/patch-rows.handler.js.map +1 -0
- package/dist/src/features/row/commands/handlers/remove-row.handler.d.ts +9 -0
- package/dist/src/features/row/commands/handlers/remove-row.handler.js +36 -0
- package/dist/src/features/row/commands/handlers/remove-row.handler.js.map +1 -0
- package/dist/src/features/row/commands/handlers/remove-rows.handler.d.ts +9 -0
- package/dist/src/features/row/commands/handlers/remove-rows.handler.js +36 -0
- package/dist/src/features/row/commands/handlers/remove-rows.handler.js.map +1 -0
- package/dist/src/features/row/commands/handlers/rename-row.handler.d.ts +11 -0
- package/dist/src/features/row/commands/handlers/rename-row.handler.js +41 -0
- package/dist/src/features/row/commands/handlers/rename-row.handler.js.map +1 -0
- package/dist/src/features/row/commands/handlers/update-row.handler.d.ts +11 -0
- package/dist/src/features/row/commands/handlers/update-row.handler.js +41 -0
- package/dist/src/features/row/commands/handlers/update-row.handler.js.map +1 -0
- package/dist/src/features/row/commands/handlers/update-rows.handler.d.ts +11 -0
- package/dist/src/features/row/commands/handlers/update-rows.handler.js +40 -0
- package/dist/src/features/row/commands/handlers/update-rows.handler.js.map +1 -0
- package/dist/src/features/row/commands/handlers/upload-file.handler.d.ts +11 -0
- package/dist/src/features/row/commands/handlers/upload-file.handler.js +41 -0
- package/dist/src/features/row/commands/handlers/upload-file.handler.js.map +1 -0
- package/dist/src/features/row/commands/impl/create-row.command.d.ts +5 -0
- package/dist/src/features/row/commands/impl/create-row.command.js +10 -0
- package/dist/src/features/row/commands/impl/create-row.command.js.map +1 -0
- package/dist/src/features/row/commands/impl/create-rows.command.d.ts +5 -0
- package/dist/src/features/row/commands/impl/create-rows.command.js.map +1 -0
- package/dist/src/features/row/commands/impl/patch-row.command.d.ts +5 -0
- package/dist/src/features/row/commands/impl/patch-row.command.js +10 -0
- package/dist/src/features/row/commands/impl/patch-row.command.js.map +1 -0
- package/dist/src/features/row/commands/impl/patch-rows.command.d.ts +5 -0
- package/dist/src/features/row/commands/impl/patch-rows.command.js.map +1 -0
- package/dist/src/features/row/commands/impl/remove-row.command.d.ts +5 -0
- package/dist/src/features/row/commands/impl/remove-row.command.js +10 -0
- package/dist/src/features/row/commands/impl/remove-row.command.js.map +1 -0
- package/dist/src/features/row/commands/impl/remove-rows.command.d.ts +5 -0
- package/dist/src/features/row/commands/impl/remove-rows.command.js.map +1 -0
- package/dist/src/features/row/commands/impl/rename-row.command.d.ts +5 -0
- package/dist/src/features/row/commands/impl/rename-row.command.js.map +1 -0
- package/dist/src/features/row/commands/impl/update-row.command.d.ts +5 -0
- package/dist/src/features/row/commands/impl/update-row.command.js +10 -0
- package/dist/src/features/row/commands/impl/update-row.command.js.map +1 -0
- package/dist/src/features/row/commands/impl/update-rows.command.d.ts +5 -0
- package/dist/src/features/row/commands/impl/update-rows.command.js.map +1 -0
- package/dist/src/features/row/commands/impl/upload-file.command.d.ts +5 -0
- package/dist/src/features/row/commands/impl/upload-file.command.js +10 -0
- package/dist/src/features/row/commands/impl/upload-file.command.js.map +1 -0
- package/dist/src/features/row/row-api.service.d.ts +25 -12
- package/dist/src/features/row/row-api.service.js +67 -18
- package/dist/src/features/row/row-api.service.js.map +1 -1
- package/dist/src/features/row/row.module.js +13 -8
- package/dist/src/features/row/row.module.js.map +1 -1
- package/dist/src/features/row/utils/extract-matches-fallback.d.ts +1 -1
- package/dist/src/features/row/utils/get-rows-sql.js +10 -1
- package/dist/src/features/row/utils/get-rows-sql.js.map +1 -1
- package/dist/src/features/share/commands/utils/getOffsetPagination.d.ts +1 -1
- package/dist/src/features/share/foreign-keys.service.d.ts +4 -4
- package/dist/src/features/share/json-schema-validator.service.js +9 -13
- package/dist/src/features/share/json-schema-validator.service.js.map +1 -1
- package/dist/src/features/share/schema/plugins/index.d.ts +1 -9
- package/dist/src/features/share/schema/plugins/index.js +20 -23
- package/dist/src/features/share/schema/plugins/index.js.map +1 -1
- package/dist/src/features/share/share.module.js +3 -3
- package/dist/src/features/share/share.module.js.map +1 -1
- package/dist/src/features/share/system-tables.consts.js +4 -6
- package/dist/src/features/share/system-tables.consts.js.map +1 -1
- package/dist/src/features/share/system-tables.service.d.ts +1 -1
- package/dist/src/features/share/system-tables.service.js +2 -2
- package/dist/src/features/share/system-tables.service.js.map +1 -1
- package/dist/src/features/share/utils/validateUrlLikeId/validateUsername.d.ts +1 -1
- package/dist/src/features/share/utils/validateUrlLikeId/validateUsername.js +6 -7
- package/dist/src/features/share/utils/validateUrlLikeId/validateUsername.js.map +1 -1
- package/dist/src/features/sub-schema/sub-schema.module.js +0 -4
- package/dist/src/features/sub-schema/sub-schema.module.js.map +1 -1
- package/dist/src/features/sub-schema/utils/unquote-field-path.d.ts +1 -0
- package/dist/src/features/sub-schema/utils/unquote-field-path.js +7 -0
- package/dist/src/features/sub-schema/utils/unquote-field-path.js.map +1 -0
- package/dist/src/features/table/commands/handlers/create-table.handler.d.ts +13 -0
- package/dist/src/features/table/commands/handlers/create-table.handler.js +45 -0
- package/dist/src/features/table/commands/handlers/create-table.handler.js.map +1 -0
- package/dist/src/features/table/commands/handlers/index.d.ts +5 -0
- package/dist/src/features/table/commands/handlers/index.js +14 -0
- package/dist/src/features/table/commands/handlers/index.js.map +1 -0
- package/dist/src/features/table/commands/handlers/remove-table.handler.d.ts +11 -0
- package/dist/src/features/table/commands/handlers/remove-table.handler.js +40 -0
- package/dist/src/features/table/commands/handlers/remove-table.handler.js.map +1 -0
- package/dist/src/features/table/commands/handlers/rename-table.handler.d.ts +11 -0
- package/dist/src/features/table/commands/handlers/rename-table.handler.js +40 -0
- package/dist/src/features/table/commands/handlers/rename-table.handler.js.map +1 -0
- package/dist/src/features/table/commands/handlers/update-table.handler.d.ts +11 -0
- package/dist/src/features/table/commands/handlers/update-table.handler.js +40 -0
- package/dist/src/features/table/commands/handlers/update-table.handler.js.map +1 -0
- package/dist/src/features/table/commands/impl/create-table.command.d.ts +5 -0
- package/dist/src/features/table/commands/impl/create-table.command.js.map +1 -0
- package/dist/src/features/table/commands/impl/remove-table.command.d.ts +5 -0
- package/dist/src/features/table/commands/impl/remove-table.command.js.map +1 -0
- package/dist/src/features/table/commands/impl/rename-table.command.d.ts +5 -0
- package/dist/src/features/table/commands/impl/rename-table.command.js.map +1 -0
- package/dist/src/features/table/commands/impl/update-table.command.d.ts +5 -0
- package/dist/src/features/table/commands/impl/update-table.command.js.map +1 -0
- package/dist/src/features/table/table-api.service.d.ts +23 -20
- package/dist/src/features/table/table-api.service.js +56 -20
- package/dist/src/features/table/table-api.service.js.map +1 -1
- package/dist/src/features/table/table.module.js +4 -3
- package/dist/src/features/table/table.module.js.map +1 -1
- package/dist/src/features/user/commands/handlers/set-username.handler.d.ts +1 -1
- package/dist/src/features/user/commands/handlers/set-username.handler.js +2 -2
- package/dist/src/features/user/commands/handlers/set-username.handler.js.map +1 -1
- package/dist/src/features/user/commands/index.d.ts +4 -2
- package/dist/src/features/user/commands/index.js +6 -4
- package/dist/src/features/user/commands/index.js.map +1 -1
- package/dist/src/features/user/queries/handlers/get-projects-by-user-id.handler.d.ts +1 -1
- package/dist/src/features/user/queries/handlers/search-users.handler.d.ts +1 -1
- package/dist/src/features/user/queries/impl/get-projects-by-user-id.query.d.ts +1 -1
- package/dist/src/features/user/queries/impl/search-users.query.d.ts +1 -1
- package/dist/src/features/user/queries/index.d.ts +7 -2
- package/dist/src/features/user/queries/index.js +12 -7
- package/dist/src/features/user/queries/index.js.map +1 -1
- package/dist/src/features/views/services/view-validation.service.d.ts +1 -1
- package/dist/src/features/views/services/view-validation.service.js +5 -3
- package/dist/src/features/views/services/view-validation.service.js.map +1 -1
- package/dist/src/features/views/views.module.js +4 -13
- package/dist/src/features/views/views.module.js.map +1 -1
- package/dist/src/infrastructure/cache/constants/auth-cache.constants.d.ts +4 -0
- package/dist/src/infrastructure/cache/constants/auth-cache.constants.js +4 -0
- package/dist/src/infrastructure/cache/constants/auth-cache.constants.js.map +1 -1
- package/dist/src/infrastructure/cache/handlers/row/row-renamed.handler.js +5 -0
- package/dist/src/infrastructure/cache/handlers/row/row-renamed.handler.js.map +1 -1
- package/dist/src/infrastructure/cache/handlers/table/table-renamed.handler.js +4 -0
- package/dist/src/infrastructure/cache/handlers/table/table-renamed.handler.js.map +1 -1
- package/dist/src/infrastructure/cache/revisium-cache.module.d.ts +2 -0
- package/dist/src/infrastructure/cache/revisium-cache.module.js +127 -76
- package/dist/src/infrastructure/cache/revisium-cache.module.js.map +1 -1
- package/dist/src/infrastructure/cache/services/auth-cache.service.d.ts +4 -0
- package/dist/src/infrastructure/cache/services/auth-cache.service.js +29 -0
- package/dist/src/infrastructure/cache/services/auth-cache.service.js.map +1 -1
- package/dist/src/infrastructure/cache/services/cache-management.service.d.ts +28 -0
- package/dist/src/infrastructure/cache/services/cache-management.service.js +92 -0
- package/dist/src/infrastructure/cache/services/cache-management.service.js.map +1 -0
- package/dist/src/infrastructure/cache/services/cache.service.d.ts +1 -0
- package/dist/src/infrastructure/cache/services/cache.service.js +3 -0
- package/dist/src/infrastructure/cache/services/cache.service.js.map +1 -1
- package/dist/src/infrastructure/cache/services/noop-cache.service.d.ts +1 -0
- package/dist/src/infrastructure/cache/services/noop-cache.service.js +3 -0
- package/dist/src/infrastructure/cache/services/noop-cache.service.js.map +1 -1
- package/dist/src/infrastructure/clean/clean.module.js +8 -2
- package/dist/src/infrastructure/clean/clean.module.js.map +1 -1
- package/dist/src/infrastructure/clean/file-storage-reconcile.service.d.ts +11 -0
- package/dist/src/infrastructure/clean/file-storage-reconcile.service.js +95 -0
- package/dist/src/infrastructure/clean/file-storage-reconcile.service.js.map +1 -0
- package/dist/src/infrastructure/configuration/configuration-api.service.d.ts +1 -1
- package/dist/src/infrastructure/configuration/configuration-api.service.js +2 -2
- package/dist/src/infrastructure/configuration/configuration-api.service.js.map +1 -1
- package/dist/src/infrastructure/configuration/queries/handlers/get-configuration.handler.d.ts +4 -2
- package/dist/src/infrastructure/configuration/queries/handlers/get-configuration.handler.js +12 -4
- package/dist/src/infrastructure/configuration/queries/handlers/get-configuration.handler.js.map +1 -1
- package/dist/src/infrastructure/configuration/queries/impl/get-configuration.query.d.ts +3 -0
- package/dist/src/infrastructure/configuration/queries/index.d.ts +1 -1
- package/dist/src/infrastructure/configuration/queries/index.js +2 -2
- package/dist/src/infrastructure/configuration/queries/index.js.map +1 -1
- package/dist/src/infrastructure/database/database.module.js +5 -9
- package/dist/src/infrastructure/database/database.module.js.map +1 -1
- package/dist/src/infrastructure/database/transaction-prisma.service.d.ts +2 -1
- package/dist/src/infrastructure/database/transaction-prisma.service.js +8 -0
- package/dist/src/infrastructure/database/transaction-prisma.service.js.map +1 -1
- package/dist/src/infrastructure/metrics-api/metrics.controller.js +3 -1
- package/dist/src/infrastructure/metrics-api/metrics.controller.js.map +1 -1
- package/dist/src/infrastructure/storage/local-storage.service.d.ts +24 -0
- package/dist/src/infrastructure/storage/local-storage.service.js +118 -0
- package/dist/src/infrastructure/storage/local-storage.service.js.map +1 -0
- package/dist/src/infrastructure/storage/null-storage.service.d.ts +10 -0
- package/dist/src/infrastructure/storage/null-storage.service.js +32 -0
- package/dist/src/infrastructure/storage/null-storage.service.js.map +1 -0
- package/dist/src/infrastructure/storage/s3-storage.service.d.ts +19 -0
- package/dist/src/infrastructure/storage/s3-storage.service.js +108 -0
- package/dist/src/infrastructure/storage/s3-storage.service.js.map +1 -0
- package/dist/src/infrastructure/storage/storage.controller.d.ts +7 -0
- package/dist/src/infrastructure/storage/storage.controller.js +57 -0
- package/dist/src/infrastructure/storage/storage.controller.js.map +1 -0
- package/dist/src/infrastructure/storage/storage.interface.d.ts +10 -0
- package/dist/src/infrastructure/storage/storage.interface.js +5 -0
- package/dist/src/infrastructure/storage/storage.interface.js.map +1 -0
- package/dist/src/infrastructure/storage/storage.module.d.ts +2 -0
- package/dist/src/infrastructure/storage/storage.module.js +49 -0
- package/dist/src/infrastructure/storage/storage.module.js.map +1 -0
- package/dist/src/main.js +40 -1
- package/dist/src/main.js.map +1 -1
- package/dist/src/testing/assertions/find-constraint.js +19 -0
- package/dist/src/testing/assertions/find-constraint.js.map +1 -0
- package/dist/src/testing/e2e/graphql-helpers.d.ts +30 -0
- package/dist/src/testing/e2e/graphql-helpers.js +65 -0
- package/dist/src/testing/e2e/graphql-helpers.js.map +1 -0
- package/dist/src/testing/e2e/helpers.js +64 -0
- package/dist/src/testing/e2e/helpers.js.map +1 -0
- package/dist/src/testing/e2e/index.js.map +1 -0
- package/dist/src/testing/e2e/readonly-fixture.d.ts +5 -0
- package/dist/src/testing/e2e/readonly-fixture.js +31 -0
- package/dist/src/testing/e2e/readonly-fixture.js.map +1 -0
- package/dist/src/testing/e2e/shared-app/global-setup.d.ts +1 -0
- package/dist/src/testing/e2e/shared-app/global-setup.js +83 -0
- package/dist/src/testing/e2e/shared-app/global-setup.js.map +1 -0
- package/dist/src/testing/e2e/shared-app/global-teardown.d.ts +1 -0
- package/dist/src/testing/e2e/shared-app/global-teardown.js +17 -0
- package/dist/src/testing/e2e/shared-app/global-teardown.js.map +1 -0
- package/dist/src/testing/e2e/shared-app/shared-app-client.d.ts +2 -0
- package/dist/src/testing/e2e/shared-app/shared-app-client.js +93 -0
- package/dist/src/testing/e2e/shared-app/shared-app-client.js.map +1 -0
- package/dist/src/testing/e2e/shared-app/shared-app-info.d.ts +9 -0
- package/dist/src/testing/e2e/shared-app/shared-app-info.js +106 -0
- package/dist/src/testing/e2e/shared-app/shared-app-info.js.map +1 -0
- package/dist/src/testing/e2e/test-app.d.ts +7 -0
- package/dist/src/testing/e2e/test-app.js +116 -0
- package/dist/src/testing/e2e/test-app.js.map +1 -0
- package/dist/src/testing/factories/create-models.d.ts +34 -0
- package/dist/src/testing/factories/create-models.js +56 -0
- package/dist/src/testing/factories/create-models.js.map +1 -0
- package/dist/src/testing/factories/make-file-data.d.ts +13 -0
- package/dist/src/testing/factories/make-file-data.js +18 -0
- package/dist/src/testing/factories/make-file-data.js.map +1 -0
- package/dist/src/testing/infrastructure/cache/in-memory-bento-cache.d.ts +15 -0
- package/dist/src/testing/infrastructure/cache/in-memory-bento-cache.js +42 -0
- package/dist/src/testing/infrastructure/cache/in-memory-bento-cache.js.map +1 -0
- package/dist/src/testing/kit/auth-permission/actors.d.ts +30 -0
- package/dist/src/testing/kit/auth-permission/actors.js +74 -0
- package/dist/src/testing/kit/auth-permission/actors.js.map +1 -0
- package/dist/src/testing/kit/auth-permission/assertions.d.ts +4 -0
- package/dist/src/testing/kit/auth-permission/assertions.js +15 -0
- package/dist/src/testing/kit/auth-permission/assertions.js.map +1 -0
- package/dist/src/testing/kit/auth-permission/expect-access.d.ts +12 -0
- package/dist/src/testing/kit/auth-permission/expect-access.js +82 -0
- package/dist/src/testing/kit/auth-permission/expect-access.js.map +1 -0
- package/dist/src/testing/kit/auth-permission/index.d.ts +7 -0
- package/dist/src/testing/kit/auth-permission/index.js +20 -0
- package/dist/src/testing/kit/auth-permission/index.js.map +1 -0
- package/dist/src/testing/kit/auth-permission/matrices.d.ts +10 -0
- package/dist/src/testing/kit/auth-permission/matrices.js +57 -0
- package/dist/src/testing/kit/auth-permission/matrices.js.map +1 -0
- package/dist/src/testing/kit/auth-permission/operation.d.ts +6 -0
- package/dist/src/testing/kit/auth-permission/operation.js +20 -0
- package/dist/src/testing/kit/auth-permission/operation.js.map +1 -0
- package/dist/src/testing/kit/auth-permission/run-auth-matrix.d.ts +13 -0
- package/dist/src/testing/kit/auth-permission/run-auth-matrix.js +24 -0
- package/dist/src/testing/kit/auth-permission/run-auth-matrix.js.map +1 -0
- package/dist/src/testing/kit/auth-permission/types.d.ts +29 -0
- package/dist/src/testing/kit/auth-permission/types.js +3 -0
- package/dist/src/testing/kit/auth-permission/types.js.map +1 -0
- package/dist/src/testing/kit/create-api-key-command-test-kit.d.ts +16 -0
- package/dist/src/testing/kit/create-api-key-command-test-kit.js +41 -0
- package/dist/src/testing/kit/create-api-key-command-test-kit.js.map +1 -0
- package/dist/src/testing/kit/create-project-command-test-kit.d.ts +17 -0
- package/dist/src/testing/kit/create-project-command-test-kit.js +33 -0
- package/dist/src/testing/kit/create-project-command-test-kit.js.map +1 -0
- package/dist/src/testing/kit/create-user-query-test-kit.d.ts +10 -0
- package/dist/src/testing/kit/create-user-query-test-kit.js +32 -0
- package/dist/src/testing/kit/create-user-query-test-kit.js.map +1 -0
- package/dist/src/testing/scenarios/given-organization-with-owner.d.ts +6 -0
- package/dist/src/testing/scenarios/given-organization-with-owner.js +19 -0
- package/dist/src/testing/scenarios/given-organization-with-owner.js.map +1 -0
- package/dist/src/testing/scenarios/given-project-pair.d.ts +7 -0
- package/dist/src/testing/scenarios/given-project-pair.js +17 -0
- package/dist/src/testing/scenarios/given-project-pair.js.map +1 -0
- package/dist/src/testing/scenarios/given-project-with-owner.d.ts +7 -0
- package/dist/src/testing/scenarios/given-project-with-owner.js +25 -0
- package/dist/src/testing/scenarios/given-project-with-owner.js.map +1 -0
- package/dist/src/testing/scenarios/given-standalone-user.d.ts +5 -0
- package/dist/src/testing/scenarios/given-standalone-user.js +13 -0
- package/dist/src/testing/scenarios/given-standalone-user.js.map +1 -0
- package/dist/src/testing/scenarios/using-fresh-project.d.ts +5 -0
- package/dist/src/testing/scenarios/using-fresh-project.js +22 -0
- package/dist/src/testing/scenarios/using-fresh-project.js.map +1 -0
- package/dist/src/testing/scenarios/using-project-with-roles.d.ts +5 -0
- package/dist/src/testing/scenarios/using-project-with-roles.js +21 -0
- package/dist/src/testing/scenarios/using-project-with-roles.js.map +1 -0
- package/dist/src/testing/scenarios/using-shared-project.d.ts +5 -0
- package/dist/src/testing/scenarios/using-shared-project.js +21 -0
- package/dist/src/testing/scenarios/using-shared-project.js.map +1 -0
- package/dist/src/testing/utils/file.js.map +1 -0
- package/dist/src/testing/utils/gql.js.map +1 -0
- package/dist/src/testing/utils/prepareProject.d.ts +774 -0
- package/dist/src/testing/utils/prepareProject.js +534 -0
- package/dist/src/testing/utils/prepareProject.js.map +1 -0
- package/dist/src/testing/utils/queryTest.js.map +1 -0
- package/dist/src/testing/utils/test-schemas.d.ts +3 -0
- package/dist/src/testing/utils/test-schemas.js +22 -0
- package/dist/src/testing/utils/test-schemas.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +35 -17
- package/dist/src/__tests__/create-models.d.ts +0 -21
- package/dist/src/__tests__/create-models.js +0 -24
- package/dist/src/__tests__/create-models.js.map +0 -1
- package/dist/src/__tests__/e2e/shared/graphql-helpers.d.ts +0 -29
- package/dist/src/__tests__/e2e/shared/graphql-helpers.js +0 -61
- package/dist/src/__tests__/e2e/shared/graphql-helpers.js.map +0 -1
- package/dist/src/__tests__/e2e/shared/helpers.js +0 -64
- package/dist/src/__tests__/e2e/shared/helpers.js.map +0 -1
- package/dist/src/__tests__/e2e/shared/index.js.map +0 -1
- package/dist/src/__tests__/e2e/shared/readonly-fixture.d.ts +0 -5
- package/dist/src/__tests__/e2e/shared/readonly-fixture.js +0 -28
- package/dist/src/__tests__/e2e/shared/readonly-fixture.js.map +0 -1
- package/dist/src/__tests__/e2e/shared/test-app.d.ts +0 -6
- package/dist/src/__tests__/e2e/shared/test-app.js +0 -55
- package/dist/src/__tests__/e2e/shared/test-app.js.map +0 -1
- package/dist/src/__tests__/utils/file.js.map +0 -1
- package/dist/src/__tests__/utils/gql.js.map +0 -1
- package/dist/src/__tests__/utils/implementIdService.d.ts +0 -3
- package/dist/src/__tests__/utils/implementIdService.js +0 -9
- package/dist/src/__tests__/utils/implementIdService.js.map +0 -1
- package/dist/src/__tests__/utils/prepareProject.d.ts +0 -719
- package/dist/src/__tests__/utils/prepareProject.js +0 -505
- package/dist/src/__tests__/utils/prepareProject.js.map +0 -1
- package/dist/src/__tests__/utils/queryTest.js.map +0 -1
- package/dist/src/__tests__/utils/rowMocks.d.ts +0 -5
- package/dist/src/__tests__/utils/rowMocks.js +0 -12
- package/dist/src/__tests__/utils/rowMocks.js.map +0 -1
- package/dist/src/api/graphql-api/auth/inputs/index.d.ts +0 -6
- package/dist/src/api/graphql-api/auth/inputs/index.js +0 -23
- package/dist/src/api/graphql-api/auth/inputs/index.js.map +0 -1
- package/dist/src/api/graphql-api/auth/model/index.d.ts +0 -1
- package/dist/src/api/graphql-api/auth/model/index.js +0 -18
- package/dist/src/api/graphql-api/auth/model/index.js.map +0 -1
- package/dist/src/api/graphql-api/branch/inputs/index.d.ts +0 -5
- package/dist/src/api/graphql-api/branch/inputs/index.js +0 -22
- package/dist/src/api/graphql-api/branch/inputs/index.js.map +0 -1
- package/dist/src/api/graphql-api/configuration/model/index.d.ts +0 -1
- package/dist/src/api/graphql-api/configuration/model/index.js +0 -18
- package/dist/src/api/graphql-api/configuration/model/index.js.map +0 -1
- package/dist/src/api/graphql-api/draft/input/index.d.ts +0 -12
- package/dist/src/api/graphql-api/draft/input/index.js +0 -29
- package/dist/src/api/graphql-api/draft/input/index.js.map +0 -1
- package/dist/src/api/graphql-api/endpoint/inputs/index.d.ts +0 -4
- package/dist/src/api/graphql-api/endpoint/inputs/index.js +0 -21
- package/dist/src/api/graphql-api/endpoint/inputs/index.js.map +0 -1
- package/dist/src/api/graphql-api/organization/inputs/index.d.ts +0 -3
- package/dist/src/api/graphql-api/organization/inputs/index.js +0 -20
- package/dist/src/api/graphql-api/organization/inputs/index.js.map +0 -1
- package/dist/src/api/graphql-api/revision-changes/input/index.d.ts +0 -5
- package/dist/src/api/graphql-api/revision-changes/input/index.js +0 -22
- package/dist/src/api/graphql-api/revision-changes/input/index.js.map +0 -1
- package/dist/src/api/graphql-api/row/model/row-foreign-keys-connection.model.d.ts +0 -5
- package/dist/src/api/graphql-api/row/model/row-foreign-keys-connection.model.js +0 -19
- package/dist/src/api/graphql-api/row/model/row-foreign-keys-connection.model.js.map +0 -1
- package/dist/src/api/graphql-api/user/inputs/index.d.ts +0 -6
- package/dist/src/api/graphql-api/user/inputs/index.js +0 -23
- package/dist/src/api/graphql-api/user/inputs/index.js.map +0 -1
- package/dist/src/api/graphql-api/views/input/index.d.ts +0 -2
- package/dist/src/api/graphql-api/views/input/index.js +0 -19
- package/dist/src/api/graphql-api/views/input/index.js.map +0 -1
- package/dist/src/api/graphql-api/views/model/index.d.ts +0 -4
- package/dist/src/api/graphql-api/views/model/index.js +0 -21
- package/dist/src/api/graphql-api/views/model/index.js.map +0 -1
- package/dist/src/api/mcp-api/resources/index.d.ts +0 -4
- package/dist/src/api/mcp-api/resources/index.js +0 -12
- package/dist/src/api/mcp-api/resources/index.js.map +0 -1
- package/dist/src/api/mcp-api/tools/index.d.ts +0 -11
- package/dist/src/api/mcp-api/tools/index.js +0 -26
- package/dist/src/api/mcp-api/tools/index.js.map +0 -1
- package/dist/src/api/rest-api/auth/dto/index.d.ts +0 -2
- package/dist/src/api/rest-api/auth/dto/index.js +0 -19
- package/dist/src/api/rest-api/auth/dto/index.js.map +0 -1
- package/dist/src/api/rest-api/auth/model/index.d.ts +0 -1
- package/dist/src/api/rest-api/auth/model/index.js +0 -18
- package/dist/src/api/rest-api/auth/model/index.js.map +0 -1
- package/dist/src/api/rest-api/branch/dto/index.d.ts +0 -4
- package/dist/src/api/rest-api/branch/dto/index.js +0 -21
- package/dist/src/api/rest-api/branch/dto/index.js.map +0 -1
- package/dist/src/api/rest-api/configuration/model/index.d.ts +0 -1
- package/dist/src/api/rest-api/configuration/model/index.js +0 -18
- package/dist/src/api/rest-api/configuration/model/index.js.map +0 -1
- package/dist/src/api/rest-api/endpoint/dto/index.d.ts +0 -1
- package/dist/src/api/rest-api/endpoint/dto/index.js +0 -18
- package/dist/src/api/rest-api/endpoint/dto/index.js.map +0 -1
- package/dist/src/api/rest-api/organization/dto/index.d.ts +0 -5
- package/dist/src/api/rest-api/organization/dto/index.js +0 -22
- package/dist/src/api/rest-api/organization/dto/index.js.map +0 -1
- package/dist/src/api/rest-api/organization/model/index.d.ts +0 -3
- package/dist/src/api/rest-api/organization/model/index.js +0 -20
- package/dist/src/api/rest-api/organization/model/index.js.map +0 -1
- package/dist/src/api/rest-api/revision/dto/index.d.ts +0 -6
- package/dist/src/api/rest-api/revision/dto/index.js +0 -23
- package/dist/src/api/rest-api/revision/dto/index.js.map +0 -1
- package/dist/src/api/rest-api/role/model/index.d.ts +0 -1
- package/dist/src/api/rest-api/role/model/index.js +0 -18
- package/dist/src/api/rest-api/role/model/index.js.map +0 -1
- package/dist/src/api/rest-api/row/dto/index.d.ts +0 -4
- package/dist/src/api/rest-api/row/dto/index.js +0 -21
- package/dist/src/api/rest-api/row/dto/index.js.map +0 -1
- package/dist/src/api/rest-api/table/dto/__tests__/utils.js +0 -19
- package/dist/src/api/rest-api/table/dto/__tests__/utils.js.map +0 -1
- package/dist/src/api/rest-api/table/dto/index.d.ts +0 -10
- package/dist/src/api/rest-api/table/dto/index.js +0 -27
- package/dist/src/api/rest-api/table/dto/index.js.map +0 -1
- package/dist/src/api/rest-api/table/model/index.d.ts +0 -5
- package/dist/src/api/rest-api/table/model/index.js +0 -22
- package/dist/src/api/rest-api/table/model/index.js.map +0 -1
- package/dist/src/features/auth/commands/handlers/index.d.ts +0 -9
- package/dist/src/features/auth/commands/handlers/index.js +0 -26
- package/dist/src/features/auth/commands/handlers/index.js.map +0 -1
- package/dist/src/features/auth/guards/jwt/local-auth.guard.d.ts +0 -4
- package/dist/src/features/auth/guards/jwt/local-auth.guard.js +0 -18
- package/dist/src/features/auth/guards/jwt/local-auth.guard.js.map +0 -1
- package/dist/src/features/branch/commands/handlers/__tests__/utils.d.ts +0 -31
- package/dist/src/features/branch/commands/handlers/__tests__/utils.js +0 -251
- package/dist/src/features/branch/commands/handlers/__tests__/utils.js.map +0 -1
- package/dist/src/features/branch/commands/handlers/api-create-branch-by-revision-id.handler.d.ts +0 -8
- package/dist/src/features/branch/commands/handlers/api-create-branch-by-revision-id.handler.js +0 -32
- package/dist/src/features/branch/commands/handlers/api-create-branch-by-revision-id.handler.js.map +0 -1
- package/dist/src/features/branch/commands/handlers/create-branch-by-revision-id.handler.d.ts +0 -35
- package/dist/src/features/branch/commands/handlers/create-branch-by-revision-id.handler.js +0 -142
- package/dist/src/features/branch/commands/handlers/create-branch-by-revision-id.handler.js.map +0 -1
- package/dist/src/features/branch/commands/handlers/delete-branch.handler.d.ts +0 -18
- package/dist/src/features/branch/commands/handlers/delete-branch.handler.js +0 -97
- package/dist/src/features/branch/commands/handlers/delete-branch.handler.js.map +0 -1
- package/dist/src/features/branch/commands/impl/api-create-branch-by-revision-id.command.d.ts +0 -11
- package/dist/src/features/branch/commands/impl/api-create-branch-by-revision-id.command.js +0 -10
- package/dist/src/features/branch/commands/impl/api-create-branch-by-revision-id.command.js.map +0 -1
- package/dist/src/features/branch/commands/impl/create-branch-by-revision-id.command.d.ts +0 -10
- package/dist/src/features/branch/commands/impl/create-branch-by-revision-id.command.js +0 -10
- package/dist/src/features/branch/commands/impl/create-branch-by-revision-id.command.js.map +0 -1
- package/dist/src/features/branch/commands/impl/delete-branch.command.d.ts +0 -14
- package/dist/src/features/branch/commands/impl/delete-branch.command.js +0 -10
- package/dist/src/features/branch/commands/impl/delete-branch.command.js.map +0 -1
- package/dist/src/features/branch/commands/impl/index.d.ts +0 -3
- package/dist/src/features/branch/commands/impl/index.js +0 -20
- package/dist/src/features/branch/commands/impl/index.js.map +0 -1
- package/dist/src/features/branch/quieries/handlers/get-branch-by-id.handler.d.ts +0 -18
- package/dist/src/features/branch/quieries/handlers/get-branch-by-id.handler.js +0 -32
- package/dist/src/features/branch/quieries/handlers/get-branch-by-id.handler.js.map +0 -1
- package/dist/src/features/branch/quieries/handlers/get-branch.handler.d.ts +0 -14
- package/dist/src/features/branch/quieries/handlers/get-branch.handler.js +0 -46
- package/dist/src/features/branch/quieries/handlers/get-branch.handler.js.map +0 -1
- package/dist/src/features/branch/quieries/handlers/get-branches.handler.d.ts +0 -14
- package/dist/src/features/branch/quieries/handlers/get-branches.handler.js +0 -59
- package/dist/src/features/branch/quieries/handlers/get-branches.handler.js.map +0 -1
- package/dist/src/features/branch/quieries/handlers/get-draft-revision.handler.d.ts +0 -10
- package/dist/src/features/branch/quieries/handlers/get-draft-revision.handler.js +0 -34
- package/dist/src/features/branch/quieries/handlers/get-draft-revision.handler.js.map +0 -1
- package/dist/src/features/branch/quieries/handlers/get-head-revision.handler.d.ts +0 -10
- package/dist/src/features/branch/quieries/handlers/get-head-revision.handler.js +0 -34
- package/dist/src/features/branch/quieries/handlers/get-head-revision.handler.js.map +0 -1
- package/dist/src/features/branch/quieries/handlers/get-project-by-branch.handler.d.ts +0 -18
- package/dist/src/features/branch/quieries/handlers/get-project-by-branch.handler.js +0 -34
- package/dist/src/features/branch/quieries/handlers/get-project-by-branch.handler.js.map +0 -1
- package/dist/src/features/branch/quieries/handlers/get-revisions-by-branch-id.handler.d.ts +0 -23
- package/dist/src/features/branch/quieries/handlers/get-revisions-by-branch-id.handler.js +0 -74
- package/dist/src/features/branch/quieries/handlers/get-revisions-by-branch-id.handler.js.map +0 -1
- package/dist/src/features/branch/quieries/handlers/get-start-revision.handler.d.ts +0 -10
- package/dist/src/features/branch/quieries/handlers/get-start-revision.handler.js +0 -34
- package/dist/src/features/branch/quieries/handlers/get-start-revision.handler.js.map +0 -1
- package/dist/src/features/branch/quieries/handlers/get-touched-by-branch-id.handler.d.ts +0 -13
- package/dist/src/features/branch/quieries/handlers/get-touched-by-branch-id.handler.js +0 -51
- package/dist/src/features/branch/quieries/handlers/get-touched-by-branch-id.handler.js.map +0 -1
- package/dist/src/features/branch/quieries/handlers/index.d.ts +0 -11
- package/dist/src/features/branch/quieries/handlers/index.js +0 -26
- package/dist/src/features/branch/quieries/handlers/index.js.map +0 -1
- package/dist/src/features/branch/quieries/handlers/resolve-parent-branch-by-branch.handler.d.ts +0 -17
- package/dist/src/features/branch/quieries/handlers/resolve-parent-branch-by-branch.handler.js +0 -56
- package/dist/src/features/branch/quieries/handlers/resolve-parent-branch-by-branch.handler.js.map +0 -1
- package/dist/src/features/branch/quieries/impl/get-branch-by-id.query.d.ts +0 -7
- package/dist/src/features/branch/quieries/impl/get-branch-by-id.query.js +0 -10
- package/dist/src/features/branch/quieries/impl/get-branch-by-id.query.js.map +0 -1
- package/dist/src/features/branch/quieries/impl/get-branch.query.d.ts +0 -13
- package/dist/src/features/branch/quieries/impl/get-branch.query.js +0 -10
- package/dist/src/features/branch/quieries/impl/get-branch.query.js.map +0 -1
- package/dist/src/features/branch/quieries/impl/get-branches.query.d.ts +0 -18
- package/dist/src/features/branch/quieries/impl/get-branches.query.js +0 -10
- package/dist/src/features/branch/quieries/impl/get-branches.query.js.map +0 -1
- package/dist/src/features/branch/quieries/impl/get-draft-revision.query.d.ts +0 -4
- package/dist/src/features/branch/quieries/impl/get-draft-revision.query.js +0 -10
- package/dist/src/features/branch/quieries/impl/get-draft-revision.query.js.map +0 -1
- package/dist/src/features/branch/quieries/impl/get-head-revision.query.d.ts +0 -4
- package/dist/src/features/branch/quieries/impl/get-head-revision.query.js +0 -10
- package/dist/src/features/branch/quieries/impl/get-head-revision.query.js.map +0 -1
- package/dist/src/features/branch/quieries/impl/get-project-by-branch.query.d.ts +0 -4
- package/dist/src/features/branch/quieries/impl/get-project-by-branch.query.js +0 -10
- package/dist/src/features/branch/quieries/impl/get-project-by-branch.query.js.map +0 -1
- package/dist/src/features/branch/quieries/impl/get-revisions-by-branch-id.query.d.ts +0 -24
- package/dist/src/features/branch/quieries/impl/get-revisions-by-branch-id.query.js +0 -10
- package/dist/src/features/branch/quieries/impl/get-revisions-by-branch-id.query.js.map +0 -1
- package/dist/src/features/branch/quieries/impl/get-start-revision.query.d.ts +0 -4
- package/dist/src/features/branch/quieries/impl/get-start-revision.query.js +0 -10
- package/dist/src/features/branch/quieries/impl/get-start-revision.query.js.map +0 -1
- package/dist/src/features/branch/quieries/impl/get-touched-by-branch-id.query.d.ts +0 -4
- package/dist/src/features/branch/quieries/impl/get-touched-by-branch-id.query.js +0 -10
- package/dist/src/features/branch/quieries/impl/get-touched-by-branch-id.query.js.map +0 -1
- package/dist/src/features/branch/quieries/impl/index.d.ts +0 -10
- package/dist/src/features/branch/quieries/impl/index.js +0 -27
- package/dist/src/features/branch/quieries/impl/index.js.map +0 -1
- package/dist/src/features/branch/quieries/impl/resolve-parent-branch-by-branch.query.d.ts +0 -9
- package/dist/src/features/branch/quieries/impl/resolve-parent-branch-by-branch.query.js +0 -10
- package/dist/src/features/branch/quieries/impl/resolve-parent-branch-by-branch.query.js.map +0 -1
- package/dist/src/features/branch/quieries/types/get-branch-by-id.types.d.ts +0 -2
- package/dist/src/features/branch/quieries/types/get-branch-by-id.types.js +0 -3
- package/dist/src/features/branch/quieries/types/get-branch-by-id.types.js.map +0 -1
- package/dist/src/features/branch/quieries/types/get-branch.types.d.ts +0 -2
- package/dist/src/features/branch/quieries/types/get-branch.types.js +0 -3
- package/dist/src/features/branch/quieries/types/get-branch.types.js.map +0 -1
- package/dist/src/features/branch/quieries/types/get-draft-revision.types.d.ts +0 -2
- package/dist/src/features/branch/quieries/types/get-draft-revision.types.js +0 -3
- package/dist/src/features/branch/quieries/types/get-draft-revision.types.js.map +0 -1
- package/dist/src/features/branch/quieries/types/get-head-revision.types.d.ts +0 -2
- package/dist/src/features/branch/quieries/types/get-head-revision.types.js +0 -3
- package/dist/src/features/branch/quieries/types/get-head-revision.types.js.map +0 -1
- package/dist/src/features/branch/quieries/types/get-start-revision.types.d.ts +0 -2
- package/dist/src/features/branch/quieries/types/get-start-revision.types.js +0 -3
- package/dist/src/features/branch/quieries/types/get-start-revision.types.js.map +0 -1
- package/dist/src/features/branch/quieries/types/index.d.ts +0 -4
- package/dist/src/features/branch/quieries/types/index.js +0 -3
- package/dist/src/features/branch/quieries/types/index.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/__tests__/utils.d.ts +0 -34
- package/dist/src/features/draft/commands/handlers/__tests__/utils.js +0 -196
- package/dist/src/features/draft/commands/handlers/__tests__/utils.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/api-base-row.handler.d.ts +0 -63
- package/dist/src/features/draft/commands/handlers/api-base-row.handler.js +0 -62
- package/dist/src/features/draft/commands/handlers/api-base-row.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/api-create-revision.handler.d.ts +0 -25
- package/dist/src/features/draft/commands/handlers/api-create-revision.handler.js +0 -45
- package/dist/src/features/draft/commands/handlers/api-create-revision.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/api-create-row.handler.d.ts +0 -20
- package/dist/src/features/draft/commands/handlers/api-create-row.handler.js +0 -67
- package/dist/src/features/draft/commands/handlers/api-create-row.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/api-create-rows.handler.d.ts +0 -38
- package/dist/src/features/draft/commands/handlers/api-create-rows.handler.js +0 -78
- package/dist/src/features/draft/commands/handlers/api-create-rows.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/api-create-table.handler.d.ts +0 -13
- package/dist/src/features/draft/commands/handlers/api-create-table.handler.js +0 -45
- package/dist/src/features/draft/commands/handlers/api-create-table.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/api-patch-row.handler.d.ts +0 -20
- package/dist/src/features/draft/commands/handlers/api-patch-row.handler.js +0 -69
- package/dist/src/features/draft/commands/handlers/api-patch-row.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/api-patch-rows.handler.d.ts +0 -38
- package/dist/src/features/draft/commands/handlers/api-patch-rows.handler.js +0 -53
- package/dist/src/features/draft/commands/handlers/api-patch-rows.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/api-remove-row.handler.d.ts +0 -13
- package/dist/src/features/draft/commands/handlers/api-remove-row.handler.js +0 -60
- package/dist/src/features/draft/commands/handlers/api-remove-row.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/api-remove-rows.handler.d.ts +0 -13
- package/dist/src/features/draft/commands/handlers/api-remove-rows.handler.js +0 -59
- package/dist/src/features/draft/commands/handlers/api-remove-rows.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/api-remove-table.handler.d.ts +0 -13
- package/dist/src/features/draft/commands/handlers/api-remove-table.handler.js +0 -43
- package/dist/src/features/draft/commands/handlers/api-remove-table.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/api-rename-row.handler.d.ts +0 -15
- package/dist/src/features/draft/commands/handlers/api-rename-row.handler.js +0 -61
- package/dist/src/features/draft/commands/handlers/api-rename-row.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/api-rename-table.handler.d.ts +0 -12
- package/dist/src/features/draft/commands/handlers/api-rename-table.handler.js +0 -45
- package/dist/src/features/draft/commands/handlers/api-rename-table.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/api-revert-changes.handler.d.ts +0 -12
- package/dist/src/features/draft/commands/handlers/api-revert-changes.handler.js +0 -40
- package/dist/src/features/draft/commands/handlers/api-revert-changes.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/api-update-row.handler.d.ts +0 -21
- package/dist/src/features/draft/commands/handlers/api-update-row.handler.js +0 -69
- package/dist/src/features/draft/commands/handlers/api-update-row.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/api-update-rows.handler.d.ts +0 -38
- package/dist/src/features/draft/commands/handlers/api-update-rows.handler.js +0 -54
- package/dist/src/features/draft/commands/handlers/api-update-rows.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/api-update-table.handler.d.ts +0 -13
- package/dist/src/features/draft/commands/handlers/api-update-table.handler.js +0 -45
- package/dist/src/features/draft/commands/handlers/api-update-table.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/api-upload-file.handler.d.ts +0 -15
- package/dist/src/features/draft/commands/handlers/api-upload-file.handler.js +0 -61
- package/dist/src/features/draft/commands/handlers/api-upload-file.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/create-revision.handler.d.ts +0 -20
- package/dist/src/features/draft/commands/handlers/create-revision.handler.js +0 -69
- package/dist/src/features/draft/commands/handlers/create-revision.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/create-rows.handler.d.ts +0 -24
- package/dist/src/features/draft/commands/handlers/create-rows.handler.js +0 -115
- package/dist/src/features/draft/commands/handlers/create-rows.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/create-table.handler.d.ts +0 -25
- package/dist/src/features/draft/commands/handlers/create-table.handler.js +0 -94
- package/dist/src/features/draft/commands/handlers/create-table.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/index.d.ts +0 -40
- package/dist/src/features/draft/commands/handlers/index.js +0 -86
- package/dist/src/features/draft/commands/handlers/index.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/migration/apply-migrations.handler.d.ts +0 -20
- package/dist/src/features/draft/commands/handlers/migration/apply-migrations.handler.js +0 -175
- package/dist/src/features/draft/commands/handlers/migration/apply-migrations.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/migration/base-migration.handler.d.ts +0 -25
- package/dist/src/features/draft/commands/handlers/migration/base-migration.handler.js +0 -71
- package/dist/src/features/draft/commands/handlers/migration/base-migration.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/migration/create-init-migration.handler.d.ts +0 -19
- package/dist/src/features/draft/commands/handlers/migration/create-init-migration.handler.js +0 -51
- package/dist/src/features/draft/commands/handlers/migration/create-init-migration.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/migration/create-remove-migration.handler.d.ts +0 -17
- package/dist/src/features/draft/commands/handlers/migration/create-remove-migration.handler.js +0 -46
- package/dist/src/features/draft/commands/handlers/migration/create-remove-migration.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/migration/create-rename-migration.handler.d.ts +0 -17
- package/dist/src/features/draft/commands/handlers/migration/create-rename-migration.handler.js +0 -47
- package/dist/src/features/draft/commands/handlers/migration/create-rename-migration.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/migration/create-update-migration.handler.d.ts +0 -19
- package/dist/src/features/draft/commands/handlers/migration/create-update-migration.handler.js +0 -51
- package/dist/src/features/draft/commands/handlers/migration/create-update-migration.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/migration/index.d.ts +0 -6
- package/dist/src/features/draft/commands/handlers/migration/index.js +0 -16
- package/dist/src/features/draft/commands/handlers/migration/index.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/patch-rows.handler.d.ts +0 -24
- package/dist/src/features/draft/commands/handlers/patch-rows.handler.js +0 -131
- package/dist/src/features/draft/commands/handlers/patch-rows.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/remove-rows.handler.d.ts +0 -27
- package/dist/src/features/draft/commands/handlers/remove-rows.handler.js +0 -104
- package/dist/src/features/draft/commands/handlers/remove-rows.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/remove-table.handler.d.ts +0 -29
- package/dist/src/features/draft/commands/handlers/remove-table.handler.js +0 -108
- package/dist/src/features/draft/commands/handlers/remove-table.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/rename-row.handler.d.ts +0 -15
- package/dist/src/features/draft/commands/handlers/rename-row.handler.js +0 -53
- package/dist/src/features/draft/commands/handlers/rename-row.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/rename-table.handler.d.ts +0 -19
- package/dist/src/features/draft/commands/handlers/rename-table.handler.js +0 -66
- package/dist/src/features/draft/commands/handlers/rename-table.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/revert-changes.handler.d.ts +0 -18
- package/dist/src/features/draft/commands/handlers/revert-changes.handler.js +0 -54
- package/dist/src/features/draft/commands/handlers/revert-changes.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/transactional/create-schema.handler.d.ts +0 -22
- package/dist/src/features/draft/commands/handlers/transactional/create-schema.handler.js +0 -99
- package/dist/src/features/draft/commands/handlers/transactional/create-schema.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/transactional/internal-create-row.handler.d.ts +0 -12
- package/dist/src/features/draft/commands/handlers/transactional/internal-create-row.handler.js +0 -55
- package/dist/src/features/draft/commands/handlers/transactional/internal-create-row.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/transactional/internal-rename-row.handler.d.ts +0 -29
- package/dist/src/features/draft/commands/handlers/transactional/internal-rename-row.handler.js +0 -126
- package/dist/src/features/draft/commands/handlers/transactional/internal-rename-row.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/transactional/internal-update-row.handler.d.ts +0 -15
- package/dist/src/features/draft/commands/handlers/transactional/internal-update-row.handler.js +0 -65
- package/dist/src/features/draft/commands/handlers/transactional/internal-update-row.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/transactional/internal-update-rows.handler.d.ts +0 -14
- package/dist/src/features/draft/commands/handlers/transactional/internal-update-rows.handler.js +0 -59
- package/dist/src/features/draft/commands/handlers/transactional/internal-update-rows.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/transactional/rename-schema.handler.d.ts +0 -23
- package/dist/src/features/draft/commands/handlers/transactional/rename-schema.handler.js +0 -109
- package/dist/src/features/draft/commands/handlers/transactional/rename-schema.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/transactional/resolve-draft-revision.handler.d.ts +0 -17
- package/dist/src/features/draft/commands/handlers/transactional/resolve-draft-revision.handler.js +0 -95
- package/dist/src/features/draft/commands/handlers/transactional/resolve-draft-revision.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/transactional/update-schema.handler.d.ts +0 -26
- package/dist/src/features/draft/commands/handlers/transactional/update-schema.handler.js +0 -118
- package/dist/src/features/draft/commands/handlers/transactional/update-schema.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/transactional/validate-data.handler.d.ts +0 -29
- package/dist/src/features/draft/commands/handlers/transactional/validate-data.handler.js +0 -184
- package/dist/src/features/draft/commands/handlers/transactional/validate-data.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/transactional/validate-not-system-table.handler.d.ts +0 -10
- package/dist/src/features/draft/commands/handlers/transactional/validate-not-system-table.handler.js +0 -36
- package/dist/src/features/draft/commands/handlers/transactional/validate-not-system-table.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/transactional/validate-schema.handler.d.ts +0 -19
- package/dist/src/features/draft/commands/handlers/transactional/validate-schema.handler.js +0 -67
- package/dist/src/features/draft/commands/handlers/transactional/validate-schema.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/update-rows.handler.d.ts +0 -26
- package/dist/src/features/draft/commands/handlers/update-rows.handler.js +0 -111
- package/dist/src/features/draft/commands/handlers/update-rows.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/update-table.handler.d.ts +0 -37
- package/dist/src/features/draft/commands/handlers/update-table.handler.js +0 -247
- package/dist/src/features/draft/commands/handlers/update-table.handler.js.map +0 -1
- package/dist/src/features/draft/commands/handlers/upload-file.handler.d.ts +0 -27
- package/dist/src/features/draft/commands/handlers/upload-file.handler.js +0 -107
- package/dist/src/features/draft/commands/handlers/upload-file.handler.js.map +0 -1
- package/dist/src/features/draft/commands/impl/api-create-revision.command.d.ts +0 -17
- package/dist/src/features/draft/commands/impl/api-create-revision.command.js +0 -10
- package/dist/src/features/draft/commands/impl/api-create-revision.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/api-create-row.command.d.ts +0 -18
- package/dist/src/features/draft/commands/impl/api-create-row.command.js +0 -10
- package/dist/src/features/draft/commands/impl/api-create-row.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/api-create-rows.command.d.ts +0 -20
- package/dist/src/features/draft/commands/impl/api-create-rows.command.js +0 -10
- package/dist/src/features/draft/commands/impl/api-create-rows.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/api-create-table.command.d.ts +0 -14
- package/dist/src/features/draft/commands/impl/api-create-table.command.js +0 -10
- package/dist/src/features/draft/commands/impl/api-create-table.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/api-patch-row.command.d.ts +0 -26
- package/dist/src/features/draft/commands/impl/api-patch-row.command.js +0 -10
- package/dist/src/features/draft/commands/impl/api-patch-row.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/api-patch-rows.command.d.ts +0 -18
- package/dist/src/features/draft/commands/impl/api-patch-rows.command.js +0 -10
- package/dist/src/features/draft/commands/impl/api-patch-rows.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/api-remove-row.command.d.ts +0 -15
- package/dist/src/features/draft/commands/impl/api-remove-row.command.js +0 -10
- package/dist/src/features/draft/commands/impl/api-remove-row.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/api-remove-rows.command.d.ts +0 -13
- package/dist/src/features/draft/commands/impl/api-remove-rows.command.js +0 -10
- package/dist/src/features/draft/commands/impl/api-remove-rows.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/api-remove-table.command.d.ts +0 -11
- package/dist/src/features/draft/commands/impl/api-remove-table.command.js +0 -10
- package/dist/src/features/draft/commands/impl/api-remove-table.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/api-rename-row.command.d.ts +0 -23
- package/dist/src/features/draft/commands/impl/api-rename-row.command.js +0 -10
- package/dist/src/features/draft/commands/impl/api-rename-row.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/api-rename-table.command.d.ts +0 -18
- package/dist/src/features/draft/commands/impl/api-rename-table.command.js +0 -10
- package/dist/src/features/draft/commands/impl/api-rename-table.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/api-revert-changes.command.d.ts +0 -15
- package/dist/src/features/draft/commands/impl/api-revert-changes.command.js +0 -10
- package/dist/src/features/draft/commands/impl/api-revert-changes.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/api-update-row.command.d.ts +0 -20
- package/dist/src/features/draft/commands/impl/api-update-row.command.js +0 -10
- package/dist/src/features/draft/commands/impl/api-update-row.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/api-update-rows.command.d.ts +0 -20
- package/dist/src/features/draft/commands/impl/api-update-rows.command.js +0 -10
- package/dist/src/features/draft/commands/impl/api-update-rows.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/api-update-table.command.d.ts +0 -14
- package/dist/src/features/draft/commands/impl/api-update-table.command.js +0 -10
- package/dist/src/features/draft/commands/impl/api-update-table.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/api-upload-file.command.d.ts +0 -25
- package/dist/src/features/draft/commands/impl/api-upload-file.command.js +0 -10
- package/dist/src/features/draft/commands/impl/api-upload-file.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/create-revision.command.d.ts +0 -14
- package/dist/src/features/draft/commands/impl/create-revision.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/create-rows.command.d.ts +0 -20
- package/dist/src/features/draft/commands/impl/create-rows.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/create-table.command.d.ts +0 -14
- package/dist/src/features/draft/commands/impl/create-table.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/migration/apply-migrations.command.d.ts +0 -18
- package/dist/src/features/draft/commands/impl/migration/apply-migrations.command.js +0 -10
- package/dist/src/features/draft/commands/impl/migration/apply-migrations.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/migration/create-init-migration.command.d.ts +0 -15
- package/dist/src/features/draft/commands/impl/migration/create-init-migration.command.js +0 -10
- package/dist/src/features/draft/commands/impl/migration/create-init-migration.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/migration/create-remove-migration.command.d.ts +0 -12
- package/dist/src/features/draft/commands/impl/migration/create-remove-migration.command.js +0 -10
- package/dist/src/features/draft/commands/impl/migration/create-remove-migration.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/migration/create-rename-migration.command.d.ts +0 -14
- package/dist/src/features/draft/commands/impl/migration/create-rename-migration.command.js +0 -10
- package/dist/src/features/draft/commands/impl/migration/create-rename-migration.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/migration/create-update-migration.command.d.ts +0 -17
- package/dist/src/features/draft/commands/impl/migration/create-update-migration.command.js +0 -10
- package/dist/src/features/draft/commands/impl/migration/create-update-migration.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/migration/index.d.ts +0 -5
- package/dist/src/features/draft/commands/impl/migration/index.js +0 -22
- package/dist/src/features/draft/commands/impl/migration/index.js.map +0 -1
- package/dist/src/features/draft/commands/impl/patch-rows.command.d.ts +0 -18
- package/dist/src/features/draft/commands/impl/patch-rows.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/remove-rows.command.d.ts +0 -15
- package/dist/src/features/draft/commands/impl/remove-rows.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/remove-table.command.d.ts +0 -11
- package/dist/src/features/draft/commands/impl/remove-table.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/rename-row.command.d.ts +0 -20
- package/dist/src/features/draft/commands/impl/rename-row.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/rename-table.command.d.ts +0 -16
- package/dist/src/features/draft/commands/impl/rename-table.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/revert-changes.command.d.ts +0 -12
- package/dist/src/features/draft/commands/impl/revert-changes.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/transactional/create-schema.command.d.ts +0 -14
- package/dist/src/features/draft/commands/impl/transactional/create-schema.command.js +0 -10
- package/dist/src/features/draft/commands/impl/transactional/create-schema.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/transactional/internal-create-row.command.d.ts +0 -26
- package/dist/src/features/draft/commands/impl/transactional/internal-create-row.command.js +0 -10
- package/dist/src/features/draft/commands/impl/transactional/internal-create-row.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/transactional/internal-rename-row.command.d.ts +0 -21
- package/dist/src/features/draft/commands/impl/transactional/internal-rename-row.command.js +0 -10
- package/dist/src/features/draft/commands/impl/transactional/internal-rename-row.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/transactional/internal-update-row.command.d.ts +0 -27
- package/dist/src/features/draft/commands/impl/transactional/internal-update-row.command.js +0 -10
- package/dist/src/features/draft/commands/impl/transactional/internal-update-row.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/transactional/internal-update-rows.command.d.ts +0 -28
- package/dist/src/features/draft/commands/impl/transactional/internal-update-rows.command.js +0 -10
- package/dist/src/features/draft/commands/impl/transactional/internal-update-rows.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/transactional/rename-schema.command.d.ts +0 -13
- package/dist/src/features/draft/commands/impl/transactional/rename-schema.command.js +0 -10
- package/dist/src/features/draft/commands/impl/transactional/rename-schema.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/transactional/resolve-draft-revision.command.d.ts +0 -4
- package/dist/src/features/draft/commands/impl/transactional/resolve-draft-revision.command.js +0 -10
- package/dist/src/features/draft/commands/impl/transactional/resolve-draft-revision.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/transactional/update-schema.command.d.ts +0 -18
- package/dist/src/features/draft/commands/impl/transactional/update-schema.command.js +0 -10
- package/dist/src/features/draft/commands/impl/transactional/update-schema.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/transactional/validate-data.command.d.ts +0 -25
- package/dist/src/features/draft/commands/impl/transactional/validate-data.command.js +0 -10
- package/dist/src/features/draft/commands/impl/transactional/validate-data.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/transactional/validate-not-system-table.command.d.ts +0 -4
- package/dist/src/features/draft/commands/impl/transactional/validate-not-system-table.command.js +0 -10
- package/dist/src/features/draft/commands/impl/transactional/validate-not-system-table.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/transactional/validate-schema.command.d.ts +0 -5
- package/dist/src/features/draft/commands/impl/transactional/validate-schema.command.js +0 -10
- package/dist/src/features/draft/commands/impl/transactional/validate-schema.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/update-file.command.d.ts +0 -24
- package/dist/src/features/draft/commands/impl/update-file.command.js +0 -10
- package/dist/src/features/draft/commands/impl/update-file.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/update-rows.command.d.ts +0 -20
- package/dist/src/features/draft/commands/impl/update-rows.command.js.map +0 -1
- package/dist/src/features/draft/commands/impl/update-table.command.d.ts +0 -13
- package/dist/src/features/draft/commands/impl/update-table.command.js.map +0 -1
- package/dist/src/features/draft/commands/types/api-create-row.handler.types.d.ts +0 -7
- package/dist/src/features/draft/commands/types/api-create-row.handler.types.js +0 -3
- package/dist/src/features/draft/commands/types/api-create-row.handler.types.js.map +0 -1
- package/dist/src/features/draft/commands/types/api-create-rows.handler.types.d.ts +0 -7
- package/dist/src/features/draft/commands/types/api-create-rows.handler.types.js +0 -3
- package/dist/src/features/draft/commands/types/api-create-rows.handler.types.js.map +0 -1
- package/dist/src/features/draft/commands/types/api-create-table.handler.types.d.ts +0 -5
- package/dist/src/features/draft/commands/types/api-create-table.handler.types.js +0 -3
- package/dist/src/features/draft/commands/types/api-create-table.handler.types.js.map +0 -1
- package/dist/src/features/draft/commands/types/api-patch-rows.handler.types.d.ts +0 -7
- package/dist/src/features/draft/commands/types/api-patch-rows.handler.types.js +0 -3
- package/dist/src/features/draft/commands/types/api-patch-rows.handler.types.js.map +0 -1
- package/dist/src/features/draft/commands/types/api-remove-row.handler.types.d.ts +0 -7
- package/dist/src/features/draft/commands/types/api-remove-row.handler.types.js +0 -3
- package/dist/src/features/draft/commands/types/api-remove-row.handler.types.js.map +0 -1
- package/dist/src/features/draft/commands/types/api-remove-rows.handler.types.d.ts +0 -7
- package/dist/src/features/draft/commands/types/api-remove-rows.handler.types.js +0 -3
- package/dist/src/features/draft/commands/types/api-remove-rows.handler.types.js.map +0 -1
- package/dist/src/features/draft/commands/types/api-remove-table.handler.types.d.ts +0 -4
- package/dist/src/features/draft/commands/types/api-remove-table.handler.types.js +0 -3
- package/dist/src/features/draft/commands/types/api-remove-table.handler.types.js.map +0 -1
- package/dist/src/features/draft/commands/types/api-update-row.handler.types.d.ts +0 -8
- package/dist/src/features/draft/commands/types/api-update-row.handler.types.js +0 -3
- package/dist/src/features/draft/commands/types/api-update-row.handler.types.js.map +0 -1
- package/dist/src/features/draft/commands/types/api-update-rows.handler.types.d.ts +0 -7
- package/dist/src/features/draft/commands/types/api-update-rows.handler.types.js +0 -3
- package/dist/src/features/draft/commands/types/api-update-rows.handler.types.js.map +0 -1
- package/dist/src/features/draft/commands/types/api-update-table.handler.types.d.ts +0 -5
- package/dist/src/features/draft/commands/types/api-update-table.handler.types.js +0 -3
- package/dist/src/features/draft/commands/types/api-update-table.handler.types.js.map +0 -1
- package/dist/src/features/draft/commands/types/create-revision.handler.types.d.ts +0 -7
- package/dist/src/features/draft/commands/types/create-revision.handler.types.js +0 -3
- package/dist/src/features/draft/commands/types/create-revision.handler.types.js.map +0 -1
- package/dist/src/features/draft/commands/types/create-rows.handler.types.d.ts +0 -9
- package/dist/src/features/draft/commands/types/create-rows.handler.types.js +0 -3
- package/dist/src/features/draft/commands/types/create-rows.handler.types.js.map +0 -1
- package/dist/src/features/draft/commands/types/create-table.handler.types.d.ts +0 -5
- package/dist/src/features/draft/commands/types/create-table.handler.types.js +0 -3
- package/dist/src/features/draft/commands/types/create-table.handler.types.js.map +0 -1
- package/dist/src/features/draft/commands/types/patch-rows.handler.types.d.ts +0 -10
- package/dist/src/features/draft/commands/types/patch-rows.handler.types.js +0 -3
- package/dist/src/features/draft/commands/types/patch-rows.handler.types.js.map +0 -1
- package/dist/src/features/draft/commands/types/remove-rows.handler.types.d.ts +0 -5
- package/dist/src/features/draft/commands/types/remove-rows.handler.types.js +0 -3
- package/dist/src/features/draft/commands/types/remove-rows.handler.types.js.map +0 -1
- package/dist/src/features/draft/commands/types/remove-table.handler.types.d.ts +0 -4
- package/dist/src/features/draft/commands/types/remove-table.handler.types.js +0 -3
- package/dist/src/features/draft/commands/types/remove-table.handler.types.js.map +0 -1
- package/dist/src/features/draft/commands/types/revert-changes.handler.types.d.ts +0 -4
- package/dist/src/features/draft/commands/types/revert-changes.handler.types.js +0 -3
- package/dist/src/features/draft/commands/types/revert-changes.handler.types.js.map +0 -1
- package/dist/src/features/draft/commands/types/update-rows.handler.types.d.ts +0 -10
- package/dist/src/features/draft/commands/types/update-rows.handler.types.js +0 -3
- package/dist/src/features/draft/commands/types/update-rows.handler.types.js.map +0 -1
- package/dist/src/features/draft/commands/types/update-table.handler.types.d.ts +0 -4
- package/dist/src/features/draft/commands/types/update-table.handler.types.js +0 -3
- package/dist/src/features/draft/commands/types/update-table.handler.types.js.map +0 -1
- package/dist/src/features/draft/draft-api.service.d.ts +0 -58
- package/dist/src/features/draft/draft-api.service.js +0 -89
- package/dist/src/features/draft/draft-api.service.js.map +0 -1
- package/dist/src/features/draft/draft-context.service.d.ts +0 -29
- package/dist/src/features/draft/draft-context.service.js +0 -78
- package/dist/src/features/draft/draft-context.service.js.map +0 -1
- package/dist/src/features/draft/draft-request-dto/draft-revision-request.dto.d.ts +0 -20
- package/dist/src/features/draft/draft-request-dto/draft-revision-request.dto.js +0 -70
- package/dist/src/features/draft/draft-request-dto/draft-revision-request.dto.js.map +0 -1
- package/dist/src/features/draft/draft-request-dto/index.d.ts +0 -5
- package/dist/src/features/draft/draft-request-dto/index.js +0 -14
- package/dist/src/features/draft/draft-request-dto/index.js.map +0 -1
- package/dist/src/features/draft/draft-request-dto/row-request.dto.d.ts +0 -13
- package/dist/src/features/draft/draft-request-dto/row-request.dto.js +0 -49
- package/dist/src/features/draft/draft-request-dto/row-request.dto.js.map +0 -1
- package/dist/src/features/draft/draft-request-dto/rows-request.dto.d.ts +0 -13
- package/dist/src/features/draft/draft-request-dto/rows-request.dto.js +0 -31
- package/dist/src/features/draft/draft-request-dto/rows-request.dto.js.map +0 -1
- package/dist/src/features/draft/draft-request-dto/table-request.dto.d.ts +0 -13
- package/dist/src/features/draft/draft-request-dto/table-request.dto.js +0 -49
- package/dist/src/features/draft/draft-request-dto/table-request.dto.js.map +0 -1
- package/dist/src/features/draft/draft.handler.d.ts +0 -12
- package/dist/src/features/draft/draft.handler.js +0 -23
- package/dist/src/features/draft/draft.handler.js.map +0 -1
- package/dist/src/features/draft/draft.module.d.ts +0 -2
- package/dist/src/features/draft/draft.module.js +0 -51
- package/dist/src/features/draft/draft.module.js.map +0 -1
- package/dist/src/features/draft/draft.transactional.commands.d.ts +0 -20
- package/dist/src/features/draft/draft.transactional.commands.js +0 -41
- package/dist/src/features/draft/draft.transactional.commands.js.map +0 -1
- package/dist/src/features/draft/migration-context.service.d.ts +0 -7
- package/dist/src/features/draft/migration-context.service.js +0 -34
- package/dist/src/features/draft/migration-context.service.js.map +0 -1
- package/dist/src/features/draft-revision/commands/handlers/__tests__/utils.d.ts +0 -20
- package/dist/src/features/draft-revision/commands/handlers/__tests__/utils.js +0 -98
- package/dist/src/features/draft-revision/commands/handlers/__tests__/utils.js.map +0 -1
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-commit.handler.d.ts +0 -19
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-commit.handler.js +0 -91
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-commit.handler.js.map +0 -1
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-create-rows.handler.d.ts +0 -19
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-create-rows.handler.js +0 -113
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-create-rows.handler.js.map +0 -1
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-create-table.handler.d.ts +0 -16
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-create-table.handler.js +0 -70
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-create-table.handler.js.map +0 -1
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-get-or-create-draft-row.handler.d.ts +0 -19
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-get-or-create-draft-row.handler.js +0 -121
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-get-or-create-draft-row.handler.js.map +0 -1
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-get-or-create-draft-table.handler.d.ts +0 -20
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-get-or-create-draft-table.handler.js +0 -126
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-get-or-create-draft-table.handler.js.map +0 -1
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-recompute-has-changes.handler.d.ts +0 -15
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-recompute-has-changes.handler.js +0 -91
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-recompute-has-changes.handler.js.map +0 -1
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-remove-rows.handler.d.ts +0 -17
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-remove-rows.handler.js +0 -104
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-remove-rows.handler.js.map +0 -1
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-remove-table.handler.d.ts +0 -21
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-remove-table.handler.js +0 -117
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-remove-table.handler.js.map +0 -1
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-rename-rows.handler.d.ts +0 -17
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-rename-rows.handler.js +0 -112
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-rename-rows.handler.js.map +0 -1
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-rename-table.handler.d.ts +0 -14
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-rename-table.handler.js +0 -58
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-rename-table.handler.js.map +0 -1
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-revert.handler.d.ts +0 -14
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-revert.handler.js +0 -52
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-revert.handler.js.map +0 -1
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-update-rows.handler.d.ts +0 -16
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-update-rows.handler.js +0 -100
- package/dist/src/features/draft-revision/commands/handlers/draft-revision-update-rows.handler.js.map +0 -1
- package/dist/src/features/draft-revision/commands/handlers/index.d.ts +0 -25
- package/dist/src/features/draft-revision/commands/handlers/index.js +0 -54
- package/dist/src/features/draft-revision/commands/handlers/index.js.map +0 -1
- package/dist/src/features/draft-revision/commands/impl/draft-revision-commit.command.d.ts +0 -13
- package/dist/src/features/draft-revision/commands/impl/draft-revision-commit.command.js +0 -10
- package/dist/src/features/draft-revision/commands/impl/draft-revision-commit.command.js.map +0 -1
- package/dist/src/features/draft-revision/commands/impl/draft-revision-create-rows.command.d.ts +0 -27
- package/dist/src/features/draft-revision/commands/impl/draft-revision-create-rows.command.js +0 -10
- package/dist/src/features/draft-revision/commands/impl/draft-revision-create-rows.command.js.map +0 -1
- package/dist/src/features/draft-revision/commands/impl/draft-revision-create-table.command.d.ts +0 -13
- package/dist/src/features/draft-revision/commands/impl/draft-revision-create-table.command.js +0 -10
- package/dist/src/features/draft-revision/commands/impl/draft-revision-create-table.command.js.map +0 -1
- package/dist/src/features/draft-revision/commands/impl/draft-revision-get-or-create-draft-row.command.d.ts +0 -14
- package/dist/src/features/draft-revision/commands/impl/draft-revision-get-or-create-draft-row.command.js +0 -10
- package/dist/src/features/draft-revision/commands/impl/draft-revision-get-or-create-draft-row.command.js.map +0 -1
- package/dist/src/features/draft-revision/commands/impl/draft-revision-get-or-create-draft-table.command.d.ts +0 -14
- package/dist/src/features/draft-revision/commands/impl/draft-revision-get-or-create-draft-table.command.js +0 -10
- package/dist/src/features/draft-revision/commands/impl/draft-revision-get-or-create-draft-table.command.js.map +0 -1
- package/dist/src/features/draft-revision/commands/impl/draft-revision-recompute-has-changes.command.d.ts +0 -8
- package/dist/src/features/draft-revision/commands/impl/draft-revision-recompute-has-changes.command.js +0 -10
- package/dist/src/features/draft-revision/commands/impl/draft-revision-recompute-has-changes.command.js.map +0 -1
- package/dist/src/features/draft-revision/commands/impl/draft-revision-remove-rows.command.d.ts +0 -18
- package/dist/src/features/draft-revision/commands/impl/draft-revision-remove-rows.command.js +0 -10
- package/dist/src/features/draft-revision/commands/impl/draft-revision-remove-rows.command.js.map +0 -1
- package/dist/src/features/draft-revision/commands/impl/draft-revision-remove-table.command.d.ts +0 -12
- package/dist/src/features/draft-revision/commands/impl/draft-revision-remove-table.command.js +0 -10
- package/dist/src/features/draft-revision/commands/impl/draft-revision-remove-table.command.js.map +0 -1
- package/dist/src/features/draft-revision/commands/impl/draft-revision-rename-rows.command.d.ts +0 -23
- package/dist/src/features/draft-revision/commands/impl/draft-revision-rename-rows.command.js +0 -10
- package/dist/src/features/draft-revision/commands/impl/draft-revision-rename-rows.command.js.map +0 -1
- package/dist/src/features/draft-revision/commands/impl/draft-revision-rename-table.command.d.ts +0 -13
- package/dist/src/features/draft-revision/commands/impl/draft-revision-rename-table.command.js +0 -10
- package/dist/src/features/draft-revision/commands/impl/draft-revision-rename-table.command.js.map +0 -1
- package/dist/src/features/draft-revision/commands/impl/draft-revision-revert.command.d.ts +0 -10
- package/dist/src/features/draft-revision/commands/impl/draft-revision-revert.command.js +0 -10
- package/dist/src/features/draft-revision/commands/impl/draft-revision-revert.command.js.map +0 -1
- package/dist/src/features/draft-revision/commands/impl/draft-revision-update-rows.command.d.ts +0 -26
- package/dist/src/features/draft-revision/commands/impl/draft-revision-update-rows.command.js +0 -10
- package/dist/src/features/draft-revision/commands/impl/draft-revision-update-rows.command.js.map +0 -1
- package/dist/src/features/draft-revision/commands/impl/index.d.ts +0 -12
- package/dist/src/features/draft-revision/commands/impl/index.js +0 -29
- package/dist/src/features/draft-revision/commands/impl/index.js.map +0 -1
- package/dist/src/features/draft-revision/draft-revision-api.service.d.ts +0 -15
- package/dist/src/features/draft-revision/draft-revision-api.service.js +0 -53
- package/dist/src/features/draft-revision/draft-revision-api.service.js.map +0 -1
- package/dist/src/features/draft-revision/draft-revision.constants.d.ts +0 -2
- package/dist/src/features/draft-revision/draft-revision.constants.js +0 -6
- package/dist/src/features/draft-revision/draft-revision.constants.js.map +0 -1
- package/dist/src/features/draft-revision/draft-revision.module.d.ts +0 -2
- package/dist/src/features/draft-revision/draft-revision.module.js +0 -40
- package/dist/src/features/draft-revision/draft-revision.module.js.map +0 -1
- package/dist/src/features/draft-revision/services/draft-revision-internal.service.d.ts +0 -59
- package/dist/src/features/draft-revision/services/draft-revision-internal.service.js +0 -110
- package/dist/src/features/draft-revision/services/draft-revision-internal.service.js.map +0 -1
- package/dist/src/features/draft-revision/services/draft-revision-validation.service.d.ts +0 -9
- package/dist/src/features/draft-revision/services/draft-revision-validation.service.js +0 -43
- package/dist/src/features/draft-revision/services/draft-revision-validation.service.js.map +0 -1
- package/dist/src/features/draft-revision/services/index.d.ts +0 -2
- package/dist/src/features/draft-revision/services/index.js +0 -19
- package/dist/src/features/draft-revision/services/index.js.map +0 -1
- package/dist/src/features/organization/commands/handlers/index.d.ts +0 -2
- package/dist/src/features/organization/commands/handlers/index.js +0 -19
- package/dist/src/features/organization/commands/handlers/index.js.map +0 -1
- package/dist/src/features/organization/queries/handlers/index.d.ts +0 -2
- package/dist/src/features/organization/queries/handlers/index.js +0 -19
- package/dist/src/features/organization/queries/handlers/index.js.map +0 -1
- package/dist/src/features/plugin/file/__tests__/file-restore.test-utils.d.ts +0 -27
- package/dist/src/features/plugin/file/__tests__/file-restore.test-utils.js +0 -175
- package/dist/src/features/plugin/file/__tests__/file-restore.test-utils.js.map +0 -1
- package/dist/src/features/plugin/formula/index.d.ts +0 -2
- package/dist/src/features/plugin/formula/index.js +0 -19
- package/dist/src/features/plugin/formula/index.js.map +0 -1
- package/dist/src/features/project/commands/handlers/__tests__/utils.d.ts +0 -33
- package/dist/src/features/project/commands/handlers/__tests__/utils.js +0 -187
- package/dist/src/features/project/commands/handlers/__tests__/utils.js.map +0 -1
- package/dist/src/features/revision/index.d.ts +0 -2
- package/dist/src/features/revision/index.js +0 -19
- package/dist/src/features/revision/index.js.map +0 -1
- package/dist/src/features/revision/internal-revisions-api.service.d.ts +0 -32
- package/dist/src/features/revision/internal-revisions-api.service.js +0 -53
- package/dist/src/features/revision/internal-revisions-api.service.js.map +0 -1
- package/dist/src/features/revision/queries/commands/get-children-by-revision.handler.d.ts +0 -20
- package/dist/src/features/revision/queries/commands/get-children-by-revision.handler.js +0 -34
- package/dist/src/features/revision/queries/commands/get-children-by-revision.handler.js.map +0 -1
- package/dist/src/features/revision/queries/commands/get-migrations.handler.d.ts +0 -11
- package/dist/src/features/revision/queries/commands/get-migrations.handler.js +0 -54
- package/dist/src/features/revision/queries/commands/get-migrations.handler.js.map +0 -1
- package/dist/src/features/revision/queries/commands/get-revision.handler.d.ts +0 -22
- package/dist/src/features/revision/queries/commands/get-revision.handler.js +0 -34
- package/dist/src/features/revision/queries/commands/get-revision.handler.js.map +0 -1
- package/dist/src/features/revision/queries/commands/get-tables-by-revision-id.handler.d.ts +0 -23
- package/dist/src/features/revision/queries/commands/get-tables-by-revision-id.handler.js +0 -68
- package/dist/src/features/revision/queries/commands/get-tables-by-revision-id.handler.js.map +0 -1
- package/dist/src/features/revision/queries/commands/index.d.ts +0 -10
- package/dist/src/features/revision/queries/commands/index.js +0 -24
- package/dist/src/features/revision/queries/commands/index.js.map +0 -1
- package/dist/src/features/revision/queries/commands/resolve-branch-by-revision.handler.d.ts +0 -17
- package/dist/src/features/revision/queries/commands/resolve-branch-by-revision.handler.js +0 -34
- package/dist/src/features/revision/queries/commands/resolve-branch-by-revision.handler.js.map +0 -1
- package/dist/src/features/revision/queries/commands/resolve-child-branches-by-revision.handler.d.ts +0 -18
- package/dist/src/features/revision/queries/commands/resolve-child-branches-by-revision.handler.js +0 -56
- package/dist/src/features/revision/queries/commands/resolve-child-branches-by-revision.handler.js.map +0 -1
- package/dist/src/features/revision/queries/commands/resolve-child-by-revision.handler.d.ts +0 -22
- package/dist/src/features/revision/queries/commands/resolve-child-by-revision.handler.js +0 -44
- package/dist/src/features/revision/queries/commands/resolve-child-by-revision.handler.js.map +0 -1
- package/dist/src/features/revision/queries/commands/resolve-parent-by-revision.handler.d.ts +0 -22
- package/dist/src/features/revision/queries/commands/resolve-parent-by-revision.handler.js +0 -34
- package/dist/src/features/revision/queries/commands/resolve-parent-by-revision.handler.js.map +0 -1
- package/dist/src/features/revision/queries/impl/get-children-by-revision.query.d.ts +0 -7
- package/dist/src/features/revision/queries/impl/get-children-by-revision.query.js +0 -10
- package/dist/src/features/revision/queries/impl/get-children-by-revision.query.js.map +0 -1
- package/dist/src/features/revision/queries/impl/get-migrations.query.d.ts +0 -11
- package/dist/src/features/revision/queries/impl/get-migrations.query.js +0 -10
- package/dist/src/features/revision/queries/impl/get-migrations.query.js.map +0 -1
- package/dist/src/features/revision/queries/impl/get-revision.query.d.ts +0 -11
- package/dist/src/features/revision/queries/impl/get-revision.query.js +0 -10
- package/dist/src/features/revision/queries/impl/get-revision.query.js.map +0 -1
- package/dist/src/features/revision/queries/impl/get-tables-by-revision-id.query.d.ts +0 -15
- package/dist/src/features/revision/queries/impl/get-tables-by-revision-id.query.js +0 -10
- package/dist/src/features/revision/queries/impl/get-tables-by-revision-id.query.js.map +0 -1
- package/dist/src/features/revision/queries/impl/index.d.ts +0 -9
- package/dist/src/features/revision/queries/impl/index.js +0 -26
- package/dist/src/features/revision/queries/impl/index.js.map +0 -1
- package/dist/src/features/revision/queries/impl/resolve-branch-by-revision.query.d.ts +0 -7
- package/dist/src/features/revision/queries/impl/resolve-branch-by-revision.query.js +0 -10
- package/dist/src/features/revision/queries/impl/resolve-branch-by-revision.query.js.map +0 -1
- package/dist/src/features/revision/queries/impl/resolve-child-branches-by-revision.query.d.ts +0 -13
- package/dist/src/features/revision/queries/impl/resolve-child-branches-by-revision.query.js +0 -10
- package/dist/src/features/revision/queries/impl/resolve-child-branches-by-revision.query.js.map +0 -1
- package/dist/src/features/revision/queries/impl/resolve-child-by-revision.query.d.ts +0 -7
- package/dist/src/features/revision/queries/impl/resolve-child-by-revision.query.js +0 -10
- package/dist/src/features/revision/queries/impl/resolve-child-by-revision.query.js.map +0 -1
- package/dist/src/features/revision/queries/impl/resolve-parent-by-revision.query.d.ts +0 -7
- package/dist/src/features/revision/queries/impl/resolve-parent-by-revision.query.js +0 -10
- package/dist/src/features/revision/queries/impl/resolve-parent-by-revision.query.js.map +0 -1
- package/dist/src/features/revision/queries/types/get-revision-tables.types.d.ts +0 -3
- package/dist/src/features/revision/queries/types/get-revision-tables.types.js +0 -3
- package/dist/src/features/revision/queries/types/get-revision-tables.types.js.map +0 -1
- package/dist/src/features/revision/queries/types/get-tables-by-revision-id.d.ts +0 -2
- package/dist/src/features/revision/queries/types/get-tables-by-revision-id.js +0 -3
- package/dist/src/features/revision/queries/types/get-tables-by-revision-id.js.map +0 -1
- package/dist/src/features/revision/queries/types/index.d.ts +0 -4
- package/dist/src/features/revision/queries/types/index.js +0 -3
- package/dist/src/features/revision/queries/types/index.js.map +0 -1
- package/dist/src/features/revision-changes/mappers/row-change.mapper.d.ts +0 -13
- package/dist/src/features/revision-changes/mappers/row-change.mapper.js +0 -111
- package/dist/src/features/revision-changes/mappers/row-change.mapper.js.map +0 -1
- package/dist/src/features/revision-changes/mappers/table-change.mapper.d.ts +0 -19
- package/dist/src/features/revision-changes/mappers/table-change.mapper.js +0 -74
- package/dist/src/features/revision-changes/mappers/table-change.mapper.js.map +0 -1
- package/dist/src/features/revision-changes/queries/handlers/get-revision-changes.handler.d.ts +0 -14
- package/dist/src/features/revision-changes/queries/handlers/get-revision-changes.handler.js +0 -68
- package/dist/src/features/revision-changes/queries/handlers/get-revision-changes.handler.js.map +0 -1
- package/dist/src/features/revision-changes/queries/handlers/get-row-changes.handler.d.ts +0 -24
- package/dist/src/features/revision-changes/queries/handlers/get-row-changes.handler.js +0 -177
- package/dist/src/features/revision-changes/queries/handlers/get-row-changes.handler.js.map +0 -1
- package/dist/src/features/revision-changes/queries/handlers/get-table-changes.handler.d.ts +0 -19
- package/dist/src/features/revision-changes/queries/handlers/get-table-changes.handler.js +0 -84
- package/dist/src/features/revision-changes/queries/handlers/get-table-changes.handler.js.map +0 -1
- package/dist/src/features/revision-changes/queries/handlers/index.d.ts +0 -3
- package/dist/src/features/revision-changes/queries/handlers/index.js +0 -20
- package/dist/src/features/revision-changes/queries/handlers/index.js.map +0 -1
- package/dist/src/features/revision-changes/queries/impl/get-revision-changes.query.d.ts +0 -15
- package/dist/src/features/revision-changes/queries/impl/get-revision-changes.query.js +0 -10
- package/dist/src/features/revision-changes/queries/impl/get-revision-changes.query.js.map +0 -1
- package/dist/src/features/revision-changes/queries/impl/get-row-changes.query.d.ts +0 -20
- package/dist/src/features/revision-changes/queries/impl/get-row-changes.query.js +0 -10
- package/dist/src/features/revision-changes/queries/impl/get-row-changes.query.js.map +0 -1
- package/dist/src/features/revision-changes/queries/impl/get-table-changes.query.d.ts +0 -20
- package/dist/src/features/revision-changes/queries/impl/get-table-changes.query.js +0 -10
- package/dist/src/features/revision-changes/queries/impl/get-table-changes.query.js.map +0 -1
- package/dist/src/features/revision-changes/queries/impl/index.d.ts +0 -3
- package/dist/src/features/revision-changes/queries/impl/index.js +0 -20
- package/dist/src/features/revision-changes/queries/impl/index.js.map +0 -1
- package/dist/src/features/revision-changes/revision-changes-api.service.d.ts +0 -9
- package/dist/src/features/revision-changes/revision-changes-api.service.js +0 -35
- package/dist/src/features/revision-changes/revision-changes-api.service.js.map +0 -1
- package/dist/src/features/revision-changes/services/index.d.ts +0 -4
- package/dist/src/features/revision-changes/services/index.js +0 -21
- package/dist/src/features/revision-changes/services/index.js.map +0 -1
- package/dist/src/features/revision-changes/services/revision-comparison.service.d.ts +0 -12
- package/dist/src/features/revision-changes/services/revision-comparison.service.js +0 -99
- package/dist/src/features/revision-changes/services/revision-comparison.service.js.map +0 -1
- package/dist/src/features/revision-changes/services/row-diff.service.d.ts +0 -5
- package/dist/src/features/revision-changes/services/row-diff.service.js +0 -37
- package/dist/src/features/revision-changes/services/row-diff.service.js.map +0 -1
- package/dist/src/features/revision-changes/services/schema-impact.service.d.ts +0 -13
- package/dist/src/features/revision-changes/services/schema-impact.service.js +0 -138
- package/dist/src/features/revision-changes/services/schema-impact.service.js.map +0 -1
- package/dist/src/features/revision-changes/services/views-comparison.service.d.ts +0 -20
- package/dist/src/features/revision-changes/services/views-comparison.service.js +0 -225
- package/dist/src/features/revision-changes/services/views-comparison.service.js.map +0 -1
- package/dist/src/features/revision-changes/utils/empty-responses.d.ts +0 -4
- package/dist/src/features/revision-changes/utils/empty-responses.js +0 -36
- package/dist/src/features/revision-changes/utils/empty-responses.js.map +0 -1
- package/dist/src/features/role/queries/handlers/index.d.ts +0 -2
- package/dist/src/features/role/queries/handlers/index.js +0 -19
- package/dist/src/features/role/queries/handlers/index.js.map +0 -1
- package/dist/src/features/role/queries/impl/index.d.ts +0 -2
- package/dist/src/features/role/queries/impl/index.js +0 -19
- package/dist/src/features/role/queries/impl/index.js.map +0 -1
- package/dist/src/features/row/index.d.ts +0 -2
- package/dist/src/features/row/index.js +0 -19
- package/dist/src/features/row/index.js.map +0 -1
- package/dist/src/features/row/internal-row-api.service.d.ts +0 -14
- package/dist/src/features/row/internal-row-api.service.js +0 -50
- package/dist/src/features/row/internal-row-api.service.js.map +0 -1
- package/dist/src/features/row/queries/handlers/get-row-by-id.handler.d.ts +0 -27
- package/dist/src/features/row/queries/handlers/get-row-by-id.handler.js +0 -50
- package/dist/src/features/row/queries/handlers/get-row-by-id.handler.js.map +0 -1
- package/dist/src/features/row/queries/handlers/get-row.handler.d.ts +0 -11
- package/dist/src/features/row/queries/handlers/get-row.handler.js +0 -66
- package/dist/src/features/row/queries/handlers/get-row.handler.js.map +0 -1
- package/dist/src/features/row/queries/handlers/get-rows.handler.d.ts +0 -33
- package/dist/src/features/row/queries/handlers/get-rows.handler.js +0 -75
- package/dist/src/features/row/queries/handlers/get-rows.handler.js.map +0 -1
- package/dist/src/features/row/queries/handlers/index.d.ts +0 -9
- package/dist/src/features/row/queries/handlers/index.js +0 -22
- package/dist/src/features/row/queries/handlers/index.js.map +0 -1
- package/dist/src/features/row/queries/handlers/resolve-row-count-foreign-keys-by.handler.d.ts +0 -17
- package/dist/src/features/row/queries/handlers/resolve-row-count-foreign-keys-by.handler.js +0 -68
- package/dist/src/features/row/queries/handlers/resolve-row-count-foreign-keys-by.handler.js.map +0 -1
- package/dist/src/features/row/queries/handlers/resolve-row-count-foreign-keys-to.handler.d.ts +0 -16
- package/dist/src/features/row/queries/handlers/resolve-row-count-foreign-keys-to.handler.js +0 -60
- package/dist/src/features/row/queries/handlers/resolve-row-count-foreign-keys-to.handler.js.map +0 -1
- package/dist/src/features/row/queries/handlers/resolve-row-foreign-keys-by.handler.d.ts +0 -36
- package/dist/src/features/row/queries/handlers/resolve-row-foreign-keys-by.handler.js +0 -91
- package/dist/src/features/row/queries/handlers/resolve-row-foreign-keys-by.handler.js.map +0 -1
- package/dist/src/features/row/queries/handlers/resolve-row-foreign-keys-to.handler.d.ts +0 -36
- package/dist/src/features/row/queries/handlers/resolve-row-foreign-keys-to.handler.js +0 -104
- package/dist/src/features/row/queries/handlers/resolve-row-foreign-keys-to.handler.js.map +0 -1
- package/dist/src/features/row/queries/handlers/search-rows.handler.d.ts +0 -13
- package/dist/src/features/row/queries/handlers/search-rows.handler.js +0 -66
- package/dist/src/features/row/queries/handlers/search-rows.handler.js.map +0 -1
- package/dist/src/features/row/queries/impl/get-row-by-id.query.d.ts +0 -17
- package/dist/src/features/row/queries/impl/get-row-by-id.query.js +0 -10
- package/dist/src/features/row/queries/impl/get-row-by-id.query.js.map +0 -1
- package/dist/src/features/row/queries/impl/get-row.query.d.ts +0 -15
- package/dist/src/features/row/queries/impl/get-row.query.js +0 -10
- package/dist/src/features/row/queries/impl/get-row.query.js.map +0 -1
- package/dist/src/features/row/queries/impl/get-rows.query.d.ts +0 -24
- package/dist/src/features/row/queries/impl/get-rows.query.js +0 -10
- package/dist/src/features/row/queries/impl/get-rows.query.js.map +0 -1
- package/dist/src/features/row/queries/impl/index.d.ts +0 -8
- package/dist/src/features/row/queries/impl/index.js +0 -25
- package/dist/src/features/row/queries/impl/index.js.map +0 -1
- package/dist/src/features/row/queries/impl/resolve-row-count-foreign-keys-by.query.d.ts +0 -14
- package/dist/src/features/row/queries/impl/resolve-row-count-foreign-keys-by.query.js +0 -10
- package/dist/src/features/row/queries/impl/resolve-row-count-foreign-keys-by.query.js.map +0 -1
- package/dist/src/features/row/queries/impl/resolve-row-count-foreign-keys-to.query.d.ts +0 -14
- package/dist/src/features/row/queries/impl/resolve-row-count-foreign-keys-to.query.js +0 -10
- package/dist/src/features/row/queries/impl/resolve-row-count-foreign-keys-to.query.js.map +0 -1
- package/dist/src/features/row/queries/impl/resolve-row-foreign-keys-by.query.d.ts +0 -22
- package/dist/src/features/row/queries/impl/resolve-row-foreign-keys-by.query.js +0 -10
- package/dist/src/features/row/queries/impl/resolve-row-foreign-keys-by.query.js.map +0 -1
- package/dist/src/features/row/queries/impl/resolve-row-foreign-keys-to.query.d.ts +0 -22
- package/dist/src/features/row/queries/impl/resolve-row-foreign-keys-to.query.js +0 -10
- package/dist/src/features/row/queries/impl/resolve-row-foreign-keys-to.query.js.map +0 -1
- package/dist/src/features/row/queries/impl/search-rows.query.d.ts +0 -30
- package/dist/src/features/row/queries/impl/search-rows.query.js +0 -10
- package/dist/src/features/row/queries/impl/search-rows.query.js.map +0 -1
- package/dist/src/features/row/services/index.d.ts +0 -1
- package/dist/src/features/row/services/index.js +0 -6
- package/dist/src/features/row/services/index.js.map +0 -1
- package/dist/src/features/row/utils/get-keyset-pagination.d.ts +0 -17
- package/dist/src/features/row/utils/get-keyset-pagination.js +0 -61
- package/dist/src/features/row/utils/get-keyset-pagination.js.map +0 -1
- package/dist/src/features/row/utils/search-rows-sql.d.ts +0 -16
- package/dist/src/features/row/utils/search-rows-sql.js +0 -111
- package/dist/src/features/row/utils/search-rows-sql.js.map +0 -1
- package/dist/src/features/share/commands/utils/getRevisionCursorPagination.d.ts +0 -30
- package/dist/src/features/share/commands/utils/getRevisionCursorPagination.js +0 -71
- package/dist/src/features/share/commands/utils/getRevisionCursorPagination.js.map +0 -1
- package/dist/src/features/share/const.d.ts +0 -2
- package/dist/src/features/share/const.js +0 -14
- package/dist/src/features/share/const.js.map +0 -1
- package/dist/src/features/share/exceptions/index.d.ts +0 -1
- package/dist/src/features/share/exceptions/index.js +0 -18
- package/dist/src/features/share/exceptions/index.js.map +0 -1
- package/dist/src/features/share/exceptions/validation.exception.d.ts +0 -58
- package/dist/src/features/share/exceptions/validation.exception.js +0 -140
- package/dist/src/features/share/exceptions/validation.exception.js.map +0 -1
- package/dist/src/features/share/json-schema-store.service.d.ts +0 -7
- package/dist/src/features/share/json-schema-store.service.js +0 -43
- package/dist/src/features/share/json-schema-store.service.js.map +0 -1
- package/dist/src/features/share/pagination.interface.d.ts +0 -15
- package/dist/src/features/share/pagination.interface.js +0 -3
- package/dist/src/features/share/pagination.interface.js.map +0 -1
- package/dist/src/features/share/schema/consts.d.ts +0 -4
- package/dist/src/features/share/schema/consts.js +0 -9
- package/dist/src/features/share/schema/consts.js.map +0 -1
- package/dist/src/features/share/schema/history-patches-schema.d.ts +0 -2
- package/dist/src/features/share/schema/history-patches-schema.js +0 -21
- package/dist/src/features/share/schema/history-patches-schema.js.map +0 -1
- package/dist/src/features/share/schema/json-patch-schema.d.ts +0 -2
- package/dist/src/features/share/schema/json-patch-schema.js +0 -79
- package/dist/src/features/share/schema/json-patch-schema.js.map +0 -1
- package/dist/src/features/share/schema/meta-schema.d.ts +0 -14
- package/dist/src/features/share/schema/meta-schema.js +0 -240
- package/dist/src/features/share/schema/meta-schema.js.map +0 -1
- package/dist/src/features/share/schema/plugins/file-schema.d.ts +0 -4
- package/dist/src/features/share/schema/plugins/file-schema.js +0 -62
- package/dist/src/features/share/schema/plugins/file-schema.js.map +0 -1
- package/dist/src/features/share/schema/plugins/row-created-at.schema.d.ts +0 -4
- package/dist/src/features/share/schema/plugins/row-created-at.schema.js +0 -15
- package/dist/src/features/share/schema/plugins/row-created-at.schema.js.map +0 -1
- package/dist/src/features/share/schema/plugins/row-created-id.schema.d.ts +0 -4
- package/dist/src/features/share/schema/plugins/row-created-id.schema.js +0 -15
- package/dist/src/features/share/schema/plugins/row-created-id.schema.js.map +0 -1
- package/dist/src/features/share/schema/plugins/row-hash.schema.d.ts +0 -4
- package/dist/src/features/share/schema/plugins/row-hash.schema.js +0 -15
- package/dist/src/features/share/schema/plugins/row-hash.schema.js.map +0 -1
- package/dist/src/features/share/schema/plugins/row-id.schema.d.ts +0 -4
- package/dist/src/features/share/schema/plugins/row-id.schema.js +0 -15
- package/dist/src/features/share/schema/plugins/row-id.schema.js.map +0 -1
- package/dist/src/features/share/schema/plugins/row-published-at.schema.d.ts +0 -4
- package/dist/src/features/share/schema/plugins/row-published-at.schema.js +0 -14
- package/dist/src/features/share/schema/plugins/row-published-at.schema.js.map +0 -1
- package/dist/src/features/share/schema/plugins/row-schema-hash.schema.d.ts +0 -4
- package/dist/src/features/share/schema/plugins/row-schema-hash.schema.js +0 -15
- package/dist/src/features/share/schema/plugins/row-schema-hash.schema.js.map +0 -1
- package/dist/src/features/share/schema/plugins/row-updated-at.schema.d.ts +0 -4
- package/dist/src/features/share/schema/plugins/row-updated-at.schema.js +0 -15
- package/dist/src/features/share/schema/plugins/row-updated-at.schema.js.map +0 -1
- package/dist/src/features/share/schema/plugins/row-version-id.schema.d.ts +0 -4
- package/dist/src/features/share/schema/plugins/row-version-id.schema.js +0 -15
- package/dist/src/features/share/schema/plugins/row-version-id.schema.js.map +0 -1
- package/dist/src/features/share/schema/shared-fields.d.ts +0 -11
- package/dist/src/features/share/schema/shared-fields.js +0 -15
- package/dist/src/features/share/schema/shared-fields.js.map +0 -1
- package/dist/src/features/share/schema/table-migrations-schema.d.ts +0 -2
- package/dist/src/features/share/schema/table-migrations-schema.js +0 -61
- package/dist/src/features/share/schema/table-migrations-schema.js.map +0 -1
- package/dist/src/features/share/schema/table-views-schema.d.ts +0 -2
- package/dist/src/features/share/schema/table-views-schema.js +0 -126
- package/dist/src/features/share/schema/table-views-schema.js.map +0 -1
- package/dist/src/features/share/types/row-with-context.types.d.ts +0 -9
- package/dist/src/features/share/types/row-with-context.types.js +0 -3
- package/dist/src/features/share/types/row-with-context.types.js.map +0 -1
- package/dist/src/features/share/types/table-with-context.types.d.ts +0 -6
- package/dist/src/features/share/types/table-with-context.types.js +0 -3
- package/dist/src/features/share/types/table-with-context.types.js.map +0 -1
- package/dist/src/features/share/utils/index.d.ts +0 -1
- package/dist/src/features/share/utils/index.js +0 -18
- package/dist/src/features/share/utils/index.js.map +0 -1
- package/dist/src/features/share/utils/sort-revisions/sort-revisions.d.ts +0 -6
- package/dist/src/features/share/utils/sort-revisions/sort-revisions.js +0 -37
- package/dist/src/features/share/utils/sort-revisions/sort-revisions.js.map +0 -1
- package/dist/src/features/share/utils/validateUrlLikeId/reserved-names.d.ts +0 -2
- package/dist/src/features/share/utils/validateUrlLikeId/reserved-names.js +0 -114
- package/dist/src/features/share/utils/validateUrlLikeId/reserved-names.js.map +0 -1
- package/dist/src/features/share/utils/validateUrlLikeId/validateBranchName.d.ts +0 -3
- package/dist/src/features/share/utils/validateUrlLikeId/validateBranchName.js +0 -18
- package/dist/src/features/share/utils/validateUrlLikeId/validateBranchName.js.map +0 -1
- package/dist/src/features/share/utils/validateUrlLikeId/validateJsonFieldName.d.ts +0 -2
- package/dist/src/features/share/utils/validateUrlLikeId/validateJsonFieldName.js +0 -13
- package/dist/src/features/share/utils/validateUrlLikeId/validateJsonFieldName.js.map +0 -1
- package/dist/src/features/share/utils/validateUrlLikeId/validateRowId.d.ts +0 -2
- package/dist/src/features/share/utils/validateUrlLikeId/validateRowId.js +0 -18
- package/dist/src/features/share/utils/validateUrlLikeId/validateRowId.js.map +0 -1
- package/dist/src/features/share/utils/validateUrlLikeId/validateTableId.d.ts +0 -3
- package/dist/src/features/share/utils/validateUrlLikeId/validateTableId.js +0 -24
- package/dist/src/features/share/utils/validateUrlLikeId/validateTableId.js.map +0 -1
- package/dist/src/features/share/utils/validateUrlLikeId/validateUrlLikeId.d.ts +0 -2
- package/dist/src/features/share/utils/validateUrlLikeId/validateUrlLikeId.js +0 -15
- package/dist/src/features/share/utils/validateUrlLikeId/validateUrlLikeId.js.map +0 -1
- package/dist/src/features/sub-schema/index.d.ts +0 -3
- package/dist/src/features/sub-schema/index.js +0 -20
- package/dist/src/features/sub-schema/index.js.map +0 -1
- package/dist/src/features/sub-schema/queries/handlers/__tests__/utils.d.ts +0 -22
- package/dist/src/features/sub-schema/queries/handlers/__tests__/utils.js +0 -143
- package/dist/src/features/sub-schema/queries/handlers/__tests__/utils.js.map +0 -1
- package/dist/src/features/sub-schema/queries/handlers/get-sub-schema-items.handler.d.ts +0 -21
- package/dist/src/features/sub-schema/queries/handlers/get-sub-schema-items.handler.js +0 -128
- package/dist/src/features/sub-schema/queries/handlers/get-sub-schema-items.handler.js.map +0 -1
- package/dist/src/features/sub-schema/queries/handlers/index.d.ts +0 -2
- package/dist/src/features/sub-schema/queries/handlers/index.js +0 -6
- package/dist/src/features/sub-schema/queries/handlers/index.js.map +0 -1
- package/dist/src/features/sub-schema/queries/impl/get-sub-schema-items.query.d.ts +0 -31
- package/dist/src/features/sub-schema/queries/impl/get-sub-schema-items.query.js +0 -10
- package/dist/src/features/sub-schema/queries/impl/get-sub-schema-items.query.js.map +0 -1
- package/dist/src/features/sub-schema/queries/impl/index.d.ts +0 -1
- package/dist/src/features/sub-schema/queries/impl/index.js +0 -18
- package/dist/src/features/sub-schema/queries/impl/index.js.map +0 -1
- package/dist/src/features/sub-schema/sub-schema-api.service.d.ts +0 -7
- package/dist/src/features/sub-schema/sub-schema-api.service.js +0 -29
- package/dist/src/features/sub-schema/sub-schema-api.service.js.map +0 -1
- package/dist/src/features/table/queries/handlers/get-count-rows-in-table.handler.d.ts +0 -8
- package/dist/src/features/table/queries/handlers/get-count-rows-in-table.handler.js +0 -33
- package/dist/src/features/table/queries/handlers/get-count-rows-in-table.handler.js.map +0 -1
- package/dist/src/features/table/queries/handlers/get-table-by-id.handler.d.ts +0 -20
- package/dist/src/features/table/queries/handlers/get-table-by-id.handler.js +0 -42
- package/dist/src/features/table/queries/handlers/get-table-by-id.handler.js.map +0 -1
- package/dist/src/features/table/queries/handlers/get-table.handler.d.ts +0 -14
- package/dist/src/features/table/queries/handlers/get-table.handler.js +0 -58
- package/dist/src/features/table/queries/handlers/get-table.handler.js.map +0 -1
- package/dist/src/features/table/queries/handlers/get-tables.handler.d.ts +0 -11
- package/dist/src/features/table/queries/handlers/get-tables.handler.js +0 -67
- package/dist/src/features/table/queries/handlers/get-tables.handler.js.map +0 -1
- package/dist/src/features/table/queries/handlers/index.d.ts +0 -10
- package/dist/src/features/table/queries/handlers/index.js +0 -24
- package/dist/src/features/table/queries/handlers/index.js.map +0 -1
- package/dist/src/features/table/queries/handlers/resolve-table-count-foreign-keys-by.handler.d.ts +0 -15
- package/dist/src/features/table/queries/handlers/resolve-table-count-foreign-keys-by.handler.js +0 -54
- package/dist/src/features/table/queries/handlers/resolve-table-count-foreign-keys-by.handler.js.map +0 -1
- package/dist/src/features/table/queries/handlers/resolve-table-count-foreign-keys-to.handler.d.ts +0 -14
- package/dist/src/features/table/queries/handlers/resolve-table-count-foreign-keys-to.handler.js +0 -53
- package/dist/src/features/table/queries/handlers/resolve-table-count-foreign-keys-to.handler.js.map +0 -1
- package/dist/src/features/table/queries/handlers/resolve-table-foreign-keys-by.handler.d.ts +0 -17
- package/dist/src/features/table/queries/handlers/resolve-table-foreign-keys-by.handler.js +0 -80
- package/dist/src/features/table/queries/handlers/resolve-table-foreign-keys-by.handler.js.map +0 -1
- package/dist/src/features/table/queries/handlers/resolve-table-foreign-keys-to.handler.d.ts +0 -16
- package/dist/src/features/table/queries/handlers/resolve-table-foreign-keys-to.handler.js +0 -80
- package/dist/src/features/table/queries/handlers/resolve-table-foreign-keys-to.handler.js.map +0 -1
- package/dist/src/features/table/queries/handlers/resolve-table-schema.handler.d.ts +0 -13
- package/dist/src/features/table/queries/handlers/resolve-table-schema.handler.js +0 -47
- package/dist/src/features/table/queries/handlers/resolve-table-schema.handler.js.map +0 -1
- package/dist/src/features/table/queries/impl/get-count-rows-in-table.query.d.ts +0 -10
- package/dist/src/features/table/queries/impl/get-count-rows-in-table.query.js +0 -10
- package/dist/src/features/table/queries/impl/get-count-rows-in-table.query.js.map +0 -1
- package/dist/src/features/table/queries/impl/get-table-by-id.query.d.ts +0 -10
- package/dist/src/features/table/queries/impl/get-table-by-id.query.js +0 -10
- package/dist/src/features/table/queries/impl/get-table-by-id.query.js.map +0 -1
- package/dist/src/features/table/queries/impl/get-table.query.d.ts +0 -13
- package/dist/src/features/table/queries/impl/get-table.query.js +0 -10
- package/dist/src/features/table/queries/impl/get-table.query.js.map +0 -1
- package/dist/src/features/table/queries/impl/get-tables.query.d.ts +0 -15
- package/dist/src/features/table/queries/impl/get-tables.query.js +0 -10
- package/dist/src/features/table/queries/impl/get-tables.query.js.map +0 -1
- package/dist/src/features/table/queries/impl/index.d.ts +0 -8
- package/dist/src/features/table/queries/impl/index.js +0 -25
- package/dist/src/features/table/queries/impl/index.js.map +0 -1
- package/dist/src/features/table/queries/impl/resolve-table-count-foreign-keys-by.query.d.ts +0 -12
- package/dist/src/features/table/queries/impl/resolve-table-count-foreign-keys-by.query.js +0 -10
- package/dist/src/features/table/queries/impl/resolve-table-count-foreign-keys-by.query.js.map +0 -1
- package/dist/src/features/table/queries/impl/resolve-table-count-foreign-keys-to.query.d.ts +0 -12
- package/dist/src/features/table/queries/impl/resolve-table-count-foreign-keys-to.query.js +0 -10
- package/dist/src/features/table/queries/impl/resolve-table-count-foreign-keys-to.query.js.map +0 -1
- package/dist/src/features/table/queries/impl/resolve-table-foreign-keys-by.query.d.ts +0 -18
- package/dist/src/features/table/queries/impl/resolve-table-foreign-keys-by.query.js +0 -10
- package/dist/src/features/table/queries/impl/resolve-table-foreign-keys-by.query.js.map +0 -1
- package/dist/src/features/table/queries/impl/resolve-table-foreign-keys-to.query.d.ts +0 -18
- package/dist/src/features/table/queries/impl/resolve-table-foreign-keys-to.query.js +0 -10
- package/dist/src/features/table/queries/impl/resolve-table-foreign-keys-to.query.js.map +0 -1
- package/dist/src/features/table/queries/impl/resolve-table-schema.query.d.ts +0 -13
- package/dist/src/features/table/queries/impl/resolve-table-schema.query.js +0 -10
- package/dist/src/features/table/queries/impl/resolve-table-schema.query.js.map +0 -1
- package/dist/src/features/table/queries/types/get-table-by-id.types.d.ts +0 -2
- package/dist/src/features/table/queries/types/get-table-by-id.types.js +0 -3
- package/dist/src/features/table/queries/types/get-table-by-id.types.js.map +0 -1
- package/dist/src/features/table/queries/types/get-table-rows.types.d.ts +0 -3
- package/dist/src/features/table/queries/types/get-table-rows.types.js +0 -3
- package/dist/src/features/table/queries/types/get-table-rows.types.js.map +0 -1
- package/dist/src/features/table/queries/types/get-table.types.d.ts +0 -2
- package/dist/src/features/table/queries/types/get-table.types.js +0 -3
- package/dist/src/features/table/queries/types/get-table.types.js.map +0 -1
- package/dist/src/features/table/queries/types/get-tables.types.d.ts +0 -3
- package/dist/src/features/table/queries/types/get-tables.types.js +0 -3
- package/dist/src/features/table/queries/types/get-tables.types.js.map +0 -1
- package/dist/src/features/table/queries/types/index.d.ts +0 -6
- package/dist/src/features/table/queries/types/index.js +0 -23
- package/dist/src/features/table/queries/types/index.js.map +0 -1
- package/dist/src/features/table/queries/types/resolve-table-foreign-keys-by.types.d.ts +0 -3
- package/dist/src/features/table/queries/types/resolve-table-foreign-keys-by.types.js +0 -3
- package/dist/src/features/table/queries/types/resolve-table-foreign-keys-by.types.js.map +0 -1
- package/dist/src/features/table/queries/types/resolve-table-foreign-keys-to.types.d.ts +0 -3
- package/dist/src/features/table/queries/types/resolve-table-foreign-keys-to.types.js +0 -3
- package/dist/src/features/table/queries/types/resolve-table-foreign-keys-to.types.js.map +0 -1
- package/dist/src/features/user/commands/handlers/index.d.ts +0 -3
- package/dist/src/features/user/commands/handlers/index.js +0 -20
- package/dist/src/features/user/commands/handlers/index.js.map +0 -1
- package/dist/src/features/user/queries/handlers/index.d.ts +0 -6
- package/dist/src/features/user/queries/handlers/index.js +0 -23
- package/dist/src/features/user/queries/handlers/index.js.map +0 -1
- package/dist/src/features/views/commands/handlers/index.d.ts +0 -3
- package/dist/src/features/views/commands/handlers/index.js +0 -21
- package/dist/src/features/views/commands/handlers/index.js.map +0 -1
- package/dist/src/features/views/commands/handlers/update-table-views.handler.d.ts +0 -25
- package/dist/src/features/views/commands/handlers/update-table-views.handler.js +0 -125
- package/dist/src/features/views/commands/handlers/update-table-views.handler.js.map +0 -1
- package/dist/src/features/views/commands/impl/index.d.ts +0 -1
- package/dist/src/features/views/commands/impl/index.js +0 -18
- package/dist/src/features/views/commands/impl/index.js.map +0 -1
- package/dist/src/features/views/commands/impl/update-table-views.command.d.ts +0 -11
- package/dist/src/features/views/commands/impl/update-table-views.command.js +0 -10
- package/dist/src/features/views/commands/impl/update-table-views.command.js.map +0 -1
- package/dist/src/features/views/index.d.ts +0 -6
- package/dist/src/features/views/index.js +0 -23
- package/dist/src/features/views/index.js.map +0 -1
- package/dist/src/features/views/queries/handlers/get-table-views.handler.d.ts +0 -13
- package/dist/src/features/views/queries/handlers/get-table-views.handler.js +0 -72
- package/dist/src/features/views/queries/handlers/get-table-views.handler.js.map +0 -1
- package/dist/src/features/views/queries/handlers/index.d.ts +0 -3
- package/dist/src/features/views/queries/handlers/index.js +0 -21
- package/dist/src/features/views/queries/handlers/index.js.map +0 -1
- package/dist/src/features/views/queries/impl/get-table-views.query.d.ts +0 -10
- package/dist/src/features/views/queries/impl/get-table-views.query.js +0 -10
- package/dist/src/features/views/queries/impl/get-table-views.query.js.map +0 -1
- package/dist/src/features/views/queries/impl/index.d.ts +0 -1
- package/dist/src/features/views/queries/impl/index.js +0 -18
- package/dist/src/features/views/queries/impl/index.js.map +0 -1
- package/dist/src/features/views/services/index.d.ts +0 -1
- package/dist/src/features/views/services/index.js +0 -18
- package/dist/src/features/views/services/index.js.map +0 -1
- package/dist/src/features/views/views-api.service.d.ts +0 -12
- package/dist/src/features/views/views-api.service.js +0 -38
- package/dist/src/features/views/views-api.service.js.map +0 -1
- package/dist/src/infrastructure/admin/index.d.ts +0 -0
- package/dist/src/infrastructure/admin/index.js +0 -1
- package/dist/src/infrastructure/admin/index.js.map +0 -1
- package/dist/src/infrastructure/configuration/queries/handlers/index.d.ts +0 -1
- package/dist/src/infrastructure/configuration/queries/handlers/index.js +0 -18
- package/dist/src/infrastructure/configuration/queries/handlers/index.js.map +0 -1
- package/dist/src/infrastructure/configuration/queries/impl/index.d.ts +0 -1
- package/dist/src/infrastructure/configuration/queries/impl/index.js +0 -18
- package/dist/src/infrastructure/configuration/queries/impl/index.js.map +0 -1
- package/dist/src/infrastructure/database/hash.service.d.ts +0 -4
- package/dist/src/infrastructure/database/hash.service.js +0 -14
- package/dist/src/infrastructure/database/hash.service.js.map +0 -1
- package/dist/src/infrastructure/database/id.service.d.ts +0 -3
- package/dist/src/infrastructure/database/id.service.js +0 -21
- package/dist/src/infrastructure/database/id.service.js.map +0 -1
- /package/dist/src/features/{draft → revision}/commands/impl/create-revision.command.js +0 -0
- /package/dist/src/features/{draft → revision}/commands/impl/revert-changes.command.js +0 -0
- /package/dist/src/features/{draft → row}/commands/impl/create-rows.command.js +0 -0
- /package/dist/src/features/{draft → row}/commands/impl/patch-rows.command.js +0 -0
- /package/dist/src/features/{draft → row}/commands/impl/remove-rows.command.js +0 -0
- /package/dist/src/features/{draft → row}/commands/impl/rename-row.command.js +0 -0
- /package/dist/src/features/{draft → row}/commands/impl/update-rows.command.js +0 -0
- /package/dist/src/features/{draft → table}/commands/impl/create-table.command.js +0 -0
- /package/dist/src/features/{draft → table}/commands/impl/remove-table.command.js +0 -0
- /package/dist/src/features/{draft → table}/commands/impl/rename-table.command.js +0 -0
- /package/dist/src/features/{draft → table}/commands/impl/update-table.command.js +0 -0
- /package/dist/src/{api/rest-api/table/dto/__tests__/utils.d.ts → testing/assertions/find-constraint.d.ts} +0 -0
- /package/dist/src/{__tests__/e2e/shared → testing/e2e}/helpers.d.ts +0 -0
- /package/dist/src/{__tests__/e2e/shared → testing/e2e}/index.d.ts +0 -0
- /package/dist/src/{__tests__/e2e/shared → testing/e2e}/index.js +0 -0
- /package/dist/src/{__tests__ → testing}/utils/file.d.ts +0 -0
- /package/dist/src/{__tests__ → testing}/utils/file.js +0 -0
- /package/dist/src/{__tests__ → testing}/utils/gql.d.ts +0 -0
- /package/dist/src/{__tests__ → testing}/utils/gql.js +0 -0
- /package/dist/src/{__tests__ → testing}/utils/queryTest.d.ts +0 -0
- /package/dist/src/{__tests__ → testing}/utils/queryTest.js +0 -0
|
@@ -22,11 +22,14 @@ const optional_gql_jwt_auth_guard_service_1 = require("../../../features/auth/gu
|
|
|
22
22
|
const organization_guard_1 = require("../../../features/auth/guards/organization.guard");
|
|
23
23
|
const permission_params_1 = require("../../../features/auth/guards/permission-params");
|
|
24
24
|
const current_user_decorator_1 = require("../current-user.decorator");
|
|
25
|
-
const
|
|
25
|
+
const add_user_to_organization_input_1 = require("./inputs/add-user-to-organization.input");
|
|
26
|
+
const get_organization_input_1 = require("./inputs/get-organization.input");
|
|
27
|
+
const get_users_organization_input_1 = require("./inputs/get-users-organization.input");
|
|
28
|
+
const remove_user_from_organization_input_1 = require("./inputs/remove-user-from-organization.input");
|
|
26
29
|
const users_organization_connection_1 = require("./model/users-organization.connection");
|
|
27
|
-
const
|
|
30
|
+
const create_project_input_1 = require("../project/inputs/create-project.input");
|
|
28
31
|
const get_projects_input_1 = require("../project/inputs/get-projects.input");
|
|
29
|
-
const
|
|
32
|
+
const project_model_1 = require("../project/model/project.model");
|
|
30
33
|
const projects_connection_1 = require("../project/model/projects.connection");
|
|
31
34
|
const organization_api_service_1 = require("../../../features/organization/organization-api.service");
|
|
32
35
|
const project_api_service_1 = require("../../../features/project/project-api.service");
|
|
@@ -37,6 +40,9 @@ let OrganizationResolver = class OrganizationResolver {
|
|
|
37
40
|
this.projectApi = projectApi;
|
|
38
41
|
this.userApi = userApi;
|
|
39
42
|
}
|
|
43
|
+
organization(data) {
|
|
44
|
+
return this.organizationApi.organization(data);
|
|
45
|
+
}
|
|
40
46
|
projects(data, user) {
|
|
41
47
|
return this.organizationApi.getProjectsByOrganizationId({
|
|
42
48
|
...data,
|
|
@@ -66,6 +72,18 @@ let OrganizationResolver = class OrganizationResolver {
|
|
|
66
72
|
}
|
|
67
73
|
};
|
|
68
74
|
exports.OrganizationResolver = OrganizationResolver;
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, common_1.UseGuards)(gql_jwt_auth_guard_service_1.GqlJwtAuthGuard, organization_guard_1.GQLOrganizationGuard),
|
|
77
|
+
(0, permission_params_1.PermissionParams)({
|
|
78
|
+
action: consts_1.PermissionAction.read,
|
|
79
|
+
subject: consts_1.PermissionSubject.User,
|
|
80
|
+
}),
|
|
81
|
+
(0, graphql_1.Query)(() => organization_model_1.OrganizationModel),
|
|
82
|
+
__param(0, (0, graphql_1.Args)('data')),
|
|
83
|
+
__metadata("design:type", Function),
|
|
84
|
+
__metadata("design:paramtypes", [get_organization_input_1.GetOrganizationInput]),
|
|
85
|
+
__metadata("design:returntype", void 0)
|
|
86
|
+
], OrganizationResolver.prototype, "organization", null);
|
|
69
87
|
__decorate([
|
|
70
88
|
(0, common_1.UseGuards)(optional_gql_jwt_auth_guard_service_1.OptionalGqlJwtAuthGuard, organization_guard_1.GQLOrganizationGuard),
|
|
71
89
|
(0, permission_params_1.PermissionParams)({
|
|
@@ -88,7 +106,7 @@ __decorate([
|
|
|
88
106
|
(0, graphql_1.Query)(() => users_organization_connection_1.UsersOrganizationConnection),
|
|
89
107
|
__param(0, (0, graphql_1.Args)('data')),
|
|
90
108
|
__metadata("design:type", Function),
|
|
91
|
-
__metadata("design:paramtypes", [
|
|
109
|
+
__metadata("design:paramtypes", [get_users_organization_input_1.GetUsersOrganizationInput]),
|
|
92
110
|
__metadata("design:returntype", void 0)
|
|
93
111
|
], OrganizationResolver.prototype, "usersOrganization", null);
|
|
94
112
|
__decorate([
|
|
@@ -97,10 +115,10 @@ __decorate([
|
|
|
97
115
|
action: consts_1.PermissionAction.create,
|
|
98
116
|
subject: consts_1.PermissionSubject.Project,
|
|
99
117
|
}),
|
|
100
|
-
(0, graphql_1.Mutation)(() =>
|
|
118
|
+
(0, graphql_1.Mutation)(() => project_model_1.ProjectModel),
|
|
101
119
|
__param(0, (0, graphql_1.Args)('data')),
|
|
102
120
|
__metadata("design:type", Function),
|
|
103
|
-
__metadata("design:paramtypes", [
|
|
121
|
+
__metadata("design:paramtypes", [create_project_input_1.CreateProjectInput]),
|
|
104
122
|
__metadata("design:returntype", void 0)
|
|
105
123
|
], OrganizationResolver.prototype, "createProject", null);
|
|
106
124
|
__decorate([
|
|
@@ -112,7 +130,7 @@ __decorate([
|
|
|
112
130
|
(0, graphql_1.Mutation)(() => Boolean),
|
|
113
131
|
__param(0, (0, graphql_1.Args)('data')),
|
|
114
132
|
__metadata("design:type", Function),
|
|
115
|
-
__metadata("design:paramtypes", [
|
|
133
|
+
__metadata("design:paramtypes", [add_user_to_organization_input_1.AddUserToOrganizationInput]),
|
|
116
134
|
__metadata("design:returntype", void 0)
|
|
117
135
|
], OrganizationResolver.prototype, "addUserToOrganization", null);
|
|
118
136
|
__decorate([
|
|
@@ -124,7 +142,7 @@ __decorate([
|
|
|
124
142
|
(0, graphql_1.Mutation)(() => Boolean),
|
|
125
143
|
__param(0, (0, graphql_1.Args)('data')),
|
|
126
144
|
__metadata("design:type", Function),
|
|
127
|
-
__metadata("design:paramtypes", [
|
|
145
|
+
__metadata("design:paramtypes", [remove_user_from_organization_input_1.RemoveUserFromOrganizationInput]),
|
|
128
146
|
__metadata("design:returntype", void 0)
|
|
129
147
|
], OrganizationResolver.prototype, "removeUserFromOrganization", null);
|
|
130
148
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.resolver.js","sourceRoot":"","sources":["../../../../../src/api/graphql-api/organization/organization.resolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA2C;AAC3C,6CAOyB;AACzB,mEAA8F;AAC9F,0DAA+E;AAC/E,6GAA0F;AAC1F,+HAA2G;AAC3G,yFAAmF;AACnF,uFAA8E;AAE9E,sEAAyE;AACzE,
|
|
1
|
+
{"version":3,"file":"organization.resolver.js","sourceRoot":"","sources":["../../../../../src/api/graphql-api/organization/organization.resolver.ts"],"names":[],"mappings":"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"}
|
|
@@ -2,6 +2,7 @@ import { BranchesConnection, BranchModel } from '../../../../api/graphql-api/bra
|
|
|
2
2
|
import { OrganizationModel } from '../../../../api/graphql-api/organization/model/organization.model';
|
|
3
3
|
import { UsersProjectModel } from '../../../../api/graphql-api/project/model/users-project.model';
|
|
4
4
|
import { Relation } from '../../../../api/graphql-api/share/model/relation.type';
|
|
5
|
+
import { UsageMetricModel } from '../../../../api/graphql-api/billing/models/usage.model';
|
|
5
6
|
export declare class ProjectModel {
|
|
6
7
|
id: string;
|
|
7
8
|
organizationId: string;
|
|
@@ -12,4 +13,5 @@ export declare class ProjectModel {
|
|
|
12
13
|
rootBranch: Relation<BranchModel>;
|
|
13
14
|
allBranches: Relation<BranchesConnection>;
|
|
14
15
|
userProject?: UsersProjectModel;
|
|
16
|
+
endpointUsage?: Relation<UsageMetricModel | null>;
|
|
15
17
|
}
|
|
@@ -15,6 +15,7 @@ const graphql_scalars_1 = require("graphql-scalars");
|
|
|
15
15
|
const branch_model_1 = require("../../branch/model/branch.model");
|
|
16
16
|
const organization_model_1 = require("../../organization/model/organization.model");
|
|
17
17
|
const users_project_model_1 = require("./users-project.model");
|
|
18
|
+
const usage_model_1 = require("../../billing/models/usage.model");
|
|
18
19
|
let ProjectModel = class ProjectModel {
|
|
19
20
|
};
|
|
20
21
|
exports.ProjectModel = ProjectModel;
|
|
@@ -54,6 +55,10 @@ __decorate([
|
|
|
54
55
|
(0, graphql_1.Field)(() => users_project_model_1.UsersProjectModel, { nullable: true }),
|
|
55
56
|
__metadata("design:type", users_project_model_1.UsersProjectModel)
|
|
56
57
|
], ProjectModel.prototype, "userProject", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, graphql_1.Field)(() => usage_model_1.UsageMetricModel, { nullable: true }),
|
|
60
|
+
__metadata("design:type", Object)
|
|
61
|
+
], ProjectModel.prototype, "endpointUsage", void 0);
|
|
57
62
|
exports.ProjectModel = ProjectModel = __decorate([
|
|
58
63
|
(0, graphql_1.ObjectType)()
|
|
59
64
|
], ProjectModel);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.model.js","sourceRoot":"","sources":["../../../../../../src/api/graphql-api/project/model/project.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAoD;AACpD,qDAAmD;AACnD,kEAGuD;AACvD,oFAA8F;AAC9F,+DAA0F;
|
|
1
|
+
{"version":3,"file":"project.model.js","sourceRoot":"","sources":["../../../../../../src/api/graphql-api/project/model/project.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAoD;AACpD,qDAAmD;AACnD,kEAGuD;AACvD,oFAA8F;AAC9F,+DAA0F;AAE1F,kEAAkF;AAG3E,IAAM,YAAY,GAAlB,MAAM,YAAY;CA8BxB,CAAA;AA9BY,oCAAY;AAEvB;IADC,IAAA,eAAK,GAAE;;wCACG;AAGX;IADC,IAAA,eAAK,GAAE;;oDACe;AAGvB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,kCAAgB,CAAC;8BACnB,IAAI;+CAAC;AAGhB;IADC,IAAA,eAAK,GAAE;;0CACK;AAGb;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;8CACH;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,sCAAiB,CAAC;8BACjB,sCAAiB;kDAAC;AAGhC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;;gDACS;AAGlC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAkB,CAAC;;iDACU;AAG1C;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,uCAAiB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACrC,uCAAiB;iDAAC;AAGhC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,8BAAgB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACA;uBA7BvC,YAAY;IADxB,IAAA,oBAAU,GAAE;GACA,YAAY,CA8BxB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProjectModel } from '../../../../api/graphql-api/project/model/project.model';
|
|
2
|
-
declare const ProjectsConnection_base: import("@nestjs/common").Type<import("
|
|
2
|
+
declare const ProjectsConnection_base: import("@nestjs/common").Type<import("@revisium/engine").IPaginatedType<ProjectModel>>;
|
|
3
3
|
export declare class ProjectsConnection extends ProjectsConnection_base {
|
|
4
4
|
}
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UsersProjectModel } from '../../../../api/graphql-api/project/model/users-project.model';
|
|
2
|
-
declare const UsersProjectConnection_base: import("@nestjs/common").Type<import("
|
|
2
|
+
declare const UsersProjectConnection_base: import("@nestjs/common").Type<import("@revisium/engine").IPaginatedType<UsersProjectModel>>;
|
|
3
3
|
export declare class UsersProjectConnection extends UsersProjectConnection_base {
|
|
4
4
|
}
|
|
5
5
|
export {};
|
|
@@ -5,11 +5,16 @@ import { IOptionalAuthUser } from '../../../features/auth/types';
|
|
|
5
5
|
import { OrganizationApiService } from '../../../features/organization/organization-api.service';
|
|
6
6
|
import { ProjectApiService } from '../../../features/project/project-api.service';
|
|
7
7
|
import { UserApiService } from '../../../features/user/user-api.service';
|
|
8
|
+
import { IBillingGraphqlService } from '../../../features/billing/billing-graphql.interface';
|
|
9
|
+
type ProjectResolverContext = {
|
|
10
|
+
endpointUsageLimitByOrg?: Map<string, Promise<number | null | undefined>>;
|
|
11
|
+
};
|
|
8
12
|
export declare class ProjectResolver {
|
|
9
13
|
private readonly projectApi;
|
|
10
14
|
private readonly organizationApi;
|
|
11
15
|
private readonly userApi;
|
|
12
|
-
|
|
16
|
+
private readonly billingService;
|
|
17
|
+
constructor(projectApi: ProjectApiService, organizationApi: OrganizationApiService, userApi: UserApiService, billingService: IBillingGraphqlService);
|
|
13
18
|
project(data: GetProjectInput): Promise<{
|
|
14
19
|
id: string;
|
|
15
20
|
createdAt: Date;
|
|
@@ -37,4 +42,7 @@ export declare class ProjectResolver {
|
|
|
37
42
|
removeUserFromProject(data: RemoveUserFromProjectInput): Promise<boolean>;
|
|
38
43
|
updateUserProjectRole(data: UpdateUserProjectRoleInput): Promise<boolean>;
|
|
39
44
|
userProject(parent: ProjectModel, user: IOptionalAuthUser): Promise<import("../../../features/user/queries/impl").GetUserProjectQueryReturnType> | null;
|
|
45
|
+
endpointUsage(parent: ProjectModel, ctx: ProjectResolverContext): Promise<import("../../../features/billing/billing-graphql.interface").UsageMetricResult | null>;
|
|
46
|
+
private getEndpointUsageLimitForOrganization;
|
|
40
47
|
}
|
|
48
|
+
export {};
|
|
@@ -23,16 +23,19 @@ const permission_params_1 = require("../../../features/auth/guards/permission-pa
|
|
|
23
23
|
const project_guard_1 = require("../../../features/auth/guards/project.guard");
|
|
24
24
|
const inputs_1 = require("./inputs");
|
|
25
25
|
const get_project_branches_input_1 = require("./inputs/get-project-branches.input");
|
|
26
|
+
const usage_model_1 = require("../billing/models/usage.model");
|
|
26
27
|
const model_1 = require("./model");
|
|
27
28
|
const users_project_connection_1 = require("./model/users-project.connection");
|
|
28
29
|
const organization_api_service_1 = require("../../../features/organization/organization-api.service");
|
|
29
30
|
const project_api_service_1 = require("../../../features/project/project-api.service");
|
|
30
31
|
const user_api_service_1 = require("../../../features/user/user-api.service");
|
|
32
|
+
const billing_graphql_interface_1 = require("../../../features/billing/billing-graphql.interface");
|
|
31
33
|
let ProjectResolver = class ProjectResolver {
|
|
32
|
-
constructor(projectApi, organizationApi, userApi) {
|
|
34
|
+
constructor(projectApi, organizationApi, userApi, billingService) {
|
|
33
35
|
this.projectApi = projectApi;
|
|
34
36
|
this.organizationApi = organizationApi;
|
|
35
37
|
this.userApi = userApi;
|
|
38
|
+
this.billingService = billingService;
|
|
36
39
|
}
|
|
37
40
|
project(data) {
|
|
38
41
|
return this.projectApi.getProject(data);
|
|
@@ -78,6 +81,23 @@ let ProjectResolver = class ProjectResolver {
|
|
|
78
81
|
userId: user.userId,
|
|
79
82
|
});
|
|
80
83
|
}
|
|
84
|
+
async endpointUsage(parent, ctx) {
|
|
85
|
+
const endpointLimit = await this.getEndpointUsageLimitForOrganization(parent.organizationId, ctx);
|
|
86
|
+
if (endpointLimit === undefined) {
|
|
87
|
+
return null;
|
|
88
|
+
}
|
|
89
|
+
return this.billingService.getProjectEndpointUsage(parent.organizationId, parent.id, { endpointLimit });
|
|
90
|
+
}
|
|
91
|
+
getEndpointUsageLimitForOrganization(organizationId, ctx) {
|
|
92
|
+
ctx.endpointUsageLimitByOrg ??= new Map();
|
|
93
|
+
const existing = ctx.endpointUsageLimitByOrg.get(organizationId);
|
|
94
|
+
if (existing) {
|
|
95
|
+
return existing;
|
|
96
|
+
}
|
|
97
|
+
const limitPromise = this.billingService.getProjectEndpointLimit(organizationId);
|
|
98
|
+
ctx.endpointUsageLimitByOrg.set(organizationId, limitPromise);
|
|
99
|
+
return limitPromise;
|
|
100
|
+
}
|
|
81
101
|
};
|
|
82
102
|
exports.ProjectResolver = ProjectResolver;
|
|
83
103
|
__decorate([
|
|
@@ -191,14 +211,23 @@ __decorate([
|
|
|
191
211
|
__metadata("design:paramtypes", [model_1.ProjectModel, Object]),
|
|
192
212
|
__metadata("design:returntype", void 0)
|
|
193
213
|
], ProjectResolver.prototype, "userProject", null);
|
|
214
|
+
__decorate([
|
|
215
|
+
(0, graphql_1.ResolveField)(() => usage_model_1.UsageMetricModel, { nullable: true }),
|
|
216
|
+
__param(0, (0, graphql_1.Parent)()),
|
|
217
|
+
__param(1, (0, graphql_1.Context)()),
|
|
218
|
+
__metadata("design:type", Function),
|
|
219
|
+
__metadata("design:paramtypes", [model_1.ProjectModel, Object]),
|
|
220
|
+
__metadata("design:returntype", Promise)
|
|
221
|
+
], ProjectResolver.prototype, "endpointUsage", null);
|
|
194
222
|
exports.ProjectResolver = ProjectResolver = __decorate([
|
|
195
223
|
(0, permission_params_1.PermissionParams)({
|
|
196
224
|
action: consts_1.PermissionAction.read,
|
|
197
225
|
subject: consts_1.PermissionSubject.Project,
|
|
198
226
|
}),
|
|
199
227
|
(0, graphql_1.Resolver)(() => model_1.ProjectModel),
|
|
228
|
+
__param(3, (0, common_1.Inject)(billing_graphql_interface_1.BILLING_GRAPHQL_SERVICE_TOKEN)),
|
|
200
229
|
__metadata("design:paramtypes", [project_api_service_1.ProjectApiService,
|
|
201
230
|
organization_api_service_1.OrganizationApiService,
|
|
202
|
-
user_api_service_1.UserApiService])
|
|
231
|
+
user_api_service_1.UserApiService, Object])
|
|
203
232
|
], ProjectResolver);
|
|
204
233
|
//# sourceMappingURL=project.resolver.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.resolver.js","sourceRoot":"","sources":["../../../../../src/api/graphql-api/project/project.resolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"project.resolver.js","sourceRoot":"","sources":["../../../../../src/api/graphql-api/project/project.resolver.ts"],"names":[],"mappings":"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"}
|
|
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.registerGraphqlEnums = void 0;
|
|
4
4
|
const graphql_1 = require("@nestjs/graphql");
|
|
5
5
|
const client_1 = require("../../__generated__/client");
|
|
6
|
+
const api_key_type_enum_1 = require("./api-key/model/api-key-type.enum");
|
|
7
|
+
const billing_status_enum_1 = require("./billing/models/billing-status.enum");
|
|
6
8
|
const patch_row_input_1 = require("./draft/input/patch-row.input");
|
|
7
9
|
const inputs_1 = require("./row/inputs");
|
|
8
10
|
const consts_1 = require("../../features/auth/consts");
|
|
@@ -24,6 +26,8 @@ const registerGraphqlEnums = () => {
|
|
|
24
26
|
(0, graphql_1.registerEnumType)(consts_1.UserOrganizationRoles, { name: 'UserOrganizationRoles' });
|
|
25
27
|
(0, graphql_1.registerEnumType)(consts_1.UserProjectRoles, { name: 'UserProjectRoles' });
|
|
26
28
|
(0, graphql_1.registerEnumType)(model_1.EndpointType, { name: 'EndpointType' });
|
|
29
|
+
(0, graphql_1.registerEnumType)(billing_status_enum_1.BillingStatus, { name: 'BillingStatus' });
|
|
30
|
+
(0, graphql_1.registerEnumType)(api_key_type_enum_1.ApiKeyTypeEnum, { name: 'ApiKeyType' });
|
|
27
31
|
};
|
|
28
32
|
exports.registerGraphqlEnums = registerGraphqlEnums;
|
|
29
33
|
//# sourceMappingURL=registerGraphqlEnums.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerGraphqlEnums.js","sourceRoot":"","sources":["../../../../src/api/graphql-api/registerGraphqlEnums.ts"],"names":[],"mappings":";;;AAAA,6CAAmD;AACnD,uDAAkD;AAClD,mEAA6E;AAC7E,yCAOwC;AACxC,uDAIkC;AAClC,4CAAkE;AAE3D,MAAM,oBAAoB,GAAG,GAAG,EAAE;IACvC,IAAA,0BAAgB,EAAC,qBAAY,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC;IACzD,IAAA,0BAAgB,EAAC,sBAAa,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC,CAAC;IAC3D,IAAA,0BAAgB,EAAC,6BAAoB,EAAE,EAAE,IAAI,EAAE,sBAAsB,EAAE,CAAC,CAAC;IACzE,IAAA,0BAAgB,EAAC,mBAAU,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;IACrD,IAAA,0BAAgB,EAAC,iBAAQ,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAC;IACjD,IAAA,0BAAgB,EAAC,uBAAc,EAAE;QAC/B,IAAI,EAAE,gBAAgB;QACtB,WAAW,EAAE,gDAAgD;KAC9D,CAAC,CAAC;IACH,IAAA,0BAAgB,EAAC,eAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,CAAC;IAC1D,IAAA,0BAAgB,EAAC,eAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,CAAC;IAC1D,IAAA,0BAAgB,EAAC,4BAAU,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;IACrD,IAAA,0BAAgB,EAAC,wBAAe,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC,CAAC;IAC9D,IAAA,0BAAgB,EAAC,8BAAqB,EAAE,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC,CAAC;IAC3E,IAAA,0BAAgB,EAAC,yBAAgB,EAAE,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC,CAAC;IACjE,IAAA,0BAAgB,EAAC,oBAAY,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC;AAC3D,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"registerGraphqlEnums.js","sourceRoot":"","sources":["../../../../src/api/graphql-api/registerGraphqlEnums.ts"],"names":[],"mappings":";;;AAAA,6CAAmD;AACnD,uDAAkD;AAClD,yEAAqF;AACrF,8EAAuF;AACvF,mEAA6E;AAC7E,yCAOwC;AACxC,uDAIkC;AAClC,4CAAkE;AAE3D,MAAM,oBAAoB,GAAG,GAAG,EAAE;IACvC,IAAA,0BAAgB,EAAC,qBAAY,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC;IACzD,IAAA,0BAAgB,EAAC,sBAAa,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC,CAAC;IAC3D,IAAA,0BAAgB,EAAC,6BAAoB,EAAE,EAAE,IAAI,EAAE,sBAAsB,EAAE,CAAC,CAAC;IACzE,IAAA,0BAAgB,EAAC,mBAAU,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;IACrD,IAAA,0BAAgB,EAAC,iBAAQ,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAC;IACjD,IAAA,0BAAgB,EAAC,uBAAc,EAAE;QAC/B,IAAI,EAAE,gBAAgB;QACtB,WAAW,EAAE,gDAAgD;KAC9D,CAAC,CAAC;IACH,IAAA,0BAAgB,EAAC,eAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,CAAC;IAC1D,IAAA,0BAAgB,EAAC,eAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,CAAC;IAC1D,IAAA,0BAAgB,EAAC,4BAAU,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;IACrD,IAAA,0BAAgB,EAAC,wBAAe,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC,CAAC;IAC9D,IAAA,0BAAgB,EAAC,8BAAqB,EAAE,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC,CAAC;IAC3E,IAAA,0BAAgB,EAAC,yBAAgB,EAAE,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC,CAAC;IACjE,IAAA,0BAAgB,EAAC,oBAAY,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC;IACzD,IAAA,0BAAgB,EAAC,mCAAa,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC,CAAC;IAC3D,IAAA,0BAAgB,EAAC,kCAAc,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;AAC3D,CAAC,CAAC;AAnBW,QAAA,oBAAoB,wBAmB/B"}
|
|
@@ -1,27 +1,10 @@
|
|
|
1
|
-
import { BranchApiService } from '../../../features/branch/branch-api.service';
|
|
2
1
|
import { ChildBranchModel } from '../../../api/graphql-api/revision/model/child-branch.model';
|
|
3
|
-
import {
|
|
2
|
+
import { BranchApiService } from '../../../features/branch/branch-api.service';
|
|
3
|
+
import { RevisionsApiService } from '../../../features/revision/revisions-api.service';
|
|
4
4
|
export declare class ChildBranchResolver {
|
|
5
|
-
private readonly
|
|
6
|
-
private readonly
|
|
7
|
-
constructor(
|
|
8
|
-
branch(parent: ChildBranchModel): Promise<
|
|
9
|
-
|
|
10
|
-
createdAt: Date;
|
|
11
|
-
name: string;
|
|
12
|
-
projectId: string;
|
|
13
|
-
isRoot: boolean;
|
|
14
|
-
}>;
|
|
15
|
-
revision(parent: ChildBranchModel): Promise<{
|
|
16
|
-
id: string;
|
|
17
|
-
createdAt: Date;
|
|
18
|
-
sequence: number;
|
|
19
|
-
comment: string;
|
|
20
|
-
isHead: boolean;
|
|
21
|
-
isDraft: boolean;
|
|
22
|
-
isStart: boolean;
|
|
23
|
-
hasChanges: boolean;
|
|
24
|
-
branchId: string;
|
|
25
|
-
parentId: string | null;
|
|
26
|
-
}>;
|
|
5
|
+
private readonly branches;
|
|
6
|
+
private readonly revisions;
|
|
7
|
+
constructor(branches: BranchApiService, revisions: RevisionsApiService);
|
|
8
|
+
branch(parent: ChildBranchModel): Promise<import("@revisium/engine").Branch>;
|
|
9
|
+
revision(parent: ChildBranchModel): Promise<import("@revisium/engine").Revision>;
|
|
27
10
|
}
|
|
@@ -14,19 +14,19 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.ChildBranchResolver = void 0;
|
|
16
16
|
const graphql_1 = require("@nestjs/graphql");
|
|
17
|
-
const branch_api_service_1 = require("../../../features/branch/branch-api.service");
|
|
18
17
|
const child_branch_model_1 = require("./model/child-branch.model");
|
|
19
|
-
const
|
|
18
|
+
const branch_api_service_1 = require("../../../features/branch/branch-api.service");
|
|
19
|
+
const revisions_api_service_1 = require("../../../features/revision/revisions-api.service");
|
|
20
20
|
let ChildBranchResolver = class ChildBranchResolver {
|
|
21
|
-
constructor(
|
|
22
|
-
this.
|
|
23
|
-
this.
|
|
21
|
+
constructor(branches, revisions) {
|
|
22
|
+
this.branches = branches;
|
|
23
|
+
this.revisions = revisions;
|
|
24
24
|
}
|
|
25
25
|
branch(parent) {
|
|
26
|
-
return this.
|
|
26
|
+
return this.branches.getBranchById(parent.branch.id);
|
|
27
27
|
}
|
|
28
28
|
revision(parent) {
|
|
29
|
-
return this.
|
|
29
|
+
return this.revisions.getRevision({ revisionId: parent.revision.id });
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
exports.ChildBranchResolver = ChildBranchResolver;
|
|
@@ -47,6 +47,6 @@ __decorate([
|
|
|
47
47
|
exports.ChildBranchResolver = ChildBranchResolver = __decorate([
|
|
48
48
|
(0, graphql_1.Resolver)(() => child_branch_model_1.ChildBranchModel),
|
|
49
49
|
__metadata("design:paramtypes", [branch_api_service_1.BranchApiService,
|
|
50
|
-
|
|
50
|
+
revisions_api_service_1.RevisionsApiService])
|
|
51
51
|
], ChildBranchResolver);
|
|
52
52
|
//# sourceMappingURL=child-branch.resolver.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"child-branch.resolver.js","sourceRoot":"","sources":["../../../../../src/api/graphql-api/revision/child-branch.resolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,6CAAiE;AACjE,oFAA0E;AAC1E,
|
|
1
|
+
{"version":3,"file":"child-branch.resolver.js","sourceRoot":"","sources":["../../../../../src/api/graphql-api/revision/child-branch.resolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,6CAAiE;AACjE,mEAAyF;AACzF,oFAA0E;AAC1E,4FAAkF;AAG3E,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAC9B,YACmB,QAA0B,EAC1B,SAA8B;QAD9B,aAAQ,GAAR,QAAQ,CAAkB;QAC1B,cAAS,GAAT,SAAS,CAAqB;IAC9C,CAAC;IAGJ,MAAM,CAAW,MAAwB;QACvC,OAAO,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvD,CAAC;IAGD,QAAQ,CAAW,MAAwB;QACzC,OAAO,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,EAAE,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC,CAAC;IACxE,CAAC;CACF,CAAA;AAfY,kDAAmB;AAO9B;IADC,IAAA,sBAAY,GAAE;IACP,WAAA,IAAA,gBAAM,GAAE,CAAA;;qCAAS,qCAAgB;;iDAExC;AAGD;IADC,IAAA,sBAAY,GAAE;IACL,WAAA,IAAA,gBAAM,GAAE,CAAA;;qCAAS,qCAAgB;;mDAE1C;8BAdU,mBAAmB;IAD/B,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,qCAAgB,CAAC;qCAGF,qCAAgB;QACf,2CAAmB;GAHtC,mBAAmB,CAe/B"}
|
|
@@ -23,7 +23,7 @@ export declare class RevisionModel {
|
|
|
23
23
|
migrations: Prisma.JsonValue[];
|
|
24
24
|
changes: RevisionChangesModel;
|
|
25
25
|
}
|
|
26
|
-
declare const RevisionConnection_base: import("@nestjs/common").Type<import("
|
|
26
|
+
declare const RevisionConnection_base: import("@nestjs/common").Type<import("@revisium/engine").IPaginatedType<RevisionModel>>;
|
|
27
27
|
export declare class RevisionConnection extends RevisionConnection_base {
|
|
28
28
|
}
|
|
29
29
|
export {};
|
|
@@ -1,54 +1,26 @@
|
|
|
1
|
-
import { DraftApiService } from '../../../features/draft/draft-api.service';
|
|
2
1
|
import { ApplyMigrationsInput } from '../../../api/graphql-api/revision/inputs/apply-migrations.input';
|
|
3
2
|
import { CreateRevisionInput } from '../../../api/graphql-api/revision/inputs/create-revision.input';
|
|
4
3
|
import { GetRevisionTablesInput } from '../../../api/graphql-api/revision/inputs/get-revision-tables.input';
|
|
5
4
|
import { GetRevisionInput } from '../../../api/graphql-api/revision/inputs/get-revision.input';
|
|
6
5
|
import { RevisionModel } from '../../../api/graphql-api/revision/model/revision.model';
|
|
7
|
-
import { RevisionsApiService } from '../../../features/revision';
|
|
8
|
-
import {
|
|
6
|
+
import { RevisionsApiService } from '../../../features/revision/revisions-api.service';
|
|
7
|
+
import { ProjectApiService } from '../../../features/project/project-api.service';
|
|
8
|
+
import { TableApiService } from '../../../features/table/table-api.service';
|
|
9
9
|
export declare class RevisionResolver {
|
|
10
10
|
private readonly revisionApi;
|
|
11
|
-
private readonly
|
|
12
|
-
private readonly
|
|
13
|
-
constructor(revisionApi: RevisionsApiService,
|
|
14
|
-
revision(data: GetRevisionInput): Promise<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
children(revision: RevisionModel): Promise<import("../../../features/revision/queries/impl").GetChildrenByRevisionQueryReturnType>;
|
|
27
|
-
parent(revision: RevisionModel): Promise<import("../../../features/revision/queries/impl").ResolveParentByRevisionQueryReturnType>;
|
|
28
|
-
child(revision: RevisionModel): Promise<import("../../../features/revision/queries/impl").ResolveChildByRevisionQueryReturnType>;
|
|
29
|
-
childBranches(revision: RevisionModel): Promise<import("../../../features/revision/queries/impl").ResolveChildBranchesByRevisionQueryReturnType>;
|
|
30
|
-
tables(revision: RevisionModel, data: GetRevisionTablesInput): Promise<import("../../../features/revision/queries/types").GetRevisionTablesReturnType>;
|
|
31
|
-
branch(revision: RevisionModel): Promise<{
|
|
32
|
-
id: string;
|
|
33
|
-
createdAt: Date;
|
|
34
|
-
name: string;
|
|
35
|
-
projectId: string;
|
|
36
|
-
isRoot: boolean;
|
|
37
|
-
}>;
|
|
38
|
-
endpoints(revision: RevisionModel): Promise<import("../../../features/revision/queries/types").GetEndpointsByRevisionId>;
|
|
39
|
-
migrations(revision: RevisionModel): Promise<import("../../../features/revision/queries/impl").GetMigrationsQueryReturnType>;
|
|
40
|
-
changes(revision: RevisionModel): Promise<import("../../../features/revision-changes/types").RevisionChanges>;
|
|
41
|
-
createRevision(data: CreateRevisionInput): Promise<{
|
|
42
|
-
id: string;
|
|
43
|
-
createdAt: Date;
|
|
44
|
-
sequence: number;
|
|
45
|
-
comment: string;
|
|
46
|
-
isHead: boolean;
|
|
47
|
-
isDraft: boolean;
|
|
48
|
-
isStart: boolean;
|
|
49
|
-
hasChanges: boolean;
|
|
50
|
-
branchId: string;
|
|
51
|
-
parentId: string | null;
|
|
52
|
-
}>;
|
|
53
|
-
applyMigrations(data: ApplyMigrationsInput): Promise<import("../../../features/draft/commands/impl/migration").ApplyMigrationCommandReturnType>;
|
|
11
|
+
private readonly projectApi;
|
|
12
|
+
private readonly coreTables;
|
|
13
|
+
constructor(revisionApi: RevisionsApiService, projectApi: ProjectApiService, coreTables: TableApiService);
|
|
14
|
+
revision(data: GetRevisionInput): Promise<import("@revisium/engine").Revision>;
|
|
15
|
+
children(revision: RevisionModel): Promise<import("@revisium/engine/dist/src/features/revision/queries/impl").GetChildrenByRevisionQueryReturnType>;
|
|
16
|
+
parent(revision: RevisionModel): Promise<import("@revisium/engine/dist/src/features/revision/queries/impl").ResolveParentByRevisionQueryReturnType>;
|
|
17
|
+
child(revision: RevisionModel): Promise<import("@revisium/engine/dist/src/features/revision/queries/impl").ResolveChildByRevisionQueryReturnType>;
|
|
18
|
+
childBranches(revision: RevisionModel): Promise<import("@revisium/engine").ResolveChildBranchesByRevisionQueryReturnType>;
|
|
19
|
+
tables(revision: RevisionModel, data: GetRevisionTablesInput): Promise<import("@revisium/engine/dist/src/features/revision/queries/types").GetRevisionTablesReturnType>;
|
|
20
|
+
branch(revision: RevisionModel): Promise<import("@revisium/engine").Branch>;
|
|
21
|
+
endpoints(revision: RevisionModel): Promise<any>;
|
|
22
|
+
migrations(revision: RevisionModel): Promise<import("@revisium/engine/dist/src/features/revision/queries/impl").GetMigrationsQueryReturnType>;
|
|
23
|
+
changes(revision: RevisionModel): Promise<import("@revisium/engine/dist/src/features/revision-changes/types").RevisionChanges>;
|
|
24
|
+
createRevision(data: CreateRevisionInput): Promise<any>;
|
|
25
|
+
applyMigrations(data: ApplyMigrationsInput): Promise<import("@revisium/engine/dist/src/features/draft/commands/impl/migration").ApplyMigrationCommandReturnType>;
|
|
54
26
|
}
|
|
@@ -20,38 +20,38 @@ const gql_jwt_auth_guard_service_1 = require("../../../features/auth/guards/jwt/
|
|
|
20
20
|
const optional_gql_jwt_auth_guard_service_1 = require("../../../features/auth/guards/jwt/optional-gql-jwt-auth-guard.service");
|
|
21
21
|
const permission_params_1 = require("../../../features/auth/guards/permission-params");
|
|
22
22
|
const project_guard_1 = require("../../../features/auth/guards/project.guard");
|
|
23
|
-
const draft_api_service_1 = require("../../../features/draft/draft-api.service");
|
|
24
23
|
const apply_migrations_input_1 = require("./inputs/apply-migrations.input");
|
|
25
24
|
const create_revision_input_1 = require("./inputs/create-revision.input");
|
|
26
25
|
const get_revision_tables_input_1 = require("./inputs/get-revision-tables.input");
|
|
27
26
|
const get_revision_input_1 = require("./inputs/get-revision.input");
|
|
28
27
|
const apply_migration_result_model_1 = require("./model/apply-migration-result.model");
|
|
29
28
|
const revision_model_1 = require("./model/revision.model");
|
|
30
|
-
const
|
|
31
|
-
const
|
|
29
|
+
const revisions_api_service_1 = require("../../../features/revision/revisions-api.service");
|
|
30
|
+
const project_api_service_1 = require("../../../features/project/project-api.service");
|
|
31
|
+
const table_api_service_1 = require("../../../features/table/table-api.service");
|
|
32
32
|
let RevisionResolver = class RevisionResolver {
|
|
33
|
-
constructor(revisionApi,
|
|
33
|
+
constructor(revisionApi, projectApi, coreTables) {
|
|
34
34
|
this.revisionApi = revisionApi;
|
|
35
|
-
this.
|
|
36
|
-
this.
|
|
35
|
+
this.projectApi = projectApi;
|
|
36
|
+
this.coreTables = coreTables;
|
|
37
37
|
}
|
|
38
38
|
revision(data) {
|
|
39
|
-
return this.revisionApi.
|
|
39
|
+
return this.revisionApi.getRevision(data);
|
|
40
40
|
}
|
|
41
41
|
async children(revision) {
|
|
42
|
-
return this.revisionApi.
|
|
42
|
+
return this.revisionApi.getRevisionChildren(revision.id);
|
|
43
43
|
}
|
|
44
44
|
async parent(revision) {
|
|
45
|
-
return this.revisionApi.
|
|
45
|
+
return this.revisionApi.getRevisionParent(revision.id);
|
|
46
46
|
}
|
|
47
47
|
async child(revision) {
|
|
48
|
-
return this.revisionApi.
|
|
48
|
+
return this.revisionApi.getRevisionChild(revision.id);
|
|
49
49
|
}
|
|
50
50
|
async childBranches(revision) {
|
|
51
51
|
return this.revisionApi.resolveChildBranchesByRevision(revision.id);
|
|
52
52
|
}
|
|
53
53
|
async tables(revision, data) {
|
|
54
|
-
return this.
|
|
54
|
+
return this.coreTables.getTablesByRevisionId({
|
|
55
55
|
...data,
|
|
56
56
|
revisionId: revision.id,
|
|
57
57
|
});
|
|
@@ -63,18 +63,26 @@ let RevisionResolver = class RevisionResolver {
|
|
|
63
63
|
return this.revisionApi.getEndpointsByRevisionId(revision.id);
|
|
64
64
|
}
|
|
65
65
|
async migrations(revision) {
|
|
66
|
-
return this.
|
|
66
|
+
return this.coreTables.getMigrations({ revisionId: revision.id });
|
|
67
67
|
}
|
|
68
68
|
async changes(revision) {
|
|
69
|
-
return this.
|
|
69
|
+
return this.revisionApi.revisionChanges({
|
|
70
70
|
revisionId: revision.id,
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
73
|
async createRevision(data) {
|
|
74
|
-
|
|
74
|
+
const project = await this.projectApi.getProject({
|
|
75
|
+
organizationId: data.organizationId,
|
|
76
|
+
projectName: data.projectName,
|
|
77
|
+
});
|
|
78
|
+
return this.revisionApi.createRevision({
|
|
79
|
+
projectId: project.id,
|
|
80
|
+
branchName: data.branchName,
|
|
81
|
+
comment: data.comment,
|
|
82
|
+
});
|
|
75
83
|
}
|
|
76
84
|
async applyMigrations(data) {
|
|
77
|
-
return this.
|
|
85
|
+
return this.coreTables.applyMigrations({
|
|
78
86
|
revisionId: data.revisionId,
|
|
79
87
|
migrations: data.migrations,
|
|
80
88
|
});
|
|
@@ -184,8 +192,8 @@ exports.RevisionResolver = RevisionResolver = __decorate([
|
|
|
184
192
|
subject: consts_1.PermissionSubject.Project,
|
|
185
193
|
}),
|
|
186
194
|
(0, graphql_1.Resolver)(() => revision_model_1.RevisionModel),
|
|
187
|
-
__metadata("design:paramtypes", [
|
|
188
|
-
|
|
189
|
-
|
|
195
|
+
__metadata("design:paramtypes", [revisions_api_service_1.RevisionsApiService,
|
|
196
|
+
project_api_service_1.ProjectApiService,
|
|
197
|
+
table_api_service_1.TableApiService])
|
|
190
198
|
], RevisionResolver);
|
|
191
199
|
//# sourceMappingURL=revision.resolver.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revision.resolver.js","sourceRoot":"","sources":["../../../../../src/api/graphql-api/revision/revision.resolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA2C;AAC3C,6CAOyB;AAEzB,0DAA+E;AAC/E,6GAA0F;AAC1F,+HAA2G;AAC3G,uFAA8E;AAC9E,+EAAyE;AACzE,
|
|
1
|
+
{"version":3,"file":"revision.resolver.js","sourceRoot":"","sources":["../../../../../src/api/graphql-api/revision/revision.resolver.ts"],"names":[],"mappings":"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"}
|
|
@@ -17,7 +17,7 @@ export declare class TableChangeModel {
|
|
|
17
17
|
removedRowsCount: number;
|
|
18
18
|
renamedRowsCount: number;
|
|
19
19
|
}
|
|
20
|
-
declare const TableChangesConnection_base: import("@nestjs/common").Type<import("
|
|
20
|
+
declare const TableChangesConnection_base: import("@nestjs/common").Type<import("@revisium/engine").IPaginatedType<TableChangeModel>>;
|
|
21
21
|
export declare class TableChangesConnection extends TableChangesConnection_base {
|
|
22
22
|
}
|
|
23
23
|
export {};
|