build: Fichiers de build générés - Ajout des fichiers TypeScript compilés et des déclarations de types

This commit is contained in:
Matthieu
2025-07-29 21:04:35 +02:00
parent e145b2c1ff
commit 1dbbf2b8ec
103 changed files with 10936 additions and 0 deletions

110
dist/documents/documents.controller.js vendored Normal file
View File

@@ -0,0 +1,110 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __param = (this && this.__param) || function (paramIndex, decorator) {
return function (target, key) { decorator(target, key, paramIndex); }
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DocumentsController = void 0;
const common_1 = require("@nestjs/common");
const documents_service_1 = require("./documents.service");
const document_dto_1 = require("../shared/dto/document.dto");
let DocumentsController = class DocumentsController {
documentsService;
constructor(documentsService) {
this.documentsService = documentsService;
}
create(createDocumentDto) {
return this.documentsService.create(createDocumentDto);
}
findAll() {
return this.documentsService.findAll();
}
findByMachine(machineId) {
return this.documentsService.findByMachine(machineId);
}
findByComposant(composantId) {
return this.documentsService.findByComposant(composantId);
}
findByPiece(pieceId) {
return this.documentsService.findByPiece(pieceId);
}
findOne(id) {
return this.documentsService.findOne(id);
}
update(id, updateDocumentDto) {
return this.documentsService.update(id, updateDocumentDto);
}
remove(id) {
return this.documentsService.remove(id);
}
};
exports.DocumentsController = DocumentsController;
__decorate([
(0, common_1.Post)(),
__param(0, (0, common_1.Body)()),
__metadata("design:type", Function),
__metadata("design:paramtypes", [document_dto_1.CreateDocumentDto]),
__metadata("design:returntype", void 0)
], DocumentsController.prototype, "create", null);
__decorate([
(0, common_1.Get)(),
__metadata("design:type", Function),
__metadata("design:paramtypes", []),
__metadata("design:returntype", void 0)
], DocumentsController.prototype, "findAll", null);
__decorate([
(0, common_1.Get)('machine/:machineId'),
__param(0, (0, common_1.Param)('machineId')),
__metadata("design:type", Function),
__metadata("design:paramtypes", [String]),
__metadata("design:returntype", void 0)
], DocumentsController.prototype, "findByMachine", null);
__decorate([
(0, common_1.Get)('composant/:composantId'),
__param(0, (0, common_1.Param)('composantId')),
__metadata("design:type", Function),
__metadata("design:paramtypes", [String]),
__metadata("design:returntype", void 0)
], DocumentsController.prototype, "findByComposant", null);
__decorate([
(0, common_1.Get)('piece/:pieceId'),
__param(0, (0, common_1.Param)('pieceId')),
__metadata("design:type", Function),
__metadata("design:paramtypes", [String]),
__metadata("design:returntype", void 0)
], DocumentsController.prototype, "findByPiece", null);
__decorate([
(0, common_1.Get)(':id'),
__param(0, (0, common_1.Param)('id')),
__metadata("design:type", Function),
__metadata("design:paramtypes", [String]),
__metadata("design:returntype", void 0)
], DocumentsController.prototype, "findOne", null);
__decorate([
(0, common_1.Patch)(':id'),
__param(0, (0, common_1.Param)('id')),
__param(1, (0, common_1.Body)()),
__metadata("design:type", Function),
__metadata("design:paramtypes", [String, document_dto_1.UpdateDocumentDto]),
__metadata("design:returntype", void 0)
], DocumentsController.prototype, "update", null);
__decorate([
(0, common_1.Delete)(':id'),
__param(0, (0, common_1.Param)('id')),
__metadata("design:type", Function),
__metadata("design:paramtypes", [String]),
__metadata("design:returntype", void 0)
], DocumentsController.prototype, "remove", null);
exports.DocumentsController = DocumentsController = __decorate([
(0, common_1.Controller)('documents'),
__metadata("design:paramtypes", [documents_service_1.DocumentsService])
], DocumentsController);
//# sourceMappingURL=documents.controller.js.map