ZaydSkaff
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
ZaydSkaff
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
hannathkadher
8b3232b2f4
length checking
2025-03-13 13:39:26 +04:00
hannathkadher
8cbbb3a8ba
updated space product model allocation
2025-03-12 23:08:18 +04:00
hannathkadher
537f20f8de
propagate subspace allocations
2025-03-12 21:57:08 +04:00
hannathkadher
1ce2f3c3cc
fix issues
2025-03-12 01:36:10 +04:00
hannathkadher
7fae1bf407
fix the issue in unliking
2025-03-11 15:45:21 +04:00
hannathkadher
f9f9592603
fix duplication
2025-03-11 13:43:23 +04:00
hannathkadher
64f83cbda2
fix typo
2025-03-11 12:47:50 +04:00
hannathkadher
eb42948d8e
removed log
2025-03-11 12:34:53 +04:00
hannathkadher
3367ca8fab
Merge branch 'dev' of https://github.com/SyncrowIOT/backend into bugix/delete-subspace
2025-03-11 01:25:31 +04:00
hannathkadher
9122137922
fixed delete subspace model propagation
2025-03-11 01:25:27 +04:00
hannathkadher
a8fbf2b510
fixed issue in create space with space model
2025-03-10 15:52:11 +04:00
hannathkadher
d1a976d152
removed old tags
2025-03-10 10:57:27 +04:00
hannathkadher
3bbc39734b
Merge branch 'dev' of https://github.com/SyncrowIOT/backend into feat/fix-propagation
2025-03-10 05:58:50 +04:00
hannathkadher
63f1f7a7c0
fixed get spaces
2025-03-09 14:03:59 +04:00
hannathkadher
36612a40b9
fix propagation
2025-03-09 13:56:06 +04:00
hannathkadher
1220ee395d
fixing propagation
2025-03-07 23:01:38 +04:00
hannathkadher
d64e78f03e
fixed overwriting
2025-03-07 00:54:13 +04:00
hannathkadher
61fc699cf8
fix issue on deleting subspace
2025-03-06 22:51:19 +04:00
hannathkadher
a68f4c1847
fixed allocating tag from subspace to space
2025-03-06 20:54:51 +04:00
hannathkadher
1f18f50923
adding tag in space model will add tag to spaces
2025-03-06 15:49:14 +04:00
faris Aljohari
5e6c7bef9e
Merge pull request #280 from SyncrowIOT/SP-1078-be-implement-api-to-assign-a-space-model-or-reassign-it-to-a-space
...
add space linking when create or update space
2025-03-06 12:33:31 +03:00
hannathkadher
d0d1dd615a
fixed issue in subspace allocation
2025-03-06 13:09:04 +04:00
faris Aljohari
61692c70d1
add overwrite when update spaces with spacesModel
2025-03-06 11:13:14 +03:00
hannathkadher
07828eafd7
fix issues in deleting from space model product allocation and space product allocation
2025-03-06 11:01:08 +04:00
hannathkadher
6805ff226c
added proper validations
2025-03-06 09:35:25 +04:00
faris Aljohari
6864e000b8
add space linking when create or update space
2025-03-06 02:33:48 +03:00
hannathkadher
823cb6cf7a
no need to do anything if delete dto is empty
2025-03-05 23:57:38 +04:00
hannathkadher
547e37dadb
fix delete dto
2025-03-05 23:54:41 +04:00
hannathkadher
1caecfe6d9
removed the validation for space model subspaces and allocations
2025-03-04 12:48:21 +04:00
hannathkadher
553cdb28bf
prettify
2025-03-04 00:45:53 +04:00
hannathkadher
d059171b72
fixed issues in create space model
2025-03-04 00:44:22 +04:00
hannathkadher
e17a3fdda8
Merge pull request #273 from SyncrowIOT/feat/project-tag
...
New tag entitiy
2025-03-02 00:25:55 +04:00
hannathkadher
e9cda53636
Merge branch 'dev' into feat/project-tag
2025-03-02 00:22:28 +04:00
hannathkadher
9250b08b17
Merge branch 'feat/project-tag' of https://github.com/SyncrowIOT/backend into SP-1079-BE-Implement-API-for-linking-space-model-to-space
2025-03-02 00:08:32 +04:00
hannathkadher
1d71be4b06
added linking
2025-03-02 00:08:28 +04:00
faris Aljohari
a9e5454b61
Add space product
2025-02-27 13:36:28 +03:00
hannathkadher
7ddc39a7eb
Merge branch 'feat/project-tag' of https://github.com/SyncrowIOT/backend into feat/project-tag
2025-02-26 17:51:55 +04:00
hannathkadher
2a5b35a297
fixed query commit
2025-02-26 16:02:58 +04:00
hannathkadher
f98c3cd4ad
fixed delete propagation
2025-02-26 15:43:27 +04:00
hannathkadher
25f5c62ecf
linking dto
2025-02-26 15:39:23 +04:00
hannathkadher
6b20428719
added service to delete space model
2025-02-26 00:36:37 +04:00
hannathkadher
8ecd368b16
fixed query to get and list space model
2025-02-26 00:36:13 +04:00
hannathkadher
aed9719178
removed tag service
2025-02-26 00:35:36 +04:00
hannathkadher
edf1cd4157
added formatting for list space model
2025-02-25 23:58:33 +04:00
hannathkadher
cd8d368e21
added services
2025-02-25 23:16:00 +04:00
hannathkadher
67ce73754b
fixed update space model
2025-02-25 01:37:23 +04:00
hannathkadher
acc8f3ef4d
updated delete action
2025-02-24 20:04:36 +04:00
hannathkadher
4391339e5e
updated subspace model covering all edge cases
2025-02-24 18:41:32 +04:00