Commit Graph

36 Commits

Author SHA1 Message Date
689a38ee0c Revamp/space management (#409)
* task: add getCommunitiesV2

* task: update getOneSpace API to match revamp structure

* refactor: implement modifications to pace management APIs

* refactor: remove space link
2025-06-18 10:34:29 +03:00
f2ed04f206 feat: add SpaceDailyOccupancyDuration entity, DTO, and repository for occupancy tracking 2025-06-12 02:49:59 -06:00
2cb77504ca Add PollutantType enum and update AQI-related entities and services to use it 2025-06-11 00:28:00 -06:00
8030644fee refactor: rename presence sensor entities and update related references 2025-05-09 13:11:14 +03:00
c677be400c added community info and tag 2025-04-17 10:41:39 +04:00
e9a3cd14a8 fixed entity relation, removed circular dependency 2025-02-10 20:36:29 +04:00
4c7208cd5f added subspace and space product allocation entity 2025-02-10 12:58:49 +04:00
0145f72651 Add InviteSpaceEntity and InviteSpaceRepository 2025-01-09 05:37:40 -06:00
a74a0db26e updated space update 2024-12-25 10:52:48 +04:00
1e47fffc0a cleaned space entities 2024-12-24 08:43:25 +04:00
97b53bf417 space cleanup 2024-12-24 08:12:56 +04:00
23be781d2e added disabled to all space entities 2024-12-19 10:25:25 +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
c27aca1196 Fix inconsistent casing in Invite-user module paths 2024-12-17 02:13:34 -06:00
c1af930dc9 Fix inconsistent casing in import paths for Invite-user module 2024-12-16 19:36:40 -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
b8590841a8 aadded product item to space 2024-12-12 14:37:44 +04:00
6d8c9a0ec0 added the relation between models and space 2024-12-11 16:06:51 +04:00
7b3c929aa6 finished delete switch scene device 2024-11-23 20:50:34 -06:00
221fd47e2e fixed delete bug 2024-11-21 16:11:53 +04:00
c0b8e0d779 merged with space-product 2024-11-21 08:20:33 +04:00
9fdee1540b Merge branch 'feat/add-product-space' into feat/add-space-position 2024-11-20 21:46:33 +04:00
2ed5d9dce7 Added space product relation 2024-11-20 16:16:17 +04:00
857b02b97b added space link entity 2024-11-20 09:11:22 +04:00
a1f74938fc removed unused entity 2024-11-15 13:27:20 +04:00
adacc60a40 get devices 2024-10-30 19:07:26 +04:00
6d6560b3e0 Added subspace entity 2024-10-25 13:59:25 +04:00
581618296d fixed space name 2024-10-21 10:34:55 +04:00
d14d3b5ba2 added community space 2024-10-15 11:38:49 +04:00
8f761168b4 changed entity and type structure 2024-08-03 23:50:49 +03:00
5319d76d41 Add spaceTuyaUuid field to SpaceEntity 2024-06-24 13:28:54 +03:00
483fc6375f feat: Add unit invitation code functionality and user verification using code 2024-06-01 19:56:07 +03:00
8c790b0d96 Refactor Device Module 2024-04-27 23:27:40 +03:00
6673bcd913 Add UserSpaceEntity relation to SpaceEntity and UserEntity 2024-04-16 11:11:36 +03:00
4092c67f89 make spaceType nullable false 2024-03-31 22:28:51 +03:00
93e8aabc4d Add space DTO, entity, repository, and module 2024-03-31 13:35:49 +03:00