feat: add query quota of workspace (#5603)

This commit is contained in:
DarkSky
2024-01-16 09:45:55 +00:00
parent 4f4d057aad
commit ee2520ec18
9 changed files with 98 additions and 14 deletions
+22
View File
@@ -827,6 +827,23 @@ export type AcceptInviteByInviteIdMutation = {
acceptInviteById: boolean;
};
export type WorkspaceQuotaQueryVariables = Exact<{
id: Scalars['String']['input'];
}>;
export type WorkspaceQuotaQuery = {
__typename?: 'Query';
workspace: {
__typename?: 'WorkspaceType';
quota: {
__typename?: 'QuotaQueryType';
storageQuota: number;
usedSize: number;
blobLimit: number;
};
};
};
export type Queries =
| {
name: 'checkBlobSizesQuery';
@@ -957,6 +974,11 @@ export type Queries =
name: 'listWorkspaceFeaturesQuery';
variables: ListWorkspaceFeaturesQueryVariables;
response: ListWorkspaceFeaturesQuery;
}
| {
name: 'workspaceQuotaQuery';
variables: WorkspaceQuotaQueryVariables;
response: WorkspaceQuotaQuery;
};
export type Mutations =