Type Alias: MemoAction

@torque-labs/torque-utilsDocs


@torque-labs/torque-utils / MemoAction

Type Alias: MemoAction

type MemoAction: {
  fields: ({
     description: null | string;
     image: null | string;
     label: null | string;
     name: string;
    } & {
     type: "string";
     validation: {
        match: null | string;
        required: null | boolean;
       };
    } | {
     description: null | string;
     image: null | string;
     label: null | string;
     name: string;
    } & {
     type: "number";
     validation: {
        max: null | number;
        min: null | number;
       };
    } | {
     description: null | string;
     image: null | string;
     label: null | string;
     name: string;
    } & {
     type: "boolean";
     validation: {
        match: null | boolean;
       };
    })[];
};

Memo action config type

Type declaration

Defined in

types/eventConfig/requirements.ts:243

Last updated