Commit Graph

30 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
8503ee728d Refactor/space management (#404)
* refactor: reducing used queries on get communities (#385)

* refactor: fix create space logic (#394)

* Remove unique constraint on subspace and product in SubspaceProductAllocationEntity; update product relation to nullable in NewTagEntity

* refactor: fix create space logic

* device model updated to include the fixes and final columns

* updated space models to include suggested fixes, update final logic and column names

* task: removing old references of the old tag-product relation

* task: remove old use of tags

* task: remove old tag & tag model usage

* refactor: delete space

* task: remove unused functions

* fix lint rule
2025-06-11 13:15:21 +03:00
488943338b removed tags from validate space 2025-04-25 10:58:35 +04:00
9902b02700 finished return the spaces in get community 2025-03-18 01:52:01 +03:00
1ce2f3c3cc fix issues 2025-03-12 01:36:10 +04:00
1403a670e3 added validation for space model 2025-03-11 22:11:25 +04:00
7fae1bf407 fix the issue in unliking 2025-03-11 15:45:21 +04:00
a8fbf2b510 fixed issue in create space with space model 2025-03-10 15:52:11 +04:00
b9f0987bb0 added validation for product allocations 2025-03-10 15:20:15 +04:00
ea09f633ee remove tags relation from device table 2025-03-10 11:23:51 +03:00
3bbc39734b Merge branch 'dev' of https://github.com/SyncrowIOT/backend into feat/fix-propagation 2025-03-10 05:58:50 +04:00
054df46936 fix create space 2025-03-09 20:12:19 +04:00
1220ee395d fixing propagation 2025-03-07 23:01:38 +04:00
8a5709b1c9 finished spaces validation endpoint 2025-03-02 22:48:02 +03:00
e9cda53636 Merge branch 'dev' into feat/project-tag 2025-03-02 00:22:28 +04:00
a0790f0b48 fixed the heirarchy device fetching issue 2025-02-20 13:29:19 +04:00
e9a3cd14a8 fixed entity relation, removed circular dependency 2025-02-10 20:36:29 +04:00
2a4926f94e added battery and space details 2025-02-04 22:58:03 +04:00
427e764539 faster querying 2025-02-03 00:43:38 +04:00
7f69867e8a optimizing space call 2025-02-03 00:13:34 +04:00
ec06434191 Add tag and subspace fields to device validation 2025-01-27 02:01:40 -06:00
33c9518ca5 Include devices.productDevice in space validation 2025-01-04 04:34:11 -06:00
0d539883f1 delete subspace devices 2024-12-27 09:57:37 +04:00
fcf1964599 delete propogation 2024-12-27 09:02:47 +04:00
f7b75a630a disabling space 2024-12-25 16:23:09 +04:00
a74a0db26e updated space update 2024-12-25 10:52:48 +04:00
2e46176fd5 added space delete 2024-12-24 14:51:06 +04:00
b3e8af7540 added subspace product item 2024-12-17 12:18:03 +04:00
b8590841a8 aadded product item to space 2024-12-12 14:37:44 +04:00
ba002ae474 reduced code duplication 2024-12-12 09:21:56 +04:00