peliprint/resources/scripts/blueprint/extends/routers/routes.ts

16 lines
521 B
TypeScript
Raw Normal View History

import React from 'react';
/* blueprint/import */
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 ExtendedRoutes { account: ExtendedRouteDefinition[]; server: ExtendedServerRouteDefinition[]; }
export default {
account: [
/* routes/account */
],
server: [
/* routes/server */
],
} as ExtendedRoutes;