Commit Graph

1564 Commits

Author SHA1 Message Date
c2d6c7ffd5 Add user space type guards 2024-04-16 17:23:01 +03:00
d9782b3218 Add functionality to add user to a unit 2024-04-16 17:22:47 +03:00
3afdd4922b Add AddUserRoomDto and endpoint to add user to room 2024-04-16 17:22:38 +03:00
5bf3215c6b Add CheckUserFloorGuard and implement addUserFloor functionality 2024-04-16 17:22:26 +03:00
ae63ac6717 Add UserRepository and addUserCommunity endpoint 2024-04-16 17:22:12 +03:00
1d9bb96a87 Add UserRepository and User Building functionality 2024-04-16 17:22:02 +03:00
74b7471106 Refactor controllers to use userUuid as route param 2024-04-16 16:11:43 +03:00
f30dd755a2 Add endpoint to get units by user ID 2024-04-16 15:34:15 +03:00
5c3edb0bab Add endpoint to get rooms by user ID 2024-04-16 15:34:03 +03:00
c03bb1ef36 Add GetFloorsByUserId endpoint and related functionality 2024-04-16 15:33:53 +03:00
230ed4eac1 Add UserSpaceRepositoryModule and UserSpaceRepository to CommunityModule 2024-04-16 15:33:37 +03:00
c12b11b81d Add UserSpaceRepositoryModule and UserSpaceRepository to BuildingModule 2024-04-16 15:33:28 +03:00
35b41e1be1 Add UserSpaceEntity to database module imports 2024-04-16 11:11:47 +03:00
6673bcd913 Add UserSpaceEntity relation to SpaceEntity and UserEntity 2024-04-16 11:11:36 +03:00
9837227fc5 Add user space DTO, entity, repository, and module 2024-04-16 11:11:18 +03:00
99aca8cf01 Refactor middleware to guards for type checking 2024-04-14 13:13:56 +03:00
d92ae03eac Refactor error handling in controllers and services 2024-04-14 11:28:52 +03:00
53628236a6 Add endpoint to rename room by UUID 2024-04-14 10:57:13 +03:00
bf60303ddc Add endpoint to rename unit by UUID 2024-04-14 10:47:54 +03:00
8dca50b24d Add endpoint to rename floor by UUID 2024-04-14 10:40:03 +03:00
a9be4d315a Add endpoint to rename building by UUID 2024-04-14 10:31:49 +03:00
42a4d0cc11 Add endpoint to rename community by UUID 2024-04-14 10:17:11 +03:00
dffe347adf Add CheckUnitTypeMiddleware and update room module 2024-04-14 08:54:44 +03:00
4401b4358c Refactor filtering logic in UnitService 2024-04-13 18:07:54 +03:00
c0e84d80d4 Add unit module with controller, service, dtos, and middleware 2024-04-13 17:55:28 +03:00
120939b470 Refactor middleware function names for clarity 2024-04-13 17:25:48 +03:00
9e3544756e Refactor filtering logic in FloorService 2024-04-13 17:23:56 +03:00
d5f396e4f5 Add floor module with controller, service, DTOs, and interfaces 2024-04-13 17:20:20 +03:00
9b837bd15a Refactor buildHierarchy method for improved performance 2024-04-03 15:07:11 +03:00
249dd67591 Add totalCount field to CommunityChildInterface 2024-04-03 15:07:00 +03:00
cb6ec0e278 Add BuildingModule to imports in app.module.ts 2024-04-03 14:55:50 +03:00
033e09a44e Add BuildingModule and CheckCommunityTypeMiddleware 2024-04-03 14:55:08 +03:00
526bf4b661 Add building service and check building middleware 2024-04-03 14:52:30 +03:00
296457310a Add building interfaces for parent and child relationships 2024-04-03 14:52:07 +03:00
6fedcb6c3b Add building and get building DTOs 2024-04-03 14:51:53 +03:00
499603f3c0 Add BuildingController with CRUD operations 2024-04-03 14:51:40 +03:00
7cf26f3146 Update property name to communityName 2024-04-02 18:12:48 +03:00
72756e4e08 Add endpoint to get community child by UUID 2024-04-02 17:31:20 +03:00
ca5d67e291 Refactor community service to include child hierarchy retrieval 2024-04-02 17:30:54 +03:00
893667c1b5 Update global validation pipe configuration 2024-04-02 17:30:40 +03:00
8a759aca35 Refactor GetCommunityByUuidInterface 2024-04-02 17:30:31 +03:00
dcbeb92ce6 Refactor class-validator imports in community DTOs 2024-04-02 17:30:11 +03:00
4a033107da Add SpaceEntity and SpaceTypeEntity to database module 2024-04-02 17:29:33 +03:00
badda01a05 Add SpaceTypeRepository to CommunityModule imports 2024-04-02 11:30:44 +03:00
ae8d909268 Add endpoint to get community by UUID 2024-04-01 00:04:38 +03:00
d765d090ea Refactor CommunityService constructor for simplicity and readability 2024-03-31 22:39:26 +03:00
be880e47e7 Add CommunityModule to app.module.ts 2024-03-31 22:31:49 +03:00
85f6dce85f Add CommunityService implementation 2024-03-31 22:30:51 +03:00
9654d58ea0 Add AddCommunityDto class with properties 2024-03-31 22:30:05 +03:00
75197664fd Add CommunityController 2024-03-31 22:29:33 +03:00