Commit Graph

726 Commits

Author SHA1 Message Date
a5ab883957 create orphan community and space for project 2024-12-18 08:22:53 +04:00
885d43d834 Merge branch 'dev' of https://github.com/SyncrowIOT/backend into feat/link-space-to-space-model 2024-12-17 20:41:08 +04:00
ef33b3e5f6 created abstract class 2024-12-17 20:37:29 +04:00
e35cefb03b added base service 2024-12-17 19:21:00 +04:00
d1050babd1 space product service 2024-12-17 19:08:48 +04:00
461a0e6036 Add RoleModule and clean up role.controller imports 2024-12-17 02:24:21 -06:00
b3e8af7540 added subspace product item 2024-12-17 12:18:03 +04:00
74fb06f67e Fix import case sensitivity in InviteUserRepositoryModule 2024-12-17 02:16:01 -06:00
c27aca1196 Fix inconsistent casing in Invite-user module paths 2024-12-17 02:13:34 -06:00
4ce7620584 Fix typo in import path for repositories 2024-12-17 01:48:36 -06:00
8f6e5e31e2 Update dependencies and refactor import statements 2024-12-17 01:11:53 -06:00
61dae6d3f5 Remove debug console log from PermissionsGuard 2024-12-16 19:57:35 -06:00
6f3891a68e Add invitedBy field to InviteUserDto and InviteUserEntity 2024-12-16 19:56:37 -06:00
9de1d7134a Fix inconsistent casing in file imports 2024-12-16 19:41:51 -06:00
c1af930dc9 Fix inconsistent casing in import paths for Invite-user module 2024-12-16 19:36:40 -06:00
d169999675 Replace JwtAuthGuard with PermissionsGuard and add specific permissions 2024-12-16 00:19:34 -06:00
64027d3a16 Add permission and role management features 2024-12-16 00:19:14 -06:00
57397e653a Add Invite User Module and Update User and Space Entities
This commit introduces a new module for handling user invitations, including DTOs, entities, and repositories. It also updates the User and Space entities to include relationships with the new Invite User entities.
2024-12-16 00:17:50 -06:00
852299a273 Refactor user role handling to use single role object 2024-12-16 00:16:24 -06:00
3099e905e2 subspace product repository created 2024-12-15 19:59:36 +04:00
4fb4e32c3d folder restructuring 2024-12-13 15:08:50 +04:00
1373dfb0ce subspace model also has product model and item 2024-12-13 15:00:33 +04:00
1b9b79ba6b renamed dtos 2024-12-13 09:48:33 +04:00
b8590841a8 aadded product item to space 2024-12-12 14:37:44 +04:00
72bebe3b06 reduced duplication 2024-12-12 09:29:25 +04:00
ba002ae474 reduced code duplication 2024-12-12 09:21:56 +04:00
8af29cddfd add validation to check both space model and products, subspaces are not created 2024-12-11 17:01:23 +04:00
a2ee7a0001 added space model details to space 2024-12-11 16:45:09 +04:00
88a4b26919 added entities for space product item 2024-12-11 15:27:06 +04:00
72c8445d24 updated create space model with query runner 2024-12-11 13:23:37 +04:00
4f4fd7b734 added count validation 2024-12-11 12:03:09 +04:00
69d0065ee6 added unique subspace name 2024-12-11 11:46:30 +04:00
02faca3397 added space model controller for create 2024-12-11 11:06:41 +04:00
b2a422f71b created space model create service 2024-12-11 10:51:17 +04:00
476e5cf9ac remove unused 2024-12-09 17:59:52 +04:00
e61132561b changed endpoint for subspace device 2024-12-09 17:56:18 +04:00
30c2294224 updated endpoint of subspaces 2024-12-09 17:52:15 +04:00
dc9c67b6c0 updated root of endoint of space device from project 2024-12-09 17:47:26 +04:00
dade201752 api endpoints for space user controller base root has been mapped from project 2024-12-09 17:44:22 +04:00
bb031dd15b updated space scee endpoint to match project entity 2024-12-09 17:37:22 +04:00
cdc95056ae updated space endpoint to follow project 2024-12-09 17:33:19 +04:00
19825540dd updated endpoint and validation to manage project entity in communty CRUD 2024-12-09 16:22:54 +04:00
1e5b61e3e0 added project endpoints 2024-12-09 13:26:17 +04:00
459e971498 added dto 2024-12-09 12:44:57 +04:00
768ea7cad8 add update project 2024-12-09 12:26:53 +04:00
7f739b88d8 Project service to CRUD project entity 2024-12-09 11:48:53 +04:00
5a698f8087 Add updateAutomation method and update external service handling 2024-12-03 03:10:32 -06:00
b507bcbdf1 Add RULE_TRIGGER to ActionExecutorEnum and introduce ActionTypeEnum 2024-12-02 05:25:11 -06:00
5feabb8049 Update AutomationService to use SceneRepository for scene details 2024-12-02 01:14:32 -06:00
88615348c9 Remove type filter from getAllIcons method 2024-12-01 03:24:22 -06:00