feat: add profiles session API

This commit is contained in:
Matthieu
2025-09-17 23:11:25 +02:00
parent 83251b532c
commit df5bbeecb7
78 changed files with 3000 additions and 836 deletions

View File

@@ -0,0 +1,46 @@
import { ConstructeursService } from './constructeurs.service';
import { CreateConstructeurDto, UpdateConstructeurDto } from '../shared/dto/constructeur.dto';
export declare class ConstructeursController {
private readonly constructeursService;
constructor(constructeursService: ConstructeursService);
create(payload: CreateConstructeurDto): Promise<{
name: string;
id: string;
createdAt: Date;
updatedAt: Date;
email: string | null;
phone: string | null;
}>;
findAll(search?: string): Promise<{
name: string;
id: string;
createdAt: Date;
updatedAt: Date;
email: string | null;
phone: string | null;
}[]>;
findOne(id: string): Promise<{
name: string;
id: string;
createdAt: Date;
updatedAt: Date;
email: string | null;
phone: string | null;
} | null>;
update(id: string, payload: UpdateConstructeurDto): Promise<{
name: string;
id: string;
createdAt: Date;
updatedAt: Date;
email: string | null;
phone: string | null;
}>;
remove(id: string): Promise<{
name: string;
id: string;
createdAt: Date;
updatedAt: Date;
email: string | null;
phone: string | null;
}>;
}