0.1.7 • Published 4 years ago
@morris-3112/system-actions v0.1.7
partisan-system-actions
0.1.7 (2021-10-24)
- Added two optional arguments to constructor function:
emailHandler
andtimerHandler
. These two arguments correspond to classes initiated in the backend and will be used to send emails/set timers. This solves the problem where, if triggered from the backend, firebase callable functions could not be triggered. If these arguments are not specified then the callable function will still be called. This happens when triggered from the frontend.
0.1.6 (2021-10-13)
- Updated payload for
timer
to follow the new datastructure where both caseUID and caseDetails are sent. This is to ensure a case document can be fetched from firebase if no UID is available (i.e. when a case is created). In addition, alsoactionIdentifier
is included.
0.1.5 (2021-10-13)
- Added
actionsExecuted
containing a list of executed actions as response. - Updated inactivation of a task. Since tasks are unique for module/service/case, it is not necessary to return a list and check for existence of more than 1 task.
0.1.4 (2021-10-03)
- Added setTimer call if timer action is in list.
0.1.3 (2021-09-26)
- Added function to fireStoreHandler for calling App functions
- Added call to
sendEmailApp
function when email needs to be send.
0.1.2 (2021-09-24)
- Added
await
to updating task, so that frontend fetches after task has been updated.
0.1.1 (2021-09-22)
- Converted
client.email
toemailReceiver
to generalise email sending.