red-ui/libs/red-domain/src/lib/dictionaries/update-dictionary.ts
2021-10-29 14:21:30 +03:00

38 lines
962 B
TypeScript

/**
* Object containing information of type to be updated.
*/
export interface IUpdateDictionary {
/**
* If true the ui will add a action to add values to dictionary
*/
addToDictionaryAction?: boolean;
/**
* True if the entries in this type should be matched case insensitively, default is false.
*/
caseInsensitive?: boolean;
/**
* The description of the dictionary type
*/
description?: string;
/**
* The value of color must be a correct hex color
*/
hexColor?: string;
/**
* True if the type just for hint, not for redaction, default is false.
*/
hint?: boolean;
/**
* Label of the type
*/
label?: string;
/**
* The rank of this dictionary, higher rank means higher importance.
*/
rank?: number;
/**
* True if the type just for recommendations, not for redaction, default is false.
*/
recommendation?: boolean;
}