Interface AutomationRunExecution

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

Hierarchy

  • TypeOf<typeof zAutomationRunExecution>
    • AutomationRunExecution

Properties

endedAt: Date = ...
output: ({
    error?: any;
    status: "USER_ERROR";
} | {
    error?: any;
    status: "SERVER_ERROR";
} | {
    data?: any;
    status: "SUCCESS";
}) & (undefined | {
    error?: any;
    status: "USER_ERROR";
} | {
    error?: any;
    status: "SERVER_ERROR";
} | {
    data?: any;
    status: "SUCCESS";
}) = zAutomationRunExecutionOutput
startedAt: Date = ...