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:
24
dist/models/food-item.model.d.ts
vendored
Normal file
24
dist/models/food-item.model.d.ts
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
import { Model } from 'sequelize-typescript';
|
||||
import { MealFood } from './meal-food.model';
|
||||
import { PlannedFood } from './planned-food.model';
|
||||
export declare class FoodItem extends Model {
|
||||
name: string;
|
||||
name_tagalog: string;
|
||||
category: string;
|
||||
calories: number;
|
||||
protein_g: number;
|
||||
carbs_g: number;
|
||||
fat_g: number;
|
||||
fiber_g: number;
|
||||
sugar_g: number;
|
||||
sodium_mg: number;
|
||||
serving_size_g: number;
|
||||
serving_description: string;
|
||||
source: string;
|
||||
is_filipino: boolean;
|
||||
is_favorite: boolean;
|
||||
api_data: string;
|
||||
last_updated: Date;
|
||||
mealFoods: MealFood[];
|
||||
plannedFoods: PlannedFood[];
|
||||
}
|
||||
Reference in New Issue
Block a user