- 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
13 lines
337 B
TypeScript
13 lines
337 B
TypeScript
import { Model } from 'sequelize-typescript';
|
|
import { User } from './user.model';
|
|
import { PlannedFood } from './planned-food.model';
|
|
export declare class MealPlan extends Model {
|
|
UserId: number;
|
|
user: User;
|
|
date: Date;
|
|
meal_type: string;
|
|
is_completed: boolean;
|
|
notes: string;
|
|
plannedFoods: PlannedFood[];
|
|
}
|