mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-27 13:54:53 +00:00
Add RULE_TRIGGER to ActionExecutorEnum and introduce ActionTypeEnum
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
import { ActionTypeEnum } from '@app/common/constants/automation.enum';
|
||||
|
||||
export interface ConvertedExecutorProperty {
|
||||
function_code?: string;
|
||||
function_value?: any;
|
||||
@ -7,5 +9,6 @@ export interface ConvertedExecutorProperty {
|
||||
export interface ConvertedAction {
|
||||
entity_id: string;
|
||||
action_executor: string;
|
||||
action_type?: ActionTypeEnum;
|
||||
executor_property?: ConvertedExecutorProperty;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user