@supernova-studio/client 0.47.57 → 0.47.58
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 +28 -22
- package/dist/index.d.ts +28 -22
- package/dist/index.js +46 -63
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +46 -63
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/documentation/publish.ts +5 -0
- package/src/yjs/version-room/backend.ts +9 -27
- package/src/yjs/version-room/base.ts +10 -50
- package/src/yjs/version-room/frontend.ts +31 -9
package/dist/index.d.mts
CHANGED
|
@@ -6894,10 +6894,28 @@ type DTODocumentationLinkPreviewRequest = z.infer<typeof DTODocumentationLinkPre
|
|
|
6894
6894
|
|
|
6895
6895
|
declare const DTOPublishDocumentationRequest: z.ZodObject<{
|
|
6896
6896
|
environment: z.ZodEnum<["Live", "Preview"]>;
|
|
6897
|
+
changes: z.ZodObject<{
|
|
6898
|
+
pagePersistentIds: z.ZodArray<z.ZodString, "many">;
|
|
6899
|
+
groupPersistentIds: z.ZodArray<z.ZodString, "many">;
|
|
6900
|
+
}, "strip", z.ZodTypeAny, {
|
|
6901
|
+
pagePersistentIds: string[];
|
|
6902
|
+
groupPersistentIds: string[];
|
|
6903
|
+
}, {
|
|
6904
|
+
pagePersistentIds: string[];
|
|
6905
|
+
groupPersistentIds: string[];
|
|
6906
|
+
}>;
|
|
6897
6907
|
}, "strip", z.ZodTypeAny, {
|
|
6898
6908
|
environment: "Live" | "Preview";
|
|
6909
|
+
changes: {
|
|
6910
|
+
pagePersistentIds: string[];
|
|
6911
|
+
groupPersistentIds: string[];
|
|
6912
|
+
};
|
|
6899
6913
|
}, {
|
|
6900
6914
|
environment: "Live" | "Preview";
|
|
6915
|
+
changes: {
|
|
6916
|
+
pagePersistentIds: string[];
|
|
6917
|
+
groupPersistentIds: string[];
|
|
6918
|
+
};
|
|
6901
6919
|
}>;
|
|
6902
6920
|
type DTOPublishDocumentationRequest = z.infer<typeof DTOPublishDocumentationRequest>;
|
|
6903
6921
|
declare const DTOPublishDocumentationResponse: z.ZodObject<{
|
|
@@ -43102,14 +43120,10 @@ type DocumentationHierarchyTransaction = {
|
|
|
43102
43120
|
pageIdsToDelete?: string[];
|
|
43103
43121
|
groups?: ElementGroup[];
|
|
43104
43122
|
groupIdsToDelete?: string[];
|
|
43105
|
-
|
|
43106
|
-
|
|
43107
|
-
|
|
43108
|
-
|
|
43109
|
-
deletedPageSnapshots?: DocumentationPageSnapshot[];
|
|
43110
|
-
deletedPageSnapshotIdsToDelete?: string[];
|
|
43111
|
-
deletedGroupSnapshots?: ElementGroupSnapshot[];
|
|
43112
|
-
deletedGroupSnapshotIdsToDelete?: string[];
|
|
43123
|
+
pageSnapshots?: DocumentationPageSnapshot[];
|
|
43124
|
+
pageSnapshotIdsToDelete?: string[];
|
|
43125
|
+
groupSnapshots?: ElementGroupSnapshot[];
|
|
43126
|
+
groupSnapshotIdsToDelete?: string[];
|
|
43113
43127
|
internalSettings?: DocumentationHierarchySettings;
|
|
43114
43128
|
};
|
|
43115
43129
|
declare class BackendVersionRoomYDoc {
|
|
@@ -43132,22 +43146,14 @@ declare class VersionRoomBaseYDoc {
|
|
|
43132
43146
|
getDocumentationInternalSettings(): DocumentationHierarchySettings;
|
|
43133
43147
|
updateDocumentationInternalSettings(settings: DocumentationHierarchySettings): void;
|
|
43134
43148
|
private get internalSettingsYMap();
|
|
43135
|
-
|
|
43136
|
-
|
|
43137
|
-
|
|
43149
|
+
getPageSnapshots(): DocumentationPageSnapshot[];
|
|
43150
|
+
updatePageSnapshots(snapshots: DocumentationPageSnapshot[]): void;
|
|
43151
|
+
deletePageSnapshots(ids: string[]): void;
|
|
43138
43152
|
private get documentationPagePublishedStatesYMap();
|
|
43139
|
-
|
|
43140
|
-
|
|
43141
|
-
|
|
43142
|
-
private get documentationPageDeletedStatesYMap();
|
|
43143
|
-
getGroupPublishedSnapshots(): ElementGroupSnapshot[];
|
|
43144
|
-
updateGroupPublishedSnapshots(snapshots: ElementGroupSnapshot[]): void;
|
|
43145
|
-
deleteGroupPublishedSnapshots(ids: string[]): void;
|
|
43153
|
+
getGroupSnapshots(): ElementGroupSnapshot[];
|
|
43154
|
+
updateGroupSnapshots(snapshots: ElementGroupSnapshot[]): void;
|
|
43155
|
+
deleteGroupSnapshots(ids: string[]): void;
|
|
43146
43156
|
private get documentationGroupPublishedStatesYMap();
|
|
43147
|
-
getGroupDeletedSnapshots(): ElementGroupSnapshot[];
|
|
43148
|
-
updateGroupDeletedSnapshots(snapshots: ElementGroupSnapshot[]): void;
|
|
43149
|
-
deleteGroupDeletedSnapshots(ids: string[]): void;
|
|
43150
|
-
private get documentationGroupDeletedStatesYMap();
|
|
43151
43157
|
private getObjects;
|
|
43152
43158
|
private setObjects;
|
|
43153
43159
|
private deleteObjects;
|
package/dist/index.d.ts
CHANGED
|
@@ -6894,10 +6894,28 @@ type DTODocumentationLinkPreviewRequest = z.infer<typeof DTODocumentationLinkPre
|
|
|
6894
6894
|
|
|
6895
6895
|
declare const DTOPublishDocumentationRequest: z.ZodObject<{
|
|
6896
6896
|
environment: z.ZodEnum<["Live", "Preview"]>;
|
|
6897
|
+
changes: z.ZodObject<{
|
|
6898
|
+
pagePersistentIds: z.ZodArray<z.ZodString, "many">;
|
|
6899
|
+
groupPersistentIds: z.ZodArray<z.ZodString, "many">;
|
|
6900
|
+
}, "strip", z.ZodTypeAny, {
|
|
6901
|
+
pagePersistentIds: string[];
|
|
6902
|
+
groupPersistentIds: string[];
|
|
6903
|
+
}, {
|
|
6904
|
+
pagePersistentIds: string[];
|
|
6905
|
+
groupPersistentIds: string[];
|
|
6906
|
+
}>;
|
|
6897
6907
|
}, "strip", z.ZodTypeAny, {
|
|
6898
6908
|
environment: "Live" | "Preview";
|
|
6909
|
+
changes: {
|
|
6910
|
+
pagePersistentIds: string[];
|
|
6911
|
+
groupPersistentIds: string[];
|
|
6912
|
+
};
|
|
6899
6913
|
}, {
|
|
6900
6914
|
environment: "Live" | "Preview";
|
|
6915
|
+
changes: {
|
|
6916
|
+
pagePersistentIds: string[];
|
|
6917
|
+
groupPersistentIds: string[];
|
|
6918
|
+
};
|
|
6901
6919
|
}>;
|
|
6902
6920
|
type DTOPublishDocumentationRequest = z.infer<typeof DTOPublishDocumentationRequest>;
|
|
6903
6921
|
declare const DTOPublishDocumentationResponse: z.ZodObject<{
|
|
@@ -43102,14 +43120,10 @@ type DocumentationHierarchyTransaction = {
|
|
|
43102
43120
|
pageIdsToDelete?: string[];
|
|
43103
43121
|
groups?: ElementGroup[];
|
|
43104
43122
|
groupIdsToDelete?: string[];
|
|
43105
|
-
|
|
43106
|
-
|
|
43107
|
-
|
|
43108
|
-
|
|
43109
|
-
deletedPageSnapshots?: DocumentationPageSnapshot[];
|
|
43110
|
-
deletedPageSnapshotIdsToDelete?: string[];
|
|
43111
|
-
deletedGroupSnapshots?: ElementGroupSnapshot[];
|
|
43112
|
-
deletedGroupSnapshotIdsToDelete?: string[];
|
|
43123
|
+
pageSnapshots?: DocumentationPageSnapshot[];
|
|
43124
|
+
pageSnapshotIdsToDelete?: string[];
|
|
43125
|
+
groupSnapshots?: ElementGroupSnapshot[];
|
|
43126
|
+
groupSnapshotIdsToDelete?: string[];
|
|
43113
43127
|
internalSettings?: DocumentationHierarchySettings;
|
|
43114
43128
|
};
|
|
43115
43129
|
declare class BackendVersionRoomYDoc {
|
|
@@ -43132,22 +43146,14 @@ declare class VersionRoomBaseYDoc {
|
|
|
43132
43146
|
getDocumentationInternalSettings(): DocumentationHierarchySettings;
|
|
43133
43147
|
updateDocumentationInternalSettings(settings: DocumentationHierarchySettings): void;
|
|
43134
43148
|
private get internalSettingsYMap();
|
|
43135
|
-
|
|
43136
|
-
|
|
43137
|
-
|
|
43149
|
+
getPageSnapshots(): DocumentationPageSnapshot[];
|
|
43150
|
+
updatePageSnapshots(snapshots: DocumentationPageSnapshot[]): void;
|
|
43151
|
+
deletePageSnapshots(ids: string[]): void;
|
|
43138
43152
|
private get documentationPagePublishedStatesYMap();
|
|
43139
|
-
|
|
43140
|
-
|
|
43141
|
-
|
|
43142
|
-
private get documentationPageDeletedStatesYMap();
|
|
43143
|
-
getGroupPublishedSnapshots(): ElementGroupSnapshot[];
|
|
43144
|
-
updateGroupPublishedSnapshots(snapshots: ElementGroupSnapshot[]): void;
|
|
43145
|
-
deleteGroupPublishedSnapshots(ids: string[]): void;
|
|
43153
|
+
getGroupSnapshots(): ElementGroupSnapshot[];
|
|
43154
|
+
updateGroupSnapshots(snapshots: ElementGroupSnapshot[]): void;
|
|
43155
|
+
deleteGroupSnapshots(ids: string[]): void;
|
|
43146
43156
|
private get documentationGroupPublishedStatesYMap();
|
|
43147
|
-
getGroupDeletedSnapshots(): ElementGroupSnapshot[];
|
|
43148
|
-
updateGroupDeletedSnapshots(snapshots: ElementGroupSnapshot[]): void;
|
|
43149
|
-
deleteGroupDeletedSnapshots(ids: string[]): void;
|
|
43150
|
-
private get documentationGroupDeletedStatesYMap();
|
|
43151
43157
|
private getObjects;
|
|
43152
43158
|
private setObjects;
|
|
43153
43159
|
private deleteObjects;
|
package/dist/index.js
CHANGED
|
@@ -2462,6 +2462,7 @@ var DocumentationCommentThread = _zod.z.object({
|
|
|
2462
2462
|
var DesignElementSnapshotReason = _zod.z.enum(["Publish", "Deletion"]);
|
|
2463
2463
|
var DesignElementSnapshotBase = _zod.z.object({
|
|
2464
2464
|
id: _zod.z.string(),
|
|
2465
|
+
persistentId: _zod.z.string(),
|
|
2465
2466
|
designSystemVersionId: _zod.z.string(),
|
|
2466
2467
|
createdAt: _zod.z.coerce.date(),
|
|
2467
2468
|
updatedAt: _zod.z.coerce.date(),
|
|
@@ -2848,12 +2849,12 @@ var DesignSystemVersionRoomInitialState = _zod.z.object({
|
|
|
2848
2849
|
var DesignSystemVersionRoomUpdate = _zod.z.object({
|
|
2849
2850
|
pages: _zod.z.array(DocumentationPageV2),
|
|
2850
2851
|
groups: _zod.z.array(ElementGroup),
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2852
|
+
pageIdsToDelete: _zod.z.array(_zod.z.string()),
|
|
2853
|
+
groupIdsToDelete: _zod.z.array(_zod.z.string()),
|
|
2854
|
+
pageSnapshots: _zod.z.array(DocumentationPageSnapshot),
|
|
2855
|
+
groupSnapshots: _zod.z.array(ElementGroupSnapshot),
|
|
2856
|
+
pageSnapshotIdsToDelete: _zod.z.array(_zod.z.string()),
|
|
2857
|
+
groupSnapshotIdsToDelete: _zod.z.array(_zod.z.string())
|
|
2857
2858
|
});
|
|
2858
2859
|
var DocumentationPageRoom = Entity.extend({
|
|
2859
2860
|
designSystemVersionId: _zod.z.string(),
|
|
@@ -5209,7 +5210,11 @@ var DTOPipeline = _zod.z.object({
|
|
|
5209
5210
|
|
|
5210
5211
|
// src/api/dto/documentation/publish.ts
|
|
5211
5212
|
var DTOPublishDocumentationRequest = _zod.z.object({
|
|
5212
|
-
environment: PublishedDocEnvironment
|
|
5213
|
+
environment: PublishedDocEnvironment,
|
|
5214
|
+
changes: _zod.z.object({
|
|
5215
|
+
pagePersistentIds: _zod.z.string().array(),
|
|
5216
|
+
groupPersistentIds: _zod.z.string().array()
|
|
5217
|
+
})
|
|
5213
5218
|
});
|
|
5214
5219
|
var DTOPublishDocumentationResponse = _zod.z.object({
|
|
5215
5220
|
job: DTOExportJob
|
|
@@ -5935,64 +5940,34 @@ var VersionRoomBaseYDoc = class {
|
|
|
5935
5940
|
return this.yDoc.getMap("documentationInternalSettings");
|
|
5936
5941
|
}
|
|
5937
5942
|
//
|
|
5938
|
-
// Documentation page
|
|
5943
|
+
// Documentation page snapshot
|
|
5939
5944
|
//
|
|
5940
|
-
|
|
5945
|
+
getPageSnapshots() {
|
|
5941
5946
|
return this.getObjects(this.documentationPagePublishedStatesYMap, DocumentationPageSnapshot);
|
|
5942
5947
|
}
|
|
5943
|
-
|
|
5948
|
+
updatePageSnapshots(snapshots) {
|
|
5944
5949
|
this.setObjects(this.documentationPagePublishedStatesYMap, snapshots);
|
|
5945
5950
|
}
|
|
5946
|
-
|
|
5951
|
+
deletePageSnapshots(ids) {
|
|
5947
5952
|
this.deleteObjects(this.documentationPagePublishedStatesYMap, ids);
|
|
5948
5953
|
}
|
|
5949
5954
|
get documentationPagePublishedStatesYMap() {
|
|
5950
|
-
return this.yDoc.getMap("
|
|
5951
|
-
}
|
|
5952
|
-
//
|
|
5953
|
-
// Documentation page deleted snapshot
|
|
5954
|
-
//
|
|
5955
|
-
getPageDeletedSnapshots() {
|
|
5956
|
-
return this.getObjects(this.documentationPageDeletedStatesYMap, DocumentationPageSnapshot);
|
|
5957
|
-
}
|
|
5958
|
-
updatePageDeletedSnapshots(snapshots) {
|
|
5959
|
-
this.setObjects(this.documentationPageDeletedStatesYMap, snapshots);
|
|
5960
|
-
}
|
|
5961
|
-
deletePageDeletedSnapshots(ids) {
|
|
5962
|
-
this.deleteObjects(this.documentationPageDeletedStatesYMap, ids);
|
|
5963
|
-
}
|
|
5964
|
-
get documentationPageDeletedStatesYMap() {
|
|
5965
|
-
return this.yDoc.getMap("documentationPageDeletedSnapshots");
|
|
5955
|
+
return this.yDoc.getMap("documentationPageSnapshots");
|
|
5966
5956
|
}
|
|
5967
5957
|
//
|
|
5968
|
-
// Documentation group
|
|
5958
|
+
// Documentation group snapshots
|
|
5969
5959
|
//
|
|
5970
|
-
|
|
5960
|
+
getGroupSnapshots() {
|
|
5971
5961
|
return this.getObjects(this.documentationGroupPublishedStatesYMap, ElementGroupSnapshot);
|
|
5972
5962
|
}
|
|
5973
|
-
|
|
5963
|
+
updateGroupSnapshots(snapshots) {
|
|
5974
5964
|
this.setObjects(this.documentationGroupPublishedStatesYMap, snapshots);
|
|
5975
5965
|
}
|
|
5976
|
-
|
|
5966
|
+
deleteGroupSnapshots(ids) {
|
|
5977
5967
|
this.deleteObjects(this.documentationGroupPublishedStatesYMap, ids);
|
|
5978
5968
|
}
|
|
5979
5969
|
get documentationGroupPublishedStatesYMap() {
|
|
5980
|
-
return this.yDoc.getMap("
|
|
5981
|
-
}
|
|
5982
|
-
//
|
|
5983
|
-
// Documentation group deleted snapshots
|
|
5984
|
-
//
|
|
5985
|
-
getGroupDeletedSnapshots() {
|
|
5986
|
-
return this.getObjects(this.documentationGroupDeletedStatesYMap, ElementGroupSnapshot);
|
|
5987
|
-
}
|
|
5988
|
-
updateGroupDeletedSnapshots(snapshots) {
|
|
5989
|
-
this.setObjects(this.documentationGroupDeletedStatesYMap, snapshots);
|
|
5990
|
-
}
|
|
5991
|
-
deleteGroupDeletedSnapshots(ids) {
|
|
5992
|
-
this.deleteObjects(this.documentationGroupDeletedStatesYMap, ids);
|
|
5993
|
-
}
|
|
5994
|
-
get documentationGroupDeletedStatesYMap() {
|
|
5995
|
-
return this.yDoc.getMap("documentationGroupDeletedSnapshots");
|
|
5970
|
+
return this.yDoc.getMap("documentationGroupSnapshots");
|
|
5996
5971
|
}
|
|
5997
5972
|
//
|
|
5998
5973
|
// Utils
|
|
@@ -6041,21 +6016,33 @@ var FrontendVersionRoomYDoc = class {
|
|
|
6041
6016
|
const doc = new VersionRoomBaseYDoc(this.yDoc);
|
|
6042
6017
|
const pages = doc.getPages();
|
|
6043
6018
|
const groups = doc.getGroups();
|
|
6019
|
+
const pageSnapshots = doc.getPageSnapshots();
|
|
6020
|
+
const groupSnapshots = doc.getGroupSnapshots();
|
|
6044
6021
|
const settings = doc.getDocumentationInternalSettings();
|
|
6045
6022
|
const pageDTOs = documentationPagesToDTOV2(pages, groups, settings.routingVersion);
|
|
6046
|
-
const pageDraftStates = this.buildPageDraftStates(pages);
|
|
6023
|
+
const pageDraftStates = this.buildPageDraftStates(pages, pageSnapshots);
|
|
6047
6024
|
pageDTOs.forEach((p) => {
|
|
6048
6025
|
const draftState = pageDraftStates.get(p.id);
|
|
6049
6026
|
draftState && (p.draftState = draftState);
|
|
6050
6027
|
});
|
|
6051
6028
|
const groupDTOs = elementGroupsToDocumentationGroupDTOV2(groups, pages);
|
|
6052
|
-
const groupDraftStates = this.buildGroupDraftStates(groups);
|
|
6029
|
+
const groupDraftStates = this.buildGroupDraftStates(groups, groupSnapshots);
|
|
6053
6030
|
groupDTOs.forEach((g) => {
|
|
6054
6031
|
const draftState = groupDraftStates.get(g.id);
|
|
6055
6032
|
draftState && (g.draftState = draftState);
|
|
6056
6033
|
});
|
|
6057
|
-
const
|
|
6058
|
-
const
|
|
6034
|
+
const pageIds = new Set(pages.map((p) => p.id));
|
|
6035
|
+
const deletedPagesMap = mapByUnique(
|
|
6036
|
+
pageSnapshots.filter((s) => !pageIds.has(s.page.id)).map((s) => s.page),
|
|
6037
|
+
(p) => p.id
|
|
6038
|
+
);
|
|
6039
|
+
const deletedPages = Array.from(deletedPagesMap.values());
|
|
6040
|
+
const groupIds = new Set(groups.map((p) => p.id));
|
|
6041
|
+
const deletedGroupsMap = mapByUnique(
|
|
6042
|
+
groupSnapshots.filter((s) => !groupIds.has(s.group.id)).map((s) => s.group),
|
|
6043
|
+
(g) => g.id
|
|
6044
|
+
);
|
|
6045
|
+
const deletedGroups = Array.from(deletedGroupsMap.values());
|
|
6059
6046
|
const deletedPageDTOs = documentationPagesToDTOV2(
|
|
6060
6047
|
deletedPages,
|
|
6061
6048
|
[...groups, ...deletedGroups],
|
|
@@ -6076,10 +6063,10 @@ var FrontendVersionRoomYDoc = class {
|
|
|
6076
6063
|
//
|
|
6077
6064
|
// Drafts - Pages
|
|
6078
6065
|
//
|
|
6079
|
-
buildPageDraftStates(pages) {
|
|
6066
|
+
buildPageDraftStates(pages, pageSnapshots) {
|
|
6080
6067
|
const doc = new VersionRoomBaseYDoc(this.yDoc);
|
|
6081
6068
|
const pageHashes = doc.getDocumentationPageContentHashes();
|
|
6082
|
-
const publishedSnapshots =
|
|
6069
|
+
const publishedSnapshots = pageSnapshots.filter((s) => s.reason === "Publish");
|
|
6083
6070
|
const publishedSnapshotsByPageId = mapByUnique(publishedSnapshots, (s) => s.page.id);
|
|
6084
6071
|
const publishedPagesById = mapByUnique(
|
|
6085
6072
|
publishedSnapshots.map((s) => s.page),
|
|
@@ -6111,9 +6098,9 @@ var FrontendVersionRoomYDoc = class {
|
|
|
6111
6098
|
//
|
|
6112
6099
|
// Drafts - Groups
|
|
6113
6100
|
//
|
|
6114
|
-
buildGroupDraftStates(groups) {
|
|
6101
|
+
buildGroupDraftStates(groups, groupSnapshots) {
|
|
6115
6102
|
const doc = new VersionRoomBaseYDoc(this.yDoc);
|
|
6116
|
-
const publishedSnapshots =
|
|
6103
|
+
const publishedSnapshots = groupSnapshots.filter((s) => s.reason === "Publish");
|
|
6117
6104
|
const publishedSnapshotsByGroupId = mapByUnique(publishedSnapshots, (s) => s.group.id);
|
|
6118
6105
|
const publishedGroupsById = mapByUnique(
|
|
6119
6106
|
publishedSnapshots.map((s) => s.group),
|
|
@@ -9872,14 +9859,10 @@ var BackendVersionRoomYDoc = class {
|
|
|
9872
9859
|
transaction.pages && yDoc.updatePages(transaction.pages);
|
|
9873
9860
|
transaction.groupIdsToDelete && yDoc.deleteGroups(transaction.groupIdsToDelete);
|
|
9874
9861
|
transaction.groups && yDoc.updateGroups(transaction.groups);
|
|
9875
|
-
transaction.
|
|
9876
|
-
transaction.
|
|
9877
|
-
transaction.
|
|
9878
|
-
transaction.
|
|
9879
|
-
transaction.deletedPageSnapshotIdsToDelete && yDoc.deletePageDeletedSnapshots(transaction.deletedPageSnapshotIdsToDelete);
|
|
9880
|
-
transaction.deletedPageSnapshots && yDoc.updatePageDeletedSnapshots(transaction.deletedPageSnapshots);
|
|
9881
|
-
transaction.deletedGroupSnapshotIdsToDelete && yDoc.deleteGroupDeletedSnapshots(transaction.deletedGroupSnapshotIdsToDelete);
|
|
9882
|
-
transaction.deletedGroupSnapshots && yDoc.updateGroupDeletedSnapshots(transaction.deletedGroupSnapshots);
|
|
9862
|
+
transaction.pageSnapshotIdsToDelete && yDoc.deletePageSnapshots(transaction.pageSnapshotIdsToDelete);
|
|
9863
|
+
transaction.pageSnapshots && yDoc.updatePageSnapshots(transaction.pageSnapshots);
|
|
9864
|
+
transaction.groupSnapshotIdsToDelete && yDoc.deleteGroupSnapshots(transaction.groupSnapshotIdsToDelete);
|
|
9865
|
+
transaction.groupSnapshots && yDoc.updateGroupSnapshots(transaction.groupSnapshots);
|
|
9883
9866
|
transaction.internalSettings && yDoc.updateDocumentationInternalSettings(transaction.internalSettings);
|
|
9884
9867
|
});
|
|
9885
9868
|
}
|