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:
20
dist/goals/goals.service.d.ts
vendored
Normal file
20
dist/goals/goals.service.d.ts
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
import { User } from '../models/user.model';
|
||||
import { UserGoal } from '../models/user-goal.model';
|
||||
import { UtilsService } from '../utils/utils.service';
|
||||
export declare class GoalsService {
|
||||
private userModel;
|
||||
private userGoalModel;
|
||||
private utilsService;
|
||||
constructor(userModel: typeof User, userGoalModel: typeof UserGoal, utilsService: UtilsService);
|
||||
getGoals(userId: number): Promise<{
|
||||
goals: UserGoal;
|
||||
bmr: any;
|
||||
tdee: any;
|
||||
user: User;
|
||||
}>;
|
||||
updateGoals(userId: number, data: any): Promise<{
|
||||
success: boolean;
|
||||
user: User;
|
||||
goals: UserGoal;
|
||||
}>;
|
||||
}
|
||||
Reference in New Issue
Block a user