@supernova-studio/client 0.44.0 → 0.45.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/dist/index.mjs
CHANGED
|
@@ -4832,7 +4832,9 @@ function documentationHierarchyToYjs(doc, transaction) {
|
|
|
4832
4832
|
transaction.pages.forEach((page) => {
|
|
4833
4833
|
const sanitizedPage = {
|
|
4834
4834
|
...page,
|
|
4835
|
-
data: {
|
|
4835
|
+
data: {
|
|
4836
|
+
configuration: page.data.configuration
|
|
4837
|
+
}
|
|
4836
4838
|
};
|
|
4837
4839
|
pagesMap.set(page.id, JSON.parse(JSON.stringify(sanitizedPage)));
|
|
4838
4840
|
});
|
|
@@ -4841,13 +4843,7 @@ function documentationHierarchyToYjs(doc, transaction) {
|
|
|
4841
4843
|
groupsMap.delete(id);
|
|
4842
4844
|
});
|
|
4843
4845
|
transaction.groups.forEach((group) => {
|
|
4844
|
-
|
|
4845
|
-
...group,
|
|
4846
|
-
data: {
|
|
4847
|
-
behavior: group.data?.behavior
|
|
4848
|
-
}
|
|
4849
|
-
};
|
|
4850
|
-
groupsMap.set(group.id, JSON.parse(JSON.stringify(sanitizedGroup)));
|
|
4846
|
+
groupsMap.set(group.id, JSON.parse(JSON.stringify(group)));
|
|
4851
4847
|
});
|
|
4852
4848
|
if (transaction.internalSettings) {
|
|
4853
4849
|
serializeDocumentationInternalSettings(trx.doc, transaction.internalSettings);
|