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.
Files changed (65) hide show
  1. package/dist/analytics.d.ts +82 -82
  2. package/dist/analytics.js +336 -330
  3. package/dist/analytics.js.map +1 -1
  4. package/dist/base.d.ts +82 -81
  5. package/dist/base.js +261 -219
  6. package/dist/base.js.map +1 -1
  7. package/dist/counts.d.ts +81 -81
  8. package/dist/counts.js +162 -149
  9. package/dist/counts.js.map +1 -1
  10. package/dist/dailyShares.d.ts +10 -10
  11. package/dist/dailyShares.js +90 -77
  12. package/dist/dailyShares.js.map +1 -1
  13. package/dist/data.d.ts +269 -268
  14. package/dist/data.js +3 -3
  15. package/dist/eventForText.d.ts +48 -48
  16. package/dist/eventForText.js +126 -123
  17. package/dist/eventForText.js.map +1 -1
  18. package/dist/eventRegistry.d.ts +244 -224
  19. package/dist/eventRegistry.js +1098 -1018
  20. package/dist/eventRegistry.js.map +1 -1
  21. package/dist/index.d.ts +21 -20
  22. package/dist/index.js +128 -122
  23. package/dist/index.js.map +1 -1
  24. package/dist/info.d.ts +61 -61
  25. package/dist/info.js +171 -158
  26. package/dist/info.js.map +1 -1
  27. package/dist/logger.d.ts +44 -0
  28. package/dist/logger.js +144 -0
  29. package/dist/logger.js.map +1 -0
  30. package/dist/query.d.ts +53 -53
  31. package/dist/query.js +333 -290
  32. package/dist/query.js.map +1 -1
  33. package/dist/queryArticle.d.ts +61 -61
  34. package/dist/queryArticle.js +183 -168
  35. package/dist/queryArticle.js.map +1 -1
  36. package/dist/queryArticles.d.ts +144 -160
  37. package/dist/queryArticles.js +729 -701
  38. package/dist/queryArticles.js.map +1 -1
  39. package/dist/queryEvent.d.ts +140 -140
  40. package/dist/queryEvent.js +587 -569
  41. package/dist/queryEvent.js.map +1 -1
  42. package/dist/queryEvents.d.ts +210 -210
  43. package/dist/queryEvents.js +825 -798
  44. package/dist/queryEvents.js.map +1 -1
  45. package/dist/queryMentions.d.ts +96 -96
  46. package/dist/queryMentions.js +637 -600
  47. package/dist/queryMentions.js.map +1 -1
  48. package/dist/queryStory.d.ts +58 -58
  49. package/dist/queryStory.js +194 -174
  50. package/dist/queryStory.js.map +1 -1
  51. package/dist/recent.d.ts +23 -23
  52. package/dist/recent.js +199 -179
  53. package/dist/recent.js.map +1 -1
  54. package/dist/returnInfo.d.ts +68 -66
  55. package/dist/returnInfo.js +332 -304
  56. package/dist/returnInfo.js.map +1 -1
  57. package/dist/topicPage.d.ts +157 -157
  58. package/dist/topicPage.js +599 -604
  59. package/dist/topicPage.js.map +1 -1
  60. package/dist/trends.d.ts +35 -35
  61. package/dist/trends.js +115 -102
  62. package/dist/trends.js.map +1 -1
  63. package/dist/types.d.ts +2453 -2155
  64. package/dist/types.js +2 -2
  65. package/package.json +13 -13
