Skip to content

Commit cfd61fd

Browse files
authored
Merge pull request #526 from codex-team/master
Update prod
2 parents 5925007 + cafdd2a commit cfd61fd

File tree

9 files changed

+524
-267
lines changed

9 files changed

+524
-267
lines changed

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hawk.api",
3-
"version": "1.1.32",
3+
"version": "1.1.34",
44
"main": "index.ts",
55
"license": "UNLICENSED",
66
"scripts": {
@@ -44,8 +44,6 @@
4444
"@types/debug": "^4.1.5",
4545
"@types/escape-html": "^1.0.0",
4646
"@types/graphql-upload": "^8.0.11",
47-
"@types/lodash.clonedeep": "^4.5.9",
48-
"@types/lodash.mergewith": "^4.6.9",
4947
"@types/jsonwebtoken": "^8.3.5",
5048
"@types/lodash.clonedeep": "^4.5.9",
5149
"@types/lodash.mergewith": "^4.6.9",

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)