leds-spark-lib
Version:
Biblioteca de geração de código
33 lines • 1.25 kB
TypeScript
/**
* Routes Generator Module
*
* This module generates Vue Router configuration files that define the application's
* routing structure. It sets up route definitions, navigation guards, and route-level
* component mappings to create a complete routing system.
*
* Key Features:
* - Authentication-aware routing
* - Dynamic route generation based on project classes
* - Default route configuration
* - Navigation guard implementation
*
* Generated Files:
* - index.ts: Main router configuration with route definitions
*/
import SEON from "seon-lib-implementation";
/**
* Main route generator function
*
* Creates the Vue Router configuration file that defines all application
* routes. The routes are generated based on the project's class structure
* and include authentication checks and navigation guards.
*
* @param project_abstraction - Project metadata for generating class-based routes
* @param target_folder - Directory where the router config will be saved
*
* Generated Structure:
* routes/
* └── index.ts - Main router configuration with route definitions
*/
export declare function generate(project_abstraction: SEON.ProjectAbstraction, target_folder: string): void;
//# sourceMappingURL=generate.d.ts.map