@live-change/notification-service 0.3.40 → 0.4.0
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/definition.js +5 -4
- package/index.js +6 -5
- package/notification.js +4 -3
- package/package.json +4 -3
- package/settings.js +3 -3
package/definition.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import App from '@live-change/framework'
|
|
2
|
+
const app = App.app()
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
import userService from '@live-change/user-service'
|
|
5
|
+
import relationsPlugin from '@live-change/relations-plugin'
|
|
5
6
|
|
|
6
7
|
const definition = app.createServiceDefinition({
|
|
7
8
|
name: "notification",
|
|
@@ -15,4 +16,4 @@ definition.clientConfig = {
|
|
|
15
16
|
notificationTypes: config.notificationTypes
|
|
16
17
|
}
|
|
17
18
|
|
|
18
|
-
|
|
19
|
+
export default definition
|
package/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import App from '@live-change/framework'
|
|
2
|
+
const app = App.app()
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
import definition from './definition.js'
|
|
4
5
|
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
import './notification.js'
|
|
7
|
+
import './settings.js'
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
export default definition
|
package/notification.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import App from '@live-change/framework'
|
|
2
|
+
const app = App.app()
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
import definition from './definition.js'
|
|
4
5
|
const config = definition.config
|
|
5
6
|
|
|
6
7
|
const Notification = definition.model({
|
|
@@ -369,4 +370,4 @@ definition.action({
|
|
|
369
370
|
}
|
|
370
371
|
})
|
|
371
372
|
|
|
372
|
-
|
|
373
|
+
export default definition
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/notification-service",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
"url": "https://www.viamage.com/"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@live-change/framework": "0.
|
|
24
|
+
"@live-change/framework": "0.8.0"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "87010b19907140a326943f22cd538eafdc9c28f1",
|
|
27
|
+
"type": "module"
|
|
27
28
|
}
|
package/settings.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import App from '@live-change/framework'
|
|
2
2
|
const app = App.app()
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
import definition from './definition.js'
|
|
5
5
|
const config = definition.config
|
|
6
6
|
|
|
7
7
|
async function clientOwnsContact({ user }, { contactType, contact }) {
|
|
@@ -28,4 +28,4 @@ const NotificationSetting = definition.model({
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
export { NotificationSetting }
|