Skip to content

Commit b0b3ffe

Browse files
committed
Merge branch 'master' into fix/check-auth-for-every-request
2 parents 062a5e7 + cafdd2a commit b0b3ffe

File tree

9 files changed

+525
-266
lines changed

9 files changed

+525
-266
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hawk.api",
3-
"version": "1.1.33",
3+
"version": "1.1.35",
44
"main": "index.ts",
55
"license": "UNLICENSED",
66
"scripts": {

src/models/event.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,13 @@
3838
/**
3939
* @typedef {Object} EventSchema
4040
* @property {String} _id - event ID
41-
* @property {String} catcherType - type of an event
42-
* @property {Number} count - event repetitions count
4341
* @property {String} groupHash - event's hash (catcherType + title + salt)
44-
* @property {User[]} visitedBy - array of users who visited this event
42+
* @property {Number} totalCount - event repetitions count
43+
* @property {String} catcherType - type of an event
4544
* @property {EventPayload} payload - event's payload
4645
* @property {Number} timestamp - event's Unix timestamp
46+
* @property {Number} usersAffected - number of users that were affected by the event
47+
* @property {User[]} visitedBy - array of users who visited this event
4748
*/
4849

4950
/**

0 commit comments

Comments
 (0)