Aller au contenu principal

@log-right/base > UserConfig

UserConfig interface​

Configuration data that is specific to the current, active user

Signature:
export interface UserConfig 

Properties​

PropertyTypeDescription
failValidateOnEmptybooleanShould the validate function consider null, undefined, or non-Result type objects a failure
firstName?string | null(Optional) The user's first name
lastName?string | null(Optional) The user's last name
severityErrorSeverityThe severity level considered to be an error. NOTE: This will also include all severity levels above the selected number as well (event is an error when severityError <= event.severity).
severityReportSeverityThe severity level considered to be an report-able event. NOTE: This will also include all severity levels above the selected number as well (event is a report-able when severityAlert <= event.severity).
userIdstringA string that can be used to represent the current user performing actions in the application/triggering processes