Update frontend to use reportFile on Audit

Signed-off-by: Ludovic Vielle <ludovic@probo.com>
This commit is contained in:
Ludovic Vielle
2026-06-03 22:28:08 +02:00
parent 0e4d73bb0f
commit c1c351ff81
7 changed files with 50 additions and 52 deletions

View File

@@ -41,15 +41,14 @@ export const auditNodeQuery = graphql`
name
validFrom
validUntil
report {
reportFile {
id
filename
fileName
mimeType
size
downloadUrl
createdAt
}
reportUrl
state
framework {
id
@@ -82,9 +81,9 @@ export const createAuditMutation = graphql`
name
validFrom
validUntil
report {
reportFile {
id
filename
fileName
}
state
framework {
@@ -108,9 +107,9 @@ export const updateAuditMutation = graphql`
name
validFrom
validUntil
report {
reportFile {
id
filename
fileName
}
state
framework {
@@ -241,9 +240,9 @@ export const uploadAuditReportMutation = graphql`
uploadAuditReport(input: $input) {
audit {
id
report {
reportFile {
id
filename
fileName
downloadUrl
createdAt
}
@@ -286,9 +285,9 @@ export const deleteAuditReportMutation = graphql`
deleteAuditReport(input: $input) {
audit {
id
report {
reportFile {
id
filename
fileName
downloadUrl
createdAt
}