File size: 375 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { DataViewsState } from './items-dataviews/interfaces';

export const DATAVIEWS_TABLE = 'table';
export const DATAVIEWS_LIST = 'list';
//export const DATAVIEWS_GRID = 'grid';

export const initialDataViewsState: DataViewsState = {
	filters: [],
	sort: {
		field: '',
		direction: 'asc',
	},
	type: DATAVIEWS_TABLE,
	perPage: 50,
	page: 1,
	search: '',
	layout: {},
};