@wix/public-editor-platform-interfaces 1.27.0 → 1.28.0

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.
Files changed (2) hide show
  1. package/dist/sdk/data.d.ts +10 -2
  2. package/package.json +2 -2
@@ -53,10 +53,18 @@ export type ElementImage = DmTypes.Image;
53
53
  export type ElementVideo = DmTypes.Video;
54
54
  export type ElementAudio = DmTypes.Audio;
55
55
  export type ElementVectorArt = DmTypes.VectorArt;
56
- export type ElementMenuItems = DmTypes.MenuItems;
57
56
  export type ElementA11y = DmTypes.A11y;
58
- export type ElementRichText = DmTypes.RichText;
59
57
  export type ElementDirection = DmTypes.Direction;
58
+ export type ElementMenuItem = Omit<DmTypes.MenuItem, 'link' | 'items'> & {
59
+ link?: ElementLink;
60
+ items?: ElementMenuItem[];
61
+ };
62
+ export type ElementMenuItems = Omit<DmTypes.MenuItems, 'items'> & {
63
+ items?: ElementMenuItem[];
64
+ };
65
+ export type ElementRichText = Omit<DmTypes.RichText, 'linkList'> & {
66
+ linkList?: ElementLink[];
67
+ };
60
68
  export type ElementDataValue = string | number | boolean | ElementLink | ElementImage | ElementVideo | ElementAudio | ElementVectorArt | ElementMenuItems | ElementA11y | ElementRichText | ElementDirection | ElementDataObject | ElementDataValue[] | null | undefined;
61
69
  export type ElementDataObject = {
62
70
  [key: string]: ElementDataValue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/public-editor-platform-interfaces",
3
- "version": "1.27.0",
3
+ "version": "1.28.0",
4
4
  "license": "UNLICENSED",
5
5
  "contributors": [
6
6
  {
@@ -51,5 +51,5 @@
51
51
  ]
52
52
  }
53
53
  },
54
- "falconPackageHash": "ac7a6d50948d2e5bc9a401415282ab3c4facd215884cbd1d835f6297"
54
+ "falconPackageHash": "bb11d684f956852596a6f568ef2546e2a7aaefb41162e0fe0d0c0984"
55
55
  }