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