mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-06 03:49:56 +08:00
feat(server): separate storage quota limit and blob size limit (#10957)
close CLOUD-171
This commit is contained in:
@@ -612,6 +612,7 @@ export enum ErrorNames {
|
||||
SPACE_NOT_FOUND = 'SPACE_NOT_FOUND',
|
||||
SPACE_OWNER_NOT_FOUND = 'SPACE_OWNER_NOT_FOUND',
|
||||
SPACE_SHOULD_HAVE_ONLY_ONE_OWNER = 'SPACE_SHOULD_HAVE_ONLY_ONE_OWNER',
|
||||
STORAGE_QUOTA_EXCEEDED = 'STORAGE_QUOTA_EXCEEDED',
|
||||
SUBSCRIPTION_ALREADY_EXISTS = 'SUBSCRIPTION_ALREADY_EXISTS',
|
||||
SUBSCRIPTION_EXPIRED = 'SUBSCRIPTION_EXPIRED',
|
||||
SUBSCRIPTION_HAS_BEEN_CANCELED = 'SUBSCRIPTION_HAS_BEEN_CANCELED',
|
||||
|
||||
@@ -7726,9 +7726,13 @@ export function useAFFiNEI18N(): {
|
||||
*/
|
||||
["error.COPILOT_EMBEDDING_UNAVAILABLE"](): string;
|
||||
/**
|
||||
* `You have exceeded your blob storage quota.`
|
||||
* `You have exceeded your blob size quota.`
|
||||
*/
|
||||
["error.BLOB_QUOTA_EXCEEDED"](): string;
|
||||
/**
|
||||
* `You have exceeded your storage quota.`
|
||||
*/
|
||||
["error.STORAGE_QUOTA_EXCEEDED"](): string;
|
||||
/**
|
||||
* `You have exceeded your workspace member quota.`
|
||||
*/
|
||||
|
||||
@@ -1901,7 +1901,8 @@
|
||||
"error.COPILOT_FAILED_TO_MODIFY_CONTEXT": "Failed to modify context {{contextId}}: {{message}}",
|
||||
"error.COPILOT_FAILED_TO_MATCH_CONTEXT": "Failed to match context {{contextId}} with \"%7B%7Bcontent%7D%7D\": {{message}}",
|
||||
"error.COPILOT_EMBEDDING_UNAVAILABLE": "Embedding feature not available, you may need to install pgvector extension to your database",
|
||||
"error.BLOB_QUOTA_EXCEEDED": "You have exceeded your blob storage quota.",
|
||||
"error.BLOB_QUOTA_EXCEEDED": "You have exceeded your blob size quota.",
|
||||
"error.STORAGE_QUOTA_EXCEEDED": "You have exceeded your storage quota.",
|
||||
"error.MEMBER_QUOTA_EXCEEDED": "You have exceeded your workspace member quota.",
|
||||
"error.COPILOT_QUOTA_EXCEEDED": "You have reached the limit of actions in this workspace, please upgrade your plan.",
|
||||
"error.RUNTIME_CONFIG_NOT_FOUND": "Runtime config {{key}} not found.",
|
||||
|
||||
Reference in New Issue
Block a user