refactor: rename prestataire to constructeur

This commit is contained in:
Matthieu
2025-09-17 08:50:07 +02:00
parent 4d2d552391
commit e8aeaf98e9
36 changed files with 796 additions and 783 deletions

View File

@@ -18,12 +18,12 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -46,21 +46,21 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -69,7 +69,7 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
@@ -92,21 +92,21 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -115,7 +115,7 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
@@ -128,12 +128,12 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
} & {
name: string;
@@ -141,12 +141,12 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
documents: {
name: string;
@@ -168,21 +168,21 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -191,7 +191,7 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
siteId: string;
@@ -212,12 +212,12 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -240,21 +240,21 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -263,7 +263,7 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
@@ -286,21 +286,21 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -309,7 +309,7 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
@@ -322,12 +322,12 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
customFieldValues: ({
customField: {
@@ -336,21 +336,21 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -359,12 +359,12 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
documents: {
name: string;
@@ -386,21 +386,21 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -409,7 +409,7 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
siteId: string;
@@ -430,12 +430,12 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -458,21 +458,21 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -481,7 +481,7 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
@@ -504,21 +504,21 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -527,7 +527,7 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
@@ -540,12 +540,12 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
customFieldValues: ({
customField: {
@@ -554,21 +554,21 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -577,12 +577,12 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
documents: {
name: string;
@@ -604,21 +604,21 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -627,7 +627,7 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
siteId: string;
@@ -648,12 +648,12 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -674,7 +674,7 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
@@ -695,7 +695,7 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
@@ -708,12 +708,12 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
} & {
name: string;
@@ -721,12 +721,12 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
documents: {
name: string;
@@ -748,21 +748,21 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -771,7 +771,7 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
siteId: string;
@@ -783,7 +783,7 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
siteId: string;
@@ -804,12 +804,12 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -832,21 +832,21 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -855,7 +855,7 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
@@ -878,21 +878,21 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -901,7 +901,7 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
@@ -914,12 +914,12 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
customFieldValues: ({
customField: {
@@ -928,21 +928,21 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -951,12 +951,12 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
documents: {
name: string;
@@ -978,21 +978,21 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -1001,7 +1001,7 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
siteId: string;

View File

@@ -18,12 +18,12 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -46,21 +46,21 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -69,7 +69,7 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
@@ -92,21 +92,21 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -115,7 +115,7 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
@@ -128,12 +128,12 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
} & {
name: string;
@@ -141,12 +141,12 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
documents: {
name: string;
@@ -168,21 +168,21 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -191,7 +191,7 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
siteId: string;
@@ -215,12 +215,12 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -243,21 +243,21 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -266,7 +266,7 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
@@ -289,21 +289,21 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -312,7 +312,7 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
@@ -325,12 +325,12 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
customFieldValues: ({
customField: {
@@ -339,21 +339,21 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -362,12 +362,12 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
documents: {
name: string;
@@ -389,21 +389,21 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -412,7 +412,7 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
siteId: string;
@@ -433,12 +433,12 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -461,21 +461,21 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -484,7 +484,7 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
@@ -507,21 +507,21 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -530,7 +530,7 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
@@ -543,12 +543,12 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
customFieldValues: ({
customField: {
@@ -557,21 +557,21 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -580,12 +580,12 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
documents: {
name: string;
@@ -607,21 +607,21 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -630,7 +630,7 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
siteId: string;
@@ -651,12 +651,12 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -677,7 +677,7 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
@@ -698,7 +698,7 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
@@ -711,12 +711,12 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
} & {
name: string;
@@ -724,12 +724,12 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
documents: {
name: string;
@@ -751,21 +751,21 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -774,7 +774,7 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
siteId: string;
@@ -786,7 +786,7 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
siteId: string;
@@ -807,12 +807,12 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -835,21 +835,21 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -858,7 +858,7 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
@@ -881,21 +881,21 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -904,7 +904,7 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
@@ -917,12 +917,12 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
customFieldValues: ({
customField: {
@@ -931,21 +931,21 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -954,12 +954,12 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
documents: {
name: string;
@@ -981,21 +981,21 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[];
} & {
@@ -1004,7 +1004,7 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
reference: string | null;
prestataire: string | null;
constructeur: string | null;
prix: import("@prisma/client/runtime/library").Decimal | null;
emplacement: string | null;
siteId: string;

View File

@@ -123,7 +123,7 @@ let MachinesService = class MachinesService {
data: {
name: component.name,
reference: component.reference || '',
prestataire: component.prestataire || '',
constructeur: component.constructeur || '',
emplacement: component.emplacement || '',
prix: component.prix || null,
machineId,
@@ -180,7 +180,7 @@ let MachinesService = class MachinesService {
data: {
name: piece.name,
reference: piece.reference || '',
prestataire: piece.prestataire || '',
constructeur: piece.constructeur || '',
emplacement: piece.emplacement || '',
prix: piece.prix || null,
composantId: createdComposant.id,

File diff suppressed because one or more lines are too long