chore: add new logic for the quota
This commit is contained in:
@@ -7,3 +7,9 @@ export const SUBSCRIPTIONS = Object.freeze({
|
||||
SERVICE_SLUG: "Dmail",
|
||||
SERVICE_ID: "e51afdc3-ea0b-49cf-8f49-2a6f131b024e",
|
||||
});
|
||||
|
||||
export const QUOTA_CONSTANTS = Object.freeze({
|
||||
INITIAL_BUSINESS_QUOTA: 1024 * 1024 * 1024, // 1GB initial quota when purchasing dmail service (allows 1 user)
|
||||
USER_QUOTA_DEDUCTION: 128 * 1024 * 1024, // 128MB deducted per user creation
|
||||
DEFAULT_EMAIL_QUOTA_BYTES: 128 * 1024 * 1024, // 128MB per user in bytes
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user