DataTypeManager
Stores registered custom data type definitions
DataTypeManager stores all custom data type definitions registered via action.registerDataTypeClass(). It extends
BaseManager with key type string (identifier) and value type DataTypeProps.
action.dataTypes.get('email_address');
action.dataTypes.values();Interfaces
DataTypeRunnable
An empty marker interface. DataType classes do not need to implement any methods.
interface DataTypeRunnable {}DataTypeProps
The descriptor stored for each registered data type.
interface DataTypeProps {
identifier: string;
name?: Translation[];
displayMessage?: Translation[];
alias?: Translation[];
rules?: DefinitionDataTypeRule[];
genericKeys?: string[];
type: string;
}Prop
Type
DataTypeClass
type DataTypeClass = new () => DataTypeRunnable;The constructor type used when calling action.registerDataTypeClass().