feat: add profiles session API

This commit is contained in:
Matthieu
2025-09-17 23:11:25 +02:00
parent 83251b532c
commit df5bbeecb7
78 changed files with 3000 additions and 836 deletions

View File

@@ -17,7 +17,7 @@ class CreateComposantDto {
machineId;
parentComposantId;
reference;
constructeur;
constructeurId;
prix;
emplacement;
typeComposantId;
@@ -46,7 +46,7 @@ __decorate([
(0, class_validator_1.IsOptional)(),
(0, class_validator_1.IsString)(),
__metadata("design:type", String)
], CreateComposantDto.prototype, "constructeur", void 0);
], CreateComposantDto.prototype, "constructeurId", void 0);
__decorate([
(0, class_validator_1.IsOptional)(),
(0, class_transformer_1.Transform)(({ value }) => value === '' ? null : value),
@@ -66,7 +66,7 @@ __decorate([
class UpdateComposantDto {
name;
reference;
constructeur;
constructeurId;
prix;
emplacement;
typeComposantId;
@@ -86,7 +86,7 @@ __decorate([
(0, class_validator_1.IsOptional)(),
(0, class_validator_1.IsString)(),
__metadata("design:type", String)
], UpdateComposantDto.prototype, "constructeur", void 0);
], UpdateComposantDto.prototype, "constructeurId", void 0);
__decorate([
(0, class_validator_1.IsOptional)(),
(0, class_transformer_1.Transform)(({ value }) => value === '' ? null : value),