let callItem = function() {} export const overrideDummy = function(override) { callItem = override } export const dummy = function() { callItem() } export const testRoutes = [ // '/api/articles/:id/file/:fileId', '/', // '/api/articles', // '/api/articles/:id/file', // '/api/articles/:id', '/::rest', ] export const allRoutes = [ '/', '/api/articles', '/api/articles/:id/file', '/api/articles/:id', '/api/articles/public', '/api/articles/public/:id', '/api/file', '/api/file/:id', '/api/media', '/api/media/:id', '/api/pages', '/api/pages/:id', '/api/pages/:id/articles', '/api/pages/:id/articles/public', '/api/staff', '/api/staff/:id', '/::rest', ] export const allRoutesGoldenBalance = [ '/', '/a/:a/aaaaaaaaaaaaaaaaaaaaaaaaaaaaa/:aa', '/b/:b/bbbbbbbbbbbbbbbbbbbbbbbbbbbbb/:bb', '/c/:c/ccccccccccccccccccccccccccccc/:cc', '/d/:d/ddddddddddddddddddddddddddddd/:dd', '/e/:e/eeeeeeeeeeeeeeeeeeeeeeeeeeeee/:ee', '/f/:f/fffffffffffffffffffffffffffff/:ff', '/g/:g/ggggggggggggggggggggggggggggg/:gg', '/h/:h/hhhhhhhhhhhhhhhhhhhhhhhhhhhhh/:hh', '/i/:i/iiiiiiiiiiiiiiiiiiiiiiiiiiiii/:ii', '/j/:j/jjjjjjjjjjjjjjjjjjjjjjjjjjjjj/:jj', '/::rest', ] export const allManyRoutes = [ '/', '/api/articles', '/api/articles/:id/file', '/api/articles/:id', '/api/articles/public', '/api/articles/public/:id', '/api/categories', '/api/categories/:categoryId/products', '/api/categories/:categoryId/properties', '/api/categories/:categoryId/values/:props', '/api/categories/:categoryId', //'/api/categories/:categoryId/products/:productId', '/api/categories/:categoryId/products/:productId', '/api/customers', '/api/customers/:id', '/api/customers/kennitala/:kennitala', '/api/customers/public/kennitala/:kennitala', '/api/customers/search/:search', '/api/file', '/api/file/:id', '/api/media', '/api/media/:id', '/api/orderitem', '/api/orderitem/:id', '/api/orders', '/api/orders/:orderId', '/api/orders/:orderId/sell', '/api/pages', '/api/pages/:pageId', '/api/pages/:pageId/articles', '/api/pages/:pageId/articles/public', '/api/products', '/api/products/:id', '/api/products/:id/movement', '/api/products/:id/sub_products/:productId', //'/api/products/:id/sub_products/:productId', '/api/products/code/:code', '/api/products/property/:propertyId', '/api/properties', '/api/properties/:id', '/api/sales', '/api/sales/:id', '/api/stockitem', '/api/stockitem/:id', '/api/stocks', '/api/stocks/:id', '/api/stocks/:id/commit', '/api/test', '/api/test/auth', '/api/test/error', '/api/workentries', '/api/workentries/:id', '/api/works', '/api/works/:id', '/api/works/:id/lock', '/api/works/public', '/api/staff', '/api/staff/:id', '/::rest', ]