package/dist/counts.d.ts CHANGED
@@ -1,81 +1,81 @@
1
- import { QueryParamsBase } from "./base";
2
- import { EventRegistryStatic } from "./types";
3
- export declare abstract class CountsBase extends QueryParamsBase {
4
- readonly path: string;
5
- }
6
- /**
7
- * @class GetCounts
8
- * Obtain information about how frequently a concept or category is mentioned in the articles on particular dates
9
- * by specifying source="custom" one can obtain counts for custom concepts, such as stocks, macroeconomic indicators, etc. The uri
10
- * for these can be found using EventRegistry.getCustomConceptUri() method.
11
- * Usage example:
12
- *
13
- * q = GetCounts([er.getConceptUri("Obama"), er.getConceptUri("ebola")])
14
- * ret = er.execQuery(q)
15
- *
16
- * Return object:
17
- *
18
- * {
19
- * "http://en.wikipedia.org/wiki/Barack_Obama": [
20
- * {
21
- * "count": 1,
22
- * "date": "2015-05-07"
23
- * },
24
- * {
25
- * "count": 4,
26
- * "date": "2015-05-08"
27
- * },
28
- * ...
29
- * ],
30
- * "http://en.wikipedia.org/wiki/Ebola_virus_disease": [
31
- * {
32
- * "count": 0,
33
- * "date": "2015-05-07"
34
- * },
35
- * ...
36
- * ]
37
- * }
38
- *
39
- * @param uriOrUriList: concept/category uri or a list of uris
40
- * @param args Object which contains a host of optional parameters
41
- */
42
- export declare class GetCounts extends CountsBase {
43
- constructor(uriOrUriList: string | string[], args?: EventRegistryStatic.Counts.Arguments);
44
- }
45
- /**
46
- * @class GetCountsEx
47
- * Obtain information about how frequently a concept or category is mentioned in the articles on particular dates
48
- * Similar to GetCounts, but the output is more friendly for a larger set of provided uris/ids at once
49
- * Usage example:
50
- * q = GetCountsEx(type = "category")
51
- * q.queryById(range(10)) # return trends of first 10 categories
52
- * ret = er.execQuery(q)
53
- * Return object:
54
- * {
55
- * "categoryInfo": [
56
- * {
57
- * "id": 0,
58
- * "label": "Root",
59
- * "uri": "http://www.dmoz.org"
60
- * },
61
- * {
62
- * "id": 1,
63
- * "label": "Recreation",
64
- * "uri": "http://www.dmoz.org/Recreation"
65
- * },
66
- * ...
67
- * ],
68
- * "counts": [
69
- * {
70
- * "0": 23, "1": 42, "2": 52, "3": 32, "4": 21, "5": 65, "6": 32, "7": 654, "8": 1, "9": 34,
71
- * "date": "2015-05-07"
72
- * },
73
- * ...
74
- * ]
75
- * }
76
- * @param uriOrUriList: concept/category uri or a list of uris
77
- * @param args Object which contains a host of optional parameters
78
- */
79
- export declare class GetCountsEx extends CountsBase {
80
- constructor(uriOrUriList: string | string[], args?: EventRegistryStatic.Counts.Arguments);
81
- }
1
+ import { QueryParamsBase } from "./base";
2
+ import { ER } from "./types";
3
+ export declare abstract class CountsBase extends QueryParamsBase {
4
+ get path(): string;
5
+ }
6
+ /**
7
+ * @class GetCounts
8
+ * Obtain information about how frequently a concept or category is mentioned in the articles on particular dates
9
+ * by specifying source="custom" one can obtain counts for custom concepts, such as stocks, macroeconomic indicators, etc. The uri
10
+ * for these can be found using EventRegistry.getCustomConceptUri() method.
11
+ * Usage example:
12
+ *
13
+ * q = GetCounts([er.getConceptUri("Obama"), er.getConceptUri("ebola")])
14
+ * ret = er.execQuery(q)
15
+ *
16
+ * Return object:
17
+ *
18
+ * {
19
+ * "http://en.wikipedia.org/wiki/Barack_Obama": [
20
+ * {
21
+ * "count": 1,
22
+ * "date": "2015-05-07"
23
+ * },
24
+ * {
25
+ * "count": 4,
26
+ * "date": "2015-05-08"
27
+ * },
28
+ * ...
29
+ * ],
30
+ * "http://en.wikipedia.org/wiki/Ebola_virus_disease": [
31
+ * {
32
+ * "count": 0,
33
+ * "date": "2015-05-07"
34
+ * },
35
+ * ...a
36
+ * ]
37
+ * }
38
+ *
39
+ * @param uriOrUriList: concept/category uri or a list of uris
40
+ * @param args Object which contains a host of optional parameters
41
+ */
42
+ export declare class GetCounts extends CountsBase {
43
+ constructor(uriOrUriList: string | string[], args?: ER.Counts.Arguments);
44
+ }
45
+ /**
46
+ * @class GetCountsEx
47
+ * Obtain information about how frequently a concept or category is mentioned in the articles on particular dates
48
+ * Similar to GetCounts, but the output is more friendly for a larger set of provided uris/ids at once
49
+ * Usage example:
50
+ * q = GetCountsEx(type = "category")
51
+ * q.queryById(range(10)) # return trends of first 10 categories
52
+ * ret = er.execQuery(q)
53
+ * Return object:
54
+ * {
55
+ * "categoryInfo": [
56
+ * {
57
+ * "id": 0,
58
+ * "label": "Root",
59
+ * "uri": "http://www.dmoz.org"
60
+ * },
61
+ * {
62
+ * "id": 1,
63
+ * "label": "Recreation",
64
+ * "uri": "http://www.dmoz.org/Recreation"
65
+ * },
66
+ * ...
67
+ * ],
68
+ * "counts": [
69
+ * {
70
+ * "0": 23, "1": 42, "2": 52, "3": 32, "4": 21, "5": 65, "6": 32, "7": 654, "8": 1, "9": 34,
71
+ * "date": "2015-05-07"
72
+ * },
73
+ * ...
74
+ * ]
75
+ * }
76
+ * @param uriOrUriList: concept/category uri or a list of uris
77
+ * @param args Object which contains a host of optional parameters
78
+ */
79
+ export declare class GetCountsEx extends CountsBase {
80
+ constructor(uriOrUriList: string | string[], args?: ER.Counts.Arguments);
81
+ }
package/dist/counts.js CHANGED
@@ -1,150 +1,163 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- }
9
- return function (d, b) {
10
- extendStatics(d, b);
11
- function __() { this.constructor = d; }
12
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13
- };
14
- })();
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- var _ = require("lodash");
17
- var base_1 = require("./base");
18
- var returnInfo_1 = require("./returnInfo");
19
- // provides classes for obtaining information about how frequently individual concepts or categories
20
- // have been mentioned in news articles (if source == "news") of in social media (if source == "social")
21
- var CountsBase = /** @class */ (function (_super) {
22
- __extends(CountsBase, _super);
23
- function CountsBase() {
24
- return _super !== null && _super.apply(this, arguments) || this;
25
- }
26
- Object.defineProperty(CountsBase.prototype, "path", {
27
- get: function () {
28
- return "/api/v1/counters";
29
- },
30
- enumerable: true,
31
- configurable: true
32
- });
33
- return CountsBase;
34
- }(base_1.QueryParamsBase));
35
- exports.CountsBase = CountsBase;
36
- /**
37
- * @class GetCounts
38
- * Obtain information about how frequently a concept or category is mentioned in the articles on particular dates
39
- * by specifying source="custom" one can obtain counts for custom concepts, such as stocks, macroeconomic indicators, etc. The uri
40
- * for these can be found using EventRegistry.getCustomConceptUri() method.
41
- * Usage example:
42
- *
43
- * q = GetCounts([er.getConceptUri("Obama"), er.getConceptUri("ebola")])
44
- * ret = er.execQuery(q)
45
- *
46
- * Return object:
47
- *
48
- * {
49
- * "http://en.wikipedia.org/wiki/Barack_Obama": [
50
- * {
51
- * "count": 1,
52
- * "date": "2015-05-07"
53
- * },
54
- * {
55
- * "count": 4,
56
- * "date": "2015-05-08"
57
- * },
58
- * ...
59
- * ],
60
- * "http://en.wikipedia.org/wiki/Ebola_virus_disease": [
61
- * {
62
- * "count": 0,
63
- * "date": "2015-05-07"
64
- * },
65
- * ...
66
- * ]
67
- * }
68
- *
69
- * @param uriOrUriList: concept/category uri or a list of uris
70
- * @param args Object which contains a host of optional parameters
71
- */
72
- var GetCounts = /** @class */ (function (_super) {
73
- __extends(GetCounts, _super);
74
- function GetCounts(uriOrUriList, args) {
75
- if (args === void 0) { args = {}; }
76
- var _this = _super.call(this) || this;
77
- var _a = args.source, source = _a === void 0 ? "news" : _a, _b = args.type, type = _b === void 0 ? "concept" : _b, _c = args.dateStart, dateStart = _c === void 0 ? undefined : _c, _d = args.dateEnd, dateEnd = _d === void 0 ? undefined : _d, _e = args.returnInfo, returnInfo = _e === void 0 ? new returnInfo_1.ReturnInfo() : _e;
78
- _this.setVal("action", "getCounts");
79
- _this.setVal("source", source);
80
- _this.setVal("type", type);
81
- _this.setVal("uri", uriOrUriList);
82
- if (!_.isUndefined(dateStart)) {
83
- _this.setDateVal("dateStart", dateStart);
84
- }
85
- if (!_.isUndefined(dateEnd)) {
86
- _this.setDateVal("dateEnd", dateEnd);
87
- }
88
- _this.params = _.extend({}, _this.params, returnInfo.getParams());
89
- return _this;
90
- }
91
- return GetCounts;
92
- }(CountsBase));
93
- exports.GetCounts = GetCounts;
94
- /**
95
- * @class GetCountsEx
96
- * Obtain information about how frequently a concept or category is mentioned in the articles on particular dates
97
- * Similar to GetCounts, but the output is more friendly for a larger set of provided uris/ids at once
98
- * Usage example:
99
- * q = GetCountsEx(type = "category")
100
- * q.queryById(range(10)) # return trends of first 10 categories
101
- * ret = er.execQuery(q)
102
- * Return object:
103
- * {
104
- * "categoryInfo": [
105
- * {
106
- * "id": 0,
107
- * "label": "Root",
108
- * "uri": "http://www.dmoz.org"
109
- * },
110
- * {
111
- * "id": 1,
112
- * "label": "Recreation",
113
- * "uri": "http://www.dmoz.org/Recreation"
114
- * },
115
- * ...
116
- * ],
117
- * "counts": [
118
- * {
119
- * "0": 23, "1": 42, "2": 52, "3": 32, "4": 21, "5": 65, "6": 32, "7": 654, "8": 1, "9": 34,
120
- * "date": "2015-05-07"
121
- * },
122
- * ...
123
- * ]
124
- * }
125
- * @param uriOrUriList: concept/category uri or a list of uris
126
- * @param args Object which contains a host of optional parameters
127
- */
128
- var GetCountsEx = /** @class */ (function (_super) {
129
- __extends(GetCountsEx, _super);
130
- function GetCountsEx(uriOrUriList, args) {
131
- if (args === void 0) { args = {}; }
132
- var _this = _super.call(this) || this;
133
- var _a = args.source, source = _a === void 0 ? "news" : _a, _b = args.type, type = _b === void 0 ? "concept" : _b, _c = args.dateStart, dateStart = _c === void 0 ? undefined : _c, _d = args.dateEnd, dateEnd = _d === void 0 ? undefined : _d, _e = args.returnInfo, returnInfo = _e === void 0 ? new returnInfo_1.ReturnInfo() : _e;
134
- _this.setVal("action", "GetCountsEx");
135
- _this.setVal("source", source);
136
- _this.setVal("type", type);
137
- _this.setVal("uri", uriOrUriList);
138
- if (!_.isUndefined(dateStart)) {
139
- _this.setDateVal("dateStart", dateStart);
140
- }
141
- if (!_.isUndefined(dateEnd)) {
142
- _this.setDateVal("dateEnd", dateEnd);
143
- }
144
- _this.params = _.extend({}, _this.params, returnInfo.getParams());
145
- return _this;
146
- }
147
- return GetCountsEx;
148
- }(CountsBase));
149
- exports.GetCountsEx = GetCountsEx;
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ var __assign = (this && this.__assign) || function () {
18
+ __assign = Object.assign || function(t) {
19
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
20
+ s = arguments[i];
21
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
22
+ t[p] = s[p];
23
+ }
24
+ return t;
25
+ };
26
+ return __assign.apply(this, arguments);
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.GetCountsEx = exports.GetCounts = exports.CountsBase = void 0;
30
+ var base_1 = require("./base");
31
+ var returnInfo_1 = require("./returnInfo");
32
+ // provides classes for obtaining information about how frequently individual concepts or categories
33
+ // have been mentioned in news articles (if source == "news") of in social media (if source == "social")
34
+ var CountsBase = /** @class */ (function (_super) {
35
+ __extends(CountsBase, _super);
36
+ function CountsBase() {
37
+ return _super !== null && _super.apply(this, arguments) || this;
38
+ }
39
+ Object.defineProperty(CountsBase.prototype, "path", {
40
+ get: function () {
41
+ return "/api/v1/counters";
42
+ },
43
+ enumerable: false,
44
+ configurable: true
45
+ });
46
+ return CountsBase;
47
+ }(base_1.QueryParamsBase));
48
+ exports.CountsBase = CountsBase;
49
+ /**
50
+ * @class GetCounts
51
+ * Obtain information about how frequently a concept or category is mentioned in the articles on particular dates
52
+ * by specifying source="custom" one can obtain counts for custom concepts, such as stocks, macroeconomic indicators, etc. The uri
53
+ * for these can be found using EventRegistry.getCustomConceptUri() method.
54
+ * Usage example:
55
+ *
56
+ * q = GetCounts([er.getConceptUri("Obama"), er.getConceptUri("ebola")])
57
+ * ret = er.execQuery(q)
58
+ *
59
+ * Return object:
60
+ *
61
+ * {
62
+ * "http://en.wikipedia.org/wiki/Barack_Obama": [
63
+ * {
64
+ * "count": 1,
65
+ * "date": "2015-05-07"
66
+ * },
67
+ * {
68
+ * "count": 4,
69
+ * "date": "2015-05-08"
70
+ * },
71
+ * ...
72
+ * ],
73
+ * "http://en.wikipedia.org/wiki/Ebola_virus_disease": [
74
+ * {
75
+ * "count": 0,
76
+ * "date": "2015-05-07"
77
+ * },
78
+ * ...a
79
+ * ]
80
+ * }
81
+ *
82
+ * @param uriOrUriList: concept/category uri or a list of uris
83
+ * @param args Object which contains a host of optional parameters
84
+ */
85
+ var GetCounts = /** @class */ (function (_super) {
86
+ __extends(GetCounts, _super);
87
+ function GetCounts(uriOrUriList, args) {
88
+ if (args === void 0) { args = {}; }
89
+ var _this = _super.call(this) || this;
90
+ var _a = args.source, source = _a === void 0 ? "news" : _a, _b = args.type, type = _b === void 0 ? "concept" : _b, _c = args.dateStart, dateStart = _c === void 0 ? undefined : _c, _d = args.dateEnd, dateEnd = _d === void 0 ? undefined : _d, _e = args.returnInfo, returnInfo = _e === void 0 ? new returnInfo_1.ReturnInfo() : _e;
91
+ _this.setVal("action", "getCounts");
92
+ _this.setVal("source", source);
93
+ _this.setVal("type", type);
94
+ _this.setVal("uri", uriOrUriList);
95
+ if (dateStart !== undefined) {
96
+ _this.setDateVal("dateStart", dateStart);
97
+ }
98
+ if (dateEnd !== undefined) {
99
+ _this.setDateVal("dateEnd", dateEnd);
100
+ }
101
+ _this.params = __assign(__assign({}, _this.params), returnInfo.getParams());
102
+ return _this;
103
+ }
104
+ return GetCounts;
105
+ }(CountsBase));
106
+ exports.GetCounts = GetCounts;
107
+ /**
108
+ * @class GetCountsEx
109
+ * Obtain information about how frequently a concept or category is mentioned in the articles on particular dates
110
+ * Similar to GetCounts, but the output is more friendly for a larger set of provided uris/ids at once
111
+ * Usage example:
112
+ * q = GetCountsEx(type = "category")
113
+ * q.queryById(range(10)) # return trends of first 10 categories
114
+ * ret = er.execQuery(q)
115
+ * Return object:
116
+ * {
117
+ * "categoryInfo": [
118
+ * {
119
+ * "id": 0,
120
+ * "label": "Root",
121
+ * "uri": "http://www.dmoz.org"
122
+ * },
123
+ * {
124
+ * "id": 1,
125
+ * "label": "Recreation",
126
+ * "uri": "http://www.dmoz.org/Recreation"
127
+ * },
128
+ * ...
129
+ * ],
130
+ * "counts": [
131
+ * {
132
+ * "0": 23, "1": 42, "2": 52, "3": 32, "4": 21, "5": 65, "6": 32, "7": 654, "8": 1, "9": 34,
133
+ * "date": "2015-05-07"
134
+ * },
135
+ * ...
136
+ * ]
137
+ * }
138
+ * @param uriOrUriList: concept/category uri or a list of uris
139
+ * @param args Object which contains a host of optional parameters
140
+ */
141
+ var GetCountsEx = /** @class */ (function (_super) {
142
+ __extends(GetCountsEx, _super);
143
+ function GetCountsEx(uriOrUriList, args) {
144
+ if (args === void 0) { args = {}; }
145
+ var _this = _super.call(this) || this;
146
+ var _a = args.source, source = _a === void 0 ? "news" : _a, _b = args.type, type = _b === void 0 ? "concept" : _b, _c = args.dateStart, dateStart = _c === void 0 ? undefined : _c, _d = args.dateEnd, dateEnd = _d === void 0 ? undefined : _d, _e = args.returnInfo, returnInfo = _e === void 0 ? new returnInfo_1.ReturnInfo() : _e;
147
+ _this.setVal("action", "GetCountsEx");
148
+ _this.setVal("source", source);
149
+ _this.setVal("type", type);
150
+ _this.setVal("uri", uriOrUriList);
151
+ if (dateStart !== undefined) {
152
+ _this.setDateVal("dateStart", dateStart);
153
+ }
154
+ if (dateEnd !== undefined) {
155
+ _this.setDateVal("dateEnd", dateEnd);
156
+ }
157
+ _this.params = __assign(__assign({}, _this.params), returnInfo.getParams());
158
+ return _this;
159
+ }
160
+ return GetCountsEx;
161
+ }(CountsBase));
162
+ exports.GetCountsEx = GetCountsEx;
150
163
  //# sourceMappingURL=counts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"counts.js","sourceRoot":"","sources":["../src/counts.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,0BAA4B;AAC5B,+BAAyC;AACzC,2CAA0C;AAG1C,oGAAoG;AACpG,wGAAwG;AAExG;IAAyC,8BAAe;IAAxD;;IAIA,CAAC;IAHG,sBAAW,4BAAI;aAAf;YACI,OAAO,kBAAkB,CAAC;QAC9B,CAAC;;;OAAA;IACL,iBAAC;AAAD,CAAC,AAJD,CAAyC,sBAAe,GAIvD;AAJqB,gCAAU;AAMhC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH;IAA+B,6BAAU;IACr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IAAI,mBAAG,SAAS,KAAA,EAAE,KAA6E,IAAI,UAA5D,EAArB,SAAS,mBAAG,SAAS,KAAA,EAAE,KAAsD,IAAI,QAAvC,EAAnB,OAAO,mBAAG,SAAS,KAAA,EAAE,KAAiC,IAAI,WAAR,EAA7B,UAAU,mBAAG,IAAI,uBAAU,EAAE,KAAA,CAAS;QAC5H,KAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;QACrC,KAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;QAC9B,KAAI,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QAC1B,KAAI,CAAC,MAAM,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC;QACjC,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;YAC1B,KAAI,CAAC,UAAU,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC;QAC5C,CAAC;QACD,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;YACxB,KAAI,CAAC,UAAU,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,KAAI,CAAC,MAAM,yBAAQ,KAAI,CAAC,MAAM,GAAK,UAAU,CAAC,SAAS,EAAE,CAAE,CAAC;;IAChE,CAAC;IACL,kBAAC;AAAD,CAAC,AAhBD,CAAiC,UAAU,GAgB1C;AAhBY,kCAAW"}
@@ -1,10 +1,10 @@
1
- import { QueryParamsBase } from "./base";
2
- import { EventRegistryStatic } from "./types";
3
- export declare class GetTopSharedArticles extends QueryParamsBase {
4
- constructor(args?: EventRegistryStatic.DailyShares.Arguments);
5
- readonly path: string;
6
- }
7
- export declare class GetTopSharedEvents extends QueryParamsBase {
8
- constructor(args?: EventRegistryStatic.DailyShares.Arguments);
9
- readonly path: string;
10
- }
1
+ import { QueryParamsBase } from "./base";
2
+ import { ER } from "./types";
3
+ export declare class GetTopSharedArticles extends QueryParamsBase {
4
+ constructor(args?: ER.DailyShares.Arguments);
5
+ get path(): string;
6
+ }
7
+ export declare class GetTopSharedEvents extends QueryParamsBase {
8
+ constructor(args?: ER.DailyShares.Arguments);
9
+ get path(): string;
10
+ }