Add watermark to public trust center documents
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
@@ -73,7 +73,6 @@ type Framework implements Node {
|
||||
type Report implements Node {
|
||||
id: ID!
|
||||
filename: String!
|
||||
downloadUrl: String @goField(forceResolver: true) @mustBeAuthenticated(role: USER)
|
||||
}
|
||||
|
||||
type Audit implements Node {
|
||||
@@ -249,6 +248,10 @@ input ExportDocumentPDFInput {
|
||||
documentId: ID!
|
||||
}
|
||||
|
||||
input ExportReportPDFInput {
|
||||
reportId: ID!
|
||||
}
|
||||
|
||||
input AcceptNonDisclosureAgreementInput {
|
||||
trustCenterId: ID!
|
||||
}
|
||||
@@ -257,6 +260,10 @@ type ExportDocumentPDFPayload {
|
||||
data: String!
|
||||
}
|
||||
|
||||
type ExportReportPDFPayload {
|
||||
data: String!
|
||||
}
|
||||
|
||||
type AcceptNonDisclosureAgreementPayload{
|
||||
success: Boolean!
|
||||
}
|
||||
@@ -274,6 +281,10 @@ type Mutation {
|
||||
input: ExportDocumentPDFInput!
|
||||
): ExportDocumentPDFPayload! @mustBeAuthenticated(role: USER)
|
||||
|
||||
exportReportPDF(
|
||||
input: ExportReportPDFInput!
|
||||
): ExportReportPDFPayload! @mustBeAuthenticated(role: USER)
|
||||
|
||||
acceptNonDisclosureAgreement(
|
||||
input: AcceptNonDisclosureAgreementInput!
|
||||
): AcceptNonDisclosureAgreementPayload! @mustBeAuthenticated(role: USER)
|
||||
|
||||
Reference in New Issue
Block a user