- 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
14 lines
485 B
TypeScript
14 lines
485 B
TypeScript
import { FoodsService } from './foods.service';
|
|
export declare class FoodsController {
|
|
private foodsService;
|
|
constructor(foodsService: FoodsService);
|
|
getFoods(req: any, category: string, q: string): Promise<{
|
|
filipino_foods: import("../models/food-item.model").FoodItem[];
|
|
other_foods: import("../models/food-item.model").FoodItem[];
|
|
categories: string[];
|
|
current_category: string;
|
|
search_query: string;
|
|
user: any;
|
|
}>;
|
|
}
|