feat: add DEVICE_SPACE_COMMUNITY route and controller for device retrieval by space or community

This commit is contained in:
faris Aljohari
2025-05-13 03:06:43 +03:00
parent 921770ea79
commit 799fcb6fb9
10 changed files with 244 additions and 2 deletions

View File

@ -26,6 +26,7 @@ import {
} from '@app/common/modules/power-clamp/repositories';
import { SqlLoaderService } from '@app/common/helper/services/sql-loader.service';
import { OccupancyService } from '@app/common/helper/services/occupancy.service';
import { CommunityRepository } from '@app/common/modules/community/repositories';
@Module({
imports: [ConfigModule, DeviceRepositoryModule],
controllers: [GroupController],
@ -51,6 +52,7 @@ import { OccupancyService } from '@app/common/helper/services/occupancy.service'
PowerClampMonthlyRepository,
SqlLoaderService,
OccupancyService,
CommunityRepository,
],
exports: [GroupService],
})