export const DEFAULT = { routes: config => { return { get: [ { path: '/logs/cron', action: 'cronLogsList' }, { path: '/logs/cron/:id', action: 'cronLogGet' }, { path: '/logs/order', action: 'orderLogsList' }, { path: '/logs/order/:id', action: 'orderLogGet' }, { path: '/settings', action: 'listShopSettings' }, { path: '/auth', action: 'shopify:auth'}, { path: '/auth/inline', action: 'shopify:authInline'}, { path: '/auth/callback', action: 'shopify:authCallback'} ], post: [ { path: '/order/:orderNumber/export', action: 'orderExport' }, { path: '/settings', action: 'setShopSetting'}, //webhooks { path: '/webhooks/order/export', action: 'orderExportWebhook' }, { path: '/webhooks/app/uninstall', action: 'uninstallWebhook' } ], }; } };