@supernova-studio/client 0.52.3 → 0.52.5
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 +464 -0
- package/dist/index.d.ts +464 -0
- package/dist/index.js +13 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/yjs/version-room/frontend.ts +1 -2
package/package.json
CHANGED
|
@@ -98,7 +98,6 @@ export class FrontendVersionRoomYDoc {
|
|
|
98
98
|
const groupDraftDeletedStates = this.buildGroupDraftDeletedStates(groups, groupSnapshots);
|
|
99
99
|
const groupPublishedMetadata = this.buildGroupPublishedMetadata(groups, groupSnapshots);
|
|
100
100
|
const groupApprovalStates = this.buildGroupApprovalStates(groups, groupSnapshots);
|
|
101
|
-
|
|
102
101
|
groupDTOs.forEach(g => {
|
|
103
102
|
// Assign draft state
|
|
104
103
|
const draftState = groupDraftDeletedStates.get(g.id) ?? groupDraftStates.get(g.id);
|
|
@@ -392,7 +391,7 @@ export class FrontendVersionRoomYDoc {
|
|
|
392
391
|
persistentId: g.persistentId,
|
|
393
392
|
groupId: g.id,
|
|
394
393
|
};
|
|
395
|
-
result.set(g.
|
|
394
|
+
result.set(g.id, approvalState);
|
|
396
395
|
}
|
|
397
396
|
return result;
|
|
398
397
|
}
|