Skip to content

Commit 92178df

Browse files
committed
add storage totalFileSizeBytesLimit
1 parent 6943b4c commit 92178df

File tree

1 file changed

+5
-1
lines changed
  • packages/service-utils/src/core

1 file changed

+5
-1
lines changed

packages/service-utils/src/core/api.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ export type ApiResponse = {
4343
};
4444
};
4545

46-
// needs to be kept in sync with the capabilities from the backend
46+
/**
47+
* Stores service-specific capabilities.
48+
* This type should match the schema from API server.
49+
*/
4750
type TeamCapabilities = {
4851
rpc: {
4952
enabled: boolean;
@@ -59,6 +62,7 @@ type TeamCapabilities = {
5962
rateLimit: number;
6063
};
6164
upload: {
65+
totalFileSizeBytesLimit: number;
6266
rateLimit: number;
6367
};
6468
};

0 commit comments

Comments
 (0)