mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-04 04:57:51 +00:00 
			
		
		
		
	* File size check logic in widget * set maxium file size * update locale texts * file size check in dashboard * dynamincally set file size limit error message * code climate review fixes * add alert mixin * move attahcment bus event to constants * Move file size check logic to helper * add specs for file size limit check helper * changes as per review
		
			
				
	
	
		
			15 lines
		
	
	
		
			255 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			255 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
export const MESSAGE_STATUS = {
 | 
						|
  FAILED: 'failed',
 | 
						|
  SENT: 'sent',
 | 
						|
  PROGRESS: 'progress',
 | 
						|
};
 | 
						|
 | 
						|
export const MESSAGE_TYPE = {
 | 
						|
  INCOMING: 0,
 | 
						|
  OUTGOING: 1,
 | 
						|
  ACTIVITY: 2,
 | 
						|
  TEMPLATE: 3,
 | 
						|
};
 | 
						|
// Size in mega bytes
 | 
						|
export const MAXIMUM_FILE_UPLOAD_SIZE = 40;
 |