diff --git a/src/index.tsx b/src/index.tsx index 512bb30..ea6d6db 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -7242,7 +7242,14 @@ export type GetUploadLinkMutation = { }; } | { __typename?: "SegmentAlreadyUploadedErr"; segmentId: number } - | { __typename?: "StorageLimitExceededErr" } + | { + __typename?: "StorageLimitExceededErr"; + reason: string; + tierName: string; + retainedStorageUsedBytes: any; + retainedStorageLimitBytes?: any | null; + remainingStorageBytes?: any | null; + } | { __typename?: "TooManyInitUploadsErr" } | { __typename?: "TooManyProfileImageUploadsErr" }; } @@ -15645,6 +15652,13 @@ export const GetUploadLinkDocument = gql` } } } + ... on StorageLimitExceededErr { + reason + tierName + retainedStorageUsedBytes + retainedStorageLimitBytes + remainingStorageBytes + } } } } diff --git a/src/operations/video_upload.gql b/src/operations/video_upload.gql index 4ed9377..c35a9c2 100644 --- a/src/operations/video_upload.gql +++ b/src/operations/video_upload.gql @@ -37,6 +37,13 @@ mutation GetUploadLink($videoId: Int!, $segmentIndex: Int!) { } } } + ... on StorageLimitExceededErr { + reason + tierName + retainedStorageUsedBytes + retainedStorageLimitBytes + remainingStorageBytes + } } } }