fansunited-widget-poll 2.6.1 → 2.7.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.
@@ -244,6 +244,7 @@ export declare const languagesMap: {
244
244
  };
245
245
  export declare enum AdditionalFields {
246
246
  SHOW_DESCRIPTION = "show_description",
247
- SHOW_IMAGES = "show_images"
247
+ SHOW_IMAGES = "show_images",
248
+ SHOW_EMBED_CODE = "show_embed_code"
248
249
  }
249
250
  export declare const defaultItemsPerPageOptions: number[];
@@ -26,5 +26,6 @@ export default class PollFactory {
26
26
  mobile: string;
27
27
  };
28
28
  votes: number;
29
+ embed_code: string;
29
30
  };
30
31
  }
@@ -138,6 +138,7 @@ export default class LabelsModel {
138
138
  additionalFields: string;
139
139
  addDescription: string;
140
140
  addImages: string;
141
+ addEmbedCode: string;
141
142
  schedule: string;
142
143
  scheduledTaskNotAvailable: string;
143
144
  createScheduledTaskMessage: string;
@@ -33,6 +33,7 @@ export interface IPollOption {
33
33
  description: string;
34
34
  images: ImagesModel;
35
35
  votes: number;
36
+ embed_code: string | null;
36
37
  }
37
38
  export interface IRelation {
38
39
  entity_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fansunited-widget-poll",
3
- "version": "2.6.1",
3
+ "version": "2.7.0",
4
4
  "main": "poll-manager.es.js",
5
5
  "author": "Fans United",
6
6
  "description": "",