2018-08-15 13:44:49 +00:00
|
|
|
/**
|
|
|
|
* @format
|
|
|
|
*/
|
|
|
|
|
|
|
|
export const NAMESPACE = '/wc/v3/';
|
|
|
|
export const ERROR = 'ERROR';
|
2018-09-03 15:25:38 +00:00
|
|
|
|
|
|
|
// WordPress & WooCommerce both set a hard limit of 100 for the per_page parameter
|
|
|
|
export const MAX_PER_PAGE = 100;
|
2018-10-26 08:19:39 +00:00
|
|
|
|
|
|
|
export const QUERY_DEFAULTS = {
|
|
|
|
pageSize: 25,
|
|
|
|
period: 'month',
|
|
|
|
compare: 'previous_year',
|
|
|
|
};
|