@live-change/content-service 0.8.148 → 0.9.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.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. 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: "content",
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: 'ownerOwnedContentUpdated',
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: 'ownerOwnedContentSet',
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.8.148",
3
+ "version": "0.9.0",
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.8.148",
25
- "@live-change/relations-plugin": "^0.8.148",
24
+ "@live-change/framework": "^0.9.0",
25
+ "@live-change/relations-plugin": "^0.9.0",
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": "34032c9007403b19096a1ecbaf5f99231a65ae92",
31
+ "gitHead": "b82513f5b400afcc4b8cc3ae1f9dfe4ac3a2a6eb",
32
32
  "type": "module"
33
33
  }