@wix/app-extensions 1.0.4 → 1.0.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.
@@ -7214,6 +7214,8 @@ interface Node extends NodeDataOneOf {
7214
7214
  layoutData?: LayoutData;
7215
7215
  /** Data for a cell node. */
7216
7216
  layoutCellData?: LayoutCellData;
7217
+ /** Data for a shape node. */
7218
+ shapeData?: ShapeData;
7217
7219
  /** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */
7218
7220
  type?: NodeTypeWithLiterals;
7219
7221
  /** Node ID. */
@@ -7281,6 +7283,8 @@ interface NodeDataOneOf {
7281
7283
  layoutData?: LayoutData;
7282
7284
  /** Data for a cell node. */
7283
7285
  layoutCellData?: LayoutCellData;
7286
+ /** Data for a shape node. */
7287
+ shapeData?: ShapeData;
7284
7288
  }
7285
7289
  declare enum NodeType {
7286
7290
  PARAGRAPH = "PARAGRAPH",
@@ -7316,10 +7320,11 @@ declare enum NodeType {
7316
7320
  AUDIO = "AUDIO",
7317
7321
  CAPTION = "CAPTION",
7318
7322
  LAYOUT = "LAYOUT",
7319
- LAYOUT_CELL = "LAYOUT_CELL"
7323
+ LAYOUT_CELL = "LAYOUT_CELL",
7324
+ SHAPE = "SHAPE"
7320
7325
  }
7321
7326
  /** @enumType */
7322
- type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL';
7327
+ type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL' | 'SHAPE';
7323
7328
  interface NodeStyle {
7324
7329
  /** The top padding value in pixels. */
7325
7330
  paddingTop?: string | null;
@@ -8965,6 +8970,23 @@ interface LayoutCellData {
8965
8970
  /** Size of the cell in 12 columns grid. */
8966
8971
  colSpan?: number | null;
8967
8972
  }
8973
+ interface ShapeData {
8974
+ /** Styling for the shape's container. */
8975
+ containerData?: PluginContainerData;
8976
+ /** Shape file details. */
8977
+ shape?: Media;
8978
+ /** Styling for the shape. */
8979
+ styles?: ShapeDataStyles;
8980
+ }
8981
+ interface ShapeDataStyles {
8982
+ /**
8983
+ * Shape fill color as a hexadecimal value.
8984
+ * @format COLOR_HEX
8985
+ */
8986
+ color?: string | null;
8987
+ /** Map of original color keys to their new color values. */
8988
+ colors?: Record<string, string>;
8989
+ }
8968
8990
  interface V1Metadata {
8969
8991
  /** Schema version. */
8970
8992
  version?: number;
@@ -7214,6 +7214,8 @@ interface Node extends NodeDataOneOf {
7214
7214
  layoutData?: LayoutData;
7215
7215
  /** Data for a cell node. */
7216
7216
  layoutCellData?: LayoutCellData;
7217
+ /** Data for a shape node. */
7218
+ shapeData?: ShapeData;
7217
7219
  /** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */
7218
7220
  type?: NodeTypeWithLiterals;
7219
7221
  /** Node ID. */
@@ -7281,6 +7283,8 @@ interface NodeDataOneOf {
7281
7283
  layoutData?: LayoutData;
7282
7284
  /** Data for a cell node. */
7283
7285
  layoutCellData?: LayoutCellData;
7286
+ /** Data for a shape node. */
7287
+ shapeData?: ShapeData;
7284
7288
  }
7285
7289
  declare enum NodeType {
7286
7290
  PARAGRAPH = "PARAGRAPH",
@@ -7316,10 +7320,11 @@ declare enum NodeType {
7316
7320
  AUDIO = "AUDIO",
7317
7321
  CAPTION = "CAPTION",
7318
7322
  LAYOUT = "LAYOUT",
7319
- LAYOUT_CELL = "LAYOUT_CELL"
7323
+ LAYOUT_CELL = "LAYOUT_CELL",
7324
+ SHAPE = "SHAPE"
7320
7325
  }
7321
7326
  /** @enumType */
7322
- type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL';
7327
+ type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL' | 'SHAPE';
7323
7328
  interface NodeStyle {
7324
7329
  /** The top padding value in pixels. */
7325
7330
  paddingTop?: string | null;
@@ -8965,6 +8970,23 @@ interface LayoutCellData {
8965
8970
  /** Size of the cell in 12 columns grid. */
8966
8971
  colSpan?: number | null;
8967
8972
  }
8973
+ interface ShapeData {
8974
+ /** Styling for the shape's container. */
8975
+ containerData?: PluginContainerData;
8976
+ /** Shape file details. */
8977
+ shape?: Media;
8978
+ /** Styling for the shape. */
8979
+ styles?: ShapeDataStyles;
8980
+ }
8981
+ interface ShapeDataStyles {
8982
+ /**
8983
+ * Shape fill color as a hexadecimal value.
8984
+ * @format COLOR_HEX
8985
+ */
8986
+ color?: string | null;
8987
+ /** Map of original color keys to their new color values. */
8988
+ colors?: Record<string, string>;
8989
+ }
8968
8990
  interface V1Metadata {
8969
8991
  /** Schema version. */
8970
8992
  version?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/app-extensions",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -32,5 +32,5 @@
32
32
  "groupId": "com.wixpress.public-sdk-autogen"
33
33
  }
34
34
  },
35
- "falconPackageHash": "f030755243230c73110f5e243d17609ca7faeb5c76e012356a50d2f1"
35
+ "falconPackageHash": "7884b7a741517c50d58bf674cced5e0da778238e2ba40cbbaefeca19"
36
36
  }