mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-28 00:14:53 +00:00
feat: add occupancy module with controller, service, and related DTOs for heat map data retrieval
This commit is contained in:
@ -504,6 +504,17 @@ export class ControllerRoute {
|
||||
'This endpoint retrieves the historical data of power clamp devices based on the provided community or space UUID.';
|
||||
};
|
||||
};
|
||||
|
||||
static Occupancy = class {
|
||||
public static readonly ROUTE = 'occupancy';
|
||||
|
||||
static ACTIONS = class {
|
||||
public static readonly GET_OCCUPANCY_HEAT_MAP_SUMMARY =
|
||||
'Get occupancy heat map data';
|
||||
public static readonly GET_OCCUPANCY_HEAT_MAP_DESCRIPTION =
|
||||
'This endpoint retrieves the occupancy heat map data based on the provided parameters.';
|
||||
};
|
||||
};
|
||||
static DEVICE = class {
|
||||
public static readonly ROUTE = 'devices';
|
||||
|
||||
|
||||
4
libs/common/src/constants/presence.sensor.enum.ts
Normal file
4
libs/common/src/constants/presence.sensor.enum.ts
Normal file
@ -0,0 +1,4 @@
|
||||
export enum PresenceSensorEnum {
|
||||
PRESENCE_STATE = 'presence_state',
|
||||
SENSITIVITY = 'sensitivity',
|
||||
}
|
||||
Reference in New Issue
Block a user