feat: add profiles session API
This commit is contained in:
47
dist/constructeurs/constructeurs.service.d.ts
vendored
Normal file
47
dist/constructeurs/constructeurs.service.d.ts
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
import { PrismaService } from '../prisma/prisma.service';
|
||||
import { CreateConstructeurDto, UpdateConstructeurDto } from '../shared/dto/constructeur.dto';
|
||||
export declare class ConstructeursService {
|
||||
private prisma;
|
||||
constructor(prisma: PrismaService);
|
||||
private buildSearchWhere;
|
||||
create(data: 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, data: 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