mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-30 18:47:51 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			429 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			429 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import { getters } from './getters';
 | |
| import { actions } from './actions';
 | |
| import { mutations } from './mutations';
 | |
| 
 | |
| const state = {
 | |
|   meta: {
 | |
|     count: 0,
 | |
|     currentPage: 1,
 | |
|     unReadCount: 0,
 | |
|   },
 | |
|   records: {},
 | |
|   uiFlags: {
 | |
|     isFetching: false,
 | |
|     isFetchingItem: false,
 | |
|     isUpdating: false,
 | |
|     isUpdatingUnreadCount: false,
 | |
|   },
 | |
| };
 | |
| 
 | |
| export default {
 | |
|   namespaced: true,
 | |
|   state,
 | |
|   getters,
 | |
|   actions,
 | |
|   mutations,
 | |
| };
 | 
