Classes
Methods
(static) create(date, updater, description, user_id) → {Promise.<void>}
Register an action made by an user and the affected users by that action in the database.
Parameters:
Name | Type | Description |
---|---|---|
date |
Date | |
updater |
int | |
description |
string | |
user_id |
int |
- Source:
Returns:
- Type
- Promise.<void>
(static) get() → {Promise.<void>}
Returns all history of all users.
- Source:
Returns:
- Type
- Promise.<void>
(static) getAllFromUser(userId) → {Promise.<(Object|Error)>}
Return all the user activity
Parameters:
Name | Type | Description |
---|---|---|
userId |
int |
- Source:
Returns:
- Type
- Promise.<(Object|Error)>