Add file upload for task evidence
The feature allows users to attach evidence files to control tasks by clicking an upload icon, enhancing compliance documentation capabilities. Signed-off-by: gearnode <bryan@frimin.fr>
This commit is contained in:
@@ -401,6 +401,7 @@ type Mutation {
|
||||
createControl(input: CreateControlInput!): CreateControlPayload!
|
||||
updateFramework(input: UpdateFrameworkInput!): UpdateFrameworkPayload!
|
||||
updateControl(input: UpdateControlInput!): UpdateControlPayload!
|
||||
uploadEvidence(input: UploadEvidenceInput!): UploadEvidencePayload!
|
||||
}
|
||||
|
||||
input CreateVendorInput {
|
||||
@@ -600,3 +601,13 @@ input UpdateControlInput {
|
||||
type UpdateControlPayload {
|
||||
control: Control!
|
||||
}
|
||||
|
||||
input UploadEvidenceInput {
|
||||
taskId: ID!
|
||||
name: String!
|
||||
file: Upload!
|
||||
}
|
||||
|
||||
type UploadEvidencePayload {
|
||||
evidenceEdge: EvidenceEdge!
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user