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:
13
dist/models/user-goal.model.d.ts
vendored
Normal file
13
dist/models/user-goal.model.d.ts
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Model } from 'sequelize-typescript';
|
||||
import { User } from './user.model';
|
||||
export declare class UserGoal extends Model {
|
||||
UserId: number;
|
||||
user: User;
|
||||
goal_type: string;
|
||||
target_weight_kg: number;
|
||||
weekly_goal_kg: number;
|
||||
target_protein_g: number;
|
||||
target_carbs_g: number;
|
||||
target_fat_g: number;
|
||||
target_water_ml: number;
|
||||
}
|
||||
Reference in New Issue
Block a user