Skip to content

FormioActionItem

@tsed/formio-types

Usage

typescript
import { FormioActionItem } from "@tsed/formio-types";

See /packages/third-parties/formio-types/src/types/domain/FormioActionItem.ts.

Overview

ts
interface FormioActionItem<Data = any> {
    _id: string | undefined;
    title: string;
    form: string;
    submission?: string;
    action: string;
    handler: string;
    method: string;
    state: "new" | "inprogress" | "complete" | "error";
    messages: any[];
    data: Data;
}

_id

ts
_id: string | undefined;

title

ts
title: string;

form

ts
form: string;

submission

ts
submission?: string;

action

ts
action: string;

handler

ts
handler: string;

method

ts
method: string;

state

ts
state: "new" | "inprogress" | "complete" | "error";

messages

ts
messages: any[];

data

ts
data: Data;

Released under the MIT License.