Members
Gets the event emitter for progress events.
Methods
async generate(params) → Promise.<Array.<AccessReportRow>>
Generates an access report for the provided entities within the given time frame.
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
The parameters for the function.
|
Returns:
Returns a Promise that resolves with an array of AccessReportRow objects or rejects with an error.
Throws:
-
Error : Throws an error if any of the Promise tasks fail or exceed the timeout.
Merges overlapping time intervals in the report.
Name | Type | Description |
---|---|---|
report |
Array.<Object> | The array of AccessReportRow objects to merge. |
Returns:
- The merged report.