/** * Next.js + Drizzle + tRPC Template * * Full-stack template for Next.js applications with: * - Drizzle ORM for database access * - tRPC for type-safe API routes * - Zod for runtime validation * - React Hook Form integration for forms * * Supports both database-backed and external API-backed entities. * Can run in full mode (with database) or headless mode (API-only). * * @module templates/nextjs-drizzle-trpc */ import type { Template } from '../../template/types'; /** * Template definition for Next.js + Drizzle + tRPC stack * * Generators run in order, with some conditionally skipped: * 1. schemaGenerator - Drizzle tables (skipped in headless mode) * 2. authGenerator - Auth.js tables (only if auth.enabled) * 3. validationGenerator - Zod schemas (always runs) * 4. serviceGenerator - API client (only for external entities) * 5. apiGenerator - tRPC routers (adapts to source type) * 6. hooksGenerator - React hooks (always runs) * 7. crudHooksGenerator - Business logic hooks (only if hooks enabled) * 8. i18nGenerator - Translation files (only if i18n configured) * 9. testGenerator - Vitest test suites (always runs) * 10. openapiGenerator - OpenAPI spec and Swagger UI (always runs) * 11. seedGenerator - Seed data for development (always runs) */ export declare const template: Template; export default template; //# sourceMappingURL=index.d.ts.map