@supernova-studio/client 1.0.0-alpha.15 → 1.0.0-alpha.17
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.js +13 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7689,7 +7689,6 @@ var DesignSystemComponentEndpoint = class {
|
|
|
7689
7689
|
};
|
|
7690
7690
|
|
|
7691
7691
|
// src/api/endpoints/design-system/versions/elements-action.ts
|
|
7692
|
-
var _crypto = require('crypto');
|
|
7693
7692
|
var ElementsActionEndpoint = class {
|
|
7694
7693
|
constructor(requestExecutor) {
|
|
7695
7694
|
this.requestExecutor = requestExecutor;
|
|
@@ -7719,8 +7718,6 @@ var ElementsActionEndpoint = class {
|
|
|
7719
7718
|
return this.action(dsId, vId, { type: "FigmaNodeRenderAsync", nodes });
|
|
7720
7719
|
}
|
|
7721
7720
|
async action(dsId, vId, input) {
|
|
7722
|
-
if (!input.tId)
|
|
7723
|
-
input.tId = _crypto.randomUUID.call(void 0, );
|
|
7724
7721
|
return this.requestExecutor.json(
|
|
7725
7722
|
`/design-systems/${dsId}/versions/${vId}/elements-action`,
|
|
7726
7723
|
DTOElementActionOutput,
|
|
@@ -13580,16 +13577,19 @@ var DocsStructureRepository = class {
|
|
|
13580
13577
|
const localActions = this.localActions.filter((a) => a.tId && !executedTransactionIds.has(a.tId));
|
|
13581
13578
|
this.localActions = localActions;
|
|
13582
13579
|
const { pages, groups } = applyActionsLocally(this.designSystemVersionId, yState, localActions);
|
|
13583
|
-
const hierarchy = computeDocsHierarchy(
|
|
13584
|
-
|
|
13585
|
-
|
|
13586
|
-
|
|
13587
|
-
|
|
13588
|
-
|
|
13589
|
-
|
|
13590
|
-
|
|
13591
|
-
|
|
13592
|
-
|
|
13580
|
+
const hierarchy = computeDocsHierarchy(
|
|
13581
|
+
{
|
|
13582
|
+
pages,
|
|
13583
|
+
groups,
|
|
13584
|
+
approvals: yState.approvals,
|
|
13585
|
+
groupSnapshots: yState.groupSnapshots,
|
|
13586
|
+
pageContentHashes: yState.pageContentHashes,
|
|
13587
|
+
pageSnapshots: yState.pageSnapshots,
|
|
13588
|
+
settings: yState.settings,
|
|
13589
|
+
pageLiveblockRoomIds: yState.pageLiveblockRoomIds
|
|
13590
|
+
},
|
|
13591
|
+
{ includeDeletedContent: true }
|
|
13592
|
+
);
|
|
13593
13593
|
return hierarchy;
|
|
13594
13594
|
}
|
|
13595
13595
|
onYUpdate() {
|