diff --git a/src/gql/mods/versions.graphql b/src/gql/mods/versions.graphql index 8c5a0518..38114285 100644 --- a/src/gql/mods/versions.graphql +++ b/src/gql/mods/versions.graphql @@ -19,6 +19,15 @@ query GetModVersions($mod: ModID!, $limit: Int!, $offset: Int!) { hash size } + virustotal_results { + created_at + file_name + hash + id + safe + updated_at + version_id + } } } } diff --git a/src/gql/versions/mod_version.graphql b/src/gql/versions/mod_version.graphql index 5b8853bb..231c5673 100644 --- a/src/gql/versions/mod_version.graphql +++ b/src/gql/versions/mod_version.graphql @@ -31,5 +31,14 @@ query GetModVersion($version: VersionID!) { optional condition } + virustotal_results { + created_at + file_name + hash + id + safe + updated_at + version_id + } } } diff --git a/src/lib/components/versions/VirustotalResults.svelte b/src/lib/components/versions/VirustotalResults.svelte new file mode 100644 index 00000000..34afcb78 --- /dev/null +++ b/src/lib/components/versions/VirustotalResults.svelte @@ -0,0 +1,55 @@ + + +
+ {$t('virustotal.table.file_name')}
+ |
+ {$t('virustotal.table.results')} |
+ {$t('virustotal.table.safe')} |
+
+ {result.file_name}
+ |
+
+
+
+
+
+
+ |
+
+
+
+ |
+