magner
Version:
Universal admin panel magnetic to any backend
14 lines (10 loc) • 429 B
text/typescript
import type { ProjectConfig } from '../../../packages/magner/dist/lib/types/configs/project';
import routesAnalyzer from './routes';
import backendAnalyzer from './backend';
export type SupportedAnalyzers = 'routes' | 'backend';
export type Analyzer = (config: ProjectConfig) => void;
const analyzers: Record<SupportedAnalyzers, Analyzer> = {
routes: routesAnalyzer,
backend: backendAnalyzer,
};
export default analyzers;