Type Alias: MemoRequirement

@torque-labs/torque-utilsDocs


@torque-labs/torque-utils / MemoRequirement

Type Alias: MemoRequirement

type MemoRequirement: {
  requirement: MemoActionSchema;
  type: MEMO;
};

Memo requirement type

Type declaration

Name
Type
Default value
Description

requirement

{ 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; }; })[]; }

MemoActionSchema

-

requirement.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; }; })[]

-

The fields to collect from the user

type

MEMO

-

-

Defined in

types/eventConfig/config.ts:156

Last updated