- 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
426 B
TypeScript
16 lines
426 B
TypeScript
import { Model } from 'sequelize-typescript';
|
|
import { Meal } from './meal.model';
|
|
import { FoodItem } from './food-item.model';
|
|
export declare class MealFood extends Model {
|
|
MealId: number;
|
|
meal: Meal;
|
|
FoodItemId: number;
|
|
foodItem: FoodItem;
|
|
quantity: number;
|
|
quantity_grams: number;
|
|
calories_consumed: number;
|
|
protein_consumed: number;
|
|
carbs_consumed: number;
|
|
fat_consumed: number;
|
|
}
|