- 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
398 B
TypeScript
16 lines
398 B
TypeScript
import { Model } from 'sequelize-typescript';
|
|
import { User } from './user.model';
|
|
export declare class DailySummary extends Model {
|
|
UserId: number;
|
|
user: User;
|
|
date: Date;
|
|
total_calories: number;
|
|
total_protein_g: number;
|
|
total_carbs_g: number;
|
|
total_fat_g: number;
|
|
total_water_ml: number;
|
|
calories_remaining: number;
|
|
weight_kg: number;
|
|
notes: string;
|
|
}
|