triangle-types 1.0.204 → 1.0.205

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.
@@ -4,7 +4,6 @@ export declare class WebArticle {
4
4
  readonly domain: string;
5
5
  readonly title: string;
6
6
  readonly date: string;
7
- readonly relevance?: string;
8
7
  readonly s3_id_html?: string;
9
8
  readonly s3_id_txt?: string;
10
9
  constructor(web_article: WebArticle);
@@ -4,7 +4,6 @@ export class WebArticle {
4
4
  domain;
5
5
  title;
6
6
  date;
7
- relevance;
8
7
  s3_id_html;
9
8
  s3_id_txt;
10
9
  constructor(web_article) {
@@ -16,7 +15,6 @@ export class WebArticle {
16
15
  this.domain = web_article.domain;
17
16
  this.title = web_article.title;
18
17
  this.date = web_article.date;
19
- this.relevance = web_article.relevance;
20
18
  this.s3_id_html = web_article.s3_id_html;
21
19
  this.s3_id_txt = web_article.s3_id_txt;
22
20
  }
@@ -27,7 +25,6 @@ export class WebArticle {
27
25
  typeof web_article.domain === "string" &&
28
26
  typeof web_article.title === "string" &&
29
27
  typeof web_article.date === "string" &&
30
- (web_article.relevance === undefined || typeof web_article.relevance === "string") &&
31
28
  (web_article.s3_id_html === undefined || typeof web_article.s3_id_html === "string") &&
32
29
  (web_article.s3_id_txt === undefined || typeof web_article.s3_id_txt === "string"));
33
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triangle-types",
3
- "version": "1.0.204",
3
+ "version": "1.0.205",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {
@@ -4,7 +4,6 @@ export class WebArticle {
4
4
  readonly domain : string
5
5
  readonly title : string
6
6
  readonly date : string
7
- readonly relevance? : string
8
7
  readonly s3_id_html? : string
9
8
  readonly s3_id_txt? : string
10
9
 
@@ -17,7 +16,6 @@ export class WebArticle {
17
16
  this.domain = web_article.domain
18
17
  this.title = web_article.title
19
18
  this.date = web_article.date
20
- this.relevance = web_article.relevance
21
19
  this.s3_id_html = web_article.s3_id_html
22
20
  this.s3_id_txt = web_article.s3_id_txt
23
21
  }
@@ -30,7 +28,6 @@ export class WebArticle {
30
28
  typeof web_article.domain === "string" &&
31
29
  typeof web_article.title === "string" &&
32
30
  typeof web_article.date === "string" &&
33
- (web_article.relevance === undefined || typeof web_article.relevance === "string") &&
34
31
  (web_article.s3_id_html === undefined || typeof web_article.s3_id_html === "string") &&
35
32
  (web_article.s3_id_txt === undefined || typeof web_article.s3_id_txt === "string")
36
33
  )