UNPKG

node-apis

Version:

🚀 Advanced TypeScript API generator with clean architecture, comprehensive testing, and automatic formatting. Generate production-ready Node.js APIs with complete integration test suites.

25 lines • 833 B
/** * File generation service */ import { ApiType, GeneratedFile } from '../types/common.types'; /** * Generates TypeScript files based on API type (types + validators + controllers + services + repository + routes) */ export declare const generateApiFiles: ({ moduleName, modulePath, apiType, appendMode, }: { moduleName: string; modulePath: string; apiType: ApiType; appendMode?: boolean; }) => Promise<GeneratedFile[]>; /** * Generates test files based on API type */ export declare const generateTestFiles: ({ moduleName, testPath, apiType, appendMode, trpcStyle, framework, }: { moduleName: string; testPath: string; apiType: ApiType; appendMode?: boolean; trpcStyle?: boolean; framework?: string; }) => Promise<GeneratedFile[]>; //# sourceMappingURL=file-generator.service.d.ts.map