triangle-types 1.0.202 → 1.0.204
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/src/types/web/WebArticle.d.ts +2 -2
- package/dist/src/types/web/WebArticle.js +2 -2
- package/dist/src/types/web/WebArticleTag.d.ts +1 -1
- package/dist/src/types/web/WebArticleTag.js +1 -1
- package/package.json +1 -1
- package/src/types/web/WebArticle.ts +4 -4
- package/src/types/web/WebArticleTag.ts +2 -2
|
@@ -2,8 +2,8 @@ export declare class WebArticle {
|
|
|
2
2
|
readonly web_article_id: string;
|
|
3
3
|
readonly url: string;
|
|
4
4
|
readonly domain: string;
|
|
5
|
-
readonly title
|
|
6
|
-
readonly date
|
|
5
|
+
readonly title: string;
|
|
6
|
+
readonly date: string;
|
|
7
7
|
readonly relevance?: string;
|
|
8
8
|
readonly s3_id_html?: string;
|
|
9
9
|
readonly s3_id_txt?: string;
|
|
@@ -25,8 +25,8 @@ export class WebArticle {
|
|
|
25
25
|
typeof web_article.web_article_id === "string" &&
|
|
26
26
|
typeof web_article.url === "string" &&
|
|
27
27
|
typeof web_article.domain === "string" &&
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
typeof web_article.title === "string" &&
|
|
29
|
+
typeof web_article.date === "string" &&
|
|
30
30
|
(web_article.relevance === undefined || typeof web_article.relevance === "string") &&
|
|
31
31
|
(web_article.s3_id_html === undefined || typeof web_article.s3_id_html === "string") &&
|
|
32
32
|
(web_article.s3_id_txt === undefined || typeof web_article.s3_id_txt === "string"));
|
|
@@ -25,7 +25,7 @@ export class WebArticleTag {
|
|
|
25
25
|
typeof web_article_tag.tag_id === "string" &&
|
|
26
26
|
typeof web_article_tag.url === "string" &&
|
|
27
27
|
typeof web_article_tag.domain === "string" &&
|
|
28
|
-
|
|
28
|
+
web_article_tag.date === "string" &&
|
|
29
29
|
(web_article_tag.relevance === undefined || typeof web_article_tag.relevance === "string") &&
|
|
30
30
|
(web_article_tag.sentiment === undefined || typeof web_article_tag.sentiment === "string"));
|
|
31
31
|
}
|
package/package.json
CHANGED
|
@@ -2,8 +2,8 @@ export class WebArticle {
|
|
|
2
2
|
readonly web_article_id : string
|
|
3
3
|
readonly url : string
|
|
4
4
|
readonly domain : string
|
|
5
|
-
readonly title
|
|
6
|
-
readonly date
|
|
5
|
+
readonly title : string
|
|
6
|
+
readonly date : string
|
|
7
7
|
readonly relevance? : string
|
|
8
8
|
readonly s3_id_html? : string
|
|
9
9
|
readonly s3_id_txt? : string
|
|
@@ -28,8 +28,8 @@ export class WebArticle {
|
|
|
28
28
|
typeof web_article.web_article_id === "string" &&
|
|
29
29
|
typeof web_article.url === "string" &&
|
|
30
30
|
typeof web_article.domain === "string" &&
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
typeof web_article.title === "string" &&
|
|
32
|
+
typeof web_article.date === "string" &&
|
|
33
33
|
(web_article.relevance === undefined || typeof web_article.relevance === "string") &&
|
|
34
34
|
(web_article.s3_id_html === undefined || typeof web_article.s3_id_html === "string") &&
|
|
35
35
|
(web_article.s3_id_txt === undefined || typeof web_article.s3_id_txt === "string")
|
|
@@ -5,7 +5,7 @@ export class WebArticleTag {
|
|
|
5
5
|
readonly tag_id : string
|
|
6
6
|
readonly url : string
|
|
7
7
|
readonly domain : string
|
|
8
|
-
readonly date
|
|
8
|
+
readonly date : string
|
|
9
9
|
readonly relevance? : string
|
|
10
10
|
readonly sentiment? : string
|
|
11
11
|
readonly [x : string] : any
|
|
@@ -30,7 +30,7 @@ export class WebArticleTag {
|
|
|
30
30
|
typeof web_article_tag.tag_id === "string" &&
|
|
31
31
|
typeof web_article_tag.url === "string" &&
|
|
32
32
|
typeof web_article_tag.domain === "string" &&
|
|
33
|
-
|
|
33
|
+
web_article_tag.date === "string" &&
|
|
34
34
|
(web_article_tag.relevance === undefined || typeof web_article_tag.relevance === "string") &&
|
|
35
35
|
(web_article_tag.sentiment === undefined || typeof web_article_tag.sentiment === "string")
|
|
36
36
|
)
|