This repository has been archived on 2026-04-01. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Inventory_backend/dist/constructeurs/constructeurs.controller.d.ts
2025-09-17 23:11:25 +02:00

47 lines
1.3 KiB
TypeScript

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;
}>;
}