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;