scout-types 1.0.23 → 1.0.24
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.
|
@@ -19,6 +19,7 @@ export class ScoutDocument {
|
|
|
19
19
|
this.text = scout_document.text;
|
|
20
20
|
this.vector_keys = scout_document.vector_keys;
|
|
21
21
|
this.url = scout_document.url;
|
|
22
|
+
this.username = scout_document.username;
|
|
22
23
|
this.file_type = scout_document.file_type;
|
|
23
24
|
this.filename = scout_document.filename;
|
|
24
25
|
this.tweet = scout_document.tweet;
|
package/package.json
CHANGED
|
@@ -8,6 +8,11 @@ export class ScoutDocument {
|
|
|
8
8
|
readonly s3_text_filename? : string
|
|
9
9
|
readonly text? : string
|
|
10
10
|
readonly vector_keys? : string[]
|
|
11
|
+
// readonly url? : string
|
|
12
|
+
// readonly username? : string
|
|
13
|
+
// readonly file_type? : string
|
|
14
|
+
// readonly filename? : string
|
|
15
|
+
// readonly tweet? : Tweet
|
|
11
16
|
[x : string] : any
|
|
12
17
|
|
|
13
18
|
constructor(scout_document : any) {
|
|
@@ -22,6 +27,7 @@ export class ScoutDocument {
|
|
|
22
27
|
this.text = scout_document.text
|
|
23
28
|
this.vector_keys = scout_document.vector_keys
|
|
24
29
|
this.url = scout_document.url
|
|
30
|
+
this.username = scout_document.username
|
|
25
31
|
this.file_type = scout_document.file_type
|
|
26
32
|
this.filename = scout_document.filename
|
|
27
33
|
this.tweet = scout_document.tweet
|