// Columns requested for the group's hosts result table.
export const DEFAULT_COLUMNS = ['Host name', 'OS', 'Architecture', 'IPv4 addresses', 'MAC addresses'];

// Attributes charted on the overview (host count summary + OS pie).
export const OS_ATTRIBUTE = 'OS';
export const CFENGINE_VERSION_ATTRIBUTE = 'CFEngine version';

// The base URL the injected React app is mounted under.
export const GROUPS_BASE_PATH = '/groups';

export const MAX_NAME_LENGTH = 100;

export const ROWS_PER_PAGE_KEY = 'groups.rowsPerPage';

// Columns the list endpoints can sort by; any other value in the URL is ignored.
export const SORTABLE_COLUMNS = ['name', 'creation_time', 'owner', 'creator', 'priority'];
