feat: add profiles session API
This commit is contained in:
46
dist/constructeurs/constructeurs.controller.d.ts
vendored
Normal file
46
dist/constructeurs/constructeurs.controller.d.ts
vendored
Normal 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;
|
||||
}>;
|
||||
}
|
||||
Reference in New Issue
Block a user