mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-16 02:36:19 +00:00
Add RULE_TRIGGER
to ActionExecutorEnum
and introduce ActionTypeEnum
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import { ActionTypeEnum } from '@app/common/constants/automation.enum';
|
||||
import { EffectiveTime } from '../dtos';
|
||||
|
||||
export interface AddAutomationInterface {
|
||||
@ -26,6 +27,7 @@ export interface DeleteAutomationInterface {
|
||||
export interface Action {
|
||||
actionExecutor: string;
|
||||
entityId: string;
|
||||
actionType?: ActionTypeEnum;
|
||||
[key: string]: any; // Allow additional properties
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user