@supernova-studio/client 1.0.0-alpha.19 → 1.0.0-alpha.20
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/dist/index.d.mts +67 -66
- package/dist/index.d.ts +67 -66
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -13663,6 +13663,12 @@ var DocsStructureRepository = class {
|
|
|
13663
13663
|
this.refreshHierarchy();
|
|
13664
13664
|
return this.actionQueue.enqueue(fullAction);
|
|
13665
13665
|
}
|
|
13666
|
+
notifyPageContentUpdated(pagePersistentId, content, definitions) {
|
|
13667
|
+
const pageContentHash = generatePageContentHash(content, definitions);
|
|
13668
|
+
new VersionRoomBaseYDoc(this.yDoc).updateDocumentationPageContentHashes({
|
|
13669
|
+
[pagePersistentId]: pageContentHash
|
|
13670
|
+
});
|
|
13671
|
+
}
|
|
13666
13672
|
//
|
|
13667
13673
|
// Reactions
|
|
13668
13674
|
//
|