Spaces:
Running
Running
File size: 584 Bytes
da50ce9 e2cbb6b da50ce9 e2cbb6b da50ce9 e2cbb6b da50ce9 e2cbb6b 77bed8d da50ce9 e2cbb6b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
import { SwaggerResponseProperty } from "@lib/decorators/swagger-response-property.decorator";
import { Expose } from "class-transformer";
export class TemplateSerialization {
@Expose({ name: "_id" })
@SwaggerResponseProperty({ type: "string" })
id: string;
@Expose()
@SwaggerResponseProperty({ type: "string" })
name: string;
@Expose()
@SwaggerResponseProperty({ type: "string" })
user: string;
@Expose()
@SwaggerResponseProperty({ type: "Date" })
creationDate: Date;
@Expose()
@SwaggerResponseProperty({ type: ["string"] })
exercises: string[];
}
|