export type ErrorMessages = { [key: string]: { summary_of_messages__: { propertyMessages__: { [key: string]: { type: string; fieldLabel: string; message: string; }; }; }; }; }; export type AllErrorMessages = { content: ErrorMessages; }; export type MessagesObject = { type?: string; message?: string; subType?: string; }; export type MessagesConfigObject = { /** type of the message e.g. error or info */ type?: string; /** category type of the messages e.g. property, PAGE or HTTP */ category?: string; /** context where messages gets displayed e.g. app or app/primary_2 or app/primary_2/workarea_1 */ context?: string | null; /** property name e.g. firstName */ property?: string; /** page reference of the property */ pageReference?: string; isListEntry?: boolean; clearContextMessages?: boolean; stateObj?: object; messages?: MessagesObject[]; deletingIndex?: number; fieldLabel?: string; message?: string; };