Shared activity logging helper. Records user/system actions so the Activity page shows a complete timeline.
Type convention (dot-separated: <resource>.<action>)
project.create · crawl.start · crawl.complete · crawl.fail ·
test_run.start · test_run.complete · test_run.fail ·
test.create · test.generate · test.edit · test.delete ·
test.approve · test.reject · test.restore ·
test.bulk_approve · test.bulk_reject · test.bulk_restore ·
settings.update
- Source:
Methods
(static) logActivity(opts) → {Object}
Log an activity entry to the database.
Parameters:
| Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object |
Properties
|
- Source:
Returns:
The created activity record.
- Type
- Object