build: Fichiers de build générés - Ajout des fichiers TypeScript compilés et des déclarations de types
This commit is contained in:
215
dist/sites/sites.controller.d.ts
vendored
Normal file
215
dist/sites/sites.controller.d.ts
vendored
Normal file
@@ -0,0 +1,215 @@
|
||||
import { SitesService } from './sites.service';
|
||||
import { CreateSiteDto, UpdateSiteDto } from '../shared/dto/site.dto';
|
||||
export declare class SitesController {
|
||||
private readonly sitesService;
|
||||
constructor(sitesService: SitesService);
|
||||
create(createSiteDto: CreateSiteDto): Promise<{
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
}>;
|
||||
findAll(): Promise<({
|
||||
machines: ({
|
||||
typeMachine: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
category: string | null;
|
||||
maintenanceFrequency: string | null;
|
||||
components: import("@prisma/client/runtime/library").JsonValue | null;
|
||||
criticalParts: import("@prisma/client/runtime/library").JsonValue | null;
|
||||
machinePieces: import("@prisma/client/runtime/library").JsonValue | null;
|
||||
specifications: import("@prisma/client/runtime/library").JsonValue | null;
|
||||
} | null;
|
||||
pieces: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
typePieceId: string | null;
|
||||
}[];
|
||||
composants: ({
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
} | null;
|
||||
pieces: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
typePieceId: string | null;
|
||||
}[];
|
||||
sousComposants: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
}[];
|
||||
} & {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
siteId: string;
|
||||
typeMachineId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
})[]>;
|
||||
findOne(id: string): Promise<({
|
||||
machines: ({
|
||||
typeMachine: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
category: string | null;
|
||||
maintenanceFrequency: string | null;
|
||||
components: import("@prisma/client/runtime/library").JsonValue | null;
|
||||
criticalParts: import("@prisma/client/runtime/library").JsonValue | null;
|
||||
machinePieces: import("@prisma/client/runtime/library").JsonValue | null;
|
||||
specifications: import("@prisma/client/runtime/library").JsonValue | null;
|
||||
} | null;
|
||||
pieces: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
typePieceId: string | null;
|
||||
}[];
|
||||
composants: ({
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
} | null;
|
||||
pieces: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
typePieceId: string | null;
|
||||
}[];
|
||||
sousComposants: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
}[];
|
||||
} & {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
siteId: string;
|
||||
typeMachineId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
}) | null>;
|
||||
update(id: string, updateSiteDto: UpdateSiteDto): Promise<{
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
}>;
|
||||
remove(id: string): Promise<{
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
}>;
|
||||
}
|
||||
Reference in New Issue
Block a user