eventregistry 8.11.2 → 9.1.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.
- 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 +45 -0
- package/dist/logger.js +156 -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/query.d.ts
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
import { QueryItems } from "./base";
|
|
2
|
-
import {
|
|
3
|
-
export declare abstract class QueryCore {
|
|
4
|
-
protected queryObj: any;
|
|
5
|
-
constructor();
|
|
6
|
-
getQuery(): any;
|
|
7
|
-
setQueryParam(paramName: string, val: unknown): void;
|
|
8
|
-
protected setValIfNotDefault(propName: string, value: unknown, defVal: unknown): void;
|
|
9
|
-
}
|
|
10
|
-
export declare class BaseQuery extends QueryCore {
|
|
11
|
-
protected queryObj: any;
|
|
12
|
-
/**
|
|
13
|
-
* @param args Object which contains a host of optional parameters
|
|
14
|
-
*/
|
|
15
|
-
constructor(
|
|
16
|
-
protected setQueryArrVal(propName:
|
|
17
|
-
}
|
|
18
|
-
export declare class CombinedQuery extends QueryCore {
|
|
19
|
-
protected queryObj: any;
|
|
20
|
-
/**
|
|
21
|
-
* Create a combined query with multiple items on which to perform an AND operation
|
|
22
|
-
* @param queryArr a list of items on which to perform an AND operation. Items can be either a CombinedQuery or BaseQuery instances.
|
|
23
|
-
* @param exclude Used to filter out results matching the other criteria specified in this query
|
|
24
|
-
*/
|
|
25
|
-
static AND(queryArr: Array<BaseQuery | CombinedQuery>, exclude?: BaseQuery | CombinedQuery): CombinedQuery;
|
|
26
|
-
/**
|
|
27
|
-
* Create a combined query with multiple items on which to perform an OR operation
|
|
28
|
-
* @param queryArr A list of items on which to perform an OR operation.
|
|
29
|
-
* @param exclude Used to filter out results matching the other criteria specified in this query.
|
|
30
|
-
*/
|
|
31
|
-
static OR(queryArr: Array<BaseQuery | CombinedQuery>, exclude?: BaseQuery | CombinedQuery): CombinedQuery;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* @class ComplexArticleQuery
|
|
35
|
-
* Create an article query using a complex query
|
|
36
|
-
*/
|
|
37
|
-
export declare class ComplexArticleQuery extends QueryCore {
|
|
38
|
-
protected queryObj: any;
|
|
39
|
-
/**
|
|
40
|
-
* @param query An instance of CombinedQuery or BaseQuery to use to find articles that match the conditions
|
|
41
|
-
* @param args Object which contains a host of optional parameters
|
|
42
|
-
*/
|
|
43
|
-
constructor(query: CombinedQuery | BaseQuery, args?:
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* @class ComplexEventQuery
|
|
47
|
-
*/
|
|
48
|
-
export declare class ComplexEventQuery extends QueryCore {
|
|
49
|
-
/**
|
|
50
|
-
* @param query an instance of CombinedQuery or BaseQuery to use to find events that match the conditions
|
|
51
|
-
*/
|
|
52
|
-
constructor(query: BaseQuery | CombinedQuery, args?:
|
|
53
|
-
}
|
|
1
|
+
import { QueryItems } from "./base";
|
|
2
|
+
import { ER } from "./types";
|
|
3
|
+
export declare abstract class QueryCore {
|
|
4
|
+
protected queryObj: any;
|
|
5
|
+
constructor();
|
|
6
|
+
getQuery(): any;
|
|
7
|
+
setQueryParam(paramName: string, val: unknown): void;
|
|
8
|
+
protected setValIfNotDefault(propName: string, value: unknown, defVal: unknown): void;
|
|
9
|
+
}
|
|
10
|
+
export declare class BaseQuery extends QueryCore {
|
|
11
|
+
protected queryObj: any;
|
|
12
|
+
/**
|
|
13
|
+
* @param args Object which contains a host of optional parameters
|
|
14
|
+
*/
|
|
15
|
+
constructor(parameters?: ER.Query.BaseQueryArguments);
|
|
16
|
+
protected setQueryArrVal(propName: string, value: string | string[] | QueryItems): void;
|
|
17
|
+
}
|
|
18
|
+
export declare class CombinedQuery extends QueryCore {
|
|
19
|
+
protected queryObj: any;
|
|
20
|
+
/**
|
|
21
|
+
* Create a combined query with multiple items on which to perform an AND operation
|
|
22
|
+
* @param queryArr a list of items on which to perform an AND operation. Items can be either a CombinedQuery or BaseQuery instances.
|
|
23
|
+
* @param exclude Used to filter out results matching the other criteria specified in this query
|
|
24
|
+
*/
|
|
25
|
+
static AND(queryArr: Array<BaseQuery | CombinedQuery>, exclude?: BaseQuery | CombinedQuery): CombinedQuery;
|
|
26
|
+
/**
|
|
27
|
+
* Create a combined query with multiple items on which to perform an OR operation
|
|
28
|
+
* @param queryArr A list of items on which to perform an OR operation.
|
|
29
|
+
* @param exclude Used to filter out results matching the other criteria specified in this query.
|
|
30
|
+
*/
|
|
31
|
+
static OR(queryArr: Array<BaseQuery | CombinedQuery>, exclude?: BaseQuery | CombinedQuery): CombinedQuery;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @class ComplexArticleQuery
|
|
35
|
+
* Create an article query using a complex query
|
|
36
|
+
*/
|
|
37
|
+
export declare class ComplexArticleQuery extends QueryCore {
|
|
38
|
+
protected queryObj: any;
|
|
39
|
+
/**
|
|
40
|
+
* @param query An instance of CombinedQuery or BaseQuery to use to find articles that match the conditions
|
|
41
|
+
* @param args Object which contains a host of optional parameters
|
|
42
|
+
*/
|
|
43
|
+
constructor(query: CombinedQuery | BaseQuery, args?: ER.Query.ComplexArticleQueryArguments);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* @class ComplexEventQuery
|
|
47
|
+
*/
|
|
48
|
+
export declare class ComplexEventQuery extends QueryCore {
|
|
49
|
+
/**
|
|
50
|
+
* @param query an instance of CombinedQuery or BaseQuery to use to find events that match the conditions
|
|
51
|
+
*/
|
|
52
|
+
constructor(query: BaseQuery | CombinedQuery, args?: ER.Query.ComplexEventQueryArguments);
|
|
53
|
+
}
|