@revisium/core 1.0.0 → 1.0.2

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.
Files changed (56) hide show
  1. package/dist/package.json +1 -1
  2. package/dist/prisma/migrations/20250515034913_project_is_deleted/migration.sql +2 -0
  3. package/dist/prisma/migrations/20250518082103_project_remove_unique/migration.sql +2 -0
  4. package/dist/prisma/migrations/migration_lock.toml +1 -1
  5. package/dist/prisma/schema.prisma +1 -2
  6. package/dist/src/features/auth/commands/handlers/check-project-permission.handler.js +2 -1
  7. package/dist/src/features/auth/commands/handlers/check-project-permission.handler.js.map +1 -1
  8. package/dist/src/features/branch/quieries/handlers/get-branches.handler.d.ts +3 -11
  9. package/dist/src/features/branch/quieries/handlers/get-branches.handler.js +0 -6
  10. package/dist/src/features/branch/quieries/handlers/get-branches.handler.js.map +1 -1
  11. package/dist/src/features/branch/quieries/handlers/get-project-by-branch.handler.d.ts +1 -0
  12. package/dist/src/features/branch/quieries/impl/get-branches.query.d.ts +4 -0
  13. package/dist/src/features/branch/quieries/impl/get-branches.query.js.map +1 -1
  14. package/dist/src/features/draft/commands/handlers/__tests__/utils.js +16 -4
  15. package/dist/src/features/draft/commands/handlers/__tests__/utils.js.map +1 -1
  16. package/dist/src/features/endpoint/queries/handlers/get-created-endpoint.handler.d.ts +1 -1
  17. package/dist/src/features/organization/queries/handlers/get-projects-by-organization-id.handler.d.ts +1 -0
  18. package/dist/src/features/organization/queries/handlers/get-projects-by-organization-id.handler.js +10 -6
  19. package/dist/src/features/organization/queries/handlers/get-projects-by-organization-id.handler.js.map +1 -1
  20. package/dist/src/features/organization/queries/impl/get-projects-by-organization-id.query.d.ts +1 -0
  21. package/dist/src/features/project/commands/handlers/__tests__/utils.d.ts +2 -0
  22. package/dist/src/features/project/commands/handlers/__tests__/utils.js +8 -1
  23. package/dist/src/features/project/commands/handlers/__tests__/utils.js.map +1 -1
  24. package/dist/src/features/project/commands/handlers/add-user-to-project.handler.js +4 -5
  25. package/dist/src/features/project/commands/handlers/add-user-to-project.handler.js.map +1 -1
  26. package/dist/src/features/project/commands/handlers/create-project.handler.d.ts +1 -0
  27. package/dist/src/features/project/commands/handlers/create-project.handler.js +14 -0
  28. package/dist/src/features/project/commands/handlers/create-project.handler.js.map +1 -1
  29. package/dist/src/features/project/commands/handlers/delete-project.handler.d.ts +2 -2
  30. package/dist/src/features/project/commands/handlers/delete-project.handler.js +4 -1
  31. package/dist/src/features/project/commands/handlers/delete-project.handler.js.map +1 -1
  32. package/dist/src/features/project/commands/handlers/remove-user-from-project.handler.js +4 -5
  33. package/dist/src/features/project/commands/handlers/remove-user-from-project.handler.js.map +1 -1
  34. package/dist/src/features/project/commands/impl/delete-project.command.d.ts +2 -0
  35. package/dist/src/features/project/queries/handlers/get-project-by-id.handler.d.ts +3 -2
  36. package/dist/src/features/project/queries/handlers/get-project-by-id.handler.js +8 -3
  37. package/dist/src/features/project/queries/handlers/get-project-by-id.handler.js.map +1 -1
  38. package/dist/src/features/project/queries/handlers/get-project.handler.d.ts +10 -3
  39. package/dist/src/features/project/queries/handlers/get-project.handler.js +1 -1
  40. package/dist/src/features/project/queries/handlers/get-project.handler.js.map +1 -1
  41. package/dist/src/features/project/queries/impl/get-project-by-id.query.d.ts +1 -0
  42. package/dist/src/features/project/queries/impl/get-project.query.d.ts +3 -0
  43. package/dist/src/features/project/queries/impl/get-project.query.js.map +1 -1
  44. package/dist/src/features/row/queries/handlers/resolve-row-count-foreign-keys-by.handler.d.ts +1 -1
  45. package/dist/src/features/row/queries/handlers/resolve-row-count-foreign-keys-to.handler.d.ts +1 -1
  46. package/dist/src/features/share/queries/handlers/transactional/find-project-in-organization-or-throw.handler.js +4 -5
  47. package/dist/src/features/share/queries/handlers/transactional/find-project-in-organization-or-throw.handler.js.map +1 -1
  48. package/dist/src/features/table/queries/handlers/resolve-table-count-foreign-keys-by.handler.d.ts +1 -1
  49. package/dist/src/features/table/queries/handlers/resolve-table-count-foreign-keys-to.handler.d.ts +1 -1
  50. package/dist/src/features/user/queries/handlers/get-projects-by-user-id.handler.d.ts +1 -0
  51. package/dist/src/features/user/queries/handlers/get-projects-by-user-id.handler.js +2 -1
  52. package/dist/src/features/user/queries/handlers/get-projects-by-user-id.handler.js.map +1 -1
  53. package/dist/src/infrastructure/database/transaction-prisma.service.d.ts +1 -1
  54. package/dist/src/infrastructure/database/transaction-prisma.service.js.map +1 -1
  55. package/dist/tsconfig.build.tsbuildinfo +1 -1
  56. package/package.json +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revisium/core",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Revisium is a tool (UI/API) inspired by JSON (JSON Schema) and Git, designed to provide a flexible and low-level headless CMS solution.",
5
5
  "private": false,
6
6
  "homepage": "https://revisium.io",