- 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
16 lines
578 B
TypeScript
16 lines
578 B
TypeScript
import { Response } from 'express';
|
|
import { MealPlannerService } from './meal-planner.service';
|
|
export declare class MealPlannerController {
|
|
private mealPlannerService;
|
|
constructor(mealPlannerService: MealPlannerService);
|
|
getMealPlanner(req: any): Promise<{
|
|
user: any;
|
|
dates: any[];
|
|
meal_plans: {};
|
|
today: string;
|
|
}>;
|
|
autoGenerate(req: any, body: any, res: Response): Promise<void>;
|
|
addMealPlan(req: any, body: any, res: Response): Promise<void>;
|
|
toggleComplete(req: any, id: number, res: Response): Promise<void>;
|
|
}
|