buzzcasting-storage 2.10.9 → 2.10.11

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.
@@ -1,4 +1,4 @@
1
- declare enum API {
1
+ export declare enum API {
2
2
  MESSAGES = "messages",
3
3
  CLOUD = "cloud",
4
4
  SERIES = "series",
@@ -9,9 +9,9 @@ declare enum API {
9
9
 
10
10
  export declare type ApiData = ISeries & IMessages & ICloud;
11
11
 
12
- declare function attrs(attributes: NamedNodeMap): any;
12
+ export declare function attrs(attributes: NamedNodeMap): any;
13
13
 
14
- declare class BuzzcastingStorageManager {
14
+ export declare class BuzzcastingStorageManager {
15
15
  private sm;
16
16
  private api;
17
17
  private bc;
@@ -24,7 +24,7 @@ declare class BuzzcastingStorageManager {
24
24
  getSubscribers: () => Promise<IQuery[] | undefined>;
25
25
  }
26
26
 
27
- declare class BuzzcastingStorageReader {
27
+ export declare class BuzzcastingStorageReader {
28
28
  private sm;
29
29
  constructor(options: IStorageOptions);
30
30
  /**
@@ -52,14 +52,14 @@ declare class BuzzcastingStorageReader {
52
52
  * @param str
53
53
  * @returns string
54
54
  */
55
- declare function camelCase(str: string): string;
55
+ export declare function camelCase(str: string): string;
56
56
 
57
57
  /**
58
58
  * Convert string containing hyphens to camelCase
59
59
  * @param str
60
60
  * @returns camilized string
61
61
  */
62
- declare function camelize(str: string): string;
62
+ export declare function camelize(str: string): string;
63
63
 
64
64
  declare enum CSS_2 {
65
65
  API = "color:white;background-color:grey;padding:0 4px 0 4px;border-radius:5px;",
@@ -80,25 +80,9 @@ declare enum CSS_2 {
80
80
  WIDGET = "color:gret;background-color:lemonchiffon;padding:0 4px 0 4px;border-radius:5px;",
81
81
  WS = "color:white;background-color:green;padding:0 4px 0 4px;border-radius:5px;"
82
82
  }
83
+ export { CSS_2 as CSS }
83
84
 
84
- declare const _default: {
85
- BuzzcastingStorageManager: typeof BuzzcastingStorageManager;
86
- BuzzcastingStorageReader: typeof BuzzcastingStorageReader;
87
- Widget: typeof Widget;
88
- attrs: typeof attrs;
89
- filterAttributes: typeof filterAttributes;
90
- widgetParams: typeof widgetParams;
91
- camelCase: typeof camelCase;
92
- camelize: typeof camelize;
93
- API: typeof API;
94
- CSS: typeof CSS_2;
95
- EVENTS: typeof EVENTS;
96
- MODERATION: typeof MODERATION;
97
- STORAGE: typeof STORAGE;
98
- };
99
- export default _default;
100
-
101
- declare enum EVENTS {
85
+ export declare enum EVENTS {
102
86
  ADD_SLIDE = "addSlide",
103
87
  APP_READY = "appReady",
104
88
  API_UPDATE = "apiUpdate",
@@ -126,7 +110,7 @@ declare enum EVENTS {
126
110
  WIDGET_UPDATE = "widgetUpdate"
127
111
  }
128
112
 
129
- declare function filterAttributes(attributes: NamedNodeMap): IFilteredAttributes;
113
+ export declare function filterAttributes(attributes: NamedNodeMap): IFilteredAttributes;
130
114
 
131
115
  export declare interface ICategory {
132
116
  type: string;
@@ -359,7 +343,7 @@ export declare interface ITopic {
359
343
  sentiment: number;
360
344
  }
361
345
 
362
- declare enum MODERATION {
346
+ export declare enum MODERATION {
363
347
  APPROVED = "approved",
364
348
  BEFORE = "before",
365
349
  DELAYED = "delayed",
@@ -367,7 +351,7 @@ declare enum MODERATION {
367
351
  REALTIME = "realtime"
368
352
  }
369
353
 
370
- declare enum STORAGE {
354
+ export declare enum STORAGE {
371
355
  KEYVAL = "keyval",
372
356
  LOCAL = "local",
373
357
  SESSION = "session",
@@ -378,7 +362,7 @@ declare enum STORAGE {
378
362
  /**
379
363
  * Main class for managing widgets and data updates
380
364
  */
381
- declare class Widget {
365
+ export declare class Widget {
382
366
  private storageReader;
383
367
  private broadcastChannel;
384
368
  private element;
@@ -436,6 +420,6 @@ declare class Widget {
436
420
  destroy(): void;
437
421
  }
438
422
 
439
- declare function widgetParams(query: IQuery): IQuery;
423
+ export declare function widgetParams(query: IQuery): IQuery;
440
424
 
441
425
  export { }