buzzcasting-storage 3.4.0 → 3.5.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.
@@ -7,6 +7,8 @@ export declare enum API {
7
7
  TOPICS = "topics",
8
8
  WIDGET = "widget",
9
9
  WIDGETS = "widgets",
10
+ DASHBOARD = "dashboard",
11
+ DASHBOARDS = "dashboards",
10
12
  SLIDE = "slide",
11
13
  SLIDES = "slides",
12
14
  PRESENTATION = "presentation",
@@ -48,6 +50,11 @@ export declare class BuzzcastingStorageManager {
48
50
  setPreference: (preference: IPreference) => Promise<IResponse | undefined>;
49
51
  loadPreference: (preference: IPreference) => Promise<Number>;
50
52
  storePreference: (preference: IPreference) => Promise<IResponse | number>;
53
+ loadWidget: (query: IQuery) => Promise<Number>;
54
+ getWidget: (query: IQuery) => Promise<IResponse | undefined>;
55
+ setWidget: (query: IQuery) => Promise<IResponse | undefined>;
56
+ getDashboard: (query: IQuery) => Promise<IResponse | undefined>;
57
+ setDashboard: (query: IQuery) => Promise<IResponse | undefined>;
51
58
  }
52
59
 
53
60
  export declare class BuzzcastingStorageReader {
@@ -130,6 +137,8 @@ export declare enum EVENTS {
130
137
  CLEAN_MESSAGES = "cleanMessages",
131
138
  CLOSE_MODAL = "closeModal",
132
139
  CLOSE_BUILDER_MODAL = "closeBuilderModal",
140
+ DASHBOARD_LOAD = "loadDashboard",
141
+ DASHBOARD_STORE = "storeDashboard",
133
142
  ERROR = "error",
134
143
  HIDE_MESSAGE = "hideMessage",
135
144
  HIDE_LABELS = "hideLabels",
@@ -143,7 +152,7 @@ export declare enum EVENTS {
143
152
  GOTO_SLIDE = "gotoSlide",
144
153
  NEXT_SLIDE = "nextSlide",
145
154
  PREFERENCE_LOAD = "loadPreference",
146
- PREFERENCE_SAVE = "savePreference",
155
+ PREFERENCE_STORE = "storePreference",
147
156
  PRESENTATION_LOAD = "loadPresentation",
148
157
  PRESENTATION_STORE = "storePresentation",
149
158
  SHOW_BUILDER_MODAL = "showBuilderModal",
@@ -161,6 +170,8 @@ export declare enum EVENTS {
161
170
  REMOVE_CLOUD = "removeCloud",
162
171
  UPDATE = "update",
163
172
  VERSION = "version",
173
+ WIDGET_LOAD = "widgetLoad",
174
+ WIDGET_STORE = "widgetStore",
164
175
  WIDGET_UPDATE = "widgetUpdate"
165
176
  }
166
177
 
@@ -321,6 +332,7 @@ export declare function intToString(num: any, digits: number): string;
321
332
  export declare interface IPreference {
322
333
  id: string;
323
334
  value?: string;
335
+ update?: number;
324
336
  }
325
337
 
326
338
  /**