Spaces:
Running
Running
import { Expose } from "class-transformer"; | |
import { SwaggerResponseProperty } from "@lib/decorators/swagger-response-property.decorator"; | |
export class MealSerialization { | |
name: "_id" }) | ({|
type: "string" }) | ({|
id: string; | |
() | |
type: "string" }) | ({|
name: string; | |
() | |
type: "string" }) | ({|
created_at: Date; | |
() | |
type: ["string"] }) | ({|
ingredients: any; | |
() | |
type: "number" }) | ({|
calories: number; | |
() | |
type: "number" }) | ({|
carbs: number; | |
() | |
type: "number" }) | ({|
proteins: number; | |
() | |
type: "number" }) | ({|
fats: number; | |
() | |
type: "string" }) | ({|
type: string; | |
} |