buzzcasting-storage 3.3.0 → 3.4.1

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.
@@ -8,7 +8,11 @@ export declare enum API {
8
8
  WIDGET = "widget",
9
9
  WIDGETS = "widgets",
10
10
  SLIDE = "slide",
11
- PREFERENCE = "preference"
11
+ SLIDES = "slides",
12
+ PRESENTATION = "presentation",
13
+ PRESENTATIONS = "presentations",
14
+ PREFERENCE = "preference",
15
+ PREFERENCES = "preferences"
12
16
  }
13
17
 
14
18
  export declare type ApiData = ISeries & IMessages & ICloud;
@@ -36,8 +40,14 @@ export declare class BuzzcastingStorageManager {
36
40
  setSlide: (query: IQuery) => Promise<IResponse | undefined>;
37
41
  loadSlide: (query: IQuery) => Promise<Number>;
38
42
  storeSlide: (query: IQuery) => Promise<IResponse | number>;
43
+ getPresentation: (query: IQuery) => Promise<IResponse | undefined>;
44
+ setPresentation: (query: IQuery) => Promise<IResponse | undefined>;
45
+ loadPresentation: (query: IQuery) => Promise<Number>;
46
+ storePresentation: (query: IQuery) => Promise<IResponse | number>;
39
47
  getPreference: (preference: IPreference) => Promise<IResponse | undefined>;
40
48
  setPreference: (preference: IPreference) => Promise<IResponse | undefined>;
49
+ loadPreference: (preference: IPreference) => Promise<Number>;
50
+ storePreference: (preference: IPreference) => Promise<IResponse | number>;
41
51
  }
42
52
 
43
53
  export declare class BuzzcastingStorageReader {
@@ -133,7 +143,9 @@ export declare enum EVENTS {
133
143
  GOTO_SLIDE = "gotoSlide",
134
144
  NEXT_SLIDE = "nextSlide",
135
145
  PREFERENCE_LOAD = "loadPreference",
136
- PREFERENCE_SAVE = "savePreference",
146
+ PREFERENCE_STORE = "storePreference",
147
+ PRESENTATION_LOAD = "loadPresentation",
148
+ PRESENTATION_STORE = "storePresentation",
137
149
  SHOW_BUILDER_MODAL = "showBuilderModal",
138
150
  SLIDE_DID_LOAD = "slideDidLoad",
139
151
  SLIDE_GOTO = "slideGoto",
@@ -149,6 +161,8 @@ export declare enum EVENTS {
149
161
  REMOVE_CLOUD = "removeCloud",
150
162
  UPDATE = "update",
151
163
  VERSION = "version",
164
+ WIDGET_LOAD = "widgetLoad",
165
+ WIDGET_STORE = "widgetStore",
152
166
  WIDGET_UPDATE = "widgetUpdate"
153
167
  }
154
168
 
@@ -309,6 +323,7 @@ export declare function intToString(num: any, digits: number): string;
309
323
  export declare interface IPreference {
310
324
  id: string;
311
325
  value?: string;
326
+ update?: number;
312
327
  }
313
328
 
314
329
  /**