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

@@ -10,21 +10,21 @@ export declare class CustomFieldsController {
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;
}>;
findCustomFieldValuesByEntity(entityType: string, entityId: string): Promise<({
@@ -34,21 +34,21 @@ export declare class CustomFieldsController {
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;
})[]>;
findOneCustomFieldValue(id: string): Promise<({
@@ -58,21 +58,21 @@ export declare class CustomFieldsController {
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;
}) | null>;
updateCustomFieldValue(id: string, updateCustomFieldValueDto: UpdateCustomFieldValueDto): Promise<{
@@ -82,31 +82,31 @@ export declare class CustomFieldsController {
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;
}>;
removeCustomFieldValue(id: string): Promise<{
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
}>;
upsertCustomFieldValue(body: {
@@ -121,21 +121,21 @@ export declare class CustomFieldsController {
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;
}>;
}