Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit 9827965

Browse files
committed
feature/system-notifcations - added totalCount field to system notifications
1 parent b61e6b5 commit 9827965

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

server/models/system-notifications.model.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ module.exports = function (app) {
1212
showOnce: { type: Boolean, default: true },
1313
requireConfirmation: { type: Boolean, default: false },
1414
active: { type: Boolean, default: true },
15+
totalCount: { type: Number, default: 0 },
1516
createdAt: { type: Date, default: Date.now },
1617
updatedAt: { type: Date, default: Date.now },
1718
wasSeeded: { type: Boolean }

yarn.lock

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,6 +1035,13 @@ create-error-class@^3.0.0:
10351035
dependencies:
10361036
capture-stack-trace "^1.0.0"
10371037

1038+
cross-env@^5.1.4:
1039+
version "5.1.4"
1040+
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-5.1.4.tgz#f61c14291f7cc653bb86457002ea80a04699d022"
1041+
dependencies:
1042+
cross-spawn "^5.1.0"
1043+
is-windows "^1.0.0"
1044+
10381045
cross-spawn@^3.0.0:
10391046
version "3.0.1"
10401047
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-3.0.1.tgz#1256037ecb9f0c5f79e3d6ef135e30770184b982"
@@ -2762,6 +2769,10 @@ is-utf8@^0.2.0:
27622769
version "0.2.1"
27632770
resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72"
27642771

2772+
is-windows@^1.0.0:
2773+
version "1.0.2"
2774+
resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d"
2775+
27652776
27662777
version "0.0.1"
27672778
resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf"

0 commit comments

Comments
 (0)