@shopgate/pwa-common
Version:
Common library for the Shopgate Connect PWA.
15 lines (14 loc) • 516 B
JavaScript
export const INDEX_PATH = '/';
export const PAGE_PATH = '/page';
export const LOGIN_PATH = '/login';
export const REGISTER_PATH = '/register';
export const CHECKOUT_PATH = '/checkout';
export const ORDERS_PATH = '/orders';
export const ACCOUNT_PATH = '/account';
export const ACCOUNT_PATTERN = '/account/:tab';
export const PAGE_PATTERN = `${PAGE_PATH}/:pageId`;
/**
* Our current existing Deeplinks and Push Messages use '/index' for the homepage
* @type {string}
*/
export const INDEX_PATH_DEEPLINK = '/index';