Update TS types for nullable audit framework

The console GraphQL schema made Audit.framework nullable which
requires updating the TrustCenterDocumentAccess type and its
helper to handle the optional framework field.

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2026-03-17 00:40:10 +01:00
parent a82e353a47
commit c8df8b0c87
2 changed files with 3 additions and 3 deletions

View File

@@ -20,9 +20,9 @@ export type TrustCenterDocumentAccess = {
filename: string;
audit?: {
id: string;
framework: {
framework?: {
name: string;
};
} | null;
} | null;
} | null;
trustCenterFile?: {