@live-change/content-service 0.8.149 → 0.9.1
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/index.js +3 -3
- package/package.json +4 -4
package/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import { Metadata } from "./metadata.js"
|
|
|
15
15
|
const Snapshot = definition.foreignModel("prosemirror", "Snapshot")
|
|
16
16
|
|
|
17
17
|
definition.view({
|
|
18
|
-
name: "
|
|
18
|
+
name: "currentContent",
|
|
19
19
|
properties: {
|
|
20
20
|
objectType: {
|
|
21
21
|
type: String,
|
|
@@ -147,7 +147,7 @@ definition.action({
|
|
|
147
147
|
const snapshotId = App.encodeIdentifier([contentId, version.toFixed().padStart(10, '0')])
|
|
148
148
|
if(contentData) {
|
|
149
149
|
emit({
|
|
150
|
-
type: '
|
|
150
|
+
type: 'ContentUpdated',
|
|
151
151
|
identifiers: {
|
|
152
152
|
ownerType: objectType, owner: object
|
|
153
153
|
},
|
|
@@ -157,7 +157,7 @@ definition.action({
|
|
|
157
157
|
})
|
|
158
158
|
} else {
|
|
159
159
|
emit({
|
|
160
|
-
type: '
|
|
160
|
+
type: 'ContentSet',
|
|
161
161
|
identifiers: {
|
|
162
162
|
ownerType: objectType, owner: object
|
|
163
163
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/content-service",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
"url": "https://www.viamage.com/"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@live-change/framework": "^0.
|
|
25
|
-
"@live-change/relations-plugin": "^0.
|
|
24
|
+
"@live-change/framework": "^0.9.1",
|
|
25
|
+
"@live-change/relations-plugin": "^0.9.1",
|
|
26
26
|
"lru-cache": "^7.12.0",
|
|
27
27
|
"pluralize": "^8.0.0",
|
|
28
28
|
"progress-stream": "^2.0.0",
|
|
29
29
|
"prosemirror-model": "^1.18.1"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "d00e08ee081d6993421e4573fc25588345aaabca",
|
|
32
32
|
"type": "module"
|
|
33
33
|
}
|