leds-spark-lib
Version:
Biblioteca de geração de código
35 lines • 1.25 kB
TypeScript
/**
* Stores Generator Module
*
* This module generates Pinia store modules that manage application state
* across components. It creates stores for authentication, UI state, and
* other global application data management needs.
*
* Key Features:
* - Authentication state management (auth.ts)
* - UI state management (ui.ts)
* - Cookie-based session handling
* - Reactive state using Vue's composition API
*
* Generated Files:
* - auth.ts: Authentication and session management store
* - ui.ts: UI state and interaction management store
*/
import SEON from "seon-lib-implementation";
/**
* Main store generator function
*
* Creates Pinia store modules for managing application state.
* Each store module handles a specific aspect of the application's
* global state management needs.
*
* @param project_abstraction - Project metadata for customizing stores
* @param target_folder - Directory where store files will be saved
*
* Generated Structure:
* stores/
* ├── auth.ts - Authentication and session store
* └── ui.ts - UI state management store
*/
export declare function generate(project_abstraction: SEON.ProjectAbstraction, target_folder: string): void;
//# sourceMappingURL=generate.d.ts.map