Commit Graph
611 Commits
Author SHA1 Message Date
faris Aljohari d169999675 Replace JwtAuthGuard with PermissionsGuard and add specific permissions 2024-12-16 00:19:34 -06:00
faris Aljohari 64027d3a16 Add permission and role management features 2024-12-16 00:19:14 -06:00
faris Aljohari 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
faris Aljohari 852299a273 Refactor user role handling to use single role object 2024-12-16 00:16:24 -06:00
hannathkadher 3099e905e2 subspace product repository created 2024-12-15 19:59:36 +04:00
hannathkadher 4fb4e32c3d folder restructuring 2024-12-13 15:08:50 +04:00
hannathkadher 1373dfb0ce subspace model also has product model and item 2024-12-13 15:00:33 +04:00
hannathkadher 1b9b79ba6b renamed dtos 2024-12-13 09:48:33 +04:00
hannathkadher b8590841a8 aadded product item to space 2024-12-12 14:37:44 +04:00
hannathkadher 72bebe3b06 reduced duplication 2024-12-12 09:29:25 +04:00
hannathkadher ba002ae474 reduced code duplication 2024-12-12 09:21:56 +04:00
hannathkadher 8af29cddfd add validation to check both space model and products, subspaces are not created 2024-12-11 17:01:23 +04:00
hannathkadher a2ee7a0001 added space model details to space 2024-12-11 16:45:09 +04:00
hannathkadher 88a4b26919 added entities for space product item 2024-12-11 15:27:06 +04:00
hannathkadher 72c8445d24 updated create space model with query runner 2024-12-11 13:23:37 +04:00
hannathkadher 4f4fd7b734 added count validation 2024-12-11 12:03:09 +04:00
hannathkadher 69d0065ee6 added unique subspace name 2024-12-11 11:46:30 +04:00
hannathkadher 02faca3397 added space model controller for create 2024-12-11 11:06:41 +04:00
hannathkadher b2a422f71b created space model create service 2024-12-11 10:51:17 +04:00
hannathkadher 476e5cf9ac remove unused 2024-12-09 17:59:52 +04:00
hannathkadher e61132561b changed endpoint for subspace device 2024-12-09 17:56:18 +04:00
hannathkadher 30c2294224 updated endpoint of subspaces 2024-12-09 17:52:15 +04:00
hannathkadher dc9c67b6c0 updated root of endoint of space device from project 2024-12-09 17:47:26 +04:00
hannathkadher dade201752 api endpoints for space user controller base root has been mapped from project 2024-12-09 17:44:22 +04:00
hannathkadher bb031dd15b updated space scee endpoint to match project entity 2024-12-09 17:37:22 +04:00
hannathkadher cdc95056ae updated space endpoint to follow project 2024-12-09 17:33:19 +04:00
hannathkadher 19825540dd updated endpoint and validation to manage project entity in communty CRUD 2024-12-09 16:22:54 +04:00
hannathkadher 1e5b61e3e0 added project endpoints 2024-12-09 13:26:17 +04:00
hannathkadher 459e971498 added dto 2024-12-09 12:44:57 +04:00
hannathkadher 768ea7cad8 add update project 2024-12-09 12:26:53 +04:00
hannathkadher 7f739b88d8 Project service to CRUD project entity 2024-12-09 11:48:53 +04:00
faris Aljohari 5a698f8087 Add updateAutomation method and update external service handling 2024-12-03 03:10:32 -06:00
faris Aljohari b507bcbdf1 Add RULE_TRIGGER to ActionExecutorEnum and introduce ActionTypeEnum 2024-12-02 05:25:11 -06:00
faris Aljohari 5feabb8049 Update AutomationService to use SceneRepository for scene details 2024-12-02 01:14:32 -06:00
faris Aljohari 88615348c9 Remove type filter from getAllIcons method 2024-12-01 03:24:22 -06:00
faris Aljohari b143e50fba handle empty return when get scene switch 2024-11-30 20:26:34 -06:00
faris Aljohari e0ec9f20ff Add method to update TapToRun scene in Tuya and integrate it in SceneService 2024-11-30 20:25:59 -06:00
faris Aljohari 17b300183c Add productUuid and productType to action when device is present 2024-11-29 01:40:59 -06:00
faris Aljohari b3f4507a70 Add productUuid and productType to action and condition 2024-11-29 01:40:52 -06:00
faris Aljohari 4d2257a3e3 Add endpoint to delete scenes by device UUID and switch name 2024-11-27 03:17:56 -06:00
faris Aljohari bae48c02fe Add SceneDeviceRepository and update deleteScene method 2024-11-26 22:26:46 -06:00
faris Aljohari 13983d61aa Remove unnecessary check for scenesData length 2024-11-25 19:29:07 -06:00
faris Aljohari 06c10c39ee Include space relation in scene query 2024-11-25 01:11:51 -06:00
faris Aljohari a37af93696 Include space relation in findScene method 2024-11-25 01:10:32 -06:00
faris Aljohari c90b07fab4 Update getScene method to accept sceneUuid and use it for spaceId 2024-11-25 01:01:31 -06:00
faris Aljohari 9721cb765f Update scene service to use space object instead of spaceUuid 2024-11-24 23:43:27 -06:00
faris Aljohari 3437493282 Merge branch 'dev' into delete-scene-device-endpoint 2024-11-24 23:28:56 -06:00
faris Aljohari 86923461eb Merge pull request #154 from SyncrowIOT/SP-447-be-lack-of-documentation
Sp 447 be lack of documentation
2024-11-24 23:26:35 -06:00
faris Aljohari 0e4f39931b Merge pull request #156 from SyncrowIOT/fix-issue-when-get-devices
finished skip any error from tuya device
2024-11-24 23:26:22 -06:00
faris Aljohari 99bacbe202 finished skip any error from tuya device 2024-11-24 17:47:47 -06:00