@gem-sdk/core 2.0.3 → 2.0.6
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.
|
@@ -254,11 +254,7 @@ const createBuilderPreviewProvider = (args, pageName, isThemeSectionEditor)=>zus
|
|
|
254
254
|
}
|
|
255
255
|
},
|
|
256
256
|
getItem: (id)=>{
|
|
257
|
-
|
|
258
|
-
return {
|
|
259
|
-
...item,
|
|
260
|
-
rawChildrens: item?.childrens?.map((v)=>get().state[v])
|
|
261
|
-
};
|
|
257
|
+
return get().state[id];
|
|
262
258
|
},
|
|
263
259
|
removeItem: (id)=>{
|
|
264
260
|
if (id === 'ROOT') {
|
|
@@ -252,11 +252,7 @@ const createBuilderPreviewProvider = (args, pageName, isThemeSectionEditor)=>cre
|
|
|
252
252
|
}
|
|
253
253
|
},
|
|
254
254
|
getItem: (id)=>{
|
|
255
|
-
|
|
256
|
-
return {
|
|
257
|
-
...item,
|
|
258
|
-
rawChildrens: item?.childrens?.map((v)=>get().state[v])
|
|
259
|
-
};
|
|
255
|
+
return get().state[id];
|
|
260
256
|
},
|
|
261
257
|
removeItem: (id)=>{
|
|
262
258
|
if (id === 'ROOT') {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -7062,7 +7062,6 @@ type BlockEntity = {
|
|
|
7062
7062
|
name?: string;
|
|
7063
7063
|
dateModified?: string | number;
|
|
7064
7064
|
childrens?: string[];
|
|
7065
|
-
rawChildrens?: BlockEntity[];
|
|
7066
7065
|
settings?: Record<string, any>;
|
|
7067
7066
|
advanced?: Record<string, any>;
|
|
7068
7067
|
styles?: Record<string, any>;
|