Fix BigInt custom scalar type + lint issues

Signed-off-by: Émile Ré <nemile.re@gmail.com>
This commit is contained in:
Émile Ré
2026-01-02 11:30:12 +01:00
committed by Bryan Frimin
parent e80766509a
commit 4adb52cfc5
7 changed files with 13 additions and 13 deletions

View File

@@ -13,7 +13,7 @@
"GID": "string", "GID": "string",
"CursorKey": "string", "CursorKey": "string",
"Duration": "string", "Duration": "string",
"BigInt": "string", "BigInt": "number",
"EmailAddr": "string" "EmailAddr": "string"
} }
}, },
@@ -29,7 +29,7 @@
"GID": "string", "GID": "string",
"CursorKey": "string", "CursorKey": "string",
"Duration": "string", "Duration": "string",
"BigInt": "string", "BigInt": "number",
"EmailAddr": "string" "EmailAddr": "string"
} }
} }

View File

@@ -1,5 +1,5 @@
/** /**
* @generated SignedSource<<ed36cb7e20499e431a51f06e456cc91e>> * @generated SignedSource<<b757ab583beb7a2556cabaa900b5b9de>>
* @lightSyntaxTransform * @lightSyntaxTransform
* @nogrep * @nogrep
*/ */
@@ -18,7 +18,7 @@ export type EvidenceGraphFileQuery$data = {
readonly downloadUrl: string; readonly downloadUrl: string;
readonly fileName: string; readonly fileName: string;
readonly mimeType: string; readonly mimeType: string;
readonly size: string; readonly size: number;
} | null | undefined; } | null | undefined;
readonly id?: string; readonly id?: string;
}; };

View File

@@ -1,5 +1,5 @@
/** /**
* @generated SignedSource<<b07c2f8f2454f080854744ddcc60face>> * @generated SignedSource<<ea635dd1a341c798d9f410ae862901f2>>
* @lightSyntaxTransform * @lightSyntaxTransform
* @nogrep * @nogrep
*/ */
@@ -19,7 +19,7 @@ export type MeasureEvidencesTabFragment$data = {
readonly file: { readonly file: {
readonly fileName: string; readonly fileName: string;
readonly mimeType: string; readonly mimeType: string;
readonly size: string; readonly size: number;
} | null | undefined; } | null | undefined;
readonly id: string; readonly id: string;
readonly " $fragmentSpreads": FragmentRefs<"MeasureEvidencesTabFragment_evidence">; readonly " $fragmentSpreads": FragmentRefs<"MeasureEvidencesTabFragment_evidence">;

View File

@@ -1,5 +1,5 @@
/** /**
* @generated SignedSource<<da6add401e8c1c2e8f049bcda4ad31aa>> * @generated SignedSource<<b69ceb13c09f597365a10a68e277d535>>
* @lightSyntaxTransform * @lightSyntaxTransform
* @nogrep * @nogrep
*/ */
@@ -17,7 +17,7 @@ export type MeasureEvidencesTabFragment_evidence$data = {
readonly file: { readonly file: {
readonly fileName: string; readonly fileName: string;
readonly mimeType: string; readonly mimeType: string;
readonly size: string; readonly size: number;
} | null | undefined; } | null | undefined;
readonly id: string; readonly id: string;
readonly type: EvidenceType; readonly type: EvidenceType;

View File

@@ -1,5 +1,5 @@
/** /**
* @generated SignedSource<<3ba7c692eb07865e7e283e861a7cabdf>> * @generated SignedSource<<dc7aecc55aa17f43d9a601e60eea165a>>
* @lightSyntaxTransform * @lightSyntaxTransform
* @nogrep * @nogrep
*/ */
@@ -14,7 +14,7 @@ export type VendorComplianceTabFragment_report$data = {
readonly file: { readonly file: {
readonly fileName: string; readonly fileName: string;
readonly mimeType: string; readonly mimeType: string;
readonly size: string; readonly size: number;
} | null | undefined; } | null | undefined;
readonly id: string; readonly id: string;
readonly reportDate: string; readonly reportDate: string;

View File

@@ -224,7 +224,7 @@ function ReportRow(props: ReportRowProps) {
<Td>{report.reportName}</Td> <Td>{report.reportName}</Td>
<Td>{formatDate(report.reportDate)}</Td> <Td>{formatDate(report.reportDate)}</Td>
<Td>{formatDate(report.validUntil)}</Td> <Td>{formatDate(report.validUntil)}</Td>
<Td>{fileSize(__, report.file?.size)}</Td> <Td>{fileSize(__, report.file?.size ?? 0)}</Td>
{!props.isSnapshotMode && props.canDelete && ( {!props.isSnapshotMode && props.canDelete && (
<Td width={50} className="text-end"> <Td width={50} className="text-end">
<ActionDropdown> <ActionDropdown>

View File

@@ -7,8 +7,8 @@ export interface TrustCenterAccess {
active: boolean; active: boolean;
hasAcceptedNonDisclosureAgreement: boolean; hasAcceptedNonDisclosureAgreement: boolean;
createdAt: string; createdAt: string;
lastTokenExpiresAt: string | null; lastTokenExpiresAt?: string | null;
pendingRequestCount: number; pendingRequestCount: number;
activeCount: number; activeCount: number;
documentAccesses?: TrustCenterDocumentAccess[]; documentAccesses?: TrustCenterDocumentAccess[];
}; }