2024-01-21 16:01:48 -05:00
|
|
|
import React from 'react';
|
|
|
|
|
2024-01-27 10:49:33 -05:00
|
|
|
/* blueprint/import */
|
2024-01-21 16:01:48 -05:00
|
|
|
|
2024-01-31 11:40:40 -05:00
|
|
|
interface ExtendedRouteDefinition { path: string; name: string | undefined; component: React.ComponentType; exact?: boolean; }
|
|
|
|
interface ExtendedServerRouteDefinition extends ExtendedRouteDefinition { permission: string | string[] | null; }
|
|
|
|
interface Routes { account: ExtendedRouteDefinition[]; server: ExtendedServerRouteDefinition[]; }
|
2024-01-21 16:01:48 -05:00
|
|
|
|
|
|
|
export default {
|
|
|
|
account: [
|
2024-01-30 18:21:05 -05:00
|
|
|
/* routes/account */
|
2024-01-21 16:01:48 -05:00
|
|
|
],
|
|
|
|
server: [
|
2024-01-30 18:21:05 -05:00
|
|
|
/* routes/server */
|
2024-01-21 16:01:48 -05:00
|
|
|
],
|
|
|
|
} as Routes;
|