Interface IChange

IChange interface belongs to IAuditRecord and keeps track what type and which attributes are changed.

interface IChange {
    attribute: string;
    changeType: ChangeType;
    newValue: any;
    previousValue: any;
    type: string;
}

Properties

attribute: string

Which attribute was touched

changeType: ChangeType

Of which type was the change, see [[ChangeType]]

newValue: any

What is the current value

previousValue: any

Which value was set before

type: string

Of which type