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:
19
dist/dashboard/progress.controller.d.ts
vendored
Normal file
19
dist/dashboard/progress.controller.d.ts
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import { UtilsService } from '../utils/utils.service';
|
||||
export declare class ProgressController {
|
||||
private utilsService;
|
||||
constructor(utilsService: UtilsService);
|
||||
getProgress(req: any, daysQuery: string): Promise<{
|
||||
user: any;
|
||||
weight_trend: {
|
||||
date: Date;
|
||||
weight_kg: number;
|
||||
}[];
|
||||
calorie_trend: any[];
|
||||
avg_calories: number;
|
||||
avg_protein: number;
|
||||
avg_carbs: number;
|
||||
avg_fat: number;
|
||||
weight_change: any;
|
||||
days: number;
|
||||
}>;
|
||||
}
|
||||
Reference in New Issue
Block a user