faris Aljohari
e253d1ca03
refactor: optimize device retrieval by avoiding duplicate space visits in getAllDevicesByCommunity
2025-05-15 10:08:02 +03:00
faris Aljohari
45b8cdcaae
Add endpoints and logic for fetching power clamp data by community or space
...
- Introduced new API endpoints to retrieve power clamp historical data based on community or space UUID.
- Updated PowerClampController to handle requests with optional parameters for community and space.
- Enhanced PowerClampService to validate input and fetch devices accordingly.
- Created ResourceParamsDto to manage request parameters.
- Updated ControllerRoute with new action summaries and descriptions.
2025-05-07 23:09:01 +03:00
hannathkadher
2010e631f2
filter for not deleted space
2025-04-16 10:42:20 +04:00
hannathkadher
e04f68a7ac
updated the search for commuities
2025-04-06 21:14:16 +04:00
hannathkadher
b0a403b0cf
added search for spaces
2025-03-19 10:51:38 +04:00
hannathkadher
30badcde67
add where for community name
2025-03-18 21:20:27 +04:00
faris Aljohari
39ac2e6860
add includeSpaces in the query param
2025-03-18 10:17:29 +03:00
faris Aljohari
9902b02700
finished return the spaces in get community
2025-03-18 01:52:01 +03:00
faris Aljohari
8a5709b1c9
finished spaces validation endpoint
2025-03-02 22:48:02 +03:00
hannathkadher
e56bd88104
updated error message for update community with existing name
2024-12-30 22:22:28 +04:00
hannathkadher
e4a5068f0d
updated community service to manage orphan community
2024-12-18 08:23:42 +04:00
hannathkadher
19825540dd
updated endpoint and validation to manage project entity in communty CRUD
2024-12-09 16:22:54 +04:00
hannathkadher
7e9894b1d3
Fixed scene
2024-11-02 19:36:56 +04:00
hannathkadher
a486b24ef8
removed get spaces from community
2024-10-29 18:13:13 +04:00
hannathkadher
9bd598da31
added success message
2024-10-29 16:33:57 +04:00
hannathkadher
d6e6eb9b1f
Added tuya space to community
2024-10-29 14:24:01 +04:00
hannathkadher
00ed2c5bbf
remove unused
2024-10-29 13:23:30 +04:00
hannathkadher
f8c011f9dc
space management without roles
2024-10-21 09:47:52 +04:00
hannathkadher
d6777c8ec1
Added all community endpoints
2024-10-17 10:55:26 +04:00
hannathkadher
d14d3b5ba2
added community space
2024-10-15 11:38:49 +04:00
hannathkadher
2292c01220
community controller
2024-10-15 11:01:56 +04:00
unknown
9a868c5757
added enums to replace constants
2024-10-06 15:44:49 +03:00
faris Aljohari
fb3753f2b2
Add get Communities endpoint
2024-08-19 11:53:23 +03:00
yousef-alkhrissat
8f761168b4
changed entity and type structure
2024-08-03 23:50:49 +03:00
faris Aljohari
d146cce1bb
Refactor controllers to return UUID of added entities
2024-05-01 10:34:07 +03:00
faris Aljohari
ae63ac6717
Add UserRepository and addUserCommunity endpoint
2024-04-16 17:22:12 +03:00
faris Aljohari
230ed4eac1
Add UserSpaceRepositoryModule and UserSpaceRepository to CommunityModule
2024-04-16 15:33:37 +03:00
faris Aljohari
d92ae03eac
Refactor error handling in controllers and services
2024-04-14 11:28:52 +03:00
faris Aljohari
42a4d0cc11
Add endpoint to rename community by UUID
2024-04-14 10:17:11 +03:00
faris Aljohari
9b837bd15a
Refactor buildHierarchy method for improved performance
2024-04-03 15:07:11 +03:00
faris Aljohari
7cf26f3146
Update property name to communityName
2024-04-02 18:12:48 +03:00
faris Aljohari
ca5d67e291
Refactor community service to include child hierarchy retrieval
2024-04-02 17:30:54 +03:00
faris Aljohari
badda01a05
Add SpaceTypeRepository to CommunityModule imports
2024-04-02 11:30:44 +03:00
faris Aljohari
ae8d909268
Add endpoint to get community by UUID
2024-04-01 00:04:38 +03:00
faris Aljohari
d765d090ea
Refactor CommunityService constructor for simplicity and readability
2024-03-31 22:39:26 +03:00
faris Aljohari
85f6dce85f
Add CommunityService implementation
2024-03-31 22:30:51 +03:00