@thunderstorefront/api-mock
Version:
Create Nuxt extendable layer with this GitHub template.
23 lines (22 loc) • 543 B
text/typescript
export const CART_ID = 'some-cart-id-123';
export const CUSTOMER_ID = 'some-customer-id-123';
export const ORDER_ID = 'some-order-id-123';
export const DEFAULT_SORT_ORDER = 0;
export const DEFAULT_SORT_BY = 'name';
export const DEFAULT_GRID_PER_PAGE = 24;
export const SORT_FIELD_OPTIONS = [
{ label: 'Best Sellers', value: 'best_sellers' },
{ label: 'Newest Arrivals', value: 'newest' },
{
label: 'Name',
value: 'name'
},
{
label: 'Position',
value: 'position'
},
{
label: 'Price',
value: 'price'
}
];