@octoguide/audit-utils
v1.1.14
Published
<dl> <dt><a href="#auditPathBuilder">auditPathBuilder</a></dt> <dd><p>build the audit log url to add to act as the key in the db entry</p> </dd> <dt><a href="#auditLogBuilder">auditLogBuilder</a></dt> <dd><p>create a audit log entry - the uuid for the ent
Downloads
5
Readme
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 |