feat: Order conversations by priority (#7053)

This commit is contained in:
Muhsin Keloth
2023-05-11 12:56:43 +05:30
committed by GitHub
parent d0a1ad746a
commit 87f758ee1f
7 changed files with 85 additions and 2 deletions

View File

@@ -27,6 +27,14 @@ export const CONVERSATION_PRIORITY = {
MEDIUM: 'medium',
};
export const CONVERSATION_PRIORITY_ORDER = {
urgent: 1,
high: 2,
medium: 3,
low: 4,
null: 5,
};
// Size in mega bytes
export const MAXIMUM_FILE_UPLOAD_SIZE = 40;
export const MAXIMUM_FILE_UPLOAD_SIZE_TWILIO_SMS_CHANNEL = 5;