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/meal-planner/meal-planner.service.d.ts
vendored
Normal file
19
dist/meal-planner/meal-planner.service.d.ts
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import { MealPlan } from '../models/meal-plan.model';
|
||||
import { PlannedFood } from '../models/planned-food.model';
|
||||
import { FoodItem } from '../models/food-item.model';
|
||||
import { UtilsService } from '../utils/utils.service';
|
||||
export declare class MealPlannerService {
|
||||
private mealPlanModel;
|
||||
private plannedFoodModel;
|
||||
private foodItemModel;
|
||||
private utilsService;
|
||||
constructor(mealPlanModel: typeof MealPlan, plannedFoodModel: typeof PlannedFood, foodItemModel: typeof FoodItem, utilsService: UtilsService);
|
||||
getWeeklyMealPlans(userId: number): Promise<{
|
||||
dates: any[];
|
||||
mealPlans: {};
|
||||
today: string;
|
||||
}>;
|
||||
autoGenerate(userId: number, date: string): Promise<boolean>;
|
||||
addMealPlan(userId: number, data: any): Promise<MealPlan>;
|
||||
toggleComplete(userId: number, planId: number): Promise<MealPlan>;
|
||||
}
|
||||
Reference in New Issue
Block a user