Use custom type for big int in graphql

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Sacha Al Himdani
2025-09-26 17:43:52 +02:00
parent 0f8135482e
commit d47dd31715
5 changed files with 99 additions and 17 deletions

View File

@@ -18,6 +18,7 @@ scalar Void
scalar Datetime
scalar Upload
scalar Duration
scalar BigInt
# Interfaces
interface Node {
@@ -1719,7 +1720,7 @@ type VendorComplianceReport implements Node {
validUntil: Datetime
reportName: String!
fileUrl: String! @goField(forceResolver: true)
fileSize: Int!
fileSize: BigInt!
createdAt: Datetime!
updatedAt: Datetime!
}
@@ -1731,7 +1732,7 @@ type VendorBusinessAssociateAgreement implements Node {
validUntil: Datetime
fileName: String!
fileUrl: String! @goField(forceResolver: true)
fileSize: Int!
fileSize: BigInt!
createdAt: Datetime!
updatedAt: Datetime!
}
@@ -1763,7 +1764,7 @@ type VendorDataPrivacyAgreement implements Node {
validUntil: Datetime
fileName: String!
fileUrl: String! @goField(forceResolver: true)
fileSize: Int!
fileSize: BigInt!
createdAt: Datetime!
updatedAt: Datetime!
}