@revisium/core 0.9.4 → 0.9.6
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 +2 -2
- package/dist/jest.setup.d.ts +1 -0
- package/dist/jest.setup.js +5 -0
- package/dist/jest.setup.js.map +1 -0
- package/dist/package.json +20 -13
- package/dist/prisma/migrations/20250102205030_upgrade_to_v6/migration.sql +17 -0
- package/dist/prisma/migrations/migration_lock.toml +1 -1
- package/dist/prisma/schema.prisma +1 -1
- package/dist/prisma/seed.js +2 -2
- package/dist/prisma/seed.js.map +1 -1
- package/dist/src/__tests__/create-models.d.ts +14 -0
- package/dist/src/__tests__/create-models.js +23 -0
- package/dist/src/__tests__/create-models.js.map +1 -0
- package/dist/src/__tests__/utils/createMocks.d.ts +5 -5
- package/dist/src/__tests__/utils/implementIdService.d.ts +1 -1
- package/dist/src/__tests__/utils/rowMocks.d.ts +1 -1
- package/dist/src/__tests__/utils/schema/schema.mocks.d.ts +2 -2
- package/dist/src/__tests__/utils/schema/schema.mocks.js +1 -1
- package/dist/src/__tests__/utils/schema/schema.mocks.js.map +1 -1
- package/dist/src/api/graphql-api/auth/auth.resolver.d.ts +13 -0
- package/dist/src/api/graphql-api/auth/auth.resolver.js +103 -0
- package/dist/src/api/graphql-api/auth/auth.resolver.js.map +1 -0
- package/dist/src/api/graphql-api/auth/inputs/confirm-email-code.input.js.map +1 -0
- package/dist/src/api/graphql-api/auth/inputs/create-user.input.d.ts +7 -0
- package/dist/src/api/graphql-api/auth/inputs/create-user.input.js +37 -0
- package/dist/src/api/graphql-api/auth/inputs/create-user.input.js.map +1 -0
- package/dist/src/api/graphql-api/auth/inputs/index.d.ts +6 -0
- package/dist/src/api/graphql-api/auth/inputs/index.js.map +1 -0
- package/dist/src/api/graphql-api/auth/inputs/login-github.input.js.map +1 -0
- package/dist/src/api/graphql-api/auth/inputs/login-google.input.js.map +1 -0
- package/dist/src/api/graphql-api/auth/inputs/login.input.js.map +1 -0
- package/dist/src/api/graphql-api/auth/inputs/sign-up.input.js.map +1 -0
- package/dist/src/api/graphql-api/auth/model/index.d.ts +1 -0
- package/dist/src/api/graphql-api/auth/model/index.js.map +1 -0
- package/dist/src/api/graphql-api/auth/model/login.model.js.map +1 -0
- package/dist/src/api/graphql-api/branch/branch.resolver.d.ts +23 -0
- package/dist/src/api/graphql-api/branch/branch.resolver.js +176 -0
- package/dist/src/api/graphql-api/branch/branch.resolver.js.map +1 -0
- package/dist/src/api/graphql-api/branch/inputs/create-branch-by-revision-id.input.js.map +1 -0
- package/dist/src/api/graphql-api/branch/inputs/create-branch.input.js.map +1 -0
- package/dist/src/api/graphql-api/branch/inputs/get-branch-revisions.input.js.map +1 -0
- package/dist/src/api/graphql-api/branch/inputs/get-branch.input.js.map +1 -0
- package/dist/src/api/graphql-api/branch/inputs/get-branches.input.js.map +1 -0
- package/dist/src/api/graphql-api/branch/inputs/index.d.ts +5 -0
- package/dist/src/api/graphql-api/branch/inputs/index.js.map +1 -0
- package/dist/src/api/graphql-api/branch/inputs/revert-changes.input.js.map +1 -0
- package/dist/src/api/graphql-api/branch/model/branch.model.d.ts +21 -0
- package/dist/src/api/graphql-api/branch/model/branch.model.js.map +1 -0
- package/dist/src/api/graphql-api/branch/model/parent-branch.model.d.ts +6 -0
- package/dist/src/api/graphql-api/branch/model/parent-branch.model.js.map +1 -0
- package/dist/src/api/graphql-api/branch/parent-branch.resolver.d.ts +8 -0
- package/dist/src/api/graphql-api/branch/parent-branch.resolver.js +51 -0
- package/dist/src/api/graphql-api/branch/parent-branch.resolver.js.map +1 -0
- package/dist/src/api/graphql-api/configuration/configuration.resolver.d.ts +7 -0
- package/dist/src/api/graphql-api/configuration/configuration.resolver.js +36 -0
- package/dist/src/api/graphql-api/configuration/configuration.resolver.js.map +1 -0
- package/dist/src/api/graphql-api/configuration/model/configuration.model.js.map +1 -0
- package/dist/src/api/graphql-api/configuration/model/index.d.ts +1 -0
- package/dist/src/api/graphql-api/configuration/model/index.js.map +1 -0
- package/dist/src/api/graphql-api/current-user.decorator.js.map +1 -0
- package/dist/src/api/graphql-api/draft/draft.resolver.d.ts +13 -0
- package/dist/src/api/graphql-api/draft/draft.resolver.js +140 -0
- package/dist/src/api/graphql-api/draft/draft.resolver.js.map +1 -0
- package/dist/src/api/graphql-api/draft/input/create-row.input.d.ts +5 -0
- package/dist/src/api/graphql-api/draft/input/create-row.input.js.map +1 -0
- package/dist/src/api/graphql-api/draft/input/create-table.input.js.map +1 -0
- package/dist/src/api/graphql-api/draft/input/index.d.ts +5 -0
- package/dist/src/api/graphql-api/draft/input/index.js.map +1 -0
- package/dist/src/api/graphql-api/draft/input/remove-row.input.d.ts +3 -0
- package/dist/src/api/graphql-api/draft/input/remove-row.input.js.map +1 -0
- package/dist/src/api/graphql-api/draft/input/remove-table.input.js.map +1 -0
- package/dist/src/api/graphql-api/draft/input/update-row.input.d.ts +5 -0
- package/dist/src/api/graphql-api/draft/input/update-row.input.js.map +1 -0
- package/dist/src/api/graphql-api/draft/input/update-table.input.d.ts +6 -0
- package/dist/src/api/graphql-api/draft/input/update-table.input.js.map +1 -0
- package/dist/src/api/graphql-api/draft/model/create-row-result.model.d.ts +7 -0
- package/dist/src/api/graphql-api/draft/model/create-row-result.model.js.map +1 -0
- package/dist/src/api/graphql-api/draft/model/create-table-result.model.d.ts +6 -0
- package/dist/src/api/graphql-api/draft/model/create-table-result.model.js.map +1 -0
- package/dist/src/api/graphql-api/draft/model/remove-row-result.model.d.ts +7 -0
- package/dist/src/api/graphql-api/draft/model/remove-row-result.model.js.map +1 -0
- package/dist/src/api/graphql-api/draft/model/remove-table-result.model.d.ts +4 -0
- package/dist/src/api/graphql-api/draft/model/remove-table-result.model.js.map +1 -0
- package/dist/src/api/graphql-api/draft/model/update-row-result.model.d.ts +8 -0
- package/dist/src/api/graphql-api/draft/model/update-row-result.model.js.map +1 -0
- package/dist/src/api/graphql-api/draft/model/update-table-result.model.d.ts +5 -0
- package/dist/src/api/graphql-api/draft/model/update-table-result.model.js.map +1 -0
- package/dist/src/api/graphql-api/endpoint/endpoint.resolver.d.ts +11 -0
- package/dist/src/api/graphql-api/endpoint/endpoint.resolver.js +83 -0
- package/dist/src/api/graphql-api/endpoint/endpoint.resolver.js.map +1 -0
- package/dist/src/api/graphql-api/endpoint/inputs/create-endpoint.input.d.ts +5 -0
- package/dist/src/api/graphql-api/endpoint/inputs/create-endpoint.input.js.map +1 -0
- package/dist/src/api/graphql-api/endpoint/inputs/delete-endpoint.input.js.map +1 -0
- package/dist/src/api/graphql-api/endpoint/inputs/get-endpoint.input.js.map +1 -0
- package/dist/src/api/graphql-api/endpoint/inputs/index.d.ts +3 -0
- package/dist/src/api/graphql-api/endpoint/inputs/index.js.map +1 -0
- package/dist/src/api/graphql-api/endpoint/model/endpoint.model.d.ts +11 -0
- package/dist/src/api/graphql-api/endpoint/model/endpoint.model.js.map +1 -0
- package/dist/src/api/graphql-api/endpoint/model/index.d.ts +1 -0
- package/dist/src/api/graphql-api/endpoint/model/index.js.map +1 -0
- package/dist/src/api/graphql-api/graphql-api.module.js +86 -0
- package/dist/src/api/graphql-api/graphql-api.module.js.map +1 -0
- package/dist/src/api/graphql-api/organization/inputs/add-user-to-organization.input.d.ts +6 -0
- package/dist/src/api/graphql-api/organization/inputs/add-user-to-organization.input.js +33 -0
- package/dist/src/api/graphql-api/organization/inputs/add-user-to-organization.input.js.map +1 -0
- package/dist/src/api/graphql-api/organization/inputs/get-users-organization.input.js.map +1 -0
- package/dist/src/api/graphql-api/organization/inputs/index.d.ts +3 -0
- package/dist/src/api/graphql-api/organization/inputs/index.js.map +1 -0
- package/dist/src/api/graphql-api/organization/inputs/remove-user-from-organization.input.js.map +1 -0
- package/dist/src/api/graphql-api/organization/model/users-organization.connection.d.ts +5 -0
- package/dist/src/api/graphql-api/organization/model/users-organization.connection.js.map +1 -0
- package/dist/src/api/graphql-api/organization/model/users-organization.model.d.ts +7 -0
- package/dist/src/api/graphql-api/organization/model/users-organization.model.js.map +1 -0
- package/dist/src/api/graphql-api/organization/organization.resolver.d.ts +15 -0
- package/dist/src/api/graphql-api/organization/organization.resolver.js +126 -0
- package/dist/src/api/graphql-api/organization/organization.resolver.js.map +1 -0
- package/dist/src/api/graphql-api/project/inputs/add-user-to-project.input.d.ts +7 -0
- package/dist/src/api/graphql-api/project/inputs/add-user-to-project.input.js +37 -0
- package/dist/src/api/graphql-api/project/inputs/add-user-to-project.input.js.map +1 -0
- package/dist/src/api/graphql-api/project/inputs/create-project.input.js.map +1 -0
- package/dist/src/api/graphql-api/project/inputs/delete-project.input.js.map +1 -0
- package/dist/src/api/graphql-api/project/inputs/get-project-branches.input.js.map +1 -0
- package/dist/src/api/graphql-api/project/inputs/get-project.input.js.map +1 -0
- package/dist/src/api/graphql-api/project/inputs/get-projects.input.js.map +1 -0
- package/dist/src/api/graphql-api/project/inputs/get-users-project.input.js.map +1 -0
- package/dist/src/api/graphql-api/project/inputs/index.d.ts +7 -0
- package/dist/src/api/graphql-api/project/inputs/index.js.map +1 -0
- package/dist/src/api/graphql-api/project/inputs/remove-user-from-project.input.js.map +1 -0
- package/dist/src/api/graphql-api/project/inputs/update-project.input.js.map +1 -0
- package/dist/src/api/graphql-api/project/model/index.d.ts +1 -0
- package/dist/src/api/graphql-api/project/model/index.js.map +1 -0
- package/dist/src/api/graphql-api/project/model/project.model.d.ts +10 -0
- package/dist/src/api/graphql-api/project/model/project.model.js.map +1 -0
- package/dist/src/api/graphql-api/project/model/projects.connection.d.ts +5 -0
- package/dist/src/api/graphql-api/project/model/projects.connection.js.map +1 -0
- package/dist/src/api/graphql-api/project/model/users-project.connection.d.ts +5 -0
- package/dist/src/api/graphql-api/project/model/users-project.connection.js.map +1 -0
- package/dist/src/api/graphql-api/project/model/users-project.model.d.ts +7 -0
- package/dist/src/api/graphql-api/project/model/users-project.model.js.map +1 -0
- package/dist/src/api/graphql-api/project/project.resolver.d.ts +17 -0
- package/dist/src/api/graphql-api/project/project.resolver.js +154 -0
- package/dist/src/api/graphql-api/project/project.resolver.js.map +1 -0
- package/dist/src/api/graphql-api/registerGraphqlEnums.js +14 -0
- package/dist/src/api/graphql-api/registerGraphqlEnums.js.map +1 -0
- package/dist/src/api/graphql-api/revision/child-branch.resolver.d.ts +8 -0
- package/dist/src/api/graphql-api/revision/child-branch.resolver.js +51 -0
- package/dist/src/api/graphql-api/revision/child-branch.resolver.js.map +1 -0
- package/dist/src/api/graphql-api/revision/inputs/create-revision.input.js.map +1 -0
- package/dist/src/api/graphql-api/revision/inputs/get-revision-tables.input.js.map +1 -0
- package/dist/src/api/graphql-api/revision/inputs/get-revision.input.js.map +1 -0
- package/dist/src/api/graphql-api/revision/model/child-branch.model.d.ts +6 -0
- package/dist/src/api/graphql-api/revision/model/child-branch.model.js.map +1 -0
- package/dist/src/api/graphql-api/revision/model/revision.model.d.ts +24 -0
- package/dist/src/api/graphql-api/revision/model/revision.model.js.map +1 -0
- package/dist/src/api/graphql-api/revision/revision.resolver.d.ts +19 -0
- package/dist/src/api/graphql-api/revision/revision.resolver.js +150 -0
- package/dist/src/api/graphql-api/revision/revision.resolver.js.map +1 -0
- package/dist/src/api/graphql-api/role/model/role.model.js.map +1 -0
- package/dist/src/api/graphql-api/row/inputs/get-row-count-references-by.input.js.map +1 -0
- package/dist/src/api/graphql-api/row/inputs/get-row-references.input.js.map +1 -0
- package/dist/src/api/graphql-api/row/inputs/get-row.input.js.map +1 -0
- package/dist/src/api/graphql-api/row/inputs/get-rows.input.js.map +1 -0
- package/dist/src/api/graphql-api/row/inputs/index.d.ts +3 -0
- package/dist/src/api/graphql-api/row/inputs/index.js.map +1 -0
- package/dist/src/api/graphql-api/row/model/row-reference.model.d.ts +6 -0
- package/dist/src/api/graphql-api/row/model/row-reference.model.js.map +1 -0
- package/dist/src/api/graphql-api/row/model/row-references-connection.model.d.ts +5 -0
- package/dist/src/api/graphql-api/row/model/row-references-connection.model.js.map +1 -0
- package/dist/src/api/graphql-api/row/model/row.model.d.ts +17 -0
- package/dist/src/api/graphql-api/row/model/row.model.js.map +1 -0
- package/dist/src/api/graphql-api/row/model/rows-connection.model.d.ts +5 -0
- package/dist/src/api/graphql-api/row/model/rows-connection.model.js.map +1 -0
- package/dist/src/api/graphql-api/row/row.resolver.d.ts +16 -0
- package/dist/src/api/graphql-api/row/row.resolver.js +128 -0
- package/dist/src/api/graphql-api/row/row.resolver.js.map +1 -0
- package/dist/src/api/graphql-api/share/model/paginated.model.d.ts +9 -0
- package/dist/src/api/graphql-api/share/model/paginated.model.js.map +1 -0
- package/dist/src/api/graphql-api/table/inputs/get-table-references.input.js.map +1 -0
- package/dist/src/api/graphql-api/table/inputs/get-table-rows.input.js.map +1 -0
- package/dist/src/api/graphql-api/table/inputs/get-table.input.js.map +1 -0
- package/dist/src/api/graphql-api/table/inputs/get-tables.input.js.map +1 -0
- package/dist/src/api/graphql-api/table/model/table-connection.model.d.ts +5 -0
- package/dist/src/api/graphql-api/table/model/table-connection.model.js.map +1 -0
- package/dist/src/api/graphql-api/table/model/table.model.d.ts +20 -0
- package/dist/src/api/graphql-api/table/model/table.model.js.map +1 -0
- package/dist/src/api/graphql-api/table/table.resolver.d.ts +20 -0
- package/dist/src/api/graphql-api/table/table.resolver.js +166 -0
- package/dist/src/api/graphql-api/table/table.resolver.js.map +1 -0
- package/dist/src/api/graphql-api/user/inputs/index.d.ts +3 -0
- package/dist/src/api/graphql-api/user/inputs/index.js.map +1 -0
- package/dist/src/api/graphql-api/user/inputs/me-projects.input.js.map +1 -0
- package/dist/src/api/graphql-api/user/inputs/set-username.input.js.map +1 -0
- package/dist/src/api/graphql-api/user/inputs/update-password.input.js.map +1 -0
- package/dist/src/api/graphql-api/user/model/user.model.js.map +1 -0
- package/dist/src/api/graphql-api/user/user.resolver.d.ts +15 -0
- package/dist/src/api/graphql-api/user/user.resolver.js +104 -0
- package/dist/src/api/graphql-api/user/user.resolver.js.map +1 -0
- package/dist/src/api/rest-api/auth/auth.controller.d.ts +13 -0
- package/dist/src/api/rest-api/auth/auth.controller.js +86 -0
- package/dist/src/api/rest-api/auth/auth.controller.js.map +1 -0
- package/dist/src/api/rest-api/auth/dto/create-user.dto.d.ts +7 -0
- package/dist/src/api/rest-api/auth/dto/create-user.dto.js +34 -0
- package/dist/src/api/rest-api/auth/dto/create-user.dto.js.map +1 -0
- package/dist/src/api/rest-api/auth/dto/index.d.ts +2 -0
- package/dist/src/api/rest-api/auth/dto/index.js.map +1 -0
- package/dist/src/api/rest-api/auth/dto/login.dto.js.map +1 -0
- package/dist/src/api/rest-api/auth/dto/update-password.dto.js.map +1 -0
- package/dist/src/api/rest-api/auth/model/index.d.ts +1 -0
- package/dist/src/api/rest-api/auth/model/index.js.map +1 -0
- package/dist/src/api/rest-api/auth/model/login.response.js.map +1 -0
- package/dist/src/api/rest-api/branch/branch-by-name.controller.d.ts +19 -0
- package/dist/src/api/rest-api/branch/branch-by-name.controller.js +225 -0
- package/dist/src/api/rest-api/branch/branch-by-name.controller.js.map +1 -0
- package/dist/src/api/rest-api/branch/dto/create-branch-by-revision.dto.js.map +1 -0
- package/dist/src/api/rest-api/branch/dto/create-revision.dto.js.map +1 -0
- package/dist/src/api/rest-api/branch/dto/get-branch-revisions.dto.js.map +1 -0
- package/dist/src/api/rest-api/branch/dto/index.d.ts +3 -0
- package/dist/src/api/rest-api/branch/dto/index.js.map +1 -0
- package/dist/src/api/rest-api/branch/model/branch.model.js.map +1 -0
- package/dist/src/api/rest-api/branch/model/index.d.ts +2 -0
- package/dist/src/api/rest-api/branch/model/index.js.map +1 -0
- package/dist/src/api/rest-api/branch/model/parent-branch.response.js.map +1 -0
- package/dist/src/api/rest-api/configuration/configuration.controller.d.ts +7 -0
- package/dist/src/api/rest-api/configuration/configuration.controller.js +42 -0
- package/dist/src/api/rest-api/configuration/configuration.controller.js.map +1 -0
- package/dist/src/api/rest-api/configuration/model/configuration.response.js.map +1 -0
- package/dist/src/api/rest-api/configuration/model/index.d.ts +1 -0
- package/dist/src/api/rest-api/configuration/model/index.js.map +1 -0
- package/dist/src/api/rest-api/endpoint/endpointByIdController.js +60 -0
- package/dist/src/api/rest-api/endpoint/endpointByIdController.js.map +1 -0
- package/dist/src/api/rest-api/endpoint/model/endpoint.model.js.map +1 -0
- package/dist/src/api/rest-api/endpoint/model/index.d.ts +1 -0
- package/dist/src/api/rest-api/endpoint/model/index.js.map +1 -0
- package/dist/src/api/rest-api/organization/dto/add-user-to-organization.dto.d.ts +5 -0
- package/dist/src/api/rest-api/organization/dto/add-user-to-organization.dto.js +26 -0
- package/dist/src/api/rest-api/organization/dto/add-user-to-organization.dto.js.map +1 -0
- package/dist/src/api/rest-api/organization/dto/create-project.dto.js.map +1 -0
- package/dist/src/api/rest-api/organization/dto/get-projects.dto.js.map +1 -0
- package/dist/src/api/rest-api/organization/dto/get-users-organization.dto.js.map +1 -0
- package/dist/src/api/rest-api/organization/dto/index.d.ts +5 -0
- package/dist/src/api/rest-api/organization/dto/index.js.map +1 -0
- package/dist/src/api/rest-api/organization/dto/remove-user-from-organization.dto.js.map +1 -0
- package/dist/src/api/rest-api/organization/model/index.d.ts +3 -0
- package/dist/src/api/rest-api/organization/model/index.js.map +1 -0
- package/dist/src/api/rest-api/organization/model/project.connection.js.map +1 -0
- package/dist/src/api/rest-api/organization/model/users-organization.connection.js.map +1 -0
- package/dist/src/api/rest-api/organization/model/users-organization.model.d.ts +7 -0
- package/dist/src/api/rest-api/organization/model/users-organization.model.js.map +1 -0
- package/dist/src/api/rest-api/organization/organization.controller.d.ts +16 -0
- package/dist/src/api/rest-api/organization/organization.controller.js +147 -0
- package/dist/src/api/rest-api/organization/organization.controller.js.map +1 -0
- package/dist/src/api/rest-api/project/dto/add-user-to-project.dto.d.ts +5 -0
- package/dist/src/api/rest-api/project/dto/add-user-to-project.dto.js +26 -0
- package/dist/src/api/rest-api/project/dto/add-user-to-project.dto.js.map +1 -0
- package/dist/src/api/rest-api/project/dto/get-project-branches.dto.js.map +1 -0
- package/dist/src/api/rest-api/project/dto/get-users-project.dto.js.map +1 -0
- package/dist/src/api/rest-api/project/dto/update-project.dto.js.map +1 -0
- package/dist/src/api/rest-api/project/model/index.d.ts +3 -0
- package/dist/src/api/rest-api/project/model/index.js.map +1 -0
- package/dist/src/api/rest-api/project/model/project.model.js.map +1 -0
- package/dist/src/api/rest-api/project/model/users-project.connection.js.map +1 -0
- package/dist/src/api/rest-api/project/model/users-project.model.d.ts +7 -0
- package/dist/src/api/rest-api/project/model/users-project.model.js.map +1 -0
- package/dist/src/api/rest-api/project/project.controller.d.ts +19 -0
- package/dist/src/api/rest-api/project/project.controller.js +206 -0
- package/dist/src/api/rest-api/project/project.controller.js.map +1 -0
- package/dist/src/api/rest-api/rest-api.module.js +44 -0
- package/dist/src/api/rest-api/rest-api.module.js.map +1 -0
- package/dist/src/api/rest-api/revision/dto/create-endpoint.dto.js.map +1 -0
- package/dist/src/api/rest-api/revision/dto/create-table.dto.js.map +1 -0
- package/dist/src/api/rest-api/revision/dto/get-revision-tables.dto.js.map +1 -0
- package/dist/src/api/rest-api/revision/dto/index.d.ts +3 -0
- package/dist/src/api/rest-api/revision/dto/index.js.map +1 -0
- package/dist/src/api/rest-api/revision/model/child-branches.response.js.map +1 -0
- package/dist/src/api/rest-api/revision/model/create-table.response.d.ts +6 -0
- package/dist/src/api/rest-api/revision/model/create-table.response.js.map +1 -0
- package/dist/src/api/rest-api/revision/model/index.d.ts +2 -0
- package/dist/src/api/rest-api/revision/model/index.js.map +1 -0
- package/dist/src/api/rest-api/revision/model/revision.model.js.map +1 -0
- package/dist/src/api/rest-api/revision/revision-by-id.controller.d.ts +21 -0
- package/dist/src/api/rest-api/revision/revision-by-id.controller.js +213 -0
- package/dist/src/api/rest-api/revision/revision-by-id.controller.js.map +1 -0
- package/dist/src/api/rest-api/role/model/index.d.ts +1 -0
- package/dist/src/api/rest-api/role/model/index.js.map +1 -0
- package/dist/src/api/rest-api/role/model/role.model.js.map +1 -0
- package/dist/src/api/rest-api/row/dto/get-row-references-by.dto.js.map +1 -0
- package/dist/src/api/rest-api/row/dto/get-row-references-to.dto.js.map +1 -0
- package/dist/src/api/rest-api/row/dto/index.d.ts +2 -0
- package/dist/src/api/rest-api/row/dto/index.js.map +1 -0
- package/dist/src/api/rest-api/row/dto/update-row.dto.js.map +1 -0
- package/dist/src/api/rest-api/row/model/index.d.ts +3 -0
- package/dist/src/api/rest-api/row/model/index.js.map +1 -0
- package/dist/src/api/rest-api/row/model/remove-row.response.d.ts +7 -0
- package/dist/src/api/rest-api/row/model/remove-row.response.js.map +1 -0
- package/dist/src/api/rest-api/row/model/row.model.js.map +1 -0
- package/dist/src/api/rest-api/row/model/update-row.response.d.ts +8 -0
- package/dist/src/api/rest-api/row/model/update-row.response.js.map +1 -0
- package/dist/src/api/rest-api/row/row-by-id.controller.d.ts +17 -0
- package/dist/src/api/rest-api/row/row-by-id.controller.js +217 -0
- package/dist/src/api/rest-api/row/row-by-id.controller.js.map +1 -0
- package/dist/src/api/rest-api/share/model/error.model.d.ts +5 -0
- package/dist/src/api/rest-api/share/model/error.model.js +29 -0
- package/dist/src/api/rest-api/share/model/error.model.js.map +1 -0
- package/dist/src/api/rest-api/share/model/paginated.model.js.map +1 -0
- package/dist/src/api/rest-api/share/utils/transformFromPrismaToBranchModel.d.ts +3 -0
- package/dist/src/api/rest-api/share/utils/transformFromPrismaToBranchModel.js.map +1 -0
- package/dist/src/api/rest-api/share/utils/transformFromPrismaToEndpointsModel.d.ts +4 -0
- package/dist/src/api/rest-api/share/utils/transformFromPrismaToEndpointsModel.js.map +1 -0
- package/dist/src/api/rest-api/share/utils/transformFromPrismaToRevisionModel.d.ts +5 -0
- package/dist/src/api/rest-api/share/utils/transformFromPrismaToRevisionModel.js.map +1 -0
- package/dist/src/api/rest-api/share/utils/transformFromPrismaToRowModel.d.ts +5 -0
- package/dist/src/api/rest-api/share/utils/transformFromPrismaToRowModel.js.map +1 -0
- package/dist/src/api/rest-api/share/utils/transformFromPrismaToTableModel.d.ts +5 -0
- package/dist/src/api/rest-api/share/utils/transformFromPrismaToTableModel.js.map +1 -0
- package/dist/src/api/rest-api/share/utils/transformFromPrismaToUserOrganizationModel.d.ts +5 -0
- package/dist/src/api/rest-api/share/utils/transformFromPrismaToUserOrganizationModel.js.map +1 -0
- package/dist/src/api/rest-api/share/utils/transformFromPrismaToUserProjectModel.d.ts +5 -0
- package/dist/src/api/rest-api/share/utils/transformFromPrismaToUserProjectModel.js.map +1 -0
- package/dist/src/api/rest-api/table/dto/create-row.dto.js.map +1 -0
- package/dist/src/api/rest-api/table/dto/get-table-references-by.dto.js.map +1 -0
- package/dist/src/api/rest-api/table/dto/get-table-references-to.dto.js.map +1 -0
- package/dist/src/api/rest-api/table/dto/get-table-rows.dto.js.map +1 -0
- package/dist/src/api/rest-api/table/dto/index.d.ts +5 -0
- package/dist/src/api/rest-api/table/dto/index.js.map +1 -0
- package/dist/src/api/rest-api/table/dto/update-table.dto.d.ts +4 -0
- package/dist/src/api/rest-api/table/dto/update-table.dto.js.map +1 -0
- package/dist/src/api/rest-api/table/model/create-row.response.d.ts +6 -0
- package/dist/src/api/rest-api/table/model/create-row.response.js.map +1 -0
- package/dist/src/api/rest-api/table/model/index.d.ts +1 -0
- package/dist/src/api/rest-api/table/model/index.js.map +1 -0
- package/dist/src/api/rest-api/table/model/table.model.js.map +1 -0
- package/dist/src/api/rest-api/table/model/update-table.response.d.ts +5 -0
- package/dist/src/api/rest-api/table/model/update-table.response.js.map +1 -0
- package/dist/src/api/rest-api/table/table-by-id.controller.d.ts +23 -0
- package/dist/src/api/rest-api/table/table-by-id.controller.js +264 -0
- package/dist/src/api/rest-api/table/table-by-id.controller.js.map +1 -0
- package/dist/src/api/rest-api/user/model/index.d.ts +1 -0
- package/dist/src/api/rest-api/user/model/index.js.map +1 -0
- package/dist/src/api/rest-api/user/model/user.model.js.map +1 -0
- package/dist/src/api/rest-api/user/user.controller.d.ts +10 -0
- package/dist/src/api/rest-api/user/user.controller.js +49 -0
- package/dist/src/api/rest-api/user/user.controller.js.map +1 -0
- package/dist/src/app.module.js +11 -2
- package/dist/src/app.module.js.map +1 -1
- package/dist/src/core/core.module.js +19 -19
- package/dist/src/core/core.module.js.map +1 -1
- package/dist/src/features/auth/auth.module.js +51 -0
- package/dist/src/features/auth/auth.module.js.map +1 -0
- package/dist/src/features/auth/auth.service.d.ts +15 -0
- package/dist/src/features/auth/auth.service.js.map +1 -0
- package/dist/src/features/auth/casl-ability.factory.d.ts +9 -0
- package/dist/src/features/auth/casl-ability.factory.js +44 -0
- package/dist/src/features/auth/casl-ability.factory.js.map +1 -0
- package/dist/src/features/auth/commands/handlers/check-organization-permission.handler.d.ts +12 -0
- package/dist/src/features/auth/commands/handlers/check-organization-permission.handler.js +67 -0
- package/dist/src/features/auth/commands/handlers/check-organization-permission.handler.js.map +1 -0
- package/dist/src/features/auth/commands/handlers/check-project-permission.handler.d.ts +17 -0
- package/dist/src/features/auth/commands/handlers/check-project-permission.handler.js +150 -0
- package/dist/src/features/auth/commands/handlers/check-project-permission.handler.js.map +1 -0
- package/dist/src/features/auth/commands/handlers/check-system-permission.handler.d.ts +11 -0
- package/dist/src/features/auth/commands/handlers/check-system-permission.handler.js +54 -0
- package/dist/src/features/auth/commands/handlers/check-system-permission.handler.js.map +1 -0
- package/dist/src/features/auth/commands/handlers/confirm-email-code.handler.d.ts +14 -0
- package/dist/src/features/auth/commands/handlers/confirm-email-code.handler.js +63 -0
- package/dist/src/features/auth/commands/handlers/confirm-email-code.handler.js.map +1 -0
- package/dist/src/features/auth/commands/handlers/create-user.handler.d.ts +15 -0
- package/dist/src/features/auth/commands/handlers/create-user.handler.js +103 -0
- package/dist/src/features/auth/commands/handlers/create-user.handler.js.map +1 -0
- package/dist/src/features/auth/commands/handlers/index.d.ts +9 -0
- package/dist/src/features/auth/commands/handlers/index.js.map +1 -0
- package/dist/src/features/auth/commands/handlers/login-github.handler.d.ts +17 -0
- package/dist/src/features/auth/commands/handlers/login-github.handler.js +68 -0
- package/dist/src/features/auth/commands/handlers/login-github.handler.js.map +1 -0
- package/dist/src/features/auth/commands/handlers/login-google.handler.d.ts +17 -0
- package/dist/src/features/auth/commands/handlers/login-google.handler.js +68 -0
- package/dist/src/features/auth/commands/handlers/login-google.handler.js.map +1 -0
- package/dist/src/features/auth/commands/handlers/login.handler.d.ts +11 -0
- package/dist/src/features/auth/commands/handlers/login.handler.js +56 -0
- package/dist/src/features/auth/commands/handlers/login.handler.js.map +1 -0
- package/dist/src/features/auth/commands/handlers/sign-up.handler.d.ts +12 -0
- package/dist/src/features/auth/commands/handlers/sign-up.handler.js +48 -0
- package/dist/src/features/auth/commands/handlers/sign-up.handler.js.map +1 -0
- package/dist/src/features/auth/commands/impl/check-organization-permission.command.d.ts +13 -0
- package/dist/src/features/auth/commands/impl/check-organization-permission.command.js.map +1 -0
- package/dist/src/features/auth/commands/impl/check-project-permission.command.d.ts +25 -0
- package/dist/src/features/auth/commands/impl/check-project-permission.command.js.map +1 -0
- package/dist/src/features/auth/commands/impl/check-system-permission.command.d.ts +12 -0
- package/dist/src/features/auth/commands/impl/check-system-permission.command.js.map +1 -0
- package/dist/src/features/auth/commands/impl/confirm-email-code.command.js.map +1 -0
- package/dist/src/features/auth/commands/impl/create-user.command.d.ts +20 -0
- package/dist/src/features/auth/commands/impl/create-user.command.js.map +1 -0
- package/dist/src/features/auth/commands/impl/index.d.ts +9 -0
- package/dist/src/features/auth/commands/impl/index.js.map +1 -0
- package/dist/src/features/auth/commands/impl/login-github.command.js.map +1 -0
- package/dist/src/features/auth/commands/impl/login-google.command.js.map +1 -0
- package/dist/src/features/auth/commands/impl/login.command.js.map +1 -0
- package/dist/src/features/auth/commands/impl/sign-up.command.js.map +1 -0
- package/dist/src/features/auth/commands/index.d.ts +2 -0
- package/dist/src/features/auth/commands/index.js.map +1 -0
- package/dist/src/features/auth/consts.js.map +1 -0
- package/dist/src/features/auth/github-oauth.service.js +86 -0
- package/dist/src/features/auth/github-oauth.service.js.map +1 -0
- package/dist/src/features/auth/google-oauth.service.js +57 -0
- package/dist/src/features/auth/google-oauth.service.js.map +1 -0
- package/dist/src/features/auth/guards/base-persmission.guard.d.ts +24 -0
- package/dist/src/features/auth/guards/base-persmission.guard.js.map +1 -0
- package/dist/src/features/auth/guards/jwt/gql-jwt-auth-guard.service.js.map +1 -0
- package/dist/src/features/auth/guards/jwt/http-jwt-auth-guard.service.js.map +1 -0
- package/dist/src/features/auth/guards/jwt/local-auth.guard.js.map +1 -0
- package/dist/src/features/auth/guards/jwt/optional-gql-jwt-auth-guard.service.js.map +1 -0
- package/dist/src/features/auth/guards/jwt/optional-http-jwt-auth-guard.service.js.map +1 -0
- package/dist/src/features/auth/guards/organization.guard.d.ts +25 -0
- package/dist/src/features/auth/guards/organization.guard.js.map +1 -0
- package/dist/src/features/auth/guards/permission-params.d.ts +7 -0
- package/dist/src/features/auth/guards/permission-params.js.map +1 -0
- package/dist/src/features/auth/guards/project.guard.d.ts +31 -0
- package/dist/src/features/auth/guards/project.guard.js.map +1 -0
- package/dist/src/features/auth/guards/system.guard.d.ts +20 -0
- package/dist/src/features/auth/guards/system.guard.js.map +1 -0
- package/dist/src/features/auth/jwt-secret.service.js.map +1 -0
- package/dist/src/features/auth/strategy/jwt.strategy.d.ts +9 -0
- package/dist/src/features/auth/strategy/jwt.strategy.js.map +1 -0
- package/dist/src/features/auth/types.js.map +1 -0
- package/dist/src/features/auth/utils.d.ts +2 -0
- package/dist/src/features/auth/utils.js.map +1 -0
- package/dist/src/features/branch/branch.module.js +26 -0
- package/dist/src/features/branch/branch.module.js.map +1 -0
- package/dist/src/features/branch/commands/handlers/api-create-branch-by-revision-id.handler.d.ts +8 -0
- package/dist/src/features/branch/commands/handlers/api-create-branch-by-revision-id.handler.js.map +1 -0
- package/dist/src/features/branch/commands/handlers/create-branch-by-revision-id.handler.d.ts +32 -0
- package/dist/src/features/branch/commands/handlers/create-branch-by-revision-id.handler.js +135 -0
- package/dist/src/features/branch/commands/handlers/create-branch-by-revision-id.handler.js.map +1 -0
- package/dist/src/features/branch/commands/handlers/index.d.ts +3 -0
- package/dist/src/features/branch/commands/handlers/index.js.map +1 -0
- package/dist/src/features/branch/commands/impl/api-create-branch-by-revision-id.command.js.map +1 -0
- package/dist/src/features/branch/commands/impl/create-branch-by-revision-id.command.js.map +1 -0
- package/dist/src/features/branch/commands/impl/index.d.ts +2 -0
- package/dist/src/features/branch/commands/impl/index.js.map +1 -0
- package/dist/src/features/branch/quieries/handlers/get-branch-by-id.handler.d.ts +15 -0
- package/dist/src/features/branch/quieries/handlers/get-branch-by-id.handler.js +29 -0
- package/dist/src/features/branch/quieries/handlers/get-branch-by-id.handler.js.map +1 -0
- package/dist/src/features/branch/quieries/handlers/get-branch.handler.d.ts +14 -0
- package/dist/src/features/branch/quieries/handlers/get-branch.handler.js +49 -0
- package/dist/src/features/branch/quieries/handlers/get-branch.handler.js.map +1 -0
- package/dist/src/features/branch/quieries/handlers/get-branches.handler.d.ts +22 -0
- package/dist/src/features/branch/quieries/handlers/get-branches.handler.js +65 -0
- package/dist/src/features/branch/quieries/handlers/get-branches.handler.js.map +1 -0
- package/dist/src/features/branch/quieries/handlers/get-draft-revision.handler.d.ts +9 -0
- package/dist/src/features/branch/quieries/handlers/get-draft-revision.handler.js +31 -0
- package/dist/src/features/branch/quieries/handlers/get-draft-revision.handler.js.map +1 -0
- package/dist/src/features/branch/quieries/handlers/get-head-revision.handler.d.ts +9 -0
- package/dist/src/features/branch/quieries/handlers/get-head-revision.handler.js +31 -0
- package/dist/src/features/branch/quieries/handlers/get-head-revision.handler.js.map +1 -0
- package/dist/src/features/branch/quieries/handlers/get-project-by-branch.handler.d.ts +14 -0
- package/dist/src/features/branch/quieries/handlers/get-project-by-branch.handler.js +31 -0
- package/dist/src/features/branch/quieries/handlers/get-project-by-branch.handler.js.map +1 -0
- package/dist/src/features/branch/quieries/handlers/get-revisions-by-branch-id.handler.d.ts +22 -0
- package/dist/src/features/branch/quieries/handlers/get-revisions-by-branch-id.handler.js +66 -0
- package/dist/src/features/branch/quieries/handlers/get-revisions-by-branch-id.handler.js.map +1 -0
- package/dist/src/features/branch/quieries/handlers/get-start-revision.handler.d.ts +9 -0
- package/dist/src/features/branch/quieries/handlers/get-start-revision.handler.js +31 -0
- package/dist/src/features/branch/quieries/handlers/get-start-revision.handler.js.map +1 -0
- package/dist/src/features/branch/quieries/handlers/get-touched-by-branch-id.handler.d.ts +13 -0
- package/dist/src/features/branch/quieries/handlers/get-touched-by-branch-id.handler.js +50 -0
- package/dist/src/features/branch/quieries/handlers/get-touched-by-branch-id.handler.js.map +1 -0
- package/dist/src/features/branch/quieries/handlers/index.d.ts +11 -0
- package/dist/src/features/branch/quieries/handlers/index.js.map +1 -0
- package/dist/src/features/branch/quieries/handlers/resolve-parent-branch-by-branch.handler.d.ts +16 -0
- package/dist/src/features/branch/quieries/handlers/resolve-parent-branch-by-branch.handler.js +53 -0
- package/dist/src/features/branch/quieries/handlers/resolve-parent-branch-by-branch.handler.js.map +1 -0
- package/dist/src/features/branch/quieries/impl/get-branch-by-id.query.js.map +1 -0
- package/dist/src/features/branch/quieries/impl/get-branch.query.js.map +1 -0
- package/dist/src/features/branch/quieries/impl/get-branches.query.js.map +1 -0
- package/dist/src/features/branch/quieries/impl/get-draft-revision.query.js.map +1 -0
- package/dist/src/features/branch/quieries/impl/get-head-revision.query.js.map +1 -0
- package/dist/src/features/branch/quieries/impl/get-project-by-branch.query.js.map +1 -0
- package/dist/src/features/branch/quieries/impl/get-revisions-by-branch-id.query.js.map +1 -0
- package/dist/src/features/branch/quieries/impl/get-start-revision.query.js.map +1 -0
- package/dist/src/features/branch/quieries/impl/get-touched-by-branch-id.query.js.map +1 -0
- package/dist/src/features/branch/quieries/impl/index.d.ts +10 -0
- package/dist/src/features/branch/quieries/impl/index.js.map +1 -0
- package/dist/src/features/branch/quieries/impl/resolve-parent-branch-by-branch.query.js.map +1 -0
- package/dist/src/features/branch/quieries/types/get-branch-by-id.types.js.map +1 -0
- package/dist/src/features/branch/quieries/types/get-branch.types.js.map +1 -0
- package/dist/src/features/branch/quieries/types/get-draft-revision.types.js.map +1 -0
- package/dist/src/features/branch/quieries/types/get-head-revision.types.js.map +1 -0
- package/dist/src/features/branch/quieries/types/get-start-revision.types.js.map +1 -0
- package/dist/src/features/branch/quieries/types/index.d.ts +4 -0
- package/dist/src/features/branch/quieries/types/index.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/__tests__/utils.d.ts +42 -0
- package/dist/src/features/draft/commands/handlers/__tests__/utils.js +261 -0
- package/dist/src/features/draft/commands/handlers/__tests__/utils.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/api-create-revision.handler.d.ts +13 -0
- package/dist/src/features/draft/commands/handlers/api-create-revision.handler.js +45 -0
- package/dist/src/features/draft/commands/handlers/api-create-revision.handler.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/api-create-row.handler.d.ts +13 -0
- package/dist/src/features/draft/commands/handlers/api-create-row.handler.js +60 -0
- package/dist/src/features/draft/commands/handlers/api-create-row.handler.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/api-create-table.handler.d.ts +13 -0
- package/dist/src/features/draft/commands/handlers/api-create-table.handler.js +45 -0
- package/dist/src/features/draft/commands/handlers/api-create-table.handler.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/api-remove-row.handler.d.ts +13 -0
- package/dist/src/features/draft/commands/handlers/api-remove-row.handler.js +59 -0
- package/dist/src/features/draft/commands/handlers/api-remove-row.handler.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/api-remove-table.handler.d.ts +13 -0
- package/dist/src/features/draft/commands/handlers/api-remove-table.handler.js +43 -0
- package/dist/src/features/draft/commands/handlers/api-remove-table.handler.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/api-revert-changes.handler.d.ts +12 -0
- package/dist/src/features/draft/commands/handlers/api-revert-changes.handler.js +40 -0
- package/dist/src/features/draft/commands/handlers/api-revert-changes.handler.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/api-update-row.handler.d.ts +13 -0
- package/dist/src/features/draft/commands/handlers/api-update-row.handler.js +57 -0
- package/dist/src/features/draft/commands/handlers/api-update-row.handler.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/api-update-table.handler.d.ts +13 -0
- package/dist/src/features/draft/commands/handlers/api-update-table.handler.js +45 -0
- package/dist/src/features/draft/commands/handlers/api-update-table.handler.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/create-revision.handler.d.ts +24 -0
- package/dist/src/features/draft/commands/handlers/create-revision.handler.js +141 -0
- package/dist/src/features/draft/commands/handlers/create-revision.handler.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/create-row.handler.d.ts +29 -0
- package/dist/src/features/draft/commands/handlers/create-row.handler.js +133 -0
- package/dist/src/features/draft/commands/handlers/create-row.handler.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/create-table.handler.d.ts +30 -0
- package/dist/src/features/draft/commands/handlers/create-table.handler.js +124 -0
- package/dist/src/features/draft/commands/handlers/create-table.handler.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/index.d.ts +25 -0
- package/dist/src/features/draft/commands/handlers/index.js +54 -0
- package/dist/src/features/draft/commands/handlers/index.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/remove-row.handler.d.ts +33 -0
- package/dist/src/features/draft/commands/handlers/remove-row.handler.js +233 -0
- package/dist/src/features/draft/commands/handlers/remove-row.handler.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/remove-table.handler.d.ts +33 -0
- package/dist/src/features/draft/commands/handlers/remove-table.handler.js +179 -0
- package/dist/src/features/draft/commands/handlers/remove-table.handler.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/revert-changes.handler.d.ts +17 -0
- package/dist/src/features/draft/commands/handlers/revert-changes.handler.js +97 -0
- package/dist/src/features/draft/commands/handlers/revert-changes.handler.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/transactional/get-or-create-draft-row.handler.d.ts +26 -0
- package/dist/src/features/draft/commands/handlers/transactional/get-or-create-draft-row.handler.js +116 -0
- package/dist/src/features/draft/commands/handlers/transactional/get-or-create-draft-row.handler.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/transactional/get-or-create-draft-rows.handler.d.ts +26 -0
- package/dist/src/features/draft/commands/handlers/transactional/get-or-create-draft-rows.handler.js +146 -0
- package/dist/src/features/draft/commands/handlers/transactional/get-or-create-draft-rows.handler.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/transactional/get-or-create-draft-table.handler.d.ts +24 -0
- package/dist/src/features/draft/commands/handlers/transactional/get-or-create-draft-table.handler.js +114 -0
- package/dist/src/features/draft/commands/handlers/transactional/get-or-create-draft-table.handler.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/transactional/resolve-draft-revision.handler.d.ts +13 -0
- package/dist/src/features/draft/commands/handlers/transactional/resolve-draft-revision.handler.js +63 -0
- package/dist/src/features/draft/commands/handlers/transactional/resolve-draft-revision.handler.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/transactional/update-rows.handler.d.ts +17 -0
- package/dist/src/features/draft/commands/handlers/transactional/update-rows.handler.js +75 -0
- package/dist/src/features/draft/commands/handlers/transactional/update-rows.handler.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/transactional/validate-data.handler.d.ts +14 -0
- package/dist/src/features/draft/commands/handlers/transactional/validate-data.handler.js +67 -0
- package/dist/src/features/draft/commands/handlers/transactional/validate-data.handler.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/transactional/validate-not-system-table.handler.d.ts +10 -0
- package/dist/src/features/draft/commands/handlers/transactional/validate-not-system-table.handler.js +36 -0
- package/dist/src/features/draft/commands/handlers/transactional/validate-not-system-table.handler.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/transactional/validate-schema.handler.d.ts +14 -0
- package/dist/src/features/draft/commands/handlers/transactional/validate-schema.handler.js +51 -0
- package/dist/src/features/draft/commands/handlers/transactional/validate-schema.handler.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/update-row.handler.d.ts +18 -0
- package/dist/src/features/draft/commands/handlers/update-row.handler.js +75 -0
- package/dist/src/features/draft/commands/handlers/update-row.handler.js.map +1 -0
- package/dist/src/features/draft/commands/handlers/update-table.handler.d.ts +29 -0
- package/dist/src/features/draft/commands/handlers/update-table.handler.js +166 -0
- package/dist/src/features/draft/commands/handlers/update-table.handler.js.map +1 -0
- package/dist/src/features/draft/commands/impl/api-create-revision.command.d.ts +16 -0
- package/dist/src/features/draft/commands/impl/api-create-revision.command.js.map +1 -0
- package/dist/src/features/draft/commands/impl/api-create-row.command.js.map +1 -0
- package/dist/src/features/draft/commands/impl/api-create-table.command.js.map +1 -0
- package/dist/src/features/draft/commands/impl/api-remove-row.command.js.map +1 -0
- package/dist/src/features/draft/commands/impl/api-remove-table.command.js.map +1 -0
- package/dist/src/features/draft/commands/impl/api-revert-changes.command.d.ts +14 -0
- package/dist/src/features/draft/commands/impl/api-revert-changes.command.js.map +1 -0
- package/dist/src/features/draft/commands/impl/api-update-row.command.js.map +1 -0
- package/dist/src/features/draft/commands/impl/api-update-table.command.d.ts +13 -0
- package/dist/src/features/draft/commands/impl/api-update-table.command.js.map +1 -0
- package/dist/src/features/draft/commands/impl/create-revision.command.js.map +1 -0
- package/dist/src/features/draft/commands/impl/create-row.command.js.map +1 -0
- package/dist/src/features/draft/commands/impl/create-table.command.js.map +1 -0
- package/dist/src/features/draft/commands/impl/remove-row.command.js.map +1 -0
- package/dist/src/features/draft/commands/impl/remove-table.command.js.map +1 -0
- package/dist/src/features/draft/commands/impl/revert-changes.command.js.map +1 -0
- package/dist/src/features/draft/commands/impl/transactional/get-or-create-draft-row.command.js.map +1 -0
- package/dist/src/features/draft/commands/impl/transactional/get-or-create-draft-rows.command.js.map +1 -0
- package/dist/src/features/draft/commands/impl/transactional/get-or-create-draft-table.command.js.map +1 -0
- package/dist/src/features/draft/commands/impl/transactional/resolve-draft-revision.command.js.map +1 -0
- package/dist/src/features/draft/commands/impl/transactional/update-rows.command.d.ts +22 -0
- package/dist/src/features/draft/commands/impl/transactional/update-rows.command.js.map +1 -0
- package/dist/src/features/draft/commands/impl/transactional/validate-data.command.d.ts +24 -0
- package/dist/src/features/draft/commands/impl/transactional/validate-data.command.js.map +1 -0
- package/dist/src/features/draft/commands/impl/transactional/validate-not-system-table.command.js.map +1 -0
- package/dist/src/features/draft/commands/impl/transactional/validate-schema.command.js.map +1 -0
- package/dist/src/features/draft/commands/impl/update-row.command.js.map +1 -0
- package/dist/src/features/draft/commands/impl/update-table.command.d.ts +13 -0
- package/dist/src/features/draft/commands/impl/update-table.command.js.map +1 -0
- package/dist/src/features/draft/commands/types/api-create-row.handler.types.d.ts +7 -0
- package/dist/src/features/draft/commands/types/api-create-row.handler.types.js.map +1 -0
- package/dist/src/features/draft/commands/types/api-create-table.handler.types.js.map +1 -0
- package/dist/src/features/draft/commands/types/api-remove-row.handler.types.d.ts +7 -0
- package/dist/src/features/draft/commands/types/api-remove-row.handler.types.js.map +1 -0
- package/dist/src/features/draft/commands/types/api-remove-table.handler.types.d.ts +4 -0
- package/dist/src/features/draft/commands/types/api-remove-table.handler.types.js.map +1 -0
- package/dist/src/features/draft/commands/types/api-update-row.handler.types.d.ts +8 -0
- package/dist/src/features/draft/commands/types/api-update-row.handler.types.js.map +1 -0
- package/dist/src/features/draft/commands/types/api-update-table.handler.types.d.ts +5 -0
- package/dist/src/features/draft/commands/types/api-update-table.handler.types.js.map +1 -0
- package/dist/src/features/draft/commands/types/create-revision.handler.types.js.map +1 -0
- package/dist/src/features/draft/commands/types/create-row.handler.types.js.map +1 -0
- package/dist/src/features/draft/commands/types/create-table.handler.types.js.map +1 -0
- package/dist/src/features/draft/commands/types/remove-row.handler.types.js.map +1 -0
- package/dist/src/features/draft/commands/types/remove-table.handler.types.js.map +1 -0
- package/dist/src/features/draft/commands/types/revert-changes.handler.types.js.map +1 -0
- package/dist/src/features/draft/commands/types/update-row.handler.types.js.map +1 -0
- package/dist/src/features/draft/commands/types/update-table.handler.types.js.map +1 -0
- package/dist/src/features/draft/draft-context.service.d.ts +25 -0
- package/dist/src/features/draft/draft-context.service.js +75 -0
- package/dist/src/features/draft/draft-context.service.js.map +1 -0
- package/dist/src/features/draft/draft-request-dto/draft-revision-request.dto.d.ts +14 -0
- package/dist/src/features/draft/draft-request-dto/draft-revision-request.dto.js.map +1 -0
- package/dist/src/features/draft/draft-request-dto/index.d.ts +5 -0
- package/dist/src/features/draft/draft-request-dto/index.js.map +1 -0
- package/dist/src/features/draft/draft-request-dto/row-request.dto.d.ts +11 -0
- package/dist/src/features/draft/draft-request-dto/row-request.dto.js.map +1 -0
- package/dist/src/features/draft/draft-request-dto/rows-request.dto.d.ts +13 -0
- package/dist/src/features/draft/draft-request-dto/rows-request.dto.js.map +1 -0
- package/dist/src/features/draft/draft-request-dto/table-request.dto.d.ts +11 -0
- package/dist/src/features/draft/draft-request-dto/table-request.dto.js.map +1 -0
- package/dist/src/features/draft/draft.handler.d.ts +13 -0
- package/dist/src/features/draft/draft.handler.js.map +1 -0
- package/dist/src/features/draft/draft.module.js +44 -0
- package/dist/src/features/draft/draft.module.js.map +1 -0
- package/dist/src/features/draft/draft.transactional.commands.d.ts +23 -0
- package/dist/src/features/draft/draft.transactional.commands.js.map +1 -0
- package/dist/src/features/draft/json-schema-validator.service.d.ts +24 -0
- package/dist/src/features/draft/json-schema-validator.service.js +76 -0
- package/dist/src/features/draft/json-schema-validator.service.js.map +1 -0
- package/dist/src/features/draft/session-changelog.service.d.ts +29 -0
- package/dist/src/features/draft/session-changelog.service.js +124 -0
- package/dist/src/features/draft/session-changelog.service.js.map +1 -0
- package/dist/src/features/endpoint/commands/handlers/api-create-endpoint.handler.d.ts +8 -0
- package/dist/src/features/endpoint/commands/handlers/api-create-endpoint.handler.js.map +1 -0
- package/dist/src/features/endpoint/commands/handlers/create-endpoint.handler.d.ts +13 -0
- package/dist/src/features/endpoint/commands/handlers/create-endpoint.handler.js +62 -0
- package/dist/src/features/endpoint/commands/handlers/create-endpoint.handler.js.map +1 -0
- package/dist/src/features/endpoint/commands/handlers/delete-endpoint.handler.d.ts +12 -0
- package/dist/src/features/endpoint/commands/handlers/delete-endpoint.handler.js +50 -0
- package/dist/src/features/endpoint/commands/handlers/delete-endpoint.handler.js.map +1 -0
- package/dist/src/features/endpoint/commands/handlers/index.d.ts +4 -0
- package/dist/src/features/endpoint/commands/handlers/index.js.map +1 -0
- package/dist/src/features/endpoint/commands/impl/api-create-endpoint.command.js.map +1 -0
- package/dist/src/features/endpoint/commands/impl/create-endpoint.command.js.map +1 -0
- package/dist/src/features/endpoint/commands/impl/delete-endpoint.command.js.map +1 -0
- package/dist/src/features/endpoint/commands/impl/index.d.ts +3 -0
- package/dist/src/features/endpoint/commands/impl/index.js.map +1 -0
- package/dist/src/features/endpoint/endpoint.module.js +25 -0
- package/dist/src/features/endpoint/endpoint.module.js.map +1 -0
- package/dist/src/features/endpoint/queries/handlers/get-created-endpoint.handler.d.ts +14 -0
- package/dist/src/features/endpoint/queries/handlers/get-created-endpoint.handler.js +29 -0
- package/dist/src/features/endpoint/queries/handlers/get-created-endpoint.handler.js.map +1 -0
- package/dist/src/features/endpoint/queries/handlers/get-revision-by-endpoint-id.handler.d.ts +19 -0
- package/dist/src/features/endpoint/queries/handlers/get-revision-by-endpoint-id.handler.js +33 -0
- package/dist/src/features/endpoint/queries/handlers/get-revision-by-endpoint-id.handler.js.map +1 -0
- package/dist/src/features/endpoint/queries/handlers/index.d.ts +3 -0
- package/dist/src/features/endpoint/queries/handlers/index.js.map +1 -0
- package/dist/src/features/endpoint/queries/impl/get-created-endpoint.query.js.map +1 -0
- package/dist/src/features/endpoint/queries/impl/get-revision-by-endpoint-id.query.js.map +1 -0
- package/dist/src/features/endpoint/queries/impl/index.d.ts +2 -0
- package/dist/src/features/endpoint/queries/impl/index.js.map +1 -0
- package/dist/src/features/organization/commands/handlers/add-user-to-organization.handler.d.ts +12 -0
- package/dist/src/features/organization/commands/handlers/add-user-to-organization.handler.js +67 -0
- package/dist/src/features/organization/commands/handlers/add-user-to-organization.handler.js.map +1 -0
- package/dist/src/features/organization/commands/handlers/index.d.ts +2 -0
- package/dist/src/features/organization/commands/handlers/index.js.map +1 -0
- package/dist/src/features/organization/commands/handlers/remove-user-from-organization.handler.d.ts +11 -0
- package/dist/src/features/organization/commands/handlers/remove-user-from-organization.handler.js +68 -0
- package/dist/src/features/organization/commands/handlers/remove-user-from-organization.handler.js.map +1 -0
- package/dist/src/features/organization/commands/impl/add-user-to-organization.command.d.ts +14 -0
- package/dist/src/features/organization/commands/impl/add-user-to-organization.command.js.map +1 -0
- package/dist/src/features/organization/commands/impl/index.d.ts +2 -0
- package/dist/src/features/organization/commands/impl/index.js.map +1 -0
- package/dist/src/features/organization/commands/impl/remove-user-from-organization.command.js.map +1 -0
- package/dist/src/features/organization/commands/index.d.ts +2 -0
- package/dist/src/features/organization/commands/index.js.map +1 -0
- package/dist/src/features/organization/organization.module.js +24 -0
- package/dist/src/features/organization/organization.module.js.map +1 -0
- package/dist/src/features/organization/queries/handlers/get-projects-by-organization-id.handler.d.ts +17 -0
- package/dist/src/features/organization/queries/handlers/get-projects-by-organization-id.handler.js +70 -0
- package/dist/src/features/organization/queries/handlers/get-projects-by-organization-id.handler.js.map +1 -0
- package/dist/src/features/organization/queries/handlers/get-users-organization.handler.d.ts +30 -0
- package/dist/src/features/organization/queries/handlers/get-users-organization.handler.js +58 -0
- package/dist/src/features/organization/queries/handlers/get-users-organization.handler.js.map +1 -0
- package/dist/src/features/organization/queries/handlers/index.d.ts +1 -0
- package/dist/src/features/organization/queries/handlers/index.js.map +1 -0
- package/dist/src/features/organization/queries/impl/get-projects-by-organization-id.query.d.ts +17 -0
- package/dist/src/features/organization/queries/impl/get-projects-by-organization-id.query.js.map +1 -0
- package/dist/src/features/organization/queries/impl/get-users-organization.query.d.ts +19 -0
- package/dist/src/features/organization/queries/impl/get-users-organization.query.js.map +1 -0
- package/dist/src/features/organization/queries/impl/index.d.ts +2 -0
- package/dist/src/features/organization/queries/impl/index.js.map +1 -0
- package/dist/src/features/organization/queries/index.d.ts +3 -0
- package/dist/src/features/organization/queries/index.js.map +1 -0
- package/dist/src/features/project/commands/handlers/__tests__/utils.d.ts +29 -0
- package/dist/src/features/project/commands/handlers/__tests__/utils.js +155 -0
- package/dist/src/features/project/commands/handlers/__tests__/utils.js.map +1 -0
- package/dist/src/features/project/commands/handlers/add-user-to-project.handler.d.ts +13 -0
- package/dist/src/features/project/commands/handlers/add-user-to-project.handler.js +87 -0
- package/dist/src/features/project/commands/handlers/add-user-to-project.handler.js.map +1 -0
- package/dist/src/features/project/commands/handlers/api-create-project.handler.d.ts +8 -0
- package/dist/src/features/project/commands/handlers/api-create-project.handler.js.map +1 -0
- package/dist/src/features/project/commands/handlers/create-project.handler.d.ts +39 -0
- package/dist/src/features/project/commands/handlers/create-project.handler.js +180 -0
- package/dist/src/features/project/commands/handlers/create-project.handler.js.map +1 -0
- package/dist/src/features/project/commands/handlers/delete-project.handler.d.ts +17 -0
- package/dist/src/features/project/commands/handlers/delete-project.handler.js +73 -0
- package/dist/src/features/project/commands/handlers/delete-project.handler.js.map +1 -0
- package/dist/src/features/project/commands/handlers/index.d.ts +7 -0
- package/dist/src/features/project/commands/handlers/index.js.map +1 -0
- package/dist/src/features/project/commands/handlers/remove-user-from-project.handler.d.ts +11 -0
- package/dist/src/features/project/commands/handlers/remove-user-from-project.handler.js +69 -0
- package/dist/src/features/project/commands/handlers/remove-user-from-project.handler.js.map +1 -0
- package/dist/src/features/project/commands/handlers/update-project.handler.d.ts +13 -0
- package/dist/src/features/project/commands/handlers/update-project.handler.js +52 -0
- package/dist/src/features/project/commands/handlers/update-project.handler.js.map +1 -0
- package/dist/src/features/project/commands/impl/add-user-to-project.command.d.ts +16 -0
- package/dist/src/features/project/commands/impl/add-user-to-project.command.js.map +1 -0
- package/dist/src/features/project/commands/impl/api-create-project.command.d.ts +16 -0
- package/dist/src/features/project/commands/impl/api-create-project.command.js.map +1 -0
- package/dist/src/features/project/commands/impl/create-project.command.d.ts +15 -0
- package/dist/src/features/project/commands/impl/create-project.command.js.map +1 -0
- package/dist/src/features/project/commands/impl/delete-project.command.js.map +1 -0
- package/dist/src/features/project/commands/impl/index.d.ts +6 -0
- package/dist/src/features/project/commands/impl/index.js.map +1 -0
- package/dist/src/features/project/commands/impl/remove-user-from-project.command.js.map +1 -0
- package/dist/src/features/project/commands/impl/update-project.command.js.map +1 -0
- package/dist/src/features/project/project.module.js +34 -0
- package/dist/src/features/project/project.module.js.map +1 -0
- package/dist/src/features/project/queries/handlers/get-all-branches-by-project.handler.d.ts +16 -0
- package/dist/src/features/project/queries/handlers/get-all-branches-by-project.handler.js +47 -0
- package/dist/src/features/project/queries/handlers/get-all-branches-by-project.handler.js.map +1 -0
- package/dist/src/features/project/queries/handlers/get-project-by-id.handler.d.ts +14 -0
- package/dist/src/features/project/queries/handlers/get-project-by-id.handler.js +31 -0
- package/dist/src/features/project/queries/handlers/get-project-by-id.handler.js.map +1 -0
- package/dist/src/features/project/queries/handlers/get-project.handler.d.ts +12 -0
- package/dist/src/features/project/queries/handlers/get-project.handler.js +44 -0
- package/dist/src/features/project/queries/handlers/get-project.handler.js.map +1 -0
- package/dist/src/features/project/queries/handlers/get-root-branch-by-project.handler.d.ts +14 -0
- package/dist/src/features/project/queries/handlers/get-root-branch-by-project.handler.js +31 -0
- package/dist/src/features/project/queries/handlers/get-root-branch-by-project.handler.js.map +1 -0
- package/dist/src/features/project/queries/handlers/get-users-project.handler.d.ts +30 -0
- package/dist/src/features/project/queries/handlers/get-users-project.handler.js +61 -0
- package/dist/src/features/project/queries/handlers/get-users-project.handler.js.map +1 -0
- package/dist/src/features/project/queries/handlers/index.d.ts +6 -0
- package/dist/src/features/project/queries/handlers/index.js.map +1 -0
- package/dist/src/features/project/queries/impl/get-all-branches-by-project.query.js.map +1 -0
- package/dist/src/features/project/queries/impl/get-project-by-id.query.d.ts +10 -0
- package/dist/src/features/project/queries/impl/get-project-by-id.query.js.map +1 -0
- package/dist/src/features/project/queries/impl/get-project.query.js.map +1 -0
- package/dist/src/features/project/queries/impl/get-root-branch-by-project.query.js.map +1 -0
- package/dist/src/features/project/queries/impl/get-users-project.query.d.ts +21 -0
- package/dist/src/features/project/queries/impl/get-users-project.query.js.map +1 -0
- package/dist/src/features/project/queries/impl/index.d.ts +5 -0
- package/dist/src/features/project/queries/impl/index.js.map +1 -0
- package/dist/src/features/revision/queries/commands/get-children-by-revision.handler.d.ts +19 -0
- package/dist/src/features/revision/queries/commands/get-children-by-revision.handler.js +31 -0
- package/dist/src/features/revision/queries/commands/get-children-by-revision.handler.js.map +1 -0
- package/dist/src/features/revision/queries/commands/get-endpoints-by-revision-id.handler.d.ts +9 -0
- package/dist/src/features/revision/queries/commands/get-endpoints-by-revision-id.handler.js +31 -0
- package/dist/src/features/revision/queries/commands/get-endpoints-by-revision-id.handler.js.map +1 -0
- package/dist/src/features/revision/queries/commands/get-revision.handler.d.ts +19 -0
- package/dist/src/features/revision/queries/commands/get-revision.handler.js +31 -0
- package/dist/src/features/revision/queries/commands/get-revision.handler.js.map +1 -0
- package/dist/src/features/revision/queries/commands/get-tables-by-revision-id.handler.d.ts +20 -0
- package/dist/src/features/revision/queries/commands/get-tables-by-revision-id.handler.js +65 -0
- package/dist/src/features/revision/queries/commands/get-tables-by-revision-id.handler.js.map +1 -0
- package/dist/src/features/revision/queries/commands/index.d.ts +9 -0
- package/dist/src/features/revision/queries/commands/index.js.map +1 -0
- package/dist/src/features/revision/queries/commands/resolve-branch-by-revision.handler.d.ts +14 -0
- package/dist/src/features/revision/queries/commands/resolve-branch-by-revision.handler.js +31 -0
- package/dist/src/features/revision/queries/commands/resolve-branch-by-revision.handler.js.map +1 -0
- package/dist/src/features/revision/queries/commands/resolve-child-branches-by-revision.handler.d.ts +17 -0
- package/dist/src/features/revision/queries/commands/resolve-child-branches-by-revision.handler.js +53 -0
- package/dist/src/features/revision/queries/commands/resolve-child-branches-by-revision.handler.js.map +1 -0
- package/dist/src/features/revision/queries/commands/resolve-child-by-revision.handler.d.ts +21 -0
- package/dist/src/features/revision/queries/commands/resolve-child-by-revision.handler.js +41 -0
- package/dist/src/features/revision/queries/commands/resolve-child-by-revision.handler.js.map +1 -0
- package/dist/src/features/revision/queries/commands/resolve-parent-by-revision.handler.d.ts +19 -0
- package/dist/src/features/revision/queries/commands/resolve-parent-by-revision.handler.js +31 -0
- package/dist/src/features/revision/queries/commands/resolve-parent-by-revision.handler.js.map +1 -0
- package/dist/src/features/revision/queries/impl/get-children-by-revision.query.js.map +1 -0
- package/dist/src/features/revision/queries/impl/get-endpoints-by-revision-id.query.js.map +1 -0
- package/dist/src/features/revision/queries/impl/get-revision.query.d.ts +10 -0
- package/dist/src/features/revision/queries/impl/get-revision.query.js.map +1 -0
- package/dist/src/features/revision/queries/impl/get-tables-by-revision-id.query.js.map +1 -0
- package/dist/src/features/revision/queries/impl/index.d.ts +7 -0
- package/dist/src/features/revision/queries/impl/index.js.map +1 -0
- package/dist/src/features/revision/queries/impl/resolve-branch-by-revision.query.js.map +1 -0
- package/dist/src/features/revision/queries/impl/resolve-child-branches-by-revision.query.js.map +1 -0
- package/dist/src/features/revision/queries/impl/resolve-child-by-revision.query.js.map +1 -0
- package/dist/src/features/revision/queries/impl/resolve-parent-by-revision.query.js.map +1 -0
- package/dist/src/features/revision/queries/types/get-endpoints-by-revision-id.js.map +1 -0
- package/dist/src/features/revision/queries/types/get-revision-tables.types.d.ts +3 -0
- package/dist/src/features/revision/queries/types/get-revision-tables.types.js.map +1 -0
- package/dist/src/features/revision/queries/types/get-tables-by-revision-id.js.map +1 -0
- package/dist/src/features/revision/queries/types/index.d.ts +4 -0
- package/dist/src/features/revision/queries/types/index.js.map +1 -0
- package/dist/src/features/revision/revision.module.js +25 -0
- package/dist/src/features/revision/revision.module.js.map +1 -0
- package/dist/src/features/row/queries/handlers/get-row-by-id.handler.d.ts +19 -0
- package/dist/src/features/row/queries/handlers/get-row-by-id.handler.js +43 -0
- package/dist/src/features/row/queries/handlers/get-row-by-id.handler.js.map +1 -0
- package/dist/src/features/row/queries/handlers/get-row.handler.d.ts +14 -0
- package/dist/src/features/row/queries/handlers/get-row.handler.js +59 -0
- package/dist/src/features/row/queries/handlers/get-row.handler.js.map +1 -0
- package/dist/src/features/row/queries/handlers/get-rows.handler.d.ts +15 -0
- package/dist/src/features/row/queries/handlers/get-rows.handler.js +71 -0
- package/dist/src/features/row/queries/handlers/get-rows.handler.js.map +1 -0
- package/dist/src/features/row/queries/handlers/index.d.ts +8 -0
- package/dist/src/features/row/queries/handlers/index.js.map +1 -0
- package/dist/src/features/row/queries/handlers/resolve-row-count-references-by.handler.d.ts +16 -0
- package/dist/src/features/row/queries/handlers/resolve-row-count-references-by.handler.js +67 -0
- package/dist/src/features/row/queries/handlers/resolve-row-count-references-by.handler.js.map +1 -0
- package/dist/src/features/row/queries/handlers/resolve-row-count-references-to.handler.d.ts +14 -0
- package/dist/src/features/row/queries/handlers/resolve-row-count-references-to.handler.js +59 -0
- package/dist/src/features/row/queries/handlers/resolve-row-count-references-to.handler.js.map +1 -0
- package/dist/src/features/row/queries/handlers/resolve-row-references-by.handler.d.ts +28 -0
- package/dist/src/features/row/queries/handlers/resolve-row-references-by.handler.js +78 -0
- package/dist/src/features/row/queries/handlers/resolve-row-references-by.handler.js.map +1 -0
- package/dist/src/features/row/queries/handlers/resolve-row-references-to.handler.d.ts +28 -0
- package/dist/src/features/row/queries/handlers/resolve-row-references-to.handler.js +91 -0
- package/dist/src/features/row/queries/handlers/resolve-row-references-to.handler.js.map +1 -0
- package/dist/src/features/row/queries/impl/get-row-by-id.query.js.map +1 -0
- package/dist/src/features/row/queries/impl/get-row.query.js.map +1 -0
- package/dist/src/features/row/queries/impl/get-rows.query.js.map +1 -0
- package/dist/src/features/row/queries/impl/index.d.ts +7 -0
- package/dist/src/features/row/queries/impl/index.js.map +1 -0
- package/dist/src/features/row/queries/impl/resolve-row-count-references-by.query.js.map +1 -0
- package/dist/src/features/row/queries/impl/resolve-row-count-references-to.query.js.map +1 -0
- package/dist/src/features/row/queries/impl/resolve-row-references-by.query.js.map +1 -0
- package/dist/src/features/row/queries/impl/resolve-row-references-to.query.js.map +1 -0
- package/dist/src/features/row/queries/types/get-row-by-id.types.d.ts +2 -0
- package/dist/src/features/row/queries/types/get-row-by-id.types.js.map +1 -0
- package/dist/src/features/row/queries/types/get-row.types.d.ts +2 -0
- package/dist/src/features/row/queries/types/get-row.types.js.map +1 -0
- package/dist/src/features/row/queries/types/get-rows.types.d.ts +3 -0
- package/dist/src/features/row/queries/types/get-rows.types.js.map +1 -0
- package/dist/src/features/row/queries/types/index.d.ts +5 -0
- package/dist/src/features/row/queries/types/index.js.map +1 -0
- package/dist/src/features/row/queries/types/resolve-row-references-by.types.d.ts +3 -0
- package/dist/src/features/row/queries/types/resolve-row-references-by.types.js.map +1 -0
- package/dist/src/features/row/queries/types/resolve-row-references-to.types.d.ts +3 -0
- package/dist/src/features/row/queries/types/resolve-row-references-to.types.js.map +1 -0
- package/dist/src/features/row/row.module.js +24 -0
- package/dist/src/features/row/row.module.js.map +1 -0
- package/dist/src/features/share/commands/handlers/index.d.ts +3 -0
- package/dist/src/features/share/commands/handlers/index.js.map +1 -0
- package/dist/src/features/share/commands/handlers/notify-endpoints.handler.d.ts +12 -0
- package/dist/src/features/share/commands/handlers/notify-endpoints.handler.js +46 -0
- package/dist/src/features/share/commands/handlers/notify-endpoints.handler.js.map +1 -0
- package/dist/src/features/share/commands/handlers/transactional/move-endpoints.handler.d.ts +11 -0
- package/dist/src/features/share/commands/handlers/transactional/move-endpoints.handler.js +57 -0
- package/dist/src/features/share/commands/handlers/transactional/move-endpoints.handler.js.map +1 -0
- package/dist/src/features/share/commands/impl/index.d.ts +2 -0
- package/dist/src/features/share/commands/impl/index.js.map +1 -0
- package/dist/src/features/share/commands/impl/notify-endpoints.command.js.map +1 -0
- package/dist/src/features/share/commands/impl/transactional/move-endpoints.command.js.map +1 -0
- package/dist/src/features/share/commands/utils/getOffsetPagination.d.ts +18 -0
- package/dist/src/features/share/commands/utils/getOffsetPagination.js +37 -0
- package/dist/src/features/share/commands/utils/getOffsetPagination.js.map +1 -0
- package/dist/src/features/share/commands/utils/getRevisionCursorPagination.d.ts +29 -0
- package/dist/src/features/share/commands/utils/getRevisionCursorPagination.js +71 -0
- package/dist/src/features/share/commands/utils/getRevisionCursorPagination.js.map +1 -0
- package/dist/src/features/share/const.d.ts +2 -0
- package/dist/src/features/share/const.js.map +1 -0
- package/dist/src/features/share/pagination.interface.js.map +1 -0
- package/dist/src/features/share/queries/handlers/index.d.ts +9 -0
- package/dist/src/features/share/queries/handlers/index.js.map +1 -0
- package/dist/src/features/share/queries/handlers/transactional/find-branch-in-project-or-throw.handler.d.ts +10 -0
- package/dist/src/features/share/queries/handlers/transactional/find-branch-in-project-or-throw.handler.js +45 -0
- package/dist/src/features/share/queries/handlers/transactional/find-branch-in-project-or-throw.handler.js.map +1 -0
- package/dist/src/features/share/queries/handlers/transactional/find-draft-revision-in-branch-or-throw.handler.d.ts +10 -0
- package/dist/src/features/share/queries/handlers/transactional/find-draft-revision-in-branch-or-throw.handler.js +40 -0
- package/dist/src/features/share/queries/handlers/transactional/find-draft-revision-in-branch-or-throw.handler.js.map +1 -0
- package/dist/src/features/share/queries/handlers/transactional/find-head-revision-in-branch-or-throw.handler.d.ts +10 -0
- package/dist/src/features/share/queries/handlers/transactional/find-head-revision-in-branch-or-throw.handler.js +40 -0
- package/dist/src/features/share/queries/handlers/transactional/find-head-revision-in-branch-or-throw.handler.js.map +1 -0
- package/dist/src/features/share/queries/handlers/transactional/find-project-in-organization-or-throw.handler.d.ts +10 -0
- package/dist/src/features/share/queries/handlers/transactional/find-project-in-organization-or-throw.handler.js +45 -0
- package/dist/src/features/share/queries/handlers/transactional/find-project-in-organization-or-throw.handler.js.map +1 -0
- package/dist/src/features/share/queries/handlers/transactional/find-row-in-table-or-throw.handler.d.ts +10 -0
- package/dist/src/features/share/queries/handlers/transactional/find-row-in-table-or-throw.handler.js +43 -0
- package/dist/src/features/share/queries/handlers/transactional/find-row-in-table-or-throw.handler.js.map +1 -0
- package/dist/src/features/share/queries/handlers/transactional/find-rows-in-table-or-throw.handler.d.ts +10 -0
- package/dist/src/features/share/queries/handlers/transactional/find-rows-in-table-or-throw.handler.js +43 -0
- package/dist/src/features/share/queries/handlers/transactional/find-rows-in-table-or-throw.handler.js.map +1 -0
- package/dist/src/features/share/queries/handlers/transactional/find-table-in-revision-or-throw.handler.d.ts +10 -0
- package/dist/src/features/share/queries/handlers/transactional/find-table-in-revision-or-throw.handler.js +43 -0
- package/dist/src/features/share/queries/handlers/transactional/find-table-in-revision-or-throw.handler.js.map +1 -0
- package/dist/src/features/share/queries/handlers/transactional/get-table-schema.handler.d.ts +11 -0
- package/dist/src/features/share/queries/handlers/transactional/get-table-schema.handler.js +58 -0
- package/dist/src/features/share/queries/handlers/transactional/get-table-schema.handler.js.map +1 -0
- package/dist/src/features/share/queries/impl/index.d.ts +7 -0
- package/dist/src/features/share/queries/impl/index.js.map +1 -0
- package/dist/src/features/share/queries/impl/transactional/find-branch-in-project-or-throw.query.js.map +1 -0
- package/dist/src/features/share/queries/impl/transactional/find-draft-revision-in-branch-or-throw.query.js.map +1 -0
- package/dist/src/features/share/queries/impl/transactional/find-head-revision-in-branch-or-throw.query.js.map +1 -0
- package/dist/src/features/share/queries/impl/transactional/find-project-in-organization-or-throw.query.js.map +1 -0
- package/dist/src/features/share/queries/impl/transactional/find-row-in-table-or-throw.query.js.map +1 -0
- package/dist/src/features/share/queries/impl/transactional/find-rows-in-table-or-throw.query.js.map +1 -0
- package/dist/src/features/share/queries/impl/transactional/find-table-in-revision-or-throw.query.js.map +1 -0
- package/dist/src/features/share/queries/impl/transactional/get-table-schema.query.js.map +1 -0
- package/dist/src/features/share/queries/types/find-branch-in-project.types.js.map +1 -0
- package/dist/src/features/share/queries/types/find-draft-revision-in-branch.types.js.map +1 -0
- package/dist/src/features/share/queries/types/find-head-revision-in-branch.types.js.map +1 -0
- package/dist/src/features/share/queries/types/find-project-in-organization.types.js.map +1 -0
- package/dist/src/features/share/queries/types/find-row-in-table.types.js.map +1 -0
- package/dist/src/features/share/queries/types/find-rows-in-table.types.js.map +1 -0
- package/dist/src/features/share/queries/types/find-table-in-revision.types.js.map +1 -0
- package/dist/src/features/share/queries/types/index.d.ts +7 -0
- package/dist/src/features/share/queries/types/index.js.map +1 -0
- package/dist/src/features/share/references.service.d.ts +22 -0
- package/dist/src/features/share/references.service.js +94 -0
- package/dist/src/features/share/references.service.js.map +1 -0
- package/dist/src/features/share/schema/consts.js.map +1 -0
- package/dist/src/features/share/schema/json-patch-schema.js +78 -0
- package/dist/src/features/share/schema/json-patch-schema.js.map +1 -0
- package/dist/src/features/share/schema/meta-schema.js +144 -0
- package/dist/src/features/share/schema/meta-schema.js.map +1 -0
- package/dist/src/features/share/share.commands.d.ts +8 -0
- package/dist/src/features/share/share.commands.js.map +1 -0
- package/dist/src/features/share/share.module.js +42 -0
- package/dist/src/features/share/share.module.js.map +1 -0
- package/dist/src/features/share/share.transactional.commands.d.ts +9 -0
- package/dist/src/features/share/share.transactional.commands.js.map +1 -0
- package/dist/src/features/share/share.transactional.queries.d.ts +15 -0
- package/dist/src/features/share/share.transactional.queries.js.map +1 -0
- package/dist/src/features/share/system-organizations.consts.js.map +1 -0
- package/dist/src/features/share/system-tables.consts.js.map +1 -0
- package/dist/src/features/share/types/row-with-context.types.js.map +1 -0
- package/dist/src/features/share/types/table-with-context.types.js.map +1 -0
- package/dist/src/features/share/types.js.map +1 -0
- package/dist/src/features/share/utils/index.d.ts +1 -0
- package/dist/src/features/share/utils/index.js.map +1 -0
- package/dist/src/features/share/utils/schema/lib/applyPatches.d.ts +6 -0
- package/dist/src/features/share/utils/schema/lib/applyPatches.js.map +1 -0
- package/dist/src/features/share/utils/schema/lib/createJsonSchemaStore.d.ts +6 -0
- package/dist/src/features/share/utils/schema/lib/createJsonSchemaStore.js.map +1 -0
- package/dist/src/features/share/utils/schema/lib/createJsonValueStore.d.ts +11 -0
- package/dist/src/features/share/utils/schema/lib/createJsonValueStore.js.map +1 -0
- package/dist/src/features/share/utils/schema/lib/getJsonSchemaStoreByPath.d.ts +2 -0
- package/dist/src/features/share/utils/schema/lib/getJsonSchemaStoreByPath.js.map +1 -0
- package/dist/src/features/share/utils/schema/lib/getParentForPath.js.map +1 -0
- package/dist/src/features/share/utils/schema/lib/getPathByStore.d.ts +2 -0
- package/dist/src/features/share/utils/schema/lib/getPathByStore.js.map +1 -0
- package/dist/src/features/share/utils/schema/lib/getReferencesFromSchema.d.ts +2 -0
- package/dist/src/features/share/utils/schema/lib/getReferencesFromSchema.js +16 -0
- package/dist/src/features/share/utils/schema/lib/getReferencesFromSchema.js.map +1 -0
- package/dist/src/features/share/utils/schema/lib/getReferencesFromValue.d.ts +6 -0
- package/dist/src/features/share/utils/schema/lib/getReferencesFromValue.js +24 -0
- package/dist/src/features/share/utils/schema/lib/getReferencesFromValue.js.map +1 -0
- package/dist/src/features/share/utils/schema/lib/getValuePathByStore.d.ts +2 -0
- package/dist/src/features/share/utils/schema/lib/getValuePathByStore.js.map +1 -0
- package/dist/src/features/share/utils/schema/lib/schema-table.d.ts +17 -0
- package/dist/src/features/share/utils/schema/lib/schema-table.js +73 -0
- package/dist/src/features/share/utils/schema/lib/schema-table.js.map +1 -0
- package/dist/src/features/share/utils/schema/lib/traverseStore.d.ts +2 -0
- package/dist/src/features/share/utils/schema/lib/traverseStore.js.map +1 -0
- package/dist/src/features/share/utils/schema/lib/traverseValue.d.ts +2 -0
- package/dist/src/features/share/utils/schema/lib/traverseValue.js.map +1 -0
- package/dist/src/features/share/utils/schema/model/schema/json-array.store.d.ts +30 -0
- package/dist/src/features/share/utils/schema/model/schema/json-array.store.js.map +1 -0
- package/dist/src/features/share/utils/schema/model/schema/json-boolean.store.d.ts +17 -0
- package/dist/src/features/share/utils/schema/model/schema/json-boolean.store.js.map +1 -0
- package/dist/src/features/share/utils/schema/model/schema/json-number.store.d.ts +17 -0
- package/dist/src/features/share/utils/schema/model/schema/json-number.store.js.map +1 -0
- package/dist/src/features/share/utils/schema/model/schema/json-object.store.d.ts +45 -0
- package/dist/src/features/share/utils/schema/model/schema/json-object.store.js +142 -0
- package/dist/src/features/share/utils/schema/model/schema/json-object.store.js.map +1 -0
- package/dist/src/features/share/utils/schema/model/schema/json-schema.store.d.ts +7 -0
- package/dist/src/features/share/utils/schema/model/schema/json-schema.store.js.map +1 -0
- package/dist/src/features/share/utils/schema/model/schema/json-string.store.d.ts +18 -0
- package/dist/src/features/share/utils/schema/model/schema/json-string.store.js.map +1 -0
- package/dist/src/features/share/utils/schema/model/value/json-array-value.store.d.ts +16 -0
- package/dist/src/features/share/utils/schema/model/value/json-array-value.store.js.map +1 -0
- package/dist/src/features/share/utils/schema/model/value/json-boolean-value.store.d.ts +11 -0
- package/dist/src/features/share/utils/schema/model/value/json-boolean-value.store.js.map +1 -0
- package/dist/src/features/share/utils/schema/model/value/json-number-value.store.d.ts +11 -0
- package/dist/src/features/share/utils/schema/model/value/json-number-value.store.js.map +1 -0
- package/dist/src/features/share/utils/schema/model/value/json-object-value.store.d.ts +19 -0
- package/dist/src/features/share/utils/schema/model/value/json-object-value.store.js.map +1 -0
- package/dist/src/features/share/utils/schema/model/value/json-string-value.store.d.ts +12 -0
- package/dist/src/features/share/utils/schema/model/value/json-string-value.store.js.map +1 -0
- package/dist/src/features/share/utils/schema/model/value/json-value.store.d.ts +7 -0
- package/dist/src/features/share/utils/schema/model/value/json-value.store.js.map +1 -0
- package/dist/src/features/share/utils/schema/model/value/value-transformation.d.ts +13 -0
- package/dist/src/features/share/utils/schema/model/value/value-transformation.js +110 -0
- package/dist/src/features/share/utils/schema/model/value/value-transformation.js.map +1 -0
- package/dist/src/features/share/utils/schema/types/json-patch.types.d.ts +21 -0
- package/dist/src/features/share/utils/schema/types/json-patch.types.js.map +1 -0
- package/dist/src/features/share/utils/schema/types/json.types.js.map +1 -0
- package/dist/src/features/share/utils/schema/types/schema.types.js.map +1 -0
- package/dist/src/features/share/utils/sort-revisions/sort-revisions.js +37 -0
- package/dist/src/features/share/utils/sort-revisions/sort-revisions.js.map +1 -0
- package/dist/src/features/table/queries/handlers/get-count-rows-in-table.handler.d.ts +8 -0
- package/dist/src/features/table/queries/handlers/get-count-rows-in-table.handler.js +33 -0
- package/dist/src/features/table/queries/handlers/get-count-rows-in-table.handler.js.map +1 -0
- package/dist/src/features/table/queries/handlers/get-rows-by-table.handler.d.ts +22 -0
- package/dist/src/features/table/queries/handlers/get-rows-by-table.handler.js +59 -0
- package/dist/src/features/table/queries/handlers/get-rows-by-table.handler.js.map +1 -0
- package/dist/src/features/table/queries/handlers/get-table-by-id.handler.d.ts +18 -0
- package/dist/src/features/table/queries/handlers/get-table-by-id.handler.js +42 -0
- package/dist/src/features/table/queries/handlers/get-table-by-id.handler.js.map +1 -0
- package/dist/src/features/table/queries/handlers/get-table.handler.d.ts +14 -0
- package/dist/src/features/table/queries/handlers/get-table.handler.js +58 -0
- package/dist/src/features/table/queries/handlers/get-table.handler.js.map +1 -0
- package/dist/src/features/table/queries/handlers/get-tables.handler.d.ts +11 -0
- package/dist/src/features/table/queries/handlers/get-tables.handler.js +67 -0
- package/dist/src/features/table/queries/handlers/get-tables.handler.js.map +1 -0
- package/dist/src/features/table/queries/handlers/index.d.ts +11 -0
- package/dist/src/features/table/queries/handlers/index.js.map +1 -0
- package/dist/src/features/table/queries/handlers/resolve-table-count-references-by.handler.d.ts +15 -0
- package/dist/src/features/table/queries/handlers/resolve-table-count-references-by.handler.js +54 -0
- package/dist/src/features/table/queries/handlers/resolve-table-count-references-by.handler.js.map +1 -0
- package/dist/src/features/table/queries/handlers/resolve-table-count-references-to.handler.d.ts +12 -0
- package/dist/src/features/table/queries/handlers/resolve-table-count-references-to.handler.js +51 -0
- package/dist/src/features/table/queries/handlers/resolve-table-count-references-to.handler.js.map +1 -0
- package/dist/src/features/table/queries/handlers/resolve-table-references-by.handler.d.ts +17 -0
- package/dist/src/features/table/queries/handlers/resolve-table-references-by.handler.js +80 -0
- package/dist/src/features/table/queries/handlers/resolve-table-references-by.handler.js.map +1 -0
- package/dist/src/features/table/queries/handlers/resolve-table-references-to.handler.d.ts +14 -0
- package/dist/src/features/table/queries/handlers/resolve-table-references-to.handler.js +78 -0
- package/dist/src/features/table/queries/handlers/resolve-table-references-to.handler.js.map +1 -0
- package/dist/src/features/table/queries/handlers/resolve-table-schema.handler.d.ts +13 -0
- package/dist/src/features/table/queries/handlers/resolve-table-schema.handler.js +46 -0
- package/dist/src/features/table/queries/handlers/resolve-table-schema.handler.js.map +1 -0
- package/dist/src/features/table/queries/impl/get-count-rows-in-table.query.js.map +1 -0
- package/dist/src/features/table/queries/impl/get-rows-by-table.query.js.map +1 -0
- package/dist/src/features/table/queries/impl/get-table-by-id.query.js.map +1 -0
- package/dist/src/features/table/queries/impl/get-table.query.js.map +1 -0
- package/dist/src/features/table/queries/impl/get-tables.query.js.map +1 -0
- package/dist/src/features/table/queries/impl/index.d.ts +6 -0
- package/dist/src/features/table/queries/impl/index.js.map +1 -0
- package/dist/src/features/table/queries/impl/resolve-table-count-references-by.query.js.map +1 -0
- package/dist/src/features/table/queries/impl/resolve-table-count-references-to.query.js.map +1 -0
- package/dist/src/features/table/queries/impl/resolve-table-references-by.query.js.map +1 -0
- package/dist/src/features/table/queries/impl/resolve-table-references-to.query.js.map +1 -0
- package/dist/src/features/table/queries/impl/resolve-table-schema.query.js.map +1 -0
- package/dist/src/features/table/queries/types/get-table-by-id.types.d.ts +2 -0
- package/dist/src/features/table/queries/types/get-table-by-id.types.js.map +1 -0
- package/dist/src/features/table/queries/types/get-table-rows.types.d.ts +3 -0
- package/dist/src/features/table/queries/types/get-table-rows.types.js.map +1 -0
- package/dist/src/features/table/queries/types/get-table.types.d.ts +2 -0
- package/dist/src/features/table/queries/types/get-table.types.js.map +1 -0
- package/dist/src/features/table/queries/types/get-tables.types.d.ts +3 -0
- package/dist/src/features/table/queries/types/get-tables.types.js.map +1 -0
- package/dist/src/features/table/queries/types/index.d.ts +6 -0
- package/dist/src/features/table/queries/types/index.js.map +1 -0
- package/dist/src/features/table/queries/types/resolve-table-references-by.types.d.ts +3 -0
- package/dist/src/features/table/queries/types/resolve-table-references-by.types.js.map +1 -0
- package/dist/src/features/table/queries/types/resolve-table-references-to.types.d.ts +3 -0
- package/dist/src/features/table/queries/types/resolve-table-references-to.types.js.map +1 -0
- package/dist/src/features/table/table.module.js +31 -0
- package/dist/src/features/table/table.module.js.map +1 -0
- package/dist/src/features/user/commands/handlers/index.d.ts +2 -0
- package/dist/src/features/user/commands/handlers/index.js.map +1 -0
- package/dist/src/features/user/commands/handlers/set-username.handler.d.ts +14 -0
- package/dist/src/features/user/commands/handlers/set-username.handler.js +102 -0
- package/dist/src/features/user/commands/handlers/set-username.handler.js.map +1 -0
- package/dist/src/features/user/commands/handlers/update-password.handler.d.ts +12 -0
- package/dist/src/features/user/commands/handlers/update-password.handler.js +59 -0
- package/dist/src/features/user/commands/handlers/update-password.handler.js.map +1 -0
- package/dist/src/features/user/commands/impl/index.d.ts +2 -0
- package/dist/src/features/user/commands/impl/index.js.map +1 -0
- package/dist/src/features/user/commands/impl/set-username.command.js.map +1 -0
- package/dist/src/features/user/commands/impl/update-password.command.js.map +1 -0
- package/dist/src/features/user/commands/index.d.ts +2 -0
- package/dist/src/features/user/commands/index.js.map +1 -0
- package/dist/src/features/user/queries/handlers/get-projects-by-user-id.handler.d.ts +17 -0
- package/dist/src/features/user/queries/handlers/get-projects-by-user-id.handler.js +67 -0
- package/dist/src/features/user/queries/handlers/get-projects-by-user-id.handler.js.map +1 -0
- package/dist/src/features/user/queries/handlers/get-user-organization.handler.d.ts +8 -0
- package/dist/src/features/user/queries/handlers/get-user-organization.handler.js +39 -0
- package/dist/src/features/user/queries/handlers/get-user-organization.handler.js.map +1 -0
- package/dist/src/features/user/queries/handlers/get-user.handler.d.ts +12 -0
- package/dist/src/features/user/queries/handlers/get-user.handler.js +41 -0
- package/dist/src/features/user/queries/handlers/get-user.handler.js.map +1 -0
- package/dist/src/features/user/queries/handlers/index.d.ts +3 -0
- package/dist/src/features/user/queries/handlers/index.js.map +1 -0
- package/dist/src/features/user/queries/impl/get-projects-by-user-id.query.d.ts +15 -0
- package/dist/src/features/user/queries/impl/get-projects-by-user-id.query.js.map +1 -0
- package/dist/src/features/user/queries/impl/get-user-organization.query.js.map +1 -0
- package/dist/src/features/user/queries/impl/get-user.query.js.map +1 -0
- package/dist/src/features/user/queries/impl/index.d.ts +3 -0
- package/dist/src/features/user/queries/impl/index.js.map +1 -0
- package/dist/src/features/user/queries/index.d.ts +2 -0
- package/dist/src/features/user/queries/index.js.map +1 -0
- package/dist/src/features/user/user.module.js +25 -0
- package/dist/src/features/user/user.module.js.map +1 -0
- package/dist/src/index.d.ts +5 -4
- package/dist/src/index.js +6 -4
- package/dist/src/index.js.map +1 -1
- package/dist/src/infrastructure/admin/admin-module.options.js.map +1 -0
- package/dist/src/infrastructure/admin/admin.module.d.ts +6 -0
- package/dist/src/infrastructure/admin/admin.module.js.map +1 -0
- package/dist/src/infrastructure/admin/envjs.controller.d.ts +6 -0
- package/dist/src/infrastructure/admin/envjs.controller.js.map +1 -0
- package/dist/src/infrastructure/admin/index.js.map +1 -0
- package/dist/src/infrastructure/clean/clean.module.js.map +1 -0
- package/dist/src/infrastructure/clean/clean.service.d.ts +7 -0
- package/dist/src/infrastructure/clean/clean.service.js.map +1 -0
- package/dist/src/infrastructure/clean/commands/handlers/clean-rows.handler.d.ts +8 -0
- package/dist/src/infrastructure/clean/commands/handlers/clean-rows.handler.js.map +1 -0
- package/dist/src/infrastructure/clean/commands/handlers/clean-tables.handler.d.ts +8 -0
- package/dist/src/infrastructure/clean/commands/handlers/clean-tables.handler.js.map +1 -0
- package/dist/src/infrastructure/clean/commands/handlers/index.d.ts +3 -0
- package/dist/src/infrastructure/clean/commands/handlers/index.js.map +1 -0
- package/dist/src/infrastructure/clean/commands/impl/clean-rows.command.js.map +1 -0
- package/dist/src/infrastructure/clean/commands/impl/clean-tables.command.js.map +1 -0
- package/dist/src/infrastructure/common/interceptors/logging.interceptor.d.ts +6 -0
- package/dist/src/infrastructure/common/interceptors/logging.interceptor.js +30 -0
- package/dist/src/infrastructure/common/interceptors/logging.interceptor.js.map +1 -0
- package/dist/src/infrastructure/configuration/configuration.module.js +24 -0
- package/dist/src/infrastructure/configuration/configuration.module.js.map +1 -0
- package/dist/src/infrastructure/configuration/queries/handlers/get-configuration.handler.d.ts +13 -0
- package/dist/src/infrastructure/configuration/queries/handlers/get-configuration.handler.js +48 -0
- package/dist/src/infrastructure/configuration/queries/handlers/get-configuration.handler.js.map +1 -0
- package/dist/src/infrastructure/configuration/queries/handlers/index.d.ts +1 -0
- package/dist/src/infrastructure/configuration/queries/handlers/index.js.map +1 -0
- package/dist/src/infrastructure/configuration/queries/impl/get-configuration.query.d.ts +13 -0
- package/dist/src/infrastructure/configuration/queries/impl/get-configuration.query.js +7 -0
- package/dist/src/infrastructure/configuration/queries/impl/get-configuration.query.js.map +1 -0
- package/dist/src/infrastructure/configuration/queries/impl/index.d.ts +1 -0
- package/dist/src/infrastructure/configuration/queries/impl/index.js.map +1 -0
- package/dist/src/infrastructure/configuration/queries/index.d.ts +2 -0
- package/dist/src/infrastructure/configuration/queries/index.js.map +1 -0
- package/dist/src/infrastructure/database/database.module.js.map +1 -0
- package/dist/src/infrastructure/database/id.service.js.map +1 -0
- package/dist/src/infrastructure/database/prisma.service.js.map +1 -0
- package/dist/src/infrastructure/database/transaction-prisma.service.d.ts +14 -0
- package/dist/src/infrastructure/database/transaction-prisma.service.js +39 -0
- package/dist/src/infrastructure/database/transaction-prisma.service.js.map +1 -0
- package/dist/src/infrastructure/email/email.module.js.map +1 -0
- package/dist/src/infrastructure/email/email.service.d.ts +14 -0
- package/dist/src/infrastructure/email/email.service.js +55 -0
- package/dist/src/infrastructure/email/email.service.js.map +1 -0
- package/dist/src/infrastructure/email/templates.service.d.ts +8 -0
- package/dist/src/infrastructure/email/templates.service.js +53 -0
- package/dist/src/infrastructure/email/templates.service.js.map +1 -0
- package/dist/src/infrastructure/email/transporter.service.js +49 -0
- package/dist/src/infrastructure/email/transporter.service.js.map +1 -0
- package/dist/src/infrastructure/graceful-shutdown/graceful-shutdown.module.d.ts +2 -0
- package/dist/src/infrastructure/graceful-shutdown/graceful-shutdown.module.js +22 -0
- package/dist/src/infrastructure/graceful-shutdown/graceful-shutdown.module.js.map +1 -0
- package/dist/src/infrastructure/graceful-shutdown/graceful-shutdown.service.d.ts +9 -0
- package/dist/src/infrastructure/graceful-shutdown/graceful-shutdown.service.js +41 -0
- package/dist/src/infrastructure/graceful-shutdown/graceful-shutdown.service.js.map +1 -0
- package/dist/src/infrastructure/health/database.check.d.ts +9 -0
- package/dist/src/infrastructure/health/database.check.js +33 -0
- package/dist/src/infrastructure/health/database.check.js.map +1 -0
- package/dist/src/infrastructure/health/health.controller.d.ts +11 -0
- package/dist/src/infrastructure/health/health.controller.js +61 -0
- package/dist/src/infrastructure/health/health.controller.js.map +1 -0
- package/dist/src/infrastructure/health/health.module.js +27 -0
- package/dist/src/infrastructure/health/health.module.js.map +1 -0
- package/dist/src/infrastructure/health/notification.check.d.ts +9 -0
- package/dist/src/infrastructure/health/notification.check.js +52 -0
- package/dist/src/infrastructure/health/notification.check.js.map +1 -0
- package/dist/src/infrastructure/metrics/graphql/constants.js.map +1 -0
- package/dist/src/infrastructure/metrics/graphql/graphql-metrics.plugin.d.ts +7 -0
- package/dist/src/infrastructure/metrics/graphql/graphql-metrics.plugin.js.map +1 -0
- package/dist/src/infrastructure/metrics/graphql/graphql-metrics.service.js.map +1 -0
- package/dist/src/infrastructure/metrics/metrics.module.js.map +1 -0
- package/dist/src/infrastructure/metrics/rest/constants.js.map +1 -0
- package/dist/src/infrastructure/metrics/rest/rest-metrics.interceptor.d.ts +9 -0
- package/dist/src/infrastructure/metrics/rest/rest-metrics.interceptor.js.map +1 -0
- package/dist/src/infrastructure/metrics/rest/rest-metrics.service.js.map +1 -0
- package/dist/src/infrastructure/metrics/utils.js.map +1 -0
- package/dist/src/infrastructure/metrics-api/metrics-api.module.js.map +1 -0
- package/dist/src/infrastructure/metrics-api/metrics-enabled.guard.js.map +1 -0
- package/dist/src/infrastructure/metrics-api/metrics.controller.d.ts +7 -0
- package/dist/src/infrastructure/metrics-api/metrics.controller.js.map +1 -0
- package/dist/src/infrastructure/notification/endpoint-notification.service.d.ts +10 -0
- package/dist/src/infrastructure/notification/endpoint-notification.service.js.map +1 -0
- package/dist/src/infrastructure/notification/in-memory-client.d.ts +10 -0
- package/dist/src/infrastructure/notification/in-memory-client.js +24 -0
- package/dist/src/infrastructure/notification/in-memory-client.js.map +1 -0
- package/dist/src/infrastructure/notification/in-memory-server.js.map +1 -0
- package/dist/src/infrastructure/notification/notification-event-emitter.js.map +1 -0
- package/dist/src/infrastructure/notification/notification.module.js.map +1 -0
- package/dist/src/main.js +1 -0
- package/dist/src/main.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +20 -13
- package/dist/src/admin/admin-module.options.js.map +0 -1
- package/dist/src/admin/admin.module.d.ts +0 -6
- package/dist/src/admin/admin.module.js.map +0 -1
- package/dist/src/admin/envjs.controller.d.ts +0 -6
- package/dist/src/admin/envjs.controller.js.map +0 -1
- package/dist/src/admin/index.js.map +0 -1
- package/dist/src/auth/auth.module.js +0 -51
- package/dist/src/auth/auth.module.js.map +0 -1
- package/dist/src/auth/auth.service.d.ts +0 -15
- package/dist/src/auth/auth.service.js.map +0 -1
- package/dist/src/auth/casl-ability.factory.d.ts +0 -25
- package/dist/src/auth/casl-ability.factory.js +0 -45
- package/dist/src/auth/casl-ability.factory.js.map +0 -1
- package/dist/src/auth/commands/handlers/check-organization-permission.handler.d.ts +0 -12
- package/dist/src/auth/commands/handlers/check-organization-permission.handler.js +0 -67
- package/dist/src/auth/commands/handlers/check-organization-permission.handler.js.map +0 -1
- package/dist/src/auth/commands/handlers/check-project-permission.handler.d.ts +0 -17
- package/dist/src/auth/commands/handlers/check-project-permission.handler.js +0 -149
- package/dist/src/auth/commands/handlers/check-project-permission.handler.js.map +0 -1
- package/dist/src/auth/commands/handlers/check-system-permission.handler.d.ts +0 -11
- package/dist/src/auth/commands/handlers/check-system-permission.handler.js +0 -54
- package/dist/src/auth/commands/handlers/check-system-permission.handler.js.map +0 -1
- package/dist/src/auth/commands/handlers/confirm-email-code.handler.d.ts +0 -14
- package/dist/src/auth/commands/handlers/confirm-email-code.handler.js +0 -62
- package/dist/src/auth/commands/handlers/confirm-email-code.handler.js.map +0 -1
- package/dist/src/auth/commands/handlers/create-user.handler.d.ts +0 -15
- package/dist/src/auth/commands/handlers/create-user.handler.js +0 -103
- package/dist/src/auth/commands/handlers/create-user.handler.js.map +0 -1
- package/dist/src/auth/commands/handlers/index.d.ts +0 -9
- package/dist/src/auth/commands/handlers/index.js.map +0 -1
- package/dist/src/auth/commands/handlers/login-github.handler.d.ts +0 -17
- package/dist/src/auth/commands/handlers/login-github.handler.js +0 -67
- package/dist/src/auth/commands/handlers/login-github.handler.js.map +0 -1
- package/dist/src/auth/commands/handlers/login-google.handler.d.ts +0 -17
- package/dist/src/auth/commands/handlers/login-google.handler.js +0 -67
- package/dist/src/auth/commands/handlers/login-google.handler.js.map +0 -1
- package/dist/src/auth/commands/handlers/login.handler.d.ts +0 -11
- package/dist/src/auth/commands/handlers/login.handler.js +0 -56
- package/dist/src/auth/commands/handlers/login.handler.js.map +0 -1
- package/dist/src/auth/commands/handlers/sign-up.handler.d.ts +0 -12
- package/dist/src/auth/commands/handlers/sign-up.handler.js +0 -48
- package/dist/src/auth/commands/handlers/sign-up.handler.js.map +0 -1
- package/dist/src/auth/commands/impl/check-organization-permission.command.d.ts +0 -13
- package/dist/src/auth/commands/impl/check-organization-permission.command.js.map +0 -1
- package/dist/src/auth/commands/impl/check-project-permission.command.d.ts +0 -25
- package/dist/src/auth/commands/impl/check-project-permission.command.js.map +0 -1
- package/dist/src/auth/commands/impl/check-system-permission.command.d.ts +0 -12
- package/dist/src/auth/commands/impl/check-system-permission.command.js.map +0 -1
- package/dist/src/auth/commands/impl/confirm-email-code.command.js.map +0 -1
- package/dist/src/auth/commands/impl/create-user.command.d.ts +0 -20
- package/dist/src/auth/commands/impl/create-user.command.js.map +0 -1
- package/dist/src/auth/commands/impl/index.d.ts +0 -9
- package/dist/src/auth/commands/impl/index.js.map +0 -1
- package/dist/src/auth/commands/impl/login-github.command.js.map +0 -1
- package/dist/src/auth/commands/impl/login-google.command.js.map +0 -1
- package/dist/src/auth/commands/impl/login.command.js.map +0 -1
- package/dist/src/auth/commands/impl/sign-up.command.js.map +0 -1
- package/dist/src/auth/commands/index.d.ts +0 -2
- package/dist/src/auth/commands/index.js.map +0 -1
- package/dist/src/auth/consts.js.map +0 -1
- package/dist/src/auth/github-oauth.service.js +0 -86
- package/dist/src/auth/github-oauth.service.js.map +0 -1
- package/dist/src/auth/google-oauth.service.js +0 -57
- package/dist/src/auth/google-oauth.service.js.map +0 -1
- package/dist/src/auth/guards/base-persmission.guard.d.ts +0 -24
- package/dist/src/auth/guards/base-persmission.guard.js.map +0 -1
- package/dist/src/auth/guards/jwt/gql-jwt-auth-guard.service.js.map +0 -1
- package/dist/src/auth/guards/jwt/http-jwt-auth-guard.service.js.map +0 -1
- package/dist/src/auth/guards/jwt/local-auth.guard.js.map +0 -1
- package/dist/src/auth/guards/jwt/optional-gql-jwt-auth-guard.service.js.map +0 -1
- package/dist/src/auth/guards/jwt/optional-http-jwt-auth-guard.service.js.map +0 -1
- package/dist/src/auth/guards/organization.guard.d.ts +0 -25
- package/dist/src/auth/guards/organization.guard.js.map +0 -1
- package/dist/src/auth/guards/permission-params.d.ts +0 -7
- package/dist/src/auth/guards/permission-params.js.map +0 -1
- package/dist/src/auth/guards/project.guard.d.ts +0 -31
- package/dist/src/auth/guards/project.guard.js.map +0 -1
- package/dist/src/auth/guards/system.guard.d.ts +0 -20
- package/dist/src/auth/guards/system.guard.js.map +0 -1
- package/dist/src/auth/jwt-secret.service.js.map +0 -1
- package/dist/src/auth/strategy/jwt.strategy.d.ts +0 -9
- package/dist/src/auth/strategy/jwt.strategy.js.map +0 -1
- package/dist/src/auth/types.js.map +0 -1
- package/dist/src/auth/utils.d.ts +0 -2
- package/dist/src/auth/utils.js.map +0 -1
- package/dist/src/branch/branch.module.js +0 -26
- package/dist/src/branch/branch.module.js.map +0 -1
- package/dist/src/branch/commands/handlers/api-create-branch-by-revision-id.handler.d.ts +0 -8
- package/dist/src/branch/commands/handlers/api-create-branch-by-revision-id.handler.js.map +0 -1
- package/dist/src/branch/commands/handlers/create-branch-by-revision-id.handler.d.ts +0 -32
- package/dist/src/branch/commands/handlers/create-branch-by-revision-id.handler.js +0 -134
- package/dist/src/branch/commands/handlers/create-branch-by-revision-id.handler.js.map +0 -1
- package/dist/src/branch/commands/handlers/index.d.ts +0 -3
- package/dist/src/branch/commands/handlers/index.js.map +0 -1
- package/dist/src/branch/commands/impl/api-create-branch-by-revision-id.command.js.map +0 -1
- package/dist/src/branch/commands/impl/create-branch-by-revision-id.command.js.map +0 -1
- package/dist/src/branch/commands/impl/index.d.ts +0 -2
- package/dist/src/branch/commands/impl/index.js.map +0 -1
- package/dist/src/branch/quieries/handlers/get-branch-by-id.handler.d.ts +0 -15
- package/dist/src/branch/quieries/handlers/get-branch-by-id.handler.js +0 -29
- package/dist/src/branch/quieries/handlers/get-branch-by-id.handler.js.map +0 -1
- package/dist/src/branch/quieries/handlers/get-branch.handler.d.ts +0 -14
- package/dist/src/branch/quieries/handlers/get-branch.handler.js +0 -49
- package/dist/src/branch/quieries/handlers/get-branch.handler.js.map +0 -1
- package/dist/src/branch/quieries/handlers/get-branches.handler.d.ts +0 -22
- package/dist/src/branch/quieries/handlers/get-branches.handler.js +0 -65
- package/dist/src/branch/quieries/handlers/get-branches.handler.js.map +0 -1
- package/dist/src/branch/quieries/handlers/get-draft-revision.handler.d.ts +0 -9
- package/dist/src/branch/quieries/handlers/get-draft-revision.handler.js +0 -31
- package/dist/src/branch/quieries/handlers/get-draft-revision.handler.js.map +0 -1
- package/dist/src/branch/quieries/handlers/get-head-revision.handler.d.ts +0 -9
- package/dist/src/branch/quieries/handlers/get-head-revision.handler.js +0 -31
- package/dist/src/branch/quieries/handlers/get-head-revision.handler.js.map +0 -1
- package/dist/src/branch/quieries/handlers/get-project-by-branch.handler.d.ts +0 -14
- package/dist/src/branch/quieries/handlers/get-project-by-branch.handler.js +0 -31
- package/dist/src/branch/quieries/handlers/get-project-by-branch.handler.js.map +0 -1
- package/dist/src/branch/quieries/handlers/get-revisions-by-branch-id.handler.d.ts +0 -22
- package/dist/src/branch/quieries/handlers/get-revisions-by-branch-id.handler.js +0 -65
- package/dist/src/branch/quieries/handlers/get-revisions-by-branch-id.handler.js.map +0 -1
- package/dist/src/branch/quieries/handlers/get-start-revision.handler.d.ts +0 -9
- package/dist/src/branch/quieries/handlers/get-start-revision.handler.js +0 -31
- package/dist/src/branch/quieries/handlers/get-start-revision.handler.js.map +0 -1
- package/dist/src/branch/quieries/handlers/get-touched-by-branch-id.handler.d.ts +0 -13
- package/dist/src/branch/quieries/handlers/get-touched-by-branch-id.handler.js +0 -50
- package/dist/src/branch/quieries/handlers/get-touched-by-branch-id.handler.js.map +0 -1
- package/dist/src/branch/quieries/handlers/index.d.ts +0 -11
- package/dist/src/branch/quieries/handlers/index.js.map +0 -1
- package/dist/src/branch/quieries/handlers/resolve-parent-branch-by-branch.handler.d.ts +0 -16
- package/dist/src/branch/quieries/handlers/resolve-parent-branch-by-branch.handler.js +0 -53
- package/dist/src/branch/quieries/handlers/resolve-parent-branch-by-branch.handler.js.map +0 -1
- package/dist/src/branch/quieries/impl/get-branch-by-id.query.js.map +0 -1
- package/dist/src/branch/quieries/impl/get-branch.query.js.map +0 -1
- package/dist/src/branch/quieries/impl/get-branches.query.js.map +0 -1
- package/dist/src/branch/quieries/impl/get-draft-revision.query.js.map +0 -1
- package/dist/src/branch/quieries/impl/get-head-revision.query.js.map +0 -1
- package/dist/src/branch/quieries/impl/get-project-by-branch.query.js.map +0 -1
- package/dist/src/branch/quieries/impl/get-revisions-by-branch-id.query.js.map +0 -1
- package/dist/src/branch/quieries/impl/get-start-revision.query.js.map +0 -1
- package/dist/src/branch/quieries/impl/get-touched-by-branch-id.query.js.map +0 -1
- package/dist/src/branch/quieries/impl/index.d.ts +0 -10
- package/dist/src/branch/quieries/impl/index.js.map +0 -1
- package/dist/src/branch/quieries/impl/resolve-parent-branch-by-branch.query.js.map +0 -1
- package/dist/src/branch/quieries/types/get-branch-by-id.types.js.map +0 -1
- package/dist/src/branch/quieries/types/get-branch.types.js.map +0 -1
- package/dist/src/branch/quieries/types/get-draft-revision.types.js.map +0 -1
- package/dist/src/branch/quieries/types/get-head-revision.types.js.map +0 -1
- package/dist/src/branch/quieries/types/get-start-revision.types.js.map +0 -1
- package/dist/src/branch/quieries/types/index.d.ts +0 -4
- package/dist/src/branch/quieries/types/index.js.map +0 -1
- package/dist/src/clean/clean.module.js.map +0 -1
- package/dist/src/clean/clean.service.d.ts +0 -7
- package/dist/src/clean/clean.service.js.map +0 -1
- package/dist/src/clean/commands/handlers/clean-rows.handler.d.ts +0 -8
- package/dist/src/clean/commands/handlers/clean-rows.handler.js.map +0 -1
- package/dist/src/clean/commands/handlers/clean-tables.handler.d.ts +0 -8
- package/dist/src/clean/commands/handlers/clean-tables.handler.js.map +0 -1
- package/dist/src/clean/commands/handlers/index.d.ts +0 -3
- package/dist/src/clean/commands/handlers/index.js.map +0 -1
- package/dist/src/clean/commands/impl/clean-rows.command.js.map +0 -1
- package/dist/src/clean/commands/impl/clean-tables.command.js.map +0 -1
- package/dist/src/configuration/configuration.module.js +0 -24
- package/dist/src/configuration/configuration.module.js.map +0 -1
- package/dist/src/configuration/queries/handlers/get-configuration.handler.d.ts +0 -13
- package/dist/src/configuration/queries/handlers/get-configuration.handler.js +0 -48
- package/dist/src/configuration/queries/handlers/get-configuration.handler.js.map +0 -1
- package/dist/src/configuration/queries/handlers/index.d.ts +0 -1
- package/dist/src/configuration/queries/handlers/index.js.map +0 -1
- package/dist/src/configuration/queries/impl/get-configuration.query.d.ts +0 -14
- package/dist/src/configuration/queries/impl/get-configuration.query.js +0 -8
- package/dist/src/configuration/queries/impl/get-configuration.query.js.map +0 -1
- package/dist/src/configuration/queries/impl/index.d.ts +0 -1
- package/dist/src/configuration/queries/impl/index.js.map +0 -1
- package/dist/src/configuration/queries/index.d.ts +0 -2
- package/dist/src/configuration/queries/index.js.map +0 -1
- package/dist/src/database/database.module.js.map +0 -1
- package/dist/src/database/id.service.js.map +0 -1
- package/dist/src/database/prisma.service.js.map +0 -1
- package/dist/src/database/transaction-prisma.service.d.ts +0 -14
- package/dist/src/database/transaction-prisma.service.js +0 -39
- package/dist/src/database/transaction-prisma.service.js.map +0 -1
- package/dist/src/draft/commands/handlers/api-create-revision.handler.d.ts +0 -13
- package/dist/src/draft/commands/handlers/api-create-revision.handler.js +0 -45
- package/dist/src/draft/commands/handlers/api-create-revision.handler.js.map +0 -1
- package/dist/src/draft/commands/handlers/api-create-row.handler.d.ts +0 -13
- package/dist/src/draft/commands/handlers/api-create-row.handler.js +0 -59
- package/dist/src/draft/commands/handlers/api-create-row.handler.js.map +0 -1
- package/dist/src/draft/commands/handlers/api-create-table.handler.d.ts +0 -13
- package/dist/src/draft/commands/handlers/api-create-table.handler.js +0 -45
- package/dist/src/draft/commands/handlers/api-create-table.handler.js.map +0 -1
- package/dist/src/draft/commands/handlers/api-remove-row.handler.d.ts +0 -13
- package/dist/src/draft/commands/handlers/api-remove-row.handler.js +0 -59
- package/dist/src/draft/commands/handlers/api-remove-row.handler.js.map +0 -1
- package/dist/src/draft/commands/handlers/api-remove-table.handler.d.ts +0 -13
- package/dist/src/draft/commands/handlers/api-remove-table.handler.js +0 -43
- package/dist/src/draft/commands/handlers/api-remove-table.handler.js.map +0 -1
- package/dist/src/draft/commands/handlers/api-revert-changes.handler.d.ts +0 -12
- package/dist/src/draft/commands/handlers/api-revert-changes.handler.js +0 -40
- package/dist/src/draft/commands/handlers/api-revert-changes.handler.js.map +0 -1
- package/dist/src/draft/commands/handlers/api-update-row.handler.d.ts +0 -13
- package/dist/src/draft/commands/handlers/api-update-row.handler.js +0 -57
- package/dist/src/draft/commands/handlers/api-update-row.handler.js.map +0 -1
- package/dist/src/draft/commands/handlers/api-update-table.handler.d.ts +0 -13
- package/dist/src/draft/commands/handlers/api-update-table.handler.js +0 -45
- package/dist/src/draft/commands/handlers/api-update-table.handler.js.map +0 -1
- package/dist/src/draft/commands/handlers/create-revision.handler.d.ts +0 -24
- package/dist/src/draft/commands/handlers/create-revision.handler.js +0 -140
- package/dist/src/draft/commands/handlers/create-revision.handler.js.map +0 -1
- package/dist/src/draft/commands/handlers/create-row.handler.d.ts +0 -29
- package/dist/src/draft/commands/handlers/create-row.handler.js +0 -132
- package/dist/src/draft/commands/handlers/create-row.handler.js.map +0 -1
- package/dist/src/draft/commands/handlers/create-table.handler.d.ts +0 -30
- package/dist/src/draft/commands/handlers/create-table.handler.js +0 -123
- package/dist/src/draft/commands/handlers/create-table.handler.js.map +0 -1
- package/dist/src/draft/commands/handlers/index.d.ts +0 -25
- package/dist/src/draft/commands/handlers/index.js +0 -54
- package/dist/src/draft/commands/handlers/index.js.map +0 -1
- package/dist/src/draft/commands/handlers/remove-row.handler.d.ts +0 -33
- package/dist/src/draft/commands/handlers/remove-row.handler.js +0 -232
- package/dist/src/draft/commands/handlers/remove-row.handler.js.map +0 -1
- package/dist/src/draft/commands/handlers/remove-table.handler.d.ts +0 -33
- package/dist/src/draft/commands/handlers/remove-table.handler.js +0 -178
- package/dist/src/draft/commands/handlers/remove-table.handler.js.map +0 -1
- package/dist/src/draft/commands/handlers/revert-changes.handler.d.ts +0 -17
- package/dist/src/draft/commands/handlers/revert-changes.handler.js +0 -96
- package/dist/src/draft/commands/handlers/revert-changes.handler.js.map +0 -1
- package/dist/src/draft/commands/handlers/transactional/get-or-create-draft-row.handler.d.ts +0 -26
- package/dist/src/draft/commands/handlers/transactional/get-or-create-draft-row.handler.js +0 -115
- package/dist/src/draft/commands/handlers/transactional/get-or-create-draft-row.handler.js.map +0 -1
- package/dist/src/draft/commands/handlers/transactional/get-or-create-draft-rows.handler.d.ts +0 -26
- package/dist/src/draft/commands/handlers/transactional/get-or-create-draft-rows.handler.js +0 -145
- package/dist/src/draft/commands/handlers/transactional/get-or-create-draft-rows.handler.js.map +0 -1
- package/dist/src/draft/commands/handlers/transactional/get-or-create-draft-table.handler.d.ts +0 -24
- package/dist/src/draft/commands/handlers/transactional/get-or-create-draft-table.handler.js +0 -113
- package/dist/src/draft/commands/handlers/transactional/get-or-create-draft-table.handler.js.map +0 -1
- package/dist/src/draft/commands/handlers/transactional/resolve-draft-revision.handler.d.ts +0 -13
- package/dist/src/draft/commands/handlers/transactional/resolve-draft-revision.handler.js +0 -62
- package/dist/src/draft/commands/handlers/transactional/resolve-draft-revision.handler.js.map +0 -1
- package/dist/src/draft/commands/handlers/transactional/validate-data.handler.d.ts +0 -14
- package/dist/src/draft/commands/handlers/transactional/validate-data.handler.js +0 -67
- package/dist/src/draft/commands/handlers/transactional/validate-data.handler.js.map +0 -1
- package/dist/src/draft/commands/handlers/transactional/validate-not-system-table.handler.d.ts +0 -10
- package/dist/src/draft/commands/handlers/transactional/validate-not-system-table.handler.js +0 -35
- package/dist/src/draft/commands/handlers/transactional/validate-not-system-table.handler.js.map +0 -1
- package/dist/src/draft/commands/handlers/transactional/validate-schema.handler.d.ts +0 -14
- package/dist/src/draft/commands/handlers/transactional/validate-schema.handler.js +0 -51
- package/dist/src/draft/commands/handlers/transactional/validate-schema.handler.js.map +0 -1
- package/dist/src/draft/commands/handlers/update-row.handler.d.ts +0 -18
- package/dist/src/draft/commands/handlers/update-row.handler.js +0 -75
- package/dist/src/draft/commands/handlers/update-row.handler.js.map +0 -1
- package/dist/src/draft/commands/handlers/update-rows.handler.d.ts +0 -17
- package/dist/src/draft/commands/handlers/update-rows.handler.js +0 -74
- package/dist/src/draft/commands/handlers/update-rows.handler.js.map +0 -1
- package/dist/src/draft/commands/handlers/update-table.handler.d.ts +0 -29
- package/dist/src/draft/commands/handlers/update-table.handler.js +0 -166
- package/dist/src/draft/commands/handlers/update-table.handler.js.map +0 -1
- package/dist/src/draft/commands/impl/api-create-revision.command.d.ts +0 -14
- package/dist/src/draft/commands/impl/api-create-revision.command.js.map +0 -1
- package/dist/src/draft/commands/impl/api-create-row.command.js.map +0 -1
- package/dist/src/draft/commands/impl/api-create-table.command.js.map +0 -1
- package/dist/src/draft/commands/impl/api-remove-row.command.js.map +0 -1
- package/dist/src/draft/commands/impl/api-remove-table.command.js.map +0 -1
- package/dist/src/draft/commands/impl/api-revert-changes.command.d.ts +0 -12
- package/dist/src/draft/commands/impl/api-revert-changes.command.js.map +0 -1
- package/dist/src/draft/commands/impl/api-update-row.command.js.map +0 -1
- package/dist/src/draft/commands/impl/api-update-table.command.d.ts +0 -13
- package/dist/src/draft/commands/impl/api-update-table.command.js.map +0 -1
- package/dist/src/draft/commands/impl/create-revision.command.js.map +0 -1
- package/dist/src/draft/commands/impl/create-row.command.js.map +0 -1
- package/dist/src/draft/commands/impl/create-table.command.js.map +0 -1
- package/dist/src/draft/commands/impl/remove-row.command.js.map +0 -1
- package/dist/src/draft/commands/impl/remove-table.command.js.map +0 -1
- package/dist/src/draft/commands/impl/revert-changes.command.js.map +0 -1
- package/dist/src/draft/commands/impl/transactional/get-or-create-draft-row.command.js.map +0 -1
- package/dist/src/draft/commands/impl/transactional/get-or-create-draft-rows.command.js.map +0 -1
- package/dist/src/draft/commands/impl/transactional/get-or-create-draft-table.command.js.map +0 -1
- package/dist/src/draft/commands/impl/transactional/resolve-draft-revision.command.js.map +0 -1
- package/dist/src/draft/commands/impl/transactional/validate-data.command.d.ts +0 -24
- package/dist/src/draft/commands/impl/transactional/validate-data.command.js.map +0 -1
- package/dist/src/draft/commands/impl/transactional/validate-not-system-table.command.js.map +0 -1
- package/dist/src/draft/commands/impl/transactional/validate-schema.command.js.map +0 -1
- package/dist/src/draft/commands/impl/update-row.command.js.map +0 -1
- package/dist/src/draft/commands/impl/update-rows.command.d.ts +0 -22
- package/dist/src/draft/commands/impl/update-rows.command.js.map +0 -1
- package/dist/src/draft/commands/impl/update-table.command.d.ts +0 -13
- package/dist/src/draft/commands/impl/update-table.command.js.map +0 -1
- package/dist/src/draft/commands/types/api-create-row.handler.types.d.ts +0 -7
- package/dist/src/draft/commands/types/api-create-row.handler.types.js.map +0 -1
- package/dist/src/draft/commands/types/api-create-table.handler.types.js.map +0 -1
- package/dist/src/draft/commands/types/api-remove-row.handler.types.d.ts +0 -7
- package/dist/src/draft/commands/types/api-remove-row.handler.types.js.map +0 -1
- package/dist/src/draft/commands/types/api-remove-table.handler.types.d.ts +0 -4
- package/dist/src/draft/commands/types/api-remove-table.handler.types.js.map +0 -1
- package/dist/src/draft/commands/types/api-update-row.handler.types.d.ts +0 -8
- package/dist/src/draft/commands/types/api-update-row.handler.types.js.map +0 -1
- package/dist/src/draft/commands/types/api-update-table.handler.types.d.ts +0 -5
- package/dist/src/draft/commands/types/api-update-table.handler.types.js.map +0 -1
- package/dist/src/draft/commands/types/create-revision.handler.types.js.map +0 -1
- package/dist/src/draft/commands/types/create-row.handler.types.js.map +0 -1
- package/dist/src/draft/commands/types/create-table.handler.types.js.map +0 -1
- package/dist/src/draft/commands/types/remove-row.handler.types.js.map +0 -1
- package/dist/src/draft/commands/types/remove-table.handler.types.js.map +0 -1
- package/dist/src/draft/commands/types/revert-changes.handler.types.js.map +0 -1
- package/dist/src/draft/commands/types/update-row.handler.types.js.map +0 -1
- package/dist/src/draft/commands/types/update-table.handler.types.js.map +0 -1
- package/dist/src/draft/draft-context.service.d.ts +0 -25
- package/dist/src/draft/draft-context.service.js +0 -75
- package/dist/src/draft/draft-context.service.js.map +0 -1
- package/dist/src/draft/draft-request-dto/draft-revision-request.dto.d.ts +0 -14
- package/dist/src/draft/draft-request-dto/draft-revision-request.dto.js.map +0 -1
- package/dist/src/draft/draft-request-dto/index.d.ts +0 -5
- package/dist/src/draft/draft-request-dto/index.js.map +0 -1
- package/dist/src/draft/draft-request-dto/row-request.dto.d.ts +0 -11
- package/dist/src/draft/draft-request-dto/row-request.dto.js.map +0 -1
- package/dist/src/draft/draft-request-dto/rows-request.dto.d.ts +0 -13
- package/dist/src/draft/draft-request-dto/rows-request.dto.js.map +0 -1
- package/dist/src/draft/draft-request-dto/table-request.dto.d.ts +0 -11
- package/dist/src/draft/draft-request-dto/table-request.dto.js.map +0 -1
- package/dist/src/draft/draft.handler.d.ts +0 -13
- package/dist/src/draft/draft.handler.js.map +0 -1
- package/dist/src/draft/draft.module.js +0 -44
- package/dist/src/draft/draft.module.js.map +0 -1
- package/dist/src/draft/draft.transactional.commands.d.ts +0 -23
- package/dist/src/draft/draft.transactional.commands.js.map +0 -1
- package/dist/src/draft/json-schema-validator.service.d.ts +0 -24
- package/dist/src/draft/json-schema-validator.service.js +0 -76
- package/dist/src/draft/json-schema-validator.service.js.map +0 -1
- package/dist/src/draft/session-changelog.service.d.ts +0 -27
- package/dist/src/draft/session-changelog.service.js +0 -124
- package/dist/src/draft/session-changelog.service.js.map +0 -1
- package/dist/src/email/email.module.js.map +0 -1
- package/dist/src/email/email.service.d.ts +0 -14
- package/dist/src/email/email.service.js +0 -55
- package/dist/src/email/email.service.js.map +0 -1
- package/dist/src/email/templates.service.d.ts +0 -8
- package/dist/src/email/templates.service.js +0 -53
- package/dist/src/email/templates.service.js.map +0 -1
- package/dist/src/email/transporter.service.js +0 -49
- package/dist/src/email/transporter.service.js.map +0 -1
- package/dist/src/endpoint/commands/handlers/api-create-endpoint.handler.d.ts +0 -8
- package/dist/src/endpoint/commands/handlers/api-create-endpoint.handler.js.map +0 -1
- package/dist/src/endpoint/commands/handlers/create-endpoint.handler.d.ts +0 -13
- package/dist/src/endpoint/commands/handlers/create-endpoint.handler.js +0 -61
- package/dist/src/endpoint/commands/handlers/create-endpoint.handler.js.map +0 -1
- package/dist/src/endpoint/commands/handlers/delete-endpoint.handler.d.ts +0 -12
- package/dist/src/endpoint/commands/handlers/delete-endpoint.handler.js +0 -50
- package/dist/src/endpoint/commands/handlers/delete-endpoint.handler.js.map +0 -1
- package/dist/src/endpoint/commands/handlers/index.d.ts +0 -4
- package/dist/src/endpoint/commands/handlers/index.js.map +0 -1
- package/dist/src/endpoint/commands/impl/api-create-endpoint.command.js.map +0 -1
- package/dist/src/endpoint/commands/impl/create-endpoint.command.js.map +0 -1
- package/dist/src/endpoint/commands/impl/delete-endpoint.command.js.map +0 -1
- package/dist/src/endpoint/commands/impl/index.d.ts +0 -3
- package/dist/src/endpoint/commands/impl/index.js.map +0 -1
- package/dist/src/endpoint/endpoint.module.js +0 -25
- package/dist/src/endpoint/endpoint.module.js.map +0 -1
- package/dist/src/endpoint/queries/handlers/get-created-endpoint.handler.d.ts +0 -14
- package/dist/src/endpoint/queries/handlers/get-created-endpoint.handler.js +0 -29
- package/dist/src/endpoint/queries/handlers/get-created-endpoint.handler.js.map +0 -1
- package/dist/src/endpoint/queries/handlers/get-revision-by-endpoint-id.handler.d.ts +0 -19
- package/dist/src/endpoint/queries/handlers/get-revision-by-endpoint-id.handler.js +0 -33
- package/dist/src/endpoint/queries/handlers/get-revision-by-endpoint-id.handler.js.map +0 -1
- package/dist/src/endpoint/queries/handlers/index.d.ts +0 -3
- package/dist/src/endpoint/queries/handlers/index.js.map +0 -1
- package/dist/src/endpoint/queries/impl/get-created-endpoint.query.js.map +0 -1
- package/dist/src/endpoint/queries/impl/get-revision-by-endpoint-id.query.js.map +0 -1
- package/dist/src/endpoint/queries/impl/index.d.ts +0 -2
- package/dist/src/endpoint/queries/impl/index.js.map +0 -1
- package/dist/src/graphql-api/auth/auth.resolver.d.ts +0 -13
- package/dist/src/graphql-api/auth/auth.resolver.js +0 -103
- package/dist/src/graphql-api/auth/auth.resolver.js.map +0 -1
- package/dist/src/graphql-api/auth/inputs/confirm-email-code.input.js.map +0 -1
- package/dist/src/graphql-api/auth/inputs/create-user.input.d.ts +0 -7
- package/dist/src/graphql-api/auth/inputs/create-user.input.js +0 -37
- package/dist/src/graphql-api/auth/inputs/create-user.input.js.map +0 -1
- package/dist/src/graphql-api/auth/inputs/index.d.ts +0 -6
- package/dist/src/graphql-api/auth/inputs/index.js.map +0 -1
- package/dist/src/graphql-api/auth/inputs/login-github.input.js.map +0 -1
- package/dist/src/graphql-api/auth/inputs/login-google.input.js.map +0 -1
- package/dist/src/graphql-api/auth/inputs/login.input.js.map +0 -1
- package/dist/src/graphql-api/auth/inputs/sign-up.input.js.map +0 -1
- package/dist/src/graphql-api/auth/model/index.d.ts +0 -1
- package/dist/src/graphql-api/auth/model/index.js.map +0 -1
- package/dist/src/graphql-api/auth/model/login.model.js.map +0 -1
- package/dist/src/graphql-api/branch/branch.resolver.d.ts +0 -23
- package/dist/src/graphql-api/branch/branch.resolver.js +0 -176
- package/dist/src/graphql-api/branch/branch.resolver.js.map +0 -1
- package/dist/src/graphql-api/branch/inputs/create-branch-by-revision-id.input.js.map +0 -1
- package/dist/src/graphql-api/branch/inputs/create-branch.input.js.map +0 -1
- package/dist/src/graphql-api/branch/inputs/get-branch-revisions.input.js.map +0 -1
- package/dist/src/graphql-api/branch/inputs/get-branch.input.js.map +0 -1
- package/dist/src/graphql-api/branch/inputs/get-branches.input.js.map +0 -1
- package/dist/src/graphql-api/branch/inputs/index.d.ts +0 -5
- package/dist/src/graphql-api/branch/inputs/index.js.map +0 -1
- package/dist/src/graphql-api/branch/inputs/revert-changes.input.js.map +0 -1
- package/dist/src/graphql-api/branch/model/branch.model.d.ts +0 -21
- package/dist/src/graphql-api/branch/model/branch.model.js.map +0 -1
- package/dist/src/graphql-api/branch/model/parent-branch.model.d.ts +0 -6
- package/dist/src/graphql-api/branch/model/parent-branch.model.js.map +0 -1
- package/dist/src/graphql-api/branch/parent-branch.resolver.d.ts +0 -8
- package/dist/src/graphql-api/branch/parent-branch.resolver.js +0 -51
- package/dist/src/graphql-api/branch/parent-branch.resolver.js.map +0 -1
- package/dist/src/graphql-api/configuration/configuration.resolver.d.ts +0 -7
- package/dist/src/graphql-api/configuration/configuration.resolver.js +0 -36
- package/dist/src/graphql-api/configuration/configuration.resolver.js.map +0 -1
- package/dist/src/graphql-api/configuration/model/configuration.model.js.map +0 -1
- package/dist/src/graphql-api/configuration/model/index.d.ts +0 -1
- package/dist/src/graphql-api/configuration/model/index.js.map +0 -1
- package/dist/src/graphql-api/current-user.decorator.js.map +0 -1
- package/dist/src/graphql-api/draft/draft.resolver.d.ts +0 -14
- package/dist/src/graphql-api/draft/draft.resolver.js +0 -142
- package/dist/src/graphql-api/draft/draft.resolver.js.map +0 -1
- package/dist/src/graphql-api/draft/input/create-row.input.d.ts +0 -5
- package/dist/src/graphql-api/draft/input/create-row.input.js.map +0 -1
- package/dist/src/graphql-api/draft/input/create-table.input.js.map +0 -1
- package/dist/src/graphql-api/draft/input/index.d.ts +0 -5
- package/dist/src/graphql-api/draft/input/index.js.map +0 -1
- package/dist/src/graphql-api/draft/input/remove-row.input.d.ts +0 -3
- package/dist/src/graphql-api/draft/input/remove-row.input.js.map +0 -1
- package/dist/src/graphql-api/draft/input/remove-table.input.js.map +0 -1
- package/dist/src/graphql-api/draft/input/update-row.input.d.ts +0 -5
- package/dist/src/graphql-api/draft/input/update-row.input.js.map +0 -1
- package/dist/src/graphql-api/draft/input/update-table.input.d.ts +0 -6
- package/dist/src/graphql-api/draft/input/update-table.input.js.map +0 -1
- package/dist/src/graphql-api/draft/model/create-row-result.model.d.ts +0 -7
- package/dist/src/graphql-api/draft/model/create-row-result.model.js.map +0 -1
- package/dist/src/graphql-api/draft/model/create-table-result.model.d.ts +0 -6
- package/dist/src/graphql-api/draft/model/create-table-result.model.js.map +0 -1
- package/dist/src/graphql-api/draft/model/remove-row-result.model.d.ts +0 -7
- package/dist/src/graphql-api/draft/model/remove-row-result.model.js.map +0 -1
- package/dist/src/graphql-api/draft/model/remove-table-result.model.d.ts +0 -4
- package/dist/src/graphql-api/draft/model/remove-table-result.model.js.map +0 -1
- package/dist/src/graphql-api/draft/model/update-row-result.model.d.ts +0 -8
- package/dist/src/graphql-api/draft/model/update-row-result.model.js.map +0 -1
- package/dist/src/graphql-api/draft/model/update-table-result.model.d.ts +0 -5
- package/dist/src/graphql-api/draft/model/update-table-result.model.js.map +0 -1
- package/dist/src/graphql-api/endpoint/endpoint.resolver.d.ts +0 -11
- package/dist/src/graphql-api/endpoint/endpoint.resolver.js +0 -83
- package/dist/src/graphql-api/endpoint/endpoint.resolver.js.map +0 -1
- package/dist/src/graphql-api/endpoint/inputs/create-endpoint.input.d.ts +0 -5
- package/dist/src/graphql-api/endpoint/inputs/create-endpoint.input.js.map +0 -1
- package/dist/src/graphql-api/endpoint/inputs/delete-endpoint.input.js.map +0 -1
- package/dist/src/graphql-api/endpoint/inputs/get-endpoint.input.js.map +0 -1
- package/dist/src/graphql-api/endpoint/inputs/index.d.ts +0 -3
- package/dist/src/graphql-api/endpoint/inputs/index.js.map +0 -1
- package/dist/src/graphql-api/endpoint/model/endpoint.model.d.ts +0 -11
- package/dist/src/graphql-api/endpoint/model/endpoint.model.js.map +0 -1
- package/dist/src/graphql-api/endpoint/model/index.d.ts +0 -1
- package/dist/src/graphql-api/endpoint/model/index.js.map +0 -1
- package/dist/src/graphql-api/graphql-api.module.js +0 -80
- package/dist/src/graphql-api/graphql-api.module.js.map +0 -1
- package/dist/src/graphql-api/organization/inputs/add-user-to-organization.input.d.ts +0 -6
- package/dist/src/graphql-api/organization/inputs/add-user-to-organization.input.js +0 -33
- package/dist/src/graphql-api/organization/inputs/add-user-to-organization.input.js.map +0 -1
- package/dist/src/graphql-api/organization/inputs/get-users-organization.input.js.map +0 -1
- package/dist/src/graphql-api/organization/inputs/index.d.ts +0 -3
- package/dist/src/graphql-api/organization/inputs/index.js.map +0 -1
- package/dist/src/graphql-api/organization/inputs/remove-user-from-organization.input.js.map +0 -1
- package/dist/src/graphql-api/organization/model/users-organization.connection.d.ts +0 -5
- package/dist/src/graphql-api/organization/model/users-organization.connection.js.map +0 -1
- package/dist/src/graphql-api/organization/model/users-organization.model.d.ts +0 -7
- package/dist/src/graphql-api/organization/model/users-organization.model.js.map +0 -1
- package/dist/src/graphql-api/organization/organization.resolver.d.ts +0 -15
- package/dist/src/graphql-api/organization/organization.resolver.js +0 -126
- package/dist/src/graphql-api/organization/organization.resolver.js.map +0 -1
- package/dist/src/graphql-api/project/inputs/add-user-to-project.input.d.ts +0 -7
- package/dist/src/graphql-api/project/inputs/add-user-to-project.input.js +0 -37
- package/dist/src/graphql-api/project/inputs/add-user-to-project.input.js.map +0 -1
- package/dist/src/graphql-api/project/inputs/create-project.input.js.map +0 -1
- package/dist/src/graphql-api/project/inputs/delete-project.input.js.map +0 -1
- package/dist/src/graphql-api/project/inputs/get-project-branches.input.js.map +0 -1
- package/dist/src/graphql-api/project/inputs/get-project.input.js.map +0 -1
- package/dist/src/graphql-api/project/inputs/get-projects.input.js.map +0 -1
- package/dist/src/graphql-api/project/inputs/get-users-project.input.js.map +0 -1
- package/dist/src/graphql-api/project/inputs/index.d.ts +0 -7
- package/dist/src/graphql-api/project/inputs/index.js.map +0 -1
- package/dist/src/graphql-api/project/inputs/remove-user-from-project.input.js.map +0 -1
- package/dist/src/graphql-api/project/inputs/update-project.input.js.map +0 -1
- package/dist/src/graphql-api/project/model/index.d.ts +0 -1
- package/dist/src/graphql-api/project/model/index.js.map +0 -1
- package/dist/src/graphql-api/project/model/project.model.d.ts +0 -10
- package/dist/src/graphql-api/project/model/project.model.js.map +0 -1
- package/dist/src/graphql-api/project/model/projects.connection.d.ts +0 -5
- package/dist/src/graphql-api/project/model/projects.connection.js.map +0 -1
- package/dist/src/graphql-api/project/model/users-project.connection.d.ts +0 -5
- package/dist/src/graphql-api/project/model/users-project.connection.js.map +0 -1
- package/dist/src/graphql-api/project/model/users-project.model.d.ts +0 -7
- package/dist/src/graphql-api/project/model/users-project.model.js.map +0 -1
- package/dist/src/graphql-api/project/project.resolver.d.ts +0 -17
- package/dist/src/graphql-api/project/project.resolver.js +0 -154
- package/dist/src/graphql-api/project/project.resolver.js.map +0 -1
- package/dist/src/graphql-api/registerGraphqlEnums.js +0 -14
- package/dist/src/graphql-api/registerGraphqlEnums.js.map +0 -1
- package/dist/src/graphql-api/revision/child-branch.resolver.d.ts +0 -8
- package/dist/src/graphql-api/revision/child-branch.resolver.js +0 -51
- package/dist/src/graphql-api/revision/child-branch.resolver.js.map +0 -1
- package/dist/src/graphql-api/revision/inputs/create-revision.input.js.map +0 -1
- package/dist/src/graphql-api/revision/inputs/get-revision-tables.input.js.map +0 -1
- package/dist/src/graphql-api/revision/inputs/get-revision.input.js.map +0 -1
- package/dist/src/graphql-api/revision/model/child-branch.model.d.ts +0 -6
- package/dist/src/graphql-api/revision/model/child-branch.model.js.map +0 -1
- package/dist/src/graphql-api/revision/model/revision.model.d.ts +0 -24
- package/dist/src/graphql-api/revision/model/revision.model.js.map +0 -1
- package/dist/src/graphql-api/revision/revision.resolver.d.ts +0 -19
- package/dist/src/graphql-api/revision/revision.resolver.js +0 -150
- package/dist/src/graphql-api/revision/revision.resolver.js.map +0 -1
- package/dist/src/graphql-api/role/model/role.model.js.map +0 -1
- package/dist/src/graphql-api/row/inputs/get-row-count-references-by.input.js.map +0 -1
- package/dist/src/graphql-api/row/inputs/get-row-references.input.js.map +0 -1
- package/dist/src/graphql-api/row/inputs/get-row.input.js.map +0 -1
- package/dist/src/graphql-api/row/inputs/get-rows.input.js.map +0 -1
- package/dist/src/graphql-api/row/inputs/index.d.ts +0 -3
- package/dist/src/graphql-api/row/inputs/index.js.map +0 -1
- package/dist/src/graphql-api/row/model/row-reference.model.d.ts +0 -6
- package/dist/src/graphql-api/row/model/row-reference.model.js.map +0 -1
- package/dist/src/graphql-api/row/model/row-references-connection.model.d.ts +0 -5
- package/dist/src/graphql-api/row/model/row-references-connection.model.js.map +0 -1
- package/dist/src/graphql-api/row/model/row.model.d.ts +0 -17
- package/dist/src/graphql-api/row/model/row.model.js.map +0 -1
- package/dist/src/graphql-api/row/model/rows-connection.model.d.ts +0 -5
- package/dist/src/graphql-api/row/model/rows-connection.model.js.map +0 -1
- package/dist/src/graphql-api/row/row.resolver.d.ts +0 -16
- package/dist/src/graphql-api/row/row.resolver.js +0 -128
- package/dist/src/graphql-api/row/row.resolver.js.map +0 -1
- package/dist/src/graphql-api/share/model/paginated.model.d.ts +0 -9
- package/dist/src/graphql-api/share/model/paginated.model.js.map +0 -1
- package/dist/src/graphql-api/table/inputs/get-table-references.input.js.map +0 -1
- package/dist/src/graphql-api/table/inputs/get-table-rows.input.js.map +0 -1
- package/dist/src/graphql-api/table/inputs/get-table.input.js.map +0 -1
- package/dist/src/graphql-api/table/inputs/get-tables.input.js.map +0 -1
- package/dist/src/graphql-api/table/model/table-connection.model.d.ts +0 -5
- package/dist/src/graphql-api/table/model/table-connection.model.js.map +0 -1
- package/dist/src/graphql-api/table/model/table.model.d.ts +0 -20
- package/dist/src/graphql-api/table/model/table.model.js.map +0 -1
- package/dist/src/graphql-api/table/table.resolver.d.ts +0 -20
- package/dist/src/graphql-api/table/table.resolver.js +0 -166
- package/dist/src/graphql-api/table/table.resolver.js.map +0 -1
- package/dist/src/graphql-api/user/inputs/index.d.ts +0 -3
- package/dist/src/graphql-api/user/inputs/index.js.map +0 -1
- package/dist/src/graphql-api/user/inputs/me-projects.input.js.map +0 -1
- package/dist/src/graphql-api/user/inputs/set-username.input.js.map +0 -1
- package/dist/src/graphql-api/user/inputs/update-password.input.js.map +0 -1
- package/dist/src/graphql-api/user/model/user.model.js.map +0 -1
- package/dist/src/graphql-api/user/user.resolver.d.ts +0 -15
- package/dist/src/graphql-api/user/user.resolver.js +0 -104
- package/dist/src/graphql-api/user/user.resolver.js.map +0 -1
- package/dist/src/health/health.controller.d.ts +0 -3
- package/dist/src/health/health.controller.js +0 -32
- package/dist/src/health/health.controller.js.map +0 -1
- package/dist/src/health/health.module.js +0 -18
- package/dist/src/health/health.module.js.map +0 -1
- package/dist/src/metrics/graphql/constants.js.map +0 -1
- package/dist/src/metrics/graphql/graphql-metrics.plugin.d.ts +0 -7
- package/dist/src/metrics/graphql/graphql-metrics.plugin.js.map +0 -1
- package/dist/src/metrics/graphql/graphql-metrics.service.js.map +0 -1
- package/dist/src/metrics/metrics.module.js.map +0 -1
- package/dist/src/metrics/rest/constants.js.map +0 -1
- package/dist/src/metrics/rest/rest-metrics.interceptor.d.ts +0 -9
- package/dist/src/metrics/rest/rest-metrics.interceptor.js.map +0 -1
- package/dist/src/metrics/rest/rest-metrics.service.js.map +0 -1
- package/dist/src/metrics/utils.js.map +0 -1
- package/dist/src/metrics-api/metrics-api.module.js.map +0 -1
- package/dist/src/metrics-api/metrics-enabled.guard.js.map +0 -1
- package/dist/src/metrics-api/metrics.controller.d.ts +0 -7
- package/dist/src/metrics-api/metrics.controller.js.map +0 -1
- package/dist/src/notification/endpoint-notification.service.d.ts +0 -10
- package/dist/src/notification/endpoint-notification.service.js.map +0 -1
- package/dist/src/notification/in-memory-client.d.ts +0 -10
- package/dist/src/notification/in-memory-client.js +0 -23
- package/dist/src/notification/in-memory-client.js.map +0 -1
- package/dist/src/notification/in-memory-server.js.map +0 -1
- package/dist/src/notification/notification-event-emitter.js.map +0 -1
- package/dist/src/notification/notification.module.js.map +0 -1
- package/dist/src/organization/commands/handlers/add-user-to-organization.handler.d.ts +0 -12
- package/dist/src/organization/commands/handlers/add-user-to-organization.handler.js +0 -66
- package/dist/src/organization/commands/handlers/add-user-to-organization.handler.js.map +0 -1
- package/dist/src/organization/commands/handlers/index.d.ts +0 -2
- package/dist/src/organization/commands/handlers/index.js.map +0 -1
- package/dist/src/organization/commands/handlers/remove-user-from-organization.handler.d.ts +0 -11
- package/dist/src/organization/commands/handlers/remove-user-from-organization.handler.js +0 -67
- package/dist/src/organization/commands/handlers/remove-user-from-organization.handler.js.map +0 -1
- package/dist/src/organization/commands/impl/add-user-to-organization.command.d.ts +0 -14
- package/dist/src/organization/commands/impl/add-user-to-organization.command.js.map +0 -1
- package/dist/src/organization/commands/impl/index.d.ts +0 -2
- package/dist/src/organization/commands/impl/index.js.map +0 -1
- package/dist/src/organization/commands/impl/remove-user-from-organization.command.js.map +0 -1
- package/dist/src/organization/commands/index.d.ts +0 -2
- package/dist/src/organization/commands/index.js.map +0 -1
- package/dist/src/organization/organization.module.js +0 -24
- package/dist/src/organization/organization.module.js.map +0 -1
- package/dist/src/organization/queries/handlers/get-projects-by-organization-id.handler.d.ts +0 -17
- package/dist/src/organization/queries/handlers/get-projects-by-organization-id.handler.js +0 -70
- package/dist/src/organization/queries/handlers/get-projects-by-organization-id.handler.js.map +0 -1
- package/dist/src/organization/queries/handlers/get-users-organization.handler.d.ts +0 -30
- package/dist/src/organization/queries/handlers/get-users-organization.handler.js +0 -58
- package/dist/src/organization/queries/handlers/get-users-organization.handler.js.map +0 -1
- package/dist/src/organization/queries/handlers/index.d.ts +0 -1
- package/dist/src/organization/queries/handlers/index.js.map +0 -1
- package/dist/src/organization/queries/impl/get-projects-by-organization-id.query.d.ts +0 -17
- package/dist/src/organization/queries/impl/get-projects-by-organization-id.query.js.map +0 -1
- package/dist/src/organization/queries/impl/get-users-organization.query.d.ts +0 -19
- package/dist/src/organization/queries/impl/get-users-organization.query.js.map +0 -1
- package/dist/src/organization/queries/impl/index.d.ts +0 -2
- package/dist/src/organization/queries/impl/index.js.map +0 -1
- package/dist/src/organization/queries/index.d.ts +0 -3
- package/dist/src/organization/queries/index.js.map +0 -1
- package/dist/src/project/commands/handlers/add-user-to-project.handler.d.ts +0 -13
- package/dist/src/project/commands/handlers/add-user-to-project.handler.js +0 -86
- package/dist/src/project/commands/handlers/add-user-to-project.handler.js.map +0 -1
- package/dist/src/project/commands/handlers/api-create-project.handler.d.ts +0 -8
- package/dist/src/project/commands/handlers/api-create-project.handler.js.map +0 -1
- package/dist/src/project/commands/handlers/create-project.handler.d.ts +0 -38
- package/dist/src/project/commands/handlers/create-project.handler.js +0 -176
- package/dist/src/project/commands/handlers/create-project.handler.js.map +0 -1
- package/dist/src/project/commands/handlers/delete-project.handler.d.ts +0 -17
- package/dist/src/project/commands/handlers/delete-project.handler.js +0 -73
- package/dist/src/project/commands/handlers/delete-project.handler.js.map +0 -1
- package/dist/src/project/commands/handlers/index.d.ts +0 -7
- package/dist/src/project/commands/handlers/index.js.map +0 -1
- package/dist/src/project/commands/handlers/remove-user-from-project.handler.d.ts +0 -11
- package/dist/src/project/commands/handlers/remove-user-from-project.handler.js +0 -68
- package/dist/src/project/commands/handlers/remove-user-from-project.handler.js.map +0 -1
- package/dist/src/project/commands/handlers/update-project.handler.d.ts +0 -13
- package/dist/src/project/commands/handlers/update-project.handler.js +0 -52
- package/dist/src/project/commands/handlers/update-project.handler.js.map +0 -1
- package/dist/src/project/commands/impl/add-user-to-project.command.d.ts +0 -16
- package/dist/src/project/commands/impl/add-user-to-project.command.js.map +0 -1
- package/dist/src/project/commands/impl/api-create-project.command.d.ts +0 -14
- package/dist/src/project/commands/impl/api-create-project.command.js.map +0 -1
- package/dist/src/project/commands/impl/create-project.command.d.ts +0 -14
- package/dist/src/project/commands/impl/create-project.command.js.map +0 -1
- package/dist/src/project/commands/impl/delete-project.command.js.map +0 -1
- package/dist/src/project/commands/impl/index.d.ts +0 -6
- package/dist/src/project/commands/impl/index.js.map +0 -1
- package/dist/src/project/commands/impl/remove-user-from-project.command.js.map +0 -1
- package/dist/src/project/commands/impl/update-project.command.js.map +0 -1
- package/dist/src/project/project.module.js +0 -34
- package/dist/src/project/project.module.js.map +0 -1
- package/dist/src/project/queries/handlers/get-all-branches-by-project.handler.d.ts +0 -16
- package/dist/src/project/queries/handlers/get-all-branches-by-project.handler.js +0 -47
- package/dist/src/project/queries/handlers/get-all-branches-by-project.handler.js.map +0 -1
- package/dist/src/project/queries/handlers/get-project-by-id.handler.d.ts +0 -14
- package/dist/src/project/queries/handlers/get-project-by-id.handler.js +0 -31
- package/dist/src/project/queries/handlers/get-project-by-id.handler.js.map +0 -1
- package/dist/src/project/queries/handlers/get-project.handler.d.ts +0 -12
- package/dist/src/project/queries/handlers/get-project.handler.js +0 -44
- package/dist/src/project/queries/handlers/get-project.handler.js.map +0 -1
- package/dist/src/project/queries/handlers/get-root-branch-by-project.handler.d.ts +0 -14
- package/dist/src/project/queries/handlers/get-root-branch-by-project.handler.js +0 -31
- package/dist/src/project/queries/handlers/get-root-branch-by-project.handler.js.map +0 -1
- package/dist/src/project/queries/handlers/get-users-project.handler.d.ts +0 -30
- package/dist/src/project/queries/handlers/get-users-project.handler.js +0 -61
- package/dist/src/project/queries/handlers/get-users-project.handler.js.map +0 -1
- package/dist/src/project/queries/handlers/index.d.ts +0 -6
- package/dist/src/project/queries/handlers/index.js.map +0 -1
- package/dist/src/project/queries/impl/get-all-branches-by-project.query.js.map +0 -1
- package/dist/src/project/queries/impl/get-project-by-id.query.d.ts +0 -8
- package/dist/src/project/queries/impl/get-project-by-id.query.js.map +0 -1
- package/dist/src/project/queries/impl/get-project.query.js.map +0 -1
- package/dist/src/project/queries/impl/get-root-branch-by-project.query.js.map +0 -1
- package/dist/src/project/queries/impl/get-users-project.query.d.ts +0 -21
- package/dist/src/project/queries/impl/get-users-project.query.js.map +0 -1
- package/dist/src/project/queries/impl/index.d.ts +0 -5
- package/dist/src/project/queries/impl/index.js.map +0 -1
- package/dist/src/rest-api/auth/auth.controller.d.ts +0 -13
- package/dist/src/rest-api/auth/auth.controller.js +0 -86
- package/dist/src/rest-api/auth/auth.controller.js.map +0 -1
- package/dist/src/rest-api/auth/dto/create-user.dto.d.ts +0 -7
- package/dist/src/rest-api/auth/dto/create-user.dto.js +0 -34
- package/dist/src/rest-api/auth/dto/create-user.dto.js.map +0 -1
- package/dist/src/rest-api/auth/dto/index.d.ts +0 -2
- package/dist/src/rest-api/auth/dto/index.js.map +0 -1
- package/dist/src/rest-api/auth/dto/login.dto.js.map +0 -1
- package/dist/src/rest-api/auth/dto/update-password.dto.js.map +0 -1
- package/dist/src/rest-api/auth/model/index.d.ts +0 -1
- package/dist/src/rest-api/auth/model/index.js.map +0 -1
- package/dist/src/rest-api/auth/model/login.response.js.map +0 -1
- package/dist/src/rest-api/branch/branch-by-name.controller.d.ts +0 -19
- package/dist/src/rest-api/branch/branch-by-name.controller.js +0 -225
- package/dist/src/rest-api/branch/branch-by-name.controller.js.map +0 -1
- package/dist/src/rest-api/branch/dto/create-branch-by-revision.dto.js.map +0 -1
- package/dist/src/rest-api/branch/dto/create-revision.dto.js.map +0 -1
- package/dist/src/rest-api/branch/dto/get-branch-revisions.dto.js.map +0 -1
- package/dist/src/rest-api/branch/dto/index.d.ts +0 -3
- package/dist/src/rest-api/branch/dto/index.js.map +0 -1
- package/dist/src/rest-api/branch/model/branch.model.js.map +0 -1
- package/dist/src/rest-api/branch/model/index.d.ts +0 -2
- package/dist/src/rest-api/branch/model/index.js.map +0 -1
- package/dist/src/rest-api/branch/model/parent-branch.response.js.map +0 -1
- package/dist/src/rest-api/configuration/configuration.controller.d.ts +0 -7
- package/dist/src/rest-api/configuration/configuration.controller.js +0 -42
- package/dist/src/rest-api/configuration/configuration.controller.js.map +0 -1
- package/dist/src/rest-api/configuration/model/configuration.response.js.map +0 -1
- package/dist/src/rest-api/configuration/model/index.d.ts +0 -1
- package/dist/src/rest-api/configuration/model/index.js.map +0 -1
- package/dist/src/rest-api/endpoint/endpointByIdController.js +0 -60
- package/dist/src/rest-api/endpoint/endpointByIdController.js.map +0 -1
- package/dist/src/rest-api/endpoint/model/endpoint.model.js.map +0 -1
- package/dist/src/rest-api/endpoint/model/index.d.ts +0 -1
- package/dist/src/rest-api/endpoint/model/index.js.map +0 -1
- package/dist/src/rest-api/organization/dto/add-user-to-organization.dto.d.ts +0 -5
- package/dist/src/rest-api/organization/dto/add-user-to-organization.dto.js +0 -26
- package/dist/src/rest-api/organization/dto/add-user-to-organization.dto.js.map +0 -1
- package/dist/src/rest-api/organization/dto/create-project.dto.js.map +0 -1
- package/dist/src/rest-api/organization/dto/get-projects.dto.js.map +0 -1
- package/dist/src/rest-api/organization/dto/get-users-organization.dto.js.map +0 -1
- package/dist/src/rest-api/organization/dto/index.d.ts +0 -5
- package/dist/src/rest-api/organization/dto/index.js.map +0 -1
- package/dist/src/rest-api/organization/dto/remove-user-from-organization.dto.js.map +0 -1
- package/dist/src/rest-api/organization/model/index.d.ts +0 -3
- package/dist/src/rest-api/organization/model/index.js.map +0 -1
- package/dist/src/rest-api/organization/model/project.connection.js.map +0 -1
- package/dist/src/rest-api/organization/model/users-organization.connection.js.map +0 -1
- package/dist/src/rest-api/organization/model/users-organization.model.d.ts +0 -7
- package/dist/src/rest-api/organization/model/users-organization.model.js.map +0 -1
- package/dist/src/rest-api/organization/organization.controller.d.ts +0 -16
- package/dist/src/rest-api/organization/organization.controller.js +0 -147
- package/dist/src/rest-api/organization/organization.controller.js.map +0 -1
- package/dist/src/rest-api/project/dto/add-user-to-project.dto.d.ts +0 -5
- package/dist/src/rest-api/project/dto/add-user-to-project.dto.js +0 -26
- package/dist/src/rest-api/project/dto/add-user-to-project.dto.js.map +0 -1
- package/dist/src/rest-api/project/dto/get-project-branches.dto.js.map +0 -1
- package/dist/src/rest-api/project/dto/get-users-project.dto.js.map +0 -1
- package/dist/src/rest-api/project/dto/update-project.dto.js.map +0 -1
- package/dist/src/rest-api/project/model/index.d.ts +0 -3
- package/dist/src/rest-api/project/model/index.js.map +0 -1
- package/dist/src/rest-api/project/model/project.model.js.map +0 -1
- package/dist/src/rest-api/project/model/users-project.connection.js.map +0 -1
- package/dist/src/rest-api/project/model/users-project.model.d.ts +0 -7
- package/dist/src/rest-api/project/model/users-project.model.js.map +0 -1
- package/dist/src/rest-api/project/project.controller.d.ts +0 -19
- package/dist/src/rest-api/project/project.controller.js +0 -206
- package/dist/src/rest-api/project/project.controller.js.map +0 -1
- package/dist/src/rest-api/rest-api.module.js +0 -44
- package/dist/src/rest-api/rest-api.module.js.map +0 -1
- package/dist/src/rest-api/revision/dto/create-endpoint.dto.js.map +0 -1
- package/dist/src/rest-api/revision/dto/create-table.dto.js.map +0 -1
- package/dist/src/rest-api/revision/dto/get-revision-tables.dto.js.map +0 -1
- package/dist/src/rest-api/revision/dto/index.d.ts +0 -3
- package/dist/src/rest-api/revision/dto/index.js.map +0 -1
- package/dist/src/rest-api/revision/model/child-branches.response.js.map +0 -1
- package/dist/src/rest-api/revision/model/create-table.response.d.ts +0 -6
- package/dist/src/rest-api/revision/model/create-table.response.js.map +0 -1
- package/dist/src/rest-api/revision/model/index.d.ts +0 -2
- package/dist/src/rest-api/revision/model/index.js.map +0 -1
- package/dist/src/rest-api/revision/model/revision.model.js.map +0 -1
- package/dist/src/rest-api/revision/revision-by-id.controller.d.ts +0 -21
- package/dist/src/rest-api/revision/revision-by-id.controller.js +0 -213
- package/dist/src/rest-api/revision/revision-by-id.controller.js.map +0 -1
- package/dist/src/rest-api/role/model/index.d.ts +0 -1
- package/dist/src/rest-api/role/model/index.js.map +0 -1
- package/dist/src/rest-api/role/model/role.model.js.map +0 -1
- package/dist/src/rest-api/row/dto/get-row-references-by.dto.js.map +0 -1
- package/dist/src/rest-api/row/dto/get-row-references-to.dto.js.map +0 -1
- package/dist/src/rest-api/row/dto/index.d.ts +0 -2
- package/dist/src/rest-api/row/dto/index.js.map +0 -1
- package/dist/src/rest-api/row/dto/update-row.dto.js.map +0 -1
- package/dist/src/rest-api/row/model/index.d.ts +0 -3
- package/dist/src/rest-api/row/model/index.js.map +0 -1
- package/dist/src/rest-api/row/model/remove-row.response.d.ts +0 -7
- package/dist/src/rest-api/row/model/remove-row.response.js.map +0 -1
- package/dist/src/rest-api/row/model/row.model.js.map +0 -1
- package/dist/src/rest-api/row/model/update-row.response.d.ts +0 -8
- package/dist/src/rest-api/row/model/update-row.response.js.map +0 -1
- package/dist/src/rest-api/row/row-by-id.controller.d.ts +0 -17
- package/dist/src/rest-api/row/row-by-id.controller.js +0 -211
- package/dist/src/rest-api/row/row-by-id.controller.js.map +0 -1
- package/dist/src/rest-api/share/model/paginated.model.js.map +0 -1
- package/dist/src/rest-api/share/utils/transformFromPrismaToBranchModel.d.ts +0 -3
- package/dist/src/rest-api/share/utils/transformFromPrismaToBranchModel.js.map +0 -1
- package/dist/src/rest-api/share/utils/transformFromPrismaToEndpointsModel.d.ts +0 -4
- package/dist/src/rest-api/share/utils/transformFromPrismaToEndpointsModel.js.map +0 -1
- package/dist/src/rest-api/share/utils/transformFromPrismaToRevisionModel.d.ts +0 -5
- package/dist/src/rest-api/share/utils/transformFromPrismaToRevisionModel.js.map +0 -1
- package/dist/src/rest-api/share/utils/transformFromPrismaToRowModel.d.ts +0 -5
- package/dist/src/rest-api/share/utils/transformFromPrismaToRowModel.js.map +0 -1
- package/dist/src/rest-api/share/utils/transformFromPrismaToTableModel.d.ts +0 -5
- package/dist/src/rest-api/share/utils/transformFromPrismaToTableModel.js.map +0 -1
- package/dist/src/rest-api/share/utils/transformFromPrismaToUserOrganizationModel.d.ts +0 -5
- package/dist/src/rest-api/share/utils/transformFromPrismaToUserOrganizationModel.js.map +0 -1
- package/dist/src/rest-api/share/utils/transformFromPrismaToUserProjectModel.d.ts +0 -5
- package/dist/src/rest-api/share/utils/transformFromPrismaToUserProjectModel.js.map +0 -1
- package/dist/src/rest-api/table/dto/create-row.dto.js.map +0 -1
- package/dist/src/rest-api/table/dto/get-table-references-by.dto.js.map +0 -1
- package/dist/src/rest-api/table/dto/get-table-references-to.dto.js.map +0 -1
- package/dist/src/rest-api/table/dto/get-table-rows.dto.js.map +0 -1
- package/dist/src/rest-api/table/dto/index.d.ts +0 -5
- package/dist/src/rest-api/table/dto/index.js.map +0 -1
- package/dist/src/rest-api/table/dto/update-table.dto.d.ts +0 -4
- package/dist/src/rest-api/table/dto/update-table.dto.js.map +0 -1
- package/dist/src/rest-api/table/model/create-row.response.d.ts +0 -6
- package/dist/src/rest-api/table/model/create-row.response.js.map +0 -1
- package/dist/src/rest-api/table/model/index.d.ts +0 -1
- package/dist/src/rest-api/table/model/index.js.map +0 -1
- package/dist/src/rest-api/table/model/table.model.js.map +0 -1
- package/dist/src/rest-api/table/model/update-table.response.d.ts +0 -5
- package/dist/src/rest-api/table/model/update-table.response.js.map +0 -1
- package/dist/src/rest-api/table/table-by-id.controller.d.ts +0 -23
- package/dist/src/rest-api/table/table-by-id.controller.js +0 -264
- package/dist/src/rest-api/table/table-by-id.controller.js.map +0 -1
- package/dist/src/rest-api/user/model/index.d.ts +0 -1
- package/dist/src/rest-api/user/model/index.js.map +0 -1
- package/dist/src/rest-api/user/model/user.model.js.map +0 -1
- package/dist/src/rest-api/user/user.controller.d.ts +0 -10
- package/dist/src/rest-api/user/user.controller.js +0 -49
- package/dist/src/rest-api/user/user.controller.js.map +0 -1
- package/dist/src/revision/queries/commands/get-children-by-revision.handler.d.ts +0 -19
- package/dist/src/revision/queries/commands/get-children-by-revision.handler.js +0 -31
- package/dist/src/revision/queries/commands/get-children-by-revision.handler.js.map +0 -1
- package/dist/src/revision/queries/commands/get-endpoints-by-revision-id.handler.d.ts +0 -9
- package/dist/src/revision/queries/commands/get-endpoints-by-revision-id.handler.js +0 -31
- package/dist/src/revision/queries/commands/get-endpoints-by-revision-id.handler.js.map +0 -1
- package/dist/src/revision/queries/commands/get-revision.handler.d.ts +0 -19
- package/dist/src/revision/queries/commands/get-revision.handler.js +0 -31
- package/dist/src/revision/queries/commands/get-revision.handler.js.map +0 -1
- package/dist/src/revision/queries/commands/get-tables-by-revision-id.handler.d.ts +0 -20
- package/dist/src/revision/queries/commands/get-tables-by-revision-id.handler.js +0 -65
- package/dist/src/revision/queries/commands/get-tables-by-revision-id.handler.js.map +0 -1
- package/dist/src/revision/queries/commands/index.d.ts +0 -9
- package/dist/src/revision/queries/commands/index.js.map +0 -1
- package/dist/src/revision/queries/commands/resolve-branch-by-revision.handler.d.ts +0 -14
- package/dist/src/revision/queries/commands/resolve-branch-by-revision.handler.js +0 -31
- package/dist/src/revision/queries/commands/resolve-branch-by-revision.handler.js.map +0 -1
- package/dist/src/revision/queries/commands/resolve-child-branches-by-revision.handler.d.ts +0 -17
- package/dist/src/revision/queries/commands/resolve-child-branches-by-revision.handler.js +0 -53
- package/dist/src/revision/queries/commands/resolve-child-branches-by-revision.handler.js.map +0 -1
- package/dist/src/revision/queries/commands/resolve-child-by-revision.handler.d.ts +0 -21
- package/dist/src/revision/queries/commands/resolve-child-by-revision.handler.js +0 -41
- package/dist/src/revision/queries/commands/resolve-child-by-revision.handler.js.map +0 -1
- package/dist/src/revision/queries/commands/resolve-parent-by-revision.handler.d.ts +0 -19
- package/dist/src/revision/queries/commands/resolve-parent-by-revision.handler.js +0 -31
- package/dist/src/revision/queries/commands/resolve-parent-by-revision.handler.js.map +0 -1
- package/dist/src/revision/queries/impl/get-children-by-revision.query.js.map +0 -1
- package/dist/src/revision/queries/impl/get-endpoints-by-revision-id.query.js.map +0 -1
- package/dist/src/revision/queries/impl/get-revision.query.d.ts +0 -8
- package/dist/src/revision/queries/impl/get-revision.query.js.map +0 -1
- package/dist/src/revision/queries/impl/get-tables-by-revision-id.query.js.map +0 -1
- package/dist/src/revision/queries/impl/index.d.ts +0 -7
- package/dist/src/revision/queries/impl/index.js.map +0 -1
- package/dist/src/revision/queries/impl/resolve-branch-by-revision.query.js.map +0 -1
- package/dist/src/revision/queries/impl/resolve-child-branches-by-revision.query.js.map +0 -1
- package/dist/src/revision/queries/impl/resolve-child-by-revision.query.js.map +0 -1
- package/dist/src/revision/queries/impl/resolve-parent-by-revision.query.js.map +0 -1
- package/dist/src/revision/queries/types/get-endpoints-by-revision-id.js.map +0 -1
- package/dist/src/revision/queries/types/get-revision-tables.types.d.ts +0 -3
- package/dist/src/revision/queries/types/get-revision-tables.types.js.map +0 -1
- package/dist/src/revision/queries/types/get-tables-by-revision-id.js.map +0 -1
- package/dist/src/revision/queries/types/index.d.ts +0 -4
- package/dist/src/revision/queries/types/index.js.map +0 -1
- package/dist/src/revision/revision.module.js +0 -25
- package/dist/src/revision/revision.module.js.map +0 -1
- package/dist/src/row/queries/handlers/get-row-by-id.handler.d.ts +0 -19
- package/dist/src/row/queries/handlers/get-row-by-id.handler.js +0 -43
- package/dist/src/row/queries/handlers/get-row-by-id.handler.js.map +0 -1
- package/dist/src/row/queries/handlers/get-row.handler.d.ts +0 -14
- package/dist/src/row/queries/handlers/get-row.handler.js +0 -59
- package/dist/src/row/queries/handlers/get-row.handler.js.map +0 -1
- package/dist/src/row/queries/handlers/get-rows.handler.d.ts +0 -15
- package/dist/src/row/queries/handlers/get-rows.handler.js +0 -71
- package/dist/src/row/queries/handlers/get-rows.handler.js.map +0 -1
- package/dist/src/row/queries/handlers/index.d.ts +0 -8
- package/dist/src/row/queries/handlers/index.js.map +0 -1
- package/dist/src/row/queries/handlers/resolve-row-count-references-by.handler.d.ts +0 -16
- package/dist/src/row/queries/handlers/resolve-row-count-references-by.handler.js +0 -67
- package/dist/src/row/queries/handlers/resolve-row-count-references-by.handler.js.map +0 -1
- package/dist/src/row/queries/handlers/resolve-row-count-references-to.handler.d.ts +0 -14
- package/dist/src/row/queries/handlers/resolve-row-count-references-to.handler.js +0 -59
- package/dist/src/row/queries/handlers/resolve-row-count-references-to.handler.js.map +0 -1
- package/dist/src/row/queries/handlers/resolve-row-references-by.handler.d.ts +0 -28
- package/dist/src/row/queries/handlers/resolve-row-references-by.handler.js +0 -78
- package/dist/src/row/queries/handlers/resolve-row-references-by.handler.js.map +0 -1
- package/dist/src/row/queries/handlers/resolve-row-references-to.handler.d.ts +0 -28
- package/dist/src/row/queries/handlers/resolve-row-references-to.handler.js +0 -91
- package/dist/src/row/queries/handlers/resolve-row-references-to.handler.js.map +0 -1
- package/dist/src/row/queries/impl/get-row-by-id.query.js.map +0 -1
- package/dist/src/row/queries/impl/get-row.query.js.map +0 -1
- package/dist/src/row/queries/impl/get-rows.query.js.map +0 -1
- package/dist/src/row/queries/impl/index.d.ts +0 -7
- package/dist/src/row/queries/impl/index.js.map +0 -1
- package/dist/src/row/queries/impl/resolve-row-count-references-by.query.js.map +0 -1
- package/dist/src/row/queries/impl/resolve-row-count-references-to.query.js.map +0 -1
- package/dist/src/row/queries/impl/resolve-row-references-by.query.js.map +0 -1
- package/dist/src/row/queries/impl/resolve-row-references-to.query.js.map +0 -1
- package/dist/src/row/queries/types/get-row-by-id.types.d.ts +0 -2
- package/dist/src/row/queries/types/get-row-by-id.types.js.map +0 -1
- package/dist/src/row/queries/types/get-row.types.d.ts +0 -2
- package/dist/src/row/queries/types/get-row.types.js.map +0 -1
- package/dist/src/row/queries/types/get-rows.types.d.ts +0 -3
- package/dist/src/row/queries/types/get-rows.types.js.map +0 -1
- package/dist/src/row/queries/types/index.d.ts +0 -5
- package/dist/src/row/queries/types/index.js.map +0 -1
- package/dist/src/row/queries/types/resolve-row-references-by.types.d.ts +0 -3
- package/dist/src/row/queries/types/resolve-row-references-by.types.js.map +0 -1
- package/dist/src/row/queries/types/resolve-row-references-to.types.d.ts +0 -3
- package/dist/src/row/queries/types/resolve-row-references-to.types.js.map +0 -1
- package/dist/src/row/row.module.js +0 -24
- package/dist/src/row/row.module.js.map +0 -1
- package/dist/src/share/commands/handlers/index.d.ts +0 -3
- package/dist/src/share/commands/handlers/index.js.map +0 -1
- package/dist/src/share/commands/handlers/notify-endpoints.handler.d.ts +0 -12
- package/dist/src/share/commands/handlers/notify-endpoints.handler.js +0 -46
- package/dist/src/share/commands/handlers/notify-endpoints.handler.js.map +0 -1
- package/dist/src/share/commands/handlers/transactional/move-endpoints.handler.d.ts +0 -11
- package/dist/src/share/commands/handlers/transactional/move-endpoints.handler.js +0 -56
- package/dist/src/share/commands/handlers/transactional/move-endpoints.handler.js.map +0 -1
- package/dist/src/share/commands/impl/index.d.ts +0 -2
- package/dist/src/share/commands/impl/index.js.map +0 -1
- package/dist/src/share/commands/impl/notify-endpoints.command.js.map +0 -1
- package/dist/src/share/commands/impl/transactional/move-endpoints.command.js.map +0 -1
- package/dist/src/share/commands/utils/getOffsetPagination.d.ts +0 -18
- package/dist/src/share/commands/utils/getOffsetPagination.js +0 -37
- package/dist/src/share/commands/utils/getOffsetPagination.js.map +0 -1
- package/dist/src/share/commands/utils/getRevisionCursorPagination.d.ts +0 -29
- package/dist/src/share/commands/utils/getRevisionCursorPagination.js +0 -70
- package/dist/src/share/commands/utils/getRevisionCursorPagination.js.map +0 -1
- package/dist/src/share/const.d.ts +0 -2
- package/dist/src/share/const.js.map +0 -1
- package/dist/src/share/pagination.interface.js.map +0 -1
- package/dist/src/share/queries/handlers/index.d.ts +0 -9
- package/dist/src/share/queries/handlers/index.js.map +0 -1
- package/dist/src/share/queries/handlers/transactional/find-branch-in-project-or-throw.handler.d.ts +0 -10
- package/dist/src/share/queries/handlers/transactional/find-branch-in-project-or-throw.handler.js +0 -44
- package/dist/src/share/queries/handlers/transactional/find-branch-in-project-or-throw.handler.js.map +0 -1
- package/dist/src/share/queries/handlers/transactional/find-draft-revision-in-branch-or-throw.handler.d.ts +0 -10
- package/dist/src/share/queries/handlers/transactional/find-draft-revision-in-branch-or-throw.handler.js +0 -39
- package/dist/src/share/queries/handlers/transactional/find-draft-revision-in-branch-or-throw.handler.js.map +0 -1
- package/dist/src/share/queries/handlers/transactional/find-head-revision-in-branch-or-throw.handler.d.ts +0 -10
- package/dist/src/share/queries/handlers/transactional/find-head-revision-in-branch-or-throw.handler.js +0 -39
- package/dist/src/share/queries/handlers/transactional/find-head-revision-in-branch-or-throw.handler.js.map +0 -1
- package/dist/src/share/queries/handlers/transactional/find-project-in-organization-or-throw.handler.d.ts +0 -10
- package/dist/src/share/queries/handlers/transactional/find-project-in-organization-or-throw.handler.js +0 -44
- package/dist/src/share/queries/handlers/transactional/find-project-in-organization-or-throw.handler.js.map +0 -1
- package/dist/src/share/queries/handlers/transactional/find-row-in-table-or-throw.handler.d.ts +0 -10
- package/dist/src/share/queries/handlers/transactional/find-row-in-table-or-throw.handler.js +0 -42
- package/dist/src/share/queries/handlers/transactional/find-row-in-table-or-throw.handler.js.map +0 -1
- package/dist/src/share/queries/handlers/transactional/find-rows-in-table-or-throw.handler.d.ts +0 -10
- package/dist/src/share/queries/handlers/transactional/find-rows-in-table-or-throw.handler.js +0 -42
- package/dist/src/share/queries/handlers/transactional/find-rows-in-table-or-throw.handler.js.map +0 -1
- package/dist/src/share/queries/handlers/transactional/find-table-in-revision-or-throw.handler.d.ts +0 -10
- package/dist/src/share/queries/handlers/transactional/find-table-in-revision-or-throw.handler.js +0 -42
- package/dist/src/share/queries/handlers/transactional/find-table-in-revision-or-throw.handler.js.map +0 -1
- package/dist/src/share/queries/handlers/transactional/get-table-schema.handler.d.ts +0 -11
- package/dist/src/share/queries/handlers/transactional/get-table-schema.handler.js +0 -57
- package/dist/src/share/queries/handlers/transactional/get-table-schema.handler.js.map +0 -1
- package/dist/src/share/queries/impl/index.d.ts +0 -7
- package/dist/src/share/queries/impl/index.js.map +0 -1
- package/dist/src/share/queries/impl/transactional/find-branch-in-project-or-throw.query.js.map +0 -1
- package/dist/src/share/queries/impl/transactional/find-draft-revision-in-branch-or-throw.query.js.map +0 -1
- package/dist/src/share/queries/impl/transactional/find-head-revision-in-branch-or-throw.query.js.map +0 -1
- package/dist/src/share/queries/impl/transactional/find-project-in-organization-or-throw.query.js.map +0 -1
- package/dist/src/share/queries/impl/transactional/find-row-in-table-or-throw.query.js.map +0 -1
- package/dist/src/share/queries/impl/transactional/find-rows-in-table-or-throw.query.js.map +0 -1
- package/dist/src/share/queries/impl/transactional/find-table-in-revision-or-throw.query.js.map +0 -1
- package/dist/src/share/queries/impl/transactional/get-table-schema.query.js.map +0 -1
- package/dist/src/share/queries/types/find-branch-in-project.types.js.map +0 -1
- package/dist/src/share/queries/types/find-draft-revision-in-branch.types.js.map +0 -1
- package/dist/src/share/queries/types/find-head-revision-in-branch.types.js.map +0 -1
- package/dist/src/share/queries/types/find-project-in-organization.types.js.map +0 -1
- package/dist/src/share/queries/types/find-row-in-table.types.js.map +0 -1
- package/dist/src/share/queries/types/find-rows-in-table.types.js.map +0 -1
- package/dist/src/share/queries/types/find-table-in-revision.types.js.map +0 -1
- package/dist/src/share/queries/types/index.d.ts +0 -7
- package/dist/src/share/queries/types/index.js.map +0 -1
- package/dist/src/share/references.service.d.ts +0 -22
- package/dist/src/share/references.service.js +0 -94
- package/dist/src/share/references.service.js.map +0 -1
- package/dist/src/share/schema/consts.js.map +0 -1
- package/dist/src/share/schema/json-patch-schema.js +0 -71
- package/dist/src/share/schema/json-patch-schema.js.map +0 -1
- package/dist/src/share/schema/meta-schema.js +0 -143
- package/dist/src/share/schema/meta-schema.js.map +0 -1
- package/dist/src/share/share.commands.d.ts +0 -8
- package/dist/src/share/share.commands.js.map +0 -1
- package/dist/src/share/share.module.js +0 -42
- package/dist/src/share/share.module.js.map +0 -1
- package/dist/src/share/share.transactional.commands.d.ts +0 -9
- package/dist/src/share/share.transactional.commands.js.map +0 -1
- package/dist/src/share/share.transactional.queries.d.ts +0 -15
- package/dist/src/share/share.transactional.queries.js.map +0 -1
- package/dist/src/share/system-organizations.consts.js.map +0 -1
- package/dist/src/share/system-tables.consts.js.map +0 -1
- package/dist/src/share/types/row-with-context.types.js.map +0 -1
- package/dist/src/share/types/table-with-context.types.js.map +0 -1
- package/dist/src/share/types.js.map +0 -1
- package/dist/src/share/utils/index.d.ts +0 -1
- package/dist/src/share/utils/index.js.map +0 -1
- package/dist/src/share/utils/schema/lib/applyPatches.d.ts +0 -6
- package/dist/src/share/utils/schema/lib/applyPatches.js.map +0 -1
- package/dist/src/share/utils/schema/lib/createJsonSchemaStore.d.ts +0 -6
- package/dist/src/share/utils/schema/lib/createJsonSchemaStore.js.map +0 -1
- package/dist/src/share/utils/schema/lib/createJsonValueStore.d.ts +0 -11
- package/dist/src/share/utils/schema/lib/createJsonValueStore.js.map +0 -1
- package/dist/src/share/utils/schema/lib/getJsonSchemaStoreByPath.d.ts +0 -2
- package/dist/src/share/utils/schema/lib/getJsonSchemaStoreByPath.js.map +0 -1
- package/dist/src/share/utils/schema/lib/getParentForPath.js.map +0 -1
- package/dist/src/share/utils/schema/lib/getPathByStore.d.ts +0 -2
- package/dist/src/share/utils/schema/lib/getPathByStore.js.map +0 -1
- package/dist/src/share/utils/schema/lib/getReferencesFromSchema.d.ts +0 -2
- package/dist/src/share/utils/schema/lib/getReferencesFromSchema.js +0 -16
- package/dist/src/share/utils/schema/lib/getReferencesFromSchema.js.map +0 -1
- package/dist/src/share/utils/schema/lib/getReferencesFromValue.d.ts +0 -6
- package/dist/src/share/utils/schema/lib/getReferencesFromValue.js +0 -24
- package/dist/src/share/utils/schema/lib/getReferencesFromValue.js.map +0 -1
- package/dist/src/share/utils/schema/lib/getValuePathByStore.d.ts +0 -2
- package/dist/src/share/utils/schema/lib/getValuePathByStore.js.map +0 -1
- package/dist/src/share/utils/schema/lib/schema-table.d.ts +0 -17
- package/dist/src/share/utils/schema/lib/schema-table.js +0 -69
- package/dist/src/share/utils/schema/lib/schema-table.js.map +0 -1
- package/dist/src/share/utils/schema/lib/traverseStore.d.ts +0 -2
- package/dist/src/share/utils/schema/lib/traverseStore.js.map +0 -1
- package/dist/src/share/utils/schema/lib/traverseValue.d.ts +0 -2
- package/dist/src/share/utils/schema/lib/traverseValue.js.map +0 -1
- package/dist/src/share/utils/schema/model/schema/json-array.store.d.ts +0 -30
- package/dist/src/share/utils/schema/model/schema/json-array.store.js.map +0 -1
- package/dist/src/share/utils/schema/model/schema/json-boolean.store.d.ts +0 -17
- package/dist/src/share/utils/schema/model/schema/json-boolean.store.js.map +0 -1
- package/dist/src/share/utils/schema/model/schema/json-number.store.d.ts +0 -17
- package/dist/src/share/utils/schema/model/schema/json-number.store.js.map +0 -1
- package/dist/src/share/utils/schema/model/schema/json-object.store.d.ts +0 -45
- package/dist/src/share/utils/schema/model/schema/json-object.store.js +0 -142
- package/dist/src/share/utils/schema/model/schema/json-object.store.js.map +0 -1
- package/dist/src/share/utils/schema/model/schema/json-schema.store.d.ts +0 -7
- package/dist/src/share/utils/schema/model/schema/json-schema.store.js.map +0 -1
- package/dist/src/share/utils/schema/model/schema/json-string.store.d.ts +0 -18
- package/dist/src/share/utils/schema/model/schema/json-string.store.js.map +0 -1
- package/dist/src/share/utils/schema/model/value/json-array-value.store.d.ts +0 -16
- package/dist/src/share/utils/schema/model/value/json-array-value.store.js.map +0 -1
- package/dist/src/share/utils/schema/model/value/json-boolean-value.store.d.ts +0 -11
- package/dist/src/share/utils/schema/model/value/json-boolean-value.store.js.map +0 -1
- package/dist/src/share/utils/schema/model/value/json-number-value.store.d.ts +0 -11
- package/dist/src/share/utils/schema/model/value/json-number-value.store.js.map +0 -1
- package/dist/src/share/utils/schema/model/value/json-object-value.store.d.ts +0 -19
- package/dist/src/share/utils/schema/model/value/json-object-value.store.js.map +0 -1
- package/dist/src/share/utils/schema/model/value/json-string-value.store.d.ts +0 -12
- package/dist/src/share/utils/schema/model/value/json-string-value.store.js.map +0 -1
- package/dist/src/share/utils/schema/model/value/json-value.store.d.ts +0 -7
- package/dist/src/share/utils/schema/model/value/json-value.store.js.map +0 -1
- package/dist/src/share/utils/schema/model/value/value-transformation.d.ts +0 -13
- package/dist/src/share/utils/schema/model/value/value-transformation.js +0 -110
- package/dist/src/share/utils/schema/model/value/value-transformation.js.map +0 -1
- package/dist/src/share/utils/schema/types/json-patch.types.d.ts +0 -21
- package/dist/src/share/utils/schema/types/json-patch.types.js.map +0 -1
- package/dist/src/share/utils/schema/types/json.types.js.map +0 -1
- package/dist/src/share/utils/schema/types/schema.types.js.map +0 -1
- package/dist/src/share/utils/sort-revisions/sort-revisions.js +0 -36
- package/dist/src/share/utils/sort-revisions/sort-revisions.js.map +0 -1
- package/dist/src/table/queries/handlers/get-count-rows-in-table.handler.d.ts +0 -8
- package/dist/src/table/queries/handlers/get-count-rows-in-table.handler.js +0 -33
- package/dist/src/table/queries/handlers/get-count-rows-in-table.handler.js.map +0 -1
- package/dist/src/table/queries/handlers/get-rows-by-table.handler.d.ts +0 -22
- package/dist/src/table/queries/handlers/get-rows-by-table.handler.js +0 -59
- package/dist/src/table/queries/handlers/get-rows-by-table.handler.js.map +0 -1
- package/dist/src/table/queries/handlers/get-table-by-id.handler.d.ts +0 -18
- package/dist/src/table/queries/handlers/get-table-by-id.handler.js +0 -42
- package/dist/src/table/queries/handlers/get-table-by-id.handler.js.map +0 -1
- package/dist/src/table/queries/handlers/get-table.handler.d.ts +0 -14
- package/dist/src/table/queries/handlers/get-table.handler.js +0 -58
- package/dist/src/table/queries/handlers/get-table.handler.js.map +0 -1
- package/dist/src/table/queries/handlers/get-tables.handler.d.ts +0 -11
- package/dist/src/table/queries/handlers/get-tables.handler.js +0 -67
- package/dist/src/table/queries/handlers/get-tables.handler.js.map +0 -1
- package/dist/src/table/queries/handlers/index.d.ts +0 -11
- package/dist/src/table/queries/handlers/index.js.map +0 -1
- package/dist/src/table/queries/handlers/resolve-table-count-references-by.handler.d.ts +0 -15
- package/dist/src/table/queries/handlers/resolve-table-count-references-by.handler.js +0 -54
- package/dist/src/table/queries/handlers/resolve-table-count-references-by.handler.js.map +0 -1
- package/dist/src/table/queries/handlers/resolve-table-count-references-to.handler.d.ts +0 -12
- package/dist/src/table/queries/handlers/resolve-table-count-references-to.handler.js +0 -51
- package/dist/src/table/queries/handlers/resolve-table-count-references-to.handler.js.map +0 -1
- package/dist/src/table/queries/handlers/resolve-table-references-by.handler.d.ts +0 -17
- package/dist/src/table/queries/handlers/resolve-table-references-by.handler.js +0 -80
- package/dist/src/table/queries/handlers/resolve-table-references-by.handler.js.map +0 -1
- package/dist/src/table/queries/handlers/resolve-table-references-to.handler.d.ts +0 -14
- package/dist/src/table/queries/handlers/resolve-table-references-to.handler.js +0 -78
- package/dist/src/table/queries/handlers/resolve-table-references-to.handler.js.map +0 -1
- package/dist/src/table/queries/handlers/resolve-table-schema.handler.d.ts +0 -13
- package/dist/src/table/queries/handlers/resolve-table-schema.handler.js +0 -46
- package/dist/src/table/queries/handlers/resolve-table-schema.handler.js.map +0 -1
- package/dist/src/table/queries/impl/get-count-rows-in-table.query.js.map +0 -1
- package/dist/src/table/queries/impl/get-rows-by-table.query.js.map +0 -1
- package/dist/src/table/queries/impl/get-table-by-id.query.js.map +0 -1
- package/dist/src/table/queries/impl/get-table.query.js.map +0 -1
- package/dist/src/table/queries/impl/get-tables.query.js.map +0 -1
- package/dist/src/table/queries/impl/index.d.ts +0 -6
- package/dist/src/table/queries/impl/index.js.map +0 -1
- package/dist/src/table/queries/impl/resolve-table-count-references-by.query.js.map +0 -1
- package/dist/src/table/queries/impl/resolve-table-count-references-to.query.js.map +0 -1
- package/dist/src/table/queries/impl/resolve-table-references-by.query.js.map +0 -1
- package/dist/src/table/queries/impl/resolve-table-references-to.query.js.map +0 -1
- package/dist/src/table/queries/impl/resolve-table-schema.query.js.map +0 -1
- package/dist/src/table/queries/types/get-table-by-id.types.d.ts +0 -2
- package/dist/src/table/queries/types/get-table-by-id.types.js.map +0 -1
- package/dist/src/table/queries/types/get-table-rows.types.d.ts +0 -3
- package/dist/src/table/queries/types/get-table-rows.types.js.map +0 -1
- package/dist/src/table/queries/types/get-table.types.d.ts +0 -2
- package/dist/src/table/queries/types/get-table.types.js.map +0 -1
- package/dist/src/table/queries/types/get-tables.types.d.ts +0 -3
- package/dist/src/table/queries/types/get-tables.types.js.map +0 -1
- package/dist/src/table/queries/types/index.d.ts +0 -6
- package/dist/src/table/queries/types/index.js.map +0 -1
- package/dist/src/table/queries/types/resolve-table-references-by.types.d.ts +0 -3
- package/dist/src/table/queries/types/resolve-table-references-by.types.js.map +0 -1
- package/dist/src/table/queries/types/resolve-table-references-to.types.d.ts +0 -3
- package/dist/src/table/queries/types/resolve-table-references-to.types.js.map +0 -1
- package/dist/src/table/table.module.js +0 -31
- package/dist/src/table/table.module.js.map +0 -1
- package/dist/src/user/commands/handlers/index.d.ts +0 -2
- package/dist/src/user/commands/handlers/index.js.map +0 -1
- package/dist/src/user/commands/handlers/set-username.handler.d.ts +0 -14
- package/dist/src/user/commands/handlers/set-username.handler.js +0 -101
- package/dist/src/user/commands/handlers/set-username.handler.js.map +0 -1
- package/dist/src/user/commands/handlers/update-password.handler.d.ts +0 -12
- package/dist/src/user/commands/handlers/update-password.handler.js +0 -59
- package/dist/src/user/commands/handlers/update-password.handler.js.map +0 -1
- package/dist/src/user/commands/impl/index.d.ts +0 -2
- package/dist/src/user/commands/impl/index.js.map +0 -1
- package/dist/src/user/commands/impl/set-username.command.js.map +0 -1
- package/dist/src/user/commands/impl/update-password.command.js.map +0 -1
- package/dist/src/user/commands/index.d.ts +0 -2
- package/dist/src/user/commands/index.js.map +0 -1
- package/dist/src/user/queries/handlers/get-projects-by-user-id.handler.d.ts +0 -19
- package/dist/src/user/queries/handlers/get-projects-by-user-id.handler.js +0 -78
- package/dist/src/user/queries/handlers/get-projects-by-user-id.handler.js.map +0 -1
- package/dist/src/user/queries/handlers/get-user-organization.handler.d.ts +0 -8
- package/dist/src/user/queries/handlers/get-user-organization.handler.js +0 -39
- package/dist/src/user/queries/handlers/get-user-organization.handler.js.map +0 -1
- package/dist/src/user/queries/handlers/get-user.handler.d.ts +0 -12
- package/dist/src/user/queries/handlers/get-user.handler.js +0 -36
- package/dist/src/user/queries/handlers/get-user.handler.js.map +0 -1
- package/dist/src/user/queries/handlers/index.d.ts +0 -3
- package/dist/src/user/queries/handlers/index.js.map +0 -1
- package/dist/src/user/queries/impl/get-projects-by-user-id.query.d.ts +0 -15
- package/dist/src/user/queries/impl/get-projects-by-user-id.query.js.map +0 -1
- package/dist/src/user/queries/impl/get-user-organization.query.js.map +0 -1
- package/dist/src/user/queries/impl/get-user.query.js.map +0 -1
- package/dist/src/user/queries/impl/index.d.ts +0 -3
- package/dist/src/user/queries/impl/index.js.map +0 -1
- package/dist/src/user/queries/index.d.ts +0 -2
- package/dist/src/user/queries/index.js.map +0 -1
- package/dist/src/user/user.module.js +0 -25
- package/dist/src/user/user.module.js.map +0 -1
- /package/dist/src/{graphql-api → api/graphql-api}/auth/inputs/confirm-email-code.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/auth/inputs/confirm-email-code.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/auth/inputs/index.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/auth/inputs/login-github.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/auth/inputs/login-github.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/auth/inputs/login-google.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/auth/inputs/login-google.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/auth/inputs/login.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/auth/inputs/login.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/auth/inputs/sign-up.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/auth/inputs/sign-up.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/auth/model/index.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/auth/model/login.model.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/auth/model/login.model.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/branch/inputs/create-branch-by-revision-id.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/branch/inputs/create-branch-by-revision-id.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/branch/inputs/create-branch.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/branch/inputs/create-branch.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/branch/inputs/get-branch-revisions.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/branch/inputs/get-branch-revisions.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/branch/inputs/get-branch.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/branch/inputs/get-branch.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/branch/inputs/get-branches.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/branch/inputs/get-branches.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/branch/inputs/index.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/branch/inputs/revert-changes.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/branch/inputs/revert-changes.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/branch/model/branch.model.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/branch/model/parent-branch.model.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/configuration/model/configuration.model.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/configuration/model/configuration.model.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/configuration/model/index.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/current-user.decorator.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/current-user.decorator.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/draft/input/create-row.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/draft/input/create-table.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/draft/input/create-table.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/draft/input/index.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/draft/input/remove-row.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/draft/input/remove-table.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/draft/input/remove-table.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/draft/input/update-row.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/draft/input/update-table.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/draft/model/create-row-result.model.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/draft/model/create-table-result.model.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/draft/model/remove-row-result.model.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/draft/model/remove-table-result.model.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/draft/model/update-row-result.model.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/draft/model/update-table-result.model.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/endpoint/inputs/create-endpoint.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/endpoint/inputs/delete-endpoint.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/endpoint/inputs/delete-endpoint.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/endpoint/inputs/get-endpoint.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/endpoint/inputs/get-endpoint.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/endpoint/inputs/index.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/endpoint/model/endpoint.model.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/endpoint/model/index.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/graphql-api.module.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/organization/inputs/get-users-organization.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/organization/inputs/get-users-organization.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/organization/inputs/index.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/organization/inputs/remove-user-from-organization.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/organization/inputs/remove-user-from-organization.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/organization/model/users-organization.connection.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/organization/model/users-organization.model.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/project/inputs/create-project.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/project/inputs/create-project.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/project/inputs/delete-project.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/project/inputs/delete-project.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/project/inputs/get-project-branches.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/project/inputs/get-project-branches.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/project/inputs/get-project.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/project/inputs/get-project.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/project/inputs/get-projects.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/project/inputs/get-projects.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/project/inputs/get-users-project.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/project/inputs/get-users-project.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/project/inputs/index.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/project/inputs/remove-user-from-project.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/project/inputs/remove-user-from-project.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/project/inputs/update-project.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/project/inputs/update-project.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/project/model/index.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/project/model/project.model.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/project/model/projects.connection.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/project/model/users-project.connection.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/project/model/users-project.model.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/registerGraphqlEnums.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/revision/inputs/create-revision.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/revision/inputs/create-revision.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/revision/inputs/get-revision-tables.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/revision/inputs/get-revision-tables.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/revision/inputs/get-revision.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/revision/inputs/get-revision.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/revision/model/child-branch.model.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/revision/model/revision.model.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/role/model/role.model.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/role/model/role.model.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/row/inputs/get-row-count-references-by.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/row/inputs/get-row-count-references-by.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/row/inputs/get-row-references.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/row/inputs/get-row-references.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/row/inputs/get-row.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/row/inputs/get-row.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/row/inputs/get-rows.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/row/inputs/get-rows.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/row/inputs/index.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/row/model/row-reference.model.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/row/model/row-references-connection.model.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/row/model/row.model.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/row/model/rows-connection.model.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/share/model/paginated.model.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/table/inputs/get-table-references.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/table/inputs/get-table-references.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/table/inputs/get-table-rows.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/table/inputs/get-table-rows.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/table/inputs/get-table.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/table/inputs/get-table.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/table/inputs/get-tables.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/table/inputs/get-tables.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/table/model/table-connection.model.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/table/model/table.model.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/user/inputs/index.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/user/inputs/me-projects.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/user/inputs/me-projects.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/user/inputs/set-username.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/user/inputs/set-username.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/user/inputs/update-password.input.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/user/inputs/update-password.input.js +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/user/model/user.model.d.ts +0 -0
- /package/dist/src/{graphql-api → api/graphql-api}/user/model/user.model.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/auth/dto/index.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/auth/dto/login.dto.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/auth/dto/login.dto.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/auth/dto/update-password.dto.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/auth/dto/update-password.dto.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/auth/model/index.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/auth/model/login.response.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/auth/model/login.response.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/branch/dto/create-branch-by-revision.dto.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/branch/dto/create-branch-by-revision.dto.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/branch/dto/create-revision.dto.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/branch/dto/create-revision.dto.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/branch/dto/get-branch-revisions.dto.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/branch/dto/get-branch-revisions.dto.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/branch/dto/index.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/branch/model/branch.model.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/branch/model/branch.model.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/branch/model/index.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/branch/model/parent-branch.response.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/branch/model/parent-branch.response.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/configuration/model/configuration.response.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/configuration/model/configuration.response.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/configuration/model/index.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/endpoint/endpointByIdController.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/endpoint/model/endpoint.model.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/endpoint/model/endpoint.model.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/endpoint/model/index.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/organization/dto/create-project.dto.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/organization/dto/create-project.dto.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/organization/dto/get-projects.dto.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/organization/dto/get-projects.dto.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/organization/dto/get-users-organization.dto.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/organization/dto/get-users-organization.dto.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/organization/dto/index.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/organization/dto/remove-user-from-organization.dto.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/organization/dto/remove-user-from-organization.dto.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/organization/model/index.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/organization/model/project.connection.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/organization/model/project.connection.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/organization/model/users-organization.connection.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/organization/model/users-organization.connection.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/organization/model/users-organization.model.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/project/dto/get-project-branches.dto.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/project/dto/get-project-branches.dto.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/project/dto/get-users-project.dto.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/project/dto/get-users-project.dto.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/project/dto/update-project.dto.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/project/dto/update-project.dto.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/project/model/index.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/project/model/project.model.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/project/model/project.model.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/project/model/users-project.connection.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/project/model/users-project.connection.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/project/model/users-project.model.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/rest-api.module.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/revision/dto/create-endpoint.dto.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/revision/dto/create-endpoint.dto.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/revision/dto/create-table.dto.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/revision/dto/create-table.dto.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/revision/dto/get-revision-tables.dto.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/revision/dto/get-revision-tables.dto.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/revision/dto/index.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/revision/model/child-branches.response.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/revision/model/child-branches.response.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/revision/model/create-table.response.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/revision/model/index.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/revision/model/revision.model.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/revision/model/revision.model.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/role/model/index.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/role/model/role.model.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/role/model/role.model.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/row/dto/get-row-references-by.dto.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/row/dto/get-row-references-by.dto.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/row/dto/get-row-references-to.dto.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/row/dto/get-row-references-to.dto.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/row/dto/index.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/row/dto/update-row.dto.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/row/dto/update-row.dto.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/row/model/index.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/row/model/remove-row.response.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/row/model/row.model.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/row/model/row.model.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/row/model/update-row.response.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/share/model/paginated.model.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/share/model/paginated.model.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/share/utils/transformFromPrismaToBranchModel.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/share/utils/transformFromPrismaToEndpointsModel.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/share/utils/transformFromPrismaToRevisionModel.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/share/utils/transformFromPrismaToRowModel.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/share/utils/transformFromPrismaToTableModel.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/share/utils/transformFromPrismaToUserOrganizationModel.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/share/utils/transformFromPrismaToUserProjectModel.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/table/dto/create-row.dto.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/table/dto/create-row.dto.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/table/dto/get-table-references-by.dto.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/table/dto/get-table-references-by.dto.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/table/dto/get-table-references-to.dto.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/table/dto/get-table-references-to.dto.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/table/dto/get-table-rows.dto.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/table/dto/get-table-rows.dto.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/table/dto/index.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/table/dto/update-table.dto.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/table/model/create-row.response.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/table/model/index.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/table/model/table.model.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/table/model/table.model.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/table/model/update-table.response.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/user/model/index.js +0 -0
- /package/dist/src/{rest-api → api/rest-api}/user/model/user.model.d.ts +0 -0
- /package/dist/src/{rest-api → api/rest-api}/user/model/user.model.js +0 -0
- /package/dist/src/{auth → features/auth}/auth.module.d.ts +0 -0
- /package/dist/src/{auth → features/auth}/auth.service.js +0 -0
- /package/dist/src/{auth → features/auth}/commands/handlers/index.js +0 -0
- /package/dist/src/{auth → features/auth}/commands/impl/check-organization-permission.command.js +0 -0
- /package/dist/src/{auth → features/auth}/commands/impl/check-project-permission.command.js +0 -0
- /package/dist/src/{auth → features/auth}/commands/impl/check-system-permission.command.js +0 -0
- /package/dist/src/{auth → features/auth}/commands/impl/confirm-email-code.command.d.ts +0 -0
- /package/dist/src/{auth → features/auth}/commands/impl/confirm-email-code.command.js +0 -0
- /package/dist/src/{auth → features/auth}/commands/impl/create-user.command.js +0 -0
- /package/dist/src/{auth → features/auth}/commands/impl/index.js +0 -0
- /package/dist/src/{auth → features/auth}/commands/impl/login-github.command.d.ts +0 -0
- /package/dist/src/{auth → features/auth}/commands/impl/login-github.command.js +0 -0
- /package/dist/src/{auth → features/auth}/commands/impl/login-google.command.d.ts +0 -0
- /package/dist/src/{auth → features/auth}/commands/impl/login-google.command.js +0 -0
- /package/dist/src/{auth → features/auth}/commands/impl/login.command.d.ts +0 -0
- /package/dist/src/{auth → features/auth}/commands/impl/login.command.js +0 -0
- /package/dist/src/{auth → features/auth}/commands/impl/sign-up.command.d.ts +0 -0
- /package/dist/src/{auth → features/auth}/commands/impl/sign-up.command.js +0 -0
- /package/dist/src/{auth → features/auth}/commands/index.js +0 -0
- /package/dist/src/{auth → features/auth}/consts.d.ts +0 -0
- /package/dist/src/{auth → features/auth}/consts.js +0 -0
- /package/dist/src/{auth → features/auth}/github-oauth.service.d.ts +0 -0
- /package/dist/src/{auth → features/auth}/google-oauth.service.d.ts +0 -0
- /package/dist/src/{auth → features/auth}/guards/base-persmission.guard.js +0 -0
- /package/dist/src/{auth → features/auth}/guards/jwt/gql-jwt-auth-guard.service.d.ts +0 -0
- /package/dist/src/{auth → features/auth}/guards/jwt/gql-jwt-auth-guard.service.js +0 -0
- /package/dist/src/{auth → features/auth}/guards/jwt/http-jwt-auth-guard.service.d.ts +0 -0
- /package/dist/src/{auth → features/auth}/guards/jwt/http-jwt-auth-guard.service.js +0 -0
- /package/dist/src/{auth → features/auth}/guards/jwt/local-auth.guard.d.ts +0 -0
- /package/dist/src/{auth → features/auth}/guards/jwt/local-auth.guard.js +0 -0
- /package/dist/src/{auth → features/auth}/guards/jwt/optional-gql-jwt-auth-guard.service.d.ts +0 -0
- /package/dist/src/{auth → features/auth}/guards/jwt/optional-gql-jwt-auth-guard.service.js +0 -0
- /package/dist/src/{auth → features/auth}/guards/jwt/optional-http-jwt-auth-guard.service.d.ts +0 -0
- /package/dist/src/{auth → features/auth}/guards/jwt/optional-http-jwt-auth-guard.service.js +0 -0
- /package/dist/src/{auth → features/auth}/guards/organization.guard.js +0 -0
- /package/dist/src/{auth → features/auth}/guards/permission-params.js +0 -0
- /package/dist/src/{auth → features/auth}/guards/project.guard.js +0 -0
- /package/dist/src/{auth → features/auth}/guards/system.guard.js +0 -0
- /package/dist/src/{auth → features/auth}/jwt-secret.service.d.ts +0 -0
- /package/dist/src/{auth → features/auth}/jwt-secret.service.js +0 -0
- /package/dist/src/{auth → features/auth}/strategy/jwt.strategy.js +0 -0
- /package/dist/src/{auth → features/auth}/types.d.ts +0 -0
- /package/dist/src/{auth → features/auth}/types.js +0 -0
- /package/dist/src/{auth → features/auth}/utils.js +0 -0
- /package/dist/src/{branch → features/branch}/branch.module.d.ts +0 -0
- /package/dist/src/{branch → features/branch}/commands/handlers/api-create-branch-by-revision-id.handler.js +0 -0
- /package/dist/src/{branch → features/branch}/commands/handlers/index.js +0 -0
- /package/dist/src/{branch → features/branch}/commands/impl/api-create-branch-by-revision-id.command.d.ts +0 -0
- /package/dist/src/{branch → features/branch}/commands/impl/api-create-branch-by-revision-id.command.js +0 -0
- /package/dist/src/{branch → features/branch}/commands/impl/create-branch-by-revision-id.command.d.ts +0 -0
- /package/dist/src/{branch → features/branch}/commands/impl/create-branch-by-revision-id.command.js +0 -0
- /package/dist/src/{branch → features/branch}/commands/impl/index.js +0 -0
- /package/dist/src/{branch → features/branch}/quieries/handlers/index.js +0 -0
- /package/dist/src/{branch → features/branch}/quieries/impl/get-branch-by-id.query.d.ts +0 -0
- /package/dist/src/{branch → features/branch}/quieries/impl/get-branch-by-id.query.js +0 -0
- /package/dist/src/{branch → features/branch}/quieries/impl/get-branch.query.d.ts +0 -0
- /package/dist/src/{branch → features/branch}/quieries/impl/get-branch.query.js +0 -0
- /package/dist/src/{branch → features/branch}/quieries/impl/get-branches.query.d.ts +0 -0
- /package/dist/src/{branch → features/branch}/quieries/impl/get-branches.query.js +0 -0
- /package/dist/src/{branch → features/branch}/quieries/impl/get-draft-revision.query.d.ts +0 -0
- /package/dist/src/{branch → features/branch}/quieries/impl/get-draft-revision.query.js +0 -0
- /package/dist/src/{branch → features/branch}/quieries/impl/get-head-revision.query.d.ts +0 -0
- /package/dist/src/{branch → features/branch}/quieries/impl/get-head-revision.query.js +0 -0
- /package/dist/src/{branch → features/branch}/quieries/impl/get-project-by-branch.query.d.ts +0 -0
- /package/dist/src/{branch → features/branch}/quieries/impl/get-project-by-branch.query.js +0 -0
- /package/dist/src/{branch → features/branch}/quieries/impl/get-revisions-by-branch-id.query.d.ts +0 -0
- /package/dist/src/{branch → features/branch}/quieries/impl/get-revisions-by-branch-id.query.js +0 -0
- /package/dist/src/{branch → features/branch}/quieries/impl/get-start-revision.query.d.ts +0 -0
- /package/dist/src/{branch → features/branch}/quieries/impl/get-start-revision.query.js +0 -0
- /package/dist/src/{branch → features/branch}/quieries/impl/get-touched-by-branch-id.query.d.ts +0 -0
- /package/dist/src/{branch → features/branch}/quieries/impl/get-touched-by-branch-id.query.js +0 -0
- /package/dist/src/{branch → features/branch}/quieries/impl/index.js +0 -0
- /package/dist/src/{branch → features/branch}/quieries/impl/resolve-parent-branch-by-branch.query.d.ts +0 -0
- /package/dist/src/{branch → features/branch}/quieries/impl/resolve-parent-branch-by-branch.query.js +0 -0
- /package/dist/src/{branch → features/branch}/quieries/types/get-branch-by-id.types.d.ts +0 -0
- /package/dist/src/{branch → features/branch}/quieries/types/get-branch-by-id.types.js +0 -0
- /package/dist/src/{branch → features/branch}/quieries/types/get-branch.types.d.ts +0 -0
- /package/dist/src/{branch → features/branch}/quieries/types/get-branch.types.js +0 -0
- /package/dist/src/{branch → features/branch}/quieries/types/get-draft-revision.types.d.ts +0 -0
- /package/dist/src/{branch → features/branch}/quieries/types/get-draft-revision.types.js +0 -0
- /package/dist/src/{branch → features/branch}/quieries/types/get-head-revision.types.d.ts +0 -0
- /package/dist/src/{branch → features/branch}/quieries/types/get-head-revision.types.js +0 -0
- /package/dist/src/{branch → features/branch}/quieries/types/get-start-revision.types.d.ts +0 -0
- /package/dist/src/{branch → features/branch}/quieries/types/get-start-revision.types.js +0 -0
- /package/dist/src/{branch → features/branch}/quieries/types/index.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/api-create-revision.command.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/api-create-row.command.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/api-create-row.command.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/api-create-table.command.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/api-create-table.command.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/api-remove-row.command.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/api-remove-row.command.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/api-remove-table.command.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/api-remove-table.command.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/api-revert-changes.command.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/api-update-row.command.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/api-update-row.command.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/api-update-table.command.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/create-revision.command.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/create-revision.command.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/create-row.command.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/create-row.command.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/create-table.command.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/create-table.command.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/remove-row.command.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/remove-row.command.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/remove-table.command.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/remove-table.command.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/revert-changes.command.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/revert-changes.command.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/transactional/get-or-create-draft-row.command.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/transactional/get-or-create-draft-row.command.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/transactional/get-or-create-draft-rows.command.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/transactional/get-or-create-draft-rows.command.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/transactional/get-or-create-draft-table.command.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/transactional/get-or-create-draft-table.command.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/transactional/resolve-draft-revision.command.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/transactional/resolve-draft-revision.command.js +0 -0
- /package/dist/src/{draft/commands/impl → features/draft/commands/impl/transactional}/update-rows.command.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/transactional/validate-data.command.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/transactional/validate-not-system-table.command.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/transactional/validate-not-system-table.command.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/transactional/validate-schema.command.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/transactional/validate-schema.command.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/update-row.command.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/update-row.command.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/impl/update-table.command.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/types/api-create-row.handler.types.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/types/api-create-table.handler.types.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/types/api-create-table.handler.types.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/types/api-remove-row.handler.types.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/types/api-remove-table.handler.types.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/types/api-update-row.handler.types.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/types/api-update-table.handler.types.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/types/create-revision.handler.types.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/types/create-revision.handler.types.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/types/create-row.handler.types.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/types/create-row.handler.types.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/types/create-table.handler.types.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/types/create-table.handler.types.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/types/remove-row.handler.types.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/types/remove-row.handler.types.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/types/remove-table.handler.types.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/types/remove-table.handler.types.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/types/revert-changes.handler.types.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/types/revert-changes.handler.types.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/types/update-row.handler.types.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/types/update-row.handler.types.js +0 -0
- /package/dist/src/{draft → features/draft}/commands/types/update-table.handler.types.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/commands/types/update-table.handler.types.js +0 -0
- /package/dist/src/{draft → features/draft}/draft-request-dto/draft-revision-request.dto.js +0 -0
- /package/dist/src/{draft → features/draft}/draft-request-dto/index.js +0 -0
- /package/dist/src/{draft → features/draft}/draft-request-dto/row-request.dto.js +0 -0
- /package/dist/src/{draft → features/draft}/draft-request-dto/rows-request.dto.js +0 -0
- /package/dist/src/{draft → features/draft}/draft-request-dto/table-request.dto.js +0 -0
- /package/dist/src/{draft → features/draft}/draft.handler.js +0 -0
- /package/dist/src/{draft → features/draft}/draft.module.d.ts +0 -0
- /package/dist/src/{draft → features/draft}/draft.transactional.commands.js +0 -0
- /package/dist/src/{endpoint → features/endpoint}/commands/handlers/api-create-endpoint.handler.js +0 -0
- /package/dist/src/{endpoint → features/endpoint}/commands/handlers/index.js +0 -0
- /package/dist/src/{endpoint → features/endpoint}/commands/impl/api-create-endpoint.command.d.ts +0 -0
- /package/dist/src/{endpoint → features/endpoint}/commands/impl/api-create-endpoint.command.js +0 -0
- /package/dist/src/{endpoint → features/endpoint}/commands/impl/create-endpoint.command.d.ts +0 -0
- /package/dist/src/{endpoint → features/endpoint}/commands/impl/create-endpoint.command.js +0 -0
- /package/dist/src/{endpoint → features/endpoint}/commands/impl/delete-endpoint.command.d.ts +0 -0
- /package/dist/src/{endpoint → features/endpoint}/commands/impl/delete-endpoint.command.js +0 -0
- /package/dist/src/{endpoint → features/endpoint}/commands/impl/index.js +0 -0
- /package/dist/src/{endpoint → features/endpoint}/endpoint.module.d.ts +0 -0
- /package/dist/src/{endpoint → features/endpoint}/queries/handlers/index.js +0 -0
- /package/dist/src/{endpoint → features/endpoint}/queries/impl/get-created-endpoint.query.d.ts +0 -0
- /package/dist/src/{endpoint → features/endpoint}/queries/impl/get-created-endpoint.query.js +0 -0
- /package/dist/src/{endpoint → features/endpoint}/queries/impl/get-revision-by-endpoint-id.query.d.ts +0 -0
- /package/dist/src/{endpoint → features/endpoint}/queries/impl/get-revision-by-endpoint-id.query.js +0 -0
- /package/dist/src/{endpoint → features/endpoint}/queries/impl/index.js +0 -0
- /package/dist/src/{organization → features/organization}/commands/handlers/index.js +0 -0
- /package/dist/src/{organization → features/organization}/commands/impl/add-user-to-organization.command.js +0 -0
- /package/dist/src/{organization → features/organization}/commands/impl/index.js +0 -0
- /package/dist/src/{organization → features/organization}/commands/impl/remove-user-from-organization.command.d.ts +0 -0
- /package/dist/src/{organization → features/organization}/commands/impl/remove-user-from-organization.command.js +0 -0
- /package/dist/src/{organization → features/organization}/commands/index.js +0 -0
- /package/dist/src/{organization → features/organization}/organization.module.d.ts +0 -0
- /package/dist/src/{organization → features/organization}/queries/handlers/index.js +0 -0
- /package/dist/src/{organization → features/organization}/queries/impl/get-projects-by-organization-id.query.js +0 -0
- /package/dist/src/{organization → features/organization}/queries/impl/get-users-organization.query.js +0 -0
- /package/dist/src/{organization → features/organization}/queries/impl/index.js +0 -0
- /package/dist/src/{organization → features/organization}/queries/index.js +0 -0
- /package/dist/src/{project → features/project}/commands/handlers/api-create-project.handler.js +0 -0
- /package/dist/src/{project → features/project}/commands/handlers/index.js +0 -0
- /package/dist/src/{project → features/project}/commands/impl/add-user-to-project.command.js +0 -0
- /package/dist/src/{project → features/project}/commands/impl/api-create-project.command.js +0 -0
- /package/dist/src/{project → features/project}/commands/impl/create-project.command.js +0 -0
- /package/dist/src/{project → features/project}/commands/impl/delete-project.command.d.ts +0 -0
- /package/dist/src/{project → features/project}/commands/impl/delete-project.command.js +0 -0
- /package/dist/src/{project → features/project}/commands/impl/index.js +0 -0
- /package/dist/src/{project → features/project}/commands/impl/remove-user-from-project.command.d.ts +0 -0
- /package/dist/src/{project → features/project}/commands/impl/remove-user-from-project.command.js +0 -0
- /package/dist/src/{project → features/project}/commands/impl/update-project.command.d.ts +0 -0
- /package/dist/src/{project → features/project}/commands/impl/update-project.command.js +0 -0
- /package/dist/src/{project → features/project}/project.module.d.ts +0 -0
- /package/dist/src/{project → features/project}/queries/handlers/index.js +0 -0
- /package/dist/src/{project → features/project}/queries/impl/get-all-branches-by-project.query.d.ts +0 -0
- /package/dist/src/{project → features/project}/queries/impl/get-all-branches-by-project.query.js +0 -0
- /package/dist/src/{project → features/project}/queries/impl/get-project-by-id.query.js +0 -0
- /package/dist/src/{project → features/project}/queries/impl/get-project.query.d.ts +0 -0
- /package/dist/src/{project → features/project}/queries/impl/get-project.query.js +0 -0
- /package/dist/src/{project → features/project}/queries/impl/get-root-branch-by-project.query.d.ts +0 -0
- /package/dist/src/{project → features/project}/queries/impl/get-root-branch-by-project.query.js +0 -0
- /package/dist/src/{project → features/project}/queries/impl/get-users-project.query.js +0 -0
- /package/dist/src/{project → features/project}/queries/impl/index.js +0 -0
- /package/dist/src/{revision → features/revision}/queries/commands/index.js +0 -0
- /package/dist/src/{revision → features/revision}/queries/impl/get-children-by-revision.query.d.ts +0 -0
- /package/dist/src/{revision → features/revision}/queries/impl/get-children-by-revision.query.js +0 -0
- /package/dist/src/{revision → features/revision}/queries/impl/get-endpoints-by-revision-id.query.d.ts +0 -0
- /package/dist/src/{revision → features/revision}/queries/impl/get-endpoints-by-revision-id.query.js +0 -0
- /package/dist/src/{revision → features/revision}/queries/impl/get-revision.query.js +0 -0
- /package/dist/src/{revision → features/revision}/queries/impl/get-tables-by-revision-id.query.d.ts +0 -0
- /package/dist/src/{revision → features/revision}/queries/impl/get-tables-by-revision-id.query.js +0 -0
- /package/dist/src/{revision → features/revision}/queries/impl/index.js +0 -0
- /package/dist/src/{revision → features/revision}/queries/impl/resolve-branch-by-revision.query.d.ts +0 -0
- /package/dist/src/{revision → features/revision}/queries/impl/resolve-branch-by-revision.query.js +0 -0
- /package/dist/src/{revision → features/revision}/queries/impl/resolve-child-branches-by-revision.query.d.ts +0 -0
- /package/dist/src/{revision → features/revision}/queries/impl/resolve-child-branches-by-revision.query.js +0 -0
- /package/dist/src/{revision → features/revision}/queries/impl/resolve-child-by-revision.query.d.ts +0 -0
- /package/dist/src/{revision → features/revision}/queries/impl/resolve-child-by-revision.query.js +0 -0
- /package/dist/src/{revision → features/revision}/queries/impl/resolve-parent-by-revision.query.d.ts +0 -0
- /package/dist/src/{revision → features/revision}/queries/impl/resolve-parent-by-revision.query.js +0 -0
- /package/dist/src/{revision → features/revision}/queries/types/get-endpoints-by-revision-id.d.ts +0 -0
- /package/dist/src/{revision → features/revision}/queries/types/get-endpoints-by-revision-id.js +0 -0
- /package/dist/src/{revision → features/revision}/queries/types/get-revision-tables.types.js +0 -0
- /package/dist/src/{revision → features/revision}/queries/types/get-tables-by-revision-id.d.ts +0 -0
- /package/dist/src/{revision → features/revision}/queries/types/get-tables-by-revision-id.js +0 -0
- /package/dist/src/{revision → features/revision}/queries/types/index.js +0 -0
- /package/dist/src/{revision → features/revision}/revision.module.d.ts +0 -0
- /package/dist/src/{row → features/row}/queries/handlers/index.js +0 -0
- /package/dist/src/{row → features/row}/queries/impl/get-row-by-id.query.d.ts +0 -0
- /package/dist/src/{row → features/row}/queries/impl/get-row-by-id.query.js +0 -0
- /package/dist/src/{row → features/row}/queries/impl/get-row.query.d.ts +0 -0
- /package/dist/src/{row → features/row}/queries/impl/get-row.query.js +0 -0
- /package/dist/src/{row → features/row}/queries/impl/get-rows.query.d.ts +0 -0
- /package/dist/src/{row → features/row}/queries/impl/get-rows.query.js +0 -0
- /package/dist/src/{row → features/row}/queries/impl/index.js +0 -0
- /package/dist/src/{row → features/row}/queries/impl/resolve-row-count-references-by.query.d.ts +0 -0
- /package/dist/src/{row → features/row}/queries/impl/resolve-row-count-references-by.query.js +0 -0
- /package/dist/src/{row → features/row}/queries/impl/resolve-row-count-references-to.query.d.ts +0 -0
- /package/dist/src/{row → features/row}/queries/impl/resolve-row-count-references-to.query.js +0 -0
- /package/dist/src/{row → features/row}/queries/impl/resolve-row-references-by.query.d.ts +0 -0
- /package/dist/src/{row → features/row}/queries/impl/resolve-row-references-by.query.js +0 -0
- /package/dist/src/{row → features/row}/queries/impl/resolve-row-references-to.query.d.ts +0 -0
- /package/dist/src/{row → features/row}/queries/impl/resolve-row-references-to.query.js +0 -0
- /package/dist/src/{row → features/row}/queries/types/get-row-by-id.types.js +0 -0
- /package/dist/src/{row → features/row}/queries/types/get-row.types.js +0 -0
- /package/dist/src/{row → features/row}/queries/types/get-rows.types.js +0 -0
- /package/dist/src/{row → features/row}/queries/types/index.js +0 -0
- /package/dist/src/{row → features/row}/queries/types/resolve-row-references-by.types.js +0 -0
- /package/dist/src/{row → features/row}/queries/types/resolve-row-references-to.types.js +0 -0
- /package/dist/src/{row → features/row}/row.module.d.ts +0 -0
- /package/dist/src/{share → features/share}/commands/handlers/index.js +0 -0
- /package/dist/src/{share → features/share}/commands/impl/index.js +0 -0
- /package/dist/src/{share → features/share}/commands/impl/notify-endpoints.command.d.ts +0 -0
- /package/dist/src/{share → features/share}/commands/impl/notify-endpoints.command.js +0 -0
- /package/dist/src/{share → features/share}/commands/impl/transactional/move-endpoints.command.d.ts +0 -0
- /package/dist/src/{share → features/share}/commands/impl/transactional/move-endpoints.command.js +0 -0
- /package/dist/src/{share → features/share}/const.js +0 -0
- /package/dist/src/{share → features/share}/pagination.interface.d.ts +0 -0
- /package/dist/src/{share → features/share}/pagination.interface.js +0 -0
- /package/dist/src/{share → features/share}/queries/handlers/index.js +0 -0
- /package/dist/src/{share → features/share}/queries/impl/index.js +0 -0
- /package/dist/src/{share → features/share}/queries/impl/transactional/find-branch-in-project-or-throw.query.d.ts +0 -0
- /package/dist/src/{share → features/share}/queries/impl/transactional/find-branch-in-project-or-throw.query.js +0 -0
- /package/dist/src/{share → features/share}/queries/impl/transactional/find-draft-revision-in-branch-or-throw.query.d.ts +0 -0
- /package/dist/src/{share → features/share}/queries/impl/transactional/find-draft-revision-in-branch-or-throw.query.js +0 -0
- /package/dist/src/{share → features/share}/queries/impl/transactional/find-head-revision-in-branch-or-throw.query.d.ts +0 -0
- /package/dist/src/{share → features/share}/queries/impl/transactional/find-head-revision-in-branch-or-throw.query.js +0 -0
- /package/dist/src/{share → features/share}/queries/impl/transactional/find-project-in-organization-or-throw.query.d.ts +0 -0
- /package/dist/src/{share → features/share}/queries/impl/transactional/find-project-in-organization-or-throw.query.js +0 -0
- /package/dist/src/{share → features/share}/queries/impl/transactional/find-row-in-table-or-throw.query.d.ts +0 -0
- /package/dist/src/{share → features/share}/queries/impl/transactional/find-row-in-table-or-throw.query.js +0 -0
- /package/dist/src/{share → features/share}/queries/impl/transactional/find-rows-in-table-or-throw.query.d.ts +0 -0
- /package/dist/src/{share → features/share}/queries/impl/transactional/find-rows-in-table-or-throw.query.js +0 -0
- /package/dist/src/{share → features/share}/queries/impl/transactional/find-table-in-revision-or-throw.query.d.ts +0 -0
- /package/dist/src/{share → features/share}/queries/impl/transactional/find-table-in-revision-or-throw.query.js +0 -0
- /package/dist/src/{share → features/share}/queries/impl/transactional/get-table-schema.query.d.ts +0 -0
- /package/dist/src/{share → features/share}/queries/impl/transactional/get-table-schema.query.js +0 -0
- /package/dist/src/{share → features/share}/queries/types/find-branch-in-project.types.d.ts +0 -0
- /package/dist/src/{share → features/share}/queries/types/find-branch-in-project.types.js +0 -0
- /package/dist/src/{share → features/share}/queries/types/find-draft-revision-in-branch.types.d.ts +0 -0
- /package/dist/src/{share → features/share}/queries/types/find-draft-revision-in-branch.types.js +0 -0
- /package/dist/src/{share → features/share}/queries/types/find-head-revision-in-branch.types.d.ts +0 -0
- /package/dist/src/{share → features/share}/queries/types/find-head-revision-in-branch.types.js +0 -0
- /package/dist/src/{share → features/share}/queries/types/find-project-in-organization.types.d.ts +0 -0
- /package/dist/src/{share → features/share}/queries/types/find-project-in-organization.types.js +0 -0
- /package/dist/src/{share → features/share}/queries/types/find-row-in-table.types.d.ts +0 -0
- /package/dist/src/{share → features/share}/queries/types/find-row-in-table.types.js +0 -0
- /package/dist/src/{share → features/share}/queries/types/find-rows-in-table.types.d.ts +0 -0
- /package/dist/src/{share → features/share}/queries/types/find-rows-in-table.types.js +0 -0
- /package/dist/src/{share → features/share}/queries/types/find-table-in-revision.types.d.ts +0 -0
- /package/dist/src/{share → features/share}/queries/types/find-table-in-revision.types.js +0 -0
- /package/dist/src/{share → features/share}/queries/types/index.js +0 -0
- /package/dist/src/{share → features/share}/schema/consts.d.ts +0 -0
- /package/dist/src/{share → features/share}/schema/consts.js +0 -0
- /package/dist/src/{share → features/share}/schema/json-patch-schema.d.ts +0 -0
- /package/dist/src/{share → features/share}/schema/meta-schema.d.ts +0 -0
- /package/dist/src/{share → features/share}/share.commands.js +0 -0
- /package/dist/src/{share → features/share}/share.module.d.ts +0 -0
- /package/dist/src/{share → features/share}/share.transactional.commands.js +0 -0
- /package/dist/src/{share → features/share}/share.transactional.queries.js +0 -0
- /package/dist/src/{share → features/share}/system-organizations.consts.d.ts +0 -0
- /package/dist/src/{share → features/share}/system-organizations.consts.js +0 -0
- /package/dist/src/{share → features/share}/system-tables.consts.d.ts +0 -0
- /package/dist/src/{share → features/share}/system-tables.consts.js +0 -0
- /package/dist/src/{share → features/share}/types/row-with-context.types.d.ts +0 -0
- /package/dist/src/{share → features/share}/types/row-with-context.types.js +0 -0
- /package/dist/src/{share → features/share}/types/table-with-context.types.d.ts +0 -0
- /package/dist/src/{share → features/share}/types/table-with-context.types.js +0 -0
- /package/dist/src/{share → features/share}/types.d.ts +0 -0
- /package/dist/src/{share → features/share}/types.js +0 -0
- /package/dist/src/{share → features/share}/utils/index.js +0 -0
- /package/dist/src/{share → features/share}/utils/schema/lib/applyPatches.js +0 -0
- /package/dist/src/{share → features/share}/utils/schema/lib/createJsonSchemaStore.js +0 -0
- /package/dist/src/{share → features/share}/utils/schema/lib/createJsonValueStore.js +0 -0
- /package/dist/src/{share → features/share}/utils/schema/lib/getJsonSchemaStoreByPath.js +0 -0
- /package/dist/src/{share → features/share}/utils/schema/lib/getParentForPath.d.ts +0 -0
- /package/dist/src/{share → features/share}/utils/schema/lib/getParentForPath.js +0 -0
- /package/dist/src/{share → features/share}/utils/schema/lib/getPathByStore.js +0 -0
- /package/dist/src/{share → features/share}/utils/schema/lib/getValuePathByStore.js +0 -0
- /package/dist/src/{share → features/share}/utils/schema/lib/traverseStore.js +0 -0
- /package/dist/src/{share → features/share}/utils/schema/lib/traverseValue.js +0 -0
- /package/dist/src/{share → features/share}/utils/schema/model/schema/json-array.store.js +0 -0
- /package/dist/src/{share → features/share}/utils/schema/model/schema/json-boolean.store.js +0 -0
- /package/dist/src/{share → features/share}/utils/schema/model/schema/json-number.store.js +0 -0
- /package/dist/src/{share → features/share}/utils/schema/model/schema/json-schema.store.js +0 -0
- /package/dist/src/{share → features/share}/utils/schema/model/schema/json-string.store.js +0 -0
- /package/dist/src/{share → features/share}/utils/schema/model/value/json-array-value.store.js +0 -0
- /package/dist/src/{share → features/share}/utils/schema/model/value/json-boolean-value.store.js +0 -0
- /package/dist/src/{share → features/share}/utils/schema/model/value/json-number-value.store.js +0 -0
- /package/dist/src/{share → features/share}/utils/schema/model/value/json-object-value.store.js +0 -0
- /package/dist/src/{share → features/share}/utils/schema/model/value/json-string-value.store.js +0 -0
- /package/dist/src/{share → features/share}/utils/schema/model/value/json-value.store.js +0 -0
- /package/dist/src/{share → features/share}/utils/schema/types/json-patch.types.js +0 -0
- /package/dist/src/{share → features/share}/utils/schema/types/json.types.d.ts +0 -0
- /package/dist/src/{share → features/share}/utils/schema/types/json.types.js +0 -0
- /package/dist/src/{share → features/share}/utils/schema/types/schema.types.d.ts +0 -0
- /package/dist/src/{share → features/share}/utils/schema/types/schema.types.js +0 -0
- /package/dist/src/{share → features/share}/utils/sort-revisions/sort-revisions.d.ts +0 -0
- /package/dist/src/{table → features/table}/queries/handlers/index.js +0 -0
- /package/dist/src/{table → features/table}/queries/impl/get-count-rows-in-table.query.d.ts +0 -0
- /package/dist/src/{table → features/table}/queries/impl/get-count-rows-in-table.query.js +0 -0
- /package/dist/src/{table → features/table}/queries/impl/get-rows-by-table.query.d.ts +0 -0
- /package/dist/src/{table → features/table}/queries/impl/get-rows-by-table.query.js +0 -0
- /package/dist/src/{table → features/table}/queries/impl/get-table-by-id.query.d.ts +0 -0
- /package/dist/src/{table → features/table}/queries/impl/get-table-by-id.query.js +0 -0
- /package/dist/src/{table → features/table}/queries/impl/get-table.query.d.ts +0 -0
- /package/dist/src/{table → features/table}/queries/impl/get-table.query.js +0 -0
- /package/dist/src/{table → features/table}/queries/impl/get-tables.query.d.ts +0 -0
- /package/dist/src/{table → features/table}/queries/impl/get-tables.query.js +0 -0
- /package/dist/src/{table → features/table}/queries/impl/index.js +0 -0
- /package/dist/src/{table → features/table}/queries/impl/resolve-table-count-references-by.query.d.ts +0 -0
- /package/dist/src/{table → features/table}/queries/impl/resolve-table-count-references-by.query.js +0 -0
- /package/dist/src/{table → features/table}/queries/impl/resolve-table-count-references-to.query.d.ts +0 -0
- /package/dist/src/{table → features/table}/queries/impl/resolve-table-count-references-to.query.js +0 -0
- /package/dist/src/{table → features/table}/queries/impl/resolve-table-references-by.query.d.ts +0 -0
- /package/dist/src/{table → features/table}/queries/impl/resolve-table-references-by.query.js +0 -0
- /package/dist/src/{table → features/table}/queries/impl/resolve-table-references-to.query.d.ts +0 -0
- /package/dist/src/{table → features/table}/queries/impl/resolve-table-references-to.query.js +0 -0
- /package/dist/src/{table → features/table}/queries/impl/resolve-table-schema.query.d.ts +0 -0
- /package/dist/src/{table → features/table}/queries/impl/resolve-table-schema.query.js +0 -0
- /package/dist/src/{table → features/table}/queries/types/get-table-by-id.types.js +0 -0
- /package/dist/src/{table → features/table}/queries/types/get-table-rows.types.js +0 -0
- /package/dist/src/{table → features/table}/queries/types/get-table.types.js +0 -0
- /package/dist/src/{table → features/table}/queries/types/get-tables.types.js +0 -0
- /package/dist/src/{table → features/table}/queries/types/index.js +0 -0
- /package/dist/src/{table → features/table}/queries/types/resolve-table-references-by.types.js +0 -0
- /package/dist/src/{table → features/table}/queries/types/resolve-table-references-to.types.js +0 -0
- /package/dist/src/{table → features/table}/table.module.d.ts +0 -0
- /package/dist/src/{user → features/user}/commands/handlers/index.js +0 -0
- /package/dist/src/{user → features/user}/commands/impl/index.js +0 -0
- /package/dist/src/{user → features/user}/commands/impl/set-username.command.d.ts +0 -0
- /package/dist/src/{user → features/user}/commands/impl/set-username.command.js +0 -0
- /package/dist/src/{user → features/user}/commands/impl/update-password.command.d.ts +0 -0
- /package/dist/src/{user → features/user}/commands/impl/update-password.command.js +0 -0
- /package/dist/src/{user → features/user}/commands/index.js +0 -0
- /package/dist/src/{user → features/user}/queries/handlers/index.js +0 -0
- /package/dist/src/{user → features/user}/queries/impl/get-projects-by-user-id.query.js +0 -0
- /package/dist/src/{user → features/user}/queries/impl/get-user-organization.query.d.ts +0 -0
- /package/dist/src/{user → features/user}/queries/impl/get-user-organization.query.js +0 -0
- /package/dist/src/{user → features/user}/queries/impl/get-user.query.d.ts +0 -0
- /package/dist/src/{user → features/user}/queries/impl/get-user.query.js +0 -0
- /package/dist/src/{user → features/user}/queries/impl/index.js +0 -0
- /package/dist/src/{user → features/user}/queries/index.js +0 -0
- /package/dist/src/{user → features/user}/user.module.d.ts +0 -0
- /package/dist/src/{admin → infrastructure/admin}/admin-module.options.d.ts +0 -0
- /package/dist/src/{admin → infrastructure/admin}/admin-module.options.js +0 -0
- /package/dist/src/{admin → infrastructure/admin}/admin.module.js +0 -0
- /package/dist/src/{admin → infrastructure/admin}/envjs.controller.js +0 -0
- /package/dist/src/{admin → infrastructure/admin}/index.d.ts +0 -0
- /package/dist/src/{admin → infrastructure/admin}/index.js +0 -0
- /package/dist/src/{clean → infrastructure/clean}/clean.module.d.ts +0 -0
- /package/dist/src/{clean → infrastructure/clean}/clean.module.js +0 -0
- /package/dist/src/{clean → infrastructure/clean}/clean.service.js +0 -0
- /package/dist/src/{clean → infrastructure/clean}/commands/handlers/clean-rows.handler.js +0 -0
- /package/dist/src/{clean → infrastructure/clean}/commands/handlers/clean-tables.handler.js +0 -0
- /package/dist/src/{clean → infrastructure/clean}/commands/handlers/index.js +0 -0
- /package/dist/src/{clean → infrastructure/clean}/commands/impl/clean-rows.command.d.ts +0 -0
- /package/dist/src/{clean → infrastructure/clean}/commands/impl/clean-rows.command.js +0 -0
- /package/dist/src/{clean → infrastructure/clean}/commands/impl/clean-tables.command.d.ts +0 -0
- /package/dist/src/{clean → infrastructure/clean}/commands/impl/clean-tables.command.js +0 -0
- /package/dist/src/{configuration → infrastructure/configuration}/configuration.module.d.ts +0 -0
- /package/dist/src/{configuration → infrastructure/configuration}/queries/handlers/index.js +0 -0
- /package/dist/src/{configuration → infrastructure/configuration}/queries/impl/index.js +0 -0
- /package/dist/src/{configuration → infrastructure/configuration}/queries/index.js +0 -0
- /package/dist/src/{database → infrastructure/database}/database.module.d.ts +0 -0
- /package/dist/src/{database → infrastructure/database}/database.module.js +0 -0
- /package/dist/src/{database → infrastructure/database}/id.service.d.ts +0 -0
- /package/dist/src/{database → infrastructure/database}/id.service.js +0 -0
- /package/dist/src/{database → infrastructure/database}/prisma.service.d.ts +0 -0
- /package/dist/src/{database → infrastructure/database}/prisma.service.js +0 -0
- /package/dist/src/{email → infrastructure/email}/email.module.d.ts +0 -0
- /package/dist/src/{email → infrastructure/email}/email.module.js +0 -0
- /package/dist/src/{email → infrastructure/email}/templates/registration.hbs +0 -0
- /package/dist/src/{email → infrastructure/email}/transporter.service.d.ts +0 -0
- /package/dist/src/{health → infrastructure/health}/health.module.d.ts +0 -0
- /package/dist/src/{metrics → infrastructure/metrics}/graphql/constants.d.ts +0 -0
- /package/dist/src/{metrics → infrastructure/metrics}/graphql/constants.js +0 -0
- /package/dist/src/{metrics → infrastructure/metrics}/graphql/graphql-metrics.plugin.js +0 -0
- /package/dist/src/{metrics → infrastructure/metrics}/graphql/graphql-metrics.service.d.ts +0 -0
- /package/dist/src/{metrics → infrastructure/metrics}/graphql/graphql-metrics.service.js +0 -0
- /package/dist/src/{metrics → infrastructure/metrics}/metrics.module.d.ts +0 -0
- /package/dist/src/{metrics → infrastructure/metrics}/metrics.module.js +0 -0
- /package/dist/src/{metrics → infrastructure/metrics}/rest/constants.d.ts +0 -0
- /package/dist/src/{metrics → infrastructure/metrics}/rest/constants.js +0 -0
- /package/dist/src/{metrics → infrastructure/metrics}/rest/rest-metrics.interceptor.js +0 -0
- /package/dist/src/{metrics → infrastructure/metrics}/rest/rest-metrics.service.d.ts +0 -0
- /package/dist/src/{metrics → infrastructure/metrics}/rest/rest-metrics.service.js +0 -0
- /package/dist/src/{metrics → infrastructure/metrics}/utils.d.ts +0 -0
- /package/dist/src/{metrics → infrastructure/metrics}/utils.js +0 -0
- /package/dist/src/{metrics-api → infrastructure/metrics-api}/metrics-api.module.d.ts +0 -0
- /package/dist/src/{metrics-api → infrastructure/metrics-api}/metrics-api.module.js +0 -0
- /package/dist/src/{metrics-api → infrastructure/metrics-api}/metrics-enabled.guard.d.ts +0 -0
- /package/dist/src/{metrics-api → infrastructure/metrics-api}/metrics-enabled.guard.js +0 -0
- /package/dist/src/{metrics-api → infrastructure/metrics-api}/metrics.controller.js +0 -0
- /package/dist/src/{notification → infrastructure/notification}/endpoint-notification.service.js +0 -0
- /package/dist/src/{notification → infrastructure/notification}/in-memory-server.d.ts +0 -0
- /package/dist/src/{notification → infrastructure/notification}/in-memory-server.js +0 -0
- /package/dist/src/{notification → infrastructure/notification}/notification-event-emitter.d.ts +0 -0
- /package/dist/src/{notification → infrastructure/notification}/notification-event-emitter.js +0 -0
- /package/dist/src/{notification → infrastructure/notification}/notification.module.d.ts +0 -0
- /package/dist/src/{notification → infrastructure/notification}/notification.module.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-or-create-draft-rows.handler.js","sourceRoot":"","sources":["../../../../../../../src/features/draft/commands/handlers/transactional/get-or-create-draft-rows.handler.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAqD;AACrD,uCAA+D;AAE/D,kFAAmE;AACnE,kHAAkG;AAClG,gHAA8H;AAC9H,sGAA0G;AAC1G,kFAA4F;AAC5F,oFAA8F;AAC9F,kFAAuF;AAEvF,+FAA2F;AAGpF,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;IAGtC,YACmB,kBAA4C,EAC5C,SAAoB,EACpB,yBAAoD,EACpD,kBAA2C,EAC3C,eAAqC,EACrC,cAAmC,EACnC,gBAAyC;QANzC,uBAAkB,GAAlB,kBAAkB,CAA0B;QAC5C,cAAS,GAAT,SAAS,CAAW;QACpB,8BAAyB,GAAzB,yBAAyB,CAA2B;QACpD,uBAAkB,GAAlB,kBAAkB,CAAyB;QAC3C,oBAAe,GAAf,eAAe,CAAsB;QACrC,mBAAc,GAAd,cAAc,CAAqB;QACnC,qBAAgB,GAAhB,gBAAgB,CAAyB;IACzD,CAAC;IAEJ,IAAY,WAAW;QACrB,OAAO,IAAI,CAAC,kBAAkB,CAAC,cAAc,EAAE,CAAC;IAClD,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,EAAE,MAAM,EAA+B;QACnD,IAAI,CAAC,cAAc,CAAC,IAAI,GAAG,EAAE,CAAC;QAE9B,MAAM,YAAY,GAChB,MAAM,IAAI,CAAC,yBAAyB,CAAC,sBAAsB,CACzD,IAAI,CAAC,eAAe,CAAC,SAAS,EAC9B,MAAM,CACP,CAAC;QAEJ,MAAM,eAAe,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QACpE,MAAM,YAAY,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAEhE,IAAI,eAAe,CAAC,MAAM,EAAE,CAAC;YAC3B,KAAK,MAAM,cAAc,IAAI,eAAe,EAAE,CAAC;gBAC7C,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC;oBAC5B,EAAE,EAAE,cAAc,CAAC,EAAE;oBACrB,iBAAiB,EAAE,cAAc,CAAC,SAAS;oBAC3C,SAAS,EAAE,cAAc,CAAC,SAAS;iBACpC,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,IAAI,YAAY,CAAC,MAAM,EAAE,CAAC;YACxB,MAAM,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC;QAC3C,CAAC;IACH,CAAC;IAEO,KAAK,CAAC,SAAS,CAAC,YAAiC;QACvD,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,QAAQ,CAAC;YAC/C,KAAK,EAAE,EAAE,EAAE,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,EAAE,SAAS,EAAE,GAAG,CAAC,SAAS,EAAE,CAAC,CAAC,EAAE;YACxE,MAAM,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE;SAClD,CAAC,CAAC;QAEH,IAAI,IAAI,CAAC,MAAM,KAAK,YAAY,CAAC,MAAM,EAAE,CAAC;YACxC,MAAM,IAAI,4BAAmB,CAAC,sBAAsB,CAAC,CAAC;QACxD,CAAC;QAED,MAAM,aAAa,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;YACvC,IAAI,EAAE,GAAG,CAAC,IAAI;YACd,EAAE,EAAE,GAAG,CAAC,EAAE;YACV,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE;YACpC,iBAAiB,EAAE,GAAG,CAAC,SAAS;SACjC,CAAC,CAAC,CAAC;QAEJ,MAAM,MAAM,GACV,aAAa,CAAC,GAAG,CAA4B,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;YACrD,SAAS,EAAE,GAAG,CAAC,SAAS;YACxB,EAAE,EAAE,GAAG,CAAC,EAAE;YACV,IAAI,EAAE,GAAG,CAAC,IAA6B;YACvC,QAAQ,EAAE,KAAK;SAChB,CAAC,CAAC,CAAC;QAEN,MAAM,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC;QACxD,MAAM,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC;QAEpE,KAAK,MAAM,YAAY,IAAI,aAAa,EAAE,CAAC;YACzC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC;gBAC5B,EAAE,EAAE,YAAY,CAAC,EAAE;gBACnB,iBAAiB,EAAE,YAAY,CAAC,iBAAiB;gBACjD,SAAS,EAAE,YAAY,CAAC,SAAS;aAClC,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IAEO,gBAAgB,CAAC,cAAwB;QAC/C,OAAO,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,MAAM,CAAC;YACnC,KAAK,EAAE;gBACL,SAAS,EAAE,IAAI,CAAC,eAAe,CAAC,SAAS;aAC1C;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE;oBACJ,OAAO,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;wBAC1C,SAAS;qBACV,CAAC,CAAC;iBACJ;aACF;SACF,CAAC,CAAC;IACL,CAAC;IAEO,sBAAsB,CAAC,YAAiC;QAC9D,OAAO,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,MAAM,CAAC;YACnC,KAAK,EAAE;gBACL,SAAS,EAAE,IAAI,CAAC,eAAe,CAAC,SAAS;aAC1C;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE;oBACJ,UAAU,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;wBACtC,SAAS,EAAE,IAAI,CAAC,SAAS;qBAC1B,CAAC,CAAC;iBACJ;aACF;SACF,CAAC,CAAC;IACL,CAAC;IAEO,KAAK,CAAC,kBAAkB,CAAC,YAAiC;QAChE,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;QAEzE,IAAI,CAAC,SAAS,EAAE,CAAC;YACf,MAAM,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC;QAC3D,CAAC;QAED,MAAM,GAAG,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAC9C,MAAM,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC;QAEvD,OAAO,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC;YACvC,KAAK,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,kBAAkB,CAAC,WAAW,EAAE;YAClD,IAAI,EAAE;gBACJ,eAAe,EAAE;oBACf,SAAS,EAAE,YAAY,CAAC,MAAM;iBAC/B;gBACD,UAAU,EAAE,IAAI;aACjB;SACF,CAAC,CAAC;IACL,CAAC;IAEO,KAAK,CAAC,eAAe,CAAC,YAAiC;QAC7D,MAAM,IAAI,CAAC,sBAAsB,CAAC,YAAY,CAAC,CAAC;QAChD,MAAM,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;QACnC,MAAM,IAAI,CAAC,kBAAkB,CAAC,YAAY,CAAC,CAAC;IAC9C,CAAC;CACF,CAAA;AAzIY,kEAA2B;sCAA3B,2BAA2B;IADvC,IAAA,qBAAc,EAAC,8DAA2B,CAAC;qCAKH,qDAAwB;QACjC,sBAAS;QACO,uDAAyB;QAChC,oDAAuB;QAC1B,wCAAoB;QACrB,sCAAmB;QACjB,mDAAuB;GAVjD,2BAA2B,CAyIvC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ICommandHandler } from '@nestjs/cqrs';
|
|
2
|
+
import { IdService } from '../../../../../infrastructure/database/id.service';
|
|
3
|
+
import { TransactionPrismaService } from '../../../../../infrastructure/database/transaction-prisma.service';
|
|
4
|
+
import { GetOrCreateDraftTableCommand } from '../../../../../features/draft/commands/impl/transactional/get-or-create-draft-table.command';
|
|
5
|
+
import { DraftRevisionRequestDto } from '../../../../../features/draft/draft-request-dto/draft-revision-request.dto';
|
|
6
|
+
import { DraftTableRequestDto } from '../../../../../features/draft/draft-request-dto/table-request.dto';
|
|
7
|
+
import { SessionChangelogService } from '../../../../../features/draft/session-changelog.service';
|
|
8
|
+
import { ShareTransactionalQueries } from '../../../../../features/share/share.transactional.queries';
|
|
9
|
+
export declare class GetOrCreateDraftTableHandler implements ICommandHandler<GetOrCreateDraftTableCommand> {
|
|
10
|
+
private readonly transactionService;
|
|
11
|
+
private readonly revisionRequestDto;
|
|
12
|
+
private readonly tableRequestDto;
|
|
13
|
+
private readonly shareTransactionalQueries;
|
|
14
|
+
private readonly idService;
|
|
15
|
+
private readonly sessionChangelog;
|
|
16
|
+
constructor(transactionService: TransactionPrismaService, revisionRequestDto: DraftRevisionRequestDto, tableRequestDto: DraftTableRequestDto, shareTransactionalQueries: ShareTransactionalQueries, idService: IdService, sessionChangelog: SessionChangelogService);
|
|
17
|
+
private get transaction();
|
|
18
|
+
execute({ tableId }: GetOrCreateDraftTableCommand): Promise<string>;
|
|
19
|
+
private createNextVersionTable;
|
|
20
|
+
private getPreviousRowsInTable;
|
|
21
|
+
private createDraftTable;
|
|
22
|
+
private disconnectPreviousTable;
|
|
23
|
+
private addTableToChangelog;
|
|
24
|
+
}
|
package/dist/src/features/draft/commands/handlers/transactional/get-or-create-draft-table.handler.js
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GetOrCreateDraftTableHandler = void 0;
|
|
13
|
+
const cqrs_1 = require("@nestjs/cqrs");
|
|
14
|
+
const id_service_1 = require("../../../../../infrastructure/database/id.service");
|
|
15
|
+
const transaction_prisma_service_1 = require("../../../../../infrastructure/database/transaction-prisma.service");
|
|
16
|
+
const get_or_create_draft_table_command_1 = require("../../impl/transactional/get-or-create-draft-table.command");
|
|
17
|
+
const draft_revision_request_dto_1 = require("../../../draft-request-dto/draft-revision-request.dto");
|
|
18
|
+
const table_request_dto_1 = require("../../../draft-request-dto/table-request.dto");
|
|
19
|
+
const session_changelog_service_1 = require("../../../session-changelog.service");
|
|
20
|
+
const share_transactional_queries_1 = require("../../../../share/share.transactional.queries");
|
|
21
|
+
let GetOrCreateDraftTableHandler = class GetOrCreateDraftTableHandler {
|
|
22
|
+
constructor(transactionService, revisionRequestDto, tableRequestDto, shareTransactionalQueries, idService, sessionChangelog) {
|
|
23
|
+
this.transactionService = transactionService;
|
|
24
|
+
this.revisionRequestDto = revisionRequestDto;
|
|
25
|
+
this.tableRequestDto = tableRequestDto;
|
|
26
|
+
this.shareTransactionalQueries = shareTransactionalQueries;
|
|
27
|
+
this.idService = idService;
|
|
28
|
+
this.sessionChangelog = sessionChangelog;
|
|
29
|
+
}
|
|
30
|
+
get transaction() {
|
|
31
|
+
return this.transactionService.getTransaction();
|
|
32
|
+
}
|
|
33
|
+
async execute({ tableId }) {
|
|
34
|
+
this.tableRequestDto.id = tableId;
|
|
35
|
+
const previousTable = await this.shareTransactionalQueries.findTableInRevisionOrThrow(this.revisionRequestDto.id, this.tableRequestDto.id);
|
|
36
|
+
this.tableRequestDto.previousVersionId = previousTable.versionId;
|
|
37
|
+
if (!previousTable.readonly) {
|
|
38
|
+
this.tableRequestDto.versionId = previousTable.versionId;
|
|
39
|
+
return this.tableRequestDto.versionId;
|
|
40
|
+
}
|
|
41
|
+
await this.createNextVersionTable(previousTable.versionId, previousTable.system);
|
|
42
|
+
return this.tableRequestDto.versionId;
|
|
43
|
+
}
|
|
44
|
+
async createNextVersionTable(previousTableId, system) {
|
|
45
|
+
await this.createDraftTable(await this.getPreviousRowsInTable(previousTableId), system);
|
|
46
|
+
await this.disconnectPreviousTable(previousTableId);
|
|
47
|
+
await this.addTableToChangelog();
|
|
48
|
+
}
|
|
49
|
+
getPreviousRowsInTable(tableId) {
|
|
50
|
+
return this.transaction.table
|
|
51
|
+
.findUniqueOrThrow({
|
|
52
|
+
where: {
|
|
53
|
+
versionId: tableId,
|
|
54
|
+
revisions: { some: { id: this.revisionRequestDto.id } },
|
|
55
|
+
},
|
|
56
|
+
})
|
|
57
|
+
.rows({ select: { versionId: true } });
|
|
58
|
+
}
|
|
59
|
+
createDraftTable(rowIds, system) {
|
|
60
|
+
this.tableRequestDto.versionId = this.idService.generate();
|
|
61
|
+
return this.transaction.table.create({
|
|
62
|
+
data: {
|
|
63
|
+
versionId: this.tableRequestDto.versionId,
|
|
64
|
+
system,
|
|
65
|
+
id: this.tableRequestDto.id,
|
|
66
|
+
revisions: {
|
|
67
|
+
connect: {
|
|
68
|
+
id: this.revisionRequestDto.id,
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
rows: {
|
|
72
|
+
connect: rowIds,
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
disconnectPreviousTable(previousTableId) {
|
|
78
|
+
return this.transaction.revision.update({
|
|
79
|
+
where: {
|
|
80
|
+
id: this.revisionRequestDto.id,
|
|
81
|
+
},
|
|
82
|
+
data: {
|
|
83
|
+
tables: {
|
|
84
|
+
disconnect: {
|
|
85
|
+
versionId: previousTableId,
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
async addTableToChangelog() {
|
|
92
|
+
await this.sessionChangelog.addTable('tableUpdates');
|
|
93
|
+
return this.transaction.changelog.update({
|
|
94
|
+
where: { id: this.revisionRequestDto.changelogId },
|
|
95
|
+
data: {
|
|
96
|
+
tableUpdatesCount: {
|
|
97
|
+
increment: 1,
|
|
98
|
+
},
|
|
99
|
+
hasChanges: true,
|
|
100
|
+
},
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
exports.GetOrCreateDraftTableHandler = GetOrCreateDraftTableHandler;
|
|
105
|
+
exports.GetOrCreateDraftTableHandler = GetOrCreateDraftTableHandler = __decorate([
|
|
106
|
+
(0, cqrs_1.CommandHandler)(get_or_create_draft_table_command_1.GetOrCreateDraftTableCommand),
|
|
107
|
+
__metadata("design:paramtypes", [transaction_prisma_service_1.TransactionPrismaService,
|
|
108
|
+
draft_revision_request_dto_1.DraftRevisionRequestDto,
|
|
109
|
+
table_request_dto_1.DraftTableRequestDto,
|
|
110
|
+
share_transactional_queries_1.ShareTransactionalQueries,
|
|
111
|
+
id_service_1.IdService,
|
|
112
|
+
session_changelog_service_1.SessionChangelogService])
|
|
113
|
+
], GetOrCreateDraftTableHandler);
|
|
114
|
+
//# sourceMappingURL=get-or-create-draft-table.handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-or-create-draft-table.handler.js","sourceRoot":"","sources":["../../../../../../../src/features/draft/commands/handlers/transactional/get-or-create-draft-table.handler.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAA+D;AAC/D,kFAAmE;AACnE,kHAAkG;AAClG,kHAAgI;AAChI,sGAA0G;AAC1G,oFAA8F;AAC9F,kFAAuF;AACvF,+FAA2F;AAGpF,IAAM,4BAA4B,GAAlC,MAAM,4BAA4B;IAGvC,YACmB,kBAA4C,EAC5C,kBAA2C,EAC3C,eAAqC,EACrC,yBAAoD,EACpD,SAAoB,EACpB,gBAAyC;QALzC,uBAAkB,GAAlB,kBAAkB,CAA0B;QAC5C,uBAAkB,GAAlB,kBAAkB,CAAyB;QAC3C,oBAAe,GAAf,eAAe,CAAsB;QACrC,8BAAyB,GAAzB,yBAAyB,CAA2B;QACpD,cAAS,GAAT,SAAS,CAAW;QACpB,qBAAgB,GAAhB,gBAAgB,CAAyB;IACzD,CAAC;IAEJ,IAAY,WAAW;QACrB,OAAO,IAAI,CAAC,kBAAkB,CAAC,cAAc,EAAE,CAAC;IAClD,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,EAAE,OAAO,EAAgC;QACrD,IAAI,CAAC,eAAe,CAAC,EAAE,GAAG,OAAO,CAAC;QAElC,MAAM,aAAa,GACjB,MAAM,IAAI,CAAC,yBAAyB,CAAC,0BAA0B,CAC7D,IAAI,CAAC,kBAAkB,CAAC,EAAE,EAC1B,IAAI,CAAC,eAAe,CAAC,EAAE,CACxB,CAAC;QAEJ,IAAI,CAAC,eAAe,CAAC,iBAAiB,GAAG,aAAa,CAAC,SAAS,CAAC;QAEjE,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE,CAAC;YAC5B,IAAI,CAAC,eAAe,CAAC,SAAS,GAAG,aAAa,CAAC,SAAS,CAAC;YACzD,OAAO,IAAI,CAAC,eAAe,CAAC,SAAS,CAAC;QACxC,CAAC;QAED,MAAM,IAAI,CAAC,sBAAsB,CAC/B,aAAa,CAAC,SAAS,EACvB,aAAa,CAAC,MAAM,CACrB,CAAC;QAEF,OAAO,IAAI,CAAC,eAAe,CAAC,SAAS,CAAC;IACxC,CAAC;IAEO,KAAK,CAAC,sBAAsB,CAClC,eAAuB,EACvB,MAAe;QAEf,MAAM,IAAI,CAAC,gBAAgB,CACzB,MAAM,IAAI,CAAC,sBAAsB,CAAC,eAAe,CAAC,EAClD,MAAM,CACP,CAAC;QACF,MAAM,IAAI,CAAC,uBAAuB,CAAC,eAAe,CAAC,CAAC;QACpD,MAAM,IAAI,CAAC,mBAAmB,EAAE,CAAC;IACnC,CAAC;IAEO,sBAAsB,CAAC,OAAe;QAC5C,OAAO,IAAI,CAAC,WAAW,CAAC,KAAK;aAC1B,iBAAiB,CAAC;YACjB,KAAK,EAAE;gBACL,SAAS,EAAE,OAAO;gBAClB,SAAS,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,kBAAkB,CAAC,EAAE,EAAE,EAAE;aACxD;SACF,CAAC;aACD,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;IAC3C,CAAC;IAEO,gBAAgB,CAAC,MAA+B,EAAE,MAAe;QACvE,IAAI,CAAC,eAAe,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC;QAE3D,OAAO,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,MAAM,CAAC;YACnC,IAAI,EAAE;gBACJ,SAAS,EAAE,IAAI,CAAC,eAAe,CAAC,SAAS;gBACzC,MAAM;gBACN,EAAE,EAAE,IAAI,CAAC,eAAe,CAAC,EAAE;gBAC3B,SAAS,EAAE;oBACT,OAAO,EAAE;wBACP,EAAE,EAAE,IAAI,CAAC,kBAAkB,CAAC,EAAE;qBAC/B;iBACF;gBACD,IAAI,EAAE;oBACJ,OAAO,EAAE,MAAM;iBAChB;aACF;SACF,CAAC,CAAC;IACL,CAAC;IAEO,uBAAuB,CAAC,eAAuB;QACrD,OAAO,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,MAAM,CAAC;YACtC,KAAK,EAAE;gBACL,EAAE,EAAE,IAAI,CAAC,kBAAkB,CAAC,EAAE;aAC/B;YACD,IAAI,EAAE;gBACJ,MAAM,EAAE;oBACN,UAAU,EAAE;wBACV,SAAS,EAAE,eAAe;qBAC3B;iBACF;aACF;SACF,CAAC,CAAC;IACL,CAAC;IAEO,KAAK,CAAC,mBAAmB;QAC/B,MAAM,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;QAErD,OAAO,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC;YACvC,KAAK,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,kBAAkB,CAAC,WAAW,EAAE;YAClD,IAAI,EAAE;gBACJ,iBAAiB,EAAE;oBACjB,SAAS,EAAE,CAAC;iBACb;gBACD,UAAU,EAAE,IAAI;aACjB;SACF,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AA/GY,oEAA4B;uCAA5B,4BAA4B;IADxC,IAAA,qBAAc,EAAC,gEAA4B,CAAC;qCAKJ,qDAAwB;QACxB,oDAAuB;QAC1B,wCAAoB;QACV,uDAAyB;QACzC,sBAAS;QACF,mDAAuB;GATjD,4BAA4B,CA+GxC"}
|
package/dist/src/features/draft/commands/handlers/transactional/resolve-draft-revision.handler.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ICommandHandler } from '@nestjs/cqrs';
|
|
2
|
+
import { TransactionPrismaService } from '../../../../../infrastructure/database/transaction-prisma.service';
|
|
3
|
+
import { ResolveDraftRevisionCommand } from '../../../../../features/draft/commands/impl/transactional/resolve-draft-revision.command';
|
|
4
|
+
import { DraftRevisionRequestDto } from '../../../../../features/draft/draft-request-dto/draft-revision-request.dto';
|
|
5
|
+
export declare class ResolveDraftRevisionHandler implements ICommandHandler<ResolveDraftRevisionCommand> {
|
|
6
|
+
private readonly transactionService;
|
|
7
|
+
private readonly revisionRequestDto;
|
|
8
|
+
constructor(transactionService: TransactionPrismaService, revisionRequestDto: DraftRevisionRequestDto);
|
|
9
|
+
get isAlreadyResolved(): boolean;
|
|
10
|
+
private get transaction();
|
|
11
|
+
execute({ revisionId }: ResolveDraftRevisionCommand): Promise<void>;
|
|
12
|
+
resolve(revisionId: string): Promise<void>;
|
|
13
|
+
}
|
package/dist/src/features/draft/commands/handlers/transactional/resolve-draft-revision.handler.js
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ResolveDraftRevisionHandler = void 0;
|
|
13
|
+
const common_1 = require("@nestjs/common");
|
|
14
|
+
const cqrs_1 = require("@nestjs/cqrs");
|
|
15
|
+
const transaction_prisma_service_1 = require("../../../../../infrastructure/database/transaction-prisma.service");
|
|
16
|
+
const resolve_draft_revision_command_1 = require("../../impl/transactional/resolve-draft-revision.command");
|
|
17
|
+
const draft_revision_request_dto_1 = require("../../../draft-request-dto/draft-revision-request.dto");
|
|
18
|
+
let ResolveDraftRevisionHandler = class ResolveDraftRevisionHandler {
|
|
19
|
+
constructor(transactionService, revisionRequestDto) {
|
|
20
|
+
this.transactionService = transactionService;
|
|
21
|
+
this.revisionRequestDto = revisionRequestDto;
|
|
22
|
+
}
|
|
23
|
+
get isAlreadyResolved() {
|
|
24
|
+
return (this.revisionRequestDto.hasBranchId &&
|
|
25
|
+
this.revisionRequestDto.hasId &&
|
|
26
|
+
this.revisionRequestDto.hasChangelogId);
|
|
27
|
+
}
|
|
28
|
+
get transaction() {
|
|
29
|
+
return this.transactionService.getTransaction();
|
|
30
|
+
}
|
|
31
|
+
async execute({ revisionId }) {
|
|
32
|
+
if (!this.isAlreadyResolved) {
|
|
33
|
+
await this.resolve(revisionId);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
async resolve(revisionId) {
|
|
37
|
+
const revision = await this.transaction.revision.findUnique({
|
|
38
|
+
where: { id: revisionId },
|
|
39
|
+
select: {
|
|
40
|
+
id: true,
|
|
41
|
+
isDraft: true,
|
|
42
|
+
changelogId: true,
|
|
43
|
+
branchId: true,
|
|
44
|
+
},
|
|
45
|
+
});
|
|
46
|
+
if (!revision) {
|
|
47
|
+
throw new common_1.BadRequestException('Revision not found');
|
|
48
|
+
}
|
|
49
|
+
if (!revision.isDraft) {
|
|
50
|
+
throw new common_1.BadRequestException('The revision is not a draft');
|
|
51
|
+
}
|
|
52
|
+
this.revisionRequestDto.branchId = revision.branchId;
|
|
53
|
+
this.revisionRequestDto.id = revision.id;
|
|
54
|
+
this.revisionRequestDto.changelogId = revision.changelogId;
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
exports.ResolveDraftRevisionHandler = ResolveDraftRevisionHandler;
|
|
58
|
+
exports.ResolveDraftRevisionHandler = ResolveDraftRevisionHandler = __decorate([
|
|
59
|
+
(0, cqrs_1.CommandHandler)(resolve_draft_revision_command_1.ResolveDraftRevisionCommand),
|
|
60
|
+
__metadata("design:paramtypes", [transaction_prisma_service_1.TransactionPrismaService,
|
|
61
|
+
draft_revision_request_dto_1.DraftRevisionRequestDto])
|
|
62
|
+
], ResolveDraftRevisionHandler);
|
|
63
|
+
//# sourceMappingURL=resolve-draft-revision.handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-draft-revision.handler.js","sourceRoot":"","sources":["../../../../../../../src/features/draft/commands/handlers/transactional/resolve-draft-revision.handler.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAqD;AACrD,uCAA+D;AAC/D,kHAAkG;AAClG,4GAA4H;AAC5H,sGAA0G;AAGnG,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;IAGtC,YACmB,kBAA4C,EAC5C,kBAA2C;QAD3C,uBAAkB,GAAlB,kBAAkB,CAA0B;QAC5C,uBAAkB,GAAlB,kBAAkB,CAAyB;IAC3D,CAAC;IAEJ,IAAW,iBAAiB;QAC1B,OAAO,CACL,IAAI,CAAC,kBAAkB,CAAC,WAAW;YACnC,IAAI,CAAC,kBAAkB,CAAC,KAAK;YAC7B,IAAI,CAAC,kBAAkB,CAAC,cAAc,CACvC,CAAC;IACJ,CAAC;IAED,IAAY,WAAW;QACrB,OAAO,IAAI,CAAC,kBAAkB,CAAC,cAAc,EAAE,CAAC;IAClD,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,EAAE,UAAU,EAA+B;QACvD,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC;YAC5B,MAAM,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;QACjC,CAAC;IACH,CAAC;IAEM,KAAK,CAAC,OAAO,CAAC,UAAkB;QACrC,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,UAAU,CAAC;YAC1D,KAAK,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE;YACzB,MAAM,EAAE;gBACN,EAAE,EAAE,IAAI;gBACR,OAAO,EAAE,IAAI;gBACb,WAAW,EAAE,IAAI;gBACjB,QAAQ,EAAE,IAAI;aACf;SACF,CAAC,CAAC;QAEH,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,MAAM,IAAI,4BAAmB,CAAC,oBAAoB,CAAC,CAAC;QACtD,CAAC;QAED,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC;YACtB,MAAM,IAAI,4BAAmB,CAAC,6BAA6B,CAAC,CAAC;QAC/D,CAAC;QAED,IAAI,CAAC,kBAAkB,CAAC,QAAQ,GAAG,QAAQ,CAAC,QAAQ,CAAC;QACrD,IAAI,CAAC,kBAAkB,CAAC,EAAE,GAAG,QAAQ,CAAC,EAAE,CAAC;QACzC,IAAI,CAAC,kBAAkB,CAAC,WAAW,GAAG,QAAQ,CAAC,WAAW,CAAC;IAC7D,CAAC;CACF,CAAA;AAjDY,kEAA2B;sCAA3B,2BAA2B;IADvC,IAAA,qBAAc,EAAC,4DAA2B,CAAC;qCAKH,qDAAwB;QACxB,oDAAuB;GALnD,2BAA2B,CAiDvC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { TransactionPrismaService } from '../../../../../infrastructure/database/transaction-prisma.service';
|
|
2
|
+
import { UpdateRowsCommand } from '../../../../../features/draft/commands/impl/transactional/update-rows.command';
|
|
3
|
+
import { DraftContextService } from '../../../../../features/draft/draft-context.service';
|
|
4
|
+
import { DraftRowsRequestDto } from '../../../../../features/draft/draft-request-dto/rows-request.dto';
|
|
5
|
+
import { DraftTableRequestDto } from '../../../../../features/draft/draft-request-dto/table-request.dto';
|
|
6
|
+
import { DraftHandler } from '../../../../../features/draft/draft.handler';
|
|
7
|
+
import { DraftTransactionalCommands } from '../../../../../features/draft/draft.transactional.commands';
|
|
8
|
+
export declare class UpdateRowsHandler extends DraftHandler<UpdateRowsCommand, void> {
|
|
9
|
+
protected transactionService: TransactionPrismaService;
|
|
10
|
+
protected draftContext: DraftContextService;
|
|
11
|
+
protected tableRequestDto: DraftTableRequestDto;
|
|
12
|
+
protected rowsRequestDto: DraftRowsRequestDto;
|
|
13
|
+
protected draftTransactionalCommands: DraftTransactionalCommands;
|
|
14
|
+
constructor(transactionService: TransactionPrismaService, draftContext: DraftContextService, tableRequestDto: DraftTableRequestDto, rowsRequestDto: DraftRowsRequestDto, draftTransactionalCommands: DraftTransactionalCommands);
|
|
15
|
+
protected handler({ data: input }: UpdateRowsCommand): Promise<void>;
|
|
16
|
+
private updateDraftRow;
|
|
17
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.UpdateRowsHandler = void 0;
|
|
13
|
+
const common_1 = require("@nestjs/common");
|
|
14
|
+
const cqrs_1 = require("@nestjs/cqrs");
|
|
15
|
+
const transaction_prisma_service_1 = require("../../../../../infrastructure/database/transaction-prisma.service");
|
|
16
|
+
const update_rows_command_1 = require("../../impl/transactional/update-rows.command");
|
|
17
|
+
const draft_context_service_1 = require("../../../draft-context.service");
|
|
18
|
+
const rows_request_dto_1 = require("../../../draft-request-dto/rows-request.dto");
|
|
19
|
+
const table_request_dto_1 = require("../../../draft-request-dto/table-request.dto");
|
|
20
|
+
const draft_handler_1 = require("../../../draft.handler");
|
|
21
|
+
const draft_transactional_commands_1 = require("../../../draft.transactional.commands");
|
|
22
|
+
let UpdateRowsHandler = class UpdateRowsHandler extends draft_handler_1.DraftHandler {
|
|
23
|
+
constructor(transactionService, draftContext, tableRequestDto, rowsRequestDto, draftTransactionalCommands) {
|
|
24
|
+
super(transactionService, draftContext);
|
|
25
|
+
this.transactionService = transactionService;
|
|
26
|
+
this.draftContext = draftContext;
|
|
27
|
+
this.tableRequestDto = tableRequestDto;
|
|
28
|
+
this.rowsRequestDto = rowsRequestDto;
|
|
29
|
+
this.draftTransactionalCommands = draftTransactionalCommands;
|
|
30
|
+
}
|
|
31
|
+
async handler({ data: input }) {
|
|
32
|
+
const { revisionId, tableId, rows } = input;
|
|
33
|
+
await this.draftTransactionalCommands.resolveDraftRevision(revisionId);
|
|
34
|
+
await this.draftTransactionalCommands.validateNotSystemTable(tableId);
|
|
35
|
+
await this.draftTransactionalCommands.validateData({
|
|
36
|
+
revisionId,
|
|
37
|
+
tableId,
|
|
38
|
+
tableSchema: input.tableSchema,
|
|
39
|
+
rows: rows,
|
|
40
|
+
});
|
|
41
|
+
await this.draftTransactionalCommands.getOrCreateDraftTable(tableId);
|
|
42
|
+
await this.draftTransactionalCommands.getOrCreateDraftRows(rows.map((row) => row.rowId));
|
|
43
|
+
const rowIdToVersionIdMap = new Map(this.rowsRequestDto.rows.map((row) => [row.id, row.versionId]));
|
|
44
|
+
await Promise.all(rows.map((row) => {
|
|
45
|
+
const versionId = rowIdToVersionIdMap.get(row.rowId);
|
|
46
|
+
if (!versionId) {
|
|
47
|
+
throw new common_1.BadRequestException('Invalid versionId');
|
|
48
|
+
}
|
|
49
|
+
return this.updateDraftRow(versionId, row.data);
|
|
50
|
+
}));
|
|
51
|
+
}
|
|
52
|
+
async updateDraftRow(versionId, data) {
|
|
53
|
+
return this.transaction.row.update({
|
|
54
|
+
where: {
|
|
55
|
+
versionId,
|
|
56
|
+
},
|
|
57
|
+
data: {
|
|
58
|
+
data,
|
|
59
|
+
},
|
|
60
|
+
select: {
|
|
61
|
+
versionId: true,
|
|
62
|
+
},
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
exports.UpdateRowsHandler = UpdateRowsHandler;
|
|
67
|
+
exports.UpdateRowsHandler = UpdateRowsHandler = __decorate([
|
|
68
|
+
(0, cqrs_1.CommandHandler)(update_rows_command_1.UpdateRowsCommand),
|
|
69
|
+
__metadata("design:paramtypes", [transaction_prisma_service_1.TransactionPrismaService,
|
|
70
|
+
draft_context_service_1.DraftContextService,
|
|
71
|
+
table_request_dto_1.DraftTableRequestDto,
|
|
72
|
+
rows_request_dto_1.DraftRowsRequestDto,
|
|
73
|
+
draft_transactional_commands_1.DraftTransactionalCommands])
|
|
74
|
+
], UpdateRowsHandler);
|
|
75
|
+
//# sourceMappingURL=update-rows.handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-rows.handler.js","sourceRoot":"","sources":["../../../../../../../src/features/draft/commands/handlers/transactional/update-rows.handler.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAqD;AACrD,uCAA8C;AAE9C,kHAAkG;AAClG,sFAAuG;AACvG,0EAA+E;AAC/E,kFAA4F;AAC5F,oFAA8F;AAC9F,0DAAgE;AAChE,wFAA6F;AAGtF,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,4BAAqC;IAC1E,YACY,kBAA4C,EAC5C,YAAiC,EACjC,eAAqC,EACrC,cAAmC,EACnC,0BAAsD;QAEhE,KAAK,CAAC,kBAAkB,EAAE,YAAY,CAAC,CAAC;QAN9B,uBAAkB,GAAlB,kBAAkB,CAA0B;QAC5C,iBAAY,GAAZ,YAAY,CAAqB;QACjC,oBAAe,GAAf,eAAe,CAAsB;QACrC,mBAAc,GAAd,cAAc,CAAqB;QACnC,+BAA0B,GAA1B,0BAA0B,CAA4B;IAGlE,CAAC;IAES,KAAK,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,KAAK,EAAqB;QACxD,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;QAE5C,MAAM,IAAI,CAAC,0BAA0B,CAAC,oBAAoB,CAAC,UAAU,CAAC,CAAC;QACvE,MAAM,IAAI,CAAC,0BAA0B,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC;QACtE,MAAM,IAAI,CAAC,0BAA0B,CAAC,YAAY,CAAC;YACjD,UAAU;YACV,OAAO;YACP,WAAW,EAAE,KAAK,CAAC,WAAW;YAC9B,IAAI,EAAE,IAAI;SACX,CAAC,CAAC;QAEH,MAAM,IAAI,CAAC,0BAA0B,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC;QACrE,MAAM,IAAI,CAAC,0BAA0B,CAAC,oBAAoB,CACxD,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,CAC7B,CAAC;QAEF,MAAM,mBAAmB,GAAG,IAAI,GAAG,CACjC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,SAAS,CAAC,CAAC,CAC/D,CAAC;QAEF,MAAM,OAAO,CAAC,GAAG,CACf,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;YACf,MAAM,SAAS,GAAG,mBAAmB,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;YACrD,IAAI,CAAC,SAAS,EAAE,CAAC;gBACf,MAAM,IAAI,4BAAmB,CAAC,mBAAmB,CAAC,CAAC;YACrD,CAAC;YAED,OAAO,IAAI,CAAC,cAAc,CAAC,SAAS,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC;QAClD,CAAC,CAAC,CACH,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,cAAc,CAAC,SAAiB,EAAE,IAA2B;QACzE,OAAO,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,MAAM,CAAC;YACjC,KAAK,EAAE;gBACL,SAAS;aACV;YACD,IAAI,EAAE;gBACJ,IAAI;aACL;YACD,MAAM,EAAE;gBACN,SAAS,EAAE,IAAI;aAChB;SACF,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AAzDY,8CAAiB;4BAAjB,iBAAiB;IAD7B,IAAA,qBAAc,EAAC,uCAAiB,CAAC;qCAGA,qDAAwB;QAC9B,2CAAmB;QAChB,wCAAoB;QACrB,sCAAmB;QACP,yDAA0B;GANvD,iBAAiB,CAyD7B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ICommandHandler } from '@nestjs/cqrs';
|
|
2
|
+
import { ValidateDataCommand } from '../../../../../features/draft/commands/impl/transactional/validate-data.command';
|
|
3
|
+
import { DraftRevisionRequestDto } from '../../../../../features/draft/draft-request-dto/draft-revision-request.dto';
|
|
4
|
+
import { JsonSchemaValidatorService } from '../../../../../features/draft/json-schema-validator.service';
|
|
5
|
+
import { ShareTransactionalQueries } from '../../../../../features/share/share.transactional.queries';
|
|
6
|
+
export declare class ValidateDataHandler implements ICommandHandler<ValidateDataCommand> {
|
|
7
|
+
protected readonly revisionRequestDto: DraftRevisionRequestDto;
|
|
8
|
+
protected readonly shareTransactionalQueries: ShareTransactionalQueries;
|
|
9
|
+
protected readonly jsonSchemaValidator: JsonSchemaValidatorService;
|
|
10
|
+
constructor(revisionRequestDto: DraftRevisionRequestDto, shareTransactionalQueries: ShareTransactionalQueries, jsonSchemaValidator: JsonSchemaValidatorService);
|
|
11
|
+
execute({ data }: ValidateDataCommand): Promise<void>;
|
|
12
|
+
private getSchema;
|
|
13
|
+
private validateReferences;
|
|
14
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ValidateDataHandler = void 0;
|
|
13
|
+
const common_1 = require("@nestjs/common");
|
|
14
|
+
const cqrs_1 = require("@nestjs/cqrs");
|
|
15
|
+
const validate_data_command_1 = require("../../impl/transactional/validate-data.command");
|
|
16
|
+
const draft_revision_request_dto_1 = require("../../../draft-request-dto/draft-revision-request.dto");
|
|
17
|
+
const json_schema_validator_service_1 = require("../../../json-schema-validator.service");
|
|
18
|
+
const share_transactional_queries_1 = require("../../../../share/share.transactional.queries");
|
|
19
|
+
const system_tables_consts_1 = require("../../../../share/system-tables.consts");
|
|
20
|
+
const createJsonSchemaStore_1 = require("../../../../share/utils/schema/lib/createJsonSchemaStore");
|
|
21
|
+
const createJsonValueStore_1 = require("../../../../share/utils/schema/lib/createJsonValueStore");
|
|
22
|
+
const getReferencesFromValue_1 = require("../../../../share/utils/schema/lib/getReferencesFromValue");
|
|
23
|
+
let ValidateDataHandler = class ValidateDataHandler {
|
|
24
|
+
constructor(revisionRequestDto, shareTransactionalQueries, jsonSchemaValidator) {
|
|
25
|
+
this.revisionRequestDto = revisionRequestDto;
|
|
26
|
+
this.shareTransactionalQueries = shareTransactionalQueries;
|
|
27
|
+
this.jsonSchemaValidator = jsonSchemaValidator;
|
|
28
|
+
}
|
|
29
|
+
async execute({ data }) {
|
|
30
|
+
const schema = data.tableSchema || (await this.getSchema(data));
|
|
31
|
+
const schemaHash = this.jsonSchemaValidator.getSchemaHash(schema);
|
|
32
|
+
for (const itemData of data.rows) {
|
|
33
|
+
const { result, errors } = await this.jsonSchemaValidator.validate(itemData.data, schema, schemaHash);
|
|
34
|
+
if (!result) {
|
|
35
|
+
throw new common_1.BadRequestException('data is not valid', {
|
|
36
|
+
cause: errors,
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
if (!data.skipReferenceValidation) {
|
|
41
|
+
for (const itemData of data.rows) {
|
|
42
|
+
await this.validateReferences((0, getReferencesFromValue_1.getReferencesFromValue)((0, createJsonValueStore_1.createJsonValueStore)((0, createJsonSchemaStore_1.createJsonSchemaStore)(schema), itemData.rowId, itemData.data)));
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
async getSchema(data) {
|
|
47
|
+
const foundSystemMetaSchema = (0, system_tables_consts_1.findSchemaForSystemTables)(data.tableId);
|
|
48
|
+
if (foundSystemMetaSchema) {
|
|
49
|
+
return foundSystemMetaSchema;
|
|
50
|
+
}
|
|
51
|
+
return this.shareTransactionalQueries.getTableSchema(data.revisionId, data.tableId);
|
|
52
|
+
}
|
|
53
|
+
async validateReferences(references) {
|
|
54
|
+
return Promise.all(references.map(async (tableReference) => {
|
|
55
|
+
const table = await this.shareTransactionalQueries.findTableInRevisionOrThrow(this.revisionRequestDto.id, tableReference.tableId);
|
|
56
|
+
return this.shareTransactionalQueries.findRowsInTableOrThrow(table.versionId, tableReference.rowIds);
|
|
57
|
+
}));
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
exports.ValidateDataHandler = ValidateDataHandler;
|
|
61
|
+
exports.ValidateDataHandler = ValidateDataHandler = __decorate([
|
|
62
|
+
(0, cqrs_1.CommandHandler)(validate_data_command_1.ValidateDataCommand),
|
|
63
|
+
__metadata("design:paramtypes", [draft_revision_request_dto_1.DraftRevisionRequestDto,
|
|
64
|
+
share_transactional_queries_1.ShareTransactionalQueries,
|
|
65
|
+
json_schema_validator_service_1.JsonSchemaValidatorService])
|
|
66
|
+
], ValidateDataHandler);
|
|
67
|
+
//# sourceMappingURL=validate-data.handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-data.handler.js","sourceRoot":"","sources":["../../../../../../../src/features/draft/commands/handlers/transactional/validate-data.handler.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAqD;AACrD,uCAA+D;AAC/D,0FAA2G;AAC3G,sGAA0G;AAC1G,0FAA8F;AAC9F,+FAA2F;AAC3F,iFAAoF;AACpF,oGAAkG;AAClG,kGAAgG;AAChG,sGAGoE;AAK7D,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAG9B,YACqB,kBAA2C,EAC3C,yBAAoD,EACpD,mBAA+C;QAF/C,uBAAkB,GAAlB,kBAAkB,CAAyB;QAC3C,8BAAyB,GAAzB,yBAAyB,CAA2B;QACpD,wBAAmB,GAAnB,mBAAmB,CAA4B;IACjE,CAAC;IAEJ,KAAK,CAAC,OAAO,CAAC,EAAE,IAAI,EAAuB;QACzC,MAAM,MAAM,GAAG,IAAI,CAAC,WAAW,IAAI,CAAC,MAAM,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;QAChE,MAAM,UAAU,GAAG,IAAI,CAAC,mBAAmB,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;QAElE,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;YACjC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,IAAI,CAAC,mBAAmB,CAAC,QAAQ,CAChE,QAAQ,CAAC,IAAI,EACb,MAAM,EACN,UAAU,CACX,CAAC;YAEF,IAAI,CAAC,MAAM,EAAE,CAAC;gBACZ,MAAM,IAAI,4BAAmB,CAAC,mBAAmB,EAAE;oBACjD,KAAK,EAAE,MAAM;iBACd,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,uBAAuB,EAAE,CAAC;YAClC,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;gBAEjC,MAAM,IAAI,CAAC,kBAAkB,CAC3B,IAAA,+CAAsB,EACpB,IAAA,2CAAoB,EAClB,IAAA,6CAAqB,EAAC,MAAoB,CAAC,EAC3C,QAAQ,CAAC,KAAK,EACd,QAAQ,CAAC,IAAiB,CAC3B,CACF,CACF,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;IAEO,KAAK,CAAC,SAAS,CAAC,IAAiC;QACvD,MAAM,qBAAqB,GAAG,IAAA,gDAAyB,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAEtE,IAAI,qBAAqB,EAAE,CAAC;YAC1B,OAAO,qBAAqB,CAAC;QAC/B,CAAC;QAED,OAAO,IAAI,CAAC,yBAAyB,CAAC,cAAc,CAClD,IAAI,CAAC,UAAU,EACf,IAAI,CAAC,OAAO,CACb,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,kBAAkB,CAAC,UAAwC;QACvE,OAAO,OAAO,CAAC,GAAG,CAChB,UAAU,CAAC,GAAG,CAAC,KAAK,EAAE,cAAc,EAAE,EAAE;YACtC,MAAM,KAAK,GACT,MAAM,IAAI,CAAC,yBAAyB,CAAC,0BAA0B,CAC7D,IAAI,CAAC,kBAAkB,CAAC,EAAE,EAC1B,cAAc,CAAC,OAAO,CACvB,CAAC;YAEJ,OAAO,IAAI,CAAC,yBAAyB,CAAC,sBAAsB,CAC1D,KAAK,CAAC,SAAS,EACf,cAAc,CAAC,MAAM,CACtB,CAAC;QACJ,CAAC,CAAC,CACH,CAAC;IACJ,CAAC;CACF,CAAA;AAxEY,kDAAmB;8BAAnB,mBAAmB;IAD/B,IAAA,qBAAc,EAAC,2CAAmB,CAAC;qCAKO,oDAAuB;QAChB,uDAAyB;QAC/B,0DAA0B;GANzD,mBAAmB,CAwE/B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ICommandHandler } from '@nestjs/cqrs';
|
|
2
|
+
import { ValidateNotSystemTableCommand } from '../../../../../features/draft/commands/impl/transactional/validate-not-system-table.command';
|
|
3
|
+
import { DraftRevisionRequestDto } from '../../../../../features/draft/draft-request-dto/draft-revision-request.dto';
|
|
4
|
+
import { ShareTransactionalQueries } from '../../../../../features/share/share.transactional.queries';
|
|
5
|
+
export declare class ValidateNotSystemTableHandler implements ICommandHandler<ValidateNotSystemTableCommand> {
|
|
6
|
+
private readonly shareTransactionalQueries;
|
|
7
|
+
private readonly revisionRequestDto;
|
|
8
|
+
constructor(shareTransactionalQueries: ShareTransactionalQueries, revisionRequestDto: DraftRevisionRequestDto);
|
|
9
|
+
execute({ tableId }: ValidateNotSystemTableCommand): Promise<void>;
|
|
10
|
+
}
|
package/dist/src/features/draft/commands/handlers/transactional/validate-not-system-table.handler.js
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ValidateNotSystemTableHandler = void 0;
|
|
13
|
+
const common_1 = require("@nestjs/common");
|
|
14
|
+
const cqrs_1 = require("@nestjs/cqrs");
|
|
15
|
+
const validate_not_system_table_command_1 = require("../../impl/transactional/validate-not-system-table.command");
|
|
16
|
+
const draft_revision_request_dto_1 = require("../../../draft-request-dto/draft-revision-request.dto");
|
|
17
|
+
const share_transactional_queries_1 = require("../../../../share/share.transactional.queries");
|
|
18
|
+
let ValidateNotSystemTableHandler = class ValidateNotSystemTableHandler {
|
|
19
|
+
constructor(shareTransactionalQueries, revisionRequestDto) {
|
|
20
|
+
this.shareTransactionalQueries = shareTransactionalQueries;
|
|
21
|
+
this.revisionRequestDto = revisionRequestDto;
|
|
22
|
+
}
|
|
23
|
+
async execute({ tableId }) {
|
|
24
|
+
const table = await this.shareTransactionalQueries.findTableInRevisionOrThrow(this.revisionRequestDto.id, tableId);
|
|
25
|
+
if (table.system) {
|
|
26
|
+
throw new common_1.BadRequestException('Table is a system table');
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
exports.ValidateNotSystemTableHandler = ValidateNotSystemTableHandler;
|
|
31
|
+
exports.ValidateNotSystemTableHandler = ValidateNotSystemTableHandler = __decorate([
|
|
32
|
+
(0, cqrs_1.CommandHandler)(validate_not_system_table_command_1.ValidateNotSystemTableCommand),
|
|
33
|
+
__metadata("design:paramtypes", [share_transactional_queries_1.ShareTransactionalQueries,
|
|
34
|
+
draft_revision_request_dto_1.DraftRevisionRequestDto])
|
|
35
|
+
], ValidateNotSystemTableHandler);
|
|
36
|
+
//# sourceMappingURL=validate-not-system-table.handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-not-system-table.handler.js","sourceRoot":"","sources":["../../../../../../../src/features/draft/commands/handlers/transactional/validate-not-system-table.handler.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAqD;AACrD,uCAA+D;AAC/D,kHAAiI;AACjI,sGAA0G;AAC1G,+FAA2F;AAGpF,IAAM,6BAA6B,GAAnC,MAAM,6BAA6B;IAGxC,YACmB,yBAAoD,EACpD,kBAA2C;QAD3C,8BAAyB,GAAzB,yBAAyB,CAA2B;QACpD,uBAAkB,GAAlB,kBAAkB,CAAyB;IAC3D,CAAC;IAEJ,KAAK,CAAC,OAAO,CAAC,EAAE,OAAO,EAAiC;QACtD,MAAM,KAAK,GACT,MAAM,IAAI,CAAC,yBAAyB,CAAC,0BAA0B,CAC7D,IAAI,CAAC,kBAAkB,CAAC,EAAE,EAC1B,OAAO,CACR,CAAC;QAEJ,IAAI,KAAK,CAAC,MAAM,EAAE,CAAC;YACjB,MAAM,IAAI,4BAAmB,CAAC,yBAAyB,CAAC,CAAC;QAC3D,CAAC;IACH,CAAC;CACF,CAAA;AAnBY,sEAA6B;wCAA7B,6BAA6B;IADzC,IAAA,qBAAc,EAAC,iEAA6B,CAAC;qCAKE,uDAAyB;QAChC,oDAAuB;GALnD,6BAA6B,CAmBzC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ICommandHandler } from '@nestjs/cqrs';
|
|
2
|
+
import { ValidateSchemaCommand } from '../../../../../features/draft/commands/impl/transactional/validate-schema.command';
|
|
3
|
+
import { DraftRevisionRequestDto } from '../../../../../features/draft/draft-request-dto/draft-revision-request.dto';
|
|
4
|
+
import { JsonSchemaValidatorService } from '../../../../../features/draft/json-schema-validator.service';
|
|
5
|
+
import { ShareTransactionalQueries } from '../../../../../features/share/share.transactional.queries';
|
|
6
|
+
export declare class ValidateSchemaHandler implements ICommandHandler<ValidateSchemaCommand> {
|
|
7
|
+
protected readonly revisionRequestDto: DraftRevisionRequestDto;
|
|
8
|
+
protected readonly shareTransactionalQueries: ShareTransactionalQueries;
|
|
9
|
+
protected readonly jsonSchemaValidator: JsonSchemaValidatorService;
|
|
10
|
+
constructor(revisionRequestDto: DraftRevisionRequestDto, shareTransactionalQueries: ShareTransactionalQueries, jsonSchemaValidator: JsonSchemaValidatorService);
|
|
11
|
+
execute({ schema }: ValidateSchemaCommand): Promise<void>;
|
|
12
|
+
private validateSchema;
|
|
13
|
+
private validateReferences;
|
|
14
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ValidateSchemaHandler = void 0;
|
|
13
|
+
const common_1 = require("@nestjs/common");
|
|
14
|
+
const cqrs_1 = require("@nestjs/cqrs");
|
|
15
|
+
const validate_schema_command_1 = require("../../impl/transactional/validate-schema.command");
|
|
16
|
+
const draft_revision_request_dto_1 = require("../../../draft-request-dto/draft-revision-request.dto");
|
|
17
|
+
const json_schema_validator_service_1 = require("../../../json-schema-validator.service");
|
|
18
|
+
const share_transactional_queries_1 = require("../../../../share/share.transactional.queries");
|
|
19
|
+
const createJsonSchemaStore_1 = require("../../../../share/utils/schema/lib/createJsonSchemaStore");
|
|
20
|
+
const getReferencesFromSchema_1 = require("../../../../share/utils/schema/lib/getReferencesFromSchema");
|
|
21
|
+
let ValidateSchemaHandler = class ValidateSchemaHandler {
|
|
22
|
+
constructor(revisionRequestDto, shareTransactionalQueries, jsonSchemaValidator) {
|
|
23
|
+
this.revisionRequestDto = revisionRequestDto;
|
|
24
|
+
this.shareTransactionalQueries = shareTransactionalQueries;
|
|
25
|
+
this.jsonSchemaValidator = jsonSchemaValidator;
|
|
26
|
+
}
|
|
27
|
+
async execute({ schema }) {
|
|
28
|
+
const { result, errors } = this.jsonSchemaValidator.validateMetaSchema(schema);
|
|
29
|
+
const store = this.validateSchema(schema);
|
|
30
|
+
await this.validateReferences((0, getReferencesFromSchema_1.getReferencesFromSchema)(store));
|
|
31
|
+
if (!result) {
|
|
32
|
+
throw new common_1.BadRequestException('schema is not valid', {
|
|
33
|
+
cause: errors,
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
validateSchema(schema) {
|
|
38
|
+
return (0, createJsonSchemaStore_1.createJsonSchemaStore)(schema);
|
|
39
|
+
}
|
|
40
|
+
async validateReferences(tableReferences) {
|
|
41
|
+
return Promise.all(tableReferences.map((tableReference) => this.shareTransactionalQueries.findTableInRevisionOrThrow(this.revisionRequestDto.id, tableReference)));
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
exports.ValidateSchemaHandler = ValidateSchemaHandler;
|
|
45
|
+
exports.ValidateSchemaHandler = ValidateSchemaHandler = __decorate([
|
|
46
|
+
(0, cqrs_1.CommandHandler)(validate_schema_command_1.ValidateSchemaCommand),
|
|
47
|
+
__metadata("design:paramtypes", [draft_revision_request_dto_1.DraftRevisionRequestDto,
|
|
48
|
+
share_transactional_queries_1.ShareTransactionalQueries,
|
|
49
|
+
json_schema_validator_service_1.JsonSchemaValidatorService])
|
|
50
|
+
], ValidateSchemaHandler);
|
|
51
|
+
//# sourceMappingURL=validate-schema.handler.js.map
|
package/dist/src/features/draft/commands/handlers/transactional/validate-schema.handler.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-schema.handler.js","sourceRoot":"","sources":["../../../../../../../src/features/draft/commands/handlers/transactional/validate-schema.handler.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAqD;AACrD,uCAA+D;AAC/D,8FAA+G;AAC/G,sGAA0G;AAC1G,0FAA8F;AAC9F,+FAA2F;AAC3F,oGAAkG;AAClG,wGAAsG;AAI/F,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;IAGhC,YACqB,kBAA2C,EAC3C,yBAAoD,EACpD,mBAA+C;QAF/C,uBAAkB,GAAlB,kBAAkB,CAAyB;QAC3C,8BAAyB,GAAzB,yBAAyB,CAA2B;QACpD,wBAAmB,GAAnB,mBAAmB,CAA4B;IACjE,CAAC;IAEJ,KAAK,CAAC,OAAO,CAAC,EAAE,MAAM,EAAyB;QAC7C,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GACtB,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC;QAEtD,MAAM,KAAK,GAAG,IAAI,CAAC,cAAc,CAAC,MAAoB,CAAC,CAAC;QACxD,MAAM,IAAI,CAAC,kBAAkB,CAAC,IAAA,iDAAuB,EAAC,KAAK,CAAC,CAAC,CAAC;QAE9D,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,MAAM,IAAI,4BAAmB,CAAC,qBAAqB,EAAE;gBACnD,KAAK,EAAE,MAAM;aACd,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IAEO,cAAc,CAAC,MAAkB;QACvC,OAAO,IAAA,6CAAqB,EAAC,MAAM,CAAC,CAAC;IACvC,CAAC;IAEO,KAAK,CAAC,kBAAkB,CAAC,eAAyB;QACxD,OAAO,OAAO,CAAC,GAAG,CAChB,eAAe,CAAC,GAAG,CAAC,CAAC,cAAc,EAAE,EAAE,CACrC,IAAI,CAAC,yBAAyB,CAAC,0BAA0B,CACvD,IAAI,CAAC,kBAAkB,CAAC,EAAE,EAC1B,cAAc,CACf,CACF,CACF,CAAC;IACJ,CAAC;CACF,CAAA;AArCY,sDAAqB;gCAArB,qBAAqB;IADjC,IAAA,qBAAc,EAAC,+CAAqB,CAAC;qCAKK,oDAAuB;QAChB,uDAAyB;QAC/B,0DAA0B;GANzD,qBAAqB,CAqCjC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TransactionPrismaService } from '../../../../infrastructure/database/transaction-prisma.service';
|
|
2
|
+
import { UpdateRowCommand } from '../../../../features/draft/commands/impl/update-row.command';
|
|
3
|
+
import { UpdateRowHandlerReturnType } from '../../../../features/draft/commands/types/update-row.handler.types';
|
|
4
|
+
import { DraftContextService } from '../../../../features/draft/draft-context.service';
|
|
5
|
+
import { DraftRowRequestDto } from '../../../../features/draft/draft-request-dto/row-request.dto';
|
|
6
|
+
import { DraftTableRequestDto } from '../../../../features/draft/draft-request-dto/table-request.dto';
|
|
7
|
+
import { DraftHandler } from '../../../../features/draft/draft.handler';
|
|
8
|
+
import { DraftTransactionalCommands } from '../../../../features/draft/draft.transactional.commands';
|
|
9
|
+
export declare class UpdateRowHandler extends DraftHandler<UpdateRowCommand, UpdateRowHandlerReturnType> {
|
|
10
|
+
protected readonly transactionService: TransactionPrismaService;
|
|
11
|
+
protected readonly draftContext: DraftContextService;
|
|
12
|
+
protected readonly tableRequestDto: DraftTableRequestDto;
|
|
13
|
+
protected readonly rowRequestDto: DraftRowRequestDto;
|
|
14
|
+
protected readonly draftTransactionalCommands: DraftTransactionalCommands;
|
|
15
|
+
constructor(transactionService: TransactionPrismaService, draftContext: DraftContextService, tableRequestDto: DraftTableRequestDto, rowRequestDto: DraftRowRequestDto, draftTransactionalCommands: DraftTransactionalCommands);
|
|
16
|
+
protected handler({ data: input, }: UpdateRowCommand): Promise<UpdateRowHandlerReturnType>;
|
|
17
|
+
private updateDraftRow;
|
|
18
|
+
}
|