scout-types 1.0.5 → 1.0.6
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.
|
@@ -97,7 +97,7 @@ export class ScoutFileDocument extends ScoutDocument {
|
|
|
97
97
|
}
|
|
98
98
|
static is(scout_document) {
|
|
99
99
|
return (ScoutDocument.is(scout_document) &&
|
|
100
|
-
scout_document.type === "
|
|
100
|
+
scout_document.type === "FILE" &&
|
|
101
101
|
typeof scout_document.file_type === "string" &&
|
|
102
102
|
typeof scout_document.filename === "string");
|
|
103
103
|
}
|
package/package.json
CHANGED
|
@@ -132,7 +132,7 @@ export class ScoutFileDocument extends ScoutDocument {
|
|
|
132
132
|
static is(scout_document : any) : scout_document is ScoutFileDocument {
|
|
133
133
|
return (
|
|
134
134
|
ScoutDocument.is(scout_document) &&
|
|
135
|
-
scout_document.type === "
|
|
135
|
+
scout_document.type === "FILE" &&
|
|
136
136
|
typeof scout_document.file_type === "string" &&
|
|
137
137
|
typeof scout_document.filename === "string"
|
|
138
138
|
)
|