diff --git a/dist/app.controller.d.ts b/dist/app.controller.d.ts deleted file mode 100644 index 3859d69..0000000 --- a/dist/app.controller.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { AppService } from './app.service'; -export declare class AppController { - private readonly appService; - constructor(appService: AppService); - getHello(): string; -} diff --git a/dist/app.controller.js b/dist/app.controller.js deleted file mode 100644 index bd4a0b3..0000000 --- a/dist/app.controller.js +++ /dev/null @@ -1,35 +0,0 @@ -"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); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.AppController = void 0; -const common_1 = require("@nestjs/common"); -const app_service_1 = require("./app.service"); -let AppController = class AppController { - appService; - constructor(appService) { - this.appService = appService; - } - getHello() { - return this.appService.getHello(); - } -}; -exports.AppController = AppController; -__decorate([ - (0, common_1.Get)(), - __metadata("design:type", Function), - __metadata("design:paramtypes", []), - __metadata("design:returntype", String) -], AppController.prototype, "getHello", null); -exports.AppController = AppController = __decorate([ - (0, common_1.Controller)(), - __metadata("design:paramtypes", [app_service_1.AppService]) -], AppController); -//# sourceMappingURL=app.controller.js.map \ No newline at end of file diff --git a/dist/app.controller.js.map b/dist/app.controller.js.map deleted file mode 100644 index 2dd6fd7..0000000 --- a/dist/app.controller.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"app.controller.js","sourceRoot":"","sources":["../src/app.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAiD;AACjD,+CAA2C;AAGpC,IAAM,aAAa,GAAnB,MAAM,aAAa;IACK;IAA7B,YAA6B,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;IAAG,CAAC;IAGvD,QAAQ;QACN,OAAO,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;IACpC,CAAC;CACF,CAAA;AAPY,sCAAa;AAIxB;IADC,IAAA,YAAG,GAAE;;;;6CAGL;wBANU,aAAa;IADzB,IAAA,mBAAU,GAAE;qCAE8B,wBAAU;GADxC,aAAa,CAOzB"} \ No newline at end of file diff --git a/dist/app.module.d.ts b/dist/app.module.d.ts deleted file mode 100644 index 09cdb35..0000000 --- a/dist/app.module.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare class AppModule { -} diff --git a/dist/app.module.js b/dist/app.module.js deleted file mode 100644 index 7ab6226..0000000 --- a/dist/app.module.js +++ /dev/null @@ -1,50 +0,0 @@ -"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; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.AppModule = void 0; -const common_1 = require("@nestjs/common"); -const config_1 = require("@nestjs/config"); -const prisma_module_1 = require("./prisma/prisma.module"); -const app_controller_1 = require("./app.controller"); -const app_service_1 = require("./app.service"); -const sites_module_1 = require("./sites/sites.module"); -const machines_module_1 = require("./machines/machines.module"); -const composants_module_1 = require("./composants/composants.module"); -const pieces_module_1 = require("./pieces/pieces.module"); -const documents_module_1 = require("./documents/documents.module"); -const types_module_1 = require("./types/types.module"); -const custom_fields_module_1 = require("./custom-fields/custom-fields.module"); -const constructeurs_module_1 = require("./constructeurs/constructeurs.module"); -const profiles_module_1 = require("./profiles/profiles.module"); -const session_module_1 = require("./session/session.module"); -let AppModule = class AppModule { -}; -exports.AppModule = AppModule; -exports.AppModule = AppModule = __decorate([ - (0, common_1.Module)({ - imports: [ - config_1.ConfigModule.forRoot({ - isGlobal: true, - }), - prisma_module_1.PrismaModule, - sites_module_1.SitesModule, - machines_module_1.MachinesModule, - composants_module_1.ComposantsModule, - pieces_module_1.PiecesModule, - documents_module_1.DocumentsModule, - types_module_1.TypesModule, - custom_fields_module_1.CustomFieldsModule, - constructeurs_module_1.ConstructeursModule, - profiles_module_1.ProfilesModule, - session_module_1.SessionModule, - ], - controllers: [app_controller_1.AppController], - providers: [app_service_1.AppService], - }) -], AppModule); -//# sourceMappingURL=app.module.js.map \ No newline at end of file diff --git a/dist/app.module.js.map b/dist/app.module.js.map deleted file mode 100644 index 6aa783a..0000000 --- a/dist/app.module.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"app.module.js","sourceRoot":"","sources":["../src/app.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,2CAA8C;AAC9C,0DAAsD;AACtD,qDAAiD;AACjD,+CAA2C;AAC3C,uDAAmD;AACnD,gEAA4D;AAC5D,sEAAkE;AAClE,0DAAsD;AACtD,mEAA+D;AAC/D,uDAAmD;AACnD,+EAA0E;AAC1E,+EAA2E;AAC3E,gEAA4D;AAC5D,6DAAyD;AAsBlD,IAAM,SAAS,GAAf,MAAM,SAAS;CAAG,CAAA;AAAZ,8BAAS;oBAAT,SAAS;IApBrB,IAAA,eAAM,EAAC;QACN,OAAO,EAAE;YACP,qBAAY,CAAC,OAAO,CAAC;gBACnB,QAAQ,EAAE,IAAI;aACf,CAAC;YACF,4BAAY;YACZ,0BAAW;YACX,gCAAc;YACd,oCAAgB;YAChB,4BAAY;YACZ,kCAAe;YACf,0BAAW;YACX,yCAAkB;YAClB,0CAAmB;YACnB,gCAAc;YACd,8BAAa;SACd;QACD,WAAW,EAAE,CAAC,8BAAa,CAAC;QAC5B,SAAS,EAAE,CAAC,wBAAU,CAAC;KACxB,CAAC;GACW,SAAS,CAAG"} \ No newline at end of file diff --git a/dist/app.service.d.ts b/dist/app.service.d.ts deleted file mode 100644 index 0496e79..0000000 --- a/dist/app.service.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare class AppService { - getHello(): string; -} diff --git a/dist/app.service.js b/dist/app.service.js deleted file mode 100644 index 3bfb90b..0000000 --- a/dist/app.service.js +++ /dev/null @@ -1,20 +0,0 @@ -"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; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.AppService = void 0; -const common_1 = require("@nestjs/common"); -let AppService = class AppService { - getHello() { - return 'Hello World!'; - } -}; -exports.AppService = AppService; -exports.AppService = AppService = __decorate([ - (0, common_1.Injectable)() -], AppService); -//# sourceMappingURL=app.service.js.map \ No newline at end of file diff --git a/dist/app.service.js.map b/dist/app.service.js.map deleted file mode 100644 index b1674f6..0000000 --- a/dist/app.service.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"app.service.js","sourceRoot":"","sources":["../src/app.service.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAA4C;AAGrC,IAAM,UAAU,GAAhB,MAAM,UAAU;IACrB,QAAQ;QACN,OAAO,cAAc,CAAC;IACxB,CAAC;CACF,CAAA;AAJY,gCAAU;qBAAV,UAAU;IADtB,IAAA,mBAAU,GAAE;GACA,UAAU,CAItB"} \ No newline at end of file diff --git a/dist/composants/composants.controller.d.ts b/dist/composants/composants.controller.d.ts deleted file mode 100644 index 6f0ba57..0000000 --- a/dist/composants/composants.controller.d.ts +++ /dev/null @@ -1,1322 +0,0 @@ -import { ComposantsService } from './composants.service'; -import { CreateComposantDto, UpdateComposantDto } from '../shared/dto/composant.dto'; -export declare class ComposantsController { - private readonly composantsService; - constructor(composantsService: ComposantsService); - create(createComposantDto: CreateComposantDto): Promise<{ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - pieces: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }[]; - sousComposants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - pieces: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - parentComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }>; - findAll(): Promise<({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - sousComposants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - parentComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]>; - findHierarchy(machineId: string): Promise<({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - sousComposants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - sousComposants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]>; - findByMachine(machineId: string): Promise<({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - sousComposants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - pieces: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - parentComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]>; - findOne(id: string): Promise<({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - sousComposants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - parentComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }) | null>; - update(id: string, updateComposantDto: UpdateComposantDto): Promise<{ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - sousComposants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - parentComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }>; - remove(id: string): Promise<{ - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }>; -} diff --git a/dist/composants/composants.controller.js b/dist/composants/composants.controller.js deleted file mode 100644 index 2dcf122..0000000 --- a/dist/composants/composants.controller.js +++ /dev/null @@ -1,100 +0,0 @@ -"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.ComposantsController = void 0; -const common_1 = require("@nestjs/common"); -const composants_service_1 = require("./composants.service"); -const composant_dto_1 = require("../shared/dto/composant.dto"); -let ComposantsController = class ComposantsController { - composantsService; - constructor(composantsService) { - this.composantsService = composantsService; - } - create(createComposantDto) { - return this.composantsService.create(createComposantDto); - } - findAll() { - return this.composantsService.findAll(); - } - findHierarchy(machineId) { - return this.composantsService.findHierarchy(machineId); - } - findByMachine(machineId) { - return this.composantsService.findByMachine(machineId); - } - findOne(id) { - return this.composantsService.findOne(id); - } - update(id, updateComposantDto) { - return this.composantsService.update(id, updateComposantDto); - } - remove(id) { - return this.composantsService.remove(id); - } -}; -exports.ComposantsController = ComposantsController; -__decorate([ - (0, common_1.Post)(), - __param(0, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [composant_dto_1.CreateComposantDto]), - __metadata("design:returntype", void 0) -], ComposantsController.prototype, "create", null); -__decorate([ - (0, common_1.Get)(), - __metadata("design:type", Function), - __metadata("design:paramtypes", []), - __metadata("design:returntype", void 0) -], ComposantsController.prototype, "findAll", null); -__decorate([ - (0, common_1.Get)('hierarchy/:machineId'), - __param(0, (0, common_1.Param)('machineId')), - __metadata("design:type", Function), - __metadata("design:paramtypes", [String]), - __metadata("design:returntype", void 0) -], ComposantsController.prototype, "findHierarchy", 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) -], ComposantsController.prototype, "findByMachine", 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) -], ComposantsController.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, composant_dto_1.UpdateComposantDto]), - __metadata("design:returntype", void 0) -], ComposantsController.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) -], ComposantsController.prototype, "remove", null); -exports.ComposantsController = ComposantsController = __decorate([ - (0, common_1.Controller)('composants'), - __metadata("design:paramtypes", [composants_service_1.ComposantsService]) -], ComposantsController); -//# sourceMappingURL=composants.controller.js.map \ No newline at end of file diff --git a/dist/composants/composants.controller.js.map b/dist/composants/composants.controller.js.map deleted file mode 100644 index 00de57d..0000000 --- a/dist/composants/composants.controller.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"composants.controller.js","sourceRoot":"","sources":["../../src/composants/composants.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAmF;AACnF,6DAAyD;AACzD,+DAAqF;AAG9E,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IACF;IAA7B,YAA6B,iBAAoC;QAApC,sBAAiB,GAAjB,iBAAiB,CAAmB;IAAG,CAAC;IAGrE,MAA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AAC,KAAK,CAAC;IACL,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;IAAc,WAAA,IAAA,aAAI,GAAE,CAAA;;6CAAqB,kCAAkB;;kDAE7E;AAGD;IADC,IAAA,eAAM,EAAC,KAAK,CAAC;IACN,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;kDAElB;+BApCU,oBAAoB;IADhC,IAAA,mBAAU,EAAC,YAAY,CAAC;qCAEyB,sCAAiB;GADtD,oBAAoB,CAqChC"} \ No newline at end of file diff --git a/dist/composants/composants.module.d.ts b/dist/composants/composants.module.d.ts deleted file mode 100644 index 1181397..0000000 --- a/dist/composants/composants.module.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare class ComposantsModule { -} diff --git a/dist/composants/composants.module.js b/dist/composants/composants.module.js deleted file mode 100644 index aa7e585..0000000 --- a/dist/composants/composants.module.js +++ /dev/null @@ -1,22 +0,0 @@ -"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; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ComposantsModule = void 0; -const common_1 = require("@nestjs/common"); -const composants_controller_1 = require("./composants.controller"); -const composants_service_1 = require("./composants.service"); -let ComposantsModule = class ComposantsModule { -}; -exports.ComposantsModule = ComposantsModule; -exports.ComposantsModule = ComposantsModule = __decorate([ - (0, common_1.Module)({ - controllers: [composants_controller_1.ComposantsController], - providers: [composants_service_1.ComposantsService] - }) -], ComposantsModule); -//# sourceMappingURL=composants.module.js.map \ No newline at end of file diff --git a/dist/composants/composants.module.js.map b/dist/composants/composants.module.js.map deleted file mode 100644 index e040679..0000000 --- a/dist/composants/composants.module.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"composants.module.js","sourceRoot":"","sources":["../../src/composants/composants.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,mEAA+D;AAC/D,6DAAyD;AAMlD,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;CAAG,CAAA;AAAnB,4CAAgB;2BAAhB,gBAAgB;IAJ5B,IAAA,eAAM,EAAC;QACN,WAAW,EAAE,CAAC,4CAAoB,CAAC;QACnC,SAAS,EAAE,CAAC,sCAAiB,CAAC;KAC/B,CAAC;GACW,gBAAgB,CAAG"} \ No newline at end of file diff --git a/dist/composants/composants.service.d.ts b/dist/composants/composants.service.d.ts deleted file mode 100644 index f55a366..0000000 --- a/dist/composants/composants.service.d.ts +++ /dev/null @@ -1,1322 +0,0 @@ -import { PrismaService } from '../prisma/prisma.service'; -import { CreateComposantDto, UpdateComposantDto } from '../shared/dto/composant.dto'; -export declare class ComposantsService { - private prisma; - constructor(prisma: PrismaService); - create(createComposantDto: CreateComposantDto): Promise<{ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - pieces: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }[]; - sousComposants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - pieces: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - parentComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }>; - findAll(): Promise<({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - sousComposants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - parentComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]>; - findOne(id: string): Promise<({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - sousComposants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - parentComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }) | null>; - findByMachine(machineId: string): Promise<({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - sousComposants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - pieces: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - parentComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]>; - findHierarchy(machineId: string): Promise<({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - sousComposants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - sousComposants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]>; - update(id: string, updateComposantDto: UpdateComposantDto): Promise<{ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - sousComposants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - parentComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }>; - remove(id: string): Promise<{ - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }>; -} diff --git a/dist/composants/composants.service.js b/dist/composants/composants.service.js deleted file mode 100644 index 3e1c612..0000000 --- a/dist/composants/composants.service.js +++ /dev/null @@ -1,298 +0,0 @@ -"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); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ComposantsService = void 0; -const common_1 = require("@nestjs/common"); -const prisma_service_1 = require("../prisma/prisma.service"); -let ComposantsService = class ComposantsService { - prisma; - constructor(prisma) { - this.prisma = prisma; - } - async create(createComposantDto) { - return this.prisma.composant.create({ - data: createComposantDto, - include: { - machine: true, - parentComposant: true, - typeComposant: true, - constructeur: true, - sousComposants: { - include: { - typeComposant: true, - pieces: true, - }, - }, - pieces: true, - documents: true, - }, - }); - } - async findAll() { - return this.prisma.composant.findMany({ - include: { - machine: true, - parentComposant: true, - typeComposant: true, - constructeur: true, - customFieldValues: { - include: { - customField: true, - }, - }, - sousComposants: { - include: { - typeComposant: true, - customFieldValues: { - include: { - customField: true, - }, - }, - pieces: { - include: { - customFieldValues: { - include: { - customField: true, - }, - }, - constructeur: true, - }, - }, - constructeur: true, - }, - }, - pieces: { - include: { - customFieldValues: { - include: { - customField: true, - }, - }, - constructeur: true, - }, - }, - documents: true, - }, - }); - } - async findOne(id) { - return this.prisma.composant.findUnique({ - where: { id }, - include: { - machine: true, - parentComposant: true, - typeComposant: true, - constructeur: true, - customFieldValues: { - include: { - customField: true, - }, - }, - sousComposants: { - include: { - typeComposant: true, - customFieldValues: { - include: { - customField: true, - }, - }, - pieces: { - include: { - customFieldValues: { - include: { - customField: true, - }, - }, - constructeur: true, - }, - }, - constructeur: true, - }, - }, - pieces: { - include: { - customFieldValues: { - include: { - customField: true, - }, - }, - constructeur: true, - }, - }, - documents: true, - }, - }); - } - async findByMachine(machineId) { - return this.prisma.composant.findMany({ - where: { machineId }, - include: { - machine: true, - parentComposant: true, - typeComposant: true, - constructeur: true, - sousComposants: { - include: { - typeComposant: true, - pieces: true, - constructeur: true, - }, - }, - pieces: { - include: { - customFieldValues: { - include: { - customField: true, - }, - }, - constructeur: true, - }, - }, - customFieldValues: { - include: { - customField: true, - }, - }, - documents: true, - }, - }); - } - async findHierarchy(machineId) { - const rootComposants = await this.prisma.composant.findMany({ - where: { - machineId, - parentComposantId: null - }, - include: { - typeComposant: true, - constructeur: true, - customFieldValues: { - include: { - customField: true, - }, - }, - sousComposants: { - include: { - typeComposant: true, - constructeur: true, - customFieldValues: { - include: { - customField: true, - }, - }, - pieces: { - include: { - customFieldValues: { - include: { - customField: true, - }, - }, - constructeur: true, - }, - }, - sousComposants: { - include: { - typeComposant: true, - constructeur: true, - customFieldValues: { - include: { - customField: true, - }, - }, - pieces: { - include: { - customFieldValues: { - include: { - customField: true, - }, - }, - constructeur: true, - }, - }, - }, - }, - }, - }, - pieces: { - include: { - customFieldValues: { - include: { - customField: true, - }, - }, - constructeur: true, - }, - }, - }, - }); - return rootComposants; - } - async update(id, updateComposantDto) { - return this.prisma.composant.update({ - where: { id }, - data: updateComposantDto, - include: { - machine: true, - parentComposant: true, - typeComposant: true, - constructeur: true, - customFieldValues: { - include: { - customField: true, - }, - }, - sousComposants: { - include: { - typeComposant: true, - constructeur: true, - customFieldValues: { - include: { - customField: true, - }, - }, - pieces: { - include: { - customFieldValues: { - include: { - customField: true, - }, - }, - constructeur: true, - }, - }, - }, - }, - pieces: { - include: { - customFieldValues: { - include: { - customField: true, - }, - }, - constructeur: true, - }, - }, - documents: true, - }, - }); - } - async remove(id) { - return this.prisma.composant.delete({ - where: { id }, - }); - } -}; -exports.ComposantsService = ComposantsService; -exports.ComposantsService = ComposantsService = __decorate([ - (0, common_1.Injectable)(), - __metadata("design:paramtypes", [prisma_service_1.PrismaService]) -], ComposantsService); -//# sourceMappingURL=composants.service.js.map \ No newline at end of file diff --git a/dist/composants/composants.service.js.map b/dist/composants/composants.service.js.map deleted file mode 100644 index 7d5009d..0000000 --- a/dist/composants/composants.service.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"composants.service.js","sourceRoot":"","sources":["../../src/composants/composants.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,6DAAyD;AAIlD,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IACR;IAApB,YAAoB,MAAqB;QAArB,WAAM,GAAN,MAAM,CAAe;IAAG,CAAC;IAE7C,KAAK,CAAC,MAAM,CAAC,kBAAsC;QACjD,OAAO,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC;YAClC,IAAI,EAAE,kBAAkB;YACxB,OAAO,EAAE;gBACP,OAAO,EAAE,IAAI;gBACb,eAAe,EAAE,IAAI;gBACrB,aAAa,EAAE,IAAI;gBACnB,YAAY,EAAE,IAAI;gBAClB,cAAc,EAAE;oBACd,OAAO,EAAE;wBACP,aAAa,EAAE,IAAI;wBACnB,MAAM,EAAE,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M,CAAC,SAAS,CAAC,MAAM,CAAC;YAClC,KAAK,EAAE,EAAE,EAAE,EAAE;YACb,IAAI,EAAE,kBAAkB;YACxB,OAAO,EAAE;gBACP,OAAO,EAAE,IAAI;gBACb,eAAe,EAAE,IAAI;gBACrB,aAAa,EAAE,IAAI;gBACnB,YAAY,EAAE,IAAI;gBAClB,iBAAiB,EAAE;oBACjB,OAAO,EAAE;wBACP,WAAW,EAAE,IAAI;qBAClB;iBACF;gBACD,cAAc,EAAE;oBACd,OAAO,EAAE;wBACP,aAAa,EAAE,IAAI;wBACnB,YAAY,EAAE,IAAI;wBAClB,iBAAiB,EAAE;4BACjB,OAAO,EAAE;gCACP,WAAW,EAAE,IAAI;6BAClB;yBACF;wBACD,MAAM,EAAE;4BACN,OAAO,EAAE;gCACP,iBAAiB,EAAE;oCACjB,OAAO,EAAE;wCACP,WAAW,EAAE,IAAI;qCAClB;iCACF;gCACD,YAAY,EAAE,IAAI;6BACnB;yBACF;qBACF;iBACF;gBACD,MAAM,EAAE;oBACN,OAAO,EAAE;wBACP,iBAAiB,EAAE;4BACjB,OAAO,EAAE;gCACP,WAAW,EAAE,IAAI;6BAClB;yBACF;wBACD,YAAY,EAAE,IAAI;qBACnB;iBACF;gBACD,SAAS,EAAE,IAAI;aAChB;SACF,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,EAAU;QACrB,OAAO,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC;YAClC,KAAK,EAAE,EAAE,EAAE,EAAE;SACd,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AA3RY,8CAAiB;4BAAjB,iBAAiB;IAD7B,IAAA,mBAAU,GAAE;qCAEiB,8BAAa;GAD9B,iBAAiB,CA2R7B"} \ No newline at end of file diff --git a/dist/constructeurs/constructeurs.controller.d.ts b/dist/constructeurs/constructeurs.controller.d.ts deleted file mode 100644 index 88297c4..0000000 --- a/dist/constructeurs/constructeurs.controller.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { ConstructeursService } from './constructeurs.service'; -import { CreateConstructeurDto, UpdateConstructeurDto } from '../shared/dto/constructeur.dto'; -export declare class ConstructeursController { - private readonly constructeursService; - constructor(constructeursService: ConstructeursService); - create(payload: CreateConstructeurDto): Promise<{ - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - }>; - findAll(search?: string): Promise<{ - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - }[]>; - findOne(id: string): Promise<{ - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null>; - update(id: string, payload: UpdateConstructeurDto): Promise<{ - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - }>; - remove(id: string): Promise<{ - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - }>; -} diff --git a/dist/constructeurs/constructeurs.controller.js b/dist/constructeurs/constructeurs.controller.js deleted file mode 100644 index 6b2562e..0000000 --- a/dist/constructeurs/constructeurs.controller.js +++ /dev/null @@ -1,81 +0,0 @@ -"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.ConstructeursController = void 0; -const common_1 = require("@nestjs/common"); -const constructeurs_service_1 = require("./constructeurs.service"); -const constructeur_dto_1 = require("../shared/dto/constructeur.dto"); -let ConstructeursController = class ConstructeursController { - constructeursService; - constructor(constructeursService) { - this.constructeursService = constructeursService; - } - create(payload) { - return this.constructeursService.create(payload); - } - findAll(search) { - return this.constructeursService.findAll(search); - } - findOne(id) { - return this.constructeursService.findOne(id); - } - update(id, payload) { - return this.constructeursService.update(id, payload); - } - remove(id) { - return this.constructeursService.remove(id); - } -}; -exports.ConstructeursController = ConstructeursController; -__decorate([ - (0, common_1.Post)(), - __param(0, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [constructeur_dto_1.CreateConstructeurDto]), - __metadata("design:returntype", void 0) -], ConstructeursController.prototype, "create", null); -__decorate([ - (0, common_1.Get)(), - __param(0, (0, common_1.Query)('search')), - __metadata("design:type", Function), - __metadata("design:paramtypes", [String]), - __metadata("design:returntype", void 0) -], ConstructeursController.prototype, "findAll", 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) -], ConstructeursController.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, constructeur_dto_1.UpdateConstructeurDto]), - __metadata("design:returntype", void 0) -], ConstructeursController.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) -], ConstructeursController.prototype, "remove", null); -exports.ConstructeursController = ConstructeursController = __decorate([ - (0, common_1.Controller)('constructeurs'), - __metadata("design:paramtypes", [constructeurs_service_1.ConstructeursService]) -], ConstructeursController); -//# sourceMappingURL=constructeurs.controller.js.map \ No newline at end of file diff --git a/dist/constructeurs/constructeurs.controller.js.map b/dist/constructeurs/constructeurs.controller.js.map deleted file mode 100644 index ee52e02..0000000 --- a/dist/constructeurs/constructeurs.controller.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"constructeurs.controller.js","sourceRoot":"","sources":["../../src/constructeurs/constructeurs.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAyF;AACzF,mEAA8D;AAC9D,qEAA6F;AAGtF,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IACL;IAA7B,YAA6B,oBAA0C;QAA1C,yBAAoB,GAApB,oBAAoB,CAAsB;IAAG,CAAC;IAG3E,MAAM,CAAS,OAA8B;QAC3C,OAAO,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;IAClD,CAAC;IAGD,OAAO,CAAkB,MAAe;QACtC,OAAO,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;IAClD,CAAC;IAGD,OAAO,CAAc,EAAU;QAC7B,OAAO,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;IAC9C,CAAC;IAGD,MAAM,CAAc,EAAU,EAAU,OAA8B;QACpE,OAAO,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,CAAC,CAAA;IACtD,CAAC;IAGD,MAAM,CAAc,EAAU;QAC5B,OAAO,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;IAC7C,CAAC;CACF,CAAA;AA3BY,0DAAuB;AAIlC;IADC,IAAA,aAAI,GAAE;IACC,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAU,wCAAqB;;qDAE5C;AAGD;IADC,IAAA,YAAG,GAAE;IACG,WAAA,IAAA,cAAK,EAAC,QAAQ,CAAC,CAAA;;;;sDAEvB;AAGD;IADC,IAAA,YAAG,EAAC,KAAK,CAAC;IACF,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;sDAEnB;AAGD;IADC,IAAA,cAAK,EAAC,KAAK,CAAC;IACL,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;IAAc,WAAA,IAAA,aAAI,GAAE,CAAA;;6CAAU,wCAAqB;;qDAErE;AAGD;IADC,IAAA,eAAM,EAAC,KAAK,CAAC;IACN,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;qDAElB;kCA1BU,uBAAuB;IADnC,IAAA,mBAAU,EAAC,eAAe,CAAC;qCAEyB,4CAAoB;GAD5D,uBAAuB,CA2BnC"} \ No newline at end of file diff --git a/dist/constructeurs/constructeurs.module.d.ts b/dist/constructeurs/constructeurs.module.d.ts deleted file mode 100644 index d28654c..0000000 --- a/dist/constructeurs/constructeurs.module.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare class ConstructeursModule { -} diff --git a/dist/constructeurs/constructeurs.module.js b/dist/constructeurs/constructeurs.module.js deleted file mode 100644 index d968220..0000000 --- a/dist/constructeurs/constructeurs.module.js +++ /dev/null @@ -1,23 +0,0 @@ -"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; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ConstructeursModule = void 0; -const common_1 = require("@nestjs/common"); -const constructeurs_service_1 = require("./constructeurs.service"); -const constructeurs_controller_1 = require("./constructeurs.controller"); -let ConstructeursModule = class ConstructeursModule { -}; -exports.ConstructeursModule = ConstructeursModule; -exports.ConstructeursModule = ConstructeursModule = __decorate([ - (0, common_1.Module)({ - controllers: [constructeurs_controller_1.ConstructeursController], - providers: [constructeurs_service_1.ConstructeursService], - exports: [constructeurs_service_1.ConstructeursService], - }) -], ConstructeursModule); -//# sourceMappingURL=constructeurs.module.js.map \ No newline at end of file diff --git a/dist/constructeurs/constructeurs.module.js.map b/dist/constructeurs/constructeurs.module.js.map deleted file mode 100644 index 8341c32..0000000 --- a/dist/constructeurs/constructeurs.module.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"constructeurs.module.js","sourceRoot":"","sources":["../../src/constructeurs/constructeurs.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAuC;AACvC,mEAA8D;AAC9D,yEAAoE;AAO7D,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAAG,CAAA;AAAtB,kDAAmB;8BAAnB,mBAAmB;IAL/B,IAAA,eAAM,EAAC;QACN,WAAW,EAAE,CAAC,kDAAuB,CAAC;QACtC,SAAS,EAAE,CAAC,4CAAoB,CAAC;QACjC,OAAO,EAAE,CAAC,4CAAoB,CAAC;KAChC,CAAC;GACW,mBAAmB,CAAG"} \ No newline at end of file diff --git a/dist/constructeurs/constructeurs.service.d.ts b/dist/constructeurs/constructeurs.service.d.ts deleted file mode 100644 index 2dfd041..0000000 --- a/dist/constructeurs/constructeurs.service.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { PrismaService } from '../prisma/prisma.service'; -import { CreateConstructeurDto, UpdateConstructeurDto } from '../shared/dto/constructeur.dto'; -export declare class ConstructeursService { - private prisma; - constructor(prisma: PrismaService); - private buildSearchWhere; - create(data: CreateConstructeurDto): Promise<{ - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - }>; - findAll(search?: string): Promise<{ - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - }[]>; - findOne(id: string): Promise<{ - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null>; - update(id: string, data: UpdateConstructeurDto): Promise<{ - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - }>; - remove(id: string): Promise<{ - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - }>; -} diff --git a/dist/constructeurs/constructeurs.service.js b/dist/constructeurs/constructeurs.service.js deleted file mode 100644 index 18ca383..0000000 --- a/dist/constructeurs/constructeurs.service.js +++ /dev/null @@ -1,77 +0,0 @@ -"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); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ConstructeursService = void 0; -const common_1 = require("@nestjs/common"); -const prisma_service_1 = require("../prisma/prisma.service"); -let ConstructeursService = class ConstructeursService { - prisma; - constructor(prisma) { - this.prisma = prisma; - } - buildSearchWhere(search) { - if (!search) - return {}; - const term = search.trim(); - if (!term) - return {}; - return { - OR: [ - { name: { contains: term, mode: 'insensitive' } }, - { email: { contains: term, mode: 'insensitive' } }, - { phone: { contains: term, mode: 'insensitive' } }, - ], - }; - } - async create(data) { - return this.prisma.constructeur.create({ - data: { - ...data, - name: data.name.trim(), - email: data.email?.trim(), - phone: data.phone?.trim(), - }, - }); - } - async findAll(search) { - return this.prisma.constructeur.findMany({ - where: this.buildSearchWhere(search), - orderBy: { name: 'asc' }, - }); - } - async findOne(id) { - return this.prisma.constructeur.findUnique({ - where: { id }, - }); - } - async update(id, data) { - return this.prisma.constructeur.update({ - where: { id }, - data: { - ...data, - name: data.name?.trim(), - email: data.email?.trim(), - phone: data.phone?.trim(), - }, - }); - } - async remove(id) { - return this.prisma.constructeur.delete({ - where: { id }, - }); - } -}; -exports.ConstructeursService = ConstructeursService; -exports.ConstructeursService = ConstructeursService = __decorate([ - (0, common_1.Injectable)(), - __metadata("design:paramtypes", [prisma_service_1.PrismaService]) -], ConstructeursService); -//# sourceMappingURL=constructeurs.service.js.map \ No newline at end of file diff --git a/dist/constructeurs/constructeurs.service.js.map b/dist/constructeurs/constructeurs.service.js.map deleted file mode 100644 index 67617c1..0000000 --- a/dist/constructeurs/constructeurs.service.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"constructeurs.service.js","sourceRoot":"","sources":["../../src/constructeurs/constructeurs.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA2C;AAC3C,6DAAwD;AAKjD,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IACX;IAApB,YAAoB,MAAqB;QAArB,WAAM,GAAN,MAAM,CAAe;IAAG,CAAC;IAErC,gBAAgB,CAAC,MAAe;QACtC,IAAI,CAAC,MAAM;YAAE,OAAO,EAAE,CAAA;QACtB,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,EAAE,CAAA;QAC1B,IAAI,CAAC,IAAI;YAAE,OAAO,EAAE,CAAA;QACpB,OAAO;YACL,EAAE,EAAE;gBACF,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,EAAE;gBACjD,EAAE,KAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,EAAE;gBAClD,EAAE,KAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,EAAE;aACnD;SACF,CAAA;IACH,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,IAA2B;QACtC,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC;YACrC,IAAI,EAAE;gBACJ,GAA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,oBAAoB,CAyDhC"} \ No newline at end of file diff --git a/dist/custom-fields/custom-fields.controller.d.ts b/dist/custom-fields/custom-fields.controller.d.ts deleted file mode 100644 index 65359cf..0000000 --- a/dist/custom-fields/custom-fields.controller.d.ts +++ /dev/null @@ -1,141 +0,0 @@ -import { CustomFieldsService } from './custom-fields.service'; -import { CreateCustomFieldValueDto, UpdateCustomFieldValueDto } from '../shared/dto/custom-field.dto'; -export declare class CustomFieldsController { - private readonly customFieldsService; - constructor(customFieldsService: CustomFieldsService); - createCustomFieldValue(createCustomFieldValueDto: CreateCustomFieldValueDto): Promise<{ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - }>; - findCustomFieldValuesByEntity(entityType: string, entityId: string): Promise<({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]>; - findOneCustomFieldValue(id: string): Promise<({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - }) | null>; - updateCustomFieldValue(id: string, updateCustomFieldValueDto: UpdateCustomFieldValueDto): Promise<{ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - }>; - removeCustomFieldValue(id: string): Promise<{ - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - }>; - upsertCustomFieldValue(body: { - customFieldId: string; - entityType: string; - entityId: string; - value: string; - }): Promise<{ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - }>; -} diff --git a/dist/custom-fields/custom-fields.controller.js b/dist/custom-fields/custom-fields.controller.js deleted file mode 100644 index f9dc994..0000000 --- a/dist/custom-fields/custom-fields.controller.js +++ /dev/null @@ -1,92 +0,0 @@ -"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.CustomFieldsController = void 0; -const common_1 = require("@nestjs/common"); -const custom_fields_service_1 = require("./custom-fields.service"); -const custom_field_dto_1 = require("../shared/dto/custom-field.dto"); -let CustomFieldsController = class CustomFieldsController { - customFieldsService; - constructor(customFieldsService) { - this.customFieldsService = customFieldsService; - } - createCustomFieldValue(createCustomFieldValueDto) { - return this.customFieldsService.createCustomFieldValue(createCustomFieldValueDto); - } - findCustomFieldValuesByEntity(entityType, entityId) { - return this.customFieldsService.findCustomFieldValuesByEntity(entityType, entityId); - } - findOneCustomFieldValue(id) { - return this.customFieldsService.findOneCustomFieldValue(id); - } - updateCustomFieldValue(id, updateCustomFieldValueDto) { - return this.customFieldsService.updateCustomFieldValue(id, updateCustomFieldValueDto); - } - removeCustomFieldValue(id) { - return this.customFieldsService.removeCustomFieldValue(id); - } - upsertCustomFieldValue(body) { - return this.customFieldsService.upsertCustomFieldValue(body.customFieldId, body.entityType, body.entityId, body.value); - } -}; -exports.CustomFieldsController = CustomFieldsController; -__decorate([ - (0, common_1.Post)('values'), - __param(0, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [custom_field_dto_1.CreateCustomFieldValueDto]), - __metadata("design:returntype", void 0) -], CustomFieldsController.prototype, "createCustomFieldValue", null); -__decorate([ - (0, common_1.Get)('values/:entityType/:entityId'), - __param(0, (0, common_1.Param)('entityType')), - __param(1, (0, common_1.Param)('entityId')), - __metadata("design:type", Function), - __metadata("design:paramtypes", [String, String]), - __metadata("design:returntype", void 0) -], CustomFieldsController.prototype, "findCustomFieldValuesByEntity", null); -__decorate([ - (0, common_1.Get)('values/:id'), - __param(0, (0, common_1.Param)('id')), - __metadata("design:type", Function), - __metadata("design:paramtypes", [String]), - __metadata("design:returntype", void 0) -], CustomFieldsController.prototype, "findOneCustomFieldValue", null); -__decorate([ - (0, common_1.Patch)('values/:id'), - __param(0, (0, common_1.Param)('id')), - __param(1, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [String, custom_field_dto_1.UpdateCustomFieldValueDto]), - __metadata("design:returntype", void 0) -], CustomFieldsController.prototype, "updateCustomFieldValue", null); -__decorate([ - (0, common_1.Delete)('values/:id'), - __param(0, (0, common_1.Param)('id')), - __metadata("design:type", Function), - __metadata("design:paramtypes", [String]), - __metadata("design:returntype", void 0) -], CustomFieldsController.prototype, "removeCustomFieldValue", null); -__decorate([ - (0, common_1.Post)('values/upsert'), - __param(0, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", void 0) -], CustomFieldsController.prototype, "upsertCustomFieldValue", null); -exports.CustomFieldsController = CustomFieldsController = __decorate([ - (0, common_1.Controller)('custom-fields'), - __metadata("design:paramtypes", [custom_fields_service_1.CustomFieldsService]) -], CustomFieldsController); -//# sourceMappingURL=custom-fields.controller.js.map \ No newline at end of file diff --git a/dist/custom-fields/custom-fields.controller.js.map b/dist/custom-fields/custom-fields.controller.js.map deleted file mode 100644 index bedc77c..0000000 --- a/dist/custom-fields/custom-fields.controller.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"custom-fields.controller.js","sourceRoot":"","sources":["../../src/custom-fields/custom-fields.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAmF;AACnF,mEAA8D;AAC9D,qEAAsG;AAG/F,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IACJ;IAA7B,YAA6B,mBAAwC;QAAxC,wBAAmB,GAAnB,mBAAmB,CAAqB;IAAG,CAAC;IAGzE,sBAAsB,CAAS,yBAAoD;QACjF,OAAO,IAAI,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,yBAAyB,CAAC,CAAC;IACpF,CAAC;IAGD,6BAA6B,CACN,UAAkB,EACpB,QAAgB;QAEnC,OAAO,IAAI,CAAC,mBAAmB,CAAC,6BAA6B,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;IACtF,CAAC;IAGD,uBAAuB,CAAc,EAAU;QAC7C,OAAO,IAAI,CAAC,mBAAmB,CAAC,uBAAuB,CAAC,EAAE,CAAC,CAAC;IAC9D,CAAC;IAGD,sBAAsB,CACP,E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gDlC"} \ No newline at end of file diff --git a/dist/custom-fields/custom-fields.module.d.ts b/dist/custom-fields/custom-fields.module.d.ts deleted file mode 100644 index bcafa7d..0000000 --- a/dist/custom-fields/custom-fields.module.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare class CustomFieldsModule { -} diff --git a/dist/custom-fields/custom-fields.module.js b/dist/custom-fields/custom-fields.module.js deleted file mode 100644 index f4165bc..0000000 --- a/dist/custom-fields/custom-fields.module.js +++ /dev/null @@ -1,25 +0,0 @@ -"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; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.CustomFieldsModule = void 0; -const common_1 = require("@nestjs/common"); -const custom_fields_service_1 = require("./custom-fields.service"); -const custom_fields_controller_1 = require("./custom-fields.controller"); -const prisma_module_1 = require("../prisma/prisma.module"); -let CustomFieldsModule = class CustomFieldsModule { -}; -exports.CustomFieldsModule = CustomFieldsModule; -exports.CustomFieldsModule = CustomFieldsModule = __decorate([ - (0, common_1.Module)({ - imports: [prisma_module_1.PrismaModule], - controllers: [custom_fields_controller_1.CustomFieldsController], - providers: [custom_fields_service_1.CustomFieldsService], - exports: [custom_fields_service_1.CustomFieldsService], - }) -], CustomFieldsModule); -//# sourceMappingURL=custom-fields.module.js.map \ No newline at end of file diff --git a/dist/custom-fields/custom-fields.module.js.map b/dist/custom-fields/custom-fields.module.js.map deleted file mode 100644 index b8d2f67..0000000 --- a/dist/custom-fields/custom-fields.module.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"custom-fields.module.js","sourceRoot":"","sources":["../../src/custom-fields/custom-fields.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,mEAA8D;AAC9D,yEAAoE;AACpE,2DAAuD;AAQhD,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CAAG,CAAA;AAArB,gDAAkB;6BAAlB,kBAAkB;IAN9B,IAAA,eAAM,EAAC;QACN,OAAO,EAAE,CAAC,4BAAY,CAAC;QACvB,WAAW,EAAE,CAAC,iDAAsB,CAAC;QACrC,SAAS,EAAE,CAAC,2CAAmB,CAAC;QAChC,OAAO,EAAE,CAAC,2CAAmB,CAAC;KAC/B,CAAC;GACW,kBAAkB,CAAG"} \ No newline at end of file diff --git a/dist/custom-fields/custom-fields.service.d.ts b/dist/custom-fields/custom-fields.service.d.ts deleted file mode 100644 index 6d8f468..0000000 --- a/dist/custom-fields/custom-fields.service.d.ts +++ /dev/null @@ -1,136 +0,0 @@ -import { PrismaService } from '../prisma/prisma.service'; -import { CreateCustomFieldValueDto, UpdateCustomFieldValueDto } from '../shared/dto/custom-field.dto'; -export declare class CustomFieldsService { - private prisma; - constructor(prisma: PrismaService); - createCustomFieldValue(createCustomFieldValueDto: CreateCustomFieldValueDto): Promise<{ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - }>; - findCustomFieldValuesByEntity(entityType: string, entityId: string): Promise<({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]>; - findOneCustomFieldValue(id: string): Promise<({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - }) | null>; - updateCustomFieldValue(id: string, updateCustomFieldValueDto: UpdateCustomFieldValueDto): Promise<{ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - }>; - removeCustomFieldValue(id: string): Promise<{ - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - }>; - upsertCustomFieldValue(customFieldId: string, entityType: string, entityId: string, value: string): Promise<{ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - }>; -} diff --git a/dist/custom-fields/custom-fields.service.js b/dist/custom-fields/custom-fields.service.js deleted file mode 100644 index 2842770..0000000 --- a/dist/custom-fields/custom-fields.service.js +++ /dev/null @@ -1,96 +0,0 @@ -"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); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.CustomFieldsService = void 0; -const common_1 = require("@nestjs/common"); -const prisma_service_1 = require("../prisma/prisma.service"); -let CustomFieldsService = class CustomFieldsService { - prisma; - constructor(prisma) { - this.prisma = prisma; - } - async createCustomFieldValue(createCustomFieldValueDto) { - return this.prisma.customFieldValue.create({ - data: createCustomFieldValueDto, - include: { - customField: true, - }, - }); - } - async findCustomFieldValuesByEntity(entityType, entityId) { - const whereClause = { - [entityType + 'Id']: entityId, - }; - return this.prisma.customFieldValue.findMany({ - where: whereClause, - include: { - customField: true, - }, - }); - } - async findOneCustomFieldValue(id) { - return this.prisma.customFieldValue.findUnique({ - where: { id }, - include: { - customField: true, - }, - }); - } - async updateCustomFieldValue(id, updateCustomFieldValueDto) { - return this.prisma.customFieldValue.update({ - where: { id }, - data: updateCustomFieldValueDto, - include: { - customField: true, - }, - }); - } - async removeCustomFieldValue(id) { - return this.prisma.customFieldValue.delete({ - where: { id }, - }); - } - async upsertCustomFieldValue(customFieldId, entityType, entityId, value) { - const existingValue = await this.prisma.customFieldValue.findFirst({ - where: { - customFieldId, - [entityType + 'Id']: entityId, - }, - }); - if (existingValue) { - return this.prisma.customFieldValue.update({ - where: { id: existingValue.id }, - data: { value }, - include: { - customField: true, - }, - }); - } - else { - return this.prisma.customFieldValue.create({ - data: { - customFieldId, - value, - [entityType + 'Id']: entityId, - }, - include: { - customField: true, - }, - }); - } - } -}; -exports.CustomFieldsService = CustomFieldsService; -exports.CustomFieldsService = CustomFieldsService = __decorate([ - (0, common_1.Injectable)(), - __metadata("design:paramtypes", [prisma_service_1.PrismaService]) -], CustomFieldsService); -//# sourceMappingURL=custom-fields.service.js.map \ No newline at end of file diff --git a/dist/custom-fields/custom-fields.service.js.map b/dist/custom-fields/custom-fields.service.js.map deleted file mode 100644 index 5706f9a..0000000 --- a/dist/custom-fields/custom-fields.service.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"custom-fields.service.js","sourceRoot":"","sources":["../../src/custom-fields/custom-fields.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,6DAAyD;AAIlD,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IACV;IAApB,YAAoB,MAAqB;QAArB,WAAM,GAAN,MAAM,CAAe;IAAG,CAAC;IAG7C,KAAK,CAAC,sBAAsB,CAAC,yBAAoD;QAC/E,OAAO,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,MAAM,CAAC;YACzC,IAAI,EAAE,yBAAyB;YAC/B,OAAO,EAAE;gBACP,WAAW,EAAE,IAAI;aAClB;SACF,CAAC,CAAC;IACL,CAAC;IAGD,KAAK,CAAC,6BAA6B,CAAC,UAAkB,EAAE,QAAgB;QACtE,MAAM,WAAW,GAAG;YAClB,CAAC,UAAU,GAAG,IAAI,CAAC,EAAE,QAAQ;SAC9B,CAAC;QAEF,OAAO,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,QAAQ,CAAC;YAC3C,KAAK,EAAE,WAAW;YAClB,OAAO,EAAE;gBACP,WAAW,EAAE,IAAI;aAClB;SACF,CAAC,CAAC;IACL,CAAC;IAGD,KAAK,CAAC,uBAAuB,CAAC,EAAU;QACtC,OAAO,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,UAAU,CAAC;YAC7C,KAAK,EAAE,EAAE,EAAE,EAAE;YACb,OAAO,EAAE;gBACP,WAAW,EAAE,IAAI;aAClB;SACF,CAAC,CAAC;IACL,CAAC;IAGD,KAAK,CAAC,sBAAsB,CAAC,EAAU,EAAE,yBAAoD;QAC3F,OAAO,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,MAAM,CAAC;YACzC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ents.controller.d.ts b/dist/documents/documents.controller.d.ts deleted file mode 100644 index e42728e..0000000 --- a/dist/documents/documents.controller.d.ts +++ /dev/null @@ -1,532 +0,0 @@ -import { DocumentsService } from './documents.service'; -import { CreateDocumentDto, UpdateDocumentDto } from '../shared/dto/document.dto'; -export declare class DocumentsController { - private readonly documentsService; - constructor(documentsService: DocumentsService); - create(createDocumentDto: CreateDocumentDto): Promise<{ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - piece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }>; - findAll(): Promise<({ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - piece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - })[]>; - findByMachine(machineId: string): Promise<({ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - piece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - })[]>; - findByComposant(composantId: string): Promise<({ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - piece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - })[]>; - findByPiece(pieceId: string): Promise<({ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - piece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - })[]>; - findBySite(siteId: string): Promise<({ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - piece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - })[]>; - findOne(id: string): Promise<({ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - piece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }) | null>; - update(id: string, updateDocumentDto: UpdateDocumentDto): Promise<{ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - piece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }>; - remove(id: string): Promise<{ - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }>; -} diff --git a/dist/documents/documents.controller.js b/dist/documents/documents.controller.js deleted file mode 100644 index 77a1922..0000000 --- a/dist/documents/documents.controller.js +++ /dev/null @@ -1,120 +0,0 @@ -"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); - } - findBySite(siteId) { - return this.documentsService.findBySite(siteId); - } - 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)('site/:siteId'), - __param(0, (0, common_1.Param)('siteId')), - __metadata("design:type", Function), - __metadata("design:paramtypes", [String]), - __metadata("design:returntype", void 0) -], DocumentsController.prototype, "findBySite", 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 \ No newline at end of file diff --git a/dist/documents/documents.controller.js.map b/dist/documents/documents.controller.js.map deleted file mode 100644 index 8a61aaf..0000000 --- a/dist/documents/documents.controller.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"documents.controller.js","sourceRoot":"","sources":["../../src/documents/documents.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAmF;AACnF,2DAAuD;AACvD,6DAAkF;AAG3E,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IACD;IAA7B,YAA6B,gBAAkC;QAA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,cAAK,EAAC,WAAW,CAAC,CAAA;;;;wDAEhC;AAGD;IADC,IAAA,YAAG,EAAC,wBAAwB,CAAC;IACb,WAAA,IAAA,cAAK,EAAC,aAAa,CAAC,CAAA;;;;0DAEpC;AAGD;IADC,IAAA,YAAG,EAAC,gBAAgB,CAAC;IACT,WAAA,IAAA,cAAK,EAAC,SAAS,CAAC,CAAA;;;;sDAE5B;AAGD;IADC,IAAA,YAAG,EAAC,cAAc,CAAC;IACR,WAAA,IAAA,cAAK,EAAC,QAAQ,CAAC,CAAA;;;;qDAE1B;AAGD;IADC,IAAA,YAAG,EAAC,KAAK,CAAC;IACF,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;kDAEnB;AAGD;IADC,IAAA,cAAK,EAAC,KAAK,CAAC;IACL,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;IAAc,WAAA,IAAA,aAAI,GAAE,CAAA;;6CAAoB,gCAAiB;;iDAE3E;AAGD;IADC,IAAA,eAAM,EAAC,KAAK,CAAC;IACN,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;iDAElB;8BA9CU,mBAAmB;IAD/B,IAAA,mBAAU,EAAC,WAAW,CAAC;qCAEyB,oCAAgB;GADpD,mBAAmB,CA+C/B"} \ No newline at end of file diff --git a/dist/documents/documents.module.d.ts b/dist/documents/documents.module.d.ts deleted file mode 100644 index 6323fc7..0000000 --- a/dist/documents/documents.module.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare class DocumentsModule { -} diff --git a/dist/documents/documents.module.js b/dist/documents/documents.module.js deleted file mode 100644 index 35b0f17..0000000 --- a/dist/documents/documents.module.js +++ /dev/null @@ -1,22 +0,0 @@ -"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; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.DocumentsModule = void 0; -const common_1 = require("@nestjs/common"); -const documents_controller_1 = require("./documents.controller"); -const documents_service_1 = require("./documents.service"); -let DocumentsModule = class DocumentsModule { -}; -exports.DocumentsModule = DocumentsModule; -exports.DocumentsModule = DocumentsModule = __decorate([ - (0, common_1.Module)({ - controllers: [documents_controller_1.DocumentsController], - providers: [documents_service_1.DocumentsService] - }) -], DocumentsModule); -//# sourceMappingURL=documents.module.js.map \ No newline at end of file diff --git a/dist/documents/documents.module.js.map b/dist/documents/documents.module.js.map deleted file mode 100644 index fc28e34..0000000 --- a/dist/documents/documents.module.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"documents.module.js","sourceRoot":"","sources":["../../src/documents/documents.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,iEAA6D;AAC7D,2DAAuD;AAMhD,IAAM,eAAe,GAArB,MAAM,eAAe;CAAG,CAAA;AAAlB,0CAAe;0BAAf,eAAe;IAJ3B,IAAA,eAAM,EAAC;QACN,WAAW,EAAE,CAAC,0CAAmB,CAAC;QAClC,SAAS,EAAE,CAAC,oCAAgB,CAAC;KAC9B,CAAC;GACW,eAAe,CAAG"} \ No newline at end of file diff --git a/dist/documents/documents.service.d.ts b/dist/documents/documents.service.d.ts deleted file mode 100644 index c78d6e3..0000000 --- a/dist/documents/documents.service.d.ts +++ /dev/null @@ -1,532 +0,0 @@ -import { PrismaService } from '../prisma/prisma.service'; -import { CreateDocumentDto, UpdateDocumentDto } from '../shared/dto/document.dto'; -export declare class DocumentsService { - private prisma; - constructor(prisma: PrismaService); - create(createDocumentDto: CreateDocumentDto): Promise<{ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - piece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }>; - findAll(): Promise<({ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - piece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - })[]>; - findOne(id: string): Promise<({ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - piece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }) | null>; - findByMachine(machineId: string): Promise<({ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - piece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - })[]>; - findByComposant(composantId: string): Promise<({ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - piece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - })[]>; - findByPiece(pieceId: string): Promise<({ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - piece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - })[]>; - findBySite(siteId: string): Promise<({ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - piece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - })[]>; - update(id: string, updateDocumentDto: UpdateDocumentDto): Promise<{ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - piece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - } | null; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }>; - remove(id: string): Promise<{ - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }>; -} diff --git a/dist/documents/documents.service.js b/dist/documents/documents.service.js deleted file mode 100644 index 76971a2..0000000 --- a/dist/documents/documents.service.js +++ /dev/null @@ -1,119 +0,0 @@ -"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); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.DocumentsService = void 0; -const common_1 = require("@nestjs/common"); -const prisma_service_1 = require("../prisma/prisma.service"); -let DocumentsService = class DocumentsService { - prisma; - constructor(prisma) { - this.prisma = prisma; - } - async create(createDocumentDto) { - return this.prisma.document.create({ - data: createDocumentDto, - include: { - machine: true, - composant: true, - piece: true, - site: true, - }, - }); - } - async findAll() { - return this.prisma.document.findMany({ - include: { - machine: true, - composant: true, - piece: true, - site: true, - }, - }); - } - async findOne(id) { - return this.prisma.document.findUnique({ - where: { id }, - include: { - machine: true, - composant: true, - piece: true, - site: true, - }, - }); - } - async findByMachine(machineId) { - return this.prisma.document.findMany({ - where: { machineId }, - include: { - machine: true, - composant: true, - piece: true, - site: true, - }, - }); - } - async findByComposant(composantId) { - return this.prisma.document.findMany({ - where: { composantId }, - include: { - machine: true, - composant: true, - piece: true, - site: true, - }, - }); - } - async findByPiece(pieceId) { - return this.prisma.document.findMany({ - where: { pieceId }, - include: { - machine: true, - composant: true, - piece: true, - site: true, - }, - }); - } - async findBySite(siteId) { - return this.prisma.document.findMany({ - where: { siteId }, - include: { - machine: true, - composant: true, - piece: true, - site: true, - }, - }); - } - async update(id, updateDocumentDto) { - return this.prisma.document.update({ - where: { id }, - data: updateDocumentDto, - include: { - machine: true, - composant: true, - piece: true, - site: true, - }, - }); - } - async remove(id) { - return this.prisma.document.delete({ - where: { id }, - }); - } -}; -exports.DocumentsService = DocumentsService; -exports.DocumentsService = DocumentsService = __decorate([ - (0, common_1.Injectable)(), - __metadata("design:paramtypes", [prisma_service_1.PrismaService]) -], DocumentsService); -//# sourceMappingURL=documents.service.js.map \ No newline at end of file diff --git a/dist/documents/documents.service.js.map b/dist/documents/documents.service.js.map deleted file mode 100644 index d56b747..0000000 --- a/dist/documents/documents.service.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"documents.service.js","sourceRoot":"","sources":["../../src/documents/documents.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,6DAAyD;AAIlD,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IACP;IAApB,YAAoB,MAAqB;QAArB,WAAM,GAAN,MAAM,CAAe;IAAG,CAAC;IAE7C,KAAK,CAAC,MAAM,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B,CAwG5B"} \ No newline at end of file diff --git a/dist/machines/machines.controller.d.ts b/dist/machines/machines.controller.d.ts deleted file mode 100644 index 11f44cf..0000000 --- a/dist/machines/machines.controller.d.ts +++ /dev/null @@ -1,1245 +0,0 @@ -import { MachinesService } from './machines.service'; -import { CreateMachineDto, UpdateMachineDto } from '../shared/dto/machine.dto'; -export declare class MachinesController { - private readonly machinesService; - constructor(machinesService: MachinesService); - create(createMachineDto: CreateMachineDto): Promise<({ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - }; - typeMachine: ({ - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - category: string | null; - maintenanceFrequency: string | null; - components: import("@prisma/client/runtime/library").JsonValue | null; - criticalParts: import("@prisma/client/runtime/library").JsonValue | null; - machinePieces: import("@prisma/client/runtime/library").JsonValue | null; - specifications: import("@prisma/client/runtime/library").JsonValue | null; - }) | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - composants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - sousComposants: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - }) | null>; - findAll(): Promise<({ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - }; - typeMachine: ({ - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - category: string | null; - maintenanceFrequency: string | null; - components: import("@prisma/client/runtime/library").JsonValue | null; - criticalParts: import("@prisma/client/runtime/library").JsonValue | null; - machinePieces: import("@prisma/client/runtime/library").JsonValue | null; - specifications: import("@prisma/client/runtime/library").JsonValue | null; - }) | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - composants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - sousComposants: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - })[]>; - findOne(id: string): Promise<({ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - }; - typeMachine: ({ - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - category: string | null; - maintenanceFrequency: string | null; - components: import("@prisma/client/runtime/library").JsonValue | null; - criticalParts: import("@prisma/client/runtime/library").JsonValue | null; - machinePieces: import("@prisma/client/runtime/library").JsonValue | null; - specifications: import("@prisma/client/runtime/library").JsonValue | null; - }) | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - composants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - sousComposants: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - }) | null>; - update(id: string, updateMachineDto: UpdateMachineDto): Promise<{ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - }; - typeMachine: ({ - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - category: string | null; - maintenanceFrequency: string | null; - components: import("@prisma/client/runtime/library").JsonValue | null; - criticalParts: import("@prisma/client/runtime/library").JsonValue | null; - machinePieces: import("@prisma/client/runtime/library").JsonValue | null; - specifications: import("@prisma/client/runtime/library").JsonValue | null; - }) | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - composants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - sousComposants: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - }>; - remove(id: string): Promise<{ - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - }>; - addMissingCustomFields(id: string): Promise<({ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - }; - typeMachine: ({ - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - category: string | null; - maintenanceFrequency: string | null; - components: import("@prisma/client/runtime/library").JsonValue | null; - criticalParts: import("@prisma/client/runtime/library").JsonValue | null; - machinePieces: import("@prisma/client/runtime/library").JsonValue | null; - specifications: import("@prisma/client/runtime/library").JsonValue | null; - }) | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - composants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - sousComposants: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - }) | null>; -} diff --git a/dist/machines/machines.controller.js b/dist/machines/machines.controller.js deleted file mode 100644 index d17aa55..0000000 --- a/dist/machines/machines.controller.js +++ /dev/null @@ -1,90 +0,0 @@ -"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.MachinesController = void 0; -const common_1 = require("@nestjs/common"); -const machines_service_1 = require("./machines.service"); -const machine_dto_1 = require("../shared/dto/machine.dto"); -let MachinesController = class MachinesController { - machinesService; - constructor(machinesService) { - this.machinesService = machinesService; - } - create(createMachineDto) { - return this.machinesService.create(createMachineDto); - } - findAll() { - return this.machinesService.findAll(); - } - findOne(id) { - return this.machinesService.findOne(id); - } - update(id, updateMachineDto) { - return this.machinesService.update(id, updateMachineDto); - } - remove(id) { - return this.machinesService.remove(id); - } - addMissingCustomFields(id) { - return this.machinesService.addMissingCustomFields(id); - } -}; -exports.MachinesController = MachinesController; -__decorate([ - (0, common_1.Post)(), - __param(0, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [machine_dto_1.CreateMachineDto]), - __metadata("design:returntype", void 0) -], MachinesController.prototype, "create", null); -__decorate([ - (0, common_1.Get)(), - __metadata("design:type", Function), - __metadata("design:paramtypes", []), - __metadata("design:returntype", void 0) -], MachinesController.prototype, "findAll", 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) -], MachinesController.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, machine_dto_1.UpdateMachineDto]), - __metadata("design:returntype", void 0) -], MachinesController.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) -], MachinesController.prototype, "remove", null); -__decorate([ - (0, common_1.Post)(':id/add-custom-fields'), - __param(0, (0, common_1.Param)('id')), - __metadata("design:type", Function), - __metadata("design:paramtypes", [String]), - __metadata("design:returntype", void 0) -], MachinesController.prototype, "addMissingCustomFields", null); -exports.MachinesController = MachinesController = __decorate([ - (0, common_1.Controller)('machines'), - __metadata("design:paramtypes", [machines_service_1.MachinesService]) -], MachinesController); -//# sourceMappingURL=machines.controller.js.map \ No newline at end of file diff --git a/dist/machines/machines.controller.js.map b/dist/machines/machines.controller.js.map deleted file mode 100644 index 7351142..0000000 --- a/dist/machines/machines.controller.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"machines.controller.js","sourceRoot":"","sources":["../../src/machines/machines.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAmF;AACnF,yDAAqD;AACrD,2DAA+E;AAGxE,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IACA;IAA7B,YAA6B,eAAgC;QAAhC,oBAAe,GAAf,eAAe,CAAiB;IAAG,CAAC;IAGjE,MAAM,CAAS,gBAAkC;QAC/C,OAAO,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;IACvD,CAAC;IAGD,OAAO;QACL,OAAO,IAAI,CAAC,eAAe,CAAC,OAAO,EAAE,CAAC;IACxC,CAAC;IAGD,OAAO,CAAc,EAAU;QAC7B,OAAO,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAC1C,CAAC;IAGD,MAAM,CAAc,EAAU,EAAU,gBAAkC;QACxE,OAAO,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE,EAAE,gBAAgB,CAAC,CAAC;IAC3D,CAAC;IAGD,MAAM,CAAc,EAAU;QAC5B,OAAO,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACzC,CAAC;IAGD,sBAAsB,CAAc,EAAU;QAC5C,OAAO,IAAI,CAAC,eAAe,CAAC,sBAAsB,CAAC,EAAE,CAAC,CAAC;IACzD,CAAC;CACF,CAAA;AAhCY,gDAAkB;AAI7B;IADC,IAAA,aAAI,GAAE;IACC,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAmB,8BAAgB;;gDAEhD;AAGD;IADC,IAAA,YAAG,GAAE;;;;iDAGL;AAGD;IADC,IAAA,YAAG,EAAC,KAAK,CAAC;IACF,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;iDAEnB;AAGD;IADC,IAAA,cAAK,EAAC,KAAK,CAAC;IACL,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;IAAc,WAAA,IAAA,aAAI,GAAE,CAAA;;6CAAmB,8BAAgB;;gDAEzE;AAGD;IADC,IAAA,eAAM,EAAC,KAAK,CAAC;IACN,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;gDAElB;AAGD;IADC,IAAA,aAAI,EAAC,uBAAuB,CAAC;IACN,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;gEAElC;6BA/BU,kBAAkB;IAD9B,IAAA,mBAAU,EAAC,UAAU,CAAC;qCAEyB,kCAAe;GADlD,kBAAkB,CAgC9B"} \ No newline at end of file diff --git a/dist/machines/machines.module.d.ts b/dist/machines/machines.module.d.ts deleted file mode 100644 index cfcd6bd..0000000 --- a/dist/machines/machines.module.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare class MachinesModule { -} diff --git a/dist/machines/machines.module.js b/dist/machines/machines.module.js deleted file mode 100644 index b60b103..0000000 --- a/dist/machines/machines.module.js +++ /dev/null @@ -1,22 +0,0 @@ -"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; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.MachinesModule = void 0; -const common_1 = require("@nestjs/common"); -const machines_controller_1 = require("./machines.controller"); -const machines_service_1 = require("./machines.service"); -let MachinesModule = class MachinesModule { -}; -exports.MachinesModule = MachinesModule; -exports.MachinesModule = MachinesModule = __decorate([ - (0, common_1.Module)({ - controllers: [machines_controller_1.MachinesController], - providers: [machines_service_1.MachinesService] - }) -], MachinesModule); -//# sourceMappingURL=machines.module.js.map \ No newline at end of file diff --git a/dist/machines/machines.module.js.map b/dist/machines/machines.module.js.map deleted file mode 100644 index 579d3ec..0000000 --- a/dist/machines/machines.module.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"machines.module.js","sourceRoot":"","sources":["../../src/machines/machines.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,+DAA2D;AAC3D,yDAAqD;AAM9C,IAAM,cAAc,GAApB,MAAM,cAAc;CAAG,CAAA;AAAjB,wCAAc;yBAAd,cAAc;IAJ1B,IAAA,eAAM,EAAC;QACN,WAAW,EAAE,CAAC,wCAAkB,CAAC;QACjC,SAAS,EAAE,CAAC,kCAAe,CAAC;KAC7B,CAAC;GACW,cAAc,CAAG"} \ No newline at end of file diff --git a/dist/machines/machines.service.d.ts b/dist/machines/machines.service.d.ts deleted file mode 100644 index bcd7ddf..0000000 --- a/dist/machines/machines.service.d.ts +++ /dev/null @@ -1,1249 +0,0 @@ -import { PrismaService } from '../prisma/prisma.service'; -import { CreateMachineDto, UpdateMachineDto } from '../shared/dto/machine.dto'; -export declare class MachinesService { - private prisma; - constructor(prisma: PrismaService); - create(createMachineDto: CreateMachineDto): Promise<({ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - }; - typeMachine: ({ - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - category: string | null; - maintenanceFrequency: string | null; - components: import("@prisma/client/runtime/library").JsonValue | null; - criticalParts: import("@prisma/client/runtime/library").JsonValue | null; - machinePieces: import("@prisma/client/runtime/library").JsonValue | null; - specifications: import("@prisma/client/runtime/library").JsonValue | null; - }) | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - composants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - sousComposants: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - }) | null>; - private createComponentsFromType; - private createMachinePiecesFromType; - private createMachineCustomFieldsFromType; - findAll(): Promise<({ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - }; - typeMachine: ({ - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - category: string | null; - maintenanceFrequency: string | null; - components: import("@prisma/client/runtime/library").JsonValue | null; - criticalParts: import("@prisma/client/runtime/library").JsonValue | null; - machinePieces: import("@prisma/client/runtime/library").JsonValue | null; - specifications: import("@prisma/client/runtime/library").JsonValue | null; - }) | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - composants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - sousComposants: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - })[]>; - findOne(id: string): Promise<({ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - }; - typeMachine: ({ - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - category: string | null; - maintenanceFrequency: string | null; - components: import("@prisma/client/runtime/library").JsonValue | null; - criticalParts: import("@prisma/client/runtime/library").JsonValue | null; - machinePieces: import("@prisma/client/runtime/library").JsonValue | null; - specifications: import("@prisma/client/runtime/library").JsonValue | null; - }) | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - composants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - sousComposants: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - }) | null>; - update(id: string, updateMachineDto: UpdateMachineDto): Promise<{ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - }; - typeMachine: ({ - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - category: string | null; - maintenanceFrequency: string | null; - components: import("@prisma/client/runtime/library").JsonValue | null; - criticalParts: import("@prisma/client/runtime/library").JsonValue | null; - machinePieces: import("@prisma/client/runtime/library").JsonValue | null; - specifications: import("@prisma/client/runtime/library").JsonValue | null; - }) | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - composants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - sousComposants: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - }>; - private resolveConstructeurId; - remove(id: string): Promise<{ - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - }>; - addMissingCustomFields(machineId: string): Promise<({ - site: { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - }; - typeMachine: ({ - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - category: string | null; - maintenanceFrequency: string | null; - components: import("@prisma/client/runtime/library").JsonValue | null; - criticalParts: import("@prisma/client/runtime/library").JsonValue | null; - machinePieces: import("@prisma/client/runtime/library").JsonValue | null; - specifications: import("@prisma/client/runtime/library").JsonValue | null; - }) | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - composants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - pieces: ({ - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]; - sousComposants: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - customFieldValues: ({ - customField: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }; - } & { - id: string; - createdAt: Date; - updatedAt: Date; - machineId: string | null; - composantId: string | null; - pieceId: string | null; - value: string; - customFieldId: string; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - }) | null>; -} diff --git a/dist/machines/machines.service.js b/dist/machines/machines.service.js deleted file mode 100644 index b48ef70..0000000 --- a/dist/machines/machines.service.js +++ /dev/null @@ -1,730 +0,0 @@ -"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); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.MachinesService = void 0; -const common_1 = require("@nestjs/common"); -const prisma_service_1 = require("../prisma/prisma.service"); -let MachinesService = class MachinesService { - prisma; - constructor(prisma) { - this.prisma = prisma; - } - async create(createMachineDto) { - const typeMachine = await this.prisma.typeMachine.findUnique({ - where: { id: createMachineDto.typeMachineId }, - include: { - customFields: true, - }, - }); - if (!typeMachine) { - throw new Error('Type de machine non trouvé'); - } - return await this.prisma.$transaction(async (prisma) => { - const machine = await prisma.machine.create({ - data: createMachineDto, - include: { - site: true, - typeMachine: true, - constructeur: true, - }, - }); - const components = typeMachine.components; - if (components) { - await this.createComponentsFromType(prisma, machine.id, components); - } - const machinePieces = typeMachine.machinePieces; - if (machinePieces) { - await this.createMachinePiecesFromType(prisma, machine.id, machinePieces); - } - if (typeMachine.customFields && typeMachine.customFields.length > 0) { - await this.createMachineCustomFieldsFromType(prisma, machine.id, typeMachine.customFields); - } - return await prisma.machine.findUnique({ - where: { id: machine.id }, - include: { - site: true, - typeMachine: { - include: { - customFields: true, - }, - }, - constructeur: true, - composants: { - include: { - typeComposant: true, - sousComposants: true, - pieces: { - include: { - customFieldValues: { - include: { - customField: true, - }, - }, - constructeur: true, - }, - }, - constructeur: true, - }, - }, - pieces: { - include: { - customFieldValues: { - include: { - customField: true, - }, - }, - constructeur: true, - }, - }, - customFieldValues: { - include: { - customField: true, - }, - }, - documents: true, - }, - }); - }); - } - async createComponentsFromType(prisma, machineId, components, parentComposantId) { - for (const component of components) { - if (!component.name) - continue; - let typeComposant = null; - if (component.customFields && component.customFields.length > 0) { - typeComposant = await prisma.typeComposant.findFirst({ - where: { name: component.name } - }); - if (!typeComposant) { - typeComposant = await prisma.typeComposant.create({ - data: { - name: component.name, - description: component.description || '', - }, - }); - for (const customField of component.customFields) { - await prisma.customField.create({ - data: { - name: customField.name, - type: customField.type, - required: customField.required || false, - defaultValue: customField.defaultValue, - options: customField.options || [], - typeComposantId: typeComposant.id, - }, - }); - } - } - } - const createdComposant = await prisma.composant.create({ - data: { - name: component.name, - reference: component.reference || '', - constructeurId: await this.resolveConstructeurId(prisma, component.constructeur), - emplacement: component.emplacement || '', - prix: component.prix || null, - machineId, - parentComposantId, - typeComposantId: typeComposant?.id || null, - }, - }); - if (typeComposant && typeComposant.id) { - const customFields = await prisma.customField.findMany({ - where: { typeComposantId: typeComposant.id }, - }); - for (const customField of customFields) { - const defaultValue = component.customFields?.find(cf => cf.name === customField.name)?.defaultValue || ''; - await prisma.customFieldValue.create({ - data: { - value: defaultValue, - customFieldId: customField.id, - composantId: createdComposant.id, - }, - }); - } - } - if (component.pieces) { - for (const piece of component.pieces) { - if (!piece || !piece.name) - continue; - let typePiece = null; - if (piece.customFields && piece.customFields.length > 0) { - typePiece = await prisma.typePiece.findFirst({ - where: { name: piece.name } - }); - if (!typePiece) { - typePiece = await prisma.typePiece.create({ - data: { - name: piece.name, - description: piece.description || '', - }, - }); - for (const customField of piece.customFields) { - await prisma.customField.create({ - data: { - name: customField.name, - type: customField.type, - required: customField.required || false, - defaultValue: customField.defaultValue, - options: customField.options || [], - typePieceId: typePiece.id, - }, - }); - } - } - } - const createdPiece = await prisma.piece.create({ - data: { - name: piece.name, - reference: piece.reference || '', - constructeurId: await this.resolveConstructeurId(prisma, piece.constructeur), - emplacement: piece.emplacement || '', - prix: piece.prix || null, - composantId: createdComposant.id, - typePieceId: typePiece?.id || null, - }, - }); - if (typePiece && typePiece.id) { - const customFields = await prisma.customField.findMany({ - where: { typePieceId: typePiece.id }, - }); - for (const customField of customFields) { - const defaultValue = piece.customFields?.find(cf => cf.name === customField.name)?.defaultValue || ''; - await prisma.customFieldValue.create({ - data: { - value: defaultValue, - customFieldId: customField.id, - pieceId: createdPiece.id, - }, - }); - } - } - } - } - if (component.subComponents) { - await this.createComponentsFromType(prisma, machineId, component.subComponents, createdComposant.id); - } - } - } - async createMachinePiecesFromType(prisma, machineId, machinePieces) { - for (const piece of machinePieces) { - if (!piece || !piece.name) - continue; - const createdPiece = await prisma.piece.create({ - data: { - name: piece.name, - machineId, - constructeurId: await this.resolveConstructeurId(prisma, piece.constructeur), - }, - }); - if (piece.customFields && piece.customFields.length > 0) { - for (const customField of piece.customFields) { - const createdCustomField = await prisma.customField.create({ - data: { - name: customField.name, - type: customField.type, - required: customField.required || false, - defaultValue: customField.defaultValue, - options: customField.options || [], - typePieceId: null, - }, - }); - await prisma.customFieldValue.create({ - data: { - value: customField.defaultValue || '', - customFieldId: createdCustomField.id, - pieceId: createdPiece.id, - }, - }); - } - } - } - } - async createMachineCustomFieldsFromType(prisma, machineId, machineCustomFields) { - for (const customField of machineCustomFields) { - if (!customField || !customField.name) - continue; - const createdCustomField = await prisma.customField.create({ - data: { - name: customField.name, - type: customField.type, - required: customField.required || false, - defaultValue: customField.defaultValue, - options: customField.options || [], - typeMachineId: null, - }, - }); - await prisma.customFieldValue.create({ - data: { - value: customField.defaultValue || '', - customFieldId: createdCustomField.id, - machineId: machineId, - }, - }); - } - } - async findAll() { - return this.prisma.machine.findMany({ - include: { - site: true, - typeMachine: { - include: { - customFields: true, - }, - }, - constructeur: true, - composants: { - include: { - typeComposant: true, - sousComposants: true, - customFieldValues: { - include: { - customField: true, - }, - }, - constructeur: true, - pieces: { - include: { - customFieldValues: { - include: { - customField: true, - }, - }, - constructeur: true, - }, - }, - }, - }, - pieces: { - include: { - customFieldValues: { - include: { - customField: true, - }, - }, - constructeur: true, - }, - }, - customFieldValues: { - include: { - customField: true, - }, - }, - documents: true, - }, - }); - } - async findOne(id) { - return this.prisma.machine.findUnique({ - where: { id }, - include: { - site: true, - typeMachine: { - include: { - customFields: true, - }, - }, - constructeur: true, - composants: { - include: { - typeComposant: true, - sousComposants: true, - customFieldValues: { - include: { - customField: true, - }, - }, - constructeur: true, - pieces: { - include: { - customFieldValues: { - include: { - customField: true, - }, - }, - constructeur: true, - }, - }, - }, - }, - pieces: { - include: { - customFieldValues: { - include: { - customField: true, - }, - }, - constructeur: true, - }, - }, - customFieldValues: { - include: { - customField: true, - }, - }, - documents: true, - }, - }); - } - async update(id, updateMachineDto) { - return this.prisma.machine.update({ - where: { id }, - data: updateMachineDto, - include: { - site: true, - typeMachine: { - include: { - customFields: true, - }, - }, - constructeur: true, - composants: { - include: { - typeComposant: true, - sousComposants: true, - constructeur: true, - pieces: { - include: { - constructeur: true, - customFieldValues: { - include: { - customField: true, - }, - }, - }, - }, - }, - }, - pieces: { - include: { - constructeur: true, - customFieldValues: { - include: { - customField: true, - }, - }, - }, - }, - customFieldValues: { - include: { - customField: true, - }, - }, - documents: true, - }, - }); - } - async resolveConstructeurId(prisma, rawName) { - if (!rawName) - return null; - const name = String(rawName).trim(); - if (!name) - return null; - const existing = await prisma.constructeur.findFirst({ - where: { - name: { - equals: name, - mode: 'insensitive', - }, - }, - }); - if (existing) - return existing.id; - const created = await prisma.constructeur.create({ - data: { name }, - }); - return created.id; - } - async remove(id) { - const machine = await this.prisma.machine.findUnique({ - where: { id }, - include: { - composants: true, - pieces: true, - documents: true, - customFieldValues: true, - }, - }); - if (!machine) { - throw new Error('Machine non trouvée'); - } - return await this.prisma.$transaction(async (prisma) => { - if (machine.customFieldValues.length > 0) { - await prisma.customFieldValue.deleteMany({ - where: { machineId: id }, - }); - } - if (machine.documents.length > 0) { - await prisma.document.deleteMany({ - where: { machineId: id }, - }); - } - if (machine.pieces.length > 0) { - await prisma.piece.deleteMany({ - where: { machineId: id }, - }); - } - if (machine.composants.length > 0) { - await prisma.composant.deleteMany({ - where: { machineId: id }, - }); - } - return await prisma.machine.delete({ - where: { id }, - }); - }); - } - async addMissingCustomFields(machineId) { - const machine = await this.prisma.machine.findUnique({ - where: { id: machineId }, - include: { - typeMachine: true, - composants: { - include: { - pieces: true, - }, - }, - pieces: true, - }, - }); - if (!machine || !machine.typeMachine) { - throw new Error('Machine ou type de machine non trouvé'); - } - const typeMachine = machine.typeMachine; - const components = typeMachine.components || []; - const machinePieces = typeMachine.machinePieces || []; - const machineCustomFields = typeMachine.customFields || []; - if (machineCustomFields && machineCustomFields.length > 0) { - for (const customField of machineCustomFields) { - const existingValue = await this.prisma.customFieldValue.findFirst({ - where: { - machineId: machineId, - customField: { - name: customField.name, - }, - }, - include: { - customField: true, - }, - }); - if (!existingValue) { - const createdCustomField = await this.prisma.customField.create({ - data: { - name: customField.name, - type: customField.type, - required: customField.required || false, - defaultValue: customField.defaultValue, - options: customField.options || [], - typeMachineId: null, - }, - }); - await this.prisma.customFieldValue.create({ - data: { - value: customField.defaultValue || '', - customFieldId: createdCustomField.id, - machineId: machineId, - }, - }); - } - } - } - for (const component of machine.composants) { - const typeComponent = components.find((c) => c.name === component.name); - if (typeComponent && typeComponent.customFields && typeComponent.customFields.length > 0) { - let typeComposant = await this.prisma.typeComposant.findFirst({ - where: { name: component.name }, - }); - if (!typeComposant) { - typeComposant = await this.prisma.typeComposant.create({ - data: { - name: component.name, - description: typeComponent.description || '', - }, - }); - } - for (const customField of typeComponent.customFields) { - const existingField = await this.prisma.customField.findFirst({ - where: { - name: customField.name, - typeComposantId: typeComposant.id, - }, - }); - if (!existingField) { - await this.prisma.customField.create({ - data: { - name: customField.name, - type: customField.type, - required: customField.required || false, - defaultValue: customField.defaultValue, - options: customField.options || [], - typeComposantId: typeComposant.id, - }, - }); - } - } - await this.prisma.composant.update({ - where: { id: component.id }, - data: { typeComposantId: typeComposant.id }, - }); - const customFields = await this.prisma.customField.findMany({ - where: { typeComposantId: typeComposant.id }, - }); - for (const customField of customFields) { - const existingValue = await this.prisma.customFieldValue.findFirst({ - where: { - customFieldId: customField.id, - composantId: component.id, - }, - }); - if (!existingValue) { - const defaultValue = typeComponent.customFields.find((cf) => cf.name === customField.name)?.defaultValue || ''; - await this.prisma.customFieldValue.create({ - data: { - value: defaultValue, - customFieldId: customField.id, - composantId: component.id, - }, - }); - } - } - for (const piece of component.pieces) { - const typePiece = typeComponent.pieces?.find((p) => p.name === piece.name); - if (typePiece && typePiece.customFields && typePiece.customFields.length > 0) { - let typePieceEntity = await this.prisma.typePiece.findFirst({ - where: { name: piece.name }, - }); - if (!typePieceEntity) { - typePieceEntity = await this.prisma.typePiece.create({ - data: { - name: piece.name, - description: typePiece.description || '', - }, - }); - } - for (const customField of typePiece.customFields) { - const existingField = await this.prisma.customField.findFirst({ - where: { - name: customField.name, - typePieceId: typePieceEntity.id, - }, - }); - if (!existingField) { - await this.prisma.customField.create({ - data: { - name: customField.name, - type: customField.type, - required: customField.required || false, - defaultValue: customField.defaultValue, - options: customField.options || [], - typePieceId: typePieceEntity.id, - }, - }); - } - } - await this.prisma.piece.update({ - where: { id: piece.id }, - data: { typePieceId: typePieceEntity.id }, - }); - const customFields = await this.prisma.customField.findMany({ - where: { typePieceId: typePieceEntity.id }, - }); - for (const customField of customFields) { - const existingValue = await this.prisma.customFieldValue.findFirst({ - where: { - customFieldId: customField.id, - pieceId: piece.id, - }, - }); - if (!existingValue) { - const defaultValue = typePiece.customFields.find((cf) => cf.name === customField.name)?.defaultValue || ''; - await this.prisma.customFieldValue.create({ - data: { - value: defaultValue, - customFieldId: customField.id, - pieceId: piece.id, - }, - }); - } - } - } - } - } - } - for (const piece of machine.pieces) { - const typePiece = machinePieces.find((p) => p.name === piece.name); - if (typePiece && typePiece.customFields && typePiece.customFields.length > 0) { - let typePieceEntity = await this.prisma.typePiece.findFirst({ - where: { name: piece.name }, - }); - if (!typePieceEntity) { - typePieceEntity = await this.prisma.typePiece.create({ - data: { - name: piece.name, - description: typePiece.description || '', - }, - }); - } - for (const customField of typePiece.customFields) { - const existingField = await this.prisma.customField.findFirst({ - where: { - name: customField.name, - typePieceId: typePieceEntity.id, - }, - }); - if (!existingField) { - await this.prisma.customField.create({ - data: { - name: customField.name, - type: customField.type, - required: customField.required || false, - defaultValue: customField.defaultValue, - options: customField.options || [], - typePieceId: typePieceEntity.id, - }, - }); - } - } - await this.prisma.piece.update({ - where: { id: piece.id }, - data: { typePieceId: typePieceEntity.id }, - }); - const customFields = await this.prisma.customField.findMany({ - where: { typePieceId: typePieceEntity.id }, - }); - for (const customField of customFields) { - const existingValue = await this.prisma.customFieldValue.findFirst({ - where: { - customFieldId: customField.id, - pieceId: piece.id, - }, - }); - if (!existingValue) { - const defaultValue = typePiece.customFields.find((cf) => cf.name === customField.name)?.defaultValue || ''; - await this.prisma.customFieldValue.create({ - data: { - value: defaultValue, - customFieldId: customField.id, - pieceId: piece.id, - }, - }); - } - } - } - } - return this.findOne(machineId); - } -}; -exports.MachinesService = MachinesService; -exports.MachinesService = MachinesService = __decorate([ - (0, common_1.Injectable)(), - __metadata("design:paramtypes", [prisma_service_1.PrismaService]) -], MachinesService); -//# sourceMappingURL=machines.service.js.map \ No newline at end of file diff --git a/dist/machines/machines.service.js.map b/dist/machines/machines.service.js.map deleted file mode 100644 index c92aebb..0000000 --- a/dist/machines/machines.service.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"machines.service.js","sourceRoot":"","sources":["../../src/machines/machines.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CA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AO,EAAE,KAAK,CAAC,EAAE;yBAClB;qBACF,CAAC,CAAC;oBAEH,IAAI,CAAC,aAAa,EAAE,CAAC;wBACnB,MAAM,YAAY,GAAG,SAAS,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,EAAO,EAAE,EAAE,CAAC,EAAE,CAAC,IAAI,KAAK,WAAW,CAAC,IAAI,CAAC,EAAE,YAAY,IAAI,EAAE,CAAC;wBAChH,MAAM,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,MAAM,CAAC;4BACxC,IAAI,EAAE;gCACJ,KAAK,EAAE,YAAY;gCACnB,aAAa,EAAE,WAAW,CAAC,EAAE;gCAC7B,OAAO,EAAE,KAAK,CAAC,EAAE;6BAClB;yBACF,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;YACH,CAAC;QACH,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IACjC,CAAC;CACF,CAAA;AAxzBY,0CAAe;0BAAf,eAAe;IAD3B,IAAA,mBAAU,GAAE;qCAEiB,8BAAa;GAD9B,eAAe,CAwzB3B"} \ No newline at end of file diff --git a/dist/main.d.ts b/dist/main.d.ts deleted file mode 100644 index cb0ff5c..0000000 --- a/dist/main.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/dist/main.js b/dist/main.js deleted file mode 100644 index 0d9d3fa..0000000 --- a/dist/main.js +++ /dev/null @@ -1,55 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const core_1 = require("@nestjs/core"); -const common_1 = require("@nestjs/common"); -const session = require("express-session"); -const express_1 = require("express"); -const app_module_1 = require("./app.module"); -async function bootstrap() { - const app = await core_1.NestFactory.create(app_module_1.AppModule); - app.set('trust proxy', 1); - const requestSizeLimit = process.env.REQUEST_SIZE_LIMIT || '10mb'; - app.use((0, express_1.json)({ limit: requestSizeLimit })); - app.use((0, express_1.urlencoded)({ limit: requestSizeLimit, extended: true })); - const sessionCookieSecure = process.env.SESSION_COOKIE_SECURE - ? process.env.SESSION_COOKIE_SECURE === 'true' - : process.env.NODE_ENV === 'production'; - app.use(session({ - secret: process.env.SESSION_SECRET || 'change-me', - resave: false, - saveUninitialized: false, - cookie: { - httpOnly: true, - sameSite: process.env.SESSION_SAME_SITE ?? 'lax', - secure: sessionCookieSecure, - maxAge: Number(process.env.SESSION_MAX_AGE ?? 1000 * 60 * 60 * 24 * 7), - }, - })); - const allowedOrigins = process.env.CORS_ORIGIN - ? process.env.CORS_ORIGIN.split(',').map(origin => origin.trim()) - : ['http://localhost:3001']; - app.enableCors({ - origin: (origin, callback) => { - if (!origin || allowedOrigins.includes(origin)) { - callback(null, true); - } - else { - callback(new Error(`Origin ${origin} not allowed by CORS`)); - } - }, - credentials: true, - }); - app.useGlobalPipes(new common_1.ValidationPipe({ - whitelist: process.env.VALIDATION_WHITELIST === 'true', - forbidNonWhitelisted: process.env.VALIDATION_FORBID_NON_WHITELISTED === 'true', - transform: process.env.VALIDATION_TRANSFORM === 'true', - })); - const apiPrefix = process.env.API_PREFIX || 'api'; - app.setGlobalPrefix(apiPrefix); - const port = Number(process.env.PORT) || 3000; - await app.listen(port); - console.log(`Application is running on: http://localhost:${port}`); - console.log(`Environment: ${process.env.NODE_ENV || 'development'}`); -} -bootstrap(); -//# sourceMappingURL=main.js.map \ No newline at end of file diff --git a/dist/main.js.map b/dist/main.js.map deleted file mode 100644 index 0b356d7..0000000 --- a/dist/main.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";;AAAA,uCAA2C;AAC3C,2CAAgD;AAEhD,2CAA2C;AAC3C,qCAA2C;AAC3C,6CAAyC;AAEzC,KAAK,UAAU,SAAS;IACtB,MAAM,GAAG,GAAG,MAAM,kBAAW,CAAC,MAAM,CAAyB,sBAAS,CAAC,CAAC;IAExE,GAAG,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC;IAE1B,M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AM,EAAE,QAAQ,EAAE,EAAE;YAE3B,IAAI,CAAC,MAAM,IAAI,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;gBAC/C,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YACvB,CAAC;iBAAM,CAAC;gBACN,QAAQ,CAAC,IAAI,KAAK,CAAC,UAAU,MAAM,sBAAsB,CAAC,CAAC,CAAC;YAC9D,CAAC;QACH,CAAC;QACD,WAAW,EAAE,IAAI;KAClB,CAAC,CAAC;IAEH,GAAG,CAAC,cAAc,CAAC,IAAI,uBAAc,CAAC;QACpC,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC,oBAAoB,KAAK,MAAM;QACtD,oBAAoB,EAAE,OAAO,CAAC,GAAG,CAAC,iCAAiC,KAAK,MAAM;QAC9E,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC,oBAAoB,KAAK,MAAM;KACvD,CAAC,CAAC,CAAC;IAEJ,MAAM,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,KAAK,CAAC;IAClD,GAAG,CAAC,eAAe,CAAC,SAAS,CAAC,CAAC;IAE/B,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC;IAC9C,MAAM,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACvB,OAAO,CAAC,GAAG,CAAC,+CAA+C,IAAI,EAAE,CAAC,CAAC;IACnE,OAAO,CAAC,GAAG,CAAC,gBAAgB,OAAO,CAAC,GAAG,CAAC,QAAQ,IAAI,aAAa,EAAE,CAAC,CAAC;AACvE,CAAC;AAED,SAAS,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/pieces/pieces.controller.d.ts b/dist/pieces/pieces.controller.d.ts deleted file mode 100644 index c2ae711..0000000 --- a/dist/pieces/pieces.controller.d.ts +++ /dev/null @@ -1,427 +0,0 @@ -import { PiecesService } from './pieces.service'; -import { CreatePieceDto, UpdatePieceDto } from '../shared/dto/piece.dto'; -export declare class PiecesController { - private readonly piecesService; - constructor(piecesService: PiecesService); - create(createPieceDto: CreatePieceDto): Promise<{ - typePiece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }>; - findAll(): Promise<({ - typePiece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]>; - findByMachine(machineId: string): Promise<({ - typePiece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]>; - findByComposant(composantId: string): Promise<({ - typePiece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]>; - findOne(id: string): Promise<({ - typePiece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }) | null>; - update(id: string, updatePieceDto: UpdatePieceDto): Promise<{ - typePiece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }>; - remove(id: string): Promise<{ - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }>; -} diff --git a/dist/pieces/pieces.controller.js b/dist/pieces/pieces.controller.js deleted file mode 100644 index 126513b..0000000 --- a/dist/pieces/pieces.controller.js +++ /dev/null @@ -1,100 +0,0 @@ -"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.PiecesController = void 0; -const common_1 = require("@nestjs/common"); -const pieces_service_1 = require("./pieces.service"); -const piece_dto_1 = require("../shared/dto/piece.dto"); -let PiecesController = class PiecesController { - piecesService; - constructor(piecesService) { - this.piecesService = piecesService; - } - create(createPieceDto) { - return this.piecesService.create(createPieceDto); - } - findAll() { - return this.piecesService.findAll(); - } - findByMachine(machineId) { - return this.piecesService.findByMachine(machineId); - } - findByComposant(composantId) { - return this.piecesService.findByComposant(composantId); - } - findOne(id) { - return this.piecesService.findOne(id); - } - update(id, updatePieceDto) { - return this.piecesService.update(id, updatePieceDto); - } - remove(id) { - return this.piecesService.remove(id); - } -}; -exports.PiecesController = PiecesController; -__decorate([ - (0, common_1.Post)(), - __param(0, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [piece_dto_1.CreatePieceDto]), - __metadata("design:returntype", void 0) -], PiecesController.prototype, "create", null); -__decorate([ - (0, common_1.Get)(), - __metadata("design:type", Function), - __metadata("design:paramtypes", []), - __metadata("design:returntype", void 0) -], PiecesController.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) -], PiecesController.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) -], PiecesController.prototype, "findByComposant", 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) -], PiecesController.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, piece_dto_1.UpdatePieceDto]), - __metadata("design:returntype", void 0) -], PiecesController.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) -], PiecesController.prototype, "remove", null); -exports.PiecesController = PiecesController = __decorate([ - (0, common_1.Controller)('pieces'), - __metadata("design:paramtypes", [pieces_service_1.PiecesService]) -], PiecesController); -//# sourceMappingURL=pieces.controller.js.map \ No newline at end of file diff --git a/dist/pieces/pieces.controller.js.map b/dist/pieces/pieces.controller.js.map deleted file mode 100644 index b94adeb..0000000 --- a/dist/pieces/pieces.controller.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"pieces.controller.js","sourceRoot":"","sources":["../../src/pieces/pieces.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAmF;AACnF,qDAAiD;AACjD,uDAAyE;AAGlE,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IACE;IAA7B,YAA6B,aAA4B;QAA5B,kBAAa,GAAb,aAAa,CAAe;IAAG,CAAC;IAG7D,MAAM,CAAS,cAA8B;QAC3C,OAAO,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;IACnD,CAAC;IAGD,OAAO;QACL,OAAO,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,CAAC;IACtC,CAAC;IAGD,aAAa,CAAqB,SAAiB;QACjD,OAAO,IAAI,CAAC,aAAa,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IACrD,CAAC;IAGD,eAAe,CAAuB,WAAmB;QACvD,OAAO,IAAI,CAAC,aAAa,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC;IACzD,CAAC;IAGD,OAAO,CAAc,EAAU;QAC7B,OAAO,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IACxC,CAAC;IAGD,MAAM,CAAc,EAAU,EAAU,cAA8B;QACpE,OAAO,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,EAAE,cAAc,CAAC,CAAC;IACvD,CAAC;IAGD,MAAM,CAAc,EAAU;QAC5B,OAAO,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvC,CAAC;CACF,CAAA;AArCY,4CAAgB;AAI3B;IADC,IAAA,aAAI,GAAE;IACC,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAiB,0BAAc;;8CAE5C;AAGD;IADC,IAAA,YAAG,GAAE;;;;+CAGL;AAGD;IADC,IAAA,YAAG,EAAC,oBAAoB,CAAC;IACX,WAAA,IAAA,cAAK,EAAC,WAAW,CAAC,CAAA;;;;qDAEhC;AAGD;IADC,IAAA,YAAG,EAAC,wBAAwB,CAAC;IACb,WAAA,IAAA,cAAK,EAAC,aAAa,CAAC,CAAA;;;;uDAEpC;AAGD;IADC,IAAA,YAAG,EAAC,KAAK,CAAC;IACF,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;+CAEnB;AAGD;IADC,IAAA,cAAK,EAAC,KAAK,CAAC;IACL,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;IAAc,WAAA,IAAA,aAAI,GAAE,CAAA;;6CAAiB,0BAAc;;8CAErE;AAGD;IADC,IAAA,eAAM,EAAC,KAAK,CAAC;IACN,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;8CAElB;2BApCU,gBAAgB;IAD5B,IAAA,mBAAU,EAAC,QAAQ,CAAC;qCAEyB,8BAAa;GAD9C,gBAAgB,CAqC5B"} \ No newline at end of file diff --git a/dist/pieces/pieces.module.d.ts b/dist/pieces/pieces.module.d.ts deleted file mode 100644 index 49c84bc..0000000 --- a/dist/pieces/pieces.module.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare class PiecesModule { -} diff --git a/dist/pieces/pieces.module.js b/dist/pieces/pieces.module.js deleted file mode 100644 index 0600b25..0000000 --- a/dist/pieces/pieces.module.js +++ /dev/null @@ -1,22 +0,0 @@ -"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; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.PiecesModule = void 0; -const common_1 = require("@nestjs/common"); -const pieces_controller_1 = require("./pieces.controller"); -const pieces_service_1 = require("./pieces.service"); -let PiecesModule = class PiecesModule { -}; -exports.PiecesModule = PiecesModule; -exports.PiecesModule = PiecesModule = __decorate([ - (0, common_1.Module)({ - controllers: [pieces_controller_1.PiecesController], - providers: [pieces_service_1.PiecesService] - }) -], PiecesModule); -//# sourceMappingURL=pieces.module.js.map \ No newline at end of file diff --git a/dist/pieces/pieces.module.js.map b/dist/pieces/pieces.module.js.map deleted file mode 100644 index 20f4b11..0000000 --- a/dist/pieces/pieces.module.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"pieces.module.js","sourceRoot":"","sources":["../../src/pieces/pieces.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,2DAAuD;AACvD,qDAAiD;AAM1C,IAAM,YAAY,GAAlB,MAAM,YAAY;CAAG,CAAA;AAAf,oCAAY;uBAAZ,YAAY;IAJxB,IAAA,eAAM,EAAC;QACN,WAAW,EAAE,CAAC,oCAAgB,CAAC;QAC/B,SAAS,EAAE,CAAC,8BAAa,CAAC;KAC3B,CAAC;GACW,YAAY,CAAG"} \ No newline at end of file diff --git a/dist/pieces/pieces.service.d.ts b/dist/pieces/pieces.service.d.ts deleted file mode 100644 index 2f586ab..0000000 --- a/dist/pieces/pieces.service.d.ts +++ /dev/null @@ -1,427 +0,0 @@ -import { PrismaService } from '../prisma/prisma.service'; -import { CreatePieceDto, UpdatePieceDto } from '../shared/dto/piece.dto'; -export declare class PiecesService { - private prisma; - constructor(prisma: PrismaService); - create(createPieceDto: CreatePieceDto): Promise<{ - typePiece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }>; - findAll(): Promise<({ - typePiece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]>; - findOne(id: string): Promise<({ - typePiece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }) | null>; - findByMachine(machineId: string): Promise<({ - typePiece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]>; - findByComposant(composantId: string): Promise<({ - typePiece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - })[]>; - update(id: string, updatePieceDto: UpdatePieceDto): Promise<{ - typePiece: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - machine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - } | null; - composant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - } | null; - constructeur: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - email: string | null; - phone: string | null; - } | null; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }>; - remove(id: string): Promise<{ - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }>; -} diff --git a/dist/pieces/pieces.service.js b/dist/pieces/pieces.service.js deleted file mode 100644 index 7c0bc60..0000000 --- a/dist/pieces/pieces.service.js +++ /dev/null @@ -1,103 +0,0 @@ -"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); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.PiecesService = void 0; -const common_1 = require("@nestjs/common"); -const prisma_service_1 = require("../prisma/prisma.service"); -let PiecesService = class PiecesService { - prisma; - constructor(prisma) { - this.prisma = prisma; - } - async create(createPieceDto) { - return this.prisma.piece.create({ - data: createPieceDto, - include: { - machine: true, - composant: true, - typePiece: true, - documents: true, - constructeur: true, - }, - }); - } - async findAll() { - return this.prisma.piece.findMany({ - include: { - machine: true, - composant: true, - typePiece: true, - documents: true, - constructeur: true, - }, - }); - } - async findOne(id) { - return this.prisma.piece.findUnique({ - where: { id }, - include: { - machine: true, - composant: true, - typePiece: true, - documents: true, - constructeur: true, - }, - }); - } - async findByMachine(machineId) { - return this.prisma.piece.findMany({ - where: { machineId }, - include: { - machine: true, - composant: true, - typePiece: true, - documents: true, - constructeur: true, - }, - }); - } - async findByComposant(composantId) { - return this.prisma.piece.findMany({ - where: { composantId }, - include: { - machine: true, - composant: true, - typePiece: true, - documents: true, - constructeur: true, - }, - }); - } - async update(id, updatePieceDto) { - return this.prisma.piece.update({ - where: { id }, - data: updatePieceDto, - include: { - machine: true, - composant: true, - typePiece: true, - documents: true, - constructeur: true, - }, - }); - } - async remove(id) { - return this.prisma.piece.delete({ - where: { id }, - }); - } -}; -exports.PiecesService = PiecesService; -exports.PiecesService = PiecesService = __decorate([ - (0, common_1.Injectable)(), - __metadata("design:paramtypes", [prisma_service_1.PrismaService]) -], PiecesService); -//# sourceMappingURL=pieces.service.js.map \ No newline at end of file diff --git a/dist/pieces/pieces.service.js.map b/dist/pieces/pieces.service.js.map deleted file mode 100644 index d202ace..0000000 --- a/dist/pieces/pieces.service.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"pieces.service.js","sourceRoot":"","sources":["../../src/pieces/pieces.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,6DAAyD;AAIlD,IAAM,aAAa,GAAnB,MAAM,aAAa;IACJ;IAApB,YAAoB,MAAqB;QAArB,WAAM,GAAN,MAAM,CAAe;IAAG,CAAC;IAE7C,KAAK,CAAC,MAAM,CAAC,cAA8B;QACzC,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;YAC9B,IAAI,EAAE,cAAc;YACpB,OAAO,EAAE;gBACP,OAAO,EAAE,IAAI;gBACb,SAAS,EAAE,IAAI;gBACf,SAAS,EAAE,IAAI;gBACf,SAAS,EAAE,IAAI;gBACf,YAAY,EAAE,IAAI;aACnB;SACF,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,OAAO;QACX,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;YAChC,OAAO,EAAE;gBACP,OAAO,EAAE,IAAI;gBACb,SAAS,EAAE,IAAI;gBACf,SAAS,EAAE,IAAI;gBACf,SAAS,EAAE,IAAI;gBACf,YAAY,EAAE,IAAI;aACnB;SACF,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,EAAU;QACtB,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC;YAClC,KAAK,EAAE,EAAE,EAAE,EAAE;YACb,OAAO,EAAE;gBACP,OAAO,EAAE,IAAI;gBACb,SAAS,EAAE,IAAI;gBACf,SAAS,EAAE,IAAI;gBACf,SAAS,EAAE,IAAI;gBACf,YAAY,EAAE,IAAI;aACnB;SACF,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,aAAa,CAAC,SAAiB;QACnC,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;YAChC,KAAK,EAAE,EAAE,SAAS,EAAE;YACpB,OAAO,EAAE;gBACP,OAAO,EAAE,IAAI;gBACb,SAAS,EAAE,IAAI;gBACf,SAAS,EAAE,IAAI;gBACf,SAAS,EAAE,IAAI;gBACf,YAAY,EAAE,IAAI;aACnB;SACF,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,eAAe,CAAC,WAAmB;QACvC,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;YAChC,KAAK,EAAE,EAAE,WAAW,EAAE;YACtB,OAAO,EAAE;gBACP,OAAO,EAAE,IAAI;gBACb,SAAS,EAAE,IAAI;gBACf,SAAS,EAAE,IAAI;gBACf,SAAS,EAAE,IAAI;gBACf,YAAY,EAAE,IAAI;aACnB;SACF,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,EAAU,EAAE,cAA8B;QACrD,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;YAC9B,KAAK,EAAE,EAAE,EAAE,EAAE;YACb,IAAI,EAAE,cAAc;YACpB,OAAO,EAAE;gBACP,OAAO,EAAE,IAAI;gBACb,SAAS,EAAE,IAAI;gBACf,SAAS,EAAE,IAAI;gBACf,SAAS,EAAE,IAAI;gBACf,YAAY,EAAE,IAAI;aACnB;SACF,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,EAAU;QACrB,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;YAC9B,KAAK,EAAE,EAAE,EAAE,EAAE;SACd,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AAtFY,sCAAa;wBAAb,aAAa;IADzB,IAAA,mBAAU,GAAE;qCAEiB,8BAAa;GAD9B,aAAa,CAsFzB"} \ No newline at end of file diff --git a/dist/prisma/prisma.module.d.ts b/dist/prisma/prisma.module.d.ts deleted file mode 100644 index 1cba5ae..0000000 --- a/dist/prisma/prisma.module.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare class PrismaModule { -} diff --git a/dist/prisma/prisma.module.js b/dist/prisma/prisma.module.js deleted file mode 100644 index d3729fa..0000000 --- a/dist/prisma/prisma.module.js +++ /dev/null @@ -1,22 +0,0 @@ -"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; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.PrismaModule = void 0; -const common_1 = require("@nestjs/common"); -const prisma_service_1 = require("./prisma.service"); -let PrismaModule = class PrismaModule { -}; -exports.PrismaModule = PrismaModule; -exports.PrismaModule = PrismaModule = __decorate([ - (0, common_1.Global)(), - (0, common_1.Module)({ - providers: [prisma_service_1.PrismaService], - exports: [prisma_service_1.PrismaService], - }) -], PrismaModule); -//# sourceMappingURL=prisma.module.js.map \ No newline at end of file diff --git a/dist/prisma/prisma.module.js.map b/dist/prisma/prisma.module.js.map deleted file mode 100644 index b1aba81..0000000 --- a/dist/prisma/prisma.module.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"prisma.module.js","sourceRoot":"","sources":["../../src/prisma/prisma.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAgD;AAChD,qDAAiD;AAO1C,IAAM,YAAY,GAAlB,MAAM,YAAY;CAAG,CAAA;AAAf,oCAAY;uBAAZ,YAAY;IALxB,IAAA,eAAM,GAAE;IACR,IAAA,eAAM,EAAC;QACN,SAAS,EAAE,CAAC,8BAAa,CAAC;QAC1B,OAAO,EAAE,CAAC,8BAAa,CAAC;KACzB,CAAC;GACW,YAAY,CAAG"} \ No newline at end of file diff --git a/dist/prisma/prisma.service.d.ts b/dist/prisma/prisma.service.d.ts deleted file mode 100644 index 118cf79..0000000 --- a/dist/prisma/prisma.service.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { OnModuleInit, OnModuleDestroy } from '@nestjs/common'; -import { PrismaClient } from '@prisma/client'; -export declare class PrismaService extends PrismaClient implements OnModuleInit, OnModuleDestroy { - constructor(); - onModuleInit(): Promise; - onModuleDestroy(): Promise; -} diff --git a/dist/prisma/prisma.service.js b/dist/prisma/prisma.service.js deleted file mode 100644 index 42d5a86..0000000 --- a/dist/prisma/prisma.service.js +++ /dev/null @@ -1,33 +0,0 @@ -"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); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.PrismaService = void 0; -const common_1 = require("@nestjs/common"); -const client_1 = require("@prisma/client"); -let PrismaService = class PrismaService extends client_1.PrismaClient { - constructor() { - super({ - log: ['query', 'info', 'warn', 'error'], - }); - } - async onModuleInit() { - await this.$connect(); - } - async onModuleDestroy() { - await this.$disconnect(); - } -}; -exports.PrismaService = PrismaService; -exports.PrismaService = PrismaService = __decorate([ - (0, common_1.Injectable)(), - __metadata("design:paramtypes", []) -], PrismaService); -//# sourceMappingURL=prisma.service.js.map \ No newline at end of file diff --git a/dist/prisma/prisma.service.js.map b/dist/prisma/prisma.service.js.map deleted file mode 100644 index ba088b6..0000000 --- a/dist/prisma/prisma.service.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"prisma.service.js","sourceRoot":"","sources":["../../src/prisma/prisma.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA2E;AAC3E,2CAA8C;AAGvC,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,qBAAY;IAC7C;QACE,KAAK,CAAC;YACJ,GAAG,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC;SACxC,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,YAAY;QAChB,MAAM,IAAI,CAAC,QAAQ,EAAE,CAAC;IACxB,CAAC;IAED,KAAK,CAAC,eAAe;QACnB,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC;IAC3B,CAAC;CACF,CAAA;AAdY,sCAAa;wBAAb,aAAa;IADzB,IAAA,mBAAU,GAAE;;GACA,aAAa,CAczB"} \ No newline at end of file diff --git a/dist/profiles/profiles.controller.d.ts b/dist/profiles/profiles.controller.d.ts deleted file mode 100644 index 623d4f5..0000000 --- a/dist/profiles/profiles.controller.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { ProfilesService } from './profiles.service'; -import { CreateProfileDto } from '../shared/dto/profile.dto'; -export declare class ProfilesController { - private readonly profilesService; - constructor(profilesService: ProfilesService); - findAll(): Promise<{ - id: string; - createdAt: Date; - updatedAt: Date; - firstName: string; - lastName: string; - }[]>; - create(dto: CreateProfileDto): Promise<{ - id: string; - createdAt: Date; - updatedAt: Date; - firstName: string; - lastName: string; - isActive: boolean; - }>; - delete(id: string): Promise<{ - id: string; - createdAt: Date; - updatedAt: Date; - firstName: string; - lastName: string; - isActive: boolean; - } | null>; -} diff --git a/dist/profiles/profiles.controller.js b/dist/profiles/profiles.controller.js deleted file mode 100644 index 50e3456..0000000 --- a/dist/profiles/profiles.controller.js +++ /dev/null @@ -1,59 +0,0 @@ -"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.ProfilesController = void 0; -const common_1 = require("@nestjs/common"); -const profiles_service_1 = require("./profiles.service"); -const profile_dto_1 = require("../shared/dto/profile.dto"); -let ProfilesController = class ProfilesController { - profilesService; - constructor(profilesService) { - this.profilesService = profilesService; - } - async findAll() { - return this.profilesService.findAllActive(); - } - async create(dto) { - return this.profilesService.create(dto); - } - async delete(id) { - return this.profilesService.deactivate(id); - } -}; -exports.ProfilesController = ProfilesController; -__decorate([ - (0, common_1.Get)(), - __metadata("design:type", Function), - __metadata("design:paramtypes", []), - __metadata("design:returntype", Promise) -], ProfilesController.prototype, "findAll", null); -__decorate([ - (0, common_1.Post)(), - __param(0, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [profile_dto_1.CreateProfileDto]), - __metadata("design:returntype", Promise) -], ProfilesController.prototype, "create", 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", Promise) -], ProfilesController.prototype, "delete", null); -exports.ProfilesController = ProfilesController = __decorate([ - (0, common_1.Controller)('profiles'), - __metadata("design:paramtypes", [profiles_service_1.ProfilesService]) -], ProfilesController); -//# sourceMappingURL=profiles.controller.js.map \ No newline at end of file diff --git a/dist/profiles/profiles.controller.js.map b/dist/profiles/profiles.controller.js.map deleted file mode 100644 index cec847f..0000000 --- a/dist/profiles/profiles.controller.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"profiles.controller.js","sourceRoot":"","sources":["../../src/profiles/profiles.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA2E;AAC3E,yDAAoD;AACpD,2DAA4D;AAGrD,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IACA;IAA7B,YAA6B,eAAgC;QAAhC,oBAAe,GAAf,eAAe,CAAiB;IAAG,CAAC;IAG3D,AAAN,KAAK,CAAC,OAAO;QACX,OAAO,IAAI,CAAC,eAAe,CAAC,aAAa,EAAE,CAAA;IAC7C,CAAC;IAGK,AAAN,KAAK,CAAC,MAAM,CAAS,GAAqB;QACxC,OAAO,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,GAAG,CAAC,CAAA;IACzC,CAAC;IAGK,AAAN,KAAK,CAAC,MAAM,CAAc,EAAU;QAClC,OAAO,IAAI,CAAC,eAAe,CAAC,UAAU,CAAC,EAAE,CAAC,CAAA;IAC5C,CAAC;CACF,CAAA;AAjBY,gDAAkB;AAIvB;IADL,IAAA,YAAG,GAAE;;;;iDAGL;AAGK;IADL,IAAA,aAAI,GAAE;IACO,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAM,8BAAgB;;gDAEzC;AAGK;IADL,IAAA,eAAM,EAAC,KAAK,CAAC;IACA,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;gDAExB;6BAhBU,kBAAkB;IAD9B,IAAA,mBAAU,EAAC,UAAU,CAAC;qCAEyB,kCAAe;GADlD,kBAAkB,CAiB9B"} \ No newline at end of file diff --git a/dist/profiles/profiles.module.d.ts b/dist/profiles/profiles.module.d.ts deleted file mode 100644 index 6ad4848..0000000 --- a/dist/profiles/profiles.module.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare class ProfilesModule { -} diff --git a/dist/profiles/profiles.module.js b/dist/profiles/profiles.module.js deleted file mode 100644 index 1fa8efb..0000000 --- a/dist/profiles/profiles.module.js +++ /dev/null @@ -1,23 +0,0 @@ -"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; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ProfilesModule = void 0; -const common_1 = require("@nestjs/common"); -const profiles_controller_1 = require("./profiles.controller"); -const profiles_service_1 = require("./profiles.service"); -let ProfilesModule = class ProfilesModule { -}; -exports.ProfilesModule = ProfilesModule; -exports.ProfilesModule = ProfilesModule = __decorate([ - (0, common_1.Module)({ - controllers: [profiles_controller_1.ProfilesController], - providers: [profiles_service_1.ProfilesService], - exports: [profiles_service_1.ProfilesService], - }) -], ProfilesModule); -//# sourceMappingURL=profiles.module.js.map \ No newline at end of file diff --git a/dist/profiles/profiles.module.js.map b/dist/profiles/profiles.module.js.map deleted file mode 100644 index cd86671..0000000 --- a/dist/profiles/profiles.module.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"profiles.module.js","sourceRoot":"","sources":["../../src/profiles/profiles.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAuC;AACvC,+DAA0D;AAC1D,yDAAoD;AAO7C,IAAM,cAAc,GAApB,MAAM,cAAc;CAAG,CAAA;AAAjB,wCAAc;yBAAd,cAAc;IAL1B,IAAA,eAAM,EAAC;QACN,WAAW,EAAE,CAAC,wCAAkB,CAAC;QACjC,SAAS,EAAE,CAAC,kCAAe,CAAC;QAC5B,OAAO,EAAE,CAAC,kCAAe,CAAC;KAC3B,CAAC;GACW,cAAc,CAAG"} \ No newline at end of file diff --git a/dist/profiles/profiles.service.d.ts b/dist/profiles/profiles.service.d.ts deleted file mode 100644 index 4783921..0000000 --- a/dist/profiles/profiles.service.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { OnModuleInit } from '@nestjs/common'; -import { PrismaService } from '../prisma/prisma.service'; -import { CreateProfileDto } from '../shared/dto/profile.dto'; -export declare class ProfilesService implements OnModuleInit { - private readonly prisma; - constructor(prisma: PrismaService); - onModuleInit(): Promise; - findAllActive(): Promise<{ - id: string; - createdAt: Date; - updatedAt: Date; - firstName: string; - lastName: string; - }[]>; - findActiveById(profileId: string): Promise<{ - id: string; - createdAt: Date; - updatedAt: Date; - firstName: string; - lastName: string; - isActive: boolean; - } | null>; - create(dto: CreateProfileDto): Promise<{ - id: string; - createdAt: Date; - updatedAt: Date; - firstName: string; - lastName: string; - isActive: boolean; - }>; - deactivate(profileId: string): Promise<{ - id: string; - createdAt: Date; - updatedAt: Date; - firstName: string; - lastName: string; - isActive: boolean; - } | null>; - private ensureDefaultProfile; -} diff --git a/dist/profiles/profiles.service.js b/dist/profiles/profiles.service.js deleted file mode 100644 index ddcd871..0000000 --- a/dist/profiles/profiles.service.js +++ /dev/null @@ -1,126 +0,0 @@ -"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); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ProfilesService = void 0; -const common_1 = require("@nestjs/common"); -const prisma_service_1 = require("../prisma/prisma.service"); -let ProfilesService = class ProfilesService { - prisma; - constructor(prisma) { - this.prisma = prisma; - } - async onModuleInit() { - await this.ensureDefaultProfile(); - } - async findAllActive() { - return this.prisma.profile.findMany({ - where: { isActive: true }, - orderBy: { createdAt: 'asc' }, - select: { - id: true, - firstName: true, - lastName: true, - createdAt: true, - updatedAt: true, - }, - }); - } - async findActiveById(profileId) { - if (!profileId) - return null; - return this.prisma.profile.findFirst({ - where: { - id: profileId, - isActive: true, - }, - select: { - id: true, - firstName: true, - lastName: true, - createdAt: true, - updatedAt: true, - isActive: true, - }, - }); - } - async create(dto) { - const firstName = dto.firstName.trim(); - const lastName = dto.lastName.trim(); - if (!firstName || !lastName) { - throw new common_1.BadRequestException('Le prénom et le nom sont obligatoires.'); - } - return this.prisma.profile.create({ - data: { - firstName, - lastName, - }, - select: { - id: true, - firstName: true, - lastName: true, - isActive: true, - createdAt: true, - updatedAt: true, - }, - }); - } - async deactivate(profileId) { - const existing = await this.prisma.profile.findUnique({ where: { id: profileId } }); - if (!existing) { - throw new common_1.NotFoundException('Profil introuvable'); - } - if (!existing.isActive) { - return this.prisma.profile.findUnique({ - where: { id: profileId }, - select: { - id: true, - firstName: true, - lastName: true, - isActive: true, - createdAt: true, - updatedAt: true, - }, - }); - } - return this.prisma.profile.update({ - where: { id: profileId }, - data: { isActive: false }, - select: { - id: true, - firstName: true, - lastName: true, - isActive: true, - createdAt: true, - updatedAt: true, - }, - }); - } - async ensureDefaultProfile() { - const count = await this.prisma.profile.count({ where: { isActive: true } }); - if (count > 0) - return; - const firstName = process.env.DEFAULT_PROFILE_FIRST_NAME?.trim() || 'Admin'; - const lastName = process.env.DEFAULT_PROFILE_LAST_NAME?.trim() || 'Général'; - await this.prisma.profile.create({ - data: { - firstName, - lastName, - isActive: true, - }, - }); - } -}; -exports.ProfilesService = ProfilesService; -exports.ProfilesService = ProfilesService = __decorate([ - (0, common_1.Injectable)(), - __metadata("design:paramtypes", [prisma_service_1.PrismaService]) -], ProfilesService); -//# sourceMappingURL=profiles.service.js.map \ No newline at end of file diff --git a/dist/profiles/profiles.service.js.map b/dist/profiles/profiles.service.js.map deleted file mode 100644 index b1e45cb..0000000 --- a/dist/profiles/profiles.service.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"profiles.service.js","sourceRoot":"","sources":["../../src/profiles/profiles.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAiG;AACjG,6DAAwD;AAIjD,IAAM,eAAe,GAArB,MAAM,eAAe;IACG;IAA7B,YAA6B,MAAqB;QAArB,WAAM,GAAN,MAAM,CAAe;IAAG,CAAC;IAEtD,KAAK,CAAC,YAAY;QAChB,MAAM,IAAI,CAAC,oBAAoB,EAAE,CAAA;IACnC,CAAC;IAED,KAAK,CAAC,aAAa;QACjB,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC;YAClC,KAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;YACzB,OAAO,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE;YAC7B,MAAM,EAAE;gBACN,EAAE,EAAE,IAAI;gBACR,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,IAAI;gBACd,SAAS,EAAE,IAAI;gBACf,SAAS,EAAE,IAAI;aAChB;SACF,CAAC,CAAA;IACJ,CAAC;IAED,KAAK,CAAC,cAAc,CAAC,SAAiB;QACpC,IAAI,CAAC,SAAS;YAAE,OAAO,IAAI,CAAA;QAE3B,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC;YACnC,KAAK,EAAE;gBACL,EAAE,EAAE,SAAS;gBACb,QAAQ,EAAE,IAAI;aACf;YACD,MAAM,EAAE;gBACN,EAAE,EAAE,IAAI;gBACR,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,IAAI;gBACd,SAAS,EAAE,IAAI;gBACf,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AAI;oBACd,SAAS,EAAE,IAAI;oBACf,SAAS,EAAE,IAAI;iBAChB;aACF,CAAC,CAAA;QACJ,CAAC;QAED,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC;YAChC,KAAK,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE;YACxB,IAAI,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE;YACzB,MAAM,EAAE;gBACN,EAAE,EAAE,IAAI;gBACR,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,IAAI;gBACd,QAAQ,EAAE,IAAI;gBACd,SAAS,EAAE,IAAI;gBACf,SAAS,EAAE,IAAI;aAChB;SACF,CAAC,CAAA;IACJ,CAAC;IAEO,KAAK,CAAC,oBAAoB;QAChC,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,CAAC,CAAA;QAC5E,IAAI,KAAK,GAAG,CAAC;YAAE,OAAM;QAErB,MAAM,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,IAAI,EAAE,IAAI,OAAO,CAAA;QAC3E,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,yBAAyB,EAAE,IAAI,EAAE,IAAI,SAAS,CAAA;QAE3E,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC;YAC/B,IAAI,EAAE;gBACJ,SAAS;gBACT,QAAQ;gBACR,QAAQ,EAAE,IAAI;aACf;SACF,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAjHY,0CAAe;0BAAf,eAAe;IAD3B,IAAA,mBAAU,GAAE;qCAE0B,8BAAa;GADvC,eAAe,CAiH3B"} \ No newline at end of file diff --git a/dist/session/session.controller.d.ts b/dist/session/session.controller.d.ts deleted file mode 100644 index fb8824b..0000000 --- a/dist/session/session.controller.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Request } from 'express'; -import { ProfilesService } from '../profiles/profiles.service'; -import { ActivateProfileDto } from '../shared/dto/profile.dto'; -export declare class ProfileSessionController { - private readonly profilesService; - constructor(profilesService: ProfilesService); - getActiveProfile(req: Request): Promise<{ - id: string; - createdAt: Date; - updatedAt: Date; - firstName: string; - lastName: string; - isActive: boolean; - }>; - activateProfile(req: Request, dto: ActivateProfileDto): Promise<{ - id: string; - createdAt: Date; - updatedAt: Date; - firstName: string; - lastName: string; - isActive: boolean; - }>; - logout(req: Request): Promise; -} diff --git a/dist/session/session.controller.js b/dist/session/session.controller.js deleted file mode 100644 index 21f8db9..0000000 --- a/dist/session/session.controller.js +++ /dev/null @@ -1,87 +0,0 @@ -"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.ProfileSessionController = void 0; -const common_1 = require("@nestjs/common"); -const profiles_service_1 = require("../profiles/profiles.service"); -const profile_dto_1 = require("../shared/dto/profile.dto"); -let ProfileSessionController = class ProfileSessionController { - profilesService; - constructor(profilesService) { - this.profilesService = profilesService; - } - async getActiveProfile(req) { - if (!req.session?.profileId) { - throw new common_1.UnauthorizedException('Aucun profil actif.'); - } - const profile = await this.profilesService.findActiveById(req.session.profileId); - if (!profile) { - req.session.profileId = undefined; - throw new common_1.UnauthorizedException('Profil introuvable ou inactif.'); - } - return profile; - } - async activateProfile(req, dto) { - if (!dto.profileId) { - throw new common_1.BadRequestException('profileId est requis.'); - } - const profile = await this.profilesService.findActiveById(dto.profileId); - if (!profile) { - throw new common_1.UnauthorizedException('Profil introuvable ou inactif.'); - } - req.session.profileId = profile.id; - return profile; - } - async logout(req) { - if (!req.session) { - return { success: true }; - } - return new Promise((resolve, reject) => { - req.session.destroy((err) => { - if (err) { - return reject(new common_1.BadRequestException('Impossible de déconnecter la session.')); - } - resolve({ success: true }); - }); - }); - } -}; -exports.ProfileSessionController = ProfileSessionController; -__decorate([ - (0, common_1.Get)(), - __param(0, (0, common_1.Req)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Promise) -], ProfileSessionController.prototype, "getActiveProfile", null); -__decorate([ - (0, common_1.Post)(), - __param(0, (0, common_1.Req)()), - __param(1, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, profile_dto_1.ActivateProfileDto]), - __metadata("design:returntype", Promise) -], ProfileSessionController.prototype, "activateProfile", null); -__decorate([ - (0, common_1.Delete)(), - __param(0, (0, common_1.Req)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Promise) -], ProfileSessionController.prototype, "logout", null); -exports.ProfileSessionController = ProfileSessionController = __decorate([ - (0, common_1.Controller)('session/profile'), - __metadata("design:paramtypes", [profiles_service_1.ProfilesService]) -], ProfileSessionController); -//# sourceMappingURL=session.controller.js.map \ No newline at end of file diff --git a/dist/session/session.controller.js.map b/dist/session/session.controller.js.map deleted file mode 100644 index e1f8677..0000000 --- a/dist/session/session.controller.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"session.controller.js","sourceRoot":"","sources":["../../src/session/session.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CASuB;AAEvB,mEAA8D;AAC9D,2DAA8D;AAGvD,IAAM,w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AAE,MAAM,EAAE,EAAE;YACrC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;gBAC1B,IAAI,GAAG,EAAE,CAAC;oBACR,OAAO,MAAM,CAAC,IAAI,4BAAmB,CAAC,uCAAuC,CAAC,CAAC,CAAA;gBACjF,CAAC;gBACD,OAAO,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAA;YAC5B,CAAC,CAAC,CAAA;QACJ,CAAC,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAhDY,4DAAwB;AAI7B;IADL,IAAA,YAAG,GAAE;IACkB,WAAA,IAAA,YAAG,GAAE,CAAA;;;;gEAY5B;AAGK;IADL,IAAA,aAAI,GAAE;IACgB,WAAA,IAAA,YAAG,GAAE,CAAA;IAAgB,WAAA,IAAA,aAAI,GAAE,CAAA;;6CAAM,gCAAkB;;+DAYzE;AAGK;IADL,IAAA,eAAM,GAAE;IACK,WAAA,IAAA,YAAG,GAAE,CAAA;;;;sDAalB;mCA/CU,wBAAwB;IADpC,IAAA,mBAAU,EAAC,iBAAiB,CAAC;qCAEkB,kCAAe;GADlD,wBAAwB,CAgDpC"} \ No newline at end of file diff --git a/dist/session/session.module.d.ts b/dist/session/session.module.d.ts deleted file mode 100644 index 15b6f03..0000000 --- a/dist/session/session.module.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare class SessionModule { -} diff --git a/dist/session/session.module.js b/dist/session/session.module.js deleted file mode 100644 index 7b5ba84..0000000 --- a/dist/session/session.module.js +++ /dev/null @@ -1,22 +0,0 @@ -"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; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.SessionModule = void 0; -const common_1 = require("@nestjs/common"); -const session_controller_1 = require("./session.controller"); -const profiles_module_1 = require("../profiles/profiles.module"); -let SessionModule = class SessionModule { -}; -exports.SessionModule = SessionModule; -exports.SessionModule = SessionModule = __decorate([ - (0, common_1.Module)({ - imports: [profiles_module_1.ProfilesModule], - controllers: [session_controller_1.ProfileSessionController], - }) -], SessionModule); -//# sourceMappingURL=session.module.js.map \ No newline at end of file diff --git a/dist/session/session.module.js.map b/dist/session/session.module.js.map deleted file mode 100644 index e242f9c..0000000 --- a/dist/session/session.module.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"session.module.js","sourceRoot":"","sources":["../../src/session/session.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAuC;AACvC,6DAA+D;AAC/D,iEAA4D;AAMrD,IAAM,aAAa,GAAnB,MAAM,aAAa;CAAG,CAAA;AAAhB,sCAAa;wBAAb,aAAa;IAJzB,IAAA,eAAM,EAAC;QACN,OAAO,EAAE,CAAC,gCAAc,CAAC;QACzB,WAAW,EAAE,CAAC,6CAAwB,CAAC;KACxC,CAAC;GACW,aAAa,CAAG"} \ No newline at end of file diff --git a/dist/shared/dto/composant.dto.d.ts b/dist/shared/dto/composant.dto.d.ts deleted file mode 100644 index 31da191..0000000 --- a/dist/shared/dto/composant.dto.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -export declare class CreateComposantDto { - name: string; - machineId?: string; - parentComposantId?: string; - reference?: string; - constructeurId?: string; - prix?: number | null; - emplacement?: string; - typeComposantId?: string; -} -export declare class UpdateComposantDto { - name?: string; - reference?: string; - constructeurId?: string; - prix?: number | null; - emplacement?: string; - typeComposantId?: string; -} diff --git a/dist/shared/dto/composant.dto.js b/dist/shared/dto/composant.dto.js deleted file mode 100644 index 7ce1c83..0000000 --- a/dist/shared/dto/composant.dto.js +++ /dev/null @@ -1,106 +0,0 @@ -"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); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.UpdateComposantDto = exports.CreateComposantDto = void 0; -const class_validator_1 = require("class-validator"); -const class_transformer_1 = require("class-transformer"); -class CreateComposantDto { - name; - machineId; - parentComposantId; - reference; - constructeurId; - prix; - emplacement; - typeComposantId; -} -exports.CreateComposantDto = CreateComposantDto; -__decorate([ - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateComposantDto.prototype, "name", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateComposantDto.prototype, "machineId", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateComposantDto.prototype, "parentComposantId", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateComposantDto.prototype, "reference", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateComposantDto.prototype, "constructeurId", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_transformer_1.Transform)(({ value }) => value === '' ? null : value), - (0, class_validator_1.IsNumber)({}, { message: 'prix must be a valid number' }), - __metadata("design:type", Object) -], CreateComposantDto.prototype, "prix", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateComposantDto.prototype, "emplacement", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateComposantDto.prototype, "typeComposantId", void 0); -class UpdateComposantDto { - name; - reference; - constructeurId; - prix; - emplacement; - typeComposantId; -} -exports.UpdateComposantDto = UpdateComposantDto; -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateComposantDto.prototype, "name", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateComposantDto.prototype, "reference", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateComposantDto.prototype, "constructeurId", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_transformer_1.Transform)(({ value }) => value === '' ? null : value), - (0, class_validator_1.IsNumber)({}, { message: 'prix must be a valid number' }), - __metadata("design:type", Object) -], UpdateComposantDto.prototype, "prix", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateComposantDto.prototype, "emplacement", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateComposantDto.prototype, "typeComposantId", void 0); -//# sourceMappingURL=composant.dto.js.map \ No newline at end of file diff --git a/dist/shared/dto/composant.dto.js.map b/dist/shared/dto/composant.dto.js.map deleted file mode 100644 index 424ff65..0000000 --- a/dist/shared/dto/composant.dto.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"composant.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/composant.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,yDAA8C;AAE9C,MAAa,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;AAKxB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;IACrD,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAAC;;gDACpC;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACc"} \ No newline at end of file diff --git a/dist/shared/dto/constructeur.dto.d.ts b/dist/shared/dto/constructeur.dto.d.ts deleted file mode 100644 index 074c8e0..0000000 --- a/dist/shared/dto/constructeur.dto.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export declare class CreateConstructeurDto { - name: string; - email?: string; - phone?: string; -} -export declare class UpdateConstructeurDto { - name?: string; - email?: string; - phone?: string; -} diff --git a/dist/shared/dto/constructeur.dto.js b/dist/shared/dto/constructeur.dto.js deleted file mode 100644 index aac852b..0000000 --- a/dist/shared/dto/constructeur.dto.js +++ /dev/null @@ -1,55 +0,0 @@ -"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); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.UpdateConstructeurDto = exports.CreateConstructeurDto = void 0; -const class_validator_1 = require("class-validator"); -class CreateConstructeurDto { - name; - email; - phone; -} -exports.CreateConstructeurDto = CreateConstructeurDto; -__decorate([ - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateConstructeurDto.prototype, "name", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsEmail)(), - __metadata("design:type", String) -], CreateConstructeurDto.prototype, "email", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateConstructeurDto.prototype, "phone", void 0); -class UpdateConstructeurDto { - name; - email; - phone; -} -exports.UpdateConstructeurDto = UpdateConstructeurDto; -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateConstructeurDto.prototype, "name", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsEmail)(), - __metadata("design:type", String) -], UpdateConstructeurDto.prototype, "email", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateConstructeurDto.prototype, "phone", void 0); -//# sourceMappingURL=constructeur.dto.js.map \ No newline at end of file diff --git a/dist/shared/dto/constructeur.dto.js.map b/dist/shared/dto/constructeur.dto.js.map deleted file mode 100644 index 238e6a5..0000000 --- a/dist/shared/dto/constructeur.dto.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"constructeur.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/constructeur.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAE/D,MAAa,qBAAqB;IAEhC,IAAI,CAAQ;IAIZ,KAAK,CAAS;IAId,KAAK,CAAS;CACf;AAXD,sDAWC;AATC;IADC,IAAA,0BAAQ,GAAE;;mDACC;AAIZ;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;oDACI;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACG;AAGhB,MAAa,qBAAqB;IAGhC,IAAI,CAAS;IAIb,KAAK,CAAS;IAId,KAAK,CAAS;CACf;AAZD,sDAYC;AATC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;oDACI;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACG"} \ No newline at end of file diff --git a/dist/shared/dto/custom-field.dto.d.ts b/dist/shared/dto/custom-field.dto.d.ts deleted file mode 100644 index 402fdbc..0000000 --- a/dist/shared/dto/custom-field.dto.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export declare class CreateCustomFieldValueDto { - customFieldId: string; - value: string; - machineId?: string; - composantId?: string; - pieceId?: string; -} -export declare class UpdateCustomFieldValueDto { - value?: string; -} diff --git a/dist/shared/dto/custom-field.dto.js b/dist/shared/dto/custom-field.dto.js deleted file mode 100644 index 16c44f8..0000000 --- a/dist/shared/dto/custom-field.dto.js +++ /dev/null @@ -1,56 +0,0 @@ -"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); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.UpdateCustomFieldValueDto = exports.CreateCustomFieldValueDto = void 0; -const class_validator_1 = require("class-validator"); -class CreateCustomFieldValueDto { - customFieldId; - value; - machineId; - composantId; - pieceId; -} -exports.CreateCustomFieldValueDto = CreateCustomFieldValueDto; -__decorate([ - (0, class_validator_1.IsString)(), - (0, class_validator_1.IsNotEmpty)(), - __metadata("design:type", String) -], CreateCustomFieldValueDto.prototype, "customFieldId", void 0); -__decorate([ - (0, class_validator_1.IsString)(), - (0, class_validator_1.IsNotEmpty)(), - __metadata("design:type", String) -], CreateCustomFieldValueDto.prototype, "value", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateCustomFieldValueDto.prototype, "machineId", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateCustomFieldValueDto.prototype, "composantId", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateCustomFieldValueDto.prototype, "pieceId", void 0); -class UpdateCustomFieldValueDto { - value; -} -exports.UpdateCustomFieldValueDto = UpdateCustomFieldValueDto; -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateCustomFieldValueDto.prototype, "value", void 0); -//# sourceMappingURL=custom-field.dto.js.map \ No newline at end of file diff --git a/dist/shared/dto/custom-field.dto.js.map b/dist/shared/dto/custom-field.dto.js.map deleted file mode 100644 index cb99968..0000000 --- a/dist/shared/dto/custom-field.dto.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"custom-field.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/custom-field.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AAEnE,MAAa,yBAAyB;IAGpC,aAAa,CAAS;IAItB,KAAK,CAAS;IAId,SAAS,CAAU;IAInB,WAAW,CAAU;IAIrB,OAAO,CAAU;CAClB;AApBD,8DAoBC;AAjBC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACS;AAItB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACC;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8DACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0DACM;AAGnB,MAAa,yBAAyB;IAGpC,KAAK,CAAU;CAChB;AAJD,8DAIC;AADC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACI"} \ No newline at end of file diff --git a/dist/shared/dto/document.dto.d.ts b/dist/shared/dto/document.dto.d.ts deleted file mode 100644 index 8b1b084..0000000 --- a/dist/shared/dto/document.dto.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -export declare class CreateDocumentDto { - name: string; - filename: string; - path: string; - mimeType: string; - size: number; - machineId?: string; - composantId?: string; - pieceId?: string; - siteId?: string; -} -export declare class UpdateDocumentDto { - name?: string; - filename?: string; - path?: string; - mimeType?: string; - size?: number; - siteId?: string; -} diff --git a/dist/shared/dto/document.dto.js b/dist/shared/dto/document.dto.js deleted file mode 100644 index 588bbd0..0000000 --- a/dist/shared/dto/document.dto.js +++ /dev/null @@ -1,105 +0,0 @@ -"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); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.UpdateDocumentDto = exports.CreateDocumentDto = void 0; -const class_validator_1 = require("class-validator"); -class CreateDocumentDto { - name; - filename; - path; - mimeType; - size; - machineId; - composantId; - pieceId; - siteId; -} -exports.CreateDocumentDto = CreateDocumentDto; -__decorate([ - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateDocumentDto.prototype, "name", void 0); -__decorate([ - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateDocumentDto.prototype, "filename", void 0); -__decorate([ - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateDocumentDto.prototype, "path", void 0); -__decorate([ - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateDocumentDto.prototype, "mimeType", void 0); -__decorate([ - (0, class_validator_1.IsNumber)(), - __metadata("design:type", Number) -], CreateDocumentDto.prototype, "size", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateDocumentDto.prototype, "machineId", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateDocumentDto.prototype, "composantId", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateDocumentDto.prototype, "pieceId", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateDocumentDto.prototype, "siteId", void 0); -class UpdateDocumentDto { - name; - filename; - path; - mimeType; - size; - siteId; -} -exports.UpdateDocumentDto = UpdateDocumentDto; -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateDocumentDto.prototype, "name", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateDocumentDto.prototype, "filename", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateDocumentDto.prototype, "path", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateDocumentDto.prototype, "mimeType", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsNumber)(), - __metadata("design:type", Number) -], UpdateDocumentDto.prototype, "size", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateDocumentDto.prototype, "siteId", void 0); -//# sourceMappingURL=document.dto.js.map \ No newline at end of file diff --git a/dist/shared/dto/document.dto.js.map b/dist/shared/dto/document.dto.js.map deleted file mode 100644 index 2307483..0000000 --- a/dist/shared/dto/document.dto.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"document.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/document.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAEjE,MAAa,iBAAiB;IAE5B,IAAI,CAAS;IAGb,QAAQ,CAAS;IAGjB,IAAI,CAAS;IAGb,QAAQ,CAAS;IAGjB,IAAI,CAAS;IAIb,SAAS,CAAU;IAInB,WAAW,CAAU;IAIrB,OAAO,CAAU;IAIjB,MAAM,CAAU;CACjB;AA/BD,8CA+BC;AA7BC;IADC,IAAA,0BAAQ,GAAE;;+CACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;mDACM;AAGjB;IADC,IAAA,0BAAQ,GAAE;;+CACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;mDACM;AAGjB;IADC,IAAA,0BAAQ,GAAE;;+CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACM;AAIjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACK;AAGlB,MAAa,iBAAiB;IAG5B,IAAI,CAAU;IAId,QAAQ,CAAU;IAIlB,IAAI,CAAU;IAId,QAAQ,CAAU;IAIlB,IAAI,CAAU;IAId,MAAM,CAAU;CACjB;AAxBD,8CAwBC;AArBC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACO;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACO;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACK"} \ No newline at end of file diff --git a/dist/shared/dto/machine.dto.d.ts b/dist/shared/dto/machine.dto.d.ts deleted file mode 100644 index 83ea332..0000000 --- a/dist/shared/dto/machine.dto.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -export declare class CreateMachineDto { - name: string; - siteId: string; - reference?: string; - constructeurId?: string; - prix?: string; - emplacement?: string; - typeMachineId?: string; -} -export declare class UpdateMachineDto { - name?: string; - reference?: string; - constructeurId?: string; - prix?: string; - emplacement?: string; - typeMachineId?: string; -} diff --git a/dist/shared/dto/machine.dto.js b/dist/shared/dto/machine.dto.js deleted file mode 100644 index 8ba480d..0000000 --- a/dist/shared/dto/machine.dto.js +++ /dev/null @@ -1,96 +0,0 @@ -"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); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.UpdateMachineDto = exports.CreateMachineDto = void 0; -const class_validator_1 = require("class-validator"); -class CreateMachineDto { - name; - siteId; - reference; - constructeurId; - prix; - emplacement; - typeMachineId; -} -exports.CreateMachineDto = CreateMachineDto; -__decorate([ - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateMachineDto.prototype, "name", void 0); -__decorate([ - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateMachineDto.prototype, "siteId", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateMachineDto.prototype, "reference", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateMachineDto.prototype, "constructeurId", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsDecimal)(), - __metadata("design:type", String) -], CreateMachineDto.prototype, "prix", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateMachineDto.prototype, "emplacement", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateMachineDto.prototype, "typeMachineId", void 0); -class UpdateMachineDto { - name; - reference; - constructeurId; - prix; - emplacement; - typeMachineId; -} -exports.UpdateMachineDto = UpdateMachineDto; -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateMachineDto.prototype, "name", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateMachineDto.prototype, "reference", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateMachineDto.prototype, "constructeurId", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsDecimal)(), - __metadata("design:type", String) -], UpdateMachineDto.prototype, "prix", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateMachineDto.prototype, "emplacement", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateMachineDto.prototype, "typeMachineId", void 0); -//# sourceMappingURL=machine.dto.js.map \ No newline at end of file diff --git a/dist/shared/dto/machine.dto.js.map b/dist/shared/dto/machine.dto.js.map deleted file mode 100644 index 50b0005..0000000 --- a/dist/shared/dto/machine.dto.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"machine.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/machine.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkE;AAElE,MAAa,gBAAgB;IAE3B,IAAI,CAAS;IAGb,MAAM,CAAS;IAIf,SAAS,CAAU;IAInB,cAAc,CAAU;IAIxB,IAAI,CAAU;IAId,WAAW,CAAU;IAIrB,aAAa,CAAU;CACxB;AA1BD,4CA0BC;AAxBC;IADC,IAAA,0BAAQ,GAAE;;8CACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;gDACI;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACa;AAIxB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;8CACE;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACY;AAGzB,MAAa,gBAAgB;IAG3B,IAAI,CAAU;IAId,SAAS,CAAU;IAInB,cAAc,CAAU;IAIxB,IAAI,CAAU;IAId,WAAW,CAAU;IAIrB,aAAa,CAAU;CACxB;AAxBD,4CAwBC;AArBC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACa;AAIxB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;8CACE;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACY"} \ No newline at end of file diff --git a/dist/shared/dto/piece.dto.d.ts b/dist/shared/dto/piece.dto.d.ts deleted file mode 100644 index ab673e9..0000000 --- a/dist/shared/dto/piece.dto.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -export declare class CreatePieceDto { - name: string; - machineId?: string; - composantId?: string; - reference?: string; - constructeurId?: string; - prix?: number | null; - emplacement?: string; - typePieceId?: string; -} -export declare class UpdatePieceDto { - name?: string; - reference?: string; - constructeurId?: string; - prix?: number | null; - emplacement?: string; - typePieceId?: string; -} diff --git a/dist/shared/dto/piece.dto.js b/dist/shared/dto/piece.dto.js deleted file mode 100644 index 5494a12..0000000 --- a/dist/shared/dto/piece.dto.js +++ /dev/null @@ -1,106 +0,0 @@ -"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); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.UpdatePieceDto = exports.CreatePieceDto = void 0; -const class_validator_1 = require("class-validator"); -const class_transformer_1 = require("class-transformer"); -class CreatePieceDto { - name; - machineId; - composantId; - reference; - constructeurId; - prix; - emplacement; - typePieceId; -} -exports.CreatePieceDto = CreatePieceDto; -__decorate([ - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreatePieceDto.prototype, "name", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreatePieceDto.prototype, "machineId", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreatePieceDto.prototype, "composantId", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreatePieceDto.prototype, "reference", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreatePieceDto.prototype, "constructeurId", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_transformer_1.Transform)(({ value }) => value === '' ? null : value), - (0, class_validator_1.IsNumber)({}, { message: 'prix must be a valid number' }), - __metadata("design:type", Object) -], CreatePieceDto.prototype, "prix", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreatePieceDto.prototype, "emplacement", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreatePieceDto.prototype, "typePieceId", void 0); -class UpdatePieceDto { - name; - reference; - constructeurId; - prix; - emplacement; - typePieceId; -} -exports.UpdatePieceDto = UpdatePieceDto; -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdatePieceDto.prototype, "name", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdatePieceDto.prototype, "reference", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdatePieceDto.prototype, "constructeurId", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_transformer_1.Transform)(({ value }) => value === '' ? null : value), - (0, class_validator_1.IsNumber)({}, { message: 'prix must be a valid number' }), - __metadata("design:type", Object) -], UpdatePieceDto.prototype, "prix", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdatePieceDto.prototype, "emplacement", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdatePieceDto.prototype, "typePieceId", void 0); -//# sourceMappingURL=piece.dto.js.map \ No newline at end of file diff --git a/dist/shared/dto/piece.dto.js.map b/dist/shared/dto/piece.dto.js.map deleted file mode 100644 index d92cdc7..0000000 --- a/dist/shared/dto/piece.dto.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"piece.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/piece.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,yDAA8C;AAE9C,MAAa,cAAc;IAEzB,IAAI,CAAS;IAIb,SAAS,CAAU;IAInB,WAAW,CAAU;IAIrB,SAAS,CAAU;IAInB,cAAc,CAAU;IAKxB,IAAI,CAAiB;IAIrB,WAAW,CAAU;IAIrB,WAAW,CAAU;CACtB;AAhCD,wCAgCC;AA9BC;IADC,IAAA,0BAAQ,GAAE;;4CACE;AAIb;IAF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AAE,CAAC;;4CACpC;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACU"} \ No newline at end of file diff --git a/dist/shared/dto/profile.dto.d.ts b/dist/shared/dto/profile.dto.d.ts deleted file mode 100644 index 985f1f5..0000000 --- a/dist/shared/dto/profile.dto.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export declare class CreateProfileDto { - firstName: string; - lastName: string; -} -export declare class ActivateProfileDto { - profileId: string; -} diff --git a/dist/shared/dto/profile.dto.js b/dist/shared/dto/profile.dto.js deleted file mode 100644 index ce10922..0000000 --- a/dist/shared/dto/profile.dto.js +++ /dev/null @@ -1,40 +0,0 @@ -"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); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ActivateProfileDto = exports.CreateProfileDto = void 0; -const class_validator_1 = require("class-validator"); -class CreateProfileDto { - firstName; - lastName; -} -exports.CreateProfileDto = CreateProfileDto; -__decorate([ - (0, class_validator_1.IsString)(), - (0, class_validator_1.IsNotEmpty)(), - (0, class_validator_1.MaxLength)(100), - __metadata("design:type", String) -], CreateProfileDto.prototype, "firstName", void 0); -__decorate([ - (0, class_validator_1.IsString)(), - (0, class_validator_1.IsNotEmpty)(), - (0, class_validator_1.MaxLength)(100), - __metadata("design:type", String) -], CreateProfileDto.prototype, "lastName", void 0); -class ActivateProfileDto { - profileId; -} -exports.ActivateProfileDto = ActivateProfileDto; -__decorate([ - (0, class_validator_1.IsString)(), - (0, class_validator_1.IsNotEmpty)(), - __metadata("design:type", String) -], ActivateProfileDto.prototype, "profileId", void 0); -//# sourceMappingURL=profile.dto.js.map \ No newline at end of file diff --git a/dist/shared/dto/profile.dto.js.map b/dist/shared/dto/profile.dto.js.map deleted file mode 100644 index cfc224c..0000000 --- a/dist/shared/dto/profile.dto.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"profile.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/profile.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAEjE,MAAa,gBAAgB;IAI3B,SAAS,CAAS;IAKlB,QAAQ,CAAS;CAClB;AAVD,4CAUC;AANC;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;mDACG;AAKlB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;kDACE;AAGnB,MAAa,kBAAkB;IAG7B,SAAS,CAAS;CACnB;AAJD,gDAIC;AADC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACK"} \ No newline at end of file diff --git a/dist/shared/dto/site.dto.d.ts b/dist/shared/dto/site.dto.d.ts deleted file mode 100644 index 38d5e1c..0000000 --- a/dist/shared/dto/site.dto.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export declare class CreateSiteDto { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; -} -export declare class UpdateSiteDto { - name?: string; - contactName?: string; - contactPhone?: string; - contactAddress?: string; - contactPostalCode?: string; - contactCity?: string; -} diff --git a/dist/shared/dto/site.dto.js b/dist/shared/dto/site.dto.js deleted file mode 100644 index 4ebaa10..0000000 --- a/dist/shared/dto/site.dto.js +++ /dev/null @@ -1,86 +0,0 @@ -"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); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.UpdateSiteDto = exports.CreateSiteDto = void 0; -const class_validator_1 = require("class-validator"); -class CreateSiteDto { - name; - contactName; - contactPhone; - contactAddress; - contactPostalCode; - contactCity; -} -exports.CreateSiteDto = CreateSiteDto; -__decorate([ - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateSiteDto.prototype, "name", void 0); -__decorate([ - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateSiteDto.prototype, "contactName", void 0); -__decorate([ - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateSiteDto.prototype, "contactPhone", void 0); -__decorate([ - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateSiteDto.prototype, "contactAddress", void 0); -__decorate([ - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateSiteDto.prototype, "contactPostalCode", void 0); -__decorate([ - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateSiteDto.prototype, "contactCity", void 0); -class UpdateSiteDto { - name; - contactName; - contactPhone; - contactAddress; - contactPostalCode; - contactCity; -} -exports.UpdateSiteDto = UpdateSiteDto; -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateSiteDto.prototype, "name", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateSiteDto.prototype, "contactName", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateSiteDto.prototype, "contactPhone", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateSiteDto.prototype, "contactAddress", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateSiteDto.prototype, "contactPostalCode", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateSiteDto.prototype, "contactCity", void 0); -//# sourceMappingURL=site.dto.js.map \ No newline at end of file diff --git a/dist/shared/dto/site.dto.js.map b/dist/shared/dto/site.dto.js.map deleted file mode 100644 index c461cdb..0000000 --- a/dist/shared/dto/site.dto.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"site.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/site.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,aAAa;IAExB,IAAI,CAAS;IAGb,WAAW,CAAS;IAGpB,YAAY,CAAS;IAGrB,cAAc,CAAS;IAGvB,iBAAiB,CAAS;IAG1B,WAAW,CAAS;CACrB;AAlBD,sCAkBC;AAhBC;IADC,IAAA,0BAAQ,GAAE;;2CACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;kDACS;AAGpB;IADC,IAAA,0BAAQ,GAAE;;mDACU;AAGrB;IADC,IAAA,0BAAQ,GAAE;;qDACY;AAGvB;IADC,IAAA,0BAAQ,GAAE;;wDACe;AAG1B;IADC,IAAA,0BAAQ,GAAE;;kDACS;AAGtB,MAAa,aAAa;IAGxB,IAAI,CAAU;IAId,WAAW,CAAU;IAIrB,YAAY,CAAU;IAItB,cAAc,CAAU;IAIxB,iBAAiB,CAAU;IAI3B,WAAW,CAAU;CACtB;AAxBD,sCAwBC;AArBC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACW;AAItB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACa;AAIxB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACgB;AAI3B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACU"} \ No newline at end of file diff --git a/dist/shared/dto/type.dto.d.ts b/dist/shared/dto/type.dto.d.ts deleted file mode 100644 index d9c9448..0000000 --- a/dist/shared/dto/type.dto.d.ts +++ /dev/null @@ -1,59 +0,0 @@ -export declare enum CustomFieldType { - TEXT = "text", - NUMBER = "number", - SELECT = "select", - BOOLEAN = "boolean", - DATE = "date" -} -export declare class CreateCustomFieldDto { - name: string; - type: CustomFieldType; - required?: boolean; - defaultValue?: string; - options?: string[]; -} -export declare class UpdateCustomFieldDto { - name?: string; - type?: CustomFieldType; - required?: boolean; - defaultValue?: string; - options?: string[]; -} -export declare class CreateTypeMachineDto { - name: string; - description?: string; - category?: string; - maintenanceFrequency?: string; - components?: any[]; - machinePieces?: string[]; - customFields?: CreateCustomFieldDto[]; -} -export declare class UpdateTypeMachineDto { - name?: string; - description?: string; - category?: string; - maintenanceFrequency?: string; - components?: any[]; - machinePieces?: string[]; - customFields?: CreateCustomFieldDto[]; -} -export declare class CreateTypeComposantDto { - name: string; - description?: string; - customFields?: CreateCustomFieldDto[]; -} -export declare class UpdateTypeComposantDto { - name?: string; - description?: string; - customFields?: CreateCustomFieldDto[]; -} -export declare class CreateTypePieceDto { - name: string; - description?: string; - customFields?: CreateCustomFieldDto[]; -} -export declare class UpdateTypePieceDto { - name?: string; - description?: string; - customFields?: CreateCustomFieldDto[]; -} diff --git a/dist/shared/dto/type.dto.js b/dist/shared/dto/type.dto.js deleted file mode 100644 index b9641cf..0000000 --- a/dist/shared/dto/type.dto.js +++ /dev/null @@ -1,257 +0,0 @@ -"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); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.UpdateTypePieceDto = exports.CreateTypePieceDto = exports.UpdateTypeComposantDto = exports.CreateTypeComposantDto = exports.UpdateTypeMachineDto = exports.CreateTypeMachineDto = exports.UpdateCustomFieldDto = exports.CreateCustomFieldDto = exports.CustomFieldType = void 0; -const class_validator_1 = require("class-validator"); -var CustomFieldType; -(function (CustomFieldType) { - CustomFieldType["TEXT"] = "text"; - CustomFieldType["NUMBER"] = "number"; - CustomFieldType["SELECT"] = "select"; - CustomFieldType["BOOLEAN"] = "boolean"; - CustomFieldType["DATE"] = "date"; -})(CustomFieldType || (exports.CustomFieldType = CustomFieldType = {})); -class CreateCustomFieldDto { - name; - type; - required; - defaultValue; - options; -} -exports.CreateCustomFieldDto = CreateCustomFieldDto; -__decorate([ - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateCustomFieldDto.prototype, "name", void 0); -__decorate([ - (0, class_validator_1.IsEnum)(CustomFieldType), - __metadata("design:type", String) -], CreateCustomFieldDto.prototype, "type", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsBoolean)(), - __metadata("design:type", Boolean) -], CreateCustomFieldDto.prototype, "required", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateCustomFieldDto.prototype, "defaultValue", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsArray)(), - __metadata("design:type", Array) -], CreateCustomFieldDto.prototype, "options", void 0); -class UpdateCustomFieldDto { - name; - type; - required; - defaultValue; - options; -} -exports.UpdateCustomFieldDto = UpdateCustomFieldDto; -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateCustomFieldDto.prototype, "name", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsEnum)(CustomFieldType), - __metadata("design:type", String) -], UpdateCustomFieldDto.prototype, "type", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsBoolean)(), - __metadata("design:type", Boolean) -], UpdateCustomFieldDto.prototype, "required", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateCustomFieldDto.prototype, "defaultValue", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsArray)(), - __metadata("design:type", Array) -], UpdateCustomFieldDto.prototype, "options", void 0); -class CreateTypeMachineDto { - name; - description; - category; - maintenanceFrequency; - components; - machinePieces; - customFields; -} -exports.CreateTypeMachineDto = CreateTypeMachineDto; -__decorate([ - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateTypeMachineDto.prototype, "name", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateTypeMachineDto.prototype, "description", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateTypeMachineDto.prototype, "category", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateTypeMachineDto.prototype, "maintenanceFrequency", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsArray)(), - __metadata("design:type", Array) -], CreateTypeMachineDto.prototype, "components", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsArray)(), - __metadata("design:type", Array) -], CreateTypeMachineDto.prototype, "machinePieces", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsArray)(), - __metadata("design:type", Array) -], CreateTypeMachineDto.prototype, "customFields", void 0); -class UpdateTypeMachineDto { - name; - description; - category; - maintenanceFrequency; - components; - machinePieces; - customFields; -} -exports.UpdateTypeMachineDto = UpdateTypeMachineDto; -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateTypeMachineDto.prototype, "name", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateTypeMachineDto.prototype, "description", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateTypeMachineDto.prototype, "category", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateTypeMachineDto.prototype, "maintenanceFrequency", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsArray)(), - __metadata("design:type", Array) -], UpdateTypeMachineDto.prototype, "components", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsArray)(), - __metadata("design:type", Array) -], UpdateTypeMachineDto.prototype, "machinePieces", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsArray)(), - __metadata("design:type", Array) -], UpdateTypeMachineDto.prototype, "customFields", void 0); -class CreateTypeComposantDto { - name; - description; - customFields; -} -exports.CreateTypeComposantDto = CreateTypeComposantDto; -__decorate([ - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateTypeComposantDto.prototype, "name", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateTypeComposantDto.prototype, "description", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsArray)(), - __metadata("design:type", Array) -], CreateTypeComposantDto.prototype, "customFields", void 0); -class UpdateTypeComposantDto { - name; - description; - customFields; -} -exports.UpdateTypeComposantDto = UpdateTypeComposantDto; -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateTypeComposantDto.prototype, "name", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateTypeComposantDto.prototype, "description", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsArray)(), - __metadata("design:type", Array) -], UpdateTypeComposantDto.prototype, "customFields", void 0); -class CreateTypePieceDto { - name; - description; - customFields; -} -exports.CreateTypePieceDto = CreateTypePieceDto; -__decorate([ - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateTypePieceDto.prototype, "name", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], CreateTypePieceDto.prototype, "description", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsArray)(), - __metadata("design:type", Array) -], CreateTypePieceDto.prototype, "customFields", void 0); -class UpdateTypePieceDto { - name; - description; - customFields; -} -exports.UpdateTypePieceDto = UpdateTypePieceDto; -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateTypePieceDto.prototype, "name", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsString)(), - __metadata("design:type", String) -], UpdateTypePieceDto.prototype, "description", void 0); -__decorate([ - (0, class_validator_1.IsOptional)(), - (0, class_validator_1.IsArray)(), - __metadata("design:type", Array) -], UpdateTypePieceDto.prototype, "customFields", void 0); -//# sourceMappingURL=type.dto.js.map \ No newline at end of file diff --git a/dist/shared/dto/type.dto.js.map b/dist/shared/dto/type.dto.js.map deleted file mode 100644 index 52f7156..0000000 --- a/dist/shared/dto/type.dto.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"type.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/type.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6F;AAE7F,IAAY,eAMX;AAND,WAAY,eAAe;IACzB,gCAAa,CAAA;IACb,oCAAiB,CAAA;IACjB,oCAAiB,CAAA;IACjB,sCAAmB,CAAA;IACnB,gCAAa,CAAA;AACf,CAAC,EANW,eAAe,+BAAf,eAAe,QAM1B;AAED,MAAa,oBAAoB;IAE/B,IAAI,CAAS;IAGb,IAAI,CAAkB;IAItB,QAAQ,CAAW;IAInB,YAAY,CAAU;IAItB,OAAO,CAAY;CACpB;AAlBD,oDAkBC;AAhBC;IADC,IAAA,0BAAQ,GAAE;;kDACE;AAGb;IADC,IAAA,wBAAM,EAAC,eAAe,CAAC;;kDACF;AAItB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;sDACO;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0DACW;AAItB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;qDACS;AAGrB,MAAa,oBAAoB;IAG/B,IAAI,CAAU;IAId,IAAI,CAAmB;IAIvB,QAAQ,CAAW;IAInB,YAAY,CAAU;IAItB,OAAO,CAAY;CACpB;AApBD,oDAoBC;AAjBC;IAFC,IAAA,4BAAU,GAAE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CACvC;AAZD,gDAYC;AATC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;wDAC4B"} \ No newline at end of file diff --git a/dist/sites/sites.controller.d.ts b/dist/sites/sites.controller.d.ts deleted file mode 100644 index 9b9697d..0000000 --- a/dist/sites/sites.controller.d.ts +++ /dev/null @@ -1,263 +0,0 @@ -import { SitesService } from './sites.service'; -import { CreateSiteDto, UpdateSiteDto } from '../shared/dto/site.dto'; -export declare class SitesController { - private readonly sitesService; - constructor(sitesService: SitesService); - create(createSiteDto: CreateSiteDto): Promise<{ - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - }>; - findAll(): Promise<({ - machines: ({ - typeMachine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - category: string | null; - maintenanceFrequency: string | null; - components: import("@prisma/client/runtime/library").JsonValue | null; - criticalParts: import("@prisma/client/runtime/library").JsonValue | null; - machinePieces: import("@prisma/client/runtime/library").JsonValue | null; - specifications: import("@prisma/client/runtime/library").JsonValue | null; - } | null; - pieces: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }[]; - composants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - pieces: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }[]; - sousComposants: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - })[]; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - } & { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - })[]>; - findOne(id: string): Promise<({ - machines: ({ - typeMachine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - category: string | null; - maintenanceFrequency: string | null; - components: import("@prisma/client/runtime/library").JsonValue | null; - criticalParts: import("@prisma/client/runtime/library").JsonValue | null; - machinePieces: import("@prisma/client/runtime/library").JsonValue | null; - specifications: import("@prisma/client/runtime/library").JsonValue | null; - } | null; - pieces: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }[]; - composants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - pieces: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }[]; - sousComposants: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - })[]; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - } & { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - }) | null>; - update(id: string, updateSiteDto: UpdateSiteDto): Promise<{ - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - }>; - remove(id: string): Promise<{ - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - }>; -} diff --git a/dist/sites/sites.controller.js b/dist/sites/sites.controller.js deleted file mode 100644 index 16723f0..0000000 --- a/dist/sites/sites.controller.js +++ /dev/null @@ -1,80 +0,0 @@ -"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.SitesController = void 0; -const common_1 = require("@nestjs/common"); -const sites_service_1 = require("./sites.service"); -const site_dto_1 = require("../shared/dto/site.dto"); -let SitesController = class SitesController { - sitesService; - constructor(sitesService) { - this.sitesService = sitesService; - } - create(createSiteDto) { - return this.sitesService.create(createSiteDto); - } - findAll() { - return this.sitesService.findAll(); - } - findOne(id) { - return this.sitesService.findOne(id); - } - update(id, updateSiteDto) { - return this.sitesService.update(id, updateSiteDto); - } - remove(id) { - return this.sitesService.remove(id); - } -}; -exports.SitesController = SitesController; -__decorate([ - (0, common_1.Post)(), - __param(0, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [site_dto_1.CreateSiteDto]), - __metadata("design:returntype", void 0) -], SitesController.prototype, "create", null); -__decorate([ - (0, common_1.Get)(), - __metadata("design:type", Function), - __metadata("design:paramtypes", []), - __metadata("design:returntype", void 0) -], SitesController.prototype, "findAll", 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) -], SitesController.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, site_dto_1.UpdateSiteDto]), - __metadata("design:returntype", void 0) -], SitesController.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) -], SitesController.prototype, "remove", null); -exports.SitesController = SitesController = __decorate([ - (0, common_1.Controller)('sites'), - __metadata("design:paramtypes", [sites_service_1.SitesService]) -], SitesController); -//# sourceMappingURL=sites.controller.js.map \ No newline at end of file diff --git a/dist/sites/sites.controller.js.map b/dist/sites/sites.controller.js.map deleted file mode 100644 index c64bc7e..0000000 --- a/dist/sites/sites.controller.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"sites.controller.js","sourceRoot":"","sources":["../../src/sites/sites.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAmF;AACnF,mDAA+C;AAC/C,qDAAsE;AAG/D,IAAM,eAAe,GAArB,MAAM,eAAe;IACG;IAA7B,YAA6B,YAA0B;QAA1B,iBAAY,GAAZ,YAAY,CAAc;IAAG,CAAC;IAG3D,MAAM,CAAS,aAA4B;QACzC,OAAO,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;IACjD,CAAC;IAGD,OAAO;QACL,OAAO,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,CAAC;IACrC,CAAC;IAGD,OAAO,CAAc,EAAU;QAC7B,OAAO,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IACvC,CAAC;IAGD,MAAM,CAAc,EAAU,EAAU,aAA4B;QAClE,OAAO,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE,EAAE,aAAa,CAAC,CAAC;IACrD,CAAC;IAGD,MAAM,CAAc,EAAU;QAC5B,OAAO,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACtC,CAAC;CACF,CAAA;AA3BY,0CAAe;AAI1B;IADC,IAAA,aAAI,GAAE;IACC,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAgB,wBAAa;;6CAE1C;AAGD;IADC,IAAA,YAAG,GAAE;;;;8CAGL;AAGD;IADC,IAAA,YAAG,EAAC,KAAK,CAAC;IACF,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;8CAEnB;AAGD;IADC,IAAA,cAAK,EAAC,KAAK,CAAC;IACL,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;IAAc,WAAA,IAAA,aAAI,GAAE,CAAA;;6CAAgB,wBAAa;;6CAEnE;AAGD;IADC,IAAA,eAAM,EAAC,KAAK,CAAC;IACN,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;6CAElB;0BA1BU,eAAe;IAD3B,IAAA,mBAAU,EAAC,OAAO,CAAC;qCAEyB,4BAAY;GAD5C,eAAe,CA2B3B"} \ No newline at end of file diff --git a/dist/sites/sites.module.d.ts b/dist/sites/sites.module.d.ts deleted file mode 100644 index b7705b7..0000000 --- a/dist/sites/sites.module.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare class SitesModule { -} diff --git a/dist/sites/sites.module.js b/dist/sites/sites.module.js deleted file mode 100644 index 6bb424d..0000000 --- a/dist/sites/sites.module.js +++ /dev/null @@ -1,22 +0,0 @@ -"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; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.SitesModule = void 0; -const common_1 = require("@nestjs/common"); -const sites_controller_1 = require("./sites.controller"); -const sites_service_1 = require("./sites.service"); -let SitesModule = class SitesModule { -}; -exports.SitesModule = SitesModule; -exports.SitesModule = SitesModule = __decorate([ - (0, common_1.Module)({ - controllers: [sites_controller_1.SitesController], - providers: [sites_service_1.SitesService] - }) -], SitesModule); -//# sourceMappingURL=sites.module.js.map \ No newline at end of file diff --git a/dist/sites/sites.module.js.map b/dist/sites/sites.module.js.map deleted file mode 100644 index 17ff5be..0000000 --- a/dist/sites/sites.module.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"sites.module.js","sourceRoot":"","sources":["../../src/sites/sites.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,yDAAqD;AACrD,mDAA+C;AAMxC,IAAM,WAAW,GAAjB,MAAM,WAAW;CAAG,CAAA;AAAd,kCAAW;sBAAX,WAAW;IAJvB,IAAA,eAAM,EAAC;QACN,WAAW,EAAE,CAAC,kCAAe,CAAC;QAC9B,SAAS,EAAE,CAAC,4BAAY,CAAC;KAC1B,CAAC;GACW,WAAW,CAAG"} \ No newline at end of file diff --git a/dist/sites/sites.service.d.ts b/dist/sites/sites.service.d.ts deleted file mode 100644 index 54d3825..0000000 --- a/dist/sites/sites.service.d.ts +++ /dev/null @@ -1,263 +0,0 @@ -import { PrismaService } from '../prisma/prisma.service'; -import { CreateSiteDto, UpdateSiteDto } from '../shared/dto/site.dto'; -export declare class SitesService { - private prisma; - constructor(prisma: PrismaService); - create(createSiteDto: CreateSiteDto): Promise<{ - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - }>; - findAll(): Promise<({ - machines: ({ - typeMachine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - category: string | null; - maintenanceFrequency: string | null; - components: import("@prisma/client/runtime/library").JsonValue | null; - criticalParts: import("@prisma/client/runtime/library").JsonValue | null; - machinePieces: import("@prisma/client/runtime/library").JsonValue | null; - specifications: import("@prisma/client/runtime/library").JsonValue | null; - } | null; - pieces: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }[]; - composants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - pieces: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }[]; - sousComposants: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - })[]; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - } & { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - })[]>; - findOne(id: string): Promise<({ - machines: ({ - typeMachine: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - category: string | null; - maintenanceFrequency: string | null; - components: import("@prisma/client/runtime/library").JsonValue | null; - criticalParts: import("@prisma/client/runtime/library").JsonValue | null; - machinePieces: import("@prisma/client/runtime/library").JsonValue | null; - specifications: import("@prisma/client/runtime/library").JsonValue | null; - } | null; - pieces: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }[]; - composants: ({ - typeComposant: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - } | null; - pieces: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }[]; - sousComposants: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - })[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - })[]; - documents: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - siteId: string | null; - machineId: string | null; - composantId: string | null; - filename: string; - path: string; - mimeType: string; - size: number; - pieceId: string | null; - }[]; - } & { - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - }) | null>; - update(id: string, updateSiteDto: UpdateSiteDto): Promise<{ - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - }>; - remove(id: string): Promise<{ - name: string; - contactName: string; - contactPhone: string; - contactAddress: string; - contactPostalCode: string; - contactCity: string; - id: string; - createdAt: Date; - updatedAt: Date; - }>; -} diff --git a/dist/sites/sites.service.js b/dist/sites/sites.service.js deleted file mode 100644 index a342204..0000000 --- a/dist/sites/sites.service.js +++ /dev/null @@ -1,92 +0,0 @@ -"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); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.SitesService = void 0; -const common_1 = require("@nestjs/common"); -const prisma_service_1 = require("../prisma/prisma.service"); -let SitesService = class SitesService { - prisma; - constructor(prisma) { - this.prisma = prisma; - } - async create(createSiteDto) { - return this.prisma.site.create({ - data: createSiteDto, - }); - } - async findAll() { - return this.prisma.site.findMany({ - include: { - machines: { - include: { - typeMachine: true, - composants: { - include: { - typeComposant: true, - sousComposants: true, - pieces: true, - }, - }, - pieces: true, - }, - }, - documents: true, - }, - }); - } - async findOne(id) { - return this.prisma.site.findUnique({ - where: { id }, - include: { - machines: { - include: { - typeMachine: true, - composants: { - include: { - typeComposant: true, - sousComposants: true, - pieces: true, - }, - }, - pieces: true, - }, - }, - documents: true, - }, - }); - } - async update(id, updateSiteDto) { - return this.prisma.site.update({ - where: { id }, - data: updateSiteDto, - }); - } - async remove(id) { - const machinesInSite = await this.prisma.machine.findMany({ - where: { siteId: id }, - select: { id: true, name: true }, - }); - if (machinesInSite.length > 0) { - const machineNames = machinesInSite.map(m => m.name).join(', '); - throw new Error(`Impossible de supprimer ce site car il contient ${machinesInSite.length} machine(s): ${machineNames}. ` + - `Veuillez d'abord supprimer ou déplacer ces machines vers un autre site.`); - } - return this.prisma.site.delete({ - where: { id }, - }); - } -}; -exports.SitesService = SitesService; -exports.SitesService = SitesService = __decorate([ - (0, common_1.Injectable)(), - __metadata("design:paramtypes", [prisma_service_1.PrismaService]) -], SitesService); -//# sourceMappingURL=sites.service.js.map \ No newline at end of file diff --git a/dist/sites/sites.service.js.map b/dist/sites/sites.service.js.map deleted file mode 100644 index 0ec80b9..0000000 --- a/dist/sites/sites.service.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"sites.service.js","sourceRoot":"","sources":["../../src/sites/sites.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,6DAAyD;AAIlD,IAAM,YAAY,GAAlB,MAAM,YAAY;IACH;IAApB,YAAoB,MAAqB;QAArB,WAAM,GAAN,MAAM,CAAe;IAAG,CAAC;IAE7C,KAAK,CAAC,MAAM,CAAC,aAA4B;QACvC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;YAC7B,IAAI,EAAE,aAAa;SACpB,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,OAAO;QACX,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;YAC/B,OAAO,EAAE;gBACP,QAAQ,EAAE;oBACR,OAAO,EAAE;wBACP,WAAW,EAAE,IAAI;wBACjB,UAAU,EAAE;4BACV,OAAO,EAAE;gCACP,aAAa,EAAE,IAAI;gCACnB,cAAc,EAAE,IAAI;gCACpB,MAAM,EAAE,IAAI;6BACb;yBACF;wBACD,MAAM,EAAE,IAAI;qBACb;iBACF;gBACD,SAAS,EAAE,IAAI;aAChB;SACF,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,EAAU;QACtB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;YACjC,KAAK,EAAE,EAAE,EAAE,EAAE;YACb,OAAO,EAAE;gBACP,QAAQ,EAAE;oBACR,OAAO,EAAE;wBACP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--git a/dist/tsconfig.build.tsbuildinfo b/dist/tsconfig.build.tsbuildinfo deleted file mode 100644 index 5957f13..0000000 --- a/dist/tsconfig.build.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.es2021.d.ts","../node_modules/typescript/lib/lib.es2022.d.ts","../node_modules/typescript/lib/lib.es2023.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.dom.iterable.d.ts","../node_modules/typescript/lib/lib.dom.asynciterable.d.ts","../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2016.intl.d.ts","../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/typescript/lib/lib.es2021.string.d.ts","../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../node_modules/typescript/lib/lib.es2021.intl.d.ts","../node_modules/typescript/lib/lib.es2022.array.d.ts","../node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/typescript/lib/lib.es2022.intl.d.ts","../node_modules/typescript/lib/lib.es2022.object.d.ts","../node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../node_modules/typescript/lib/lib.es2023.array.d.ts","../node_modules/typescript/lib/lib.es2023.collection.d.ts","../node_modules/typescript/lib/lib.es2023.intl.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/typescript/lib/lib.es2023.full.d.ts","../node_modules/reflect-metadata/index.d.ts","../node_modules/@nestjs/common/decorators/core/bind.decorator.d.ts","../node_modules/@nestjs/common/interfaces/abstract.interface.d.ts","../node_modules/@nestjs/common/interfaces/controllers/controller-metadata.interface.d.ts","../node_modules/@nestjs/common/interfaces/controllers/controller.interface.d.ts","../node_modules/@nestjs/common/interfaces/features/arguments-host.interface.d.ts","../node_modules/@nestjs/common/interfaces/exceptions/exception-filter.interface.d.ts","../node_modules/rxjs/dist/types/internal/Subscription.d.ts","../node_modules/rxjs/dist/types/internal/Subscriber.d.ts","../node_modules/rxjs/dist/types/internal/Operator.d.ts","../node_modules/rxjs/dist/types/internal/Observable.d.ts","../node_modules/rxjs/dist/types/internal/types.d.ts","../node_modules/rxjs/dist/types/internal/operators/audit.d.ts","../node_modules/rxjs/dist/types/internal/operators/auditTime.d.ts","../node_modules/rxjs/dist/types/internal/operators/buffer.d.ts","../node_modules/rxjs/dist/types/internal/operators/bufferCount.d.ts","../node_modules/rxjs/dist/types/internal/operators/bufferTime.d.ts","../node_modules/rxjs/dist/types/internal/operators/bufferToggle.d.ts","../node_modules/rxjs/dist/types/internal/operators/bufferWhen.d.ts","../node_modules/rxjs/dist/types/internal/operators/catchError.d.ts","../node_modules/rxjs/dist/types/internal/operators/combineLatestAll.d.ts","../node_modules/rxjs/dist/types/internal/operators/combineAll.d.ts","../node_modules/rxjs/dist/types/internal/operators/combineLatest.d.ts","../node_modules/rxjs/dist/types/internal/operators/combineLatestWith.d.ts","../node_modules/rxjs/dist/types/internal/operators/concat.d.ts","../node_modules/rxjs/dist/types/internal/operators/concatAll.d.ts","../node_modules/rxjs/dist/types/internal/operators/concatMap.d.ts","../node_modules/rxjs/dist/types/internal/operators/concatMapTo.d.ts","../node_modules/rxjs/dist/types/internal/operators/concatWith.d.ts","../node_modules/rxjs/dist/types/internal/operators/connect.d.ts","../node_modules/rxjs/dist/types/internal/operators/count.d.ts","../node_modules/rxjs/dist/types/internal/operators/debounce.d.ts","../node_modules/rxjs/dist/types/internal/operators/debounceTime.d.ts","../node_modules/rxjs/dist/types/internal/operators/defaultIfEmpty.d.ts","../node_modules/rxjs/dist/types/internal/operators/delay.d.ts","../node_modules/rxjs/dist/types/internal/operators/delayWhen.d.ts","../node_modules/rxjs/dist/types/internal/operators/dematerialize.d.ts","../node_modules/rxjs/dist/types/internal/operators/distinct.d.ts","../node_modules/rxjs/dist/types/internal/operators/distinctUntilChanged.d.ts","../node_modules/rxjs/dist/types/internal/operators/distinctUntilKeyChanged.d.ts","../node_modules/rxjs/dist/types/internal/operators/elementAt.d.ts","../node_modules/rxjs/dist/types/internal/operators/endWith.d.ts","../node_modules/rxjs/dist/types/internal/operators/every.d.ts","../node_modules/rxjs/dist/types/internal/operators/exhaustAll.d.ts","../node_modules/rxjs/dist/types/internal/operators/exhaust.d.ts","../node_modules/rxjs/dist/types/internal/operators/exhaustMap.d.ts","../node_modules/rxjs/dist/types/internal/operators/expand.d.ts","../node_modules/rxjs/dist/types/internal/operators/filter.d.ts","../node_modules/rxjs/dist/types/internal/operators/finalize.d.ts","../node_modules/rxjs/dist/types/internal/operators/find.d.ts","../node_modules/rxjs/dist/types/internal/operators/findIndex.d.ts","../node_modules/rxjs/dist/types/internal/operators/first.d.ts","../node_modules/rxjs/dist/types/internal/Subject.d.ts","../node_modules/rxjs/dist/types/internal/operators/groupBy.d.ts","../node_modules/rxjs/dist/types/internal/operators/ignoreElements.d.ts","../node_modules/rxjs/dist/types/internal/operators/isEmpty.d.ts","../node_modules/rxjs/dist/types/internal/operators/last.d.ts","../node_modules/rxjs/dist/types/internal/operators/map.d.ts","../node_modules/rxjs/dist/types/internal/operators/mapTo.d.ts","../node_modules/rxjs/dist/types/internal/Notification.d.ts","../node_modules/rxjs/dist/types/internal/operators/materialize.d.ts","../node_modules/rxjs/dist/types/internal/operators/max.d.ts","../node_modules/rxjs/dist/types/internal/operators/merge.d.ts","../node_modules/rxjs/dist/types/internal/operators/mergeAll.d.ts","../node_modules/rxjs/dist/types/internal/operators/mergeMap.d.ts","../node_modules/rxjs/dist/types/internal/operators/flatMap.d.ts","../node_modules/rxjs/dist/types/internal/operators/mergeMapTo.d.ts","../node_modules/rxjs/dist/types/internal/operators/mergeScan.d.ts","../node_modules/rxjs/dist/types/internal/operators/mergeWith.d.ts","../node_modules/rxjs/dist/types/internal/operators/min.d.ts","../node_modules/rxjs/dist/types/internal/observable/ConnectableObservable.d.ts","../node_modules/rxjs/dist/types/internal/operators/multicast.d.ts","../node_modules/rxjs/dist/types/internal/operators/observeOn.d.ts","../node_modules/rxjs/dist/types/internal/operators/onErrorResumeNextWith.d.ts","../node_modules/rxjs/dist/types/internal/operators/pairwise.d.ts","../node_modules/rxjs/dist/types/internal/operators/partition.d.ts","../node_modules/rxjs/dist/types/internal/operators/pluck.d.ts","../node_modules/rxjs/dist/types/internal/operators/publish.d.ts","../node_modules/rxjs/dist/types/internal/operators/publishBehavior.d.ts","../node_modules/rxjs/dist/types/internal/operators/publishLast.d.ts","../node_modules/rxjs/dist/types/internal/operators/publishReplay.d.ts","../node_modules/rxjs/dist/types/internal/operators/race.d.ts","../node_modules/rxjs/dist/types/internal/operators/raceWith.d.ts","../node_modules/rxjs/dist/types/internal/operators/reduce.d.ts","../node_modules/rxjs/dist/types/internal/operators/repeat.d.ts","../node_modules/rxjs/dist/types/internal/operators/repeatWhen.d.ts","../node_modules/rxjs/dist/types/internal/operators/retry.d.ts","../node_modules/rxjs/dist/types/internal/operators/retryWhen.d.ts","../node_modules/rxjs/dist/types/internal/operators/refCount.d.ts","../node_modules/rxjs/dist/types/internal/operators/sample.d.ts","../node_modules/rxjs/dist/types/internal/operators/sampleTime.d.ts","../node_modules/rxjs/dist/types/internal/operators/scan.d.ts","../node_modules/rxjs/dist/types/internal/operators/sequenceEqual.d.ts","../node_modules/rxjs/dist/types/internal/operators/share.d.ts","../node_modules/rxjs/dist/types/internal/operators/shareReplay.d.ts","../node_modules/rxjs/dist/types/internal/operators/single.d.ts","../node_modules/rxjs/dist/types/internal/operators/skip.d.ts","../node_modules/rxjs/dist/types/internal/operators/skipLast.d.ts","../node_modules/rxjs/dist/types/internal/operators/skipUntil.d.ts","../node_modules/rxjs/dist/types/internal/operators/skipWhile.d.ts","../node_modules/rxjs/dist/types/internal/operators/startWith.d.ts","../node_modules/rxjs/dist/types/internal/operators/subscribeOn.d.ts","../node_modules/rxjs/dist/types/internal/operators/switchAll.d.ts","../node_modules/rxjs/dist/types/internal/operators/switchMap.d.ts","../node_modules/rxjs/dist/types/internal/operators/switchMapTo.d.ts","../node_modules/rxjs/dist/types/internal/operators/switchScan.d.ts","../node_modules/rxjs/dist/types/internal/operators/take.d.ts","../node_modules/rxjs/dist/types/internal/operators/takeLast.d.ts","../node_modules/rxjs/dist/types/internal/operators/takeUntil.d.ts","../node_modules/rxjs/dist/types/internal/operators/takeWhile.d.ts","../node_modules/rxjs/dist/types/internal/operators/tap.d.ts","../node_modules/rxjs/dist/types/internal/operators/throttle.d.ts","../node_modules/rxjs/dist/types/internal/operators/throttleTime.d.ts","../node_modules/rxjs/dist/types/internal/operators/throwIfEmpty.d.ts","../node_modules/rxjs/dist/types/internal/operators/timeInterval.d.ts","../node_modules/rxjs/dist/types/internal/operators/timeout.d.ts","../node_modules/rxjs/dist/types/internal/operators/timeoutWith.d.ts","../node_modules/rxjs/dist/types/internal/operators/timestamp.d.ts","../node_modules/rxjs/dist/types/internal/operators/toArray.d.ts","../node_modules/rxjs/dist/types/internal/operators/window.d.ts","../node_modules/rxjs/dist/types/internal/operators/windowCount.d.ts","../node_modules/rxjs/dist/types/internal/operators/windowTime.d.ts","../node_modules/rxjs/dist/types/internal/operators/windowToggle.d.ts","../node_modules/rxjs/dist/types/internal/operators/windowWhen.d.ts","../node_modules/rxjs/dist/types/internal/operators/withLatestFrom.d.ts","../node_modules/rxjs/dist/types/internal/operators/zip.d.ts","../node_modules/rxjs/dist/types/internal/operators/zipAll.d.ts","../node_modules/rxjs/dist/types/internal/operators/zipWith.d.ts","../node_modules/rxjs/dist/types/operators/index.d.ts","../node_modules/rxjs/dist/types/internal/scheduler/Action.d.ts","../node_modules/rxjs/dist/types/internal/Scheduler.d.ts","../node_modules/rxjs/dist/types/internal/testing/TestMessage.d.ts","../node_modules/rxjs/dist/types/internal/testing/SubscriptionLog.d.ts","../node_modules/rxjs/dist/types/internal/testing/SubscriptionLoggable.d.ts","../node_modules/rxjs/dist/types/internal/testing/ColdObservable.d.ts","../node_modules/rxjs/dist/types/internal/testing/HotObservable.d.ts","../node_modules/rxjs/dist/types/internal/scheduler/AsyncScheduler.d.ts","../node_modules/rxjs/dist/types/internal/scheduler/timerHandle.d.ts","../node_modules/rxjs/dist/types/internal/scheduler/AsyncAction.d.ts","../node_modules/rxjs/dist/types/internal/scheduler/VirtualTimeScheduler.d.ts","../node_modules/rxjs/dist/types/internal/testing/TestScheduler.d.ts","../node_modules/rxjs/dist/types/testing/index.d.ts","../node_modules/rxjs/dist/types/internal/symbol/observable.d.ts","../node_modules/rxjs/dist/types/internal/observable/dom/animationFrames.d.ts","../node_modules/rxjs/dist/types/internal/BehaviorSubject.d.ts","../node_modules/rxjs/dist/types/internal/ReplaySubject.d.ts","../node_modules/rxjs/dist/types/internal/AsyncSubject.d.ts","../node_modules/rxjs/dist/types/internal/scheduler/AsapScheduler.d.ts","../node_modules/rxjs/dist/types/internal/scheduler/asap.d.ts","../node_modules/rxjs/dist/types/internal/scheduler/async.d.ts","../node_modules/rxjs/dist/types/internal/scheduler/QueueScheduler.d.ts","../node_modules/rxjs/dist/types/internal/scheduler/queue.d.ts","../node_modules/rxjs/dist/types/internal/scheduler/AnimationFrameScheduler.d.ts","../node_modules/rxjs/dist/types/internal/scheduler/animationFrame.d.ts","../node_modules/rxjs/dist/types/internal/util/identity.d.ts","../node_modules/rxjs/dist/types/internal/util/pipe.d.ts","../node_modules/rxjs/dist/types/internal/util/noop.d.ts","../node_modules/rxjs/dist/types/internal/util/isObservable.d.ts","../node_modules/rxjs/dist/types/internal/lastValueFrom.d.ts","../node_modules/rxjs/dist/types/internal/firstValueFrom.d.ts","../node_modules/rxjs/dist/types/internal/util/ArgumentOutOfRangeError.d.ts","../node_modules/rxjs/dist/types/internal/util/EmptyError.d.ts","../node_modules/rxjs/dist/types/internal/util/NotFoundError.d.ts","../node_modules/rxjs/dist/types/internal/util/ObjectUnsubscribedError.d.ts","../node_modules/rxjs/dist/types/internal/util/SequenceError.d.ts","../node_modules/rxjs/dist/types/internal/util/UnsubscriptionError.d.ts","../node_modules/rxjs/dist/types/internal/observable/bindCallback.d.ts","../node_modules/rxjs/dist/types/internal/observable/bindNodeCallback.d.ts","../node_modules/rxjs/dist/types/internal/AnyCatcher.d.ts","../node_modules/rxjs/dist/types/internal/observable/combineLatest.d.ts","../node_modules/rxjs/dist/types/internal/observable/concat.d.ts","../node_modules/rxjs/dist/types/internal/observable/connectable.d.ts","../node_modules/rxjs/dist/types/internal/observable/defer.d.ts","../node_modules/rxjs/dist/types/internal/observable/empty.d.ts","../node_modules/rxjs/dist/types/internal/observable/forkJoin.d.ts","../node_modules/rxjs/dist/types/internal/observable/from.d.ts","../node_modules/rxjs/dist/types/internal/observable/fromEvent.d.ts","../node_modules/rxjs/dist/types/internal/observable/fromEventPattern.d.ts","../node_modules/rxjs/dist/types/internal/observable/generate.d.ts","../node_modules/rxjs/dist/types/internal/observable/iif.d.ts","../node_modules/rxjs/dist/types/internal/observable/interval.d.ts","../node_modules/rxjs/dist/types/internal/observable/merge.d.ts","../node_modules/rxjs/dist/types/internal/observable/never.d.ts","../node_modules/rxjs/dist/types/internal/observable/of.d.ts","../node_modules/rxjs/dist/types/internal/observable/onErrorResumeNext.d.ts","../node_modules/rxjs/dist/types/internal/observable/pairs.d.ts","../node_modules/rxjs/dist/types/internal/observable/partition.d.ts","../node_modules/rxjs/dist/types/internal/observable/race.d.ts","../node_modules/rxjs/dist/types/internal/observable/range.d.ts","../node_modules/rxjs/dist/types/internal/observable/throwError.d.ts","../node_modules/rxjs/dist/types/internal/observable/timer.d.ts","../node_modules/rxjs/dist/types/internal/observable/using.d.ts","../node_modules/rxjs/dist/types/internal/observable/zip.d.ts","../node_modules/rxjs/dist/types/internal/scheduled/scheduled.d.ts","../node_modules/rxjs/dist/types/internal/config.d.ts","../node_modules/rxjs/dist/types/index.d.ts","../node_modules/@nestjs/common/interfaces/exceptions/rpc-exception-filter.interface.d.ts","../node_modules/@nestjs/common/interfaces/exceptions/ws-exception-filter.interface.d.ts","../node_modules/@nestjs/common/interfaces/external/validation-error.interface.d.ts","../node_modules/@nestjs/common/interfaces/features/execution-context.interface.d.ts","../node_modules/@nestjs/common/interfaces/features/can-activate.interface.d.ts","../node_modules/@nestjs/common/interfaces/features/custom-route-param-factory.interface.d.ts","../node_modules/@nestjs/common/interfaces/features/nest-interceptor.interface.d.ts","../node_modules/@nestjs/common/interfaces/features/paramtype.interface.d.ts","../node_modules/@nestjs/common/interfaces/type.interface.d.ts","../node_modules/@nestjs/common/interfaces/features/pipe-transform.interface.d.ts","../node_modules/@nestjs/common/enums/request-method.enum.d.ts","../node_modules/@nestjs/common/enums/http-status.enum.d.ts","../node_modules/@nestjs/common/enums/shutdown-signal.enum.d.ts","../node_modules/@nestjs/common/enums/version-type.enum.d.ts","../node_modules/@nestjs/common/enums/index.d.ts","../node_modules/@nestjs/common/interfaces/version-options.interface.d.ts","../node_modules/@nestjs/common/interfaces/middleware/middleware-configuration.interface.d.ts","../node_modules/@nestjs/common/interfaces/middleware/middleware-consumer.interface.d.ts","../node_modules/@nestjs/common/interfaces/middleware/middleware-config-proxy.interface.d.ts","../node_modules/@nestjs/common/interfaces/middleware/nest-middleware.interface.d.ts","../node_modules/@nestjs/common/interfaces/middleware/index.d.ts","../node_modules/@nestjs/common/interfaces/global-prefix-options.interface.d.ts","../node_modules/@nestjs/common/interfaces/hooks/before-application-shutdown.interface.d.ts","../node_modules/@nestjs/common/interfaces/hooks/on-application-bootstrap.interface.d.ts","../node_modules/@nestjs/common/interfaces/hooks/on-application-shutdown.interface.d.ts","../node_modules/@nestjs/common/interfaces/hooks/on-destroy.interface.d.ts","../node_modules/@nestjs/common/interfaces/hooks/on-init.interface.d.ts","../node_modules/@nestjs/common/interfaces/hooks/index.d.ts","../node_modules/@nestjs/common/interfaces/http/http-exception-body.interface.d.ts","../node_modules/@nestjs/common/interfaces/http/http-redirect-response.interface.d.ts","../node_modules/@nestjs/common/interfaces/external/cors-options.interface.d.ts","../node_modules/@nestjs/common/interfaces/external/https-options.interface.d.ts","../node_modules/@nestjs/common/services/logger.service.d.ts","../node_modules/@nestjs/common/interfaces/nest-application-context-options.interface.d.ts","../node_modules/@nestjs/common/interfaces/nest-application-options.interface.d.ts","../node_modules/@nestjs/common/interfaces/http/http-server.interface.d.ts","../node_modules/@nestjs/common/interfaces/http/message-event.interface.d.ts","../node_modules/@nestjs/common/interfaces/http/raw-body-request.interface.d.ts","../node_modules/@nestjs/common/interfaces/http/index.d.ts","../node_modules/@nestjs/common/interfaces/injectable.interface.d.ts","../node_modules/@nestjs/common/interfaces/microservices/nest-hybrid-application-options.interface.d.ts","../node_modules/@nestjs/common/interfaces/modules/forward-reference.interface.d.ts","../node_modules/@nestjs/common/interfaces/scope-options.interface.d.ts","../node_modules/@nestjs/common/interfaces/modules/injection-token.interface.d.ts","../node_modules/@nestjs/common/interfaces/modules/optional-factory-dependency.interface.d.ts","../node_modules/@nestjs/common/interfaces/modules/provider.interface.d.ts","../node_modules/@nestjs/common/interfaces/modules/module-metadata.interface.d.ts","../node_modules/@nestjs/common/interfaces/modules/dynamic-module.interface.d.ts","../node_modules/@nestjs/common/interfaces/modules/introspection-result.interface.d.ts","../node_modules/@nestjs/common/interfaces/modules/nest-module.interface.d.ts","../node_modules/@nestjs/common/interfaces/modules/index.d.ts","../node_modules/@nestjs/common/interfaces/nest-application-context.interface.d.ts","../node_modules/@nestjs/common/interfaces/websockets/web-socket-adapter.interface.d.ts","../node_modules/@nestjs/common/interfaces/nest-application.interface.d.ts","../node_modules/@nestjs/common/interfaces/nest-microservice.interface.d.ts","../node_modules/@nestjs/common/interfaces/index.d.ts","../node_modules/@nestjs/common/decorators/core/catch.decorator.d.ts","../node_modules/@nestjs/common/decorators/core/controller.decorator.d.ts","../node_modules/@nestjs/common/decorators/core/dependencies.decorator.d.ts","../node_modules/@nestjs/common/decorators/core/exception-filters.decorator.d.ts","../node_modules/@nestjs/common/decorators/core/inject.decorator.d.ts","../node_modules/@nestjs/common/decorators/core/injectable.decorator.d.ts","../node_modules/@nestjs/common/decorators/core/optional.decorator.d.ts","../node_modules/@nestjs/common/decorators/core/set-metadata.decorator.d.ts","../node_modules/@nestjs/common/decorators/core/use-guards.decorator.d.ts","../node_modules/@nestjs/common/decorators/core/use-interceptors.decorator.d.ts","../node_modules/@nestjs/common/decorators/core/use-pipes.decorator.d.ts","../node_modules/@nestjs/common/decorators/core/apply-decorators.d.ts","../node_modules/@nestjs/common/decorators/core/version.decorator.d.ts","../node_modules/@nestjs/common/decorators/core/index.d.ts","../node_modules/@nestjs/common/decorators/modules/global.decorator.d.ts","../node_modules/@nestjs/common/decorators/modules/module.decorator.d.ts","../node_modules/@nestjs/common/decorators/modules/index.d.ts","../node_modules/@nestjs/common/decorators/http/request-mapping.decorator.d.ts","../node_modules/@nestjs/common/decorators/http/route-params.decorator.d.ts","../node_modules/@nestjs/common/decorators/http/http-code.decorator.d.ts","../node_modules/@nestjs/common/decorators/http/create-route-param-metadata.decorator.d.ts","../node_modules/@nestjs/common/decorators/http/render.decorator.d.ts","../node_modules/@nestjs/common/decorators/http/header.decorator.d.ts","../node_modules/@nestjs/common/decorators/http/redirect.decorator.d.ts","../node_modules/@nestjs/common/decorators/http/sse.decorator.d.ts","../node_modules/@nestjs/common/decorators/http/index.d.ts","../node_modules/@nestjs/common/decorators/index.d.ts","../node_modules/@nestjs/common/exceptions/intrinsic.exception.d.ts","../node_modules/@nestjs/common/exceptions/http.exception.d.ts","../node_modules/@nestjs/common/exceptions/bad-gateway.exception.d.ts","../node_modules/@nestjs/common/exceptions/bad-request.exception.d.ts","../node_modules/@nestjs/common/exceptions/conflict.exception.d.ts","../node_modules/@nestjs/common/exceptions/forbidden.exception.d.ts","../node_modules/@nestjs/common/exceptions/gateway-timeout.exception.d.ts","../node_modules/@nestjs/common/exceptions/gone.exception.d.ts","../node_modules/@nestjs/common/exceptions/http-version-not-supported.exception.d.ts","../node_modules/@nestjs/common/exceptions/im-a-teapot.exception.d.ts","../node_modules/@nestjs/common/exceptions/internal-server-error.exception.d.ts","../node_modules/@nestjs/common/exceptions/method-not-allowed.exception.d.ts","../node_modules/@nestjs/common/exceptions/misdirected.exception.d.ts","../node_modules/@nestjs/common/exceptions/not-acceptable.exception.d.ts","../node_modules/@nestjs/common/exceptions/not-found.exception.d.ts","../node_modules/@nestjs/common/exceptions/not-implemented.exception.d.ts","../node_modules/@nestjs/common/exceptions/payload-too-large.exception.d.ts","../node_modules/@nestjs/common/exceptions/precondition-failed.exception.d.ts","../node_modules/@nestjs/common/exceptions/request-timeout.exception.d.ts","../node_modules/@nestjs/common/exceptions/service-unavailable.exception.d.ts","../node_modules/@nestjs/common/exceptions/unauthorized.exception.d.ts","../node_modules/@nestjs/common/exceptions/unprocessable-entity.exception.d.ts","../node_modules/@nestjs/common/exceptions/unsupported-media-type.exception.d.ts","../node_modules/@nestjs/common/exceptions/index.d.ts","../node_modules/@nestjs/common/services/console-logger.service.d.ts","../node_modules/@nestjs/common/services/utils/filter-log-levels.util.d.ts","../node_modules/@nestjs/common/services/index.d.ts","../node_modules/@nestjs/common/file-stream/interfaces/streamable-options.interface.d.ts","../node_modules/@nestjs/common/file-stream/interfaces/streamable-handler-response.interface.d.ts","../node_modules/@nestjs/common/file-stream/interfaces/index.d.ts","../node_modules/@nestjs/common/file-stream/streamable-file.d.ts","../node_modules/@nestjs/common/file-stream/index.d.ts","../node_modules/@nestjs/common/module-utils/constants.d.ts","../node_modules/@nestjs/common/module-utils/interfaces/configurable-module-async-options.interface.d.ts","../node_modules/@nestjs/common/module-utils/interfaces/configurable-module-cls.interface.d.ts","../node_modules/@nestjs/common/module-utils/interfaces/configurable-module-host.interface.d.ts","../node_modules/@nestjs/common/module-utils/interfaces/index.d.ts","../node_modules/@nestjs/common/module-utils/configurable-module.builder.d.ts","../node_modules/@nestjs/common/module-utils/index.d.ts","../node_modules/@nestjs/common/pipes/default-value.pipe.d.ts","../node_modules/@nestjs/common/pipes/file/interfaces/file.interface.d.ts","../node_modules/@nestjs/common/pipes/file/interfaces/index.d.ts","../node_modules/@nestjs/common/pipes/file/file-validator.interface.d.ts","../node_modules/@nestjs/common/pipes/file/file-type.validator.d.ts","../node_modules/@nestjs/common/pipes/file/max-file-size.validator.d.ts","../node_modules/@nestjs/common/utils/http-error-by-code.util.d.ts","../node_modules/@nestjs/common/pipes/file/parse-file-options.interface.d.ts","../node_modules/@nestjs/common/pipes/file/parse-file.pipe.d.ts","../node_modules/@nestjs/common/pipes/file/parse-file-pipe.builder.d.ts","../node_modules/@nestjs/common/pipes/file/index.d.ts","../node_modules/@nestjs/common/interfaces/external/class-transform-options.interface.d.ts","../node_modules/@nestjs/common/interfaces/external/transformer-package.interface.d.ts","../node_modules/@nestjs/common/interfaces/external/validator-options.interface.d.ts","../node_modules/@nestjs/common/interfaces/external/validator-package.interface.d.ts","../node_modules/@nestjs/common/pipes/validation.pipe.d.ts","../node_modules/@nestjs/common/pipes/parse-array.pipe.d.ts","../node_modules/@nestjs/common/pipes/parse-bool.pipe.d.ts","../node_modules/@nestjs/common/pipes/parse-date.pipe.d.ts","../node_modules/@nestjs/common/pipes/parse-enum.pipe.d.ts","../node_modules/@nestjs/common/pipes/parse-float.pipe.d.ts","../node_modules/@nestjs/common/pipes/parse-int.pipe.d.ts","../node_modules/@nestjs/common/pipes/parse-uuid.pipe.d.ts","../node_modules/@nestjs/common/pipes/index.d.ts","../node_modules/@nestjs/common/serializer/class-serializer.interfaces.d.ts","../node_modules/@nestjs/common/serializer/class-serializer.interceptor.d.ts","../node_modules/@nestjs/common/serializer/decorators/serialize-options.decorator.d.ts","../node_modules/@nestjs/common/serializer/decorators/index.d.ts","../node_modules/@nestjs/common/serializer/index.d.ts","../node_modules/@nestjs/common/utils/forward-ref.util.d.ts","../node_modules/@nestjs/common/utils/index.d.ts","../node_modules/@nestjs/common/index.d.ts","../src/app.service.ts","../src/app.controller.ts","../node_modules/@nestjs/config/dist/conditional.module.d.ts","../node_modules/@nestjs/config/dist/interfaces/config-change-event.interface.d.ts","../node_modules/@nestjs/config/dist/types/config-object.type.d.ts","../node_modules/@nestjs/config/dist/types/config.type.d.ts","../node_modules/@nestjs/config/dist/types/no-infer.type.d.ts","../node_modules/@nestjs/config/dist/types/path-value.type.d.ts","../node_modules/@nestjs/config/dist/types/index.d.ts","../node_modules/@nestjs/config/dist/interfaces/config-factory.interface.d.ts","../node_modules/@types/node/compatibility/disposable.d.ts","../node_modules/@types/node/compatibility/indexable.d.ts","../node_modules/@types/node/compatibility/iterators.d.ts","../node_modules/@types/node/compatibility/index.d.ts","../node_modules/@types/node/globals.typedarray.d.ts","../node_modules/@types/node/buffer.buffer.d.ts","../node_modules/buffer/index.d.ts","../node_modules/undici-types/header.d.ts","../node_modules/undici-types/readable.d.ts","../node_modules/undici-types/file.d.ts","../node_modules/undici-types/fetch.d.ts","../node_modules/undici-types/formdata.d.ts","../node_modules/undici-types/connector.d.ts","../node_modules/undici-types/client.d.ts","../node_modules/undici-types/errors.d.ts","../node_modules/undici-types/dispatcher.d.ts","../node_modules/undici-types/global-dispatcher.d.ts","../node_modules/undici-types/global-origin.d.ts","../node_modules/undici-types/pool-stats.d.ts","../node_modules/undici-types/pool.d.ts","../node_modules/undici-types/handlers.d.ts","../node_modules/undici-types/balanced-pool.d.ts","../node_modules/undici-types/agent.d.ts","../node_modules/undici-types/mock-interceptor.d.ts","../node_modules/undici-types/mock-agent.d.ts","../node_modules/undici-types/mock-client.d.ts","../node_modules/undici-types/mock-pool.d.ts","../node_modules/undici-types/mock-errors.d.ts","../node_modules/undici-types/proxy-agent.d.ts","../node_modules/undici-types/env-http-proxy-agent.d.ts","../node_modules/undici-types/retry-handler.d.ts","../node_modules/undici-types/retry-agent.d.ts","../node_modules/undici-types/api.d.ts","../node_modules/undici-types/interceptors.d.ts","../node_modules/undici-types/util.d.ts","../node_modules/undici-types/cookies.d.ts","../node_modules/undici-types/patch.d.ts","../node_modules/undici-types/websocket.d.ts","../node_modules/undici-types/eventsource.d.ts","../node_modules/undici-types/filereader.d.ts","../node_modules/undici-types/diagnostics-channel.d.ts","../node_modules/undici-types/content-type.d.ts","../node_modules/undici-types/cache.d.ts","../node_modules/undici-types/index.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/dom-events.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/sea.d.ts","../node_modules/@types/node/sqlite.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/dotenv-expand/lib/main.d.ts","../node_modules/@nestjs/config/dist/interfaces/config-module-options.interface.d.ts","../node_modules/@nestjs/config/dist/interfaces/index.d.ts","../node_modules/@nestjs/config/dist/config.module.d.ts","../node_modules/@nestjs/config/dist/config.service.d.ts","../node_modules/@nestjs/config/dist/utils/register-as.util.d.ts","../node_modules/@nestjs/config/dist/utils/get-config-token.util.d.ts","../node_modules/@nestjs/config/dist/utils/index.d.ts","../node_modules/@nestjs/config/dist/index.d.ts","../node_modules/@nestjs/config/index.d.ts","../node_modules/@prisma/client/runtime/library.d.ts","../node_modules/.prisma/client/index.d.ts","../node_modules/.prisma/client/default.d.ts","../node_modules/@prisma/client/default.d.ts","../src/prisma/prisma.service.ts","../src/prisma/prisma.module.ts","../node_modules/class-validator/types/validation/ValidationError.d.ts","../node_modules/class-validator/types/validation/ValidatorOptions.d.ts","../node_modules/class-validator/types/validation-schema/ValidationSchema.d.ts","../node_modules/class-validator/types/container.d.ts","../node_modules/class-validator/types/validation/ValidationArguments.d.ts","../node_modules/class-validator/types/decorator/ValidationOptions.d.ts","../node_modules/class-validator/types/decorator/common/Allow.d.ts","../node_modules/class-validator/types/decorator/common/IsDefined.d.ts","../node_modules/class-validator/types/decorator/common/IsOptional.d.ts","../node_modules/class-validator/types/decorator/common/Validate.d.ts","../node_modules/class-validator/types/validation/ValidatorConstraintInterface.d.ts","../node_modules/class-validator/types/decorator/common/ValidateBy.d.ts","../node_modules/class-validator/types/decorator/common/ValidateIf.d.ts","../node_modules/class-validator/types/decorator/common/ValidateNested.d.ts","../node_modules/class-validator/types/decorator/common/ValidatePromise.d.ts","../node_modules/class-validator/types/decorator/common/IsLatLong.d.ts","../node_modules/class-validator/types/decorator/common/IsLatitude.d.ts","../node_modules/class-validator/types/decorator/common/IsLongitude.d.ts","../node_modules/class-validator/types/decorator/common/Equals.d.ts","../node_modules/class-validator/types/decorator/common/NotEquals.d.ts","../node_modules/class-validator/types/decorator/common/IsEmpty.d.ts","../node_modules/class-validator/types/decorator/common/IsNotEmpty.d.ts","../node_modules/class-validator/types/decorator/common/IsIn.d.ts","../node_modules/class-validator/types/decorator/common/IsNotIn.d.ts","../node_modules/class-validator/types/decorator/number/IsDivisibleBy.d.ts","../node_modules/class-validator/types/decorator/number/IsPositive.d.ts","../node_modules/class-validator/types/decorator/number/IsNegative.d.ts","../node_modules/class-validator/types/decorator/number/Max.d.ts","../node_modules/class-validator/types/decorator/number/Min.d.ts","../node_modules/class-validator/types/decorator/date/MinDate.d.ts","../node_modules/class-validator/types/decorator/date/MaxDate.d.ts","../node_modules/class-validator/types/decorator/string/Contains.d.ts","../node_modules/class-validator/types/decorator/string/NotContains.d.ts","../node_modules/@types/validator/lib/isBoolean.d.ts","../node_modules/@types/validator/lib/isEmail.d.ts","../node_modules/@types/validator/lib/isFQDN.d.ts","../node_modules/@types/validator/lib/isIBAN.d.ts","../node_modules/@types/validator/lib/isISO31661Alpha2.d.ts","../node_modules/@types/validator/lib/isISO4217.d.ts","../node_modules/@types/validator/lib/isISO6391.d.ts","../node_modules/@types/validator/lib/isTaxID.d.ts","../node_modules/@types/validator/lib/isURL.d.ts","../node_modules/@types/validator/index.d.ts","../node_modules/class-validator/types/decorator/string/IsAlpha.d.ts","../node_modules/class-validator/types/decorator/string/IsAlphanumeric.d.ts","../node_modules/class-validator/types/decorator/string/IsDecimal.d.ts","../node_modules/class-validator/types/decorator/string/IsAscii.d.ts","../node_modules/class-validator/types/decorator/string/IsBase64.d.ts","../node_modules/class-validator/types/decorator/string/IsByteLength.d.ts","../node_modules/class-validator/types/decorator/string/IsCreditCard.d.ts","../node_modules/class-validator/types/decorator/string/IsCurrency.d.ts","../node_modules/class-validator/types/decorator/string/IsEmail.d.ts","../node_modules/class-validator/types/decorator/string/IsFQDN.d.ts","../node_modules/class-validator/types/decorator/string/IsFullWidth.d.ts","../node_modules/class-validator/types/decorator/string/IsHalfWidth.d.ts","../node_modules/class-validator/types/decorator/string/IsVariableWidth.d.ts","../node_modules/class-validator/types/decorator/string/IsHexColor.d.ts","../node_modules/class-validator/types/decorator/string/IsHexadecimal.d.ts","../node_modules/class-validator/types/decorator/string/IsMacAddress.d.ts","../node_modules/class-validator/types/decorator/string/IsIP.d.ts","../node_modules/class-validator/types/decorator/string/IsPort.d.ts","../node_modules/class-validator/types/decorator/string/IsISBN.d.ts","../node_modules/class-validator/types/decorator/string/IsISIN.d.ts","../node_modules/class-validator/types/decorator/string/IsISO8601.d.ts","../node_modules/class-validator/types/decorator/string/IsJSON.d.ts","../node_modules/class-validator/types/decorator/string/IsJWT.d.ts","../node_modules/class-validator/types/decorator/string/IsLowercase.d.ts","../node_modules/class-validator/types/decorator/string/IsMobilePhone.d.ts","../node_modules/class-validator/types/decorator/string/IsISO31661Alpha2.d.ts","../node_modules/class-validator/types/decorator/string/IsISO31661Alpha3.d.ts","../node_modules/class-validator/types/decorator/string/IsMongoId.d.ts","../node_modules/class-validator/types/decorator/string/IsMultibyte.d.ts","../node_modules/class-validator/types/decorator/string/IsSurrogatePair.d.ts","../node_modules/class-validator/types/decorator/string/IsUrl.d.ts","../node_modules/class-validator/types/decorator/string/IsUUID.d.ts","../node_modules/class-validator/types/decorator/string/IsFirebasePushId.d.ts","../node_modules/class-validator/types/decorator/string/IsUppercase.d.ts","../node_modules/class-validator/types/decorator/string/Length.d.ts","../node_modules/class-validator/types/decorator/string/MaxLength.d.ts","../node_modules/class-validator/types/decorator/string/MinLength.d.ts","../node_modules/class-validator/types/decorator/string/Matches.d.ts","../node_modules/libphonenumber-js/types.d.cts","../node_modules/libphonenumber-js/max/index.d.cts","../node_modules/class-validator/types/decorator/string/IsPhoneNumber.d.ts","../node_modules/class-validator/types/decorator/string/IsMilitaryTime.d.ts","../node_modules/class-validator/types/decorator/string/IsHash.d.ts","../node_modules/class-validator/types/decorator/string/IsISSN.d.ts","../node_modules/class-validator/types/decorator/string/IsDateString.d.ts","../node_modules/class-validator/types/decorator/string/IsBooleanString.d.ts","../node_modules/class-validator/types/decorator/string/IsNumberString.d.ts","../node_modules/class-validator/types/decorator/string/IsBase32.d.ts","../node_modules/class-validator/types/decorator/string/IsBIC.d.ts","../node_modules/class-validator/types/decorator/string/IsBtcAddress.d.ts","../node_modules/class-validator/types/decorator/string/IsDataURI.d.ts","../node_modules/class-validator/types/decorator/string/IsEAN.d.ts","../node_modules/class-validator/types/decorator/string/IsEthereumAddress.d.ts","../node_modules/class-validator/types/decorator/string/IsHSL.d.ts","../node_modules/class-validator/types/decorator/string/IsIBAN.d.ts","../node_modules/class-validator/types/decorator/string/IsIdentityCard.d.ts","../node_modules/class-validator/types/decorator/string/IsISRC.d.ts","../node_modules/class-validator/types/decorator/string/IsLocale.d.ts","../node_modules/class-validator/types/decorator/string/IsMagnetURI.d.ts","../node_modules/class-validator/types/decorator/string/IsMimeType.d.ts","../node_modules/class-validator/types/decorator/string/IsOctal.d.ts","../node_modules/class-validator/types/decorator/string/IsPassportNumber.d.ts","../node_modules/class-validator/types/decorator/string/IsPostalCode.d.ts","../node_modules/class-validator/types/decorator/string/IsRFC3339.d.ts","../node_modules/class-validator/types/decorator/string/IsRgbColor.d.ts","../node_modules/class-validator/types/decorator/string/IsSemVer.d.ts","../node_modules/class-validator/types/decorator/string/IsStrongPassword.d.ts","../node_modules/class-validator/types/decorator/string/IsTimeZone.d.ts","../node_modules/class-validator/types/decorator/string/IsBase58.d.ts","../node_modules/class-validator/types/decorator/string/is-tax-id.d.ts","../node_modules/class-validator/types/decorator/string/is-iso4217-currency-code.d.ts","../node_modules/class-validator/types/decorator/typechecker/IsBoolean.d.ts","../node_modules/class-validator/types/decorator/typechecker/IsDate.d.ts","../node_modules/class-validator/types/decorator/typechecker/IsNumber.d.ts","../node_modules/class-validator/types/decorator/typechecker/IsEnum.d.ts","../node_modules/class-validator/types/decorator/typechecker/IsInt.d.ts","../node_modules/class-validator/types/decorator/typechecker/IsString.d.ts","../node_modules/class-validator/types/decorator/typechecker/IsArray.d.ts","../node_modules/class-validator/types/decorator/typechecker/IsObject.d.ts","../node_modules/class-validator/types/decorator/array/ArrayContains.d.ts","../node_modules/class-validator/types/decorator/array/ArrayNotContains.d.ts","../node_modules/class-validator/types/decorator/array/ArrayNotEmpty.d.ts","../node_modules/class-validator/types/decorator/array/ArrayMinSize.d.ts","../node_modules/class-validator/types/decorator/array/ArrayMaxSize.d.ts","../node_modules/class-validator/types/decorator/array/ArrayUnique.d.ts","../node_modules/class-validator/types/decorator/object/IsNotEmptyObject.d.ts","../node_modules/class-validator/types/decorator/object/IsInstance.d.ts","../node_modules/class-validator/types/decorator/decorators.d.ts","../node_modules/class-validator/types/validation/ValidationTypes.d.ts","../node_modules/class-validator/types/validation/Validator.d.ts","../node_modules/class-validator/types/register-decorator.d.ts","../node_modules/class-validator/types/metadata/ValidationMetadataArgs.d.ts","../node_modules/class-validator/types/metadata/ValidationMetadata.d.ts","../node_modules/class-validator/types/metadata/ConstraintMetadata.d.ts","../node_modules/class-validator/types/metadata/MetadataStorage.d.ts","../node_modules/class-validator/types/index.d.ts","../src/shared/dto/site.dto.ts","../src/sites/sites.service.ts","../src/sites/sites.controller.ts","../src/sites/sites.module.ts","../src/shared/dto/machine.dto.ts","../src/machines/machines.service.ts","../src/machines/machines.controller.ts","../src/machines/machines.module.ts","../node_modules/class-transformer/types/interfaces/decorator-options/expose-options.interface.d.ts","../node_modules/class-transformer/types/interfaces/decorator-options/exclude-options.interface.d.ts","../node_modules/class-transformer/types/interfaces/decorator-options/transform-options.interface.d.ts","../node_modules/class-transformer/types/interfaces/decorator-options/type-discriminator-descriptor.interface.d.ts","../node_modules/class-transformer/types/interfaces/decorator-options/type-options.interface.d.ts","../node_modules/class-transformer/types/interfaces/metadata/exclude-metadata.interface.d.ts","../node_modules/class-transformer/types/interfaces/metadata/expose-metadata.interface.d.ts","../node_modules/class-transformer/types/enums/transformation-type.enum.d.ts","../node_modules/class-transformer/types/enums/index.d.ts","../node_modules/class-transformer/types/interfaces/target-map.interface.d.ts","../node_modules/class-transformer/types/interfaces/class-transformer-options.interface.d.ts","../node_modules/class-transformer/types/interfaces/metadata/transform-fn-params.interface.d.ts","../node_modules/class-transformer/types/interfaces/metadata/transform-metadata.interface.d.ts","../node_modules/class-transformer/types/interfaces/metadata/type-metadata.interface.d.ts","../node_modules/class-transformer/types/interfaces/class-constructor.type.d.ts","../node_modules/class-transformer/types/interfaces/type-help-options.interface.d.ts","../node_modules/class-transformer/types/interfaces/index.d.ts","../node_modules/class-transformer/types/ClassTransformer.d.ts","../node_modules/class-transformer/types/decorators/exclude.decorator.d.ts","../node_modules/class-transformer/types/decorators/expose.decorator.d.ts","../node_modules/class-transformer/types/decorators/transform-instance-to-instance.decorator.d.ts","../node_modules/class-transformer/types/decorators/transform-instance-to-plain.decorator.d.ts","../node_modules/class-transformer/types/decorators/transform-plain-to-instance.decorator.d.ts","../node_modules/class-transformer/types/decorators/transform.decorator.d.ts","../node_modules/class-transformer/types/decorators/type.decorator.d.ts","../node_modules/class-transformer/types/decorators/index.d.ts","../node_modules/class-transformer/types/index.d.ts","../src/shared/dto/composant.dto.ts","../src/composants/composants.service.ts","../src/composants/composants.controller.ts","../src/composants/composants.module.ts","../src/shared/dto/piece.dto.ts","../src/pieces/pieces.service.ts","../src/pieces/pieces.controller.ts","../src/pieces/pieces.module.ts","../src/shared/dto/document.dto.ts","../src/documents/documents.service.ts","../src/documents/documents.controller.ts","../src/documents/documents.module.ts","../src/shared/dto/type.dto.ts","../src/types/types.service.ts","../src/types/types.controller.ts","../src/types/types.module.ts","../src/shared/dto/custom-field.dto.ts","../src/custom-fields/custom-fields.service.ts","../src/custom-fields/custom-fields.controller.ts","../src/custom-fields/custom-fields.module.ts","../src/shared/dto/constructeur.dto.ts","../src/constructeurs/constructeurs.service.ts","../src/constructeurs/constructeurs.controller.ts","../src/constructeurs/constructeurs.module.ts","../src/shared/dto/profile.dto.ts","../src/profiles/profiles.service.ts","../src/profiles/profiles.controller.ts","../src/profiles/profiles.module.ts","../node_modules/@types/mime/index.d.ts","../node_modules/@types/send/index.d.ts","../node_modules/@types/qs/index.d.ts","../node_modules/@types/range-parser/index.d.ts","../node_modules/@types/express-serve-static-core/index.d.ts","../node_modules/@types/http-errors/index.d.ts","../node_modules/@types/serve-static/index.d.ts","../node_modules/@types/connect/index.d.ts","../node_modules/@types/body-parser/index.d.ts","../node_modules/@types/express/index.d.ts","../src/session/session.controller.ts","../src/session/session.module.ts","../src/app.module.ts","../node_modules/@nestjs/core/adapters/http-adapter.d.ts","../node_modules/@nestjs/core/adapters/index.d.ts","../node_modules/@nestjs/common/constants.d.ts","../node_modules/@nestjs/core/inspector/interfaces/edge.interface.d.ts","../node_modules/@nestjs/core/inspector/interfaces/entrypoint.interface.d.ts","../node_modules/@nestjs/core/inspector/interfaces/extras.interface.d.ts","../node_modules/@nestjs/core/inspector/interfaces/node.interface.d.ts","../node_modules/@nestjs/core/injector/settlement-signal.d.ts","../node_modules/@nestjs/core/injector/injector.d.ts","../node_modules/@nestjs/core/inspector/interfaces/serialized-graph-metadata.interface.d.ts","../node_modules/@nestjs/core/inspector/interfaces/serialized-graph-json.interface.d.ts","../node_modules/@nestjs/core/inspector/serialized-graph.d.ts","../node_modules/@nestjs/core/injector/opaque-key-factory/interfaces/module-opaque-key-factory.interface.d.ts","../node_modules/@nestjs/core/injector/compiler.d.ts","../node_modules/@nestjs/core/injector/modules-container.d.ts","../node_modules/@nestjs/core/injector/container.d.ts","../node_modules/@nestjs/core/injector/instance-links-host.d.ts","../node_modules/@nestjs/core/injector/abstract-instance-resolver.d.ts","../node_modules/@nestjs/core/injector/module-ref.d.ts","../node_modules/@nestjs/core/injector/module.d.ts","../node_modules/@nestjs/core/injector/instance-wrapper.d.ts","../node_modules/@nestjs/core/router/interfaces/exclude-route-metadata.interface.d.ts","../node_modules/@nestjs/core/application-config.d.ts","../node_modules/@nestjs/core/constants.d.ts","../node_modules/@nestjs/core/discovery/discovery-module.d.ts","../node_modules/@nestjs/core/discovery/discovery-service.d.ts","../node_modules/@nestjs/core/discovery/index.d.ts","../node_modules/@nestjs/core/helpers/http-adapter-host.d.ts","../node_modules/@nestjs/core/exceptions/base-exception-filter.d.ts","../node_modules/@nestjs/core/exceptions/index.d.ts","../node_modules/@nestjs/core/helpers/context-id-factory.d.ts","../node_modules/@nestjs/common/interfaces/exceptions/exception-filter-metadata.interface.d.ts","../node_modules/@nestjs/core/exceptions/exceptions-handler.d.ts","../node_modules/@nestjs/core/router/router-proxy.d.ts","../node_modules/@nestjs/core/helpers/context-creator.d.ts","../node_modules/@nestjs/core/exceptions/base-exception-filter-context.d.ts","../node_modules/@nestjs/common/interfaces/exceptions/rpc-exception-filter-metadata.interface.d.ts","../node_modules/@nestjs/common/interfaces/exceptions/index.d.ts","../node_modules/@nestjs/core/exceptions/external-exception-filter.d.ts","../node_modules/@nestjs/core/exceptions/external-exceptions-handler.d.ts","../node_modules/@nestjs/core/exceptions/external-exception-filter-context.d.ts","../node_modules/@nestjs/core/guards/constants.d.ts","../node_modules/@nestjs/core/helpers/execution-context-host.d.ts","../node_modules/@nestjs/core/guards/guards-consumer.d.ts","../node_modules/@nestjs/core/guards/guards-context-creator.d.ts","../node_modules/@nestjs/core/guards/index.d.ts","../node_modules/@nestjs/core/interceptors/interceptors-consumer.d.ts","../node_modules/@nestjs/core/interceptors/interceptors-context-creator.d.ts","../node_modules/@nestjs/core/interceptors/index.d.ts","../node_modules/@nestjs/common/enums/route-paramtypes.enum.d.ts","../node_modules/@nestjs/core/pipes/params-token-factory.d.ts","../node_modules/@nestjs/core/pipes/pipes-consumer.d.ts","../node_modules/@nestjs/core/pipes/pipes-context-creator.d.ts","../node_modules/@nestjs/core/pipes/index.d.ts","../node_modules/@nestjs/core/helpers/context-utils.d.ts","../node_modules/@nestjs/core/injector/inquirer/inquirer-constants.d.ts","../node_modules/@nestjs/core/injector/inquirer/index.d.ts","../node_modules/@nestjs/core/interfaces/module-definition.interface.d.ts","../node_modules/@nestjs/core/interfaces/module-override.interface.d.ts","../node_modules/@nestjs/core/inspector/interfaces/enhancer-metadata-cache-entry.interface.d.ts","../node_modules/@nestjs/core/inspector/graph-inspector.d.ts","../node_modules/@nestjs/core/metadata-scanner.d.ts","../node_modules/@nestjs/core/scanner.d.ts","../node_modules/@nestjs/core/injector/instance-loader.d.ts","../node_modules/@nestjs/core/injector/lazy-module-loader/lazy-module-loader-options.interface.d.ts","../node_modules/@nestjs/core/injector/lazy-module-loader/lazy-module-loader.d.ts","../node_modules/@nestjs/core/injector/index.d.ts","../node_modules/@nestjs/core/helpers/interfaces/external-handler-metadata.interface.d.ts","../node_modules/@nestjs/core/helpers/interfaces/params-metadata.interface.d.ts","../node_modules/@nestjs/core/helpers/external-context-creator.d.ts","../node_modules/@nestjs/core/helpers/index.d.ts","../node_modules/@nestjs/core/inspector/initialize-on-preview.allowlist.d.ts","../node_modules/@nestjs/core/inspector/partial-graph.host.d.ts","../node_modules/@nestjs/core/inspector/index.d.ts","../node_modules/@nestjs/core/middleware/route-info-path-extractor.d.ts","../node_modules/@nestjs/core/middleware/routes-mapper.d.ts","../node_modules/@nestjs/core/middleware/builder.d.ts","../node_modules/@nestjs/core/middleware/index.d.ts","../node_modules/@nestjs/core/nest-application-context.d.ts","../node_modules/@nestjs/core/nest-application.d.ts","../node_modules/@nestjs/common/interfaces/microservices/nest-microservice-options.interface.d.ts","../node_modules/@nestjs/core/nest-factory.d.ts","../node_modules/@nestjs/core/repl/repl.d.ts","../node_modules/@nestjs/core/repl/index.d.ts","../node_modules/@nestjs/core/router/interfaces/routes.interface.d.ts","../node_modules/@nestjs/core/router/interfaces/index.d.ts","../node_modules/@nestjs/core/router/request/request-constants.d.ts","../node_modules/@nestjs/core/router/request/index.d.ts","../node_modules/@nestjs/core/router/router-module.d.ts","../node_modules/@nestjs/core/router/index.d.ts","../node_modules/@nestjs/core/services/reflector.service.d.ts","../node_modules/@nestjs/core/services/index.d.ts","../node_modules/@nestjs/core/index.d.ts","../node_modules/@nestjs/platform-express/interfaces/nest-express-body-parser-options.interface.d.ts","../node_modules/@nestjs/platform-express/interfaces/nest-express-body-parser.interface.d.ts","../node_modules/@nestjs/platform-express/interfaces/serve-static-options.interface.d.ts","../node_modules/@nestjs/platform-express/adapters/express-adapter.d.ts","../node_modules/@nestjs/platform-express/adapters/index.d.ts","../node_modules/@nestjs/platform-express/interfaces/nest-express-application.interface.d.ts","../node_modules/@nestjs/platform-express/interfaces/index.d.ts","../node_modules/@nestjs/platform-express/multer/interfaces/multer-options.interface.d.ts","../node_modules/@nestjs/platform-express/multer/interceptors/any-files.interceptor.d.ts","../node_modules/@nestjs/platform-express/multer/interceptors/file-fields.interceptor.d.ts","../node_modules/@nestjs/platform-express/multer/interceptors/file.interceptor.d.ts","../node_modules/@nestjs/platform-express/multer/interceptors/files.interceptor.d.ts","../node_modules/@nestjs/platform-express/multer/interceptors/no-files.interceptor.d.ts","../node_modules/@nestjs/platform-express/multer/interceptors/index.d.ts","../node_modules/@nestjs/platform-express/multer/interfaces/files-upload-module.interface.d.ts","../node_modules/@nestjs/platform-express/multer/interfaces/index.d.ts","../node_modules/@nestjs/platform-express/multer/multer.module.d.ts","../node_modules/@nestjs/platform-express/multer/index.d.ts","../node_modules/@nestjs/platform-express/index.d.ts","../node_modules/@types/express-session/index.d.ts","../src/main.ts","../src/types/express-session.d.ts","../node_modules/@babel/types/lib/index.d.ts","../node_modules/@types/babel__generator/index.d.ts","../node_modules/@babel/parser/typings/babel-parser.d.ts","../node_modules/@types/babel__template/index.d.ts","../node_modules/@types/babel__traverse/index.d.ts","../node_modules/@types/babel__core/index.d.ts","../node_modules/@types/cookiejar/index.d.ts","../node_modules/@types/estree/index.d.ts","../node_modules/@types/json-schema/index.d.ts","../node_modules/@types/eslint/use-at-your-own-risk.d.ts","../node_modules/@types/eslint/index.d.ts","../node_modules/@eslint/core/dist/esm/types.d.ts","../node_modules/eslint/lib/types/use-at-your-own-risk.d.ts","../node_modules/eslint/lib/types/index.d.ts","../node_modules/@types/eslint-scope/index.d.ts","../node_modules/@types/graceful-fs/index.d.ts","../node_modules/@types/http-cache-semantics/index.d.ts","../node_modules/@types/istanbul-lib-coverage/index.d.ts","../node_modules/@types/istanbul-lib-report/index.d.ts","../node_modules/@types/istanbul-reports/index.d.ts","../node_modules/@jest/expect-utils/build/index.d.ts","../node_modules/chalk/index.d.ts","../node_modules/@sinclair/typebox/typebox.d.ts","../node_modules/@jest/schemas/build/index.d.ts","../node_modules/pretty-format/build/index.d.ts","../node_modules/jest-diff/build/index.d.ts","../node_modules/jest-matcher-utils/build/index.d.ts","../node_modules/expect/build/index.d.ts","../node_modules/@types/jest/index.d.ts","../node_modules/@types/methods/index.d.ts","../node_modules/@types/stack-utils/index.d.ts","../node_modules/@types/superagent/lib/agent-base.d.ts","../node_modules/@types/superagent/lib/node/response.d.ts","../node_modules/@types/superagent/types.d.ts","../node_modules/@types/superagent/lib/node/agent.d.ts","../node_modules/@types/superagent/lib/request-base.d.ts","../node_modules/form-data/index.d.ts","../node_modules/@types/superagent/lib/node/http2wrapper.d.ts","../node_modules/@types/superagent/lib/node/index.d.ts","../node_modules/@types/superagent/index.d.ts","../node_modules/@types/supertest/types.d.ts","../node_modules/@types/supertest/lib/agent.d.ts","../node_modules/@types/supertest/lib/test.d.ts","../node_modules/@types/supertest/index.d.ts","../node_modules/@types/yargs-parser/index.d.ts","../node_modules/@types/yargs/index.d.ts"],"fileIdsList":[[433,476,538],[433,476,537],[433,476,873],[433,476],[433,476,881],[433,476,895],[319,433,476],[417,433,476],[69,320,321,322,323,324,325,326,327,328,329,330,331,332,433,476],[272,306,433,476],[279,433,476],[269,319,417,433,476],[337,338,339,340,341,342,343,344,433,476],[274,433,476],[319,417,433,476],[333,336,345,433,476],[334,335,433,476],[310,433,476],[274,275,276,277,433,476],[348,433,476],[292,347,433,476],[347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,433,476],[377,433,476],[374,375,433,476],[373,376,433,476,508],[68,278,319,346,370,373,378,385,409,414,416,433,476],[74,272,433,476],[73,433,476],[74,264,265,433,476,789,794],[264,272,433,476],[73,263,433,476],[272,397,433,476],[266,399,433,476],[263,267,433,476],[267,433,476],[73,319,433,476],[271,272,433,476],[284,433,476],[286,287,288,289,290,433,476],[278,433,476],[278,279,298,433,476],[292,293,299,300,301,433,476],[70,71,72,73,74,264,265,266,267,268,269,270,271,272,273,279,284,285,291,298,302,303,304,306,314,315,316,317,318,433,476],[297,433,476],[280,281,282,283,433,476],[272,280,281,433,476],[272,278,279,433,476],[272,282,433,476],[272,310,433,476],[305,307,308,309,310,311,312,313,433,476],[70,272,433,476],[306,433,476],[70,272,305,309,311,433,476],[281,433,476],[307,433,476],[272,306,307,308,433,476],[296,433,476],[272,276,296,297,314,433,476],[294,295,297,433,476],[268,270,279,285,299,315,316,319,433,476],[74,263,268,270,273,315,316,433,476],[277,433,476],[263,433,476],[296,319,379,383,433,476],[383,384,433,476],[319,379,433,476],[319,379,380,433,476],[380,381,433,476],[380,381,382,433,476],[273,433,476],[388,389,433,476],[388,433,476],[389,390,391,393,394,395,433,476],[387,433,476],[389,392,433,476],[389,390,391,393,394,433,476],[273,388,389,393,433,476],[386,396,401,402,403,404,405,406,407,408,433,476],[273,319,401,433,476],[273,392,433,476],[273,392,417,433,476],[266,272,273,392,397,398,399,400,433,476],[263,319,397,398,410,433,476],[319,397,433,476],[412,433,476],[346,410,433,476],[410,411,413,433,476],[296,433,476,520],[296,371,372,433,476],[305,433,476],[278,319,433,476],[415,433,476],[417,433,476,529],[263,421,426,433,476],[420,426,433,476,529,530,531,534],[426,433,476],[427,433,476,527],[421,427,433,476,528],[422,423,424,425,433,476],[433,476,532,533],[426,433,476,529,535],[433,476,535],[298,319,417,433,476],[433,476,758],[319,417,433,476,778,779],[433,476,760],[417,433,476,772,777,778],[433,476,782,783],[74,319,433,476,773,778,792],[417,433,476,759,785],[73,417,433,476,786,789],[319,433,476,773,778,780,791,793,797],[73,433,476,795,796],[433,476,786],[263,319,417,433,476,800],[319,417,433,476,773,778,780,792],[433,476,799,801,802],[319,433,476,778],[433,476,778],[319,417,433,476,800],[73,319,417,433,476],[319,417,433,476,772,773,778,798,800,803,806,811,812,825,826],[263,433,476,758],[433,476,785,788,827],[433,476,812,824],[68,433,476,759,780,781,784,787,819,824,828,831,835,836,837,839,841,847,849],[319,417,433,476,766,774,777,778],[319,433,476,770],[297,319,417,433,476,760,769,770,771,772,777,778,780,850],[433,476,772,773,776,778,814,823],[319,417,433,476,765,777,778],[433,476,813],[417,433,476,773,778],[417,433,476,766,773,777,818],[319,417,433,476,760,765,777],[417,433,476,771,772,776,816,820,821,822],[417,433,476,766,773,774,775,777,778],[319,433,476,760,773,776,778],[263,433,476,777],[272,305,311,433,476],[433,476,762,763,764,773,777,778,817],[433,476,769,818,829,830],[417,433,476,760,778],[417,433,476,760],[433,476,761,762,763,764,767,769],[433,476,766],[433,476,768,769],[417,433,476,761,762,763,764,767,768],[433,476,804,805],[319,433,476,773,778,780,792],[433,476,815],[303,433,476],[284,319,433,476,832,833],[433,476,834],[319,433,476,780],[319,433,476,773,780],[297,319,417,433,476,766,773,774,775,777,778],[296,319,417,433,476,759,773,780,818,836],[297,298,417,433,476,758,838],[433,476,808,809,810],[417,433,476,807],[433,476,840],[417,433,476,505],[433,476,843,845,846],[433,476,842],[433,476,844],[417,433,476,772,777,843],[433,476,790],[319,417,433,476,760,773,777,778,780,815,816,818,819],[433,476,848],[294,298,319,417,433,476,491,493,754,758,851,852,853],[433,476,854],[433,476,855,857,868],[433,476,851,852,856],[294,417,433,476,491,493,754,851,852,853],[433,476,491],[433,476,864,866,867],[417,433,476,858],[433,476,859,860,861,862,863],[319,433,476,858],[433,476,865],[417,433,476,865],[433,476,539],[433,476,873,874,875,876,877],[433,476,873,875],[433,476,491,526,752],[433,476,491,526],[433,476,880,886],[433,476,880,881,882],[433,476,883],[433,476,488,491,526,746,747,748],[433,476,481,488,754],[433,476,749,751,753],[433,476,489,526],[433,476,890],[433,476,891],[433,476,897,900],[433,473,476],[433,475,476],[476],[433,476,481,511],[433,476,477,482,488,489,496,508,519],[433,476,477,478,488,496],[428,429,430,433,476],[433,476,479,520],[433,476,480,481,489,497],[433,476,481,508,516],[433,476,482,484,488,496],[433,475,476,483],[433,476,484,485],[433,476,486,488],[433,475,476,488],[433,476,488,489,490,508,519],[433,476,488,489,490,503,508,511],[433,471,476],[433,471,476,484,488,491,496,508,519],[433,476,488,489,491,492,496,508,516,519],[433,476,491,493,508,516,519],[431,432,433,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517,518,519,520,521,522,523,524,525],[433,476,488,494],[433,476,495,519],[433,476,484,488,496,508],[433,476,497],[433,476,498],[433,475,476,499],[433,473,474,475,476,477,478,479,480,481,482,483,484,485,486,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517,518,519,520,521,522,523,524,525],[433,476,501],[433,476,502],[433,476,488,503,504],[433,476,503,505,520,522],[433,476,488,508,509,511],[433,476,510,511],[433,476,508,509],[433,476,511],[433,476,512],[433,473,476,508,513],[433,476,488,514,515],[433,476,514,515],[433,476,481,496,508,516],[433,476,517],[433,476,496,518],[433,476,491,502,519],[433,476,481,520],[433,476,508,521],[433,476,495,522],[433,476,523],[433,476,488,490,499,508,511,519,521,522,524],[433,476,508,525],[433,476,489,508,526,745],[433,476,491,526,746,750],[433,476,911],[433,476,879,902,904,906,912],[433,476,492,496,508,516,526],[433,476,489,491,492,493,496,508,902,905,906,907,908,909,910],[433,476,491,508,911],[433,476,489,905,906],[433,476,519,905],[433,476,912,913,914,915],[433,476,912,913,916],[433,476,912,913],[433,476,491,492,496,902,912],[433,476,576,577,578,579,580,581,582,583,584],[433,476,917],[433,476,706],[433,476,708,709,710,711,712,713,714],[433,476,697],[433,476,698,706,707,715],[433,476,699],[433,476,693],[433,476,690,691,692,693,694,695,696,699,700,701,702,703,704,705],[433,476,698,700],[433,476,701,706],[433,476,547],[433,476,548],[433,476,547,548,553],[433,476,549,550,551,552,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602,603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643,644,645,646,647,648,649,650,651,652,653,654,655,656,657,658,659,660,661,662,663,664,665,666,667,668,669,670,671,672],[433,476,548,585],[433,476,548,625],[433,476,543,544,545,546,547,548,553,673,674,675,676,680],[433,476,553],[433,476,545,678,679],[433,476,547,677],[433,476,548,553],[433,476,543,544],[433,476,526],[433,476,880,881,884,885],[433,476,886],[433,476,893,899],[433,476,491,508,526],[433,476,897],[433,476,894,898],[433,476,624],[433,476,896],[75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,131,132,133,134,135,136,137,138,139,140,141,142,144,145,146,147,148,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,194,195,196,198,207,209,210,211,212,213,214,216,217,219,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,433,476],[120,433,476],[78,79,433,476],[75,76,77,79,433,476],[76,79,433,476],[79,120,433,476],[75,79,197,433,476],[77,78,79,433,476],[75,79,433,476],[79,433,476],[78,433,476],[75,78,120,433,476],[76,78,79,236,433,476],[78,79,236,433,476],[78,244,433,476],[76,78,79,433,476],[88,433,476],[111,433,476],[132,433,476],[78,79,120,433,476],[79,127,433,476],[78,79,120,138,433,476],[78,79,138,433,476],[79,179,433,476],[75,79,198,433,476],[204,206,433,476],[75,79,197,204,205,433,476],[197,198,206,433,476],[204,433,476],[75,79,204,205,206,433,476],[220,433,476],[215,433,476],[218,433,476],[76,78,198,199,200,201,433,476],[120,198,199,200,201,433,476],[198,200,433,476],[78,199,200,202,203,207,433,476],[75,78,433,476],[79,222,433,476],[80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,121,122,123,124,125,126,128,129,130,131,132,133,134,135,136,137,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,433,476],[208,433,476],[433,443,447,476,519],[433,443,476,508,519],[433,438,476],[433,440,443,476,516,519],[433,476,496,516],[433,438,476,526],[433,440,443,476,496,519],[433,435,436,439,442,476,488,508,519],[433,443,450,476],[433,435,441,476],[433,443,464,465,476],[433,439,443,476,511,519,526],[433,464,476,526],[433,437,438,476,526],[433,443,476],[433,437,438,439,440,441,442,443,444,445,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,465,466,467,468,469,470,476],[433,443,458,476],[433,443,450,451,476],[433,441,443,451,452,476],[433,442,476],[433,435,438,443,476],[433,443,447,451,452,476],[433,447,476],[433,441,443,446,476,519],[433,435,440,443,450,476],[433,476,508],[433,438,443,464,476,524,526],[417,418,433,476],[417,418,419,433,476,536,542,685,689,720,724,728,732,736,740,744,756],[417,433,476,717,718],[417,433,476,718,719],[417,433,476,541,717],[417,433,476,737,738],[417,433,476,738,739],[417,433,476,540,541,737],[417,433,476,733,734],[417,433,476,542,734,735],[417,433,476,541,733],[417,433,476,725,726],[417,433,476,726,727],[417,433,476,541,725],[417,433,476,686,687],[417,433,476,687,688],[417,433,476,541,686],[417,433,476,754,757,850,869,870],[417,433,476,721,722],[417,433,476,722,723],[417,433,476,541,721],[417,433,476,541],[417,433,476,540],[417,433,476,741,742],[417,433,476,742,743],[417,433,476,541,741],[417,433,476,741,742,754],[417,433,476,744,755],[433,476,681,716],[433,476,681],[417,433,476,682,683],[417,433,476,683,684],[417,433,476,541,682],[433,476,870],[417,433,476,729,730],[417,433,476,730,731],[417,433,476,541,729]],"fileInfos":[{"version":"69684132aeb9b5642cbcd9e22dff7818ff0ee1aa831728af0ecf97d3364d5546","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"092c2bfe125ce69dbb1223c85d68d4d2397d7d8411867b5cc03cec902c233763","affectsGlobalScope":true,"impliedFormat":1},{"version":"07f073f19d67f74d732b1adea08e1dc66b1b58d77cb5b43931dee3d798a2fd53","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"b5ce7a470bc3628408429040c4e3a53a27755022a32fd05e2cb694e7015386c7","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"785921608325fa246b450f05b238f4b3ed659f1099af278ce9ebbc9416a13f1d","impliedFormat":1},{"version":"8d6d51a5118d000ed3bfe6e1dd1335bebfff3fef23cd2af2f84a24d30f90cc90","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d8dedbec739bc79642c1e96e9bfc0b83b25b104a0486aebf016fc7b85b39f48","impliedFormat":1},{"version":"e89535c3ec439608bcd0f68af555d0e5ddf121c54abe69343549718bd7506b9c","impliedFormat":1},{"version":"622a984b60c294ffb2f9152cf1d4d12e91d2b733d820eec949cf54d63a3c1025","impliedFormat":1},{"version":"81aae92abdeaccd9c1723cef39232c90c1aed9d9cf199e6e2a523b7d8e058a11","impliedFormat":1},{"version":"a63a6c6806a1e519688ef7bd8ca57be912fc0764485119dbd923021eb4e79665","impliedFormat":1},{"version":"75b57b109d774acca1e151df21cf5cb54c7a1df33a273f0457b9aee4ebd36fb9","impliedFormat":1},{"version":"073ca26c96184db9941b5ec0ddea6981c9b816156d9095747809e524fdd90e35","impliedFormat":1},{"version":"e41d17a2ec23306d953cda34e573ed62954ca6ea9b8c8b74e013d07a6886ce47","impliedFormat":1},{"version":"241bd4add06f06f0699dcd58f3b334718d85e3045d9e9d4fa556f11f4d1569c1","impliedFormat":1},{"version":"2ae3787e1498b20aad1b9c2ee9ea517ec30e89b70d242d8e3e52d1e091039695","impliedFormat":1},{"version":"c7c72c4cffb1bc83617eefed71ed68cc89df73cab9e19507ccdecb3e72b4967e","affectsGlobalScope":true,"impliedFormat":1},{"version":"b8bff8a60af0173430b18d9c3e5c443eaa3c515617210c0c7b3d2e1743c19ecb","impliedFormat":1},{"version":"38b38db08e7121828294dec10957a7a9ff263e33e2a904b346516d4a4acca482","impliedFormat":1},{"version":"a76ebdf2579e68e4cfe618269c47e5a12a4e045c2805ed7f7ab37af8daa6b091","impliedFormat":1},{"version":"8a2aaea564939c22be05d665cc955996721bad6d43148f8fa21ae8f64afecd37","impliedFormat":1},{"version":"e59d36b7b6e8ba2dd36d032a5f5c279d2460968c8b4e691ca384f118fb09b52a","impliedFormat":1},{"version":"e96885c0684c9042ec72a9a43ef977f6b4b4a2728f4b9e737edcbaa0c74e5bf6","impliedFormat":1},{"version":"95950a187596e206d32d5d9c7b932901088c65ed8f9040e614aa8e321e0225ef","impliedFormat":1},{"version":"89e061244da3fc21b7330f4bd32f47c1813dd4d7f1dc3d0883d88943f035b993","impliedFormat":1},{"version":"e46558c2e04d06207b080138678020448e7fc201f3d69c2601b0d1456105f29a","impliedFormat":1},{"version":"71549375db52b1163411dba383b5f4618bdf35dc57fa327a1c7d135cf9bf67d1","impliedFormat":1},{"version":"7e6b2d61d6215a4e82ea75bc31a80ebb8ad0c2b37a60c10c70dd671e8d9d6d5d","impliedFormat":1},{"version":"78bea05df2896083cca28ed75784dde46d4b194984e8fc559123b56873580a23","impliedFormat":1},{"version":"5dd04ced37b7ea09f29d277db11f160df7fd73ba8b9dba86cb25552e0653a637","impliedFormat":1},{"version":"f74b81712e06605677ae1f061600201c425430151f95b5ef4d04387ad7617e6a","impliedFormat":1},{"version":"9a72847fcf4ac937e352d40810f7b7aec7422d9178451148296cf1aa19467620","impliedFormat":1},{"version":"3ae18f60e0b96fa1e025059b7d25b3247ba4dcb5f4372f6d6e67ce2adac74eac","impliedFormat":1},{"version":"2b9260f44a2e071450ae82c110f5dc8f330c9e5c3e85567ed97248330f2bf639","impliedFormat":1},{"version":"4f196e13684186bda6f5115fc4677a87cf84a0c9c4fc17b8f51e0984f3697b6d","impliedFormat":1},{"version":"61419f2c5822b28c1ea483258437c1faab87d00c6f84481aa22afb3380d8e9a4","impliedFormat":1},{"version":"64479aee03812264e421c0bf5104a953ca7b02740ba80090aead1330d0effe91","impliedFormat":1},{"version":"0521108c9f8ddb17654a0a54dae6ba9667c99eddccfd6af5748113e022d1c37a","impliedFormat":1},{"version":"c5570e504be103e255d80c60b56c367bf45d502ca52ee35c55dec882f6563b5c","impliedFormat":1},{"version":"ee764e6e9a7f2b987cc1a2c0a9afd7a8f4d5ebc4fdb66ad557a7f14a8c2bd320","impliedFormat":1},{"version":"0520b5093712c10c6ef23b5fea2f833bf5481771977112500045e5ea7e8e2b69","impliedFormat":1},{"version":"5c3cf26654cf762ac4d7fd7b83f09acfe08eef88d2d6983b9a5a423cb4004ca3","impliedFormat":1},{"version":"e60fa19cf7911c1623b891155d7eb6b7e844e9afdf5738e3b46f3b687730a2bd","impliedFormat":1},{"version":"b1fd72ff2bb0ba91bb588f3e5329f8fc884eb859794f1c4657a2bfa122ae54d0","impliedFormat":1},{"version":"6cf42a4f3cfec648545925d43afaa8bb364ac10a839ffed88249da109361b275","impliedFormat":1},{"version":"d7058e75920120b142a9d57be25562a3cd9a936269fd52908505f530105f2ec4","impliedFormat":1},{"version":"6df52b70d7f7702202f672541a5f4a424d478ee5be51a9d37b8ccbe1dbf3c0f2","impliedFormat":1},{"version":"0ca7f997e9a4d8985e842b7c882e521b6f63233c4086e9fe79dd7a9dc4742b5e","impliedFormat":1},{"version":"91046b5c6b55d3b194c81fd4df52f687736fad3095e9d103ead92bb64dc160ee","impliedFormat":1},{"version":"db5704fdad56c74dfc5941283c1182ed471bd17598209d3ac4a49faa72e43cfc","impliedFormat":1},{"version":"758e8e89559b02b81bc0f8fd395b17ad5aff75490c862cbe369bb1a3d1577c40","impliedFormat":1},{"version":"2ee64342c077b1868f1834c063f575063051edd6e2964257d34aad032d6b657c","impliedFormat":1},{"version":"6f6b4b3d670b6a5f0e24ea001c1b3d36453c539195e875687950a178f1730fa7","impliedFormat":1},{"version":"a472a1d3f25ce13a1d44911cd3983956ac040ce2018e155435ea34afb25f864c","impliedFormat":1},{"version":"b48b83a86dd9cfe36f8776b3ff52fcd45b0e043c0538dc4a4b149ba45fe367b9","impliedFormat":1},{"version":"792de5c062444bd2ee0413fb766e57e03cce7cdaebbfc52fc0c7c8e95069c96b","impliedFormat":1},{"version":"a79e3e81094c7a04a885bad9b049c519aace53300fb8a0fe4f26727cb5a746ce","impliedFormat":1},{"version":"93181bac0d90db185bb730c95214f6118ae997fe836a98a49664147fbcaf1988","impliedFormat":1},{"version":"8a4e89564d8ea66ad87ee3762e07540f9f0656a62043c910d819b4746fc429c5","impliedFormat":1},{"version":"b9011d99942889a0f95e120d06b698c628b0b6fdc3e6b7ecb459b97ed7d5bcc6","impliedFormat":1},{"version":"4d639cbbcc2f8f9ce6d55d5d503830d6c2556251df332dc5255d75af53c8a0e7","impliedFormat":1},{"version":"cdb48277f600ab5f429ecf1c5ea046683bc6b9f73f3deab9a100adac4b34969c","impliedFormat":1},{"version":"75be84956a29040a1afbe864c0a7a369dfdb739380072484eff153905ef867ee","impliedFormat":1},{"version":"b06b4adc2ae03331a92abd1b19af8eb91ec2bf8541747ee355887a167d53145e","impliedFormat":1},{"version":"c54166a85bd60f86d1ebb90ce0117c0ecb850b8a33b366691629fdf26f1bbbd8","impliedFormat":1},{"version":"0d417c15c5c635384d5f1819cc253a540fe786cc3fda32f6a2ae266671506a21","impliedFormat":1},{"version":"80f23f1d60fbed356f726b3b26f9d348dddbb34027926d10d59fad961e70a730","impliedFormat":1},{"version":"cb59317243a11379a101eb2f27b9df1022674c3df1df0727360a0a3f963f523b","impliedFormat":1},{"version":"cc20bb2227dd5de0aab0c8d697d1572f8000550e62c7bf5c92f212f657dd88c5","impliedFormat":1},{"version":"06b8a7d46195b6b3980e523ef59746702fd210b71681a83a5cf73799623621f9","impliedFormat":1},{"version":"860e4405959f646c101b8005a191298b2381af8f33716dc5f42097e4620608f8","impliedFormat":1},{"version":"f7e32adf714b8f25d3c1783473abec3f2e82d5724538d8dcf6f51baaaff1ca7a","impliedFormat":1},{"version":"d0da80c845999a16c24d0783033fb5366ada98df17867c98ad433ede05cd87fd","impliedFormat":1},{"version":"bfbf80f9cd4558af2d7b2006065340aaaced15947d590045253ded50aabb9bc5","impliedFormat":1},{"version":"fd9a991b51870325e46ebb0e6e18722d313f60cd8e596e645ec5ac15b96dbf4e","impliedFormat":1},{"version":"c3bd2b94e4298f81743d92945b80e9b56c1cdfb2bef43c149b7106a2491b1fc9","impliedFormat":1},{"version":"a246cce57f558f9ebaffd55c1e5673da44ea603b4da3b2b47eb88915d30a9181","impliedFormat":1},{"version":"d993eacc103c5a065227153c9aae8acea3a4322fe1a169ee7c70b77015bf0bb2","impliedFormat":1},{"version":"fc2b03d0c042aa1627406e753a26a1eaad01b3c496510a78016822ef8d456bb6","impliedFormat":1},{"version":"063c7ebbe756f0155a8b453f410ca6b76ffa1bbc1048735bcaf9c7c81a1ce35f","impliedFormat":1},{"version":"314e402cd481370d08f63051ae8b8c8e6370db5ee3b8820eeeaaf8d722a6dac6","impliedFormat":1},{"version":"9669075ac38ce36b638b290ba468233980d9f38bdc62f0519213b2fd3e2552ec","impliedFormat":1},{"version":"4d123de012c24e2f373925100be73d50517ac490f9ed3578ac82d0168bfbd303","impliedFormat":1},{"version":"656c9af789629aa36b39092bee3757034009620439d9a39912f587538033ce28","impliedFormat":1},{"version":"3ac3f4bdb8c0905d4c3035d6f7fb20118c21e8a17bee46d3735195b0c2a9f39f","impliedFormat":1},{"version":"1f453e6798ed29c86f703e9b41662640d4f2e61337007f27ac1c616f20093f69","impliedFormat":1},{"version":"af43b7871ff21c62bf1a54ec5c488e31a8d3408d5b51ff2e9f8581b6c55f2fc7","impliedFormat":1},{"version":"70550511d25cbb0b6a64dcac7fffc3c1397fd4cbeb6b23ccc7f9b794ab8a6954","impliedFormat":1},{"version":"af0fbf08386603a62f2a78c42d998c90353b1f1d22e05a384545f7accf881e0a","impliedFormat":1},{"version":"cefc20054d20b85b534206dbcedd509bb74f87f3d8bc45c58c7be3a76caa45e1","impliedFormat":1},{"version":"ad6eee4877d0f7e5244d34bc5026fd6e9cf8e66c5c79416b73f9f6ebf132f924","impliedFormat":1},{"version":"4888fd2bcfee9a0ce89d0df860d233e0cee8ee9c479b6bd5a5d5f9aae98342fe","impliedFormat":1},{"version":"f4749c102ced952aa6f40f0b579865429c4869f6d83df91000e98005476bee87","impliedFormat":1},{"version":"56654d2c5923598384e71cb808fac2818ca3f07dd23bb018988a39d5e64f268b","impliedFormat":1},{"version":"8b6719d3b9e65863da5390cb26994602c10a315aa16e7d70778a63fee6c4c079","impliedFormat":1},{"version":"05f56cd4b929977d18df8f3d08a4c929a2592ef5af083e79974b20a063f30940","impliedFormat":1},{"version":"547d3c406a21b30e2b78629ecc0b2ddaf652d9e0bdb2d59ceebce5612906df33","impliedFormat":1},{"version":"b3a4f9385279443c3a5568ec914a9492b59a723386161fd5ef0619d9f8982f97","impliedFormat":1},{"version":"3fe66aba4fbe0c3ba196a4f9ed2a776fe99dc4d1567a558fb11693e9fcc4e6ed","impliedFormat":1},{"version":"140eef237c7db06fc5adcb5df434ee21e81ee3a6fd57e1a75b8b3750aa2df2d8","impliedFormat":1},{"version":"0944ec553e4744efae790c68807a461720cff9f3977d4911ac0d918a17c9dd99","impliedFormat":1},{"version":"cb46b38d5e791acaa243bf342b8b5f8491639847463ac965b93896d4fb0af0d9","impliedFormat":1},{"version":"7c7d9e116fe51100ff766703e6b5e4424f51ad8977fe474ddd8d0959aa6de257","impliedFormat":1},{"version":"af70a2567e586be0083df3938b6a6792e6821363d8ef559ad8d721a33a5bcdaf","impliedFormat":1},{"version":"006cff3a8bcb92d77953f49a94cd7d5272fef4ab488b9052ef82b6a1260d870b","impliedFormat":1},{"version":"7d44bfdc8ee5e9af70738ff652c622ae3ad81815e63ab49bdc593d34cb3a68e5","impliedFormat":1},{"version":"339814517abd4dbc7b5f013dfd3b5e37ef0ea914a8bbe65413ecffd668792bc6","impliedFormat":1},{"version":"34d5bc0a6958967ec237c99f980155b5145b76e6eb927c9ffc57d8680326b5d8","impliedFormat":1},{"version":"9eae79b70c9d8288032cbe1b21d0941f6bd4f315e14786b2c1d10bccc634e897","impliedFormat":1},{"version":"18ce015ed308ea469b13b17f99ce53bbb97975855b2a09b86c052eefa4aa013a","impliedFormat":1},{"version":"5a931bc4106194e474be141e0bc1046629510dc95b9a0e4b02a3783847222965","impliedFormat":1},{"version":"5e5f371bf23d5ced2212a5ff56675aefbd0c9b3f4d4fdda1b6123ac6e28f058c","impliedFormat":1},{"version":"907c17ad5a05eecb29b42b36cc8fec6437be27cc4986bb3a218e4f74f606911c","impliedFormat":1},{"version":"ce60a562cd2a92f37a88f2ddd99a3abfbc5848d7baf38c48fb8d3243701fcb75","impliedFormat":1},{"version":"a726ad2d0a98bfffbe8bc1cd2d90b6d831638c0adc750ce73103a471eb9a891c","impliedFormat":1},{"version":"f44c0c8ce58d3dacac016607a1a90e5342d830ea84c48d2e571408087ae55894","impliedFormat":1},{"version":"75a315a098e630e734d9bc932d9841b64b30f7a349a20cf4717bf93044eff113","impliedFormat":1},{"version":"9131d95e32b3d4611d4046a613e022637348f6cebfe68230d4e81b691e4761a1","impliedFormat":1},{"version":"b03aa292cfdcd4edc3af00a7dbd71136dd067ec70a7536b655b82f4dd444e857","impliedFormat":1},{"version":"b6e2b0448ced813b8c207810d96551a26e7d7bb73255eea4b9701698f78846d6","impliedFormat":1},{"version":"8ae10cd85c1bd94d2f2d17c4cbd25c068a4b2471c70c2d96434239f97040747a","impliedFormat":1},{"version":"9ed5b799c50467b0c9f81ddf544b6bcda3e34d92076d6cab183c84511e45c39f","impliedFormat":1},{"version":"b4fa87cc1833839e51c49f20de71230e259c15b2c9c3e89e4814acc1d1ef10de","impliedFormat":1},{"version":"e90ac9e4ac0326faa1bc39f37af38ace0f9d4a655cd6d147713c653139cf4928","impliedFormat":1},{"version":"ea27110249d12e072956473a86fd1965df8e1be985f3b686b4e277afefdde584","impliedFormat":1},{"version":"8776a368617ce51129b74db7d55c3373dadcce5d0701e61d106e99998922a239","impliedFormat":1},{"version":"5666075052877fe2fdddd5b16de03168076cf0f03fbca5c1d4a3b8f43cba570c","impliedFormat":1},{"version":"9108ab5af05418f599ab48186193b1b07034c79a4a212a7f73535903ba4ca249","impliedFormat":1},{"version":"bb4e2cdcadf9c9e6ee2820af23cee6582d47c9c9c13b0dca1baaffe01fbbcb5f","impliedFormat":1},{"version":"6e30d0b5a1441d831d19fe02300ab3d83726abd5141cbcc0e2993fa0efd33db4","impliedFormat":1},{"version":"423f28126b2fc8d8d6fa558035309000a1297ed24473c595b7dec52e5c7ebae5","impliedFormat":1},{"version":"fb30734f82083d4790775dae393cd004924ebcbfde49849d9430bf0f0229dd16","impliedFormat":1},{"version":"2c92b04a7a4a1cd9501e1be338bf435738964130fb2ad5bd6c339ee41224ac4c","impliedFormat":1},{"version":"c5c5f0157b41833180419dacfbd2bcce78fb1a51c136bd4bcba5249864d8b9b5","impliedFormat":1},{"version":"02ae43d5bae42efcd5a00d3923e764895ce056bca005a9f4e623aa6b4797c8af","impliedFormat":1},{"version":"db6e01f17012a9d7b610ae764f94a1af850f5d98c9c826ad61747dca0fb800bd","impliedFormat":1},{"version":"8a44b424edee7bb17dc35a558cc15f92555f14a0441205613e0e50452ab3a602","impliedFormat":1},{"version":"24a00d0f98b799e6f628373249ece352b328089c3383b5606214357e9107e7d5","impliedFormat":1},{"version":"33637e3bc64edd2075d4071c55d60b32bdb0d243652977c66c964021b6fc8066","impliedFormat":1},{"version":"0f0ad9f14dedfdca37260931fac1edf0f6b951c629e84027255512f06a6ebc4c","impliedFormat":1},{"version":"16ad86c48bf950f5a480dc812b64225ca4a071827d3d18ffc5ec1ae176399e36","impliedFormat":1},{"version":"8cbf55a11ff59fd2b8e39a4aa08e25c5ddce46e3af0ed71fb51610607a13c505","impliedFormat":1},{"version":"d5bc4544938741f5daf8f3a339bfbf0d880da9e89e79f44a6383aaf056fe0159","impliedFormat":1},{"version":"97f9169882d393e6f303f570168ca86b5fe9aab556e9a43672dae7e6bb8e6495","impliedFormat":1},{"version":"7c9adb3fcd7851497818120b7e151465406e711d6a596a71b807f3a17853cb58","impliedFormat":1},{"version":"6752d402f9282dd6f6317c8c048aaaac27295739a166eed27e00391b358fed9a","impliedFormat":1},{"version":"9fd7466b77020847dbc9d2165829796bf7ea00895b2520ff3752ffdcff53564b","impliedFormat":1},{"version":"fbfc12d54a4488c2eb166ed63bab0fb34413e97069af273210cf39da5280c8d6","impliedFormat":1},{"version":"85a84240002b7cf577cec637167f0383409d086e3c4443852ca248fc6e16711e","impliedFormat":1},{"version":"84794e3abd045880e0fadcf062b648faf982aa80cfc56d28d80120e298178626","impliedFormat":1},{"version":"053d8b827286a16a669a36ffc8ccc8acdf8cc154c096610aa12348b8c493c7b8","impliedFormat":1},{"version":"3cce4ce031710970fe12d4f7834375f5fd455aa129af4c11eb787935923ff551","impliedFormat":1},{"version":"8f62cbd3afbd6a07bb8c934294b6bfbe437021b89e53a4da7de2648ecfc7af25","impliedFormat":1},{"version":"62c3621d34fb2567c17a2c4b89914ebefbfbd1b1b875b070391a7d4f722e55dc","impliedFormat":1},{"version":"c05ac811542e0b59cb9c2e8f60e983461f0b0e39cea93e320fad447ff8e474f3","impliedFormat":1},{"version":"8e7a5b8f867b99cc8763c0b024068fb58e09f7da2c4810c12833e1ca6eb11c4f","impliedFormat":1},{"version":"132351cbd8437a463757d3510258d0fa98fd3ebef336f56d6f359cf3e177a3ce","impliedFormat":1},{"version":"df877050b04c29b9f8409aa10278d586825f511f0841d1ec41b6554f8362092b","impliedFormat":1},{"version":"33d1888c3c27d3180b7fd20bac84e97ecad94b49830d5dd306f9e770213027d1","impliedFormat":1},{"version":"ee942c58036a0de88505ffd7c129f86125b783888288c2389330168677d6347f","impliedFormat":1},{"version":"a3f317d500c30ea56d41501632cdcc376dae6d24770563a5e59c039e1c2a08ec","impliedFormat":1},{"version":"eb21ddc3a8136a12e69176531197def71dc28ffaf357b74d4bf83407bd845991","impliedFormat":1},{"version":"0c1651a159995dfa784c57b4ea9944f16bdf8d924ed2d8b3db5c25d25749a343","impliedFormat":1},{"version":"aaa13958e03409d72e179b5d7f6ec5c6cc666b7be14773ae7b6b5ee4921e52db","impliedFormat":1},{"version":"0a86e049843ad02977a94bb9cdfec287a6c5a0a4b6b5391a6648b1a122072c5a","impliedFormat":1},{"version":"40f06693e2e3e58526b713c937895c02e113552dc8ba81ecd49cdd9596567ddb","impliedFormat":1},{"version":"4ed5e1992aedb174fb8f5aa8796aa6d4dcb8bd819b4af1b162a222b680a37fa0","impliedFormat":1},{"version":"d7f4bd46a8b97232ea6f8c28012b8d2b995e55e729d11405f159d3e00c51420a","impliedFormat":1},{"version":"d604d413aff031f4bfbdae1560e54ebf503d374464d76d50a2c6ded4df525712","impliedFormat":1},{"version":"e4f4f9cf1e3ac9fd91ada072e4d428ecbf0aa6dc57138fb797b8a0ca3a1d521c","impliedFormat":1},{"version":"12bfd290936824373edda13f48a4094adee93239b9a73432db603127881a300d","impliedFormat":1},{"version":"340ceb3ea308f8e98264988a663640e567c553b8d6dc7d5e43a8f3b64f780374","impliedFormat":1},{"version":"c5a769564e530fba3ec696d0a5cff1709b9095a0bdf5b0826d940d2fc9786413","impliedFormat":1},{"version":"7124ef724c3fc833a17896f2d994c368230a8d4b235baed39aa8037db31de54f","impliedFormat":1},{"version":"5de1c0759a76e7710f76899dcae601386424eab11fb2efaf190f2b0f09c3d3d3","impliedFormat":1},{"version":"9c5ee8f7e581f045b6be979f062a61bf076d362bf89c7f966b993a23424e8b0d","impliedFormat":1},{"version":"1a11df987948a86aa1ec4867907c59bdf431f13ed2270444bf47f788a5c7f92d","impliedFormat":1},{"version":"8018dd2e95e7ce6e613ddd81672a54532614dc745520a2f9e3860ff7fb1be0ca","impliedFormat":1},{"version":"b756781cd40d465da57d1fc6a442c34ae61fe8c802d752aace24f6a43fedacee","impliedFormat":1},{"version":"0fe76167c87289ea094e01616dcbab795c11b56bad23e1ef8aba9aa37e93432a","impliedFormat":1},{"version":"3a45029dba46b1f091e8dc4d784e7be970e209cd7d4ff02bd15270a98a9ba24b","impliedFormat":1},{"version":"032c1581f921f8874cf42966f27fd04afcabbb7878fa708a8251cac5415a2a06","impliedFormat":1},{"version":"69c68ed9652842ce4b8e495d63d2cd425862104c9fb7661f72e7aa8a9ef836f8","impliedFormat":1},{"version":"0e704ee6e9fd8b6a5a7167886f4d8915f4bc22ed79f19cb7b32bd28458f50643","impliedFormat":1},{"version":"06f62a14599a68bcde148d1efd60c2e52e8fa540cc7dcfa4477af132bb3de271","impliedFormat":1},{"version":"904a96f84b1bcee9a7f0f258d17f8692e6652a0390566515fe6741a5c6db8c1c","impliedFormat":1},{"version":"11f19ce32d21222419cecab448fa335017ebebf4f9e5457c4fa9df42fa2dcca7","impliedFormat":1},{"version":"2e8ee2cbb5e9159764e2189cf5547aebd0e6b0d9a64d479397bb051cd1991744","impliedFormat":1},{"version":"1b0471d75f5adb7f545c1a97c02a0f825851b95fe6e069ac6ecaa461b8bb321d","impliedFormat":1},{"version":"1d157c31a02b1e5cca9bc495b3d8d39f4b42b409da79f863fb953fbe3c7d4884","impliedFormat":1},{"version":"07baaceaec03d88a4b78cb0651b25f1ae0322ac1aa0b555ae3749a79a41cba86","impliedFormat":1},{"version":"619a132f634b4ebe5b4b4179ea5870f62f2cb09916a25957bff17b408de8b56d","impliedFormat":1},{"version":"f60fa446a397eb1aead9c4e568faf2df8068b4d0306ebc075fb4be16ed26b741","impliedFormat":1},{"version":"f3cb784be4d9e91f966a0b5052a098d9b53b0af0d341f690585b0cc05c6ca412","impliedFormat":1},{"version":"350f63439f8fe2e06c97368ddc7fb6d6c676d54f59520966f7dbbe6a4586014e","impliedFormat":1},{"version":"eba613b9b357ac8c50a925fa31dc7e65ff3b95a07efbaa684b624f143d8d34ba","impliedFormat":1},{"version":"45b74185005ed45bec3f07cac6e4d68eaf02ead9ff5a66721679fb28020e5e7c","impliedFormat":1},{"version":"0f6199602df09bdb12b95b5434f5d7474b1490d2cd8cc036364ab3ba6fd24263","impliedFormat":1},{"version":"c8ca7fd9ec7a3ec82185bfc8213e4a7f63ae748fd6fced931741d23ef4ea3c0f","impliedFormat":1},{"version":"5c6a8a3c2a8d059f0592d4eab59b062210a1c871117968b10797dee36d991ef7","impliedFormat":1},{"version":"ad77fd25ece8e09247040826a777dc181f974d28257c9cd5acb4921b51967bd8","impliedFormat":1},{"version":"795a08ae4e193f345073b49f68826ab6a9b280400b440906e4ec5c237ae777e6","impliedFormat":1},{"version":"8153df63cf65122809db17128e5918f59d6bb43a371b5218f4430c4585f64085","impliedFormat":1},{"version":"a8150bc382dd12ce58e00764d2366e1d59a590288ee3123af8a4a2cb4ef7f9df","impliedFormat":1},{"version":"5adfaf2f9f33957264ad199a186456a4676b2724ed700fc313ff945d03372169","impliedFormat":1},{"version":"d5c41a741cd408c34cb91f84468f70e9bda3dfeabf33251a61039b3cdb8b22d8","impliedFormat":1},{"version":"a20c3e0fe86a1d8fc500a0e9afec9a872ad3ab5b746ceb3dd7118c6d2bff4328","impliedFormat":1},{"version":"cbaf4a4aa8a8c02aa681c5870d5c69127974de29b7e01df570edec391a417959","impliedFormat":1},{"version":"c7135e329a18b0e712378d5c7bc2faec6f5ab0e955ea0002250f9e232af8b3e4","impliedFormat":1},{"version":"340a45cd77b41d8a6deda248167fa23d3dc67ec798d411bd282f7b3d555b1695","impliedFormat":1},{"version":"fae330f86bc10db6841b310f32367aaa6f553036a3afc426e0389ddc5566cd74","impliedFormat":1},{"version":"2bee1efe53481e93bb8b31736caba17353e7bb6fc04520bd312f4e344afd92f9","impliedFormat":1},{"version":"357b67529139e293a0814cb5b980c3487717c6fbf7c30934d67bc42dad316871","impliedFormat":1},{"version":"99d99a765426accf8133737843fb024a154dc6545fc0ffbba968a7c0b848959d","impliedFormat":1},{"version":"c782c5fd5fa5491c827ecade05c3af3351201dd1c7e77e06711c8029b7a9ee4d","impliedFormat":1},{"version":"883d2104e448bb351c49dd9689a7e8117b480b614b2622732655cef03021bf6d","impliedFormat":1},{"version":"d9b00ee2eca9b149663fdba1c1956331841ae296ee03eaaff6c5becbc0ff1ea8","impliedFormat":1},{"version":"09a7e04beb0547c43270b327c067c85a4e2154372417390731dfe092c4350998","impliedFormat":1},{"version":"eee530aaa93e9ec362e3941ee8355e2d073c7b21d88c2af4713e3d701dab8fef","impliedFormat":1},{"version":"28d47319b97dbeee9130b78eae03b2061d46dedbf92b0d9de13ed7ab8399ccd0","impliedFormat":1},{"version":"6559a36671052ca93cab9a289279a6cef6f9d1a72c34c34546a8848274a9c66c","impliedFormat":1},{"version":"7a0e4cd92545ad03910fd019ae9838718643bd4dde39881c745f236914901dfa","impliedFormat":1},{"version":"c99ebd20316217e349004ee1a0bc74d32d041fb6864093f10f31984c737b8cad","impliedFormat":1},{"version":"6f622e7f054f5ab86258362ac0a64a2d6a27f1e88732d6f5f052f422e08a70e7","impliedFormat":1},{"version":"d62d2ef93ceeb41cf9dfab25989a1e5f9ca5160741aac7f1453c69a6c14c69be","impliedFormat":1},{"version":"1491e80d72873fc586605283f2d9056ee59b166333a769e64378240df130d1c9","impliedFormat":1},{"version":"c32c073d389cfaa3b3e562423e16c2e6d26b8edebbb7d73ccffff4aa66f2171d","impliedFormat":1},{"version":"eca72bf229eecadb63e758613c62fab13815879053539a22477d83a48a21cd73","impliedFormat":1},{"version":"633db46fd1765736409a4767bfc670861468dde60dbb9a501fba4c1b72f8644d","impliedFormat":1},{"version":"f379412f2c0dddd193ff66dcdd9d9cc169162e441d86804c98c84423f993aa8a","impliedFormat":1},{"version":"f2ee748883723aa9325e5d7f30fce424f6a786706e1b91a5a55237c78ee89c4a","impliedFormat":1},{"version":"d928324d17146fce30b99a28d1d6b48648feac72bbd23641d3ce5ac34aefdfee","impliedFormat":1},{"version":"142f5190d730259339be1433931c0eb31ae7c7806f4e325f8a470bd9221b6533","impliedFormat":1},{"version":"cbd19f594f0ee7beffeb37dc0367af3908815acf4ce46d86b0515478718cfed8","impliedFormat":1},{"version":"c8282f67ef03eeeb09b8f9fd67c238a7cb0df03898e1c8d0e0daca14d4d18aa0","impliedFormat":1},{"version":"8776e64e6165838ac152fa949456732755b0976d1867ae5534ce248f0ccd7f41","impliedFormat":1},{"version":"896bbc7402b3a403cda96813c8ea595470ff76d31f32869d053317c00ca2589a","impliedFormat":1},{"version":"5c4c5b49bbb01828402bb04af1d71673b18852c11b7e95bfd5cf4c3d80d352c8","impliedFormat":1},{"version":"7030df3d920343df00324df59dc93a959a33e0f4940af3fefef8c07b7ee329bf","impliedFormat":1},{"version":"a96bc00e0c356e29e620eaec24a56d6dd7f4e304feefcc99066a1141c6fe05a7","impliedFormat":1},{"version":"d12cc0e5b09943c4cd0848f787eb9d07bf78b60798e4588c50582db9d4decc70","impliedFormat":1},{"version":"7333ee6354964fd396297958e52e5bf62179aa2c88ca0a35c6d3a668293b7e0e","impliedFormat":1},{"version":"19c3760af3cbc9da99d5b7763b9e33aaf8d018bc2ed843287b7ff4343adf4634","impliedFormat":1},{"version":"9d1e38aeb76084848d2fcd39b458ec88246de028c0f3f448b304b15d764b23d2","impliedFormat":1},{"version":"d406da1eccf18cec56fd29730c24af69758fe3ff49c4f94335e797119cbc0554","impliedFormat":1},{"version":"4898c93890a136da9156c75acd1a80a941a961b3032a0cf14e1fa09a764448b7","impliedFormat":1},{"version":"f5d7a845e3e1c6c27351ea5f358073d0b0681537a2da6201fab254aa434121d3","impliedFormat":1},{"version":"3a47d4582ef0697cccf1f3d03b620002f03fb0ff098f630e284433c417d6c61b","impliedFormat":1},{"version":"d7c30f0abfe9e197e376b016086cf66b2ffb84015139963f37301ed0da9d3d0d","impliedFormat":1},{"version":"ff75bba0148f07775bcb54bf4823421ed4ebdb751b3bf79cc003bd22e49d7d73","impliedFormat":1},{"version":"d40d20ac633703a7333770bfd60360126fc3302d5392d237bbb76e8c529a4f95","impliedFormat":1},{"version":"35a9867207c488061fb4f6fe4715802fbc164b4400018d2fa0149ad02db9a61c","impliedFormat":1},{"version":"55fade96019df8eb3d457d70a29fcdf7fa405e5726c5bf1b2fa25e4102c83b12","impliedFormat":1},{"version":"0abe2cd72812bbfc509975860277c7cd6f6e0be95d765a9da77fee98264a7e32","impliedFormat":1},{"version":"601fe4e366b99181cd0244d96418cffeaaa987a7e310c6f0ed0f06ce63dfe3e9","impliedFormat":1},{"version":"c66a4f2b1362abc4aeee0870c697691618b423c8c6e75624a40ef14a06f787b7","impliedFormat":1},{"version":"90433c678bc26751eb7a5d54a2bb0a14be6f5717f69abb5f7a04afc75dce15a4","impliedFormat":1},{"version":"cd0565ace87a2d7802bf4c20ea23a997c54e598b9eb89f9c75e69478c1f7a0b4","impliedFormat":1},{"version":"738020d2c8fc9df92d5dee4b682d35a776eaedfe2166d12bc8f186e1ea57cc52","impliedFormat":1},{"version":"86dd7c5657a0b0bc6bee8002edcfd544458d3d3c60974555746eb9b2583dc35e","impliedFormat":1},{"version":"d97b96b6ecd4ee03f9f1170722c825ef778430a6a0d7aab03b8929012bf773cd","impliedFormat":1},{"version":"e84e9b89251a57da26a339e75f4014f52e8ef59b77c2ee1e0171cde18d17b3b8","impliedFormat":1},{"version":"272dbfe04cfa965d6fff63fdaba415c1b5a515b1881ae265148f8a84ddeb318f","impliedFormat":1},{"version":"2035fb009b5fafa9a4f4e3b3fdb06d9225b89f2cbbf17a5b62413bf72cea721a","impliedFormat":1},{"version":"eefafec7c059f07b885b79b327d381c9a560e82b439793de597441a4e68d774a","impliedFormat":1},{"version":"72636f59b635c378dc9ea5246b9b3517b1214e340e468e54cb80126353053b2e","impliedFormat":1},{"version":"ebb79f267a3bf2de5f8edc1995c5d31777b539935fab8b7d863e8efb06c8e9ea","impliedFormat":1},{"version":"ada033e6a4c7f4e147e6d76bb881069dc66750619f8cc2472d65beeec1100145","impliedFormat":1},{"version":"0c04cc14a807a5dc0e3752d18a3b2655a135fefbf76ddcdabd0c5df037530d41","impliedFormat":1},{"version":"605d29d619180fbec287d1701e8b1f51f2d16747ec308d20aba3e9a0dac43a0f","impliedFormat":1},{"version":"67c19848b442d77c767414084fc571ce118b08301c4ddff904889d318f3a3363","impliedFormat":1},{"version":"c704ff0e0cb86d1b791767a88af21dadfee259180720a14c12baee668d0eb8fb","impliedFormat":1},{"version":"195c50e15d5b3ea034e01fbdca6f8ad4b35ad47463805bb0360bdffd6fce3009","impliedFormat":1},{"version":"da665f00b6877ae4adb39cd548257f487a76e3d99e006a702a4f38b4b39431cb","impliedFormat":1},{"version":"083aebdd7c96aee90b71ec970f81c48984d9c8ab863e7d30084f048ddcc9d6af","impliedFormat":1},{"version":"1c3bde1951add95d54a05e6628a814f2f43bf9d49902729eaf718dc9eb9f4e02","impliedFormat":1},{"version":"d7a4309673b06223537bc9544b1a5fe9425628e1c8ab5605f3c5ebc27ecb8074","impliedFormat":1},{"version":"0be3da88f06100e2291681bbda2592816dd804004f0972296b20725138ebcddf","impliedFormat":1},{"version":"3eadfd083d40777b403f4f4eecfa40f93876f2a01779157cc114b2565a7afb51","impliedFormat":1},{"version":"cb6789ce3eba018d5a7996ccbf50e27541d850e9b4ee97fdcb3cbd8c5093691f","impliedFormat":1},{"version":"a3684ea9719122f9477902acd08cd363a6f3cff6d493df89d4dc12fa58204e27","impliedFormat":1},{"version":"2828dabf17a6507d39ebcc58fef847e111dcf2d51b8e4ff0d32732c72be032b3","impliedFormat":1},{"version":"c0c46113b4cd5ec9e7cf56e6dbfb3930ef6cbba914c0883eeced396988ae8320","impliedFormat":1},{"version":"118ea3f4e7b9c12e92551be0766706f57a411b4f18a1b4762cfde3cd6d4f0a96","impliedFormat":1},{"version":"01acd7f315e2493395292d9a02841f3b0300e77ccf42f84f4f11460e7623107d","impliedFormat":1},{"version":"656d1ce5b8fbed896bb803d849d6157242261030967b821d01e72264774cab55","impliedFormat":1},{"version":"da66c1b41d833858fe61947432130d39649f0b53d992dfd7d00f0bbe57191ef4","impliedFormat":1},{"version":"835739c6dcf0a9a1533d1e95b7d7cf8e44ca1341652856b897f4573078b23a31","impliedFormat":1},{"version":"774a3bcc0700036313c57a079e2e1161a506836d736203aa0463efa7b11a7e54","impliedFormat":1},{"version":"96577e3f8e0f9ea07ddf748d72dc1908581ef2aafd4ae7418a4574c26027cf02","impliedFormat":1},{"version":"f55971cb3ede99c17443b03788fe27b259dcd0f890ac31badcb74e3ffb4bb371","impliedFormat":1},{"version":"0ef0c246f8f255a5d798727c40d6d2231d2b0ebda5b1ec75e80eadb02022c548","impliedFormat":1},{"version":"ea127752a5ec75f2ac6ef7f1440634e6ae5bc8d09e6f98b61a8fb600def6a861","impliedFormat":1},{"version":"862320e775649dcca8915f8886865e9c6d8affc1e70ed4b97199f3b70a843b47","impliedFormat":1},{"version":"561764374e9f37cb895263d5c8380885972d75d09d0db64c12e0cb10ba90ae3e","impliedFormat":1},{"version":"ee889da857c29fa7375ad500926748ef2e029a6645d7c080e57769923d15dfef","impliedFormat":1},{"version":"56984ba2d781bd742b6bc0fa34c10df2eae59b42ec8b1b731d297f1590fa4071","impliedFormat":1},{"version":"7521de5e64e2dd022be87fce69d956a52d4425286fbc5697ecfec386da896d7e","impliedFormat":1},{"version":"f50b072ec1f4839b54fd1269a4fa7b03efbc9c59940224c7939632c0f70a39c3","impliedFormat":1},{"version":"a5b7ec6f1ff3f1d19a2547f7e1a50ab1284e6b4755d260a481ea01ed2c7cec60","impliedFormat":1},{"version":"1747f9eebf5beb8cfc46cf0303e300950b7bff20cff60b9c46818caced3226e3","impliedFormat":1},{"version":"9d969f36abb62139a90345ee5d03f1c2479831bd84c8f843d87ec304cad96ead","impliedFormat":1},{"version":"e972b52218fd5919aec6cd0e5e2a5fb75f5d2234cf05597a9441837a382b2b29","impliedFormat":1},{"version":"d1e292b0837d0ef5ede4f52363c9d8e93f5d5234086adc796e11eae390305b36","impliedFormat":1},{"version":"0a9e10028a96865d0f25aeca9e3b1ff0691b9b662aa186d9d490728434cf8261","impliedFormat":1},{"version":"1aed740b674839c89f427f48737bad435ee5a39d80b5929f9dc9cc9ac10a7700","impliedFormat":1},{"version":"6e9e3690dc3a6e99a845482e33ee78915893f2d0d579a55b6a0e9b4c44193371","impliedFormat":1},{"version":"4e7a76cce3b537b6cdb1c4b97e29cb4048ee8e7d829cf3a85f4527e92eb573f2","impliedFormat":1},{"version":"5e8c2b0769cea4cdb1b1724751116bc5a33800e87238be7da34c88ade568d287","impliedFormat":1},{"version":"46f1fe93f199a419172d7480407d9572064b54712b69406efa97e0244008b24e","impliedFormat":1},{"version":"044e6aaa3f612833fb80e323c65e9d816c3148b397e93630663cda5c2d8f4de1","impliedFormat":1},{"version":"deaf8eb392c46ea2c88553d3cc38d46cfd5ee498238dbc466e3f5be63ae0f651","impliedFormat":1},{"version":"6a79b61f57699de0a381c8a13f4c4bcd120556bfab0b4576994b6917cb62948b","impliedFormat":1},{"version":"c5133d7bdec65f465df12f0b507fbc0d96c78bfa5a012b0eb322cf1ff654e733","impliedFormat":1},{"version":"7905c052681cbe9286797ec036942618e1e8d698dcc2e60f4fb7a0013d470442","impliedFormat":1},{"version":"89049878a456b5e0870bb50289ea8ece28a2abd0255301a261fa8ab6a3e9a07d","impliedFormat":1},{"version":"55ae9554811525f24818e19bdc8779fa99df434be7c03e5fc47fa441315f0226","impliedFormat":1},{"version":"d4a4f10062a6d82ba60d3ffde9154ef24b1baf2ce28c6439f5bdfb97aa0d18fc","impliedFormat":1},{"version":"f13310c360ecffddb3858dcb33a7619665369d465f55e7386c31d45dfc3847bf","impliedFormat":1},{"version":"e7bde95a05a0564ee1450bc9a53797b0ac7944bf24d87d6f645baca3aa60df48","impliedFormat":1},{"version":"62e68ce120914431a7d34232d3eca643a7ddd67584387936a5202ae1c4dd9a1b","impliedFormat":1},{"version":"91d695bba902cc2eda7edc076cd17c5c9340f7bb254597deb6679e343effadbb","impliedFormat":1},{"version":"e1cb8168c7e0bd4857a66558fe7fe6c66d08432a0a943c51bacdac83773d5745","impliedFormat":1},{"version":"a464510505f31a356e9833963d89ce39f37a098715fc2863e533255af4410525","impliedFormat":1},{"version":"0612b149cabbc136cb25de9daf062659f306b67793edc5e39755c51c724e2949","impliedFormat":1},{"version":"2579b150b86b5f644d86a6d58f17e3b801772c78866c34d41f86f3fc9eb523fe","impliedFormat":1},{"version":"0353e05b0d8475c10ddd88056e0483b191aa5cdea00a25e0505b96e023f1a2d9","impliedFormat":1},{"version":"0db56fa7e217c8f35a618aa3153486c786a76782267febba8a1023baf1f4f55b","impliedFormat":1},{"version":"55751aaa3006e3a393539043695d6d2037cbd68676c9019805096ee84a7fb52f","impliedFormat":1},{"version":"a8af4739274959d70f7da4bfdd64f71cfc08d825c2d5d3561bc7baed760b33ef","impliedFormat":1},{"version":"99193bafaa9ce112889698de25c4b8c80b1209bb7402189aea1c7ada708a8a54","impliedFormat":1},{"version":"70473538c6eb9494d53bf1539fe69df68d87c348743d8f7244dcb02ca3619484","impliedFormat":1},{"version":"c48932ab06a4e7531bdca7b0f739ace5fa273f9a1b9009bcd26902f8c0b851f0","impliedFormat":1},{"version":"df6c83e574308f6540c19e3409370482a7d8f448d56c65790b4ac0ab6f6fedd8","impliedFormat":1},{"version":"ebbe6765a836bfa7f03181bc433c8984ca29626270ca1e240c009851222cb8a7","impliedFormat":1},{"version":"20f630766b73752f9d74aab6f4367dba9664e8122ea2edcb00168e4f8b667627","impliedFormat":1},{"version":"468df9d24a6e2bc6b4351417e3b5b4c2ca08264d6d5045fe18eb42e7996e58b4","impliedFormat":1},{"version":"954523d1f4856180cbf79b35bd754e14d3b2aea06c7efd71b254c745976086e9","impliedFormat":1},{"version":"31a030f1225ab463dd0189a11706f0eb413429510a7490192a170114b2af8697","impliedFormat":1},{"version":"6f48f244cd4b5b7e9a0326c74f480b179432397580504726de7c3c65d6304b36","impliedFormat":1},{"version":"5520e6defac8e6cdced6dd28808fafe795cb2cd87407bb1012e13a2b061f50b7","impliedFormat":1},{"version":"c3451661fb058f4e15971bbed29061dd960d02d9f8db1038e08b90d294a05c68","impliedFormat":1},{"version":"1f21aefa51f03629582568f97c20ef138febe32391012828e2a0149c2c393f62","impliedFormat":1},{"version":"b18141cda681d82b2693aef045107a910b90a7409ecff0830e1283f0bb2a53e6","impliedFormat":1},{"version":"18eb53924f27af2a5e9734dce28cf5985df7b2828dade1239241e95b639e9bf1","impliedFormat":1},{"version":"a9f1c52f4e7c2a2c4988b5638bd3dbfe38e408b358d02dd2fb8c8920e877f088","impliedFormat":1},{"version":"a7e10a8ad6536dd0225029e46108b18cee0d3c15c2f6e49bd62798ad85bc57b6","impliedFormat":1},{"version":"8db1ed144dd2304b9bd6e41211e22bad5f4ab1d8006e6ac127b29599f4b36083","impliedFormat":1},{"version":"843a5e3737f2abbbbd43bf2014b70f1c69a80530814a27ae1f8be213ae9ec222","impliedFormat":1},{"version":"6fc1be224ad6b3f3ec11535820def2d21636a47205c2c9de32238ba1ac8d82e6","impliedFormat":1},{"version":"5a44788293f9165116c9c183be66cefef0dc5d718782a04847de53bf664f3cc1","impliedFormat":1},{"version":"afd653ae63ce07075b018ba5ce8f4e977b6055c81cc65998410b904b94003c0a","impliedFormat":1},{"version":"9172155acfeb17b9d75f65b84f36cb3eb0ff3cd763db3f0d1ad5f6d10d55662f","impliedFormat":1},{"version":"71807b208e5f15feffb3ff530bec5b46b1217af0d8cc96dde00d549353bcb864","impliedFormat":1},{"version":"1a6eca5c2bc446481046c01a54553c3ffb856f81607a074f9f0256c59dd0ab13","impliedFormat":1},"eaf8514ce110fa428a93a27408df4d06d133dbd9ed0a775c315ddfdd507853a9","260f889b9e2b69f77be1155348eb345166aec664b3efff6720053c6844a41f28",{"version":"dff93e0997c4e64ff29e9f70cad172c0b438c4f58c119f17a51c94d48164475a","impliedFormat":1},{"version":"fd1ddf926b323dfa439be49c1d41bbe233fe5656975a11183aeb3bf2addfa3bb","impliedFormat":1},{"version":"6dda11db28da6bcc7ff09242cd1866bdddd0ae91e2db3bea03ba66112399641a","impliedFormat":1},{"version":"ea4cd1e72af1aa49cf208b9cb4caf542437beb7a7a5b522f50a5f1b7480362ed","impliedFormat":1},{"version":"903a7d68a222d94da11a5a89449fdd5dd75d83cd95af34c0242e10b85ec33a93","impliedFormat":1},{"version":"e7fe2e7ed5c3a7beff60361632be19a8943e53466b7dd69c34f89faf473206d7","impliedFormat":1},{"version":"b4896cee83379e159f83021e262223354db79e439092e485611163e2082224ff","impliedFormat":1},{"version":"5243e79a643e41d9653011d6c66e95048fc0478eb8593dc079b70877a2e3990e","impliedFormat":1},{"version":"6c7176368037af28cb72f2392010fa1cef295d6d6744bca8cfb54985f3a18c3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"437e20f2ba32abaeb7985e0afe0002de1917bc74e949ba585e49feba65da6ca1","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"a79e62f1e20467e11a904399b8b18b18c0c6eea6b50c1168bf215356d5bebfaf","affectsGlobalScope":true,"impliedFormat":1},{"version":"d802f0e6b5188646d307f070d83512e8eb94651858de8a82d1e47f60fb6da4e2","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"a12d953aa755b14ac1d28ecdc1e184f3285b01d6d1e58abc11bf1826bc9d80e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"a38efe83ff77c34e0f418a806a01ca3910c02ee7d64212a59d59bca6c2c38fa1","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"2b06b93fd01bcd49d1a6bd1f9b65ddcae6480b9a86e9061634d6f8e354c1468f","impliedFormat":1},{"version":"fac88fbdde5ae2c50fe0a490d63ef7662509271d3c7d00543de8cdd82df2949a","affectsGlobalScope":true,"impliedFormat":1},{"version":"4314c7a11517e221f7296b46547dbc4df047115b182f544d072bdccffa57fc72","impliedFormat":1},{"version":"e9b97d69510658d2f4199b7d384326b7c4053b9e6645f5c19e1c2a54ede427fc","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"f478f6f5902dc144c0d6d7bdc919c5177cac4d17a8ca8653c2daf6d7dc94317f","affectsGlobalScope":true,"impliedFormat":1},{"version":"19d5f8d3930e9f99aa2c36258bf95abbe5adf7e889e6181872d1cdba7c9a7dd5","impliedFormat":1},{"version":"9855e02d837744303391e5623a531734443a5f8e6e8755e018c41d63ad797db2","impliedFormat":1},{"version":"bdba81959361810be44bcfdd283f4d601e406ab5ad1d2bdff0ed480cf983c9d7","impliedFormat":1},{"version":"836a356aae992ff3c28a0212e3eabcb76dd4b0cc06bcb9607aeef560661b860d","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"71450bbc2d82821d24ca05699a533e72758964e9852062c53b30f31c36978ab8","affectsGlobalScope":true,"impliedFormat":1},{"version":"b326f4813b90d230ec3950f66bd5b5ce3971aac5fac67cfafc54aa07b39fd07f","affectsGlobalScope":true,"impliedFormat":1},{"version":"25d130083f833251b5b4c2794890831b1b8ce2ead24089f724181576cf9d7279","impliedFormat":1},{"version":"ffe66ee5c9c47017aca2136e95d51235c10e6790753215608bff1e712ff54ec6","impliedFormat":1},{"version":"ec79bdd311bcba9b889af9da0cd88611affdda8c2d491305fa61b7529d5b89ba","impliedFormat":1},{"version":"017caf5d2a8ef581cf94f678af6ce7415e06956317946315560f1487b9a56167","impliedFormat":1},{"version":"528b62e4272e3ddfb50e8eed9e359dedea0a4d171c3eb8f337f4892aac37b24b","impliedFormat":1},{"version":"d71535813e39c23baa113bc4a29a0e187b87d1105ccc8c5a6ebaca38d9a9bff2","impliedFormat":1},{"version":"d83f86427b468176fbacb28ef302f152ad3d2d127664c627216e45cfa06fbf7e","affectsGlobalScope":true,"impliedFormat":1},{"version":"f72bc8fe16da67e4e3268599295797b202b95e54bd215a03f97e925dd1502a36","impliedFormat":1},{"version":"b1b6ee0d012aeebe11d776a155d8979730440082797695fc8e2a5c326285678f","impliedFormat":1},{"version":"45875bcae57270aeb3ebc73a5e3fb4c7b9d91d6b045f107c1d8513c28ece71c0","impliedFormat":1},{"version":"915e18c559321c0afaa8d34674d3eb77e1ded12c3e85bf2a9891ec48b07a1ca5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a2f3aa60aece790303a62220456ff845a1b980899bdc2e81646b8e33d9d9cc15","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"933921f0bb0ec12ef45d1062a1fc0f27635318f4d294e4d99de9a5493e618ca2","impliedFormat":1},{"version":"71a0f3ad612c123b57239a7749770017ecfe6b66411488000aba83e4546fde25","impliedFormat":1},{"version":"8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","impliedFormat":1},{"version":"4f9d8ca0c417b67b69eeb54c7ca1bedd7b56034bb9bfd27c5d4f3bc4692daca7","impliedFormat":1},{"version":"814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","impliedFormat":1},{"version":"0be405730b99eee7dbb051d74f6c3c0f1f8661d86184a7122b82c2bfb0991922","impliedFormat":1},{"version":"199c8269497136f3a0f4da1d1d90ab033f899f070e0dd801946f2a241c8abba2","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"125d792ec6c0c0f657d758055c494301cc5fdb327d9d9d5960b3f129aff76093","impliedFormat":1},{"version":"12aad38de6f0594dc21efa78a2c1f67bf6a7ef5a389e05417fe9945284450908","affectsGlobalScope":true,"impliedFormat":1},{"version":"2754d8221d77c7b382096651925eb476f1066b3348da4b73fe71ced7801edada","impliedFormat":1},{"version":"edbb3546af6a57fa655860fef11f4109390f4a2f1eab4a93f548ccc21d604a56","impliedFormat":1},{"version":"f0be1b8078cd549d91f37c30c222c2a187ac1cf981d994fb476a1adc61387b14","affectsGlobalScope":true,"impliedFormat":1},{"version":"0aaed1d72199b01234152f7a60046bc947f1f37d78d182e9ae09c4289e06a592","impliedFormat":1},{"version":"98ffdf93dfdd206516971d28e3e473f417a5cfd41172e46b4ce45008f640588e","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"7d6ff413e198d25639f9f01f16673e7df4e4bd2875a42455afd4ecc02ef156da","affectsGlobalScope":true,"impliedFormat":1},{"version":"27c45985c94b8b342110506d89ac2c145e1eaaac62fa4baae471c603ef3dda90","affectsGlobalScope":true,"impliedFormat":1},{"version":"0f7e00beefa952297cde4638b2124d2d9a1eed401960db18edcadaa8500c78eb","impliedFormat":1},{"version":"3a051941721a7f905544732b0eb819c8d88333a96576b13af08b82c4f17581e4","impliedFormat":1},{"version":"ac5ed35e649cdd8143131964336ab9076937fa91802ec760b3ea63b59175c10a","impliedFormat":1},{"version":"a4568ec1888b5306bbde6d9ede5c4a81134635fa8aad7eaad15752760eb9783f","affectsGlobalScope":true,"impliedFormat":1},{"version":"3797dd6f4ea3dc15f356f8cdd3128bfa18122213b38a80d6c1f05d8e13cbdad8","impliedFormat":1},{"version":"ad90122e1cb599b3bc06a11710eb5489101be678f2920f2322b0ac3e195af78d","impliedFormat":1},{"version":"76e7352249c42b9d54fe1f9e1ebcef777da1cb2eb33038366af49469d433597b","impliedFormat":1},{"version":"88cb622dd0ec1ef860e5c27fa884e60d2eba5ae22c7907dff82c56a69bdd2c8a","impliedFormat":1},{"version":"eb234b3e285e8bc071bdddc1ec0460095e13ead6222d44b02c4e0869522f9ba3","impliedFormat":1},{"version":"c85114872760189e50fef131944427b0fb367f0cc0b6dce164bb427a6fd89381","impliedFormat":1},{"version":"5ad69b0d7e7bdbcd3adfdb6a3e306e935c9c2711b1c60493646504a2f991346e","impliedFormat":1},{"version":"a12a667efdeb03b529bd4ebb4032998ddd32743799f59f9f18b186f8e63a2cf1","impliedFormat":1},{"version":"cee7efa0ae4c58deab218d1df0d1bf84abfd5c356cff28bca1421489cba13a19","impliedFormat":1},{"version":"f9e034b1ae29825c00532e08ea852b0c72885c343ee48d2975db0a6481218ab3","impliedFormat":1},{"version":"1193f49cbb883f40326461fe379e58ffa4c18d15bf6d6a1974ad2894e4fb20f3","impliedFormat":1},{"version":"8f1241f5d9f0d3d72117768b3c974e462840fbd85026fb66685078945404cf2f","impliedFormat":1},{"version":"6fd11f7d83a23fa7e933226132d2a78941e00cf65a89ccac736dfb07a16e8ea6","impliedFormat":1},{"version":"1d56c809275dc8f267b1df880bbb690cd33f3744492b410d728e12bad0126391","impliedFormat":1},{"version":"d5eb5865d4cbaa9985cc3cfb920b230cdcf3363f1e70903a08dc4baab80b0ce1","impliedFormat":1},{"version":"51ebca098538b252953b1ef83c165f25b52271bfb6049cd09d197dddd4cd43c5","impliedFormat":1},"f81c8db92edc04cb7a6d4fa9a5e1d0f0e80427214cdfdf2b12eb68c5460456b7","8a7428b44ec43d1646e3fc5b7d944f8d98468bcb445ceeeed2057ac81463062c",{"version":"cb5eaaa2a079305b1c5344af739b29c479746f7a7aefffc7175d23d8b7c8dbb0","impliedFormat":1},{"version":"bd324dccada40f2c94aaa1ebc82b11ce3927b7a2fe74a5ab92b431d495a86e6f","impliedFormat":1},{"version":"56749bf8b557c4c76181b2fd87e41bde2b67843303ae2eabb299623897d704d6","impliedFormat":1},{"version":"5a6fbec8c8e62c37e9685a91a6ef0f6ecaddb1ee90f7b2c2b71b454b40a0d9a6","impliedFormat":1},{"version":"e7435f2f56c50688250f3b6ef99d8f3a1443f4e3d65b4526dfb31dfd4ba532f8","impliedFormat":1},{"version":"6fc56a681a637069675b2e11b4aa105efe146f7a88876f23537e9ea139297cf9","impliedFormat":1},{"version":"33b7f4106cf45ae7ccbb95acd551e9a5cd3c27f598d48216bda84213b8ae0c7e","impliedFormat":1},{"version":"176d6f604b228f727afb8e96fd6ff78c7ca38102e07acfb86a0034d8f8a2064a","impliedFormat":1},{"version":"1b1a02c54361b8c222392054648a2137fc5983ad5680134a653b1d9f655fe43d","impliedFormat":1},{"version":"8bcb884d06860a129dbffa3500d51116d9d1040bb3bf1c9762eb2f1e7fd5c85c","impliedFormat":1},{"version":"e55c0f31407e1e4eee10994001a4f570e1817897a707655f0bbe4d4a66920e9e","impliedFormat":1},{"version":"a37c2194c586faa8979f50a5c5ca165b0903d31ee62a9fe65e4494aa099712c0","impliedFormat":1},{"version":"6602339ddc9cd7e54261bda0e70fb356d9cdc10e3ec7feb5fa28982f8a4d9e34","impliedFormat":1},{"version":"7ffaa736b8a04b0b8af66092da536f71ef13a5ef0428c7711f32b94b68f7c8c8","impliedFormat":1},{"version":"7b4930d666bbe5d10a19fcc8f60cfa392d3ad3383b7f61e979881d2c251bc895","impliedFormat":1},{"version":"46342f04405a2be3fbfb5e38fe3411325769f14482b8cd48077f2d14b64abcfb","impliedFormat":1},{"version":"8fa675c4f44e6020328cf85fdf25419300f35d591b4f56f56e00f9d52b6fbb3b","impliedFormat":1},{"version":"ba98f23160cfa6b47ee8072b8f54201f21a1ee9addc2ef461ebadf559fe5c43a","impliedFormat":1},{"version":"45a4591b53459e21217dc9803367a651e5a1c30358a015f27de0b3e719db816b","impliedFormat":1},{"version":"9ef22bee37885193b9fae7f4cad9502542c12c7fe16afe61e826cdd822643d84","impliedFormat":1},{"version":"b0451895b894c102eed19d50bd5fcb3afd116097f77a7d83625624fafcca8939","impliedFormat":1},{"version":"bce17120b679ff4f1be70f5fe5c56044e07ed45f1e555db6486c6ded8e1da1c8","impliedFormat":1},{"version":"7590477bfa2e309e677ff7f31cb466f377fcd0e10a72950439c3203175309958","impliedFormat":1},{"version":"3f9ebd554335d2c4c4e7dc67af342d37dc8f2938afa64605d8a93236022cc8a5","impliedFormat":1},{"version":"1c077c9f6c0bc02a36207994a6e92a8fbf72d017c4567f640b52bf32984d2392","impliedFormat":1},{"version":"600b42323925b32902b17563654405968aa12ee39e665f83987b7759224cc317","impliedFormat":1},{"version":"32c8f85f6b4e145537dfe61b94ddd98b47dbdd1d37dc4b7042a8d969cd63a1aa","impliedFormat":1},{"version":"2426ed0e9982c3d734a6896b697adf5ae93d634b73eb15b48da8106634f6d911","impliedFormat":1},{"version":"057431f69d565fb44c246f9f64eac09cf309a9af7afb97e588ebef19cc33c779","impliedFormat":1},{"version":"960d026ca8bf27a8f7a3920ee50438b50ec913d635aa92542ca07558f9c59eca","impliedFormat":1},{"version":"71f5d895cc1a8a935c40c070d3d0fade53ae7e303fd76f443b8b541dee19a90c","impliedFormat":1},{"version":"252eb4750d0439d1674ad0dc30d2a2a3e4655e08ad9e58a7e236b21e78d1d540","impliedFormat":1},{"version":"e344b4a389bb2dfa98f144f3f195387a02b6bdb69deed4a96d16cc283c567778","impliedFormat":1},{"version":"c6cdcd12d577032b84eed1de4d2de2ae343463701a25961b202cff93989439fb","impliedFormat":1},{"version":"203d75f653988a418930fb16fda8e84dea1fac7e38abdaafd898f257247e0860","impliedFormat":1},{"version":"c5b3da7e2ecd5968f723282aba49d8d1a2e178d0afe48998dad93f81e2724091","impliedFormat":1},{"version":"efd2860dc74358ffa01d3de4c8fa2f966ae52c13c12b41ad931c078151b36601","impliedFormat":1},{"version":"09acacae732e3cc67a6415026cfae979ebe900905500147a629837b790a366b3","impliedFormat":1},{"version":"f7b622759e094a3c2e19640e0cb233b21810d2762b3e894ef7f415334125eb22","impliedFormat":1},{"version":"99236ea5c4c583082975823fd19bcce6a44963c5c894e20384bc72e7eccf9b03","impliedFormat":1},{"version":"f6688a02946a3f7490aa9e26d76d1c97a388e42e77388cbab010b69982c86e9e","impliedFormat":1},{"version":"9f642953aba68babd23de41de85d4e97f0c39ef074cb8ab8aa7d55237f62aff6","impliedFormat":1},{"version":"4e171e0e0f32ea726e69fa33b816150d1886f0fa9fc2aa2584af85bf3e586bbc","impliedFormat":1},{"version":"2d2ec3235e01474f45a68f28cf826c2f5228b79f7d474d12ca3604cdcfdac80c","impliedFormat":1},{"version":"6dd249868034c0434e170ba6e0451d67a0c98e5a74fd57a7999174ee22a0fa7b","impliedFormat":1},{"version":"9716553c72caf4ff992be810e650707924ec6962f6812bd3fbdb9ac3544fd38f","impliedFormat":1},{"version":"506bc8f4d2d639bebb120e18d3752ddeee11321fd1070ad2ce05612753c628d6","impliedFormat":1},{"version":"053c51bbc32db54be396654ab5ecd03a66118d64102ac9e22e950059bc862a5e","impliedFormat":1},{"version":"1977f62a560f3b0fc824281fd027a97ce06c4b2d47b408f3a439c29f1e9f7e10","impliedFormat":1},{"version":"627570f2487bd8d899dd4f36ecb20fe0eb2f8c379eff297e24caba0c985a6c43","impliedFormat":1},{"version":"0f6e0b1a1deb1ab297103955c8cd3797d18f0f7f7d30048ae73ba7c9fb5a1d89","impliedFormat":1},{"version":"0a051f254f9a16cdde942571baab358018386830fed9bdfff42478e38ba641ce","impliedFormat":1},{"version":"17269f8dfc30c4846ab7d8b5d3c97ac76f50f33de96f996b9bf974d817ed025b","impliedFormat":1},{"version":"9e82194af3a7d314ccbc64bb94bfb62f4bfea047db3422a7f6c5caf2d06540a9","impliedFormat":1},{"version":"083d6f3547ccbf25dfa37b950c50bee6691ed5c42107f038cc324dbca1e173ae","impliedFormat":1},{"version":"952a9eab21103b79b7a6cca8ad970c3872883aa71273f540285cad360c35da40","impliedFormat":1},{"version":"8ba48776335db39e0329018c04486907069f3d7ee06ce8b1a6134b7d745271cc","impliedFormat":1},{"version":"e6d5809e52ed7ef1860d1c483e005d1f71bab36772ef0fd80d5df6db1da0e815","impliedFormat":1},{"version":"893e5cfbae9ed690b75b8b2118b140665e08d182ed8531e1363ec050905e6cb2","impliedFormat":1},{"version":"6ae7c7ada66314a0c3acfbf6f6edf379a12106d8d6a1a15bd35bd803908f2c31","impliedFormat":1},{"version":"e4b1e912737472765e6d2264b8721995f86a463a1225f5e2a27f783ecc013a7b","impliedFormat":1},{"version":"97146bbe9e6b1aab070510a45976faaf37724c747a42d08563aeae7ba0334b4f","impliedFormat":1},{"version":"c40d552bd2a4644b0617ec2f0f1c58618a25d098d2d4aa7c65fb446f3c305b54","impliedFormat":1},{"version":"09e64dea2925f3a0ef972d7c11e7fa75fec4c0824e9383db23eacf17b368532f","impliedFormat":1},{"version":"424ddba00938bb9ae68138f1d03c669f43556fc3e9448ed676866c864ca3f1d6","impliedFormat":1},{"version":"a0fe12181346c8404aab9d9a938360133b770a0c08b75a2fce967d77ca4b543f","impliedFormat":1},{"version":"3cc6eb7935ff45d7628b93bb6aaf1a32e8cb3b24287f9e75694b607484b377b3","impliedFormat":1},{"version":"ced02e78a2e10f89f4d70440d0a8de952a5946623519c54747bc84214d644bac","impliedFormat":1},{"version":"efd463021ccc91579ed8ae62584176baab2cd407c555c69214152480531a2072","impliedFormat":1},{"version":"29647c3b79320cfeecb5862e1f79220e059b26db2be52ea256df9cf9203fb401","impliedFormat":1},{"version":"e8cdefd2dc293cb4866ee8f04368e7001884650bb0f43357c4fe044cc2e1674f","impliedFormat":1},{"version":"582a3578ebba9238eb0c5d30b4d231356d3e8116fea497119920208fb48ccf85","impliedFormat":1},{"version":"185eae4a1e8a54e38f36cd6681cfa54c975a2fc3bc2ba6a39bf8163fac85188d","impliedFormat":1},{"version":"0c0a02625cf59a0c7be595ccc270904042bea523518299b754c705f76d2a6919","impliedFormat":1},{"version":"c44fc1bbdb5d1c8025073cb7c5eab553aa02c069235a1fc4613cd096d578ab80","impliedFormat":1},{"version":"cee72255e129896f0240ceb58c22e207b83d2cc81d8446190d1b4ef9b507ccd6","impliedFormat":1},{"version":"3b54670e11a8d3512f87e46645aa9c83ae93afead4a302299a192ac5458aa586","impliedFormat":1},{"version":"c2fc4d3a130e9dc0e40f7e7d192ef2494a39c37da88b5454c8adf143623e5979","impliedFormat":1},{"version":"2e693158fc1eedba3a5766e032d3620c0e9c8ad0418e4769be8a0f103fdb52cd","impliedFormat":1},{"version":"516275ccf3e66dc391533afd4d326c44dd750345b68bb573fc592e4e4b74545f","impliedFormat":1},{"version":"07c342622568693847f6cb898679402dd19740f815fd43bec996daf24a1e2b85","impliedFormat":1},{"version":"4d9bffaca7e0f0880868bab5fd351f9e4d57fcc6567654c4c330516fea7932aa","impliedFormat":1},{"version":"b42201db6adb94eeee965e8b8a5c24ce4a3fe78ebb89bbfd2d94bf2897af5134","impliedFormat":1},{"version":"89968316b7069339433bd42d53fe56df98b6990783dfe00c9513fb4bd01c2a1c","impliedFormat":1},{"version":"a4096686f982f6977433ee9759ecbef49da29d7e6a5d8278f0fbc7b9f70fce12","impliedFormat":1},{"version":"62e62a477c56cda719013606616dd856cfdc37c60448d0feb53654860d3113bb","impliedFormat":1},{"version":"207c107dd2bd23fa9febac2fe05c7c72cdac02c3f57003ab2e1c6794a6db0c05","impliedFormat":1},{"version":"55133e906c4ddabecdfcbc6a2efd4536a3ac47a8fa0a3fe6d0b918cac882e0d4","impliedFormat":1},{"version":"2147f8d114cf58c05106c3dccea9924d069c69508b5980ed4011d2b648af2ffe","impliedFormat":1},{"version":"2eb4012a758b9a7ba9121951d7c4b9f103fe2fc626f13bec3e29037bb9420dc6","impliedFormat":1},{"version":"fe61f001bd4bd0a374daa75a2ba6d1bb12c849060a607593a3d9a44e6b1df590","impliedFormat":1},{"version":"cfe8221c909ad721b3da6080570553dea2f0e729afbdbcf2c141252cf22f39b5","impliedFormat":1},{"version":"34e89249b6d840032b9acdec61d136877f84f2cd3e3980355b8a18f119809956","impliedFormat":1},{"version":"6f36ff8f8a898184277e7c6e3bf6126f91c7a8b6a841f5b5e6cb415cfc34820e","impliedFormat":1},{"version":"4b6378c9b1b3a2521316c96f5c777e32a1b14d05b034ccd223499e26de8a379c","impliedFormat":1},{"version":"07be5ae9bf5a51f3d98ffcfacf7de2fe4842a7e5016f741e9fad165bb929be93","impliedFormat":1},{"version":"cb1b37eda1afc730d2909a0f62cac4a256276d5e62fea36db1473981a5a65ab1","impliedFormat":1},{"version":"195f855b39c8a6e50eb1f37d8f794fbd98e41199dffbc98bf629506b6def73d7","impliedFormat":1},{"version":"471386a0a7e4eb88c260bdde4c627e634a772bf22f830c4ec1dad823154fd6f5","impliedFormat":1},{"version":"108314a60f3cb2454f2d889c1fb8b3826795399e5d92e87b2918f14d70c01e69","impliedFormat":1},{"version":"d75cc838286d6b1260f0968557cd5f28495d7341c02ac93989fb5096deddfb47","impliedFormat":1},{"version":"d531dc11bb3a8a577bd9ff83e12638098bfc9e0856b25852b91aac70b0887f2a","impliedFormat":1},{"version":"19968b998a2ab7dfd39de0c942fc738b2b610895843fec25477bc393687babd8","impliedFormat":1},{"version":"c0e6319f0839d76beed6e37b45ec4bb80b394d836db308ae9db4dea0fe8a9297","impliedFormat":1},{"version":"1a7b11be5c442dab3f4af9faf20402798fddf1d3c904f7b310f05d91423ba870","impliedFormat":1},{"version":"079d3f1ddcaf6c0ff28cfc7851b0ce79fcd694b3590afa6b8efa6d1656216924","impliedFormat":1},{"version":"2c817fa37b3d2aa72f01ce4d3f93413a7fbdecafe1b9fb7bd7baaa1bbd46eb08","impliedFormat":1},{"version":"682203aed293a0986cc2fccc6321d862742b48d7359118ac8f36b290d28920d2","impliedFormat":1},{"version":"7406d75a4761b34ce126f099eafe6643b929522e9696e5db5043f4e5c74a9e40","impliedFormat":1},{"version":"7e9c4e62351e3af1e5e49e88ebb1384467c9cd7a03c132a3b96842ccdc8045c4","impliedFormat":1},{"version":"ea1f9c60a912065c08e0876bd9500e8fa194738855effb4c7962f1bfb9b1da86","impliedFormat":1},{"version":"903f34c920e699dacbc483780b45d1f1edcb1ebf4b585a999ece78e403bb2db3","impliedFormat":1},{"version":"100ebfd0470433805c43be5ae377b7a15f56b5d7181c314c21789c4fe9789595","impliedFormat":1},{"version":"12533f60d36d03d3cf48d91dc0b1d585f530e4c9818a4d695f672f2901a74a86","impliedFormat":1},{"version":"21d9968dad7a7f021080167d874b718197a60535418e240389d0b651dd8110e7","impliedFormat":1},{"version":"2ef7349b243bce723d67901991d5ad0dfc534da994af61c7c172a99ff599e135","impliedFormat":1},{"version":"fa103f65225a4b42576ae02d17604b02330aea35b8aaf889a8423d38c18fa253","impliedFormat":1},{"version":"1b9173f64a1eaee88fa0c66ab4af8474e3c9741e0b0bd1d83bfca6f0574b6025","impliedFormat":1},{"version":"1b212f0159d984162b3e567678e377f522d7bee4d02ada1cc770549c51087170","impliedFormat":1},{"version":"46bd71615bdf9bfa8499b9cfce52da03507f7140c93866805d04155fa19caa1b","impliedFormat":1},{"version":"86cb49eb242fe19c5572f58624354ffb8743ff0f4522428ebcabc9d54a837c73","impliedFormat":1},{"version":"fc2fb9f11e930479d03430ee5b6588c3788695372b0ab42599f3ec7e78c0f6d5","impliedFormat":1},{"version":"bb1e5cf70d99c277c9f1fe7a216b527dd6bd2f26b307a8ab65d24248fb3319f5","impliedFormat":1},{"version":"817547eacf93922e22570ba411f23e9164544dead83e379c7ae9c1cfc700c2cf","impliedFormat":1},{"version":"a728478cb11ab09a46e664c0782610d7dd5c9db3f9a249f002c92918ca0308f7","impliedFormat":1},{"version":"9e91ef9c3e057d6d9df8bcbfbba0207e83ef9ab98aa302cf9223e81e32fdfe8d","impliedFormat":1},{"version":"66d30ef7f307f95b3f9c4f97e6c1a5e4c462703de03f2f81aca8a1a2f8739dbd","impliedFormat":1},{"version":"293ca178fd6c23ed33050052c6544c9d630f9d3b11d42c36aa86218472129243","impliedFormat":1},{"version":"90a4be0e17ba5824558c38c93894e7f480b3adf5edd1fe04877ab56c56111595","impliedFormat":1},{"version":"fadd55cddab059940934df39ce2689d37110cfe37cc6775f06b0e8decf3092d7","impliedFormat":1},{"version":"91324fe0902334523537221b6c0bef83901761cfd3bd1f140c9036fa6710fa2b","impliedFormat":1},{"version":"b4f3b4e20e2193179481ab325b8bd0871b986e1e8a8ed2961ce020c2dba7c02d","impliedFormat":1},{"version":"41744c67366a0482db029a21f0df4b52cd6f1c85cbc426b981b83b378ccb6e65","impliedFormat":1},{"version":"c3f3cf7561dd31867635c22f3c47c8491af4cfa3758c53e822a136828fc24e5d","impliedFormat":1},{"version":"a88ddea30fae38aa071a43b43205312dc5ff86f9e21d85ba26b14690dc19d95e","impliedFormat":1},{"version":"b5b2d0510e5455234016bbbaba3839ca21adbc715d1b9c3d6dede7d411a28545","impliedFormat":1},{"version":"5515f17f45c6aafe6459afa3318bba040cb466a8d91617041566808a5fd77a44","impliedFormat":1},{"version":"4df1f0c17953b0450aa988c9930061f8861b114e1649e1a16cfd70c5cbdf8d83","impliedFormat":1},{"version":"441104b363d80fe57eb79a50d495e0b7e3ebeb45a5f0d1a4067d71ef75e8fbfa","impliedFormat":1},"853a85c47014af40dcd48a19ab8ec278220ec9ee98c8cfbd087dc04a9ccccb88","d52cb869f9196021c6abff50fbffec7df80bb843d6aef5ca710cd3f415511c18","f9695b447a7a1e3817392dfa2f3cfd168c77382a0bce3e10dc96eb9f9c05df62","d646b8bf06dfaab436a1c302f569ca3b3f46ff79104864d0511b8f4a6dd1fdfe","f42cdc39aa745a9350291feebf13bd26942355007c40cd6be607907d5d9f3f23","d99983a2d3845c866453b48d6c53d7f155503fbb2212e8e792f1879abd5e5078","a38fcc57da892a0070580c8bcd34ca067aa5d81487d67146b412f61410a8bbd1","58d28143c48e5cb532dfefaa335610ba6b990c02b2842565bcf89b572b6ebd53",{"version":"b6e995b5ef6661f5636ff738e67e4ec90150768ef119ad74b473c404304408a1","impliedFormat":1},{"version":"5d470930bf6142d7cbda81c157869024527dc7911ba55d90b8387ef6e1585aa1","impliedFormat":1},{"version":"074483fdbf20b30bd450e54e6892e96ea093430c313e61be5fdfe51588baa2d6","impliedFormat":1},{"version":"b7e6a6a3495301360edb9e1474702db73d18be7803b3f5c6c05571212acccd16","impliedFormat":1},{"version":"aa7527285c94043f21baf6e337bc60a92c20b6efaa90859473f6476954ac5f79","impliedFormat":1},{"version":"dd3be6d9dcd79e46d192175a756546630f2dc89dab28073823c936557b977f26","impliedFormat":1},{"version":"8d0566152618a1da6536c75a5659c139522d67c63a9ae27e8228d76ab0420584","impliedFormat":1},{"version":"ba06bf784edafe0db0e2bd1f6ecf3465b81f6b1819871bf190a0e0137b5b7f18","impliedFormat":1},{"version":"a0500233cb989bcb78f5f1a81f51eabc06b5c39e3042c560a7489f022f1f55a3","impliedFormat":1},{"version":"220508b3fb6b773f49d8fb0765b04f90ef15caacf0f3d260e3412ed38f71ef09","impliedFormat":1},{"version":"1ad113089ad5c188fec4c9a339cb53d1bcbb65682407d6937557bb23a6e1d4e5","impliedFormat":1},{"version":"e56427c055602078cbf0e58e815960541136388f4fc62554813575508def98b6","impliedFormat":1},{"version":"1f58b0676a80db38df1ce19d15360c20ce9e983b35298a5d0b4aa4eb4fb67e0f","impliedFormat":1},{"version":"3d67e7eb73c6955ee27f1d845cae88923f75c8b0830d4b5440eea2339958e8ec","impliedFormat":1},{"version":"11fec302d58b56033ab07290a3abc29e9908e29d504db9468544b15c4cd7670d","impliedFormat":1},{"version":"c66d6817c931633650edf19a8644eea61aeeb84190c7219911cefa8ddea8bd9a","impliedFormat":1},{"version":"ab1359707e4fc610c5f37f1488063af65cda3badca6b692d44b95e8380e0f6c2","impliedFormat":1},{"version":"37deda160549729287645b3769cf126b0a17e7e2218737352676705a01d5957e","impliedFormat":1},{"version":"d80ffdd55e7f4bc69cde66933582b8592d3736d3b0d1d8cc63995a7b2bcca579","impliedFormat":1},{"version":"c9b71952b2178e8737b63079dba30e1b29872240b122905cbaba756cb60b32f5","impliedFormat":1},{"version":"b596585338b0d870f0e19e6b6bcbf024f76328f2c4f4e59745714e38ee9b0582","impliedFormat":1},{"version":"e6717fc103dfa1635947bf2b41161b5e4f2fabbcaf555754cc1b4340ec4ca587","impliedFormat":1},{"version":"c36186d7bdf1f525b7685ee5bf639e4b157b1e803a70c25f234d4762496f771f","impliedFormat":1},{"version":"026726932a4964341ab8544f12b912c8dfaa388d2936b71cc3eca0cffb49cc1d","impliedFormat":1},{"version":"83188d037c81bd27076218934ba9e1742ddb69cd8cc64cdb8a554078de38eb12","impliedFormat":1},{"version":"7d82f2d6a89f07c46c7e3e9071ab890124f95931d9c999ba8f865fa6ef6cbf72","impliedFormat":1},{"version":"4fc523037d14d9bb6ddb586621a93dd05b6c6d8d59919a40c436ca3ac29d9716","impliedFormat":1},"60ed5863e3fc125bfd440831c171b5bb062418b5d161b1db3ea2e0168ce2219b","4ce736577dd9a7430d516ec981f5b40532373a3fdf3885a22f6a786c0f81bf52","60f2e31e4cfc8224f3c9de14c46535a3cbbe65b923a53c41a8889733adc30774","e193d5928d807196c28ef668e1c67361dc52d68840eff0ea387303c11fcd5007","6c3bfa44256db0734d85b652ecdae7a6f5914b89b835e6cc2e1b4a94d9b79b7a","6761c6431e6da91296888f16db6e2fcec691d0bc53337d9b900ee1a06043bd5c","96e3750e450ec8986d6d0dbf03075fa5f0457c284ba8632c770062c3caa33b0d","61b3d121cd2ba32c008bbdb16979de659bf9e55acca278398e33b3b222addff7","39279d7eb8de495d969b6c4c3c7a79a95a7cc69cd30b1e69f121a97a3c65ba96","c99fdf93c89589c6fe91f84208ee6044f491e6a23ab4d0f2b98c8fffe0d2d516","ff6ca4aeb3eca73671adf8c9c0da0259545bbbead93fcb7542354f6c37b4bba7","dd1aa1fe6bd999afe2175f29cfc58f660860257d3d818e8f2efef1f34983c2ea","561cc1e6382cacd723103a301b1783a00da66dd44ba6cd83569603d870f7ea41","3ab3942e3588d58d77ec84fa38e1454b18c32013273f201b0453334091c14d64","1c22050e5e29f8aa77f3a8289fd32cff377ec3991c997e5b8f7ee962d5f6b2bd","f3f07147f646c75e990530db9d7364d18d6e02dee94c4f4061829a746bbc0423","a83280edc1fbbe58d1f9d940b9915fc7611d881c3d726dc5c873119558e320fe","7a8a09e52b35c7961bd333ee5eb145423b6695ab03b5edaceb0e7e2ac7cb47e1","8d63e1772b8910f6d52b9e8b4bfbafee0e5945a403988ebef09b99487babad52","c3c53f4d77cf381016b737956748a0eb7dd87d671f88016d5c0747912c0eb3f3","a0f278c9d4754bd962653f76b2780d29c4310b01cb0bebce2876a7764a66f3f4","460760f6856a3e70b77162212507092e46d7fe3f75547840dd861b78967854ce","8ad6b56ecc97e087c61e9f5e2be96a6497bc0f46767eca0809e21f7d7646c4f7","19ac1842c865ee5163d7a9b844e43a81d94280857f50bf6f967e3452fc25173d","684c58961579ac85eb9b56cd2415b79ca8b66c15d820a7f40f0d7afb88bb4e4d","5b01e72651c925ddba65dd95d02ed54145bdd6879f39288ac4767e6e42823b80","c4c0c356ca3dbe8460760b5bff1ce336d86cc641dd461218277671171ac411be","49b8bb9ea5e9fcea38a6e335c245c8ed8999da286029e0c75662ec61570608c4",{"version":"d3f2d715f57df3f04bf7b16dde01dec10366f64fce44503c92b8f78f614c1769","impliedFormat":1},{"version":"b78cd10245a90e27e62d0558564f5d9a16576294eee724a59ae21b91f9269e4a","impliedFormat":1},{"version":"baac9896d29bcc55391d769e408ff400d61273d832dd500f21de766205255acb","impliedFormat":1},{"version":"2f5747b1508ccf83fad0c251ba1e5da2f5a30b78b09ffa1cfaf633045160afed","impliedFormat":1},{"version":"a8932b7a5ef936687cc5b2492b525e2ad5e7ed321becfea4a17d5a6c80f49e92","affectsGlobalScope":true,"impliedFormat":1},{"version":"b71c603a539078a5e3a039b20f2b0a0d1708967530cf97dec8850a9ca45baa2b","impliedFormat":1},{"version":"0e13570a7e86c6d83dd92e81758a930f63747483e2cd34ef36fcdb47d1f9726a","impliedFormat":1},{"version":"104c67f0da1bdf0d94865419247e20eded83ce7f9911a1aa75fc675c077ca66e","impliedFormat":1},{"version":"cc0d0b339f31ce0ab3b7a5b714d8e578ce698f1e13d7f8c60bfb766baeb1d35c","impliedFormat":1},{"version":"d26a79f97f25eb1c5fc36a8552e4decc7ad11104a016d31b1307c3afaf48feb1","impliedFormat":1},"eff234525851ff22b40c76912baa316b11bc2ad221ba0913464ea85f655dd6c9","4a4f133572a5e573a4c98ac492b4c7430d122bb6bedf5b747d12406b52ff9bc4","9ffe985774e38be5d19f4ac17cb47894944a7d982c4e496d058576d3849e1e33",{"version":"04de5584b953b03611eeef01ba9948607def8f64f1e7fbc840752b13b4521b52","impliedFormat":1},{"version":"8b0b6a4c032a56d5651f7dd02ba3f05fbfe4131c4095093633cda3cae0991972","impliedFormat":1},{"version":"ff3c48a17bf10dfbb62448152042e4a48a56c9972059997ab9e7ed03b191809b","impliedFormat":1},{"version":"192a0c215bffe5e4ac7b9ff1e90e94bf4dfdad4f0f69a5ae07fccc36435ebb87","impliedFormat":1},{"version":"3ef8565e3d254583cced37534f161c31e3a8f341ff005c98b582c6d8c9274538","impliedFormat":1},{"version":"d7e42a3800e287d2a1af8479c7dd58c8663e80a01686cb89e0068be6c777d687","impliedFormat":1},{"version":"1098034333d3eb3c1d974435cacba9bd5a625711453412b3a514774fec7ca748","impliedFormat":1},{"version":"f2388b97b898a93d5a864e85627e3af8638695ebfa6d732ecd39d382824f0e63","impliedFormat":1},{"version":"c4fbd70eee3b4133f3ee1cc8ae231964122223c0f6162091c4175c3ee588a3f0","impliedFormat":1},{"version":"f477375e6f0bf2a638a71d4e7a3da8885e3a03f3e5350688541d136b10b762a6","impliedFormat":1},{"version":"a44d6ea4dc70c3d789e9cef3cc42b79c78d17d3ce07f5fd278a7e1cbe824da56","impliedFormat":1},{"version":"55cd8cbc22fe648429a787e16a9cd2dc501a2aafd28c00254ad120ef68a581c0","impliedFormat":1},{"version":"ba4900e9d6f9795a72e8f5ca13c18861821a3fc3ae7858acb0a3366091a47afb","impliedFormat":1},{"version":"7778e2cc5f74ef263a880159aa7fa67254d6232e94dd03429a75597a622537a7","impliedFormat":1},{"version":"8e06a1ef49502a62039eeb927a1bd7561b0bce48bd423a929e2e478fd827c273","impliedFormat":1},{"version":"7ec3d0b061da85d6ff50c337e3248a02a72088462739d88f33b9337dba488c4f","impliedFormat":1},{"version":"2f554c6798b731fc39ff4e3d86aadc932fdeaa063e3cbab025623ff5653c0031","impliedFormat":1},{"version":"fe4613c6c0d23edc04cd8585bdd86bc7337dc6265fb52037d11ca19eeb5e5aaf","impliedFormat":1},{"version":"53b26fbee1a21a6403cf4625d0e501a966b9ccf735754b854366cee8984b711c","impliedFormat":1},{"version":"9ff247206ec5dffdfadddfded2c9d9ad5f714821bb56760be40ed89121f192f4","impliedFormat":1},{"version":"261f2ac466676694d14c7ac58b8ba009b7ab72cf59ce493906ab5b10d3da972d","impliedFormat":1},{"version":"8c59d8256086ed17676139ee43c1155673e357ab956fb9d00711a7cac73e059d","impliedFormat":1},{"version":"cfe88132f67aa055a3f49d59b01585fa8d890f5a66a0a13bb71973d57573eee7","impliedFormat":1},{"version":"53ce488a97f0b50686ade64252f60a1e491591dd7324f017b86d78239bd232ca","impliedFormat":1},{"version":"50fd11b764194f06977c162c37e5a70bcf0d3579bf82dd4de4eee3ac68d0f82f","impliedFormat":1},{"version":"e0ceb647dcdf6b27fd37e8b0406c7eafb8adfc99414837f3c9bfd28ffed6150a","impliedFormat":1},{"version":"99579aa074ed298e7a3d6a47e68f0cd099e92411212d5081ce88344a5b1b528d","impliedFormat":1},{"version":"096e4ddaa8f0aa8b0ceadd6ab13c3fab53e8a0280678c405160341332eca3cd7","impliedFormat":1},{"version":"415b55892d813a74be51742edd777bbced1f1417848627bf71725171b5325133","impliedFormat":1},{"version":"942ab34f62ac3f3d20014615b6442b6dc51815e30a878ebc390dd70e0dec63bf","impliedFormat":1},{"version":"7a671bf8b4ad81b8b8aea76213ca31b8a5de4ba39490fbdee249fc5ba974a622","impliedFormat":1},{"version":"8e07f13fb0f67e12863b096734f004e14c5ebfd34a524ed4c863c80354c25a44","impliedFormat":1},{"version":"9faa56e38ed5637228530065a9bab19a4dc5a326fbdd1c99e73a310cfed4fcde","impliedFormat":1},{"version":"7d4ad85174f559d8e6ed28a5459aebfc0a7b0872f7775ca147c551e7765e3285","impliedFormat":1},{"version":"d422f0c340060a53cb56d0db24dd170e31e236a808130ab106f7ab2c846f1cdb","impliedFormat":1},{"version":"424403ef35c4c97a7f00ea85f4a5e2f088659c731e75dbe0c546137cb64ef8d8","impliedFormat":1},{"version":"16900e9a60518461d7889be8efeca3fe2cbcd3f6ce6dee70fea81dfbf8990a76","impliedFormat":1},{"version":"6daf17b3bd9499bd0cc1733ab227267d48cd0145ed9967c983ccb8f52eb72d6e","impliedFormat":1},{"version":"e4177e6220d0fef2500432c723dbd2eb9a27dcb491344e6b342be58cc1379ec0","impliedFormat":1},{"version":"ddc62031f48165334486ad1943a1e4ed40c15c94335697cb1e1fd19a182e3102","impliedFormat":1},{"version":"b3f4224eb155d7d13eb377ef40baa1f158f4637aa6de6297dfeeacefd6247476","impliedFormat":1},{"version":"4a168e11fe0f46918721d2f6fcdb676333395736371db1c113ae30b6fde9ccd2","impliedFormat":1},{"version":"5b0a75a5cced0bed0d733bde2da0bbb5d8c8c83d3073444ae52df5f16aefb6ab","impliedFormat":1},{"version":"ef2c1585cad462bdf65f2640e7bcd75cd0dbc45bae297e75072e11fe3db017fa","impliedFormat":1},{"version":"ef809928a4085de826f5b0c84175a56d32dd353856f5b9866d78b8419f8ea9bc","impliedFormat":1},{"version":"6f6eadb32844b0ec7b322293b011316486894f110443197c4c9fbcba01b3b2fa","impliedFormat":1},{"version":"a51e08f41e3e948c287268a275bfe652856a10f68ddd2bf3e3aaf5b8cdb9ef85","impliedFormat":1},{"version":"862f7d760ef37f0ae2c17de82e5fbf336b37d5c1b0dcf39dcd5468f90a7fdd54","impliedFormat":1},{"version":"af48a76b75041e2b3e7bd8eed786c07f39ea896bb2ff165e27e18208d09b8bee","impliedFormat":1},{"version":"fd4107bd5c899165a21ab93768904d5cfb3e98b952f91fbf5a12789a4c0744e6","impliedFormat":1},{"version":"deb092bc337b2cb0a1b14f3d43f56bc663e1447694e6d479d6df8296bdd452d6","impliedFormat":1},{"version":"041bc1c3620322cb6152183857601707ef6626e9d99f736e8780533689fb1bf9","impliedFormat":1},{"version":"22bd7c75de7d68e075975bf1123de5bccecfd06688afff2e2022b4c70bfc91c3","impliedFormat":1},{"version":"128e7c2ffd37aa29e05367400d718b0e4770cefb1e658d8783ec80a16bc0643a","impliedFormat":1},{"version":"076ac4f2d642c473fa7f01c8c1b7b4ef58f921130174d9cf78430651f44c43ec","impliedFormat":1},{"version":"396c1e5a39706999ec8cc582916e05fcb4f901631d2c192c1292e95089a494d9","impliedFormat":1},{"version":"89df75d28f34fc698fe261f9489125b4e5828fbd62d863bbe93373d3ed995056","impliedFormat":1},{"version":"8ccf5843249a042f4553a308816fe8a03aa423e55544637757d0cfa338bb5186","impliedFormat":1},{"version":"93b44aa4a7b27ba57d9e2bad6fb7943956de85c5cc330d2c3e30cd25b4583d44","impliedFormat":1},{"version":"a0c6216075f54cafdfa90412596b165ff85e2cadd319c49557cc8410f487b77c","impliedFormat":1},{"version":"3c359d811ec0097cba00fb2afd844b125a2ddf4cad88afaf864e88c8d3d358bd","impliedFormat":1},{"version":"3c0b38e8bf11bf3ab87b5116ae8e7b2cad0147b1c80f2b77989dea6f0b93e024","impliedFormat":1},{"version":"8df06e1cd5bb3bf31529cc0db74fa2e57f7de1f6042726679eb8bc1f57083a99","impliedFormat":1},{"version":"d62f09256941e92a95b78ae2267e4cf5ff2ca8915d62b9561b1bc85af1baf428","impliedFormat":1},{"version":"e6223b7263dd7a49f4691bf8df2b1e69f764fb46972937e6f9b28538d050b1ba","impliedFormat":1},{"version":"d9b59eb4e79a0f7a144ee837afb3f1afbc4dab031e49666067a2b5be94b36bd4","impliedFormat":1},{"version":"1db014db736a09668e0c0576585174dbcfd6471bb5e2d79f151a241e0d18d66b","impliedFormat":1},{"version":"8a153d30edde9cefd102e5523b5a9673c298fc7cf7af5173ae946cbb8dd48f11","impliedFormat":1},{"version":"abaaf8d606990f505ee5f76d0b45a44df60886a7d470820fcfb2c06eafa99659","impliedFormat":1},{"version":"51a66bfa412057e786a712733107547ceb6f539061f5bf1c6e5a96e4ccf4f83c","impliedFormat":1},{"version":"d92a80c2c05cf974704088f9da904fe5eadc0b3ad49ddd1ef70ca8028b5adda1","impliedFormat":1},{"version":"fbd7450f20b4486c54f8a90486c395b14f76da66ba30a7d83590e199848f0660","impliedFormat":1},{"version":"ece5b0e45c865645ab65880854899a5422a0b76ada7baa49300c76d38a530ee1","impliedFormat":1},{"version":"62d89ac385aeab821e2d55b4f9a23a277d44f33c67fefe4859c17b80fdb397ea","impliedFormat":1},{"version":"f4dee11887c5564886026263c6ee65c0babc971b2b8848d85c35927af25da827","impliedFormat":1},{"version":"fb8dd49a4cd6d802be4554fbab193bb06e2035905779777f32326cb57cf6a2c2","impliedFormat":1},{"version":"e403ecdfba83013b5eb0e648a92ce182bff2a45ccb81db3035a69081563c2830","impliedFormat":1},{"version":"82d3e00d56a71fc169f3cf9ec5f5ffcc92f6c0e67d4dfc130dafe9f1886d5515","impliedFormat":1},{"version":"49e69850df69cd67e4adb70908a0f8f6fd6e7d157b48b1fec5db976800887980","impliedFormat":1},{"version":"d8ea6d3438ee9509eb79eabc935d442b21e742b6f63e6dce16be4863368544df","impliedFormat":1},{"version":"1b33478647aa1b771314745807397002a410c746480e9447db959110999873ce","impliedFormat":1},{"version":"b8d58ef4128a6e8e4b80803e5b67b2aaf1436c133ce39e514b9c004e21b2867e","impliedFormat":1},{"version":"3cd50f6a83629c0ec330fc482e587bfa96532d4c9ce85e6c3ddf9f52f63eee11","impliedFormat":1},{"version":"9fac6ebf3c60ced53dd21def30a679ec225fc3ff4b8d66b86326c285a4eebb5a","impliedFormat":1},{"version":"8cb83cb98c460cd716d2a98b64eb1a07a3a65c7362436550e02f5c2d212871d1","impliedFormat":1},{"version":"07bc8a3551e39e70c38e7293b1a09916867d728043e352b119f951742cb91624","impliedFormat":1},{"version":"e47adc2176f43c617c0ab47f2d9b2bb1706d9e0669bf349a30c3fe09ddd63261","impliedFormat":1},{"version":"7fec79dfd7319fec7456b1b53134edb54c411ba493a0aef350eee75a4f223eeb","impliedFormat":1},{"version":"189c489705bb96a308dcde9b3336011d08bfbca568bcaf5d5d55c05468e9de7a","impliedFormat":1},{"version":"98f4b1074567341764b580bf14c5aabe82a4390d11553780814f7e932970a6f7","impliedFormat":1},{"version":"1dd24cbf39199100fbe2f3dbd1c7203c240c41d95f66301ecc7650ae77875be1","impliedFormat":1},{"version":"2e252235037a2cd8feebfbf74aa460f783e5d423895d13f29a934d7655a1f8be","impliedFormat":1},{"version":"763f4ac187891a6d71ae8821f45eef7ff915b5d687233349e2c8a76c22b3bf2a","impliedFormat":1},{"version":"25e5c8b73c6ad21f39e8e72f954090f30b431a993252bccea5bdad4a3d93c760","impliedFormat":1},{"version":"5bf595f68b7c1d46ae8385e3363c6e0d4695b6da58a84c6340489fc07ffc73f8","impliedFormat":1},{"version":"b87682ddc9e2c3714ca66991cdd86ff7e18cae6fd010742a93bd612a07d19697","impliedFormat":1},{"version":"0d621d4e5ae0224d434f840a32f871bad9e9236dd18b13bb34164a769c4a964e","impliedFormat":1},{"version":"86bf2bfe29d0bc3fbc68e64c25ea6eab9bcb3c518ae941012ed75b1e87d391ae","impliedFormat":1},{"version":"3c74d80d1dd95437cc9bbf22d88199e7410fd85af06171327125bcf4025deae8","impliedFormat":1},{"version":"00b4f8b82e78f658b7e269c95d07e55d391235ce34d432764687441177ae7f64","impliedFormat":1},{"version":"57880096566780d72e02a5b34d8577e78cdf072bfd624452a95d65bd8f07cbe0","impliedFormat":1},{"version":"10ac50eaf9eb62c048efe576592b14830a757f7ea7ed28ee8deafc19c9845297","impliedFormat":1},{"version":"e75af112e5487476f7c427945fbd76ca46b28285586ad349a25731d196222d56","impliedFormat":1},{"version":"e91adad3da69c366d57067fcf234030b8a05bcf98c25a759a7a5cd22398ac201","impliedFormat":1},{"version":"d7d6e1974124a2dad1a1b816ba2436a95f44feeda0573d6c9fb355f590cf9086","impliedFormat":1},{"version":"464413fcd7e7a3e1d3f2676dc5ef4ebe211c10e3107e126d4516d79439e4e808","impliedFormat":1},{"version":"18f912e4672327b3dd17d70e91da6fcd79d497ba01dde9053a23e7691f56908c","impliedFormat":1},{"version":"2974e2f06de97e1d6e61d1462b54d7da2c03b3e8458ee4b3dc36273bc6dda990","impliedFormat":1},{"version":"d8c1697db4bb3234ff3f8481545284992f1516bc712421b81ee3ef3f226ae112","impliedFormat":1},{"version":"59b6cce93747f7eb2c0405d9f32b77874e059d9881ec8f1b65ff6c068fcce6f2","impliedFormat":1},{"version":"e2c3c3ca3818d610599392a9431e60ec021c5d59262ecd616538484990f6e331","impliedFormat":1},{"version":"e3cd60be3c4f95c43420be67eaa21637585b7c1a8129f9b39983bbd294f9513c","impliedFormat":1},{"version":"cc137d7ea6ad91ac1579463f2d25c0df4853c4e068e7fd9be5b6c27088760797","affectsGlobalScope":true,"impliedFormat":1},"bada9d0dd6163a2992c0f478e100ab5851aa3429afac6deadef39c95d0dc8044","0f42004530024060a95b0b24b7d2c10d77beeb4b9c5c821ab998665fd9616eeb",{"version":"a28ac3e717907284b3910b8e9b3f9844a4e0b0a861bea7b923e5adf90f620330","impliedFormat":1},{"version":"b6d03c9cfe2cf0ba4c673c209fcd7c46c815b2619fd2aad59fc4229aaef2ed43","impliedFormat":1},{"version":"82e5a50e17833a10eb091923b7e429dc846d42f1c6161eb6beeb964288d98a15","impliedFormat":1},{"version":"670a76db379b27c8ff42f1ba927828a22862e2ab0b0908e38b671f0e912cc5ed","impliedFormat":1},{"version":"81df92841a7a12d551fcbc7e4e83dbb7d54e0c73f33a82162d13e9ae89700079","impliedFormat":1},{"version":"069bebfee29864e3955378107e243508b163e77ab10de6a5ee03ae06939f0bb9","impliedFormat":1},{"version":"0dc6940ff35d845686a118ee7384713a84024d60ef26f25a2f87992ec7ddbd64","impliedFormat":1},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"a4a39b5714adfcadd3bbea6698ca2e942606d833bde62ad5fb6ec55f5e438ff8","impliedFormat":1},{"version":"bbc1d029093135d7d9bfa4b38cbf8761db505026cc458b5e9c8b74f4000e5e75","impliedFormat":1},{"version":"54b3fa7c2b67a9c654170e125d61ef2b8534838ee8e8abf3ff54ce77885c3805","impliedFormat":99},{"version":"8a190298d0ff502ad1c7294ba6b0abb3a290fc905b3a00603016a97c363a4c7a","impliedFormat":1},{"version":"ed1441df2b8bbbd907f603490cb207f44141fe191b20be2f270e8de69bfa194a","impliedFormat":1},{"version":"1f68ab0e055994eb337b67aa87d2a15e0200951e9664959b3866ee6f6b11a0fe","impliedFormat":1},{"version":"afe73051ff6a03a9565cbd8ebb0e956ee3df5e913ad5c1ded64218aabfa3dcb5","impliedFormat":1},{"version":"d7dbe0ad36bdca8a6ecf143422a48e72cc8927bab7b23a1a2485c2f78a7022c6","impliedFormat":1},{"version":"035a5df183489c2e22f3cf59fc1ed2b043d27f357eecc0eb8d8e840059d44245","impliedFormat":1},{"version":"a4809f4d92317535e6b22b01019437030077a76fec1d93b9881c9ed4738fcc54","impliedFormat":1},{"version":"5f53fa0bd22096d2a78533f94e02c899143b8f0f9891a46965294ee8b91a9434","impliedFormat":1},{"version":"cdcc132f207d097d7d3aa75615ab9a2e71d6a478162dde8b67f88ea19f3e54de","impliedFormat":1},{"version":"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","impliedFormat":1},{"version":"c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","impliedFormat":1},{"version":"f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","impliedFormat":1},{"version":"5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","impliedFormat":1},{"version":"3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","impliedFormat":1},{"version":"ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","impliedFormat":1},{"version":"d96cc6598148bf1a98fb2e8dcf01c63a4b3558bdaec6ef35e087fd0562eb40ec","impliedFormat":1},{"version":"f8db4fea512ab759b2223b90ecbbe7dae919c02f8ce95ec03f7fb1cf757cfbeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"b0f9ef6423d6b29dde29fd60d83d215796b2c1b76bfca28ac374ae18702cfb8e","impliedFormat":1},{"version":"ab82804a14454734010dcdcd43f564ff7b0389bee4c5692eec76ff5b30d4cf66","impliedFormat":1},{"version":"e7bb49fac2aa46a13011b5eb5e4a8648f70a28aea1853fab2444dd4fcb4d4ec7","impliedFormat":1},{"version":"464e45d1a56dae066d7e1a2f32e55b8de4bfb072610c3483a4091d73c9924908","impliedFormat":1},{"version":"da318e126ac39362c899829547cc8ee24fa3e8328b52cdd27e34173cf19c7941","impliedFormat":1},{"version":"24bd01a91f187b22456c7171c07dbf44f3ad57ebd50735aab5c13fa23d7114b4","impliedFormat":1},{"version":"4738eefeaaba4d4288a08c1c226a76086095a4d5bcc7826d2564e7c29da47671","impliedFormat":1},{"version":"736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","impliedFormat":1},{"version":"dbec715e9e82df297e49e3ed0029f6151aa40517ebfd6fcdba277a8a2e1d3a1b","impliedFormat":1},{"version":"097f1f8ca02e8940cfdcca553279e281f726485fa6fb214b3c9f7084476f6bcc","impliedFormat":1},{"version":"8f75e211a2e83ff216eb66330790fb6412dcda2feb60c4f165c903cf375633ee","impliedFormat":1},{"version":"c3fb0d969970b37d91f0dbf493c014497fe457a2280ac42ae24567015963dbf7","impliedFormat":1},{"version":"a9155c6deffc2f6a69e69dc12f0950ba1b4db03b3d26ab7a523efc89149ce979","impliedFormat":1},{"version":"c99faf0d7cb755b0424a743ea0cbf195606bf6cd023b5d10082dba8d3714673c","impliedFormat":1},{"version":"21942c5a654cc18ffc2e1e063c8328aca3b127bbf259c4e97906d4696e3fa915","impliedFormat":1},{"version":"bae8d023ef6b23df7da26f51cea44321f95817c190342a36882e93b80d07a960","impliedFormat":1},{"version":"26a770cec4bd2e7dbba95c6e536390fffe83c6268b78974a93727903b515c4e7","impliedFormat":1}],"root":[418,419,541,542,[682,689],[717,744],[755,757],871,872],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"emitDecoratorMetadata":true,"experimentalDecorators":true,"module":1,"noFallthroughCasesInSwitch":false,"noImplicitAny":false,"outDir":"./","removeComments":true,"skipLibCheck":true,"sourceMap":true,"strictBindCallApply":false,"strictNullChecks":true,"target":10},"referencedMap":[[539,1],[538,2],[875,3],[873,4],[884,5],[893,4],[896,6],[760,4],[331,4],[69,4],[320,7],[321,7],[322,4],[323,8],[333,9],[324,7],[325,10],[326,4],[327,4],[328,7],[329,7],[330,7],[332,11],[340,12],[342,4],[339,4],[345,13],[343,4],[341,4],[337,14],[338,15],[344,4],[346,16],[334,4],[336,17],[335,18],[275,4],[278,19],[274,4],[807,4],[276,4],[277,4],[349,20],[350,20],[351,20],[352,20],[353,20],[354,20],[355,20],[348,21],[356,20],[370,22],[357,20],[347,4],[358,20],[359,20],[360,20],[361,20],[362,20],[363,20],[364,20],[365,20],[366,20],[367,20],[368,20],[369,20],[378,23],[376,24],[375,4],[374,4],[377,25],[417,26],[70,4],[71,4],[72,4],[789,27],[74,28],[795,29],[794,30],[264,31],[265,28],[397,4],[294,4],[295,4],[398,32],[266,4],[399,4],[400,33],[73,4],[268,34],[269,35],[267,36],[270,34],[271,4],[273,37],[285,38],[286,4],[291,39],[287,4],[288,4],[289,4],[290,4],[292,4],[293,40],[299,41],[302,42],[300,4],[301,4],[319,43],[303,4],[304,4],[838,44],[284,45],[282,46],[280,47],[281,48],[283,4],[311,49],[305,4],[314,50],[307,51],[312,52],[310,53],[313,54],[308,55],[309,56],[297,57],[315,58],[298,59],[317,60],[318,61],[306,4],[272,4],[279,62],[316,63],[384,64],[379,4],[385,65],[380,66],[381,67],[382,68],[383,69],[386,70],[390,71],[389,72],[396,73],[387,4],[388,74],[391,71],[393,75],[395,76],[394,77],[409,78],[402,79],[403,80],[404,80],[405,81],[406,81],[407,80],[408,80],[401,82],[411,83],[410,84],[413,85],[412,86],[414,87],[371,88],[373,89],[296,4],[372,57],[415,90],[392,91],[416,92],[420,8],[530,93],[531,94],[535,95],[421,4],[427,96],[528,97],[529,98],[422,4],[423,4],[426,99],[424,4],[425,4],[533,4],[534,100],[532,101],[536,102],[758,103],[759,104],[780,105],[781,106],[782,4],[783,107],[784,108],[793,109],[786,110],[790,111],[798,112],[796,8],[797,113],[787,114],[799,4],[801,115],[802,116],[803,117],[792,118],[788,119],[812,120],[800,121],[827,122],[785,123],[828,124],[825,125],[826,8],[850,126],[775,127],[771,128],[773,129],[824,130],[766,131],[814,132],[813,4],[774,133],[821,134],[778,135],[822,4],[823,136],[776,137],[777,138],[772,139],[770,140],[765,4],[818,141],[831,142],[829,8],[761,8],[817,143],[762,15],[763,106],[764,144],[768,145],[767,146],[830,147],[769,148],[806,149],[804,115],[805,150],[815,15],[816,151],[819,152],[834,153],[835,154],[832,155],[833,156],[836,157],[837,158],[839,159],[811,160],[808,161],[809,7],[810,150],[841,162],[840,163],[847,164],[779,8],[843,165],[842,8],[845,166],[844,4],[846,167],[791,168],[820,169],[849,170],[848,8],[854,171],[855,172],[869,173],[857,174],[856,175],[851,176],[852,4],[853,4],[868,177],[859,178],[860,178],[861,178],[862,178],[864,179],[863,178],[865,180],[866,181],[858,4],[867,182],[540,183],[537,4],[895,4],[878,184],[874,3],[876,185],[877,3],[753,186],[752,187],[879,4],[887,188],[883,189],[882,190],[880,4],[749,191],[870,192],[754,193],[888,194],[889,4],[750,4],[890,4],[891,195],[892,196],[901,197],[881,4],[902,4],[745,4],[473,198],[474,198],[475,199],[433,200],[476,201],[477,202],[478,203],[428,4],[431,204],[429,4],[430,4],[479,205],[480,206],[481,207],[482,208],[483,209],[484,210],[485,210],[487,4],[486,211],[488,212],[489,213],[490,214],[472,215],[432,4],[491,216],[492,217],[493,218],[526,219],[494,220],[495,221],[496,222],[497,223],[498,224],[499,225],[500,226],[501,227],[502,228],[503,229],[504,229],[505,230],[506,4],[507,4],[508,231],[510,232],[509,233],[511,234],[512,235],[513,236],[514,237],[515,238],[516,239],[517,240],[518,241],[519,242],[520,243],[521,244],[522,245],[523,246],[524,247],[525,248],[747,4],[748,4],[746,249],[751,250],[903,4],[912,251],[904,4],[907,252],[910,253],[911,254],[905,255],[908,256],[906,257],[916,258],[914,259],[915,260],[913,261],[585,262],[576,4],[577,4],[578,4],[579,4],[580,4],[581,4],[582,4],[583,4],[584,4],[917,4],[918,263],[434,4],[894,4],[707,264],[708,264],[709,264],[715,265],[710,264],[711,264],[712,264],[713,264],[714,264],[698,266],[697,4],[716,267],[704,4],[700,268],[691,4],[690,4],[692,4],[693,264],[694,269],[706,270],[695,264],[696,264],[701,271],[702,272],[703,264],[699,4],[705,4],[546,4],[548,273],[665,274],[669,274],[668,274],[666,274],[667,274],[670,274],[549,274],[561,274],[550,274],[563,274],[565,274],[558,274],[559,274],[560,274],[564,274],[566,274],[551,274],[562,274],[552,274],[554,275],[555,274],[556,274],[557,274],[573,274],[572,274],[673,276],[567,274],[569,274],[568,274],[570,274],[571,274],[672,274],[671,274],[574,274],[586,277],[587,277],[589,274],[634,274],[633,274],[654,274],[590,277],[631,274],[635,274],[591,274],[592,274],[593,277],[636,274],[630,277],[588,277],[637,274],[594,277],[638,274],[595,277],[618,274],[596,274],[639,274],[597,274],[628,277],[599,274],[600,274],[640,274],[602,274],[604,274],[605,274],[611,274],[612,274],[606,277],[642,274],[629,277],[641,277],[607,274],[608,274],[643,274],[609,274],[601,277],[644,274],[627,274],[645,274],[610,277],[613,274],[614,274],[632,277],[646,274],[647,274],[626,278],[603,274],[648,277],[649,274],[650,274],[651,274],[652,277],[615,274],[653,274],[617,277],[619,274],[616,277],[598,274],[620,274],[623,274],[621,274],[622,274],[575,274],[656,274],[655,274],[663,274],[657,274],[658,274],[660,274],[661,274],[659,274],[664,274],[662,274],[681,279],[679,280],[680,281],[678,282],[677,274],[676,283],[545,4],[547,4],[543,4],[674,4],[675,284],[553,273],[544,4],[527,285],[886,286],[885,287],[900,288],[909,289],[898,290],[899,291],[625,292],[624,4],[897,293],[68,4],[263,294],[236,4],[214,295],[212,295],[127,296],[78,297],[77,298],[213,299],[198,300],[120,301],[76,302],[75,303],[262,298],[227,304],[226,304],[138,305],[234,296],[235,296],[237,306],[238,296],[239,303],[240,296],[211,296],[241,296],[242,307],[243,296],[244,304],[245,308],[246,296],[247,296],[248,296],[249,296],[250,304],[251,296],[252,296],[253,296],[254,296],[255,309],[256,296],[257,296],[258,296],[259,296],[260,296],[80,303],[81,303],[82,303],[83,303],[84,303],[85,303],[86,303],[87,296],[89,310],[90,303],[88,303],[91,303],[92,303],[93,303],[94,303],[95,303],[96,303],[97,296],[98,303],[99,303],[100,303],[101,303],[102,303],[103,296],[104,303],[105,303],[106,303],[107,303],[108,303],[109,303],[110,296],[112,311],[111,303],[113,303],[114,303],[115,303],[116,303],[117,309],[118,296],[119,296],[133,312],[121,313],[122,303],[123,303],[124,296],[125,303],[126,303],[128,314],[129,303],[130,303],[131,303],[132,303],[134,303],[135,303],[136,303],[137,303],[139,315],[140,303],[141,303],[142,303],[143,296],[144,303],[145,316],[146,316],[147,316],[148,296],[149,303],[150,303],[151,303],[156,303],[152,303],[153,296],[154,303],[155,296],[157,303],[158,303],[159,303],[160,303],[161,303],[162,303],[163,296],[164,303],[165,303],[166,303],[167,303],[168,303],[169,303],[170,303],[171,303],[172,303],[173,303],[174,303],[175,303],[176,303],[177,303],[178,303],[179,303],[180,317],[181,303],[182,303],[183,303],[184,303],[185,303],[186,303],[187,296],[188,296],[189,296],[190,296],[191,296],[192,303],[193,303],[194,303],[195,303],[261,296],[197,318],[220,319],[215,319],[206,320],[204,321],[218,322],[207,323],[221,324],[216,325],[217,322],[219,326],[205,4],[210,4],[202,327],[203,328],[200,4],[201,329],[199,303],[208,330],[79,331],[228,4],[229,4],[230,4],[231,4],[232,4],[233,4],[222,4],[225,304],[224,4],[223,332],[196,333],[209,334],[65,4],[66,4],[13,4],[11,4],[12,4],[17,4],[16,4],[2,4],[18,4],[19,4],[20,4],[21,4],[22,4],[23,4],[24,4],[25,4],[3,4],[26,4],[27,4],[4,4],[28,4],[32,4],[29,4],[30,4],[31,4],[33,4],[34,4],[35,4],[5,4],[36,4],[37,4],[38,4],[39,4],[6,4],[43,4],[40,4],[41,4],[42,4],[44,4],[7,4],[45,4],[50,4],[51,4],[46,4],[47,4],[48,4],[49,4],[8,4],[55,4],[52,4],[53,4],[54,4],[56,4],[9,4],[57,4],[58,4],[59,4],[61,4],[60,4],[62,4],[63,4],[10,4],[67,4],[64,4],[1,4],[15,4],[14,4],[450,335],[460,336],[449,335],[470,337],[441,338],[440,339],[469,285],[463,340],[468,341],[443,342],[457,343],[442,344],[466,345],[438,346],[437,285],[467,347],[439,348],[444,349],[445,4],[448,349],[435,4],[471,350],[461,351],[452,352],[453,353],[455,354],[451,355],[454,356],[464,285],[446,357],[447,358],[456,359],[436,360],[459,351],[458,349],[462,4],[465,361],[419,362],[757,363],[418,8],[719,364],[720,365],[718,366],[739,367],[740,368],[738,369],[735,370],[736,371],[734,372],[727,373],[728,374],[726,375],[688,376],[689,377],[687,378],[871,379],[723,380],[724,381],[722,382],[542,383],[541,384],[743,385],[744,386],[742,387],[755,388],[756,389],[717,390],[737,391],[733,391],[725,391],[686,391],[721,390],[741,391],[682,391],[729,391],[684,392],[685,393],[683,394],[872,395],[731,396],[732,397],[730,398]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533,534,535,536,537,538,539,540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602,603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643,644,645,646,647,648,649,650,651,652,653,654,655,656,657,658,659,660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,699,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,754,755,756,757,758,759,760,761,762,763,764,765,766,767,768,769,770,771,772,773,774,775,776,777,778,779,780,781,782,783,784,785,786,787,788,789,790,791,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,826,827,828,829,830,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,852,853,854,855,856,857,858,859,860,861,862,863,864,865,866,867,868,869,870,871,872,873,874,875,876,877,878,879,880,881,882,883,884,885,886,887,888,889,890,891,892,893,894,895,896,897,898,899,900,901,902,903,904,905,906,907,908,909,910,911,912,913,914,915,916,917,918],"version":"5.8.3"} \ No newline at end of file diff --git a/dist/types/types.controller.d.ts b/dist/types/types.controller.d.ts deleted file mode 100644 index 14f847f..0000000 --- a/dist/types/types.controller.d.ts +++ /dev/null @@ -1,385 +0,0 @@ -import { TypesService } from './types.service'; -import { CreateTypeMachineDto, UpdateTypeMachineDto, CreateTypeComposantDto, UpdateTypeComposantDto, CreateTypePieceDto, UpdateTypePieceDto } from '../shared/dto/type.dto'; -export declare class TypesController { - private readonly typesService; - constructor(typesService: TypesService); - createTypeMachine(createTypeMachineDto: CreateTypeMachineDto): Promise<{ - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - category: string | null; - maintenanceFrequency: string | null; - components: import("@prisma/client/runtime/library").JsonValue | null; - criticalParts: import("@prisma/client/runtime/library").JsonValue | null; - machinePieces: import("@prisma/client/runtime/library").JsonValue | null; - specifications: import("@prisma/client/runtime/library").JsonValue | null; - }>; - findAllTypeMachines(): Promise<({ - machines: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - }[]; - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - category: string | null; - maintenanceFrequency: string | null; - components: import("@prisma/client/runtime/library").JsonValue | null; - criticalParts: import("@prisma/client/runtime/library").JsonValue | null; - machinePieces: import("@prisma/client/runtime/library").JsonValue | null; - specifications: import("@prisma/client/runtime/library").JsonValue | null; - })[]>; - findOneTypeMachine(id: string): Promise<({ - machines: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - }[]; - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - category: string | null; - maintenanceFrequency: string | null; - components: import("@prisma/client/runtime/library").JsonValue | null; - criticalParts: import("@prisma/client/runtime/library").JsonValue | null; - machinePieces: import("@prisma/client/runtime/library").JsonValue | null; - specifications: import("@prisma/client/runtime/library").JsonValue | null; - }) | null>; - updateTypeMachine(id: string, updateTypeMachineDto: UpdateTypeMachineDto): Promise<{ - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - category: string | null; - maintenanceFrequency: string | null; - components: import("@prisma/client/runtime/library").JsonValue | null; - criticalParts: import("@prisma/client/runtime/library").JsonValue | null; - machinePieces: import("@prisma/client/runtime/library").JsonValue | null; - specifications: import("@prisma/client/runtime/library").JsonValue | null; - }>; - removeTypeMachine(id: string): Promise<{ - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - category: string | null; - maintenanceFrequency: string | null; - components: import("@prisma/client/runtime/library").JsonValue | null; - criticalParts: import("@prisma/client/runtime/library").JsonValue | null; - machinePieces: import("@prisma/client/runtime/library").JsonValue | null; - specifications: import("@prisma/client/runtime/library").JsonValue | null; - }>; - createTypeComposant(createTypeComposantDto: CreateTypeComposantDto): Promise<{ - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - }>; - findAllTypeComposants(): Promise<({ - composants: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }[]; - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - })[]>; - findOneTypeComposant(id: string): Promise<({ - composants: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }[]; - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - }) | null>; - updateTypeComposant(id: string, updateTypeComposantDto: UpdateTypeComposantDto): Promise<{ - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - }>; - removeTypeComposant(id: string): Promise<{ - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - }>; - createTypePiece(createTypePieceDto: CreateTypePieceDto): Promise<{ - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - }>; - findAllTypePieces(): Promise<({ - pieces: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }[]; - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - })[]>; - findOneTypePiece(id: string): Promise<({ - pieces: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }[]; - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - }) | null>; - updateTypePiece(id: string, updateTypePieceDto: UpdateTypePieceDto): Promise<{ - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - }>; - removeTypePiece(id: string): Promise<{ - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - }>; -} diff --git a/dist/types/types.controller.js b/dist/types/types.controller.js deleted file mode 100644 index 227d4cb..0000000 --- a/dist/types/types.controller.js +++ /dev/null @@ -1,180 +0,0 @@ -"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.TypesController = void 0; -const common_1 = require("@nestjs/common"); -const types_service_1 = require("./types.service"); -const type_dto_1 = require("../shared/dto/type.dto"); -let TypesController = class TypesController { - typesService; - constructor(typesService) { - this.typesService = typesService; - } - createTypeMachine(createTypeMachineDto) { - return this.typesService.createTypeMachine(createTypeMachineDto); - } - findAllTypeMachines() { - return this.typesService.findAllTypeMachines(); - } - findOneTypeMachine(id) { - return this.typesService.findOneTypeMachine(id); - } - updateTypeMachine(id, updateTypeMachineDto) { - return this.typesService.updateTypeMachine(id, updateTypeMachineDto); - } - removeTypeMachine(id) { - return this.typesService.removeTypeMachine(id); - } - createTypeComposant(createTypeComposantDto) { - return this.typesService.createTypeComposant(createTypeComposantDto); - } - findAllTypeComposants() { - return this.typesService.findAllTypeComposants(); - } - findOneTypeComposant(id) { - return this.typesService.findOneTypeComposant(id); - } - updateTypeComposant(id, updateTypeComposantDto) { - return this.typesService.updateTypeComposant(id, updateTypeComposantDto); - } - removeTypeComposant(id) { - return this.typesService.removeTypeComposant(id); - } - createTypePiece(createTypePieceDto) { - return this.typesService.createTypePiece(createTypePieceDto); - } - findAllTypePieces() { - return this.typesService.findAllTypePieces(); - } - findOneTypePiece(id) { - return this.typesService.findOneTypePiece(id); - } - updateTypePiece(id, updateTypePieceDto) { - return this.typesService.updateTypePiece(id, updateTypePieceDto); - } - removeTypePiece(id) { - return this.typesService.removeTypePiece(id); - } -}; -exports.TypesController = TypesController; -__decorate([ - (0, common_1.Post)('machines'), - __param(0, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [type_dto_1.CreateTypeMachineDto]), - __metadata("design:returntype", void 0) -], TypesController.prototype, "createTypeMachine", null); -__decorate([ - (0, common_1.Get)('machines'), - __metadata("design:type", Function), - __metadata("design:paramtypes", []), - __metadata("design:returntype", void 0) -], TypesController.prototype, "findAllTypeMachines", null); -__decorate([ - (0, common_1.Get)('machines/:id'), - __param(0, (0, common_1.Param)('id')), - __metadata("design:type", Function), - __metadata("design:paramtypes", [String]), - __metadata("design:returntype", void 0) -], TypesController.prototype, "findOneTypeMachine", null); -__decorate([ - (0, common_1.Patch)('machines/:id'), - __param(0, (0, common_1.Param)('id')), - __param(1, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [String, type_dto_1.UpdateTypeMachineDto]), - __metadata("design:returntype", void 0) -], TypesController.prototype, "updateTypeMachine", null); -__decorate([ - (0, common_1.Delete)('machines/:id'), - __param(0, (0, common_1.Param)('id')), - __metadata("design:type", Function), - __metadata("design:paramtypes", [String]), - __metadata("design:returntype", void 0) -], TypesController.prototype, "removeTypeMachine", null); -__decorate([ - (0, common_1.Post)('composants'), - __param(0, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [type_dto_1.CreateTypeComposantDto]), - __metadata("design:returntype", void 0) -], TypesController.prototype, "createTypeComposant", null); -__decorate([ - (0, common_1.Get)('composants'), - __metadata("design:type", Function), - __metadata("design:paramtypes", []), - __metadata("design:returntype", void 0) -], TypesController.prototype, "findAllTypeComposants", null); -__decorate([ - (0, common_1.Get)('composants/:id'), - __param(0, (0, common_1.Param)('id')), - __metadata("design:type", Function), - __metadata("design:paramtypes", [String]), - __metadata("design:returntype", void 0) -], TypesController.prototype, "findOneTypeComposant", null); -__decorate([ - (0, common_1.Patch)('composants/:id'), - __param(0, (0, common_1.Param)('id')), - __param(1, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [String, type_dto_1.UpdateTypeComposantDto]), - __metadata("design:returntype", void 0) -], TypesController.prototype, "updateTypeComposant", null); -__decorate([ - (0, common_1.Delete)('composants/:id'), - __param(0, (0, common_1.Param)('id')), - __metadata("design:type", Function), - __metadata("design:paramtypes", [String]), - __metadata("design:returntype", void 0) -], TypesController.prototype, "removeTypeComposant", null); -__decorate([ - (0, common_1.Post)('pieces'), - __param(0, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [type_dto_1.CreateTypePieceDto]), - __metadata("design:returntype", void 0) -], TypesController.prototype, "createTypePiece", null); -__decorate([ - (0, common_1.Get)('pieces'), - __metadata("design:type", Function), - __metadata("design:paramtypes", []), - __metadata("design:returntype", void 0) -], TypesController.prototype, "findAllTypePieces", null); -__decorate([ - (0, common_1.Get)('pieces/:id'), - __param(0, (0, common_1.Param)('id')), - __metadata("design:type", Function), - __metadata("design:paramtypes", [String]), - __metadata("design:returntype", void 0) -], TypesController.prototype, "findOneTypePiece", null); -__decorate([ - (0, common_1.Patch)('pieces/:id'), - __param(0, (0, common_1.Param)('id')), - __param(1, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [String, type_dto_1.UpdateTypePieceDto]), - __metadata("design:returntype", void 0) -], TypesController.prototype, "updateTypePiece", null); -__decorate([ - (0, common_1.Delete)('pieces/:id'), - __param(0, (0, common_1.Param)('id')), - __metadata("design:type", Function), - __metadata("design:paramtypes", [String]), - __metadata("design:returntype", void 0) -], TypesController.prototype, "removeTypePiece", null); -exports.TypesController = TypesController = __decorate([ - (0, common_1.Controller)('types'), - __metadata("design:paramtypes", [types_service_1.TypesService]) -], TypesController); -//# sourceMappingURL=types.controller.js.map \ No newline at end of file diff --git a/dist/types/types.controller.js.map b/dist/types/types.controller.js.map deleted file mode 100644 index f0b6413..0000000 --- a/dist/types/types.controller.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"types.controller.js","sourceRoot":"","sources":["../../src/types/types.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAmF;AACnF,mDAA+C;AAC/C,qDAOgC;AAGzB,IAAM,eAAe,GAArB,MAAM,eAAe;IACG;IAA7B,YAA6B,YAA0B;QAA1B,iBAAY,GAAZ,YAAY,CAAc;IAAG,CAAC;IAI3D,iBAAiB,CAAS,oBAA0C;QAClE,OAAO,IAAI,CAAC,YAAY,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,CAAC;IACnE,CAAC;IAGD,mBAAmB;QACjB,OAAO,IAAI,CAAC,YAAY,CAAC,mBAAmB,EAAE,CAAC;IACjD,CAAC;IAGD,kBAAkB,CAAc,EAAU;QACxC,OAAO,IAAI,CAAC,YAAY,CAAC,kBAAkB,CAAC,EAAE,CAAC,CAAC;IAClD,CAAC;IAGD,iBAAiB,CAAc,EAAU,EAAU,oBAA0C;QAC3F,OAAO,IAAI,CAAC,YAAY,CAAC,iBAAiB,CAAC,EAAE,EAAE,oBAAoB,CAAC,CAAC;IACvE,CAAC;IAGD,iBAAiB,CAAc,EAAU;QACvC,OAAO,IAAI,CAAC,YAAY,CAAC,iBAAiB,CAAC,EAAE,CAAC,CAAC;IACjD,CAAC;IAID,mBAAmB,CAAS,sBAA8C;QACxE,OAAO,IAAI,CAAC,YAAY,CAAC,mBAAmB,CAA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;IADC,IAAA,eAAM,EAAC,YAAY,CAAC;IACJ,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;sDAE3B;0BA/EU,eAAe;IAD3B,IAAA,mBAAU,EAAC,OAAO,CAAC;qCAEyB,4BAAY;GAD5C,eAAe,CAgF3B"} \ No newline at end of file diff --git a/dist/types/types.module.d.ts b/dist/types/types.module.d.ts deleted file mode 100644 index d468f9a..0000000 --- a/dist/types/types.module.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare class TypesModule { -} diff --git a/dist/types/types.module.js b/dist/types/types.module.js deleted file mode 100644 index dca9de7..0000000 --- a/dist/types/types.module.js +++ /dev/null @@ -1,22 +0,0 @@ -"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; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.TypesModule = void 0; -const common_1 = require("@nestjs/common"); -const types_controller_1 = require("./types.controller"); -const types_service_1 = require("./types.service"); -let TypesModule = class TypesModule { -}; -exports.TypesModule = TypesModule; -exports.TypesModule = TypesModule = __decorate([ - (0, common_1.Module)({ - controllers: [types_controller_1.TypesController], - providers: [types_service_1.TypesService] - }) -], TypesModule); -//# sourceMappingURL=types.module.js.map \ No newline at end of file diff --git a/dist/types/types.module.js.map b/dist/types/types.module.js.map deleted file mode 100644 index 8828b78..0000000 --- a/dist/types/types.module.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"types.module.js","sourceRoot":"","sources":["../../src/types/types.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,yDAAqD;AACrD,mDAA+C;AAMxC,IAAM,WAAW,GAAjB,MAAM,WAAW;CAAG,CAAA;AAAd,kCAAW;sBAAX,WAAW;IAJvB,IAAA,eAAM,EAAC;QACN,WAAW,EAAE,CAAC,kCAAe,CAAC;QAC9B,SAAS,EAAE,CAAC,4BAAY,CAAC;KAC1B,CAAC;GACW,WAAW,CAAG"} \ No newline at end of file diff --git a/dist/types/types.service.d.ts b/dist/types/types.service.d.ts deleted file mode 100644 index fe59b24..0000000 --- a/dist/types/types.service.d.ts +++ /dev/null @@ -1,385 +0,0 @@ -import { PrismaService } from '../prisma/prisma.service'; -import { CreateTypeMachineDto, UpdateTypeMachineDto, CreateTypeComposantDto, UpdateTypeComposantDto, CreateTypePieceDto, UpdateTypePieceDto } from '../shared/dto/type.dto'; -export declare class TypesService { - private prisma; - constructor(prisma: PrismaService); - createTypeMachine(createTypeMachineDto: CreateTypeMachineDto): Promise<{ - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - category: string | null; - maintenanceFrequency: string | null; - components: import("@prisma/client/runtime/library").JsonValue | null; - criticalParts: import("@prisma/client/runtime/library").JsonValue | null; - machinePieces: import("@prisma/client/runtime/library").JsonValue | null; - specifications: import("@prisma/client/runtime/library").JsonValue | null; - }>; - findAllTypeMachines(): Promise<({ - machines: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - }[]; - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - category: string | null; - maintenanceFrequency: string | null; - components: import("@prisma/client/runtime/library").JsonValue | null; - criticalParts: import("@prisma/client/runtime/library").JsonValue | null; - machinePieces: import("@prisma/client/runtime/library").JsonValue | null; - specifications: import("@prisma/client/runtime/library").JsonValue | null; - })[]>; - findOneTypeMachine(id: string): Promise<({ - machines: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - siteId: string; - typeMachineId: string | null; - constructeurId: string | null; - }[]; - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - category: string | null; - maintenanceFrequency: string | null; - components: import("@prisma/client/runtime/library").JsonValue | null; - criticalParts: import("@prisma/client/runtime/library").JsonValue | null; - machinePieces: import("@prisma/client/runtime/library").JsonValue | null; - specifications: import("@prisma/client/runtime/library").JsonValue | null; - }) | null>; - updateTypeMachine(id: string, updateTypeMachineDto: UpdateTypeMachineDto): Promise<{ - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - category: string | null; - maintenanceFrequency: string | null; - components: import("@prisma/client/runtime/library").JsonValue | null; - criticalParts: import("@prisma/client/runtime/library").JsonValue | null; - machinePieces: import("@prisma/client/runtime/library").JsonValue | null; - specifications: import("@prisma/client/runtime/library").JsonValue | null; - }>; - removeTypeMachine(id: string): Promise<{ - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - category: string | null; - maintenanceFrequency: string | null; - components: import("@prisma/client/runtime/library").JsonValue | null; - criticalParts: import("@prisma/client/runtime/library").JsonValue | null; - machinePieces: import("@prisma/client/runtime/library").JsonValue | null; - specifications: import("@prisma/client/runtime/library").JsonValue | null; - }>; - createTypeComposant(createTypeComposantDto: CreateTypeComposantDto): Promise<{ - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - }>; - findAllTypeComposants(): Promise<({ - composants: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }[]; - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - })[]>; - findOneTypeComposant(id: string): Promise<({ - composants: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - parentComposantId: string | null; - typeComposantId: string | null; - }[]; - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - }) | null>; - updateTypeComposant(id: string, updateTypeComposantDto: UpdateTypeComposantDto): Promise<{ - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - }>; - removeTypeComposant(id: string): Promise<{ - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - }>; - createTypePiece(createTypePieceDto: CreateTypePieceDto): Promise<{ - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - }>; - findAllTypePieces(): Promise<({ - pieces: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }[]; - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - })[]>; - findOneTypePiece(id: string): Promise<({ - pieces: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - reference: string | null; - prix: import("@prisma/client/runtime/library").Decimal | null; - emplacement: string | null; - constructeurId: string | null; - machineId: string | null; - composantId: string | null; - typePieceId: string | null; - }[]; - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - }) | null>; - updateTypePiece(id: string, updateTypePieceDto: UpdateTypePieceDto): Promise<{ - customFields: { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - typeMachineId: string | null; - typePieceId: string | null; - typeComposantId: string | null; - type: string; - required: boolean; - defaultValue: string | null; - options: string[]; - }[]; - } & { - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - }>; - removeTypePiece(id: string): Promise<{ - name: string; - id: string; - createdAt: Date; - updatedAt: Date; - description: string | null; - }>; -} diff --git a/dist/types/types.service.js b/dist/types/types.service.js deleted file mode 100644 index f903a8d..0000000 --- a/dist/types/types.service.js +++ /dev/null @@ -1,245 +0,0 @@ -"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); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.TypesService = void 0; -const common_1 = require("@nestjs/common"); -const prisma_service_1 = require("../prisma/prisma.service"); -let TypesService = class TypesService { - prisma; - constructor(prisma) { - this.prisma = prisma; - } - async createTypeMachine(createTypeMachineDto) { - const { customFields, ...typeData } = createTypeMachineDto; - return this.prisma.typeMachine.create({ - data: { - ...typeData, - customFields: customFields ? { - create: customFields.map(field => ({ - name: field.name, - type: field.type, - required: field.required || false, - defaultValue: field.defaultValue, - options: field.options - })) - } : undefined - }, - include: { - customFields: true, - }, - }); - } - async findAllTypeMachines() { - return this.prisma.typeMachine.findMany({ - include: { - machines: true, - customFields: true, - }, - }); - } - async findOneTypeMachine(id) { - return this.prisma.typeMachine.findUnique({ - where: { id }, - include: { - machines: true, - customFields: true, - }, - }); - } - async updateTypeMachine(id, updateTypeMachineDto) { - const { customFields, ...typeData } = updateTypeMachineDto; - if (customFields !== undefined) { - await this.prisma.customField.deleteMany({ - where: { typeMachineId: id } - }); - if (customFields.length > 0) { - await this.prisma.customField.createMany({ - data: customFields.map(field => ({ - name: field.name, - type: field.type, - required: field.required || false, - defaultValue: field.defaultValue, - options: field.options, - typeMachineId: id - })) - }); - } - } - return this.prisma.typeMachine.update({ - where: { id }, - data: typeData, - include: { - customFields: true, - }, - }); - } - async removeTypeMachine(id) { - const machinesWithType = await this.prisma.machine.findMany({ - where: { typeMachineId: id }, - select: { id: true, name: true }, - }); - if (machinesWithType.length > 0) { - const machineNames = machinesWithType.map(m => m.name).join(', '); - throw new Error(`Impossible de supprimer ce type de machine car il est utilisé par ${machinesWithType.length} machine(s): ${machineNames}. ` + - `Veuillez d'abord supprimer ou modifier ces machines.`); - } - await this.prisma.customField.deleteMany({ - where: { typeMachineId: id }, - }); - return this.prisma.typeMachine.delete({ - where: { id }, - }); - } - async createTypeComposant(createTypeComposantDto) { - const { customFields, ...typeData } = createTypeComposantDto; - return this.prisma.typeComposant.create({ - data: { - ...typeData, - customFields: customFields ? { - create: customFields.map(field => ({ - name: field.name, - type: field.type, - required: field.required || false, - defaultValue: field.defaultValue, - options: field.options - })) - } : undefined - }, - include: { - customFields: true, - }, - }); - } - async findAllTypeComposants() { - return this.prisma.typeComposant.findMany({ - include: { - composants: true, - customFields: true, - }, - }); - } - async findOneTypeComposant(id) { - return this.prisma.typeComposant.findUnique({ - where: { id }, - include: { - composants: true, - customFields: true, - }, - }); - } - async updateTypeComposant(id, updateTypeComposantDto) { - const { customFields, ...typeData } = updateTypeComposantDto; - if (customFields !== undefined) { - await this.prisma.customField.deleteMany({ - where: { typeComposantId: id } - }); - if (customFields.length > 0) { - await this.prisma.customField.createMany({ - data: customFields.map(field => ({ - name: field.name, - type: field.type, - required: field.required || false, - defaultValue: field.defaultValue, - options: field.options, - typeComposantId: id - })) - }); - } - } - return this.prisma.typeComposant.update({ - where: { id }, - data: typeData, - include: { - customFields: true, - }, - }); - } - async removeTypeComposant(id) { - return this.prisma.typeComposant.delete({ - where: { id }, - }); - } - async createTypePiece(createTypePieceDto) { - const { customFields, ...typeData } = createTypePieceDto; - return this.prisma.typePiece.create({ - data: { - ...typeData, - customFields: customFields ? { - create: customFields.map(field => ({ - name: field.name, - type: field.type, - required: field.required || false, - defaultValue: field.defaultValue, - options: field.options - })) - } : undefined - }, - include: { - customFields: true, - }, - }); - } - async findAllTypePieces() { - return this.prisma.typePiece.findMany({ - include: { - pieces: true, - customFields: true, - }, - }); - } - async findOneTypePiece(id) { - return this.prisma.typePiece.findUnique({ - where: { id }, - include: { - pieces: true, - customFields: true, - }, - }); - } - async updateTypePiece(id, updateTypePieceDto) { - const { customFields, ...typeData } = updateTypePieceDto; - if (customFields !== undefined) { - await this.prisma.customField.deleteMany({ - where: { typePieceId: id } - }); - if (customFields.length > 0) { - await this.prisma.customField.createMany({ - data: customFields.map(field => ({ - name: field.name, - type: field.type, - required: field.required || false, - defaultValue: field.defaultValue, - options: field.options, - typePieceId: id - })) - }); - } - } - return this.prisma.typePiece.update({ - where: { id }, - data: typeData, - include: { - customFields: true, - }, - }); - } - async removeTypePiece(id) { - return this.prisma.typePiece.delete({ - where: { id }, - }); - } -}; -exports.TypesService = TypesService; -exports.TypesService = TypesService = __decorate([ - (0, common_1.Injectable)(), - __metadata("design:paramtypes", [prisma_service_1.PrismaService]) -], TypesService); -//# sourceMappingURL=types.service.js.map \ No newline at end of file diff --git a/dist/types/types.service.js.map b/dist/types/types.service.js.map deleted file mode 100644 index 79c2e85..0000000 --- a/dist/types/types.service.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"types.service.js","sourceRoot":"","sources":["../../src/types/types.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,6DAAyD;AAWlD,IAAM,YAAY,GAAlB,MAAM,YAAY;IACH;IAApB,YAAoB,MAAqB;QAArB,WAAM,GAAN,MAAM,CAAe;IAAG,CAAC;IAG7C,KAAK,CAAC,iBAAiB,CAAC,oBAA0C;QAChE,MAAM,EAAE,YAAY,EAAE,GAAG,QAAQ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