@openforis/arena-server 2.4.6 → 2.4.8
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.
|
@@ -8,7 +8,7 @@ const getNotifiedToUser = async (user, client) => {
|
|
|
8
8
|
const messages = await message_1.MessageRepository.getAllSent(client);
|
|
9
9
|
const filteredMessages = messages.filter((message) => arena_core_1.Messages.getNotificationTypes(message).includes(arena_core_1.MessageNotificationType.PushNotification) &&
|
|
10
10
|
arena_core_1.Messages.isTargetingUser(user)(message));
|
|
11
|
-
return filteredMessages.map(arena_core_1.Messages.clearHiddenProps);
|
|
11
|
+
return filteredMessages.map((message) => arena_core_1.Messages.clearHiddenProps(message));
|
|
12
12
|
};
|
|
13
13
|
exports.MessageServiceServer = {
|
|
14
14
|
create,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/service/message/index.ts"],"names":[],"mappings":";;;AAAA,sDAAsG;AAGtG,sDAA4D;AAE5D,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,2BAAiB,CAAA;AAwBhG,MAAM,iBAAiB,GAAG,KAAK,EAAE,IAAU,EAAE,MAAqB,EAAsB,EAAE;IACxF,MAAM,QAAQ,GAAG,MAAM,2BAAiB,CAAC,UAAU,CAAC,MAAM,CAAC,CAAA;IAC3D,MAAM,gBAAgB,GAAG,QAAQ,CAAC,MAAM,CACtC,CAAC,OAAO,EAAE,EAAE,CACV,qBAAQ,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,oCAAuB,CAAC,gBAAgB,CAAC;QACzF,qBAAQ,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAC1C,CAAA;IACD,OAAO,gBAAgB,CAAC,GAAG,CAAC,qBAAQ,CAAC,gBAAgB,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/service/message/index.ts"],"names":[],"mappings":";;;AAAA,sDAAsG;AAGtG,sDAA4D;AAE5D,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,2BAAiB,CAAA;AAwBhG,MAAM,iBAAiB,GAAG,KAAK,EAAE,IAAU,EAAE,MAAqB,EAAsB,EAAE;IACxF,MAAM,QAAQ,GAAG,MAAM,2BAAiB,CAAC,UAAU,CAAC,MAAM,CAAC,CAAA;IAC3D,MAAM,gBAAgB,GAAG,QAAQ,CAAC,MAAM,CACtC,CAAC,OAAO,EAAE,EAAE,CACV,qBAAQ,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,oCAAuB,CAAC,gBAAgB,CAAC;QACzF,qBAAQ,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAC1C,CAAA;IACD,OAAO,gBAAgB,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,qBAAQ,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAA;AAC9E,CAAC,CAAA;AAEY,QAAA,oBAAoB,GAAmB;IAClD,MAAM;IACN,YAAY;IACZ,KAAK;IACL,MAAM;IACN,UAAU;IACV,iBAAiB;IACjB,SAAS;IACT,MAAM;CACP,CAAA"}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"name": "OpenForis",
|
|
5
5
|
"email": "openforis.arena@gmail.com"
|
|
6
6
|
},
|
|
7
|
-
"version": "2.4.
|
|
7
|
+
"version": "2.4.8",
|
|
8
8
|
"description": "",
|
|
9
9
|
"main": "dist/index.js",
|
|
10
10
|
"types": "dist/index.d.ts",
|
|
@@ -20,39 +20,39 @@
|
|
|
20
20
|
"@types/jest": "^30.0.0",
|
|
21
21
|
"@types/jsonwebtoken": "^9.0.10",
|
|
22
22
|
"@types/lodash.throttle": "^4.1.9",
|
|
23
|
-
"@types/node": "^26.2
|
|
23
|
+
"@types/node": "^26.6.2",
|
|
24
24
|
"@types/passport": "^1.0.17",
|
|
25
25
|
"@types/passport-jwt": "^4.0.1",
|
|
26
26
|
"@types/passport-local": "^1.0.38",
|
|
27
27
|
"@types/pdfkit": "^0.17.6",
|
|
28
28
|
"@types/supertest": "^7.2.1",
|
|
29
|
-
"@typescript-eslint/eslint-plugin": "^8.70.
|
|
30
|
-
"@typescript-eslint/parser": "^8.70.
|
|
29
|
+
"@typescript-eslint/eslint-plugin": "^8.70.1",
|
|
30
|
+
"@typescript-eslint/parser": "^8.70.1",
|
|
31
31
|
"copyfiles": "^2.4.1",
|
|
32
|
-
"dotenv": "^18.0.
|
|
33
|
-
"eslint": "^10.
|
|
32
|
+
"dotenv": "^18.0.4",
|
|
33
|
+
"eslint": "^10.11.0",
|
|
34
34
|
"husky": "9.1.7",
|
|
35
|
-
"jest": "^30.5.
|
|
35
|
+
"jest": "^30.5.2",
|
|
36
36
|
"lint-staged": "^17.5.1",
|
|
37
37
|
"npm-run-all": "^4.1.5",
|
|
38
|
-
"prettier": "3.9.
|
|
38
|
+
"prettier": "3.9.9",
|
|
39
39
|
"rimraf": "^6.1.3",
|
|
40
|
-
"supertest": "^7.
|
|
41
|
-
"ts-jest": "^29.4.
|
|
40
|
+
"supertest": "^7.3.0",
|
|
41
|
+
"ts-jest": "^29.4.14",
|
|
42
42
|
"ts-node": "^10.9.2",
|
|
43
|
-
"typescript": "
|
|
44
|
-
"typescript-eslint": "^8.70.
|
|
43
|
+
"typescript": "~6.0.3",
|
|
44
|
+
"typescript-eslint": "^8.70.1"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@aws-sdk/client-s3": "^3.
|
|
47
|
+
"@aws-sdk/client-s3": "^3.1141.0",
|
|
48
48
|
"@godaddy/terminus": "^4.12.1",
|
|
49
|
-
"@openforis/arena-core": "^2.3.
|
|
49
|
+
"@openforis/arena-core": "^2.3.10",
|
|
50
50
|
"bcryptjs": "^3.0.3",
|
|
51
51
|
"compression": "^1.8.2",
|
|
52
52
|
"cookie-parser": "^1.4.7",
|
|
53
53
|
"db-migrate": "^0.11.14",
|
|
54
54
|
"db-migrate-pg": "^1.5.2",
|
|
55
|
-
"docx": "^9.7.
|
|
55
|
+
"docx": "^9.7.2",
|
|
56
56
|
"express": "^5.2.1",
|
|
57
57
|
"express-fileupload": "^1.5.2",
|
|
58
58
|
"express-rate-limit": "^8.7.0",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"passport-local": "^1.0.0",
|
|
68
68
|
"pdfkit": "^0.20.2",
|
|
69
69
|
"pg-promise": "^12.7.1",
|
|
70
|
-
"socket.io": "^4.8.
|
|
70
|
+
"socket.io": "^4.8.4"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|
|
73
73
|
"build": "run-s tsc copy-assets",
|