File size: 537 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import type { ViewTable, ViewList } from '@wordpress/dataviews';

export type DomainsView = ViewTable | ViewList;

export const DEFAULT_VIEW: Partial< DomainsView > = {
	filters: [],
	sort: {
		field: 'domain',
		direction: 'asc',
	},
	page: 1,
	perPage: 10,
	search: '',
	showMedia: false,
	titleField: 'domain',
	// descriptionField: 'domain_type',
	fields: [
		'type',
		// 'owner',
		'blog_name',
		// 'ssl_status',
		'expiry',
		'domain_status',
	],
};

// Default layouts
export const DEFAULT_LAYOUTS = {
	table: {},
	list: {},
};