Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import {
RootRouteMatchType,
Router as BoringRouter,
schema,
} from 'boring-router';
import {BrowserHistory} from 'boring-router-react';
export const workspaceRouteSchema = schema({
home: {
$match: '',
},
create: {
$query: {
template: true,
params: true,
},
},
list: {
$query: {
search: true,
},
},
});