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:
12
dist/foods/foods.service.d.ts
vendored
Normal file
12
dist/foods/foods.service.d.ts
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import { FoodItem } from '../models/food-item.model';
|
||||
export declare class FoodsService {
|
||||
private foodItemModel;
|
||||
constructor(foodItemModel: typeof FoodItem);
|
||||
getFoods(category?: string, searchQuery?: string): Promise<{
|
||||
filipino_foods: FoodItem[];
|
||||
other_foods: FoodItem[];
|
||||
categories: string[];
|
||||
current_category: string;
|
||||
search_query: string;
|
||||
}>;
|
||||
}
|
||||
Reference in New Issue
Block a user