leds-spark-lib
Version:
Biblioteca de geração de código
32 lines • 1.05 kB
TypeScript
/**
* Module Views Generator
*
* This module generates Vue component views for each entity's CRUD
* operations. Creates form-based creation/edit views and list views
* with data tables and actions.
*
* Features:
* - Create/Edit forms with validation
* - List views with data tables
* - Form input validation
* - Error handling
* - Loading states
* - Action feedback
*/
import SEON from "seon-lib-implementation";
/**
* Generates view components for a specific class
*
* Creates Vue components for creating, editing, and listing
* entities, with proper form handling and data display.
*
* @param project_abstraction - Project metadata
* @param cls - Class for which to generate views
* @param target_folder - Directory where view files will be saved
*
* Generated Views:
* - Criar.vue: Create/Edit form view
* - Listar.vue: List view with data table
*/
export declare function generate(project_abstraction: SEON.ProjectAbstraction, cls: SEON.ClassAbstraction, target_folder: string): void;
//# sourceMappingURL=generate.d.ts.map