-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #438 from GDATASoftwareAG/typescript/fix-detection…
…-and-file-mime-type fix detection and mime file type
- Loading branch information
Showing
6 changed files
with
27 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
import { JsonProperty, JsonObject } from "typescript-json-serializer"; | ||
import { Verdict } from "../Verdict"; | ||
import { Detection } from "./detection"; | ||
import { LibMagic } from "./lib_magic"; | ||
|
||
@JsonObject() | ||
export class VaasVerdict { | ||
public constructor( | ||
@JsonProperty() public sha256: string, | ||
@JsonProperty() public verdict: Verdict, | ||
@JsonProperty() public detections: Detection[] | undefined, | ||
@JsonProperty() public libMagic: LibMagic | undefined, | ||
@JsonProperty() public detection: string | undefined, | ||
@JsonProperty() public file_type: string | undefined, | ||
@JsonProperty() public mime_type: string | undefined, | ||
) {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters