interface Task {
id: number;
title: string;
completed: boolean;
createdAt: Date;
}
interface CreateTaskDto extends Omit<Task, 'id' | 'createdAt'> {}
interface UpdateTaskDto extends Omit<Partial<Task>, 'id'> {}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<prompt> | |
<context> | |
<description>FDP Belleza es un centro de belleza en Sevilla con más de 20 años de experiencia en peluquería y estética.</description> | |
<location>Sevilla, España</location> | |
<mission>Ofrecer una experiencia de belleza única con tratamientos personalizados y productos de alta calidad.</mission> | |
</context> | |
<services> | |
<category name="Peluquería y Estilismo"> | |
<service> |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
- Follow standard conventions.
- Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
- Boy scout rule. Leave the campground cleaner than you found it.
- Always find root cause. Always look for the root cause of a problem.