1.1.14 • Published 3 years ago
@octoguide/audit-utils v1.1.14
Constants
auditPathBuilder
build the audit log url to add to act as the key in the db entry
Kind: global constant
| Param | Description |
|---|---|
| auditId | the entity (org or person) that made the change |
auditLogBuilder
create a audit log entry - the uuid for the entry is extracted from the header if it exists
Kind: global constant
| Param | Description |
|---|---|
| uuid | the user id |
| auditLogEntry | the string entry for the audit log |
| auditGroup | the audit grouping (i.e. org, person, etc) |
objectStateComparator
compare the current and existing state of 2 objects and build a json report
Kind: global constant
| Param | Description |
|---|---|
| oldState | the existing object |
| newState | the new object |