Interface AutomationRunExecution

interface AutomationRunExecution {
    endedAt: Date;
    output: {
        error: any;
        status: "USER_ERROR";
    } | {
        error: any;
        status: "SERVER_ERROR";
    } | {
        data?: any;
        status: "SUCCESS";
    };
    startedAt: Date;
}

Hierarchy

  • StaticDecode<typeof tAutomationRunExecution>
    • AutomationRunExecution

Properties

endedAt: Date = ...
output: {
    error: any;
    status: "USER_ERROR";
} | {
    error: any;
    status: "SERVER_ERROR";
} | {
    data?: any;
    status: "SUCCESS";
} = tAutomationRunExecutionOutput

Type declaration

  • error: any
  • status: "USER_ERROR"

Type declaration

  • error: any
  • status: "SERVER_ERROR"

Type declaration

  • Optional data?: any
  • status: "SUCCESS"
startedAt: Date = ...