mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-08-26 09:19:40 +00:00

- Introduced AqiModule with AqiService and AqiController for handling AQI data. - Added DTOs for AQI requests: GetAqiDailyBySpaceDto and GetAqiPollutantBySpaceDto. - Implemented AqiDataService for managing AQI sensor historical data. - Updated existing modules to include AqiDataService where necessary. - Defined new routes for AQI data retrieval in ControllerRoute.
8 lines
175 B
TypeScript
8 lines
175 B
TypeScript
import { IsNotEmpty, IsUUID } from 'class-validator';
|
|
|
|
export class SpaceParamsDto {
|
|
@IsUUID('4', { message: 'Invalid UUID format' })
|
|
@IsNotEmpty()
|
|
spaceUuid: string;
|
|
}
|