buzzcasting-storage 2.0.7 → 2.1.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.
- package/dist/buzzcasting-storage.d.ts +10 -89
- package/dist/buzzcasting-storage.esm.js +1961 -1901
- package/package.json +5 -5
|
@@ -11,62 +11,32 @@ declare class BuzzcastingStorageManager {
|
|
|
11
11
|
update: () => Promise<void>;
|
|
12
12
|
hide: (query: IQuery) => void;
|
|
13
13
|
private actions;
|
|
14
|
-
getCloud: (query: IQuery) => Promise<any>;
|
|
15
|
-
getSeries: (query: IQuery) => Promise<any>;
|
|
16
|
-
getMessages: (query: IQuery) => Promise<any>;
|
|
17
14
|
cleanMessages: () => Promise<void | undefined>;
|
|
18
|
-
getSubscribers: () => Promise<
|
|
15
|
+
getSubscribers: () => Promise<IQuery[] | undefined>;
|
|
19
16
|
}
|
|
20
17
|
export default BuzzcastingStorageManager;
|
|
21
18
|
|
|
22
19
|
export declare const CLOUD = "cloud";
|
|
23
20
|
|
|
24
|
-
|
|
25
|
-
uniquecomments: number;
|
|
26
|
-
engagement: number;
|
|
27
|
-
likesandvotes: number;
|
|
28
|
-
viewcount: number;
|
|
29
|
-
inboundlinks: number;
|
|
30
|
-
forumthread: number;
|
|
31
|
-
shares: number;
|
|
32
|
-
favourite: number;
|
|
33
|
-
semrush_visits?: number;
|
|
34
|
-
potential_reach?: number;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export declare interface Geo {
|
|
38
|
-
latitude: number;
|
|
39
|
-
longitude: number;
|
|
40
|
-
zip: string;
|
|
41
|
-
street: string;
|
|
42
|
-
city: string;
|
|
43
|
-
country: string;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export declare interface IMessages {
|
|
47
|
-
success?: boolean;
|
|
48
|
-
message?: string;
|
|
49
|
-
data?: Message[];
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export declare interface IQuery {
|
|
21
|
+
declare interface IQuery {
|
|
53
22
|
[x: string]: any;
|
|
54
23
|
topics?: string;
|
|
55
24
|
dashboard?: string;
|
|
56
25
|
widget?: string;
|
|
57
26
|
compare?: string;
|
|
58
27
|
period?: number;
|
|
59
|
-
type?: 'cloud' | 'messages' | '
|
|
28
|
+
type?: 'cloud' | 'messages' | 'series' | 'proxy';
|
|
60
29
|
order?: string;
|
|
61
30
|
media?: number;
|
|
62
31
|
dynamics?: number;
|
|
63
32
|
geo?: number;
|
|
64
33
|
delay?: string;
|
|
65
34
|
approved?: string;
|
|
66
|
-
moderation?: 'realtime' | 'delayed' | 'approved';
|
|
35
|
+
moderation?: 'realtime' | 'delayed' | 'approved' | 'none';
|
|
67
36
|
hrm?: string;
|
|
68
37
|
before?: number;
|
|
69
38
|
since?: number;
|
|
39
|
+
hash?: string;
|
|
70
40
|
}
|
|
71
41
|
|
|
72
42
|
export declare interface IStorageOptions {
|
|
@@ -85,55 +55,8 @@ export declare interface IStorageOptions {
|
|
|
85
55
|
retention?: number;
|
|
86
56
|
}
|
|
87
57
|
|
|
88
|
-
export declare interface Medium {
|
|
89
|
-
type: string;
|
|
90
|
-
url: string;
|
|
91
|
-
width: number;
|
|
92
|
-
height: number;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
export declare interface Message {
|
|
96
|
-
id: string;
|
|
97
|
-
published: string;
|
|
98
|
-
harvested: string;
|
|
99
|
-
utc: number;
|
|
100
|
-
channel: string;
|
|
101
|
-
type: string;
|
|
102
|
-
sender: Sender;
|
|
103
|
-
reply: string;
|
|
104
|
-
replyto: string;
|
|
105
|
-
page: string;
|
|
106
|
-
conversation: string;
|
|
107
|
-
title: string;
|
|
108
|
-
content: string;
|
|
109
|
-
sentiment: number;
|
|
110
|
-
link: string;
|
|
111
|
-
language: string;
|
|
112
|
-
region: string;
|
|
113
|
-
topics: Topic[];
|
|
114
|
-
dynamics?: Dynamics;
|
|
115
|
-
geo?: Geo;
|
|
116
|
-
media?: Medium[];
|
|
117
|
-
}
|
|
118
|
-
|
|
119
58
|
export declare const MESSAGES = "messages";
|
|
120
59
|
|
|
121
|
-
export declare interface Sender {
|
|
122
|
-
id: string;
|
|
123
|
-
title: string;
|
|
124
|
-
name: string;
|
|
125
|
-
avatar: string;
|
|
126
|
-
bio: string;
|
|
127
|
-
location: string;
|
|
128
|
-
verified: number;
|
|
129
|
-
following: number;
|
|
130
|
-
followers: number;
|
|
131
|
-
listed: number;
|
|
132
|
-
favourites: number;
|
|
133
|
-
messages: number;
|
|
134
|
-
influence: number;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
60
|
export declare const SERIES = "series";
|
|
138
61
|
|
|
139
62
|
export declare const STORAGE_CSS = "color:black;background-color:cyan;padding:0 4px 0 4px;border-radius:5px;";
|
|
@@ -148,14 +71,12 @@ export declare const STORAGE_SESSION = "session";
|
|
|
148
71
|
|
|
149
72
|
export declare const STORAGE_WINDOW = "window";
|
|
150
73
|
|
|
151
|
-
export declare
|
|
152
|
-
topic: string;
|
|
153
|
-
engagement: number;
|
|
154
|
-
impressions: number;
|
|
155
|
-
reach: number;
|
|
156
|
-
sentiment: number;
|
|
157
|
-
}
|
|
74
|
+
export declare const SUBSCRIBE = "subscribe";
|
|
158
75
|
|
|
159
76
|
export declare const TOPICS = "topics";
|
|
160
77
|
|
|
78
|
+
export declare const WIDGET = "widget";
|
|
79
|
+
|
|
80
|
+
export declare const WIDGETS = "widgets";
|
|
81
|
+
|
|
161
82
|
export { }
|