@revisium/core 2.9.1 → 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 -1
- package/dist/src/api/graphql-api/configuration/model/configuration.model.js +15 -5
- 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 +11 -4
- package/dist/src/api/graphql-api/organization/organization.resolver.js +29 -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 +11 -3
- package/dist/src/api/graphql-api/project/project.resolver.js +34 -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 -13
- package/dist/src/api/mcp-api/mcp-server.service.js +70 -46
- 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.d.ts +0 -3
- package/dist/src/api/mcp-api/resources/schema.resource.js +19 -26
- 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/check-project-permission.handler.js +19 -5
- package/dist/src/features/auth/commands/handlers/check-project-permission.handler.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 +89 -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 +2 -4
- package/dist/src/features/plugin/formula/formula-validation.service.js +3 -19
- 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 -10
- 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 -4
- package/dist/src/infrastructure/configuration/queries/handlers/get-configuration.handler.js +13 -9
- 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 -1
- 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/formula.service.d.ts +0 -5
- package/dist/src/features/plugin/formula/formula.service.js +0 -26
- package/dist/src/features/plugin/formula/formula.service.js.map +0 -1
- package/dist/src/features/plugin/formula/index.d.ts +0 -3
- package/dist/src/features/plugin/formula/index.js +0 -20
- 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
|
@@ -0,0 +1,1490 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as $Enums from "../enums";
|
|
3
|
+
import type * as Prisma from "../internal/prismaNamespace";
|
|
4
|
+
export type ApiKeyModel = runtime.Types.Result.DefaultSelection<Prisma.$ApiKeyPayload>;
|
|
5
|
+
export type AggregateApiKey = {
|
|
6
|
+
_count: ApiKeyCountAggregateOutputType | null;
|
|
7
|
+
_min: ApiKeyMinAggregateOutputType | null;
|
|
8
|
+
_max: ApiKeyMaxAggregateOutputType | null;
|
|
9
|
+
};
|
|
10
|
+
export type ApiKeyMinAggregateOutputType = {
|
|
11
|
+
id: string | null;
|
|
12
|
+
prefix: string | null;
|
|
13
|
+
keyHash: string | null;
|
|
14
|
+
type: $Enums.ApiKeyType | null;
|
|
15
|
+
name: string | null;
|
|
16
|
+
userId: string | null;
|
|
17
|
+
serviceId: string | null;
|
|
18
|
+
internalServiceName: string | null;
|
|
19
|
+
organizationId: string | null;
|
|
20
|
+
readOnly: boolean | null;
|
|
21
|
+
expiresAt: Date | null;
|
|
22
|
+
revokedAt: Date | null;
|
|
23
|
+
replacedById: string | null;
|
|
24
|
+
lastUsedAt: Date | null;
|
|
25
|
+
lastUsedIp: string | null;
|
|
26
|
+
createdAt: Date | null;
|
|
27
|
+
};
|
|
28
|
+
export type ApiKeyMaxAggregateOutputType = {
|
|
29
|
+
id: string | null;
|
|
30
|
+
prefix: string | null;
|
|
31
|
+
keyHash: string | null;
|
|
32
|
+
type: $Enums.ApiKeyType | null;
|
|
33
|
+
name: string | null;
|
|
34
|
+
userId: string | null;
|
|
35
|
+
serviceId: string | null;
|
|
36
|
+
internalServiceName: string | null;
|
|
37
|
+
organizationId: string | null;
|
|
38
|
+
readOnly: boolean | null;
|
|
39
|
+
expiresAt: Date | null;
|
|
40
|
+
revokedAt: Date | null;
|
|
41
|
+
replacedById: string | null;
|
|
42
|
+
lastUsedAt: Date | null;
|
|
43
|
+
lastUsedIp: string | null;
|
|
44
|
+
createdAt: Date | null;
|
|
45
|
+
};
|
|
46
|
+
export type ApiKeyCountAggregateOutputType = {
|
|
47
|
+
id: number;
|
|
48
|
+
prefix: number;
|
|
49
|
+
keyHash: number;
|
|
50
|
+
type: number;
|
|
51
|
+
name: number;
|
|
52
|
+
userId: number;
|
|
53
|
+
serviceId: number;
|
|
54
|
+
internalServiceName: number;
|
|
55
|
+
organizationId: number;
|
|
56
|
+
projectIds: number;
|
|
57
|
+
branchNames: number;
|
|
58
|
+
tableIds: number;
|
|
59
|
+
permissions: number;
|
|
60
|
+
readOnly: number;
|
|
61
|
+
allowedIps: number;
|
|
62
|
+
expiresAt: number;
|
|
63
|
+
revokedAt: number;
|
|
64
|
+
replacedById: number;
|
|
65
|
+
lastUsedAt: number;
|
|
66
|
+
lastUsedIp: number;
|
|
67
|
+
createdAt: number;
|
|
68
|
+
_all: number;
|
|
69
|
+
};
|
|
70
|
+
export type ApiKeyMinAggregateInputType = {
|
|
71
|
+
id?: true;
|
|
72
|
+
prefix?: true;
|
|
73
|
+
keyHash?: true;
|
|
74
|
+
type?: true;
|
|
75
|
+
name?: true;
|
|
76
|
+
userId?: true;
|
|
77
|
+
serviceId?: true;
|
|
78
|
+
internalServiceName?: true;
|
|
79
|
+
organizationId?: true;
|
|
80
|
+
readOnly?: true;
|
|
81
|
+
expiresAt?: true;
|
|
82
|
+
revokedAt?: true;
|
|
83
|
+
replacedById?: true;
|
|
84
|
+
lastUsedAt?: true;
|
|
85
|
+
lastUsedIp?: true;
|
|
86
|
+
createdAt?: true;
|
|
87
|
+
};
|
|
88
|
+
export type ApiKeyMaxAggregateInputType = {
|
|
89
|
+
id?: true;
|
|
90
|
+
prefix?: true;
|
|
91
|
+
keyHash?: true;
|
|
92
|
+
type?: true;
|
|
93
|
+
name?: true;
|
|
94
|
+
userId?: true;
|
|
95
|
+
serviceId?: true;
|
|
96
|
+
internalServiceName?: true;
|
|
97
|
+
organizationId?: true;
|
|
98
|
+
readOnly?: true;
|
|
99
|
+
expiresAt?: true;
|
|
100
|
+
revokedAt?: true;
|
|
101
|
+
replacedById?: true;
|
|
102
|
+
lastUsedAt?: true;
|
|
103
|
+
lastUsedIp?: true;
|
|
104
|
+
createdAt?: true;
|
|
105
|
+
};
|
|
106
|
+
export type ApiKeyCountAggregateInputType = {
|
|
107
|
+
id?: true;
|
|
108
|
+
prefix?: true;
|
|
109
|
+
keyHash?: true;
|
|
110
|
+
type?: true;
|
|
111
|
+
name?: true;
|
|
112
|
+
userId?: true;
|
|
113
|
+
serviceId?: true;
|
|
114
|
+
internalServiceName?: true;
|
|
115
|
+
organizationId?: true;
|
|
116
|
+
projectIds?: true;
|
|
117
|
+
branchNames?: true;
|
|
118
|
+
tableIds?: true;
|
|
119
|
+
permissions?: true;
|
|
120
|
+
readOnly?: true;
|
|
121
|
+
allowedIps?: true;
|
|
122
|
+
expiresAt?: true;
|
|
123
|
+
revokedAt?: true;
|
|
124
|
+
replacedById?: true;
|
|
125
|
+
lastUsedAt?: true;
|
|
126
|
+
lastUsedIp?: true;
|
|
127
|
+
createdAt?: true;
|
|
128
|
+
_all?: true;
|
|
129
|
+
};
|
|
130
|
+
export type ApiKeyAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
131
|
+
where?: Prisma.ApiKeyWhereInput;
|
|
132
|
+
orderBy?: Prisma.ApiKeyOrderByWithRelationInput | Prisma.ApiKeyOrderByWithRelationInput[];
|
|
133
|
+
cursor?: Prisma.ApiKeyWhereUniqueInput;
|
|
134
|
+
take?: number;
|
|
135
|
+
skip?: number;
|
|
136
|
+
_count?: true | ApiKeyCountAggregateInputType;
|
|
137
|
+
_min?: ApiKeyMinAggregateInputType;
|
|
138
|
+
_max?: ApiKeyMaxAggregateInputType;
|
|
139
|
+
};
|
|
140
|
+
export type GetApiKeyAggregateType<T extends ApiKeyAggregateArgs> = {
|
|
141
|
+
[P in keyof T & keyof AggregateApiKey]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateApiKey[P]> : Prisma.GetScalarType<T[P], AggregateApiKey[P]>;
|
|
142
|
+
};
|
|
143
|
+
export type ApiKeyGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
144
|
+
where?: Prisma.ApiKeyWhereInput;
|
|
145
|
+
orderBy?: Prisma.ApiKeyOrderByWithAggregationInput | Prisma.ApiKeyOrderByWithAggregationInput[];
|
|
146
|
+
by: Prisma.ApiKeyScalarFieldEnum[] | Prisma.ApiKeyScalarFieldEnum;
|
|
147
|
+
having?: Prisma.ApiKeyScalarWhereWithAggregatesInput;
|
|
148
|
+
take?: number;
|
|
149
|
+
skip?: number;
|
|
150
|
+
_count?: ApiKeyCountAggregateInputType | true;
|
|
151
|
+
_min?: ApiKeyMinAggregateInputType;
|
|
152
|
+
_max?: ApiKeyMaxAggregateInputType;
|
|
153
|
+
};
|
|
154
|
+
export type ApiKeyGroupByOutputType = {
|
|
155
|
+
id: string;
|
|
156
|
+
prefix: string;
|
|
157
|
+
keyHash: string;
|
|
158
|
+
type: $Enums.ApiKeyType;
|
|
159
|
+
name: string;
|
|
160
|
+
userId: string | null;
|
|
161
|
+
serviceId: string | null;
|
|
162
|
+
internalServiceName: string | null;
|
|
163
|
+
organizationId: string | null;
|
|
164
|
+
projectIds: string[];
|
|
165
|
+
branchNames: string[];
|
|
166
|
+
tableIds: string[];
|
|
167
|
+
permissions: runtime.JsonValue | null;
|
|
168
|
+
readOnly: boolean;
|
|
169
|
+
allowedIps: string[];
|
|
170
|
+
expiresAt: Date | null;
|
|
171
|
+
revokedAt: Date | null;
|
|
172
|
+
replacedById: string | null;
|
|
173
|
+
lastUsedAt: Date | null;
|
|
174
|
+
lastUsedIp: string | null;
|
|
175
|
+
createdAt: Date;
|
|
176
|
+
_count: ApiKeyCountAggregateOutputType | null;
|
|
177
|
+
_min: ApiKeyMinAggregateOutputType | null;
|
|
178
|
+
_max: ApiKeyMaxAggregateOutputType | null;
|
|
179
|
+
};
|
|
180
|
+
export type GetApiKeyGroupByPayload<T extends ApiKeyGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ApiKeyGroupByOutputType, T['by']> & {
|
|
181
|
+
[P in ((keyof T) & (keyof ApiKeyGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ApiKeyGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ApiKeyGroupByOutputType[P]>;
|
|
182
|
+
}>>;
|
|
183
|
+
export type ApiKeyWhereInput = {
|
|
184
|
+
AND?: Prisma.ApiKeyWhereInput | Prisma.ApiKeyWhereInput[];
|
|
185
|
+
OR?: Prisma.ApiKeyWhereInput[];
|
|
186
|
+
NOT?: Prisma.ApiKeyWhereInput | Prisma.ApiKeyWhereInput[];
|
|
187
|
+
id?: Prisma.StringFilter<"ApiKey"> | string;
|
|
188
|
+
prefix?: Prisma.StringFilter<"ApiKey"> | string;
|
|
189
|
+
keyHash?: Prisma.StringFilter<"ApiKey"> | string;
|
|
190
|
+
type?: Prisma.EnumApiKeyTypeFilter<"ApiKey"> | $Enums.ApiKeyType;
|
|
191
|
+
name?: Prisma.StringFilter<"ApiKey"> | string;
|
|
192
|
+
userId?: Prisma.StringNullableFilter<"ApiKey"> | string | null;
|
|
193
|
+
serviceId?: Prisma.StringNullableFilter<"ApiKey"> | string | null;
|
|
194
|
+
internalServiceName?: Prisma.StringNullableFilter<"ApiKey"> | string | null;
|
|
195
|
+
organizationId?: Prisma.StringNullableFilter<"ApiKey"> | string | null;
|
|
196
|
+
projectIds?: Prisma.StringNullableListFilter<"ApiKey">;
|
|
197
|
+
branchNames?: Prisma.StringNullableListFilter<"ApiKey">;
|
|
198
|
+
tableIds?: Prisma.StringNullableListFilter<"ApiKey">;
|
|
199
|
+
permissions?: Prisma.JsonNullableFilter<"ApiKey">;
|
|
200
|
+
readOnly?: Prisma.BoolFilter<"ApiKey"> | boolean;
|
|
201
|
+
allowedIps?: Prisma.StringNullableListFilter<"ApiKey">;
|
|
202
|
+
expiresAt?: Prisma.DateTimeNullableFilter<"ApiKey"> | Date | string | null;
|
|
203
|
+
revokedAt?: Prisma.DateTimeNullableFilter<"ApiKey"> | Date | string | null;
|
|
204
|
+
replacedById?: Prisma.StringNullableFilter<"ApiKey"> | string | null;
|
|
205
|
+
lastUsedAt?: Prisma.DateTimeNullableFilter<"ApiKey"> | Date | string | null;
|
|
206
|
+
lastUsedIp?: Prisma.StringNullableFilter<"ApiKey"> | string | null;
|
|
207
|
+
createdAt?: Prisma.DateTimeFilter<"ApiKey"> | Date | string;
|
|
208
|
+
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
209
|
+
replacedBy?: Prisma.XOR<Prisma.ApiKeyNullableScalarRelationFilter, Prisma.ApiKeyWhereInput> | null;
|
|
210
|
+
replacements?: Prisma.ApiKeyListRelationFilter;
|
|
211
|
+
};
|
|
212
|
+
export type ApiKeyOrderByWithRelationInput = {
|
|
213
|
+
id?: Prisma.SortOrder;
|
|
214
|
+
prefix?: Prisma.SortOrder;
|
|
215
|
+
keyHash?: Prisma.SortOrder;
|
|
216
|
+
type?: Prisma.SortOrder;
|
|
217
|
+
name?: Prisma.SortOrder;
|
|
218
|
+
userId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
219
|
+
serviceId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
220
|
+
internalServiceName?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
221
|
+
organizationId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
222
|
+
projectIds?: Prisma.SortOrder;
|
|
223
|
+
branchNames?: Prisma.SortOrder;
|
|
224
|
+
tableIds?: Prisma.SortOrder;
|
|
225
|
+
permissions?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
226
|
+
readOnly?: Prisma.SortOrder;
|
|
227
|
+
allowedIps?: Prisma.SortOrder;
|
|
228
|
+
expiresAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
229
|
+
revokedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
230
|
+
replacedById?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
231
|
+
lastUsedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
232
|
+
lastUsedIp?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
233
|
+
createdAt?: Prisma.SortOrder;
|
|
234
|
+
user?: Prisma.UserOrderByWithRelationInput;
|
|
235
|
+
replacedBy?: Prisma.ApiKeyOrderByWithRelationInput;
|
|
236
|
+
replacements?: Prisma.ApiKeyOrderByRelationAggregateInput;
|
|
237
|
+
_relevance?: Prisma.ApiKeyOrderByRelevanceInput;
|
|
238
|
+
};
|
|
239
|
+
export type ApiKeyWhereUniqueInput = Prisma.AtLeast<{
|
|
240
|
+
id?: string;
|
|
241
|
+
keyHash?: string;
|
|
242
|
+
serviceId?: string;
|
|
243
|
+
AND?: Prisma.ApiKeyWhereInput | Prisma.ApiKeyWhereInput[];
|
|
244
|
+
OR?: Prisma.ApiKeyWhereInput[];
|
|
245
|
+
NOT?: Prisma.ApiKeyWhereInput | Prisma.ApiKeyWhereInput[];
|
|
246
|
+
prefix?: Prisma.StringFilter<"ApiKey"> | string;
|
|
247
|
+
type?: Prisma.EnumApiKeyTypeFilter<"ApiKey"> | $Enums.ApiKeyType;
|
|
248
|
+
name?: Prisma.StringFilter<"ApiKey"> | string;
|
|
249
|
+
userId?: Prisma.StringNullableFilter<"ApiKey"> | string | null;
|
|
250
|
+
internalServiceName?: Prisma.StringNullableFilter<"ApiKey"> | string | null;
|
|
251
|
+
organizationId?: Prisma.StringNullableFilter<"ApiKey"> | string | null;
|
|
252
|
+
projectIds?: Prisma.StringNullableListFilter<"ApiKey">;
|
|
253
|
+
branchNames?: Prisma.StringNullableListFilter<"ApiKey">;
|
|
254
|
+
tableIds?: Prisma.StringNullableListFilter<"ApiKey">;
|
|
255
|
+
permissions?: Prisma.JsonNullableFilter<"ApiKey">;
|
|
256
|
+
readOnly?: Prisma.BoolFilter<"ApiKey"> | boolean;
|
|
257
|
+
allowedIps?: Prisma.StringNullableListFilter<"ApiKey">;
|
|
258
|
+
expiresAt?: Prisma.DateTimeNullableFilter<"ApiKey"> | Date | string | null;
|
|
259
|
+
revokedAt?: Prisma.DateTimeNullableFilter<"ApiKey"> | Date | string | null;
|
|
260
|
+
replacedById?: Prisma.StringNullableFilter<"ApiKey"> | string | null;
|
|
261
|
+
lastUsedAt?: Prisma.DateTimeNullableFilter<"ApiKey"> | Date | string | null;
|
|
262
|
+
lastUsedIp?: Prisma.StringNullableFilter<"ApiKey"> | string | null;
|
|
263
|
+
createdAt?: Prisma.DateTimeFilter<"ApiKey"> | Date | string;
|
|
264
|
+
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
265
|
+
replacedBy?: Prisma.XOR<Prisma.ApiKeyNullableScalarRelationFilter, Prisma.ApiKeyWhereInput> | null;
|
|
266
|
+
replacements?: Prisma.ApiKeyListRelationFilter;
|
|
267
|
+
}, "id" | "keyHash" | "serviceId">;
|
|
268
|
+
export type ApiKeyOrderByWithAggregationInput = {
|
|
269
|
+
id?: Prisma.SortOrder;
|
|
270
|
+
prefix?: Prisma.SortOrder;
|
|
271
|
+
keyHash?: Prisma.SortOrder;
|
|
272
|
+
type?: Prisma.SortOrder;
|
|
273
|
+
name?: Prisma.SortOrder;
|
|
274
|
+
userId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
275
|
+
serviceId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
276
|
+
internalServiceName?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
277
|
+
organizationId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
278
|
+
projectIds?: Prisma.SortOrder;
|
|
279
|
+
branchNames?: Prisma.SortOrder;
|
|
280
|
+
tableIds?: Prisma.SortOrder;
|
|
281
|
+
permissions?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
282
|
+
readOnly?: Prisma.SortOrder;
|
|
283
|
+
allowedIps?: Prisma.SortOrder;
|
|
284
|
+
expiresAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
285
|
+
revokedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
286
|
+
replacedById?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
287
|
+
lastUsedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
288
|
+
lastUsedIp?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
289
|
+
createdAt?: Prisma.SortOrder;
|
|
290
|
+
_count?: Prisma.ApiKeyCountOrderByAggregateInput;
|
|
291
|
+
_max?: Prisma.ApiKeyMaxOrderByAggregateInput;
|
|
292
|
+
_min?: Prisma.ApiKeyMinOrderByAggregateInput;
|
|
293
|
+
};
|
|
294
|
+
export type ApiKeyScalarWhereWithAggregatesInput = {
|
|
295
|
+
AND?: Prisma.ApiKeyScalarWhereWithAggregatesInput | Prisma.ApiKeyScalarWhereWithAggregatesInput[];
|
|
296
|
+
OR?: Prisma.ApiKeyScalarWhereWithAggregatesInput[];
|
|
297
|
+
NOT?: Prisma.ApiKeyScalarWhereWithAggregatesInput | Prisma.ApiKeyScalarWhereWithAggregatesInput[];
|
|
298
|
+
id?: Prisma.StringWithAggregatesFilter<"ApiKey"> | string;
|
|
299
|
+
prefix?: Prisma.StringWithAggregatesFilter<"ApiKey"> | string;
|
|
300
|
+
keyHash?: Prisma.StringWithAggregatesFilter<"ApiKey"> | string;
|
|
301
|
+
type?: Prisma.EnumApiKeyTypeWithAggregatesFilter<"ApiKey"> | $Enums.ApiKeyType;
|
|
302
|
+
name?: Prisma.StringWithAggregatesFilter<"ApiKey"> | string;
|
|
303
|
+
userId?: Prisma.StringNullableWithAggregatesFilter<"ApiKey"> | string | null;
|
|
304
|
+
serviceId?: Prisma.StringNullableWithAggregatesFilter<"ApiKey"> | string | null;
|
|
305
|
+
internalServiceName?: Prisma.StringNullableWithAggregatesFilter<"ApiKey"> | string | null;
|
|
306
|
+
organizationId?: Prisma.StringNullableWithAggregatesFilter<"ApiKey"> | string | null;
|
|
307
|
+
projectIds?: Prisma.StringNullableListFilter<"ApiKey">;
|
|
308
|
+
branchNames?: Prisma.StringNullableListFilter<"ApiKey">;
|
|
309
|
+
tableIds?: Prisma.StringNullableListFilter<"ApiKey">;
|
|
310
|
+
permissions?: Prisma.JsonNullableWithAggregatesFilter<"ApiKey">;
|
|
311
|
+
readOnly?: Prisma.BoolWithAggregatesFilter<"ApiKey"> | boolean;
|
|
312
|
+
allowedIps?: Prisma.StringNullableListFilter<"ApiKey">;
|
|
313
|
+
expiresAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ApiKey"> | Date | string | null;
|
|
314
|
+
revokedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ApiKey"> | Date | string | null;
|
|
315
|
+
replacedById?: Prisma.StringNullableWithAggregatesFilter<"ApiKey"> | string | null;
|
|
316
|
+
lastUsedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ApiKey"> | Date | string | null;
|
|
317
|
+
lastUsedIp?: Prisma.StringNullableWithAggregatesFilter<"ApiKey"> | string | null;
|
|
318
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ApiKey"> | Date | string;
|
|
319
|
+
};
|
|
320
|
+
export type ApiKeyCreateInput = {
|
|
321
|
+
id?: string;
|
|
322
|
+
prefix: string;
|
|
323
|
+
keyHash: string;
|
|
324
|
+
type: $Enums.ApiKeyType;
|
|
325
|
+
name: string;
|
|
326
|
+
serviceId?: string | null;
|
|
327
|
+
internalServiceName?: string | null;
|
|
328
|
+
organizationId?: string | null;
|
|
329
|
+
projectIds?: Prisma.ApiKeyCreateprojectIdsInput | string[];
|
|
330
|
+
branchNames?: Prisma.ApiKeyCreatebranchNamesInput | string[];
|
|
331
|
+
tableIds?: Prisma.ApiKeyCreatetableIdsInput | string[];
|
|
332
|
+
permissions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
333
|
+
readOnly?: boolean;
|
|
334
|
+
allowedIps?: Prisma.ApiKeyCreateallowedIpsInput | string[];
|
|
335
|
+
expiresAt?: Date | string | null;
|
|
336
|
+
revokedAt?: Date | string | null;
|
|
337
|
+
lastUsedAt?: Date | string | null;
|
|
338
|
+
lastUsedIp?: string | null;
|
|
339
|
+
createdAt?: Date | string;
|
|
340
|
+
user?: Prisma.UserCreateNestedOneWithoutApiKeysInput;
|
|
341
|
+
replacedBy?: Prisma.ApiKeyCreateNestedOneWithoutReplacementsInput;
|
|
342
|
+
replacements?: Prisma.ApiKeyCreateNestedManyWithoutReplacedByInput;
|
|
343
|
+
};
|
|
344
|
+
export type ApiKeyUncheckedCreateInput = {
|
|
345
|
+
id?: string;
|
|
346
|
+
prefix: string;
|
|
347
|
+
keyHash: string;
|
|
348
|
+
type: $Enums.ApiKeyType;
|
|
349
|
+
name: string;
|
|
350
|
+
userId?: string | null;
|
|
351
|
+
serviceId?: string | null;
|
|
352
|
+
internalServiceName?: string | null;
|
|
353
|
+
organizationId?: string | null;
|
|
354
|
+
projectIds?: Prisma.ApiKeyCreateprojectIdsInput | string[];
|
|
355
|
+
branchNames?: Prisma.ApiKeyCreatebranchNamesInput | string[];
|
|
356
|
+
tableIds?: Prisma.ApiKeyCreatetableIdsInput | string[];
|
|
357
|
+
permissions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
358
|
+
readOnly?: boolean;
|
|
359
|
+
allowedIps?: Prisma.ApiKeyCreateallowedIpsInput | string[];
|
|
360
|
+
expiresAt?: Date | string | null;
|
|
361
|
+
revokedAt?: Date | string | null;
|
|
362
|
+
replacedById?: string | null;
|
|
363
|
+
lastUsedAt?: Date | string | null;
|
|
364
|
+
lastUsedIp?: string | null;
|
|
365
|
+
createdAt?: Date | string;
|
|
366
|
+
replacements?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutReplacedByInput;
|
|
367
|
+
};
|
|
368
|
+
export type ApiKeyUpdateInput = {
|
|
369
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
370
|
+
prefix?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
371
|
+
keyHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
372
|
+
type?: Prisma.EnumApiKeyTypeFieldUpdateOperationsInput | $Enums.ApiKeyType;
|
|
373
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
374
|
+
serviceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
375
|
+
internalServiceName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
376
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
377
|
+
projectIds?: Prisma.ApiKeyUpdateprojectIdsInput | string[];
|
|
378
|
+
branchNames?: Prisma.ApiKeyUpdatebranchNamesInput | string[];
|
|
379
|
+
tableIds?: Prisma.ApiKeyUpdatetableIdsInput | string[];
|
|
380
|
+
permissions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
381
|
+
readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
382
|
+
allowedIps?: Prisma.ApiKeyUpdateallowedIpsInput | string[];
|
|
383
|
+
expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
384
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
385
|
+
lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
386
|
+
lastUsedIp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
387
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
388
|
+
user?: Prisma.UserUpdateOneWithoutApiKeysNestedInput;
|
|
389
|
+
replacedBy?: Prisma.ApiKeyUpdateOneWithoutReplacementsNestedInput;
|
|
390
|
+
replacements?: Prisma.ApiKeyUpdateManyWithoutReplacedByNestedInput;
|
|
391
|
+
};
|
|
392
|
+
export type ApiKeyUncheckedUpdateInput = {
|
|
393
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
394
|
+
prefix?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
395
|
+
keyHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
396
|
+
type?: Prisma.EnumApiKeyTypeFieldUpdateOperationsInput | $Enums.ApiKeyType;
|
|
397
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
398
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
399
|
+
serviceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
400
|
+
internalServiceName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
401
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
402
|
+
projectIds?: Prisma.ApiKeyUpdateprojectIdsInput | string[];
|
|
403
|
+
branchNames?: Prisma.ApiKeyUpdatebranchNamesInput | string[];
|
|
404
|
+
tableIds?: Prisma.ApiKeyUpdatetableIdsInput | string[];
|
|
405
|
+
permissions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
406
|
+
readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
407
|
+
allowedIps?: Prisma.ApiKeyUpdateallowedIpsInput | string[];
|
|
408
|
+
expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
409
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
410
|
+
replacedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
411
|
+
lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
412
|
+
lastUsedIp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
413
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
414
|
+
replacements?: Prisma.ApiKeyUncheckedUpdateManyWithoutReplacedByNestedInput;
|
|
415
|
+
};
|
|
416
|
+
export type ApiKeyCreateManyInput = {
|
|
417
|
+
id?: string;
|
|
418
|
+
prefix: string;
|
|
419
|
+
keyHash: string;
|
|
420
|
+
type: $Enums.ApiKeyType;
|
|
421
|
+
name: string;
|
|
422
|
+
userId?: string | null;
|
|
423
|
+
serviceId?: string | null;
|
|
424
|
+
internalServiceName?: string | null;
|
|
425
|
+
organizationId?: string | null;
|
|
426
|
+
projectIds?: Prisma.ApiKeyCreateprojectIdsInput | string[];
|
|
427
|
+
branchNames?: Prisma.ApiKeyCreatebranchNamesInput | string[];
|
|
428
|
+
tableIds?: Prisma.ApiKeyCreatetableIdsInput | string[];
|
|
429
|
+
permissions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
430
|
+
readOnly?: boolean;
|
|
431
|
+
allowedIps?: Prisma.ApiKeyCreateallowedIpsInput | string[];
|
|
432
|
+
expiresAt?: Date | string | null;
|
|
433
|
+
revokedAt?: Date | string | null;
|
|
434
|
+
replacedById?: string | null;
|
|
435
|
+
lastUsedAt?: Date | string | null;
|
|
436
|
+
lastUsedIp?: string | null;
|
|
437
|
+
createdAt?: Date | string;
|
|
438
|
+
};
|
|
439
|
+
export type ApiKeyUpdateManyMutationInput = {
|
|
440
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
441
|
+
prefix?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
442
|
+
keyHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
443
|
+
type?: Prisma.EnumApiKeyTypeFieldUpdateOperationsInput | $Enums.ApiKeyType;
|
|
444
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
445
|
+
serviceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
446
|
+
internalServiceName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
447
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
448
|
+
projectIds?: Prisma.ApiKeyUpdateprojectIdsInput | string[];
|
|
449
|
+
branchNames?: Prisma.ApiKeyUpdatebranchNamesInput | string[];
|
|
450
|
+
tableIds?: Prisma.ApiKeyUpdatetableIdsInput | string[];
|
|
451
|
+
permissions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
452
|
+
readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
453
|
+
allowedIps?: Prisma.ApiKeyUpdateallowedIpsInput | string[];
|
|
454
|
+
expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
455
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
456
|
+
lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
457
|
+
lastUsedIp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
458
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
459
|
+
};
|
|
460
|
+
export type ApiKeyUncheckedUpdateManyInput = {
|
|
461
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
462
|
+
prefix?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
463
|
+
keyHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
464
|
+
type?: Prisma.EnumApiKeyTypeFieldUpdateOperationsInput | $Enums.ApiKeyType;
|
|
465
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
466
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
467
|
+
serviceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
468
|
+
internalServiceName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
469
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
470
|
+
projectIds?: Prisma.ApiKeyUpdateprojectIdsInput | string[];
|
|
471
|
+
branchNames?: Prisma.ApiKeyUpdatebranchNamesInput | string[];
|
|
472
|
+
tableIds?: Prisma.ApiKeyUpdatetableIdsInput | string[];
|
|
473
|
+
permissions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
474
|
+
readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
475
|
+
allowedIps?: Prisma.ApiKeyUpdateallowedIpsInput | string[];
|
|
476
|
+
expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
477
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
478
|
+
replacedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
479
|
+
lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
480
|
+
lastUsedIp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
481
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
482
|
+
};
|
|
483
|
+
export type ApiKeyListRelationFilter = {
|
|
484
|
+
every?: Prisma.ApiKeyWhereInput;
|
|
485
|
+
some?: Prisma.ApiKeyWhereInput;
|
|
486
|
+
none?: Prisma.ApiKeyWhereInput;
|
|
487
|
+
};
|
|
488
|
+
export type ApiKeyOrderByRelationAggregateInput = {
|
|
489
|
+
_count?: Prisma.SortOrder;
|
|
490
|
+
};
|
|
491
|
+
export type ApiKeyNullableScalarRelationFilter = {
|
|
492
|
+
is?: Prisma.ApiKeyWhereInput | null;
|
|
493
|
+
isNot?: Prisma.ApiKeyWhereInput | null;
|
|
494
|
+
};
|
|
495
|
+
export type ApiKeyOrderByRelevanceInput = {
|
|
496
|
+
fields: Prisma.ApiKeyOrderByRelevanceFieldEnum | Prisma.ApiKeyOrderByRelevanceFieldEnum[];
|
|
497
|
+
sort: Prisma.SortOrder;
|
|
498
|
+
search: string;
|
|
499
|
+
};
|
|
500
|
+
export type ApiKeyCountOrderByAggregateInput = {
|
|
501
|
+
id?: Prisma.SortOrder;
|
|
502
|
+
prefix?: Prisma.SortOrder;
|
|
503
|
+
keyHash?: Prisma.SortOrder;
|
|
504
|
+
type?: Prisma.SortOrder;
|
|
505
|
+
name?: Prisma.SortOrder;
|
|
506
|
+
userId?: Prisma.SortOrder;
|
|
507
|
+
serviceId?: Prisma.SortOrder;
|
|
508
|
+
internalServiceName?: Prisma.SortOrder;
|
|
509
|
+
organizationId?: Prisma.SortOrder;
|
|
510
|
+
projectIds?: Prisma.SortOrder;
|
|
511
|
+
branchNames?: Prisma.SortOrder;
|
|
512
|
+
tableIds?: Prisma.SortOrder;
|
|
513
|
+
permissions?: Prisma.SortOrder;
|
|
514
|
+
readOnly?: Prisma.SortOrder;
|
|
515
|
+
allowedIps?: Prisma.SortOrder;
|
|
516
|
+
expiresAt?: Prisma.SortOrder;
|
|
517
|
+
revokedAt?: Prisma.SortOrder;
|
|
518
|
+
replacedById?: Prisma.SortOrder;
|
|
519
|
+
lastUsedAt?: Prisma.SortOrder;
|
|
520
|
+
lastUsedIp?: Prisma.SortOrder;
|
|
521
|
+
createdAt?: Prisma.SortOrder;
|
|
522
|
+
};
|
|
523
|
+
export type ApiKeyMaxOrderByAggregateInput = {
|
|
524
|
+
id?: Prisma.SortOrder;
|
|
525
|
+
prefix?: Prisma.SortOrder;
|
|
526
|
+
keyHash?: Prisma.SortOrder;
|
|
527
|
+
type?: Prisma.SortOrder;
|
|
528
|
+
name?: Prisma.SortOrder;
|
|
529
|
+
userId?: Prisma.SortOrder;
|
|
530
|
+
serviceId?: Prisma.SortOrder;
|
|
531
|
+
internalServiceName?: Prisma.SortOrder;
|
|
532
|
+
organizationId?: Prisma.SortOrder;
|
|
533
|
+
readOnly?: Prisma.SortOrder;
|
|
534
|
+
expiresAt?: Prisma.SortOrder;
|
|
535
|
+
revokedAt?: Prisma.SortOrder;
|
|
536
|
+
replacedById?: Prisma.SortOrder;
|
|
537
|
+
lastUsedAt?: Prisma.SortOrder;
|
|
538
|
+
lastUsedIp?: Prisma.SortOrder;
|
|
539
|
+
createdAt?: Prisma.SortOrder;
|
|
540
|
+
};
|
|
541
|
+
export type ApiKeyMinOrderByAggregateInput = {
|
|
542
|
+
id?: Prisma.SortOrder;
|
|
543
|
+
prefix?: Prisma.SortOrder;
|
|
544
|
+
keyHash?: Prisma.SortOrder;
|
|
545
|
+
type?: Prisma.SortOrder;
|
|
546
|
+
name?: Prisma.SortOrder;
|
|
547
|
+
userId?: Prisma.SortOrder;
|
|
548
|
+
serviceId?: Prisma.SortOrder;
|
|
549
|
+
internalServiceName?: Prisma.SortOrder;
|
|
550
|
+
organizationId?: Prisma.SortOrder;
|
|
551
|
+
readOnly?: Prisma.SortOrder;
|
|
552
|
+
expiresAt?: Prisma.SortOrder;
|
|
553
|
+
revokedAt?: Prisma.SortOrder;
|
|
554
|
+
replacedById?: Prisma.SortOrder;
|
|
555
|
+
lastUsedAt?: Prisma.SortOrder;
|
|
556
|
+
lastUsedIp?: Prisma.SortOrder;
|
|
557
|
+
createdAt?: Prisma.SortOrder;
|
|
558
|
+
};
|
|
559
|
+
export type ApiKeyCreateNestedManyWithoutUserInput = {
|
|
560
|
+
create?: Prisma.XOR<Prisma.ApiKeyCreateWithoutUserInput, Prisma.ApiKeyUncheckedCreateWithoutUserInput> | Prisma.ApiKeyCreateWithoutUserInput[] | Prisma.ApiKeyUncheckedCreateWithoutUserInput[];
|
|
561
|
+
connectOrCreate?: Prisma.ApiKeyCreateOrConnectWithoutUserInput | Prisma.ApiKeyCreateOrConnectWithoutUserInput[];
|
|
562
|
+
createMany?: Prisma.ApiKeyCreateManyUserInputEnvelope;
|
|
563
|
+
connect?: Prisma.ApiKeyWhereUniqueInput | Prisma.ApiKeyWhereUniqueInput[];
|
|
564
|
+
};
|
|
565
|
+
export type ApiKeyUncheckedCreateNestedManyWithoutUserInput = {
|
|
566
|
+
create?: Prisma.XOR<Prisma.ApiKeyCreateWithoutUserInput, Prisma.ApiKeyUncheckedCreateWithoutUserInput> | Prisma.ApiKeyCreateWithoutUserInput[] | Prisma.ApiKeyUncheckedCreateWithoutUserInput[];
|
|
567
|
+
connectOrCreate?: Prisma.ApiKeyCreateOrConnectWithoutUserInput | Prisma.ApiKeyCreateOrConnectWithoutUserInput[];
|
|
568
|
+
createMany?: Prisma.ApiKeyCreateManyUserInputEnvelope;
|
|
569
|
+
connect?: Prisma.ApiKeyWhereUniqueInput | Prisma.ApiKeyWhereUniqueInput[];
|
|
570
|
+
};
|
|
571
|
+
export type ApiKeyUpdateManyWithoutUserNestedInput = {
|
|
572
|
+
create?: Prisma.XOR<Prisma.ApiKeyCreateWithoutUserInput, Prisma.ApiKeyUncheckedCreateWithoutUserInput> | Prisma.ApiKeyCreateWithoutUserInput[] | Prisma.ApiKeyUncheckedCreateWithoutUserInput[];
|
|
573
|
+
connectOrCreate?: Prisma.ApiKeyCreateOrConnectWithoutUserInput | Prisma.ApiKeyCreateOrConnectWithoutUserInput[];
|
|
574
|
+
upsert?: Prisma.ApiKeyUpsertWithWhereUniqueWithoutUserInput | Prisma.ApiKeyUpsertWithWhereUniqueWithoutUserInput[];
|
|
575
|
+
createMany?: Prisma.ApiKeyCreateManyUserInputEnvelope;
|
|
576
|
+
set?: Prisma.ApiKeyWhereUniqueInput | Prisma.ApiKeyWhereUniqueInput[];
|
|
577
|
+
disconnect?: Prisma.ApiKeyWhereUniqueInput | Prisma.ApiKeyWhereUniqueInput[];
|
|
578
|
+
delete?: Prisma.ApiKeyWhereUniqueInput | Prisma.ApiKeyWhereUniqueInput[];
|
|
579
|
+
connect?: Prisma.ApiKeyWhereUniqueInput | Prisma.ApiKeyWhereUniqueInput[];
|
|
580
|
+
update?: Prisma.ApiKeyUpdateWithWhereUniqueWithoutUserInput | Prisma.ApiKeyUpdateWithWhereUniqueWithoutUserInput[];
|
|
581
|
+
updateMany?: Prisma.ApiKeyUpdateManyWithWhereWithoutUserInput | Prisma.ApiKeyUpdateManyWithWhereWithoutUserInput[];
|
|
582
|
+
deleteMany?: Prisma.ApiKeyScalarWhereInput | Prisma.ApiKeyScalarWhereInput[];
|
|
583
|
+
};
|
|
584
|
+
export type ApiKeyUncheckedUpdateManyWithoutUserNestedInput = {
|
|
585
|
+
create?: Prisma.XOR<Prisma.ApiKeyCreateWithoutUserInput, Prisma.ApiKeyUncheckedCreateWithoutUserInput> | Prisma.ApiKeyCreateWithoutUserInput[] | Prisma.ApiKeyUncheckedCreateWithoutUserInput[];
|
|
586
|
+
connectOrCreate?: Prisma.ApiKeyCreateOrConnectWithoutUserInput | Prisma.ApiKeyCreateOrConnectWithoutUserInput[];
|
|
587
|
+
upsert?: Prisma.ApiKeyUpsertWithWhereUniqueWithoutUserInput | Prisma.ApiKeyUpsertWithWhereUniqueWithoutUserInput[];
|
|
588
|
+
createMany?: Prisma.ApiKeyCreateManyUserInputEnvelope;
|
|
589
|
+
set?: Prisma.ApiKeyWhereUniqueInput | Prisma.ApiKeyWhereUniqueInput[];
|
|
590
|
+
disconnect?: Prisma.ApiKeyWhereUniqueInput | Prisma.ApiKeyWhereUniqueInput[];
|
|
591
|
+
delete?: Prisma.ApiKeyWhereUniqueInput | Prisma.ApiKeyWhereUniqueInput[];
|
|
592
|
+
connect?: Prisma.ApiKeyWhereUniqueInput | Prisma.ApiKeyWhereUniqueInput[];
|
|
593
|
+
update?: Prisma.ApiKeyUpdateWithWhereUniqueWithoutUserInput | Prisma.ApiKeyUpdateWithWhereUniqueWithoutUserInput[];
|
|
594
|
+
updateMany?: Prisma.ApiKeyUpdateManyWithWhereWithoutUserInput | Prisma.ApiKeyUpdateManyWithWhereWithoutUserInput[];
|
|
595
|
+
deleteMany?: Prisma.ApiKeyScalarWhereInput | Prisma.ApiKeyScalarWhereInput[];
|
|
596
|
+
};
|
|
597
|
+
export type ApiKeyCreateprojectIdsInput = {
|
|
598
|
+
set: string[];
|
|
599
|
+
};
|
|
600
|
+
export type ApiKeyCreatebranchNamesInput = {
|
|
601
|
+
set: string[];
|
|
602
|
+
};
|
|
603
|
+
export type ApiKeyCreatetableIdsInput = {
|
|
604
|
+
set: string[];
|
|
605
|
+
};
|
|
606
|
+
export type ApiKeyCreateallowedIpsInput = {
|
|
607
|
+
set: string[];
|
|
608
|
+
};
|
|
609
|
+
export type ApiKeyCreateNestedOneWithoutReplacementsInput = {
|
|
610
|
+
create?: Prisma.XOR<Prisma.ApiKeyCreateWithoutReplacementsInput, Prisma.ApiKeyUncheckedCreateWithoutReplacementsInput>;
|
|
611
|
+
connectOrCreate?: Prisma.ApiKeyCreateOrConnectWithoutReplacementsInput;
|
|
612
|
+
connect?: Prisma.ApiKeyWhereUniqueInput;
|
|
613
|
+
};
|
|
614
|
+
export type ApiKeyCreateNestedManyWithoutReplacedByInput = {
|
|
615
|
+
create?: Prisma.XOR<Prisma.ApiKeyCreateWithoutReplacedByInput, Prisma.ApiKeyUncheckedCreateWithoutReplacedByInput> | Prisma.ApiKeyCreateWithoutReplacedByInput[] | Prisma.ApiKeyUncheckedCreateWithoutReplacedByInput[];
|
|
616
|
+
connectOrCreate?: Prisma.ApiKeyCreateOrConnectWithoutReplacedByInput | Prisma.ApiKeyCreateOrConnectWithoutReplacedByInput[];
|
|
617
|
+
createMany?: Prisma.ApiKeyCreateManyReplacedByInputEnvelope;
|
|
618
|
+
connect?: Prisma.ApiKeyWhereUniqueInput | Prisma.ApiKeyWhereUniqueInput[];
|
|
619
|
+
};
|
|
620
|
+
export type ApiKeyUncheckedCreateNestedManyWithoutReplacedByInput = {
|
|
621
|
+
create?: Prisma.XOR<Prisma.ApiKeyCreateWithoutReplacedByInput, Prisma.ApiKeyUncheckedCreateWithoutReplacedByInput> | Prisma.ApiKeyCreateWithoutReplacedByInput[] | Prisma.ApiKeyUncheckedCreateWithoutReplacedByInput[];
|
|
622
|
+
connectOrCreate?: Prisma.ApiKeyCreateOrConnectWithoutReplacedByInput | Prisma.ApiKeyCreateOrConnectWithoutReplacedByInput[];
|
|
623
|
+
createMany?: Prisma.ApiKeyCreateManyReplacedByInputEnvelope;
|
|
624
|
+
connect?: Prisma.ApiKeyWhereUniqueInput | Prisma.ApiKeyWhereUniqueInput[];
|
|
625
|
+
};
|
|
626
|
+
export type EnumApiKeyTypeFieldUpdateOperationsInput = {
|
|
627
|
+
set?: $Enums.ApiKeyType;
|
|
628
|
+
};
|
|
629
|
+
export type ApiKeyUpdateprojectIdsInput = {
|
|
630
|
+
set?: string[];
|
|
631
|
+
push?: string | string[];
|
|
632
|
+
};
|
|
633
|
+
export type ApiKeyUpdatebranchNamesInput = {
|
|
634
|
+
set?: string[];
|
|
635
|
+
push?: string | string[];
|
|
636
|
+
};
|
|
637
|
+
export type ApiKeyUpdatetableIdsInput = {
|
|
638
|
+
set?: string[];
|
|
639
|
+
push?: string | string[];
|
|
640
|
+
};
|
|
641
|
+
export type ApiKeyUpdateallowedIpsInput = {
|
|
642
|
+
set?: string[];
|
|
643
|
+
push?: string | string[];
|
|
644
|
+
};
|
|
645
|
+
export type ApiKeyUpdateOneWithoutReplacementsNestedInput = {
|
|
646
|
+
create?: Prisma.XOR<Prisma.ApiKeyCreateWithoutReplacementsInput, Prisma.ApiKeyUncheckedCreateWithoutReplacementsInput>;
|
|
647
|
+
connectOrCreate?: Prisma.ApiKeyCreateOrConnectWithoutReplacementsInput;
|
|
648
|
+
upsert?: Prisma.ApiKeyUpsertWithoutReplacementsInput;
|
|
649
|
+
disconnect?: Prisma.ApiKeyWhereInput | boolean;
|
|
650
|
+
delete?: Prisma.ApiKeyWhereInput | boolean;
|
|
651
|
+
connect?: Prisma.ApiKeyWhereUniqueInput;
|
|
652
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ApiKeyUpdateToOneWithWhereWithoutReplacementsInput, Prisma.ApiKeyUpdateWithoutReplacementsInput>, Prisma.ApiKeyUncheckedUpdateWithoutReplacementsInput>;
|
|
653
|
+
};
|
|
654
|
+
export type ApiKeyUpdateManyWithoutReplacedByNestedInput = {
|
|
655
|
+
create?: Prisma.XOR<Prisma.ApiKeyCreateWithoutReplacedByInput, Prisma.ApiKeyUncheckedCreateWithoutReplacedByInput> | Prisma.ApiKeyCreateWithoutReplacedByInput[] | Prisma.ApiKeyUncheckedCreateWithoutReplacedByInput[];
|
|
656
|
+
connectOrCreate?: Prisma.ApiKeyCreateOrConnectWithoutReplacedByInput | Prisma.ApiKeyCreateOrConnectWithoutReplacedByInput[];
|
|
657
|
+
upsert?: Prisma.ApiKeyUpsertWithWhereUniqueWithoutReplacedByInput | Prisma.ApiKeyUpsertWithWhereUniqueWithoutReplacedByInput[];
|
|
658
|
+
createMany?: Prisma.ApiKeyCreateManyReplacedByInputEnvelope;
|
|
659
|
+
set?: Prisma.ApiKeyWhereUniqueInput | Prisma.ApiKeyWhereUniqueInput[];
|
|
660
|
+
disconnect?: Prisma.ApiKeyWhereUniqueInput | Prisma.ApiKeyWhereUniqueInput[];
|
|
661
|
+
delete?: Prisma.ApiKeyWhereUniqueInput | Prisma.ApiKeyWhereUniqueInput[];
|
|
662
|
+
connect?: Prisma.ApiKeyWhereUniqueInput | Prisma.ApiKeyWhereUniqueInput[];
|
|
663
|
+
update?: Prisma.ApiKeyUpdateWithWhereUniqueWithoutReplacedByInput | Prisma.ApiKeyUpdateWithWhereUniqueWithoutReplacedByInput[];
|
|
664
|
+
updateMany?: Prisma.ApiKeyUpdateManyWithWhereWithoutReplacedByInput | Prisma.ApiKeyUpdateManyWithWhereWithoutReplacedByInput[];
|
|
665
|
+
deleteMany?: Prisma.ApiKeyScalarWhereInput | Prisma.ApiKeyScalarWhereInput[];
|
|
666
|
+
};
|
|
667
|
+
export type ApiKeyUncheckedUpdateManyWithoutReplacedByNestedInput = {
|
|
668
|
+
create?: Prisma.XOR<Prisma.ApiKeyCreateWithoutReplacedByInput, Prisma.ApiKeyUncheckedCreateWithoutReplacedByInput> | Prisma.ApiKeyCreateWithoutReplacedByInput[] | Prisma.ApiKeyUncheckedCreateWithoutReplacedByInput[];
|
|
669
|
+
connectOrCreate?: Prisma.ApiKeyCreateOrConnectWithoutReplacedByInput | Prisma.ApiKeyCreateOrConnectWithoutReplacedByInput[];
|
|
670
|
+
upsert?: Prisma.ApiKeyUpsertWithWhereUniqueWithoutReplacedByInput | Prisma.ApiKeyUpsertWithWhereUniqueWithoutReplacedByInput[];
|
|
671
|
+
createMany?: Prisma.ApiKeyCreateManyReplacedByInputEnvelope;
|
|
672
|
+
set?: Prisma.ApiKeyWhereUniqueInput | Prisma.ApiKeyWhereUniqueInput[];
|
|
673
|
+
disconnect?: Prisma.ApiKeyWhereUniqueInput | Prisma.ApiKeyWhereUniqueInput[];
|
|
674
|
+
delete?: Prisma.ApiKeyWhereUniqueInput | Prisma.ApiKeyWhereUniqueInput[];
|
|
675
|
+
connect?: Prisma.ApiKeyWhereUniqueInput | Prisma.ApiKeyWhereUniqueInput[];
|
|
676
|
+
update?: Prisma.ApiKeyUpdateWithWhereUniqueWithoutReplacedByInput | Prisma.ApiKeyUpdateWithWhereUniqueWithoutReplacedByInput[];
|
|
677
|
+
updateMany?: Prisma.ApiKeyUpdateManyWithWhereWithoutReplacedByInput | Prisma.ApiKeyUpdateManyWithWhereWithoutReplacedByInput[];
|
|
678
|
+
deleteMany?: Prisma.ApiKeyScalarWhereInput | Prisma.ApiKeyScalarWhereInput[];
|
|
679
|
+
};
|
|
680
|
+
export type ApiKeyCreateWithoutUserInput = {
|
|
681
|
+
id?: string;
|
|
682
|
+
prefix: string;
|
|
683
|
+
keyHash: string;
|
|
684
|
+
type: $Enums.ApiKeyType;
|
|
685
|
+
name: string;
|
|
686
|
+
serviceId?: string | null;
|
|
687
|
+
internalServiceName?: string | null;
|
|
688
|
+
organizationId?: string | null;
|
|
689
|
+
projectIds?: Prisma.ApiKeyCreateprojectIdsInput | string[];
|
|
690
|
+
branchNames?: Prisma.ApiKeyCreatebranchNamesInput | string[];
|
|
691
|
+
tableIds?: Prisma.ApiKeyCreatetableIdsInput | string[];
|
|
692
|
+
permissions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
693
|
+
readOnly?: boolean;
|
|
694
|
+
allowedIps?: Prisma.ApiKeyCreateallowedIpsInput | string[];
|
|
695
|
+
expiresAt?: Date | string | null;
|
|
696
|
+
revokedAt?: Date | string | null;
|
|
697
|
+
lastUsedAt?: Date | string | null;
|
|
698
|
+
lastUsedIp?: string | null;
|
|
699
|
+
createdAt?: Date | string;
|
|
700
|
+
replacedBy?: Prisma.ApiKeyCreateNestedOneWithoutReplacementsInput;
|
|
701
|
+
replacements?: Prisma.ApiKeyCreateNestedManyWithoutReplacedByInput;
|
|
702
|
+
};
|
|
703
|
+
export type ApiKeyUncheckedCreateWithoutUserInput = {
|
|
704
|
+
id?: string;
|
|
705
|
+
prefix: string;
|
|
706
|
+
keyHash: string;
|
|
707
|
+
type: $Enums.ApiKeyType;
|
|
708
|
+
name: string;
|
|
709
|
+
serviceId?: string | null;
|
|
710
|
+
internalServiceName?: string | null;
|
|
711
|
+
organizationId?: string | null;
|
|
712
|
+
projectIds?: Prisma.ApiKeyCreateprojectIdsInput | string[];
|
|
713
|
+
branchNames?: Prisma.ApiKeyCreatebranchNamesInput | string[];
|
|
714
|
+
tableIds?: Prisma.ApiKeyCreatetableIdsInput | string[];
|
|
715
|
+
permissions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
716
|
+
readOnly?: boolean;
|
|
717
|
+
allowedIps?: Prisma.ApiKeyCreateallowedIpsInput | string[];
|
|
718
|
+
expiresAt?: Date | string | null;
|
|
719
|
+
revokedAt?: Date | string | null;
|
|
720
|
+
replacedById?: string | null;
|
|
721
|
+
lastUsedAt?: Date | string | null;
|
|
722
|
+
lastUsedIp?: string | null;
|
|
723
|
+
createdAt?: Date | string;
|
|
724
|
+
replacements?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutReplacedByInput;
|
|
725
|
+
};
|
|
726
|
+
export type ApiKeyCreateOrConnectWithoutUserInput = {
|
|
727
|
+
where: Prisma.ApiKeyWhereUniqueInput;
|
|
728
|
+
create: Prisma.XOR<Prisma.ApiKeyCreateWithoutUserInput, Prisma.ApiKeyUncheckedCreateWithoutUserInput>;
|
|
729
|
+
};
|
|
730
|
+
export type ApiKeyCreateManyUserInputEnvelope = {
|
|
731
|
+
data: Prisma.ApiKeyCreateManyUserInput | Prisma.ApiKeyCreateManyUserInput[];
|
|
732
|
+
skipDuplicates?: boolean;
|
|
733
|
+
};
|
|
734
|
+
export type ApiKeyUpsertWithWhereUniqueWithoutUserInput = {
|
|
735
|
+
where: Prisma.ApiKeyWhereUniqueInput;
|
|
736
|
+
update: Prisma.XOR<Prisma.ApiKeyUpdateWithoutUserInput, Prisma.ApiKeyUncheckedUpdateWithoutUserInput>;
|
|
737
|
+
create: Prisma.XOR<Prisma.ApiKeyCreateWithoutUserInput, Prisma.ApiKeyUncheckedCreateWithoutUserInput>;
|
|
738
|
+
};
|
|
739
|
+
export type ApiKeyUpdateWithWhereUniqueWithoutUserInput = {
|
|
740
|
+
where: Prisma.ApiKeyWhereUniqueInput;
|
|
741
|
+
data: Prisma.XOR<Prisma.ApiKeyUpdateWithoutUserInput, Prisma.ApiKeyUncheckedUpdateWithoutUserInput>;
|
|
742
|
+
};
|
|
743
|
+
export type ApiKeyUpdateManyWithWhereWithoutUserInput = {
|
|
744
|
+
where: Prisma.ApiKeyScalarWhereInput;
|
|
745
|
+
data: Prisma.XOR<Prisma.ApiKeyUpdateManyMutationInput, Prisma.ApiKeyUncheckedUpdateManyWithoutUserInput>;
|
|
746
|
+
};
|
|
747
|
+
export type ApiKeyScalarWhereInput = {
|
|
748
|
+
AND?: Prisma.ApiKeyScalarWhereInput | Prisma.ApiKeyScalarWhereInput[];
|
|
749
|
+
OR?: Prisma.ApiKeyScalarWhereInput[];
|
|
750
|
+
NOT?: Prisma.ApiKeyScalarWhereInput | Prisma.ApiKeyScalarWhereInput[];
|
|
751
|
+
id?: Prisma.StringFilter<"ApiKey"> | string;
|
|
752
|
+
prefix?: Prisma.StringFilter<"ApiKey"> | string;
|
|
753
|
+
keyHash?: Prisma.StringFilter<"ApiKey"> | string;
|
|
754
|
+
type?: Prisma.EnumApiKeyTypeFilter<"ApiKey"> | $Enums.ApiKeyType;
|
|
755
|
+
name?: Prisma.StringFilter<"ApiKey"> | string;
|
|
756
|
+
userId?: Prisma.StringNullableFilter<"ApiKey"> | string | null;
|
|
757
|
+
serviceId?: Prisma.StringNullableFilter<"ApiKey"> | string | null;
|
|
758
|
+
internalServiceName?: Prisma.StringNullableFilter<"ApiKey"> | string | null;
|
|
759
|
+
organizationId?: Prisma.StringNullableFilter<"ApiKey"> | string | null;
|
|
760
|
+
projectIds?: Prisma.StringNullableListFilter<"ApiKey">;
|
|
761
|
+
branchNames?: Prisma.StringNullableListFilter<"ApiKey">;
|
|
762
|
+
tableIds?: Prisma.StringNullableListFilter<"ApiKey">;
|
|
763
|
+
permissions?: Prisma.JsonNullableFilter<"ApiKey">;
|
|
764
|
+
readOnly?: Prisma.BoolFilter<"ApiKey"> | boolean;
|
|
765
|
+
allowedIps?: Prisma.StringNullableListFilter<"ApiKey">;
|
|
766
|
+
expiresAt?: Prisma.DateTimeNullableFilter<"ApiKey"> | Date | string | null;
|
|
767
|
+
revokedAt?: Prisma.DateTimeNullableFilter<"ApiKey"> | Date | string | null;
|
|
768
|
+
replacedById?: Prisma.StringNullableFilter<"ApiKey"> | string | null;
|
|
769
|
+
lastUsedAt?: Prisma.DateTimeNullableFilter<"ApiKey"> | Date | string | null;
|
|
770
|
+
lastUsedIp?: Prisma.StringNullableFilter<"ApiKey"> | string | null;
|
|
771
|
+
createdAt?: Prisma.DateTimeFilter<"ApiKey"> | Date | string;
|
|
772
|
+
};
|
|
773
|
+
export type ApiKeyCreateWithoutReplacementsInput = {
|
|
774
|
+
id?: string;
|
|
775
|
+
prefix: string;
|
|
776
|
+
keyHash: string;
|
|
777
|
+
type: $Enums.ApiKeyType;
|
|
778
|
+
name: string;
|
|
779
|
+
serviceId?: string | null;
|
|
780
|
+
internalServiceName?: string | null;
|
|
781
|
+
organizationId?: string | null;
|
|
782
|
+
projectIds?: Prisma.ApiKeyCreateprojectIdsInput | string[];
|
|
783
|
+
branchNames?: Prisma.ApiKeyCreatebranchNamesInput | string[];
|
|
784
|
+
tableIds?: Prisma.ApiKeyCreatetableIdsInput | string[];
|
|
785
|
+
permissions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
786
|
+
readOnly?: boolean;
|
|
787
|
+
allowedIps?: Prisma.ApiKeyCreateallowedIpsInput | string[];
|
|
788
|
+
expiresAt?: Date | string | null;
|
|
789
|
+
revokedAt?: Date | string | null;
|
|
790
|
+
lastUsedAt?: Date | string | null;
|
|
791
|
+
lastUsedIp?: string | null;
|
|
792
|
+
createdAt?: Date | string;
|
|
793
|
+
user?: Prisma.UserCreateNestedOneWithoutApiKeysInput;
|
|
794
|
+
replacedBy?: Prisma.ApiKeyCreateNestedOneWithoutReplacementsInput;
|
|
795
|
+
};
|
|
796
|
+
export type ApiKeyUncheckedCreateWithoutReplacementsInput = {
|
|
797
|
+
id?: string;
|
|
798
|
+
prefix: string;
|
|
799
|
+
keyHash: string;
|
|
800
|
+
type: $Enums.ApiKeyType;
|
|
801
|
+
name: string;
|
|
802
|
+
userId?: string | null;
|
|
803
|
+
serviceId?: string | null;
|
|
804
|
+
internalServiceName?: string | null;
|
|
805
|
+
organizationId?: string | null;
|
|
806
|
+
projectIds?: Prisma.ApiKeyCreateprojectIdsInput | string[];
|
|
807
|
+
branchNames?: Prisma.ApiKeyCreatebranchNamesInput | string[];
|
|
808
|
+
tableIds?: Prisma.ApiKeyCreatetableIdsInput | string[];
|
|
809
|
+
permissions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
810
|
+
readOnly?: boolean;
|
|
811
|
+
allowedIps?: Prisma.ApiKeyCreateallowedIpsInput | string[];
|
|
812
|
+
expiresAt?: Date | string | null;
|
|
813
|
+
revokedAt?: Date | string | null;
|
|
814
|
+
replacedById?: string | null;
|
|
815
|
+
lastUsedAt?: Date | string | null;
|
|
816
|
+
lastUsedIp?: string | null;
|
|
817
|
+
createdAt?: Date | string;
|
|
818
|
+
};
|
|
819
|
+
export type ApiKeyCreateOrConnectWithoutReplacementsInput = {
|
|
820
|
+
where: Prisma.ApiKeyWhereUniqueInput;
|
|
821
|
+
create: Prisma.XOR<Prisma.ApiKeyCreateWithoutReplacementsInput, Prisma.ApiKeyUncheckedCreateWithoutReplacementsInput>;
|
|
822
|
+
};
|
|
823
|
+
export type ApiKeyCreateWithoutReplacedByInput = {
|
|
824
|
+
id?: string;
|
|
825
|
+
prefix: string;
|
|
826
|
+
keyHash: string;
|
|
827
|
+
type: $Enums.ApiKeyType;
|
|
828
|
+
name: string;
|
|
829
|
+
serviceId?: string | null;
|
|
830
|
+
internalServiceName?: string | null;
|
|
831
|
+
organizationId?: string | null;
|
|
832
|
+
projectIds?: Prisma.ApiKeyCreateprojectIdsInput | string[];
|
|
833
|
+
branchNames?: Prisma.ApiKeyCreatebranchNamesInput | string[];
|
|
834
|
+
tableIds?: Prisma.ApiKeyCreatetableIdsInput | string[];
|
|
835
|
+
permissions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
836
|
+
readOnly?: boolean;
|
|
837
|
+
allowedIps?: Prisma.ApiKeyCreateallowedIpsInput | string[];
|
|
838
|
+
expiresAt?: Date | string | null;
|
|
839
|
+
revokedAt?: Date | string | null;
|
|
840
|
+
lastUsedAt?: Date | string | null;
|
|
841
|
+
lastUsedIp?: string | null;
|
|
842
|
+
createdAt?: Date | string;
|
|
843
|
+
user?: Prisma.UserCreateNestedOneWithoutApiKeysInput;
|
|
844
|
+
replacements?: Prisma.ApiKeyCreateNestedManyWithoutReplacedByInput;
|
|
845
|
+
};
|
|
846
|
+
export type ApiKeyUncheckedCreateWithoutReplacedByInput = {
|
|
847
|
+
id?: string;
|
|
848
|
+
prefix: string;
|
|
849
|
+
keyHash: string;
|
|
850
|
+
type: $Enums.ApiKeyType;
|
|
851
|
+
name: string;
|
|
852
|
+
userId?: string | null;
|
|
853
|
+
serviceId?: string | null;
|
|
854
|
+
internalServiceName?: string | null;
|
|
855
|
+
organizationId?: string | null;
|
|
856
|
+
projectIds?: Prisma.ApiKeyCreateprojectIdsInput | string[];
|
|
857
|
+
branchNames?: Prisma.ApiKeyCreatebranchNamesInput | string[];
|
|
858
|
+
tableIds?: Prisma.ApiKeyCreatetableIdsInput | string[];
|
|
859
|
+
permissions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
860
|
+
readOnly?: boolean;
|
|
861
|
+
allowedIps?: Prisma.ApiKeyCreateallowedIpsInput | string[];
|
|
862
|
+
expiresAt?: Date | string | null;
|
|
863
|
+
revokedAt?: Date | string | null;
|
|
864
|
+
lastUsedAt?: Date | string | null;
|
|
865
|
+
lastUsedIp?: string | null;
|
|
866
|
+
createdAt?: Date | string;
|
|
867
|
+
replacements?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutReplacedByInput;
|
|
868
|
+
};
|
|
869
|
+
export type ApiKeyCreateOrConnectWithoutReplacedByInput = {
|
|
870
|
+
where: Prisma.ApiKeyWhereUniqueInput;
|
|
871
|
+
create: Prisma.XOR<Prisma.ApiKeyCreateWithoutReplacedByInput, Prisma.ApiKeyUncheckedCreateWithoutReplacedByInput>;
|
|
872
|
+
};
|
|
873
|
+
export type ApiKeyCreateManyReplacedByInputEnvelope = {
|
|
874
|
+
data: Prisma.ApiKeyCreateManyReplacedByInput | Prisma.ApiKeyCreateManyReplacedByInput[];
|
|
875
|
+
skipDuplicates?: boolean;
|
|
876
|
+
};
|
|
877
|
+
export type ApiKeyUpsertWithoutReplacementsInput = {
|
|
878
|
+
update: Prisma.XOR<Prisma.ApiKeyUpdateWithoutReplacementsInput, Prisma.ApiKeyUncheckedUpdateWithoutReplacementsInput>;
|
|
879
|
+
create: Prisma.XOR<Prisma.ApiKeyCreateWithoutReplacementsInput, Prisma.ApiKeyUncheckedCreateWithoutReplacementsInput>;
|
|
880
|
+
where?: Prisma.ApiKeyWhereInput;
|
|
881
|
+
};
|
|
882
|
+
export type ApiKeyUpdateToOneWithWhereWithoutReplacementsInput = {
|
|
883
|
+
where?: Prisma.ApiKeyWhereInput;
|
|
884
|
+
data: Prisma.XOR<Prisma.ApiKeyUpdateWithoutReplacementsInput, Prisma.ApiKeyUncheckedUpdateWithoutReplacementsInput>;
|
|
885
|
+
};
|
|
886
|
+
export type ApiKeyUpdateWithoutReplacementsInput = {
|
|
887
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
888
|
+
prefix?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
889
|
+
keyHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
890
|
+
type?: Prisma.EnumApiKeyTypeFieldUpdateOperationsInput | $Enums.ApiKeyType;
|
|
891
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
892
|
+
serviceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
893
|
+
internalServiceName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
894
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
895
|
+
projectIds?: Prisma.ApiKeyUpdateprojectIdsInput | string[];
|
|
896
|
+
branchNames?: Prisma.ApiKeyUpdatebranchNamesInput | string[];
|
|
897
|
+
tableIds?: Prisma.ApiKeyUpdatetableIdsInput | string[];
|
|
898
|
+
permissions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
899
|
+
readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
900
|
+
allowedIps?: Prisma.ApiKeyUpdateallowedIpsInput | string[];
|
|
901
|
+
expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
902
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
903
|
+
lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
904
|
+
lastUsedIp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
905
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
906
|
+
user?: Prisma.UserUpdateOneWithoutApiKeysNestedInput;
|
|
907
|
+
replacedBy?: Prisma.ApiKeyUpdateOneWithoutReplacementsNestedInput;
|
|
908
|
+
};
|
|
909
|
+
export type ApiKeyUncheckedUpdateWithoutReplacementsInput = {
|
|
910
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
911
|
+
prefix?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
912
|
+
keyHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
913
|
+
type?: Prisma.EnumApiKeyTypeFieldUpdateOperationsInput | $Enums.ApiKeyType;
|
|
914
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
915
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
916
|
+
serviceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
917
|
+
internalServiceName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
918
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
919
|
+
projectIds?: Prisma.ApiKeyUpdateprojectIdsInput | string[];
|
|
920
|
+
branchNames?: Prisma.ApiKeyUpdatebranchNamesInput | string[];
|
|
921
|
+
tableIds?: Prisma.ApiKeyUpdatetableIdsInput | string[];
|
|
922
|
+
permissions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
923
|
+
readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
924
|
+
allowedIps?: Prisma.ApiKeyUpdateallowedIpsInput | string[];
|
|
925
|
+
expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
926
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
927
|
+
replacedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
928
|
+
lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
929
|
+
lastUsedIp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
930
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
931
|
+
};
|
|
932
|
+
export type ApiKeyUpsertWithWhereUniqueWithoutReplacedByInput = {
|
|
933
|
+
where: Prisma.ApiKeyWhereUniqueInput;
|
|
934
|
+
update: Prisma.XOR<Prisma.ApiKeyUpdateWithoutReplacedByInput, Prisma.ApiKeyUncheckedUpdateWithoutReplacedByInput>;
|
|
935
|
+
create: Prisma.XOR<Prisma.ApiKeyCreateWithoutReplacedByInput, Prisma.ApiKeyUncheckedCreateWithoutReplacedByInput>;
|
|
936
|
+
};
|
|
937
|
+
export type ApiKeyUpdateWithWhereUniqueWithoutReplacedByInput = {
|
|
938
|
+
where: Prisma.ApiKeyWhereUniqueInput;
|
|
939
|
+
data: Prisma.XOR<Prisma.ApiKeyUpdateWithoutReplacedByInput, Prisma.ApiKeyUncheckedUpdateWithoutReplacedByInput>;
|
|
940
|
+
};
|
|
941
|
+
export type ApiKeyUpdateManyWithWhereWithoutReplacedByInput = {
|
|
942
|
+
where: Prisma.ApiKeyScalarWhereInput;
|
|
943
|
+
data: Prisma.XOR<Prisma.ApiKeyUpdateManyMutationInput, Prisma.ApiKeyUncheckedUpdateManyWithoutReplacedByInput>;
|
|
944
|
+
};
|
|
945
|
+
export type ApiKeyCreateManyUserInput = {
|
|
946
|
+
id?: string;
|
|
947
|
+
prefix: string;
|
|
948
|
+
keyHash: string;
|
|
949
|
+
type: $Enums.ApiKeyType;
|
|
950
|
+
name: string;
|
|
951
|
+
serviceId?: string | null;
|
|
952
|
+
internalServiceName?: string | null;
|
|
953
|
+
organizationId?: string | null;
|
|
954
|
+
projectIds?: Prisma.ApiKeyCreateprojectIdsInput | string[];
|
|
955
|
+
branchNames?: Prisma.ApiKeyCreatebranchNamesInput | string[];
|
|
956
|
+
tableIds?: Prisma.ApiKeyCreatetableIdsInput | string[];
|
|
957
|
+
permissions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
958
|
+
readOnly?: boolean;
|
|
959
|
+
allowedIps?: Prisma.ApiKeyCreateallowedIpsInput | string[];
|
|
960
|
+
expiresAt?: Date | string | null;
|
|
961
|
+
revokedAt?: Date | string | null;
|
|
962
|
+
replacedById?: string | null;
|
|
963
|
+
lastUsedAt?: Date | string | null;
|
|
964
|
+
lastUsedIp?: string | null;
|
|
965
|
+
createdAt?: Date | string;
|
|
966
|
+
};
|
|
967
|
+
export type ApiKeyUpdateWithoutUserInput = {
|
|
968
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
969
|
+
prefix?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
970
|
+
keyHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
971
|
+
type?: Prisma.EnumApiKeyTypeFieldUpdateOperationsInput | $Enums.ApiKeyType;
|
|
972
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
973
|
+
serviceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
974
|
+
internalServiceName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
975
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
976
|
+
projectIds?: Prisma.ApiKeyUpdateprojectIdsInput | string[];
|
|
977
|
+
branchNames?: Prisma.ApiKeyUpdatebranchNamesInput | string[];
|
|
978
|
+
tableIds?: Prisma.ApiKeyUpdatetableIdsInput | string[];
|
|
979
|
+
permissions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
980
|
+
readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
981
|
+
allowedIps?: Prisma.ApiKeyUpdateallowedIpsInput | string[];
|
|
982
|
+
expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
983
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
984
|
+
lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
985
|
+
lastUsedIp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
986
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
987
|
+
replacedBy?: Prisma.ApiKeyUpdateOneWithoutReplacementsNestedInput;
|
|
988
|
+
replacements?: Prisma.ApiKeyUpdateManyWithoutReplacedByNestedInput;
|
|
989
|
+
};
|
|
990
|
+
export type ApiKeyUncheckedUpdateWithoutUserInput = {
|
|
991
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
992
|
+
prefix?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
993
|
+
keyHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
994
|
+
type?: Prisma.EnumApiKeyTypeFieldUpdateOperationsInput | $Enums.ApiKeyType;
|
|
995
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
996
|
+
serviceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
997
|
+
internalServiceName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
998
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
999
|
+
projectIds?: Prisma.ApiKeyUpdateprojectIdsInput | string[];
|
|
1000
|
+
branchNames?: Prisma.ApiKeyUpdatebranchNamesInput | string[];
|
|
1001
|
+
tableIds?: Prisma.ApiKeyUpdatetableIdsInput | string[];
|
|
1002
|
+
permissions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1003
|
+
readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1004
|
+
allowedIps?: Prisma.ApiKeyUpdateallowedIpsInput | string[];
|
|
1005
|
+
expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1006
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1007
|
+
replacedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1008
|
+
lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1009
|
+
lastUsedIp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1010
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1011
|
+
replacements?: Prisma.ApiKeyUncheckedUpdateManyWithoutReplacedByNestedInput;
|
|
1012
|
+
};
|
|
1013
|
+
export type ApiKeyUncheckedUpdateManyWithoutUserInput = {
|
|
1014
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1015
|
+
prefix?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1016
|
+
keyHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1017
|
+
type?: Prisma.EnumApiKeyTypeFieldUpdateOperationsInput | $Enums.ApiKeyType;
|
|
1018
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1019
|
+
serviceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1020
|
+
internalServiceName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1021
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1022
|
+
projectIds?: Prisma.ApiKeyUpdateprojectIdsInput | string[];
|
|
1023
|
+
branchNames?: Prisma.ApiKeyUpdatebranchNamesInput | string[];
|
|
1024
|
+
tableIds?: Prisma.ApiKeyUpdatetableIdsInput | string[];
|
|
1025
|
+
permissions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1026
|
+
readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1027
|
+
allowedIps?: Prisma.ApiKeyUpdateallowedIpsInput | string[];
|
|
1028
|
+
expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1029
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1030
|
+
replacedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1031
|
+
lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1032
|
+
lastUsedIp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1033
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1034
|
+
};
|
|
1035
|
+
export type ApiKeyCreateManyReplacedByInput = {
|
|
1036
|
+
id?: string;
|
|
1037
|
+
prefix: string;
|
|
1038
|
+
keyHash: string;
|
|
1039
|
+
type: $Enums.ApiKeyType;
|
|
1040
|
+
name: string;
|
|
1041
|
+
userId?: string | null;
|
|
1042
|
+
serviceId?: string | null;
|
|
1043
|
+
internalServiceName?: string | null;
|
|
1044
|
+
organizationId?: string | null;
|
|
1045
|
+
projectIds?: Prisma.ApiKeyCreateprojectIdsInput | string[];
|
|
1046
|
+
branchNames?: Prisma.ApiKeyCreatebranchNamesInput | string[];
|
|
1047
|
+
tableIds?: Prisma.ApiKeyCreatetableIdsInput | string[];
|
|
1048
|
+
permissions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1049
|
+
readOnly?: boolean;
|
|
1050
|
+
allowedIps?: Prisma.ApiKeyCreateallowedIpsInput | string[];
|
|
1051
|
+
expiresAt?: Date | string | null;
|
|
1052
|
+
revokedAt?: Date | string | null;
|
|
1053
|
+
lastUsedAt?: Date | string | null;
|
|
1054
|
+
lastUsedIp?: string | null;
|
|
1055
|
+
createdAt?: Date | string;
|
|
1056
|
+
};
|
|
1057
|
+
export type ApiKeyUpdateWithoutReplacedByInput = {
|
|
1058
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1059
|
+
prefix?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1060
|
+
keyHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1061
|
+
type?: Prisma.EnumApiKeyTypeFieldUpdateOperationsInput | $Enums.ApiKeyType;
|
|
1062
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1063
|
+
serviceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1064
|
+
internalServiceName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1065
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1066
|
+
projectIds?: Prisma.ApiKeyUpdateprojectIdsInput | string[];
|
|
1067
|
+
branchNames?: Prisma.ApiKeyUpdatebranchNamesInput | string[];
|
|
1068
|
+
tableIds?: Prisma.ApiKeyUpdatetableIdsInput | string[];
|
|
1069
|
+
permissions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1070
|
+
readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1071
|
+
allowedIps?: Prisma.ApiKeyUpdateallowedIpsInput | string[];
|
|
1072
|
+
expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1073
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1074
|
+
lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1075
|
+
lastUsedIp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1076
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1077
|
+
user?: Prisma.UserUpdateOneWithoutApiKeysNestedInput;
|
|
1078
|
+
replacements?: Prisma.ApiKeyUpdateManyWithoutReplacedByNestedInput;
|
|
1079
|
+
};
|
|
1080
|
+
export type ApiKeyUncheckedUpdateWithoutReplacedByInput = {
|
|
1081
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1082
|
+
prefix?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1083
|
+
keyHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1084
|
+
type?: Prisma.EnumApiKeyTypeFieldUpdateOperationsInput | $Enums.ApiKeyType;
|
|
1085
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1086
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1087
|
+
serviceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1088
|
+
internalServiceName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1089
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1090
|
+
projectIds?: Prisma.ApiKeyUpdateprojectIdsInput | string[];
|
|
1091
|
+
branchNames?: Prisma.ApiKeyUpdatebranchNamesInput | string[];
|
|
1092
|
+
tableIds?: Prisma.ApiKeyUpdatetableIdsInput | string[];
|
|
1093
|
+
permissions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1094
|
+
readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1095
|
+
allowedIps?: Prisma.ApiKeyUpdateallowedIpsInput | string[];
|
|
1096
|
+
expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1097
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1098
|
+
lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1099
|
+
lastUsedIp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1100
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1101
|
+
replacements?: Prisma.ApiKeyUncheckedUpdateManyWithoutReplacedByNestedInput;
|
|
1102
|
+
};
|
|
1103
|
+
export type ApiKeyUncheckedUpdateManyWithoutReplacedByInput = {
|
|
1104
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1105
|
+
prefix?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1106
|
+
keyHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1107
|
+
type?: Prisma.EnumApiKeyTypeFieldUpdateOperationsInput | $Enums.ApiKeyType;
|
|
1108
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1109
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1110
|
+
serviceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1111
|
+
internalServiceName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1112
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1113
|
+
projectIds?: Prisma.ApiKeyUpdateprojectIdsInput | string[];
|
|
1114
|
+
branchNames?: Prisma.ApiKeyUpdatebranchNamesInput | string[];
|
|
1115
|
+
tableIds?: Prisma.ApiKeyUpdatetableIdsInput | string[];
|
|
1116
|
+
permissions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1117
|
+
readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1118
|
+
allowedIps?: Prisma.ApiKeyUpdateallowedIpsInput | string[];
|
|
1119
|
+
expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1120
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1121
|
+
lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1122
|
+
lastUsedIp?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1123
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1124
|
+
};
|
|
1125
|
+
export type ApiKeyCountOutputType = {
|
|
1126
|
+
replacements: number;
|
|
1127
|
+
};
|
|
1128
|
+
export type ApiKeyCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1129
|
+
replacements?: boolean | ApiKeyCountOutputTypeCountReplacementsArgs;
|
|
1130
|
+
};
|
|
1131
|
+
export type ApiKeyCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1132
|
+
select?: Prisma.ApiKeyCountOutputTypeSelect<ExtArgs> | null;
|
|
1133
|
+
};
|
|
1134
|
+
export type ApiKeyCountOutputTypeCountReplacementsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1135
|
+
where?: Prisma.ApiKeyWhereInput;
|
|
1136
|
+
};
|
|
1137
|
+
export type ApiKeySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1138
|
+
id?: boolean;
|
|
1139
|
+
prefix?: boolean;
|
|
1140
|
+
keyHash?: boolean;
|
|
1141
|
+
type?: boolean;
|
|
1142
|
+
name?: boolean;
|
|
1143
|
+
userId?: boolean;
|
|
1144
|
+
serviceId?: boolean;
|
|
1145
|
+
internalServiceName?: boolean;
|
|
1146
|
+
organizationId?: boolean;
|
|
1147
|
+
projectIds?: boolean;
|
|
1148
|
+
branchNames?: boolean;
|
|
1149
|
+
tableIds?: boolean;
|
|
1150
|
+
permissions?: boolean;
|
|
1151
|
+
readOnly?: boolean;
|
|
1152
|
+
allowedIps?: boolean;
|
|
1153
|
+
expiresAt?: boolean;
|
|
1154
|
+
revokedAt?: boolean;
|
|
1155
|
+
replacedById?: boolean;
|
|
1156
|
+
lastUsedAt?: boolean;
|
|
1157
|
+
lastUsedIp?: boolean;
|
|
1158
|
+
createdAt?: boolean;
|
|
1159
|
+
user?: boolean | Prisma.ApiKey$userArgs<ExtArgs>;
|
|
1160
|
+
replacedBy?: boolean | Prisma.ApiKey$replacedByArgs<ExtArgs>;
|
|
1161
|
+
replacements?: boolean | Prisma.ApiKey$replacementsArgs<ExtArgs>;
|
|
1162
|
+
_count?: boolean | Prisma.ApiKeyCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1163
|
+
}, ExtArgs["result"]["apiKey"]>;
|
|
1164
|
+
export type ApiKeySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1165
|
+
id?: boolean;
|
|
1166
|
+
prefix?: boolean;
|
|
1167
|
+
keyHash?: boolean;
|
|
1168
|
+
type?: boolean;
|
|
1169
|
+
name?: boolean;
|
|
1170
|
+
userId?: boolean;
|
|
1171
|
+
serviceId?: boolean;
|
|
1172
|
+
internalServiceName?: boolean;
|
|
1173
|
+
organizationId?: boolean;
|
|
1174
|
+
projectIds?: boolean;
|
|
1175
|
+
branchNames?: boolean;
|
|
1176
|
+
tableIds?: boolean;
|
|
1177
|
+
permissions?: boolean;
|
|
1178
|
+
readOnly?: boolean;
|
|
1179
|
+
allowedIps?: boolean;
|
|
1180
|
+
expiresAt?: boolean;
|
|
1181
|
+
revokedAt?: boolean;
|
|
1182
|
+
replacedById?: boolean;
|
|
1183
|
+
lastUsedAt?: boolean;
|
|
1184
|
+
lastUsedIp?: boolean;
|
|
1185
|
+
createdAt?: boolean;
|
|
1186
|
+
user?: boolean | Prisma.ApiKey$userArgs<ExtArgs>;
|
|
1187
|
+
replacedBy?: boolean | Prisma.ApiKey$replacedByArgs<ExtArgs>;
|
|
1188
|
+
}, ExtArgs["result"]["apiKey"]>;
|
|
1189
|
+
export type ApiKeySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1190
|
+
id?: boolean;
|
|
1191
|
+
prefix?: boolean;
|
|
1192
|
+
keyHash?: boolean;
|
|
1193
|
+
type?: boolean;
|
|
1194
|
+
name?: boolean;
|
|
1195
|
+
userId?: boolean;
|
|
1196
|
+
serviceId?: boolean;
|
|
1197
|
+
internalServiceName?: boolean;
|
|
1198
|
+
organizationId?: boolean;
|
|
1199
|
+
projectIds?: boolean;
|
|
1200
|
+
branchNames?: boolean;
|
|
1201
|
+
tableIds?: boolean;
|
|
1202
|
+
permissions?: boolean;
|
|
1203
|
+
readOnly?: boolean;
|
|
1204
|
+
allowedIps?: boolean;
|
|
1205
|
+
expiresAt?: boolean;
|
|
1206
|
+
revokedAt?: boolean;
|
|
1207
|
+
replacedById?: boolean;
|
|
1208
|
+
lastUsedAt?: boolean;
|
|
1209
|
+
lastUsedIp?: boolean;
|
|
1210
|
+
createdAt?: boolean;
|
|
1211
|
+
user?: boolean | Prisma.ApiKey$userArgs<ExtArgs>;
|
|
1212
|
+
replacedBy?: boolean | Prisma.ApiKey$replacedByArgs<ExtArgs>;
|
|
1213
|
+
}, ExtArgs["result"]["apiKey"]>;
|
|
1214
|
+
export type ApiKeySelectScalar = {
|
|
1215
|
+
id?: boolean;
|
|
1216
|
+
prefix?: boolean;
|
|
1217
|
+
keyHash?: boolean;
|
|
1218
|
+
type?: boolean;
|
|
1219
|
+
name?: boolean;
|
|
1220
|
+
userId?: boolean;
|
|
1221
|
+
serviceId?: boolean;
|
|
1222
|
+
internalServiceName?: boolean;
|
|
1223
|
+
organizationId?: boolean;
|
|
1224
|
+
projectIds?: boolean;
|
|
1225
|
+
branchNames?: boolean;
|
|
1226
|
+
tableIds?: boolean;
|
|
1227
|
+
permissions?: boolean;
|
|
1228
|
+
readOnly?: boolean;
|
|
1229
|
+
allowedIps?: boolean;
|
|
1230
|
+
expiresAt?: boolean;
|
|
1231
|
+
revokedAt?: boolean;
|
|
1232
|
+
replacedById?: boolean;
|
|
1233
|
+
lastUsedAt?: boolean;
|
|
1234
|
+
lastUsedIp?: boolean;
|
|
1235
|
+
createdAt?: boolean;
|
|
1236
|
+
};
|
|
1237
|
+
export type ApiKeyOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "prefix" | "keyHash" | "type" | "name" | "userId" | "serviceId" | "internalServiceName" | "organizationId" | "projectIds" | "branchNames" | "tableIds" | "permissions" | "readOnly" | "allowedIps" | "expiresAt" | "revokedAt" | "replacedById" | "lastUsedAt" | "lastUsedIp" | "createdAt", ExtArgs["result"]["apiKey"]>;
|
|
1238
|
+
export type ApiKeyInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1239
|
+
user?: boolean | Prisma.ApiKey$userArgs<ExtArgs>;
|
|
1240
|
+
replacedBy?: boolean | Prisma.ApiKey$replacedByArgs<ExtArgs>;
|
|
1241
|
+
replacements?: boolean | Prisma.ApiKey$replacementsArgs<ExtArgs>;
|
|
1242
|
+
_count?: boolean | Prisma.ApiKeyCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1243
|
+
};
|
|
1244
|
+
export type ApiKeyIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1245
|
+
user?: boolean | Prisma.ApiKey$userArgs<ExtArgs>;
|
|
1246
|
+
replacedBy?: boolean | Prisma.ApiKey$replacedByArgs<ExtArgs>;
|
|
1247
|
+
};
|
|
1248
|
+
export type ApiKeyIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1249
|
+
user?: boolean | Prisma.ApiKey$userArgs<ExtArgs>;
|
|
1250
|
+
replacedBy?: boolean | Prisma.ApiKey$replacedByArgs<ExtArgs>;
|
|
1251
|
+
};
|
|
1252
|
+
export type $ApiKeyPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1253
|
+
name: "ApiKey";
|
|
1254
|
+
objects: {
|
|
1255
|
+
user: Prisma.$UserPayload<ExtArgs> | null;
|
|
1256
|
+
replacedBy: Prisma.$ApiKeyPayload<ExtArgs> | null;
|
|
1257
|
+
replacements: Prisma.$ApiKeyPayload<ExtArgs>[];
|
|
1258
|
+
};
|
|
1259
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1260
|
+
id: string;
|
|
1261
|
+
prefix: string;
|
|
1262
|
+
keyHash: string;
|
|
1263
|
+
type: $Enums.ApiKeyType;
|
|
1264
|
+
name: string;
|
|
1265
|
+
userId: string | null;
|
|
1266
|
+
serviceId: string | null;
|
|
1267
|
+
internalServiceName: string | null;
|
|
1268
|
+
organizationId: string | null;
|
|
1269
|
+
projectIds: string[];
|
|
1270
|
+
branchNames: string[];
|
|
1271
|
+
tableIds: string[];
|
|
1272
|
+
permissions: runtime.JsonValue | null;
|
|
1273
|
+
readOnly: boolean;
|
|
1274
|
+
allowedIps: string[];
|
|
1275
|
+
expiresAt: Date | null;
|
|
1276
|
+
revokedAt: Date | null;
|
|
1277
|
+
replacedById: string | null;
|
|
1278
|
+
lastUsedAt: Date | null;
|
|
1279
|
+
lastUsedIp: string | null;
|
|
1280
|
+
createdAt: Date;
|
|
1281
|
+
}, ExtArgs["result"]["apiKey"]>;
|
|
1282
|
+
composites: {};
|
|
1283
|
+
};
|
|
1284
|
+
export type ApiKeyGetPayload<S extends boolean | null | undefined | ApiKeyDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ApiKeyPayload, S>;
|
|
1285
|
+
export type ApiKeyCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ApiKeyFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1286
|
+
select?: ApiKeyCountAggregateInputType | true;
|
|
1287
|
+
};
|
|
1288
|
+
export interface ApiKeyDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1289
|
+
[K: symbol]: {
|
|
1290
|
+
types: Prisma.TypeMap<ExtArgs>['model']['ApiKey'];
|
|
1291
|
+
meta: {
|
|
1292
|
+
name: 'ApiKey';
|
|
1293
|
+
};
|
|
1294
|
+
};
|
|
1295
|
+
findUnique<T extends ApiKeyFindUniqueArgs>(args: Prisma.SelectSubset<T, ApiKeyFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ApiKeyClient<runtime.Types.Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1296
|
+
findUniqueOrThrow<T extends ApiKeyFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ApiKeyFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ApiKeyClient<runtime.Types.Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1297
|
+
findFirst<T extends ApiKeyFindFirstArgs>(args?: Prisma.SelectSubset<T, ApiKeyFindFirstArgs<ExtArgs>>): Prisma.Prisma__ApiKeyClient<runtime.Types.Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1298
|
+
findFirstOrThrow<T extends ApiKeyFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ApiKeyFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ApiKeyClient<runtime.Types.Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1299
|
+
findMany<T extends ApiKeyFindManyArgs>(args?: Prisma.SelectSubset<T, ApiKeyFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
1300
|
+
create<T extends ApiKeyCreateArgs>(args: Prisma.SelectSubset<T, ApiKeyCreateArgs<ExtArgs>>): Prisma.Prisma__ApiKeyClient<runtime.Types.Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1301
|
+
createMany<T extends ApiKeyCreateManyArgs>(args?: Prisma.SelectSubset<T, ApiKeyCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1302
|
+
createManyAndReturn<T extends ApiKeyCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ApiKeyCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
1303
|
+
delete<T extends ApiKeyDeleteArgs>(args: Prisma.SelectSubset<T, ApiKeyDeleteArgs<ExtArgs>>): Prisma.Prisma__ApiKeyClient<runtime.Types.Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1304
|
+
update<T extends ApiKeyUpdateArgs>(args: Prisma.SelectSubset<T, ApiKeyUpdateArgs<ExtArgs>>): Prisma.Prisma__ApiKeyClient<runtime.Types.Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1305
|
+
deleteMany<T extends ApiKeyDeleteManyArgs>(args?: Prisma.SelectSubset<T, ApiKeyDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1306
|
+
updateMany<T extends ApiKeyUpdateManyArgs>(args: Prisma.SelectSubset<T, ApiKeyUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1307
|
+
updateManyAndReturn<T extends ApiKeyUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ApiKeyUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1308
|
+
upsert<T extends ApiKeyUpsertArgs>(args: Prisma.SelectSubset<T, ApiKeyUpsertArgs<ExtArgs>>): Prisma.Prisma__ApiKeyClient<runtime.Types.Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1309
|
+
count<T extends ApiKeyCountArgs>(args?: Prisma.Subset<T, ApiKeyCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ApiKeyCountAggregateOutputType> : number>;
|
|
1310
|
+
aggregate<T extends ApiKeyAggregateArgs>(args: Prisma.Subset<T, ApiKeyAggregateArgs>): Prisma.PrismaPromise<GetApiKeyAggregateType<T>>;
|
|
1311
|
+
groupBy<T extends ApiKeyGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1312
|
+
orderBy: ApiKeyGroupByArgs['orderBy'];
|
|
1313
|
+
} : {
|
|
1314
|
+
orderBy?: ApiKeyGroupByArgs['orderBy'];
|
|
1315
|
+
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
1316
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1317
|
+
Error,
|
|
1318
|
+
'Field ',
|
|
1319
|
+
P,
|
|
1320
|
+
` in "having" needs to be provided in "by"`
|
|
1321
|
+
];
|
|
1322
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1323
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1324
|
+
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1325
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1326
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1327
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1328
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ApiKeyGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetApiKeyGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1329
|
+
readonly fields: ApiKeyFieldRefs;
|
|
1330
|
+
}
|
|
1331
|
+
export interface Prisma__ApiKeyClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1332
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1333
|
+
user<T extends Prisma.ApiKey$userArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApiKey$userArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1334
|
+
replacedBy<T extends Prisma.ApiKey$replacedByArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApiKey$replacedByArgs<ExtArgs>>): Prisma.Prisma__ApiKeyClient<runtime.Types.Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1335
|
+
replacements<T extends Prisma.ApiKey$replacementsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApiKey$replacementsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1336
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
|
|
1337
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1338
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1339
|
+
}
|
|
1340
|
+
export interface ApiKeyFieldRefs {
|
|
1341
|
+
readonly id: Prisma.FieldRef<"ApiKey", 'String'>;
|
|
1342
|
+
readonly prefix: Prisma.FieldRef<"ApiKey", 'String'>;
|
|
1343
|
+
readonly keyHash: Prisma.FieldRef<"ApiKey", 'String'>;
|
|
1344
|
+
readonly type: Prisma.FieldRef<"ApiKey", 'ApiKeyType'>;
|
|
1345
|
+
readonly name: Prisma.FieldRef<"ApiKey", 'String'>;
|
|
1346
|
+
readonly userId: Prisma.FieldRef<"ApiKey", 'String'>;
|
|
1347
|
+
readonly serviceId: Prisma.FieldRef<"ApiKey", 'String'>;
|
|
1348
|
+
readonly internalServiceName: Prisma.FieldRef<"ApiKey", 'String'>;
|
|
1349
|
+
readonly organizationId: Prisma.FieldRef<"ApiKey", 'String'>;
|
|
1350
|
+
readonly projectIds: Prisma.FieldRef<"ApiKey", 'String[]'>;
|
|
1351
|
+
readonly branchNames: Prisma.FieldRef<"ApiKey", 'String[]'>;
|
|
1352
|
+
readonly tableIds: Prisma.FieldRef<"ApiKey", 'String[]'>;
|
|
1353
|
+
readonly permissions: Prisma.FieldRef<"ApiKey", 'Json'>;
|
|
1354
|
+
readonly readOnly: Prisma.FieldRef<"ApiKey", 'Boolean'>;
|
|
1355
|
+
readonly allowedIps: Prisma.FieldRef<"ApiKey", 'String[]'>;
|
|
1356
|
+
readonly expiresAt: Prisma.FieldRef<"ApiKey", 'DateTime'>;
|
|
1357
|
+
readonly revokedAt: Prisma.FieldRef<"ApiKey", 'DateTime'>;
|
|
1358
|
+
readonly replacedById: Prisma.FieldRef<"ApiKey", 'String'>;
|
|
1359
|
+
readonly lastUsedAt: Prisma.FieldRef<"ApiKey", 'DateTime'>;
|
|
1360
|
+
readonly lastUsedIp: Prisma.FieldRef<"ApiKey", 'String'>;
|
|
1361
|
+
readonly createdAt: Prisma.FieldRef<"ApiKey", 'DateTime'>;
|
|
1362
|
+
}
|
|
1363
|
+
export type ApiKeyFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1364
|
+
select?: Prisma.ApiKeySelect<ExtArgs> | null;
|
|
1365
|
+
omit?: Prisma.ApiKeyOmit<ExtArgs> | null;
|
|
1366
|
+
include?: Prisma.ApiKeyInclude<ExtArgs> | null;
|
|
1367
|
+
where: Prisma.ApiKeyWhereUniqueInput;
|
|
1368
|
+
};
|
|
1369
|
+
export type ApiKeyFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1370
|
+
select?: Prisma.ApiKeySelect<ExtArgs> | null;
|
|
1371
|
+
omit?: Prisma.ApiKeyOmit<ExtArgs> | null;
|
|
1372
|
+
include?: Prisma.ApiKeyInclude<ExtArgs> | null;
|
|
1373
|
+
where: Prisma.ApiKeyWhereUniqueInput;
|
|
1374
|
+
};
|
|
1375
|
+
export type ApiKeyFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1376
|
+
select?: Prisma.ApiKeySelect<ExtArgs> | null;
|
|
1377
|
+
omit?: Prisma.ApiKeyOmit<ExtArgs> | null;
|
|
1378
|
+
include?: Prisma.ApiKeyInclude<ExtArgs> | null;
|
|
1379
|
+
where?: Prisma.ApiKeyWhereInput;
|
|
1380
|
+
orderBy?: Prisma.ApiKeyOrderByWithRelationInput | Prisma.ApiKeyOrderByWithRelationInput[];
|
|
1381
|
+
cursor?: Prisma.ApiKeyWhereUniqueInput;
|
|
1382
|
+
take?: number;
|
|
1383
|
+
skip?: number;
|
|
1384
|
+
distinct?: Prisma.ApiKeyScalarFieldEnum | Prisma.ApiKeyScalarFieldEnum[];
|
|
1385
|
+
};
|
|
1386
|
+
export type ApiKeyFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1387
|
+
select?: Prisma.ApiKeySelect<ExtArgs> | null;
|
|
1388
|
+
omit?: Prisma.ApiKeyOmit<ExtArgs> | null;
|
|
1389
|
+
include?: Prisma.ApiKeyInclude<ExtArgs> | null;
|
|
1390
|
+
where?: Prisma.ApiKeyWhereInput;
|
|
1391
|
+
orderBy?: Prisma.ApiKeyOrderByWithRelationInput | Prisma.ApiKeyOrderByWithRelationInput[];
|
|
1392
|
+
cursor?: Prisma.ApiKeyWhereUniqueInput;
|
|
1393
|
+
take?: number;
|
|
1394
|
+
skip?: number;
|
|
1395
|
+
distinct?: Prisma.ApiKeyScalarFieldEnum | Prisma.ApiKeyScalarFieldEnum[];
|
|
1396
|
+
};
|
|
1397
|
+
export type ApiKeyFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1398
|
+
select?: Prisma.ApiKeySelect<ExtArgs> | null;
|
|
1399
|
+
omit?: Prisma.ApiKeyOmit<ExtArgs> | null;
|
|
1400
|
+
include?: Prisma.ApiKeyInclude<ExtArgs> | null;
|
|
1401
|
+
where?: Prisma.ApiKeyWhereInput;
|
|
1402
|
+
orderBy?: Prisma.ApiKeyOrderByWithRelationInput | Prisma.ApiKeyOrderByWithRelationInput[];
|
|
1403
|
+
cursor?: Prisma.ApiKeyWhereUniqueInput;
|
|
1404
|
+
take?: number;
|
|
1405
|
+
skip?: number;
|
|
1406
|
+
distinct?: Prisma.ApiKeyScalarFieldEnum | Prisma.ApiKeyScalarFieldEnum[];
|
|
1407
|
+
};
|
|
1408
|
+
export type ApiKeyCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1409
|
+
select?: Prisma.ApiKeySelect<ExtArgs> | null;
|
|
1410
|
+
omit?: Prisma.ApiKeyOmit<ExtArgs> | null;
|
|
1411
|
+
include?: Prisma.ApiKeyInclude<ExtArgs> | null;
|
|
1412
|
+
data: Prisma.XOR<Prisma.ApiKeyCreateInput, Prisma.ApiKeyUncheckedCreateInput>;
|
|
1413
|
+
};
|
|
1414
|
+
export type ApiKeyCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1415
|
+
data: Prisma.ApiKeyCreateManyInput | Prisma.ApiKeyCreateManyInput[];
|
|
1416
|
+
skipDuplicates?: boolean;
|
|
1417
|
+
};
|
|
1418
|
+
export type ApiKeyCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1419
|
+
select?: Prisma.ApiKeySelectCreateManyAndReturn<ExtArgs> | null;
|
|
1420
|
+
omit?: Prisma.ApiKeyOmit<ExtArgs> | null;
|
|
1421
|
+
data: Prisma.ApiKeyCreateManyInput | Prisma.ApiKeyCreateManyInput[];
|
|
1422
|
+
skipDuplicates?: boolean;
|
|
1423
|
+
include?: Prisma.ApiKeyIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1424
|
+
};
|
|
1425
|
+
export type ApiKeyUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1426
|
+
select?: Prisma.ApiKeySelect<ExtArgs> | null;
|
|
1427
|
+
omit?: Prisma.ApiKeyOmit<ExtArgs> | null;
|
|
1428
|
+
include?: Prisma.ApiKeyInclude<ExtArgs> | null;
|
|
1429
|
+
data: Prisma.XOR<Prisma.ApiKeyUpdateInput, Prisma.ApiKeyUncheckedUpdateInput>;
|
|
1430
|
+
where: Prisma.ApiKeyWhereUniqueInput;
|
|
1431
|
+
};
|
|
1432
|
+
export type ApiKeyUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1433
|
+
data: Prisma.XOR<Prisma.ApiKeyUpdateManyMutationInput, Prisma.ApiKeyUncheckedUpdateManyInput>;
|
|
1434
|
+
where?: Prisma.ApiKeyWhereInput;
|
|
1435
|
+
limit?: number;
|
|
1436
|
+
};
|
|
1437
|
+
export type ApiKeyUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1438
|
+
select?: Prisma.ApiKeySelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1439
|
+
omit?: Prisma.ApiKeyOmit<ExtArgs> | null;
|
|
1440
|
+
data: Prisma.XOR<Prisma.ApiKeyUpdateManyMutationInput, Prisma.ApiKeyUncheckedUpdateManyInput>;
|
|
1441
|
+
where?: Prisma.ApiKeyWhereInput;
|
|
1442
|
+
limit?: number;
|
|
1443
|
+
include?: Prisma.ApiKeyIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1444
|
+
};
|
|
1445
|
+
export type ApiKeyUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1446
|
+
select?: Prisma.ApiKeySelect<ExtArgs> | null;
|
|
1447
|
+
omit?: Prisma.ApiKeyOmit<ExtArgs> | null;
|
|
1448
|
+
include?: Prisma.ApiKeyInclude<ExtArgs> | null;
|
|
1449
|
+
where: Prisma.ApiKeyWhereUniqueInput;
|
|
1450
|
+
create: Prisma.XOR<Prisma.ApiKeyCreateInput, Prisma.ApiKeyUncheckedCreateInput>;
|
|
1451
|
+
update: Prisma.XOR<Prisma.ApiKeyUpdateInput, Prisma.ApiKeyUncheckedUpdateInput>;
|
|
1452
|
+
};
|
|
1453
|
+
export type ApiKeyDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1454
|
+
select?: Prisma.ApiKeySelect<ExtArgs> | null;
|
|
1455
|
+
omit?: Prisma.ApiKeyOmit<ExtArgs> | null;
|
|
1456
|
+
include?: Prisma.ApiKeyInclude<ExtArgs> | null;
|
|
1457
|
+
where: Prisma.ApiKeyWhereUniqueInput;
|
|
1458
|
+
};
|
|
1459
|
+
export type ApiKeyDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1460
|
+
where?: Prisma.ApiKeyWhereInput;
|
|
1461
|
+
limit?: number;
|
|
1462
|
+
};
|
|
1463
|
+
export type ApiKey$userArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1464
|
+
select?: Prisma.UserSelect<ExtArgs> | null;
|
|
1465
|
+
omit?: Prisma.UserOmit<ExtArgs> | null;
|
|
1466
|
+
include?: Prisma.UserInclude<ExtArgs> | null;
|
|
1467
|
+
where?: Prisma.UserWhereInput;
|
|
1468
|
+
};
|
|
1469
|
+
export type ApiKey$replacedByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1470
|
+
select?: Prisma.ApiKeySelect<ExtArgs> | null;
|
|
1471
|
+
omit?: Prisma.ApiKeyOmit<ExtArgs> | null;
|
|
1472
|
+
include?: Prisma.ApiKeyInclude<ExtArgs> | null;
|
|
1473
|
+
where?: Prisma.ApiKeyWhereInput;
|
|
1474
|
+
};
|
|
1475
|
+
export type ApiKey$replacementsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1476
|
+
select?: Prisma.ApiKeySelect<ExtArgs> | null;
|
|
1477
|
+
omit?: Prisma.ApiKeyOmit<ExtArgs> | null;
|
|
1478
|
+
include?: Prisma.ApiKeyInclude<ExtArgs> | null;
|
|
1479
|
+
where?: Prisma.ApiKeyWhereInput;
|
|
1480
|
+
orderBy?: Prisma.ApiKeyOrderByWithRelationInput | Prisma.ApiKeyOrderByWithRelationInput[];
|
|
1481
|
+
cursor?: Prisma.ApiKeyWhereUniqueInput;
|
|
1482
|
+
take?: number;
|
|
1483
|
+
skip?: number;
|
|
1484
|
+
distinct?: Prisma.ApiKeyScalarFieldEnum | Prisma.ApiKeyScalarFieldEnum[];
|
|
1485
|
+
};
|
|
1486
|
+
export type ApiKeyDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1487
|
+
select?: Prisma.ApiKeySelect<ExtArgs> | null;
|
|
1488
|
+
omit?: Prisma.ApiKeyOmit<ExtArgs> | null;
|
|
1489
|
+
include?: Prisma.ApiKeyInclude<ExtArgs> | null;
|
|
1490
|
+
};
|