@gem-sdk/core 2.0.0-dev.173 → 2.0.0-dev.175

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.
@@ -255,11 +255,7 @@ const createBuilderPreviewProvider = (args, pageName, isThemeSectionEditor)=>zus
255
255
  }
256
256
  },
257
257
  getItem: (id)=>{
258
- const item = get().state[id];
259
- return {
260
- ...item,
261
- rawChildrens: item?.childrens?.map((v)=>get().state[v])
262
- };
258
+ return get().state[id];
263
259
  },
264
260
  removeItem: (id)=>{
265
261
  if (id === 'ROOT') {
@@ -253,11 +253,7 @@ const createBuilderPreviewProvider = (args, pageName, isThemeSectionEditor)=>cre
253
253
  }
254
254
  },
255
255
  getItem: (id)=>{
256
- const item = get().state[id];
257
- return {
258
- ...item,
259
- rawChildrens: item?.childrens?.map((v)=>get().state[v])
260
- };
256
+ return get().state[id];
261
257
  },
262
258
  removeItem: (id)=>{
263
259
  if (id === 'ROOT') {
@@ -7283,7 +7283,6 @@ type BlockEntity = {
7283
7283
  name?: string;
7284
7284
  dateModified?: string | number;
7285
7285
  childrens?: string[];
7286
- rawChildrens?: BlockEntity[];
7287
7286
  settings?: Record<string, any>;
7288
7287
  advanced?: Record<string, any>;
7289
7288
  styles?: Record<string, any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "2.0.0-dev.173",
3
+ "version": "2.0.0-dev.175",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",