legend-transactional 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +11 -0
- package/dist/index.d.ts +11 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -291,6 +291,17 @@ interface EventPayload {
|
|
|
291
291
|
'legend_missions.ongoing_mission': {
|
|
292
292
|
redisKey: string;
|
|
293
293
|
};
|
|
294
|
+
/**
|
|
295
|
+
* Event triggered when a mission finishes and needs to send final reports to participants
|
|
296
|
+
*/
|
|
297
|
+
'legend_missions.mission_finished': {
|
|
298
|
+
missionTitle: string;
|
|
299
|
+
participants: Array<{
|
|
300
|
+
userId?: string;
|
|
301
|
+
email?: string;
|
|
302
|
+
position?: number;
|
|
303
|
+
}>;
|
|
304
|
+
};
|
|
294
305
|
/**
|
|
295
306
|
* Event triggered to send an email notification when a user completes a crypto-based mission and earns a reward.
|
|
296
307
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -291,6 +291,17 @@ interface EventPayload {
|
|
|
291
291
|
'legend_missions.ongoing_mission': {
|
|
292
292
|
redisKey: string;
|
|
293
293
|
};
|
|
294
|
+
/**
|
|
295
|
+
* Event triggered when a mission finishes and needs to send final reports to participants
|
|
296
|
+
*/
|
|
297
|
+
'legend_missions.mission_finished': {
|
|
298
|
+
missionTitle: string;
|
|
299
|
+
participants: Array<{
|
|
300
|
+
userId?: string;
|
|
301
|
+
email?: string;
|
|
302
|
+
position?: number;
|
|
303
|
+
}>;
|
|
304
|
+
};
|
|
294
305
|
/**
|
|
295
306
|
* Event triggered to send an email notification when a user completes a crypto-based mission and earns a reward.
|
|
296
307
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "legend-transactional",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.1",
|
|
4
4
|
"description": "A simple transactional, event-driven communication framework for microservices using RabbitMQ",
|
|
5
5
|
"author": "Jorge Clavijo <jym272@gmail.com> (https://github.com/jym272)",
|
|
6
6
|
"license": "MIT",
|