eventregistry 8.11.2 → 9.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/analytics.d.ts +82 -82
- package/dist/analytics.js +336 -330
- package/dist/analytics.js.map +1 -1
- package/dist/base.d.ts +82 -81
- package/dist/base.js +261 -219
- package/dist/base.js.map +1 -1
- package/dist/counts.d.ts +81 -81
- package/dist/counts.js +162 -149
- package/dist/counts.js.map +1 -1
- package/dist/dailyShares.d.ts +10 -10
- package/dist/dailyShares.js +90 -77
- package/dist/dailyShares.js.map +1 -1
- package/dist/data.d.ts +269 -268
- package/dist/data.js +3 -3
- package/dist/eventForText.d.ts +48 -48
- package/dist/eventForText.js +126 -123
- package/dist/eventForText.js.map +1 -1
- package/dist/eventRegistry.d.ts +244 -224
- package/dist/eventRegistry.js +1098 -1018
- package/dist/eventRegistry.js.map +1 -1
- package/dist/index.d.ts +21 -20
- package/dist/index.js +128 -122
- package/dist/index.js.map +1 -1
- package/dist/info.d.ts +61 -61
- package/dist/info.js +171 -158
- package/dist/info.js.map +1 -1
- package/dist/logger.d.ts +44 -0
- package/dist/logger.js +144 -0
- package/dist/logger.js.map +1 -0
- package/dist/query.d.ts +53 -53
- package/dist/query.js +333 -290
- package/dist/query.js.map +1 -1
- package/dist/queryArticle.d.ts +61 -61
- package/dist/queryArticle.js +183 -168
- package/dist/queryArticle.js.map +1 -1
- package/dist/queryArticles.d.ts +144 -160
- package/dist/queryArticles.js +729 -701
- package/dist/queryArticles.js.map +1 -1
- package/dist/queryEvent.d.ts +140 -140
- package/dist/queryEvent.js +587 -569
- package/dist/queryEvent.js.map +1 -1
- package/dist/queryEvents.d.ts +210 -210
- package/dist/queryEvents.js +825 -798
- package/dist/queryEvents.js.map +1 -1
- package/dist/queryMentions.d.ts +96 -96
- package/dist/queryMentions.js +637 -600
- package/dist/queryMentions.js.map +1 -1
- package/dist/queryStory.d.ts +58 -58
- package/dist/queryStory.js +194 -174
- package/dist/queryStory.js.map +1 -1
- package/dist/recent.d.ts +23 -23
- package/dist/recent.js +199 -179
- package/dist/recent.js.map +1 -1
- package/dist/returnInfo.d.ts +68 -66
- package/dist/returnInfo.js +332 -304
- package/dist/returnInfo.js.map +1 -1
- package/dist/topicPage.d.ts +157 -157
- package/dist/topicPage.js +599 -604
- package/dist/topicPage.js.map +1 -1
- package/dist/trends.d.ts +35 -35
- package/dist/trends.js +115 -102
- package/dist/trends.js.map +1 -1
- package/dist/types.d.ts +2453 -2155
- package/dist/types.js +2 -2
- package/package.json +13 -13
package/dist/eventRegistry.d.ts
CHANGED
|
@@ -1,224 +1,244 @@
|
|
|
1
|
-
import { AxiosResponse } from "axios";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
/**
|
|
10
|
-
* @class EventRegistry
|
|
11
|
-
* Main class responsible for obtaining results form the Event Registry
|
|
12
|
-
*/
|
|
13
|
-
export declare class EventRegistry {
|
|
14
|
-
logger:
|
|
15
|
-
|
|
16
|
-
private
|
|
17
|
-
private
|
|
18
|
-
private
|
|
19
|
-
private
|
|
20
|
-
private
|
|
21
|
-
private
|
|
22
|
-
private readonly
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
*
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
*
|
|
39
|
-
* @param
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* @param
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
*
|
|
82
|
-
* @param
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
*
|
|
88
|
-
* @param
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
*
|
|
94
|
-
* @param
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
*
|
|
100
|
-
* @param
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
*
|
|
106
|
-
* @param
|
|
107
|
-
* @param
|
|
108
|
-
* @param
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
*
|
|
114
|
-
* @param
|
|
115
|
-
* @param
|
|
116
|
-
* @param
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
*
|
|
122
|
-
* @param
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
*
|
|
128
|
-
* @param
|
|
129
|
-
* @param
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
*
|
|
135
|
-
* @param
|
|
136
|
-
* @param
|
|
137
|
-
*/
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
* @param
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
*
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
*
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
*
|
|
166
|
-
*/
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* Return
|
|
170
|
-
* @param
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
*
|
|
176
|
-
* @param
|
|
177
|
-
*/
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* Return
|
|
181
|
-
* @param
|
|
182
|
-
* @param
|
|
183
|
-
*/
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
*
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
*
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
*
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
1
|
+
import { AxiosResponse } from "axios";
|
|
2
|
+
import { ReturnInfo } from "./returnInfo";
|
|
3
|
+
import { ER } from "./types";
|
|
4
|
+
import { QueryArticle } from "./queryArticle";
|
|
5
|
+
import { QueryArticles } from "./queryArticles";
|
|
6
|
+
import { QueryEvents } from "./queryEvents";
|
|
7
|
+
import { QueryEvent } from "./queryEvent";
|
|
8
|
+
import { Logger } from "./logger";
|
|
9
|
+
/**
|
|
10
|
+
* @class EventRegistry
|
|
11
|
+
* Main class responsible for obtaining results form the Event Registry
|
|
12
|
+
*/
|
|
13
|
+
export declare class EventRegistry {
|
|
14
|
+
logger: Logger;
|
|
15
|
+
private config;
|
|
16
|
+
private headers;
|
|
17
|
+
private dailyAvailableRequests;
|
|
18
|
+
private remainingAvailableRequests;
|
|
19
|
+
private lastQueryTime;
|
|
20
|
+
private _logRequests;
|
|
21
|
+
private readonly lock;
|
|
22
|
+
private readonly stopStatusCodes;
|
|
23
|
+
constructor(config?: ER.Config);
|
|
24
|
+
/**
|
|
25
|
+
* Should all requests be logged to a file or not?
|
|
26
|
+
*/
|
|
27
|
+
setLogging(logging: boolean): void;
|
|
28
|
+
get allowUseOfArchive(): boolean;
|
|
29
|
+
get verboseOutput(): boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Main method for executing the search queries.
|
|
32
|
+
* @param query instance of Query class
|
|
33
|
+
*/
|
|
34
|
+
execQuery<T = ER.SuccessfulResponse<unknown>>(query: any, allowUseOfArchive?: boolean): Promise<ER.Response<T>>;
|
|
35
|
+
jsonRequestAnalytics<T = unknown>(path: string, parameters?: any, headers?: any, cookies?: any): Promise<AxiosResponse<T>>;
|
|
36
|
+
/**
|
|
37
|
+
* Make a request for json data
|
|
38
|
+
* @param path url on er (e.g. "/api/v1/article")
|
|
39
|
+
* @param parameters Optional parameters to be included in the request
|
|
40
|
+
*/
|
|
41
|
+
jsonRequest<T = unknown>(path: string, parameters?: any, allowUseOfArchive?: boolean): Promise<AxiosResponse<T>>;
|
|
42
|
+
/**
|
|
43
|
+
* get the number of requests that are still available for the user today. Information is only accessible after you make some query.
|
|
44
|
+
*/
|
|
45
|
+
getRemainingAvailableRequests(): number;
|
|
46
|
+
/**
|
|
47
|
+
* get the total number of requests that the user can make in a day. Information is only accessible after you make some query.
|
|
48
|
+
*/
|
|
49
|
+
getDailyAvailableRequests(): number;
|
|
50
|
+
/**
|
|
51
|
+
* Return the headers returned in the response object of the last executed request
|
|
52
|
+
*/
|
|
53
|
+
getLastHeaders(): {};
|
|
54
|
+
/**
|
|
55
|
+
* Get a value of the header headerName that was set in the headers in the last response object
|
|
56
|
+
*/
|
|
57
|
+
getLastHeader(headerName: string, dfltVal?: string): any;
|
|
58
|
+
/**
|
|
59
|
+
* print some statistics about the last executed request
|
|
60
|
+
*/
|
|
61
|
+
printLastReqStats(): void;
|
|
62
|
+
/**
|
|
63
|
+
* return true or false depending on whether the last request used the archive or not
|
|
64
|
+
*/
|
|
65
|
+
getLastReqArchiveUse(): boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Return the number of used and total available tokens. Can be used at any time (also before making queries)
|
|
68
|
+
*/
|
|
69
|
+
getUsageInfo(): Promise<ER.UsageInfo>;
|
|
70
|
+
getServiceStatus(): Promise<ER.UsageInfo>;
|
|
71
|
+
getUrl(query: QueryArticles | QueryArticle | QueryEvents | QueryEvent): string;
|
|
72
|
+
/**
|
|
73
|
+
* Return a list of concepts that contain the given prefix.
|
|
74
|
+
* Returned matching concepts are sorted based on their frequency of occurrence in news (from most to least frequent)
|
|
75
|
+
* @param prefix input text that should be contained in the concept
|
|
76
|
+
* @param args Object which contains a host of optional parameters
|
|
77
|
+
*/
|
|
78
|
+
suggestConcepts(prefix: string, args?: ER.SuggestConceptsArguments): Promise<unknown>;
|
|
79
|
+
/**
|
|
80
|
+
* Return a list of dmoz categories that contain the prefix
|
|
81
|
+
* @param prefix input text that should be contained in the category name
|
|
82
|
+
* @param args Object which contains a host of optional parameters
|
|
83
|
+
*/
|
|
84
|
+
suggestCategories(prefix: string, args?: ER.SuggestCategoriesArguments): Promise<unknown>;
|
|
85
|
+
/**
|
|
86
|
+
* Return a list of news sources that match the prefix
|
|
87
|
+
* @param prefix input text that should be contained in the source name or uri
|
|
88
|
+
* @param args Object which contains a host of optional parameters
|
|
89
|
+
*/
|
|
90
|
+
suggestNewsSources(prefix: string, args?: ER.SuggestNewsSourcesArguments): Promise<unknown>;
|
|
91
|
+
/**
|
|
92
|
+
* Return a list of news source groups that match the prefix
|
|
93
|
+
* @param prefix input text that should be contained in the source group name or uri
|
|
94
|
+
* @param args Object which contains a host of optional parameters
|
|
95
|
+
*/
|
|
96
|
+
suggestSourceGroups(prefix: string, args?: ER.SuggestSourceGroupsArguments): Promise<unknown>;
|
|
97
|
+
/**
|
|
98
|
+
* Return a list of geo locations (cities or countries) that contain the prefix
|
|
99
|
+
* @param prefix input text that should be contained in the location name
|
|
100
|
+
* @param args Object which contains a host of optional parameters
|
|
101
|
+
*/
|
|
102
|
+
suggestLocations(prefix: string, args?: ER.SuggestLocationsArguments): Promise<ER.Location[]>;
|
|
103
|
+
/**
|
|
104
|
+
* Return a list of geo locations (cities or places) that are close to the provided (lat, long) values
|
|
105
|
+
* @param latitude latitude part of the coordinate
|
|
106
|
+
* @param longitude longitude part of the coordinate
|
|
107
|
+
* @param radiusKm radius in kilometers around the coordinates inside which the locations should be returned
|
|
108
|
+
* @param args Object which contains a host of optional parameters
|
|
109
|
+
*/
|
|
110
|
+
suggestLocationsAtCoordinate(latitude: number, longitude: number, radiusKm: number, args?: ER.SuggestLocationsAtCoordinateArguments): Promise<unknown>;
|
|
111
|
+
/**
|
|
112
|
+
* Return a list of news sources that are close to the provided (lat, long) values
|
|
113
|
+
* @param latitude latitude part of the coordinate
|
|
114
|
+
* @param longitude longitude part of the coordinate
|
|
115
|
+
* @param radiusKm radius in kilometers around the coordinates inside which the news sources should be located
|
|
116
|
+
* @param count number of returned suggestions
|
|
117
|
+
*/
|
|
118
|
+
suggestSourcesAtCoordinate(latitude: number, longitude: number, radiusKm: number, count?: number, ...otherParams: any[]): Promise<unknown>;
|
|
119
|
+
/**
|
|
120
|
+
* Return a list of news sources that are close to the provided (lat, long) values
|
|
121
|
+
* @param conceptUri concept that represents a geographic location for which we would like to obtain a list of sources located at the place
|
|
122
|
+
* @param args Object which contains a host of optional parameters
|
|
123
|
+
*/
|
|
124
|
+
suggestSourcesAtPlace(conceptUri: string, args?: ER.SuggestSourcesAtPlaceArguments): Promise<unknown>;
|
|
125
|
+
/**
|
|
126
|
+
* Return a list of news sources that match the prefix
|
|
127
|
+
* @param prefix: input text that should be contained in the author name and source url
|
|
128
|
+
* @param page: page of results
|
|
129
|
+
* @param count: number of returned suggestions
|
|
130
|
+
*/
|
|
131
|
+
suggestAuthors(prefix: string, page?: number, count?: number, ...otherParams: any[]): Promise<unknown>;
|
|
132
|
+
/**
|
|
133
|
+
* Return a list of event types that match the prefix
|
|
134
|
+
* @param prefix: input text that should be contained in the industry name
|
|
135
|
+
* @param page: page of results
|
|
136
|
+
* @param count: number of returned suggestions
|
|
137
|
+
*/
|
|
138
|
+
suggestEventTypes(prefix: string, page?: number, count?: number, ...otherParams: any[]): Promise<unknown>;
|
|
139
|
+
/**
|
|
140
|
+
* Return a list of industries that match the prefix. Note: Industries can only be used when querying mentions (QueryMentions, QueryMentionsIter)
|
|
141
|
+
* @param prefix: input text that should be contained in the industry name
|
|
142
|
+
* @param page: page of results
|
|
143
|
+
* @param count: number of returned suggestions
|
|
144
|
+
*/
|
|
145
|
+
suggestIndustries(prefix: string, page?: number, count?: number, ...otherParams: any[]): Promise<unknown>;
|
|
146
|
+
/**
|
|
147
|
+
* Return a list of SDG uris. Note: Industries can only be used when querying mentions (QueryMentions, QueryMentionsIter)
|
|
148
|
+
*/
|
|
149
|
+
getSdgUris(): Promise<unknown>;
|
|
150
|
+
/**
|
|
151
|
+
* Return a list of SASB uris. Note: SASB uris can only be used when querying mentions (QueryMentions, QueryMentionsIter)
|
|
152
|
+
*/
|
|
153
|
+
getSasbUris(): Promise<unknown>;
|
|
154
|
+
/**
|
|
155
|
+
* Return a list of concept classes that match the given prefix
|
|
156
|
+
* @param prefix input text that should be contained in the category name
|
|
157
|
+
* @param args Object which contains a host of optional parameters
|
|
158
|
+
*/
|
|
159
|
+
suggestConceptClasses(prefix: string, args?: ER.SuggestConceptClassesArguments): Promise<unknown>;
|
|
160
|
+
/**
|
|
161
|
+
* return a concept uri that is the best match for the given concept label
|
|
162
|
+
* if there are multiple matches for the given conceptLabel,
|
|
163
|
+
* they are sorted based on their frequency of occurrence in news (most to least frequent)
|
|
164
|
+
* @param conceptLabel partial or full name of the concept for which to return the concept uri
|
|
165
|
+
* @param args Object which contains a host of optional parameters
|
|
166
|
+
*/
|
|
167
|
+
getConceptUri(conceptLabel: string, args?: ER.GetConceptUriArguments): Promise<any>;
|
|
168
|
+
/**
|
|
169
|
+
* Return a location uri that is the best match for the given location label
|
|
170
|
+
* @param locationLabel partial or full location name for which to return the location uri
|
|
171
|
+
* @param args Object which contains a host of optional parameters
|
|
172
|
+
*/
|
|
173
|
+
getLocationUri(locationLabel: string, args?: ER.GetLocationUriArguments): Promise<string>;
|
|
174
|
+
/**
|
|
175
|
+
* Return a category uri that is the best match for the given label
|
|
176
|
+
* @param categoryLabel partial or full name of the category for which to return category uri
|
|
177
|
+
*/
|
|
178
|
+
getCategoryUri(categoryLabel: string): Promise<any>;
|
|
179
|
+
/**
|
|
180
|
+
* Return the news source that best matches the source name
|
|
181
|
+
* @param sourceName partial or full name of the source or source uri for which to return source uri
|
|
182
|
+
* @param dataType: return the source uri that provides content of these data types
|
|
183
|
+
*/
|
|
184
|
+
getNewsSourceUri(sourceName: string, dataType?: ER.DataType[] | ER.DataType): Promise<any>;
|
|
185
|
+
/**
|
|
186
|
+
* alternative (shorter) name for the method getNewsSourceUri()
|
|
187
|
+
*/
|
|
188
|
+
getSourceUri(sourceName: string, dataType?: ER.DataType[] | ER.DataType): Promise<any>;
|
|
189
|
+
/**
|
|
190
|
+
* Return the URI of the source group that best matches the name
|
|
191
|
+
* @param sourceGroupName partial or full name of the source group
|
|
192
|
+
*/
|
|
193
|
+
getSourceGroupUri(sourceGroupName: string): Promise<any>;
|
|
194
|
+
/**
|
|
195
|
+
* Return a uri of the concept class that is the best match for the given label
|
|
196
|
+
* @param classLabel partial or full name of the concept class for which to return class uri
|
|
197
|
+
* @param lang language in which the class label is specified
|
|
198
|
+
*/
|
|
199
|
+
getConceptClassUri(classLabel: string, lang?: string): Promise<any>;
|
|
200
|
+
/**
|
|
201
|
+
* Return detailed information about a particular concept
|
|
202
|
+
* @param conceptUri uri of the concept
|
|
203
|
+
* @param returnInfo what details about the concept should be included in the returned information
|
|
204
|
+
*/
|
|
205
|
+
getConceptInfo(conceptUri: string, returnInfo?: ReturnInfo): Promise<unknown>;
|
|
206
|
+
/**
|
|
207
|
+
* return author uri that is the best match for the given author name (and potentially source url)
|
|
208
|
+
* if there are multiple matches for the given author name, they are sorted based on the number of articles they have written (from most to least frequent)
|
|
209
|
+
* @param authorName: partial or full name of the author, potentially also containing the source url (e.g. "george brown nytimes")
|
|
210
|
+
*/
|
|
211
|
+
getAuthorUri(authorName: string): Promise<any>;
|
|
212
|
+
static getUriFromUriWgt(uriWgtList: string[]): string[];
|
|
213
|
+
/**
|
|
214
|
+
* If you have article urls and you want to query them in ER you first have to obtain their uris in the ER.
|
|
215
|
+
* @param articleUrls a single article url or a list of article urls
|
|
216
|
+
*/
|
|
217
|
+
getArticleUris(articleUrls: string | string[]): Promise<unknown>;
|
|
218
|
+
/**
|
|
219
|
+
* Return information about the latest imported article
|
|
220
|
+
*/
|
|
221
|
+
getSourceGroups(): Promise<unknown>;
|
|
222
|
+
/**
|
|
223
|
+
* Return info about the source group
|
|
224
|
+
*/
|
|
225
|
+
getSourceGroup(sourceGroupUri: string): Promise<unknown>;
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* @class ArticleMapper
|
|
229
|
+
* Create instance of article mapper it will map from article urls to article uris
|
|
230
|
+
* the mappings can be remembered so it will not repeat requests for the same article urls
|
|
231
|
+
*/
|
|
232
|
+
export declare class ArticleMapper {
|
|
233
|
+
private er;
|
|
234
|
+
private articleUrlToUri;
|
|
235
|
+
private rememberMappings;
|
|
236
|
+
constructor(er: EventRegistry, rememberMapping?: boolean);
|
|
237
|
+
/**
|
|
238
|
+
* Given the article url, return an array with 0, 1 or more article uris.
|
|
239
|
+
* Not all returned article uris are necessarily valid anymore.
|
|
240
|
+
* For news sources of lower importance we remove the duplicated articles and just keep the latest content
|
|
241
|
+
* @param articleUrl string containing the article url
|
|
242
|
+
*/
|
|
243
|
+
getArticleUri(articleUrl: string): Promise<any>;
|
|
244
|
+
}
|