build: add TypeScript configuration and generate declaration files

- Add tsconfig.json for TypeScript compilation with declaration and source map generation
- Generate .d.ts declaration files for all modules, services, controllers, and models
- Update package.json with NestJS dependencies and TypeScript development tools
- Include database files in the distribution output for persistence
This commit is contained in:
Jp
2026-01-31 09:00:26 +08:00
parent 0fa0343798
commit f521970a65
174 changed files with 7205 additions and 1633 deletions

13
dist/goals/goals.controller.d.ts vendored Normal file
View File

@@ -0,0 +1,13 @@
import { Response } from 'express';
import { GoalsService } from './goals.service';
export declare class GoalsController {
private goalsService;
constructor(goalsService: GoalsService);
getGoals(req: any): Promise<{
user: any;
goals: import("../models/user-goal.model").UserGoal;
bmr: any;
tdee: any;
}>;
updateGoals(req: any, body: any, res: Response): Promise<void>;
}