From 3e371f49c793d6893b7de2d2e12ba2087f98f92e Mon Sep 17 00:00:00 2001 From: ikuzenkuna Date: Tue, 5 May 2026 11:00:48 +0200 Subject: [PATCH] efface txt --- pyrofetes/pyrofetes-backend/.gitignore | 810 -- pyrofetes/pyrofetes-backend/PyroFetes.sln | 16 - .../Deliverer/Request/CreateDelivererDto.cs | 6 - .../Deliverer/Request/UpdateDelivererDto.cs | 7 - .../DTO/Deliverer/Response/GetDelivererDto.cs | 11 - .../Request/CreateDeliveryNoteDto.cs | 12 - .../PatchDeliveryNoteRealDeliveryDateDto.cs | 7 - .../Request/UpdateDeliveryNoteDto.cs | 12 - .../Response/GetDeliveryNoteDto.cs | 17 - .../DTO/Price/Request/CreatePriceDto.cs | 27 - .../Request/PatchPriceSellingPriceDto.cs | 8 - .../DTO/Price/Request/UpdatePriceDto.cs | 28 - .../DTO/Price/Response/GetPriceDto.cs | 28 - .../DTO/Product/Request/CreateProductDto.cs | 15 - .../Request/PatchProductMinimalStockDto.cs | 7 - .../DTO/Product/Request/UpdateProductDto.cs | 16 - .../DTO/Product/Response/GetProductDto.cs | 16 - .../Request/CreateProductDeliveryDto.cs | 8 - .../Request/UpdateProductDeliveryDto.cs | 8 - .../Response/GetProductDeliveryDto.cs | 28 - ...PatchPurchaseOrderPurchaseConditionsDto.cs | 7 - .../Response/GetPurchaseOrderDto.cs | 10 - .../Request/CreatePurchaseProductDto.cs | 9 - .../PatchPurchaseProductQuantityDto.cs | 8 - .../Request/UpdatePurchaseProductDto.cs | 22 - .../Response/GetPurchaseProductDto.cs | 21 - .../PatchQuotationConditionsSaleDto.cs | 7 - .../Request/PatchQuotationMessageDto.cs | 7 - .../DTO/Quotation/Response/GetQuotationDto.cs | 11 - .../Request/CreateQuotationProductDto.cs | 22 - .../PatchQuotationProductQuantityDto.cs | 8 - .../Request/UpdateQuotationProductDto.cs | 23 - .../Response/GetQuotationProductDto.cs | 22 - .../SettingDTO/Request/CreateSettingDto.cs | 7 - .../PatchSettingElectronicSignatureDto.cs | 7 - .../SettingDTO/Request/PatchSettingLogoDto.cs | 7 - .../DTO/SettingDTO/Response/GetSettingDto.cs | 8 - .../DTO/Supplier/Request/CreateSupplierDto.cs | 12 - .../Request/PatchSupplierDeliveryDelayDto.cs | 7 - .../DTO/Supplier/Request/UpdateSupplierDto.cs | 13 - .../DTO/Supplier/Response/GetSupplierDto.cs | 13 - .../DTO/User/Request/ConnectUserDto.cs | 7 - .../DTO/User/Request/CreateUserDto.cs | 9 - .../DTO/User/Request/PatchUserPasswordDto.cs | 7 - .../DTO/User/Request/UpdateUserDto.cs | 10 - .../DTO/User/Response/GetTokenDto.cs | 6 - .../PyroFetes/DTO/User/Response/GetUserDto.cs | 11 - .../PatchWareHouseProductQuantityDto.cs | 8 - .../Response/GetTotalQuantityDto.cs | 7 - .../Response/GetWareHouseProductDto.cs | 8 - .../Deliverers/CreateDelivererEndpoint.cs | 30 - .../Deliverers/DeleteDelivererEndpoint.cs | 36 - .../Deliverers/GetAllDelivererEndpoint.cs | 23 - .../Deliverers/GetDelivererEndpoint.cs | 39 - .../Deliverers/UpdateDelivererEndpoint.cs | 39 - .../CreateDeliveryNoteEndpoint.cs | 68 - .../GetAllDeliveryNoteEndpoint.cs | 20 - .../DeliveryNotes/GetDeliveryNoteEndpoint.cs | 35 - .../PatchRealDeliveryDateEndpoint.cs | 39 - .../Endpoints/Prices/CreatePriceEndpoint.cs | 84 - .../Endpoints/Prices/DeletePriceEndpoint.cs | 37 - .../Endpoints/Prices/PatchPriceEndpoint.cs | 36 - .../Products/GetAllProductsEndpoint.cs | 21 - .../Endpoints/Products/GetProductEndpoint.cs | 37 - .../PatchProductMinimalStockEndpoint.cs | 36 - .../Products/UpdateProductEndpoint.cs | 46 - .../DeletePurchaseOrderEndpoint.cs | 43 - .../GetAllPurchaseOrderEndpoint.cs | 21 - .../GetPurchaseOrderEndpoint.cs | 38 - ...PurchaseOrderPurchaseConditionsEndpoint.cs | 36 - .../CreatePurchaseProductEndpoint.cs | 56 - .../DeletePurchaseProductEndpoint.cs | 38 - .../PatchPurchaseProductQuantityEndpoint.cs | 38 - .../CreateQuotationProductEndpoint.cs | 58 - .../DeleteQuotationProductEndpoint.cs | 39 - .../PatchQuotationProductQuantityEndpoint.cs | 37 - .../Quotations/DeleteQuotationEndpoint.cs | 43 - .../Quotations/GetAllQuotationEndpoint.cs | 22 - .../Quotations/GetQuotationEndpoint.cs | 38 - .../PatchQuotationConditionsSaleEndpoint.cs | 38 - .../Settings/CreateSettingEndpoint.cs | 31 - .../Settings/DeleteSettingEndpoint.cs | 36 - .../Endpoints/Settings/GetSettingEndpoint.cs | 37 - ...PatchSettingElectronicSignatureEndpoint.cs | 36 - .../Settings/PatchSettingLogoEndpoint.cs | 36 - .../Suppliers/CreateSupplierEndpoint.cs | 36 - .../Suppliers/DeleteSupplierEndpoint.cs | 36 - .../Suppliers/GetAllSuppliersEndpoint.cs | 20 - .../Suppliers/GetSupplierEndpoint.cs | 37 - .../PatchSupplierDeliveryDelayEndpoint.cs | 36 - .../Suppliers/UpdateSupplierEndpoint.cs | 43 - .../Endpoints/Users/ConnectUserEndpoint.cs | 51 - .../Endpoints/Users/CreateUserEndpoint.cs | 37 - .../Endpoints/Users/DeleteUserEndpoint.cs | 36 - .../Endpoints/Users/GetAllUsersEndpoint.cs | 20 - .../Endpoints/Users/GetUserEndpoint.cs | 37 - .../Users/PatchUserPasswordEndpoint.cs | 36 - .../Endpoints/Users/UpdateUserEndpoint.cs | 51 - .../GetTotalQuantityEndpoint.cs | 45 - .../PatchWareHouseProductQuantityEndpoint.cs | 41 - .../MappingProfiles/DtoToEntityMappings.cs | 68 - .../MappingProfiles/EntityToDtoMappings.cs | 46 - ...20251008103414_InitialDatabase.Designer.cs | 1951 ---- .../20251008103414_InitialDatabase.cs | 1392 --- .../20251010083620_FixingDatabase.Designer.cs | 1950 ---- .../20251010083620_FixingDatabase.cs | 52 - ...75653_AddingEntitiesInDatabase.Designer.cs | 1963 ---- ...20251013175653_AddingEntitiesInDatabase.cs | 755 -- ...51113162655_FixedNullableValue.Designer.cs | 1963 ---- .../20251113162655_FixedNullableValue.cs | 37 - .../20251120154429_FixTypeErrors.Designer.cs | 1966 ---- .../20251120154429_FixTypeErrors.cs | 68 - ...437_UpdatedDatabaseProductType.Designer.cs | 1967 ---- ...251126193437_UpdatedDatabaseProductType.cs | 36 - ...124107_UpdatedLengthOfPassword.Designer.cs | 1967 ---- .../20251127124107_UpdatedLengthOfPassword.cs | 38 - .../20251127133430_FixZipCode.Designer.cs | 1967 ---- .../Migrations/20251127133430_FixZipCode.cs | 52 - .../PyroFetesDbContextModelSnapshot.cs | 1964 ---- .../PyroFetes/Models/.idea/.gitignore | 13 - .../PyroFetes/Models/.idea/encodings.xml | 4 - .../PyroFetes/Models/.idea/indexLayout.xml | 8 - .../PyroFetes/Models/Availability.cs | 14 - .../PyroFetes/Models/Brand.cs | 12 - .../PyroFetes/Models/City.cs | 12 - .../PyroFetes/Models/Classification.cs | 11 - .../PyroFetes/Models/Color.cs | 11 - .../PyroFetes/Models/Communication.cs | 14 - .../PyroFetes/Models/Contact.cs | 23 - .../Models/ContactServiceProvider.cs | 14 - .../PyroFetes/Models/Contract.cs | 15 - .../PyroFetes/Models/Customer.cs | 16 - .../PyroFetes/Models/CustomerType.cs | 11 - .../PyroFetes/Models/Deliverer.cs | 11 - .../PyroFetes/Models/DeliveryNote.cs | 16 - .../PyroFetes/Models/Effect.cs | 11 - .../PyroFetes/Models/ExperienceLevel.cs | 12 - .../PyroFetes/Models/HistoryOfApproval.cs | 12 - .../PyroFetes/Models/Material.cs | 16 - .../PyroFetes/Models/MaterialWarehouse.cs | 14 - .../PyroFetes/Models/Movement.cs | 19 - .../PyroFetes/Models/Price.cs | 16 - .../PyroFetes/Models/Product.cs | 41 - .../PyroFetes/Models/ProductCategory.cs | 11 - .../PyroFetes/Models/ProductColor.cs | 14 - .../PyroFetes/Models/ProductDelivery.cs | 15 - .../PyroFetes/Models/ProductEffect.cs | 15 - .../PyroFetes/Models/ProductTimecode.cs | 17 - .../PyroFetes/Models/ProviderContact.cs | 12 - .../PyroFetes/Models/ProviderType.cs | 11 - .../PyroFetes/Models/PurchaseOrder.cs | 11 - .../PyroFetes/Models/PurchaseProduct.cs | 16 - .../PyroFetes/Models/Quotation.cs | 15 - .../PyroFetes/Models/QuotationProduct.cs | 15 - .../PyroFetes/Models/ServiceProvider.cs | 16 - .../PyroFetes/Models/Setting.cs | 10 - .../PyroFetes/Models/Show.cs | 25 - .../PyroFetes/Models/ShowMaterial.cs | 15 - .../PyroFetes/Models/ShowServiceProvider.cs | 9 - .../PyroFetes/Models/ShowStaff.cs | 14 - .../PyroFetes/Models/ShowTruck.cs | 14 - .../PyroFetes/Models/Sound.cs | 20 - .../PyroFetes/Models/SoundCategory.cs | 11 - .../PyroFetes/Models/SoundTimecode.cs | 16 - .../PyroFetes/Models/Staff.cs | 20 - .../PyroFetes/Models/StaffAvailability.cs | 12 - .../PyroFetes/Models/StaffContact.cs | 13 - .../Models/StaffHistoryOfApproval.cs | 12 - .../PyroFetes/Models/Supplier.cs | 17 - .../PyroFetes/Models/Truck.cs | 14 - .../PyroFetes/Models/User.cs | 13 - .../PyroFetes/Models/Warehouse.cs | 22 - .../PyroFetes/Models/WarehouseProduct.cs | 15 - .../pyrofetes-backend/PyroFetes/Program.cs | 75 - .../PyroFetes/Properties/launchSettings.json | 41 - .../PyroFetes/PyroFetes.csproj | 29 - .../PyroFetes/PyroFetesDbContext.cs | 102 - .../Repositories/DeliverersRepository.cs | 5 - .../Repositories/DeliveryNotesRepository.cs | 5 - .../Repositories/PricesRepository.cs | 5 - .../ProductDeliveriesRepository.cs | 5 - .../Repositories/ProductsRepository.cs | 5 - .../Repositories/PurchaseOrdersRepository.cs | 5 - .../PurchaseProductsRepository.cs | 5 - .../Repositories/PyrofetesRepository.cs | 328 - .../QuotationProductsRepository.cs | 5 - .../Repositories/QuotationsRepository.cs | 5 - .../Repositories/SettingsRepository.cs | 5 - .../Repositories/SuppliersRepository.cs | 5 - .../PyroFetes/Repositories/UsersRepository.cs | 5 - .../WarehouseProductsRepository.cs | 5 - .../Deliverers/GetDelivererByIdSpec.cs | 13 - .../DeliveryNotes/GetDeliveryNoteByIdSpec.cs | 13 - .../GetPriceByProductIdAndSupplierIdSpec.cs | 13 - .../Products/GetProductByIdSpec.cs | 13 - .../GetPurchaseOrderByIdSpec.cs | 14 - ...roductByProductIdAndPurchaseOrderIdSpec.cs | 13 - ...ionProductByProductIdAndQuotationIdSpec.cs | 13 - .../Quotations/GetQuotationByIdSpec.cs | 14 - .../Settings/GetSettingByIdSpec.cs | 13 - .../Suppliers/GetSupplierByIdSpec.cs | 13 - .../Specifications/Users/GetUserByIdSpec.cs | 13 - .../Specifications/Users/GetUserByNameSpec.cs | 13 - .../GetProductTotalQuantitySpec.cs | 14 - .../GetWarehouseProductByProductIdSpec.cs | 13 - .../PyroFetes/appsettings.Development.json | 8 - .../PyroFetes/appsettings.json | 9 - pyrofetes/pyrofetes-backend/README.md | 50 - pyrofetes/pyrofetes-frontend/.gitignore | 337 - .../.vscode/extensions.json | 4 - .../pyrofetes-frontend/.vscode/launch.json | 13 - .../pyrofetes-frontend/.vscode/tasks.json | 24 - pyrofetes/pyrofetes-frontend/README.md | 59 - pyrofetes/pyrofetes-frontend/angular.json | 107 - .../pyrofetes-frontend/package-lock.json | 8854 ----------------- pyrofetes/pyrofetes-frontend/package.json | 44 - .../pyrofetes-frontend/public/favicon.ico | Bin 15086 -> 0 bytes .../pyrofetes-frontend/src/app/app.config.ts | 19 - pyrofetes/pyrofetes-frontend/src/app/app.css | 46 - pyrofetes/pyrofetes-frontend/src/app/app.html | 70 - .../pyrofetes-frontend/src/app/app.routes.ts | 41 - pyrofetes/pyrofetes-frontend/src/app/app.ts | 14 - .../src/app/pages/deliverer/deliverer.css | 0 .../src/app/pages/deliverer/deliverer.html | 1 - .../src/app/pages/deliverer/deliverer.ts | 11 - .../app/pages/delivery-note/delivery-note.css | 0 .../pages/delivery-note/delivery-note.html | 1 - .../app/pages/delivery-note/delivery-note.ts | 11 - .../pages/purchase-order/purchase-order.css | 0 .../pages/purchase-order/purchase-order.html | 1 - .../pages/purchase-order/purchase-order.ts | 11 - .../src/app/pages/quotation/quotation.css | 0 .../src/app/pages/quotation/quotation.html | 1 - .../src/app/pages/quotation/quotation.ts | 11 - .../src/app/pages/stock/stock.css | 0 .../src/app/pages/stock/stock.html | 1 - .../src/app/pages/stock/stock.ts | 11 - .../src/app/pages/supplier/supplier.css | 0 .../src/app/pages/supplier/supplier.html | 1 - .../src/app/pages/supplier/supplier.ts | 11 - .../src/app/pages/user/user.css | 0 .../src/app/pages/user/user.html | 1 - .../src/app/pages/user/user.ts | 11 - .../src/app/pages/welcome/welcome.css | 0 .../src/app/pages/welcome/welcome.html | 1 - .../src/app/pages/welcome/welcome.routes.ts | 6 - .../src/app/pages/welcome/welcome.ts | 9 - pyrofetes/pyrofetes-frontend/src/index.html | 13 - pyrofetes/pyrofetes-frontend/src/main.ts | 6 - pyrofetes/pyrofetes-frontend/src/styles.css | 4 - pyrofetes/pyrofetes-frontend/src/theme.less | 9 - .../pyrofetes-frontend/tsconfig.app.json | 15 - pyrofetes/pyrofetes-frontend/tsconfig.json | 22 - 253 files changed, 35001 deletions(-) delete mode 100644 pyrofetes/pyrofetes-backend/.gitignore delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes.sln delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/Deliverer/Request/CreateDelivererDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/Deliverer/Request/UpdateDelivererDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/Deliverer/Response/GetDelivererDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/DeliveryNote/Request/CreateDeliveryNoteDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/DeliveryNote/Request/PatchDeliveryNoteRealDeliveryDateDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/DeliveryNote/Request/UpdateDeliveryNoteDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/DeliveryNote/Response/GetDeliveryNoteDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/Price/Request/CreatePriceDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/Price/Request/PatchPriceSellingPriceDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/Price/Request/UpdatePriceDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/Price/Response/GetPriceDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/Product/Request/CreateProductDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/Product/Request/PatchProductMinimalStockDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/Product/Request/UpdateProductDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/Product/Response/GetProductDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/ProductDelivery/Request/CreateProductDeliveryDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/ProductDelivery/Request/UpdateProductDeliveryDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/ProductDelivery/Response/GetProductDeliveryDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/PurchaseOrder/Request/PatchPurchaseOrderPurchaseConditionsDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/PurchaseOrder/Response/GetPurchaseOrderDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/PurchaseProduct/Request/CreatePurchaseProductDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/PurchaseProduct/Request/PatchPurchaseProductQuantityDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/PurchaseProduct/Request/UpdatePurchaseProductDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/PurchaseProduct/Response/GetPurchaseProductDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/Quotation/Request/PatchQuotationConditionsSaleDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/Quotation/Request/PatchQuotationMessageDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/Quotation/Response/GetQuotationDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/QuotationProduct/Request/CreateQuotationProductDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/QuotationProduct/Request/PatchQuotationProductQuantityDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/QuotationProduct/Request/UpdateQuotationProductDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/QuotationProduct/Response/GetQuotationProductDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/SettingDTO/Request/CreateSettingDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/SettingDTO/Request/PatchSettingElectronicSignatureDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/SettingDTO/Request/PatchSettingLogoDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/SettingDTO/Response/GetSettingDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/Supplier/Request/CreateSupplierDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/Supplier/Request/PatchSupplierDeliveryDelayDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/Supplier/Request/UpdateSupplierDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/Supplier/Response/GetSupplierDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/User/Request/ConnectUserDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/User/Request/CreateUserDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/User/Request/PatchUserPasswordDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/User/Request/UpdateUserDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/User/Response/GetTokenDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/User/Response/GetUserDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/WareHouseProduct/Request/PatchWareHouseProductQuantityDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/WareHouseProduct/Response/GetTotalQuantityDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/DTO/WareHouseProduct/Response/GetWareHouseProductDto.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Deliverers/CreateDelivererEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Deliverers/DeleteDelivererEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Deliverers/GetAllDelivererEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Deliverers/GetDelivererEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Deliverers/UpdateDelivererEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/DeliveryNotes/CreateDeliveryNoteEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/DeliveryNotes/GetAllDeliveryNoteEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/DeliveryNotes/GetDeliveryNoteEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/DeliveryNotes/PatchRealDeliveryDateEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Prices/CreatePriceEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Prices/DeletePriceEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Prices/PatchPriceEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Products/GetAllProductsEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Products/GetProductEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Products/PatchProductMinimalStockEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Products/UpdateProductEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseOrders/DeletePurchaseOrderEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseOrders/GetAllPurchaseOrderEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseOrders/GetPurchaseOrderEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseOrders/PatchPurchaseOrderPurchaseConditionsEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseProducts/CreatePurchaseProductEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseProducts/DeletePurchaseProductEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseProducts/PatchPurchaseProductQuantityEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/QuotationProducts/CreateQuotationProductEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/QuotationProducts/DeleteQuotationProductEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/QuotationProducts/PatchQuotationProductQuantityEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Quotations/DeleteQuotationEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Quotations/GetAllQuotationEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Quotations/GetQuotationEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Quotations/PatchQuotationConditionsSaleEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Settings/CreateSettingEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Settings/DeleteSettingEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Settings/GetSettingEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Settings/PatchSettingElectronicSignatureEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Settings/PatchSettingLogoEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Suppliers/CreateSupplierEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Suppliers/DeleteSupplierEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Suppliers/GetAllSuppliersEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Suppliers/GetSupplierEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Suppliers/PatchSupplierDeliveryDelayEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Suppliers/UpdateSupplierEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/ConnectUserEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/CreateUserEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/DeleteUserEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/GetAllUsersEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/GetUserEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/PatchUserPasswordEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/UpdateUserEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/WareHouseProducts/GetTotalQuantityEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/WareHouseProducts/PatchWareHouseProductQuantityEndpoint.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/MappingProfiles/DtoToEntityMappings.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/MappingProfiles/EntityToDtoMappings.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251008103414_InitialDatabase.Designer.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251008103414_InitialDatabase.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251010083620_FixingDatabase.Designer.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251010083620_FixingDatabase.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251013175653_AddingEntitiesInDatabase.Designer.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251013175653_AddingEntitiesInDatabase.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251113162655_FixedNullableValue.Designer.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251113162655_FixedNullableValue.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251120154429_FixTypeErrors.Designer.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251120154429_FixTypeErrors.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251126193437_UpdatedDatabaseProductType.Designer.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251126193437_UpdatedDatabaseProductType.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251127124107_UpdatedLengthOfPassword.Designer.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251127124107_UpdatedLengthOfPassword.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251127133430_FixZipCode.Designer.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251127133430_FixZipCode.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Migrations/PyroFetesDbContextModelSnapshot.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/.idea/.gitignore delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/.idea/encodings.xml delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/.idea/indexLayout.xml delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/Availability.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/Brand.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/City.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/Classification.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/Color.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/Communication.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/Contact.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/ContactServiceProvider.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/Contract.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/Customer.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/CustomerType.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/Deliverer.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/DeliveryNote.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/Effect.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/ExperienceLevel.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/HistoryOfApproval.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/Material.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/MaterialWarehouse.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/Movement.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/Price.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/Product.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/ProductCategory.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/ProductColor.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/ProductDelivery.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/ProductEffect.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/ProductTimecode.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/ProviderContact.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/ProviderType.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/PurchaseOrder.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/PurchaseProduct.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/Quotation.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/QuotationProduct.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/ServiceProvider.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/Setting.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/Show.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/ShowMaterial.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/ShowServiceProvider.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/ShowStaff.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/ShowTruck.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/Sound.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/SoundCategory.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/SoundTimecode.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/Staff.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/StaffAvailability.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/StaffContact.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/StaffHistoryOfApproval.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/Supplier.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/Truck.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/User.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/Warehouse.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Models/WarehouseProduct.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Program.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Properties/launchSettings.json delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/PyroFetes.csproj delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/PyroFetesDbContext.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Repositories/DeliverersRepository.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Repositories/DeliveryNotesRepository.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Repositories/PricesRepository.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Repositories/ProductDeliveriesRepository.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Repositories/ProductsRepository.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Repositories/PurchaseOrdersRepository.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Repositories/PurchaseProductsRepository.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Repositories/PyrofetesRepository.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Repositories/QuotationProductsRepository.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Repositories/QuotationsRepository.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Repositories/SettingsRepository.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Repositories/SuppliersRepository.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Repositories/UsersRepository.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Repositories/WarehouseProductsRepository.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Deliverers/GetDelivererByIdSpec.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Specifications/DeliveryNotes/GetDeliveryNoteByIdSpec.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Prices/GetPriceByProductIdAndSupplierIdSpec.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Products/GetProductByIdSpec.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Specifications/PurchaseOrders/GetPurchaseOrderByIdSpec.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Specifications/PurchaseProducts/GetPurchaseProductByProductIdAndPurchaseOrderIdSpec.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Specifications/QuotationProducts/GetQuotationProductByProductIdAndQuotationIdSpec.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Quotations/GetQuotationByIdSpec.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Settings/GetSettingByIdSpec.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Suppliers/GetSupplierByIdSpec.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Users/GetUserByIdSpec.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Users/GetUserByNameSpec.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Specifications/WarehouseProducts/GetProductTotalQuantitySpec.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/Specifications/WarehouseProducts/GetWarehouseProductByProductIdSpec.cs delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/appsettings.Development.json delete mode 100644 pyrofetes/pyrofetes-backend/PyroFetes/appsettings.json delete mode 100644 pyrofetes/pyrofetes-backend/README.md delete mode 100644 pyrofetes/pyrofetes-frontend/.gitignore delete mode 100644 pyrofetes/pyrofetes-frontend/.vscode/extensions.json delete mode 100644 pyrofetes/pyrofetes-frontend/.vscode/launch.json delete mode 100644 pyrofetes/pyrofetes-frontend/.vscode/tasks.json delete mode 100644 pyrofetes/pyrofetes-frontend/README.md delete mode 100644 pyrofetes/pyrofetes-frontend/angular.json delete mode 100644 pyrofetes/pyrofetes-frontend/package-lock.json delete mode 100644 pyrofetes/pyrofetes-frontend/package.json delete mode 100644 pyrofetes/pyrofetes-frontend/public/favicon.ico delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/app.config.ts delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/app.css delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/app.html delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/app.routes.ts delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/app.ts delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/pages/deliverer/deliverer.css delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/pages/deliverer/deliverer.html delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/pages/deliverer/deliverer.ts delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/pages/delivery-note/delivery-note.css delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/pages/delivery-note/delivery-note.html delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/pages/delivery-note/delivery-note.ts delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/pages/purchase-order/purchase-order.css delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/pages/purchase-order/purchase-order.html delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/pages/purchase-order/purchase-order.ts delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/pages/quotation/quotation.css delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/pages/quotation/quotation.html delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/pages/quotation/quotation.ts delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/pages/stock/stock.css delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/pages/stock/stock.html delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/pages/stock/stock.ts delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/pages/supplier/supplier.css delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/pages/supplier/supplier.html delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/pages/supplier/supplier.ts delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/pages/user/user.css delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/pages/user/user.html delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/pages/user/user.ts delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/pages/welcome/welcome.css delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/pages/welcome/welcome.html delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/pages/welcome/welcome.routes.ts delete mode 100644 pyrofetes/pyrofetes-frontend/src/app/pages/welcome/welcome.ts delete mode 100644 pyrofetes/pyrofetes-frontend/src/index.html delete mode 100644 pyrofetes/pyrofetes-frontend/src/main.ts delete mode 100644 pyrofetes/pyrofetes-frontend/src/styles.css delete mode 100644 pyrofetes/pyrofetes-frontend/src/theme.less delete mode 100644 pyrofetes/pyrofetes-frontend/tsconfig.app.json delete mode 100644 pyrofetes/pyrofetes-frontend/tsconfig.json diff --git a/pyrofetes/pyrofetes-backend/.gitignore b/pyrofetes/pyrofetes-backend/.gitignore deleted file mode 100644 index d19034c..0000000 --- a/pyrofetes/pyrofetes-backend/.gitignore +++ /dev/null @@ -1,810 +0,0 @@ -# Created by https://www.toptal.com/developers/gitignore/api/dotnetcore,csharp,visualstudio,rider,jetbrains+all,windows,macos,linux,sonarqube -# Edit at https://www.toptal.com/developers/gitignore?templates=dotnetcore,csharp,visualstudio,rider,jetbrains+all,windows,macos,linux,sonarqube - -### Csharp ### -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. -## -## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore - -# User-specific files -*.rsuser -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Mono auto generated files -mono_crash.* - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -x64/ -x86/ -[Ww][Ii][Nn]32/ -[Aa][Rr][Mm]/ -[Aa][Rr][Mm]64/ -bld/ -[Bb]in/ -[Oo]bj/ -[Ll]og/ -[Ll]ogs/ - -# Visual Studio 2015/2017 cache/options directory -.vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ - -# Visual Studio 2017 auto generated files -Generated\ Files/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUnit -*.VisualState.xml -TestResult.xml -nunit-*.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -# Benchmark Results -BenchmarkDotNet.Artifacts/ - -# .NET Core -project.lock.json -project.fragment.lock.json -artifacts/ - -# ASP.NET Scaffolding -ScaffoldingReadMe.txt - -# StyleCop -StyleCopReport.xml - -# Files built by Visual Studio -*_i.c -*_p.c -*_h.h -*.ilk -*.meta -*.obj -*.iobj -*.pch -*.pdb -*.ipdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*_wpftmp.csproj -*.log -*.tlog -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile -*.VC.db -*.VC.VC.opendb - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# Visual Studio Trace Files -*.e2e - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# AxoCover is a Code Coverage Tool -.axoCover/* -!.axoCover/settings.json - -# Coverlet is a free, cross platform Code Coverage Tool -coverage*.json -coverage*.xml -coverage*.info - -# Visual Studio code coverage results -*.coverage -*.coveragexml - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# Note: Comment the next line if you want to checkin your web deploy settings, -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# Microsoft Azure Web App publish settings. Comment the next line if you want to -# checkin your Azure Web App publish settings, but sensitive information contained -# in these scripts will be unencrypted -PublishScripts/ - -# NuGet Packages -*.nupkg -# NuGet Symbol Packages -*.snupkg -# The packages folder can be ignored because of Package Restore -**/[Pp]ackages/* -# except build/, which is used as an MSBuild target. -!**/[Pp]ackages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/[Pp]ackages/repositories.config -# NuGet v3's project.json files produces more ignorable files -*.nuget.props -*.nuget.targets - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Windows Store app package directories and files -AppPackages/ -BundleArtifacts/ -Package.StoreAssociation.xml -_pkginfo.txt -*.appx -*.appxbundle -*.appxupload - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!?*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.jfm -*.pfx -*.publishsettings -orleans.codegen.cs - -# Including strong name files can present a security risk -# (https://github.com/github/gitignore/pull/2483#issue-259490424) -#*.snk - -# Since there are multiple workflows, uncomment next line to ignore bower_components -# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) -#bower_components/ - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm -ServiceFabricBackup/ -*.rptproj.bak - -# SQL Server files -*.mdf -*.ldf -*.ndf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings -*.rptproj.rsuser -*- [Bb]ackup.rdl -*- [Bb]ackup ([0-9]).rdl -*- [Bb]ackup ([0-9][0-9]).rdl - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat -node_modules/ - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) -*.vbw - -# Visual Studio 6 auto-generated project file (contains which files were open etc.) -*.vbp - -# Visual Studio 6 workspace and project file (working project files containing files to include in project) -*.dsw -*.dsp - -# Visual Studio 6 technical files - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions - -# Paket dependency manager -.paket/paket.exe -paket-files/ - -# FAKE - F# Make -.fake/ - -# CodeRush personal settings -.cr/personal - -# Python Tools for Visual Studio (PTVS) -__pycache__/ -*.pyc - -# Cake - Uncomment if you are using it -# tools/** -# !tools/packages.config - -# Tabs Studio -*.tss - -# Telerik's JustMock configuration file -*.jmconfig - -# BizTalk build output -*.btp.cs -*.btm.cs -*.odx.cs -*.xsd.cs - -# OpenCover UI analysis results -OpenCover/ - -# Azure Stream Analytics local run output -ASALocalRun/ - -# MSBuild Binary and Structured Log -*.binlog - -# NVidia Nsight GPU debugger configuration file -*.nvuser - -# MFractors (Xamarin productivity tool) working folder -.mfractor/ - -# Local History for Visual Studio -.localhistory/ - -# Visual Studio History (VSHistory) files -.vshistory/ - -# BeatPulse healthcheck temp database -healthchecksdb - -# Backup folder for Package Reference Convert tool in Visual Studio 2017 -MigrationBackup/ - -# Ionide (cross platform F# VS Code tools) working folder -.ionide/ - -# Fody - auto-generated XML schema -FodyWeavers.xsd - -# VS Code files for those working on multiple tools -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -*.code-workspace - -# Local History for Visual Studio Code -.history/ - -# Windows Installer files from build outputs -*.cab -*.msi -*.msix -*.msm -*.msp - -# JetBrains Rider -*.sln.iml - -### DotnetCore ### -# .NET Core build folders -bin/ -obj/ - -# Common node modules locations -/node_modules -/wwwroot/node_modules - -### JetBrains+all ### -# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider -# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 - -# User-specific stuff -.idea/**/workspace.xml -.idea/**/tasks.xml -.idea/**/usage.statistics.xml -.idea/**/dictionaries -.idea/**/shelf - -# AWS User-specific -.idea/**/aws.xml - -# Generated files -.idea/**/contentModel.xml - -# Sensitive or high-churn files -.idea/**/dataSources/ -.idea/**/dataSources.ids -.idea/**/dataSources.local.xml -.idea/**/sqlDataSources.xml -.idea/**/dynamic.xml -.idea/**/uiDesigner.xml -.idea/**/dbnavigator.xml - -# Gradle -.idea/**/gradle.xml -.idea/**/libraries - -# Gradle and Maven with auto-import -# When using Gradle or Maven with auto-import, you should exclude module files, -# since they will be recreated, and may cause churn. Uncomment if using -# auto-import. -# .idea/artifacts -# .idea/compiler.xml -# .idea/jarRepositories.xml -# .idea/modules.xml -# .idea/*.iml -# .idea/modules -# *.iml -# *.ipr - -# CMake -cmake-build-*/ - -# Mongo Explorer plugin -.idea/**/mongoSettings.xml - -# File-based project format -*.iws - -# IntelliJ -out/ - -# mpeltonen/sbt-idea plugin -.idea_modules/ - -# JIRA plugin -atlassian-ide-plugin.xml - -# Cursive Clojure plugin -.idea/replstate.xml - -# SonarLint plugin -.idea/sonarlint/ - -# Crashlytics plugin (for Android Studio and IntelliJ) -com_crashlytics_export_strings.xml -crashlytics.properties -crashlytics-build.properties -fabric.properties - -# Editor-based Rest Client -.idea/httpRequests - -# Android studio 3.1+ serialized cache file -.idea/caches/build_file_checksums.ser - -### JetBrains+all Patch ### -# Ignore everything but code style settings and run configurations -# that are supposed to be shared within teams. - -.idea/* - -!.idea/codeStyles -!.idea/runConfigurations - -### Linux ### - -# temporary files which can be created if a process still has a handle open of a deleted file -.fuse_hidden* - -# KDE directory preferences -.directory - -# Linux trash folder which might appear on any partition or disk -.Trash-* - -# .nfs files are created when an open file is removed but is still being accessed -.nfs* - -### macOS ### -# General -.DS_Store -.AppleDouble -.LSOverride - -# Icon must end with two \r -Icon - - -# Thumbnails -._* - -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns -.com.apple.timemachine.donotpresent - -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk - -### macOS Patch ### -# iCloud generated files -*.icloud - -### Rider ### -# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider -# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 - -# User-specific stuff - -# AWS User-specific - -# Generated files - -# Sensitive or high-churn files - -# Gradle - -# Gradle and Maven with auto-import -# When using Gradle or Maven with auto-import, you should exclude module files, -# since they will be recreated, and may cause churn. Uncomment if using -# auto-import. -# .idea/artifacts -# .idea/compiler.xml -# .idea/jarRepositories.xml -# .idea/modules.xml -# .idea/*.iml -# .idea/modules -# *.iml -# *.ipr - -# CMake - -# Mongo Explorer plugin - -# File-based project format - -# IntelliJ - -# mpeltonen/sbt-idea plugin - -# JIRA plugin - -# Cursive Clojure plugin - -# SonarLint plugin - -# Crashlytics plugin (for Android Studio and IntelliJ) - -# Editor-based Rest Client - -# Android studio 3.1+ serialized cache file - -### SonarQube ### -# SonarQube ignore files. -# -# https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner -# Sonar Scanner working directories -.sonar/ -.sonarqube/ -.scannerwork/ - -# http://www.sonarlint.org/commandline/ -# SonarLint working directories, configuration files (including credentials) -.sonarlint/ - -### Windows ### -# Windows thumbnail cache files -Thumbs.db -Thumbs.db:encryptable -ehthumbs.db -ehthumbs_vista.db - -# Dump file -*.stackdump - -# Folder config file -[Dd]esktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Windows Installer files - -# Windows shortcuts -*.lnk - -### VisualStudio ### - -# User-specific files - -# User-specific files (MonoDevelop/Xamarin Studio) - -# Mono auto generated files - -# Build results - -# Visual Studio 2015/2017 cache/options directory -# Uncomment if you have tasks that create the project's static files in wwwroot - -# Visual Studio 2017 auto generated files - -# MSTest test Results - -# NUnit - -# Build Results of an ATL Project - -# Benchmark Results - -# .NET Core - -# ASP.NET Scaffolding - -# StyleCop - -# Files built by Visual Studio - -# Chutzpah Test files - -# Visual C++ cache files - -# Visual Studio profiler - -# Visual Studio Trace Files - -# TFS 2012 Local Workspace - -# Guidance Automation Toolkit - -# ReSharper is a .NET coding add-in - -# TeamCity is a build add-in - -# DotCover is a Code Coverage Tool - -# AxoCover is a Code Coverage Tool - -# Coverlet is a free, cross platform Code Coverage Tool - -# Visual Studio code coverage results - -# NCrunch - -# MightyMoose - -# Web workbench (sass) - -# Installshield output folder - -# DocProject is a documentation generator add-in - -# Click-Once directory - -# Publish Web Output -# Note: Comment the next line if you want to checkin your web deploy settings, -# but database connection strings (with potential passwords) will be unencrypted - -# Microsoft Azure Web App publish settings. Comment the next line if you want to -# checkin your Azure Web App publish settings, but sensitive information contained -# in these scripts will be unencrypted - -# NuGet Packages -# NuGet Symbol Packages -# The packages folder can be ignored because of Package Restore -# except build/, which is used as an MSBuild target. -# Uncomment if necessary however generally it will be regenerated when needed -# NuGet v3's project.json files produces more ignorable files - -# Microsoft Azure Build Output - -# Microsoft Azure Emulator - -# Windows Store app package directories and files - -# Visual Studio cache files -# files ending in .cache can be ignored -# but keep track of directories ending in .cache - -# Others - -# Including strong name files can present a security risk -# (https://github.com/github/gitignore/pull/2483#issue-259490424) - -# Since there are multiple workflows, uncomment next line to ignore bower_components -# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) - -# RIA/Silverlight projects - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) - -# SQL Server files - -# Business Intelligence projects - -# Microsoft Fakes - -# GhostDoc plugin setting file - -# Node.js Tools for Visual Studio - -# Visual Studio 6 build log - -# Visual Studio 6 workspace options file - -# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) - -# Visual Studio 6 auto-generated project file (contains which files were open etc.) - -# Visual Studio 6 workspace and project file (working project files containing files to include in project) - -# Visual Studio 6 technical files - -# Visual Studio LightSwitch build output - -# Paket dependency manager - -# FAKE - F# Make - -# CodeRush personal settings - -# Python Tools for Visual Studio (PTVS) - -# Cake - Uncomment if you are using it -# tools/** -# !tools/packages.config - -# Tabs Studio - -# Telerik's JustMock configuration file - -# BizTalk build output - -# OpenCover UI analysis results - -# Azure Stream Analytics local run output - -# MSBuild Binary and Structured Log - -# NVidia Nsight GPU debugger configuration file - -# MFractors (Xamarin productivity tool) working folder - -# Local History for Visual Studio - -# Visual Studio History (VSHistory) files - -# BeatPulse healthcheck temp database - -# Backup folder for Package Reference Convert tool in Visual Studio 2017 - -# Ionide (cross platform F# VS Code tools) working folder - -# Fody - auto-generated XML schema - -# VS Code files for those working on multiple tools - -# Local History for Visual Studio Code - -# Windows Installer files from build outputs - -# JetBrains Rider - -### VisualStudio Patch ### -# Additional files built by Visual Studio - -# End of https://www.toptal.com/developers/gitignore/api/dotnetcore,csharp,visualstudio,rider,jetbrains+all,windows,macos,linux,sonarqube diff --git a/pyrofetes/pyrofetes-backend/PyroFetes.sln b/pyrofetes/pyrofetes-backend/PyroFetes.sln deleted file mode 100644 index 2918820..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes.sln +++ /dev/null @@ -1,16 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PyroFetes", "PyroFetes\PyroFetes.csproj", "{23E11090-EC39-414E-B2A7-FEF96FE729E3}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {23E11090-EC39-414E-B2A7-FEF96FE729E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {23E11090-EC39-414E-B2A7-FEF96FE729E3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {23E11090-EC39-414E-B2A7-FEF96FE729E3}.Release|Any CPU.ActiveCfg = Release|Any CPU - {23E11090-EC39-414E-B2A7-FEF96FE729E3}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection -EndGlobal diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Deliverer/Request/CreateDelivererDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Deliverer/Request/CreateDelivererDto.cs deleted file mode 100644 index e177b7b..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Deliverer/Request/CreateDelivererDto.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace PyroFetes.DTO.Deliverer.Request; - -public class CreateDelivererDto -{ - public string? Transporter { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Deliverer/Request/UpdateDelivererDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Deliverer/Request/UpdateDelivererDto.cs deleted file mode 100644 index 908edc6..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Deliverer/Request/UpdateDelivererDto.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace PyroFetes.DTO.Deliverer.Request; - -public class UpdateDelivererDto -{ - public int Id { get; set; } - public string? Transporter { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Deliverer/Response/GetDelivererDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Deliverer/Response/GetDelivererDto.cs deleted file mode 100644 index ee22196..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Deliverer/Response/GetDelivererDto.cs +++ /dev/null @@ -1,11 +0,0 @@ -using PyroFetes.DTO.DeliveryNote.Response; - -namespace PyroFetes.DTO.Deliverer.Response; - -public class GetDelivererDto -{ - public int Id { get; set; } - public string? Transporter { get; set; } - - public List? DeliveryNotes { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/DeliveryNote/Request/CreateDeliveryNoteDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/DeliveryNote/Request/CreateDeliveryNoteDto.cs deleted file mode 100644 index c2ee0d9..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/DeliveryNote/Request/CreateDeliveryNoteDto.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace PyroFetes.DTO.DeliveryNote.Request; - -public class CreateDeliveryNoteDto -{ - public string? TrackingNumber { get; set; } - public DateOnly EstimateDeliveryDate { get; set; } - public DateOnly ExpeditionDate { get; set; } - - public int DelivererId { get; set; } - - public Dictionary? ProductQuantities { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/DeliveryNote/Request/PatchDeliveryNoteRealDeliveryDateDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/DeliveryNote/Request/PatchDeliveryNoteRealDeliveryDateDto.cs deleted file mode 100644 index eb2182e..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/DeliveryNote/Request/PatchDeliveryNoteRealDeliveryDateDto.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace PyroFetes.DTO.DeliveryNote.Request; - -public class PatchDeliveryNoteRealDeliveryDateDto -{ - public int Id { get; set; } - public DateOnly RealDeliveryDate { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/DeliveryNote/Request/UpdateDeliveryNoteDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/DeliveryNote/Request/UpdateDeliveryNoteDto.cs deleted file mode 100644 index b4746ff..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/DeliveryNote/Request/UpdateDeliveryNoteDto.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace PyroFetes.DTO.DeliveryNote.Request; - -public class UpdateDeliveryNoteDto -{ - public int Id { get; set; } - public string? TrackingNumber { get; set; } - public DateOnly EstimateDeliveryDate { get; set; } - public DateOnly ExpeditionDate { get; set; } - public DateOnly? RealDeliveryDate { get; set; } - - public int DelivererId { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/DeliveryNote/Response/GetDeliveryNoteDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/DeliveryNote/Response/GetDeliveryNoteDto.cs deleted file mode 100644 index 3683ed3..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/DeliveryNote/Response/GetDeliveryNoteDto.cs +++ /dev/null @@ -1,17 +0,0 @@ -using PyroFetes.DTO.ProductDelivery.Response; - -namespace PyroFetes.DTO.DeliveryNote.Response; - -public class GetDeliveryNoteDto -{ - public int Id { get; set; } - public string? TrackingNumber { get; set; } - public DateOnly EstimateDeliveryDate { get; set; } - public DateOnly ExpeditionDate { get; set; } - public DateOnly? RealDeliveryDate { get; set; } - - public int DelivererId { get; set; } - public string? DelivererTransporter { get; set; } - - public List? Products { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Price/Request/CreatePriceDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Price/Request/CreatePriceDto.cs deleted file mode 100644 index 26e52e7..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Price/Request/CreatePriceDto.cs +++ /dev/null @@ -1,27 +0,0 @@ -namespace PyroFetes.DTO.Price.Request; - -public class CreatePriceDto -{ - public decimal SellingPrice { get; set; } - - public int? SupplierId { get; set; } - public string? SupplierName { get; set; } - public string? SupplierEmail { get; set; } - public string? SupplierPhone { get; set; } - public string? SupplierAddress { get; set; } - public string? SupplierZipCode { get; set; } - public string? SupplierCity { get; set; } - public int SupplierDeliveryDelay { get; set; } - - public int? ProductId { get; set; } - public string? ProductReferences { get; set; } - public string? ProductName { get; set; } - public decimal ProductDuration {get; set;} - public int ProductCaliber { get; set; } - public string? ProductApprovalNumber { get; set; } - public decimal ProductWeight { get; set; } - public decimal ProductNec { get; set; } - public string? ProductImage { get; set; } - public string? ProductLink { get; set; } - public int ProductMinimalQuantity { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Price/Request/PatchPriceSellingPriceDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Price/Request/PatchPriceSellingPriceDto.cs deleted file mode 100644 index 3dd1b6b..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Price/Request/PatchPriceSellingPriceDto.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace PyroFetes.DTO.Price.Request; - -public class PatchPriceSellingPriceDto -{ - public int ProductId { get; set; } - public int SupplierId { get; set; } - public decimal SellingPrice { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Price/Request/UpdatePriceDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Price/Request/UpdatePriceDto.cs deleted file mode 100644 index 1eac827..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Price/Request/UpdatePriceDto.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace PyroFetes.DTO.Price.Request; - -public class UpdatePriceDto -{ - public int Id { get; set; } - public decimal SellingPrice { get; set; } - - public int SupplierId { get; set; } - public string? SupplierName { get; set; } - public string? SupplierEmail { get; set; } - public string? SupplierPhone { get; set; } - public string? SupplierAddress { get; set; } - public int SupplierZipCode { get; set; } - public string? SupplierCity { get; set; } - public int SupplierDeliveryDelay { get; set; } - - public int ProductId { get; set; } - public string? ProductReferences { get; set; } - public string? ProductName { get; set; } - public decimal ProductDuration {get; set;} - public decimal ProductCaliber { get; set; } - public int ProductApprovalNumber { get; set; } - public decimal ProductWeight { get; set; } - public decimal ProductNec { get; set; } - public string? ProductImage { get; set; } - public string? ProductLink { get; set; } - public int ProductMinimalQuantity { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Price/Response/GetPriceDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Price/Response/GetPriceDto.cs deleted file mode 100644 index a042cd2..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Price/Response/GetPriceDto.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace PyroFetes.DTO.Price.Response; - -public class GetPriceDto -{ - public int Id { get; set; } - public decimal SellingPrice { get; set; } - - public int SupplierId { get; set; } - public string? SupplierName { get; set; } - public string? SupplierEmail { get; set; } - public string? SupplierPhone { get; set; } - public string? SupplierAddress { get; set; } - public int SupplierZipCode { get; set; } - public string? SupplierCity { get; set; } - public int SupplierDeliveryDelay { get; set; } - - public int ProductId { get; set; } - public string? ProductReferences { get; set; } - public string? ProductName { get; set; } - public decimal ProductDuration {get; set;} - public decimal ProductCaliber { get; set; } - public int ProductApprovalNumber { get; set; } - public decimal ProductWeight { get; set; } - public decimal ProductNec { get; set; } - public string? ProductImage { get; set; } - public string? ProductLink { get; set; } - public int ProductMinimalQuantity { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Product/Request/CreateProductDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Product/Request/CreateProductDto.cs deleted file mode 100644 index ddc689c..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Product/Request/CreateProductDto.cs +++ /dev/null @@ -1,15 +0,0 @@ -namespace PyroFetes.DTO.Product.Request; - -public class CreateProductDto -{ - public string? References { get; set; } - public string? Name { get; set; } - public decimal Duration {get; set;} - public int Caliber { get; set; } - public string? ApprovalNumber { get; set; } - public decimal Weight { get; set; } - public decimal Nec { get; set; } - public string? Image { get; set; } - public string? Link { get; set; } - public int MinimalQuantity { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Product/Request/PatchProductMinimalStockDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Product/Request/PatchProductMinimalStockDto.cs deleted file mode 100644 index 424f666..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Product/Request/PatchProductMinimalStockDto.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace PyroFetes.DTO.Product.Request; - -public class PatchProductMinimalStockDto -{ - public int Id { get; set; } - public int MinimalQuantity { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Product/Request/UpdateProductDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Product/Request/UpdateProductDto.cs deleted file mode 100644 index db70e9c..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Product/Request/UpdateProductDto.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace PyroFetes.DTO.Product.Request; - -public class UpdateProductDto -{ - public int Id { get; set; } - public string? References { get; set; } - public string? Name { get; set; } - public decimal Duration {get; set;} - public int Caliber { get; set; } - public string? ApprovalNumber { get; set; } - public decimal Weight { get; set; } - public decimal Nec { get; set; } - public string? Image { get; set; } - public string? Link { get; set; } - public int MinimalQuantity { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Product/Response/GetProductDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Product/Response/GetProductDto.cs deleted file mode 100644 index c1f85f0..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Product/Response/GetProductDto.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace PyroFetes.DTO.Product.Response; - -public class GetProductDto -{ - public int Id { get; set; } - public string? References { get; set; } - public string? Name { get; set; } - public decimal Duration {get; set;} - public int Caliber { get; set; } - public string? ApprovalNumber { get; set; } - public decimal Weight { get; set; } - public decimal Nec { get; set; } - public string? Image { get; set; } - public string? Link { get; set; } - public int MinimalQuantity { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/ProductDelivery/Request/CreateProductDeliveryDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/ProductDelivery/Request/CreateProductDeliveryDto.cs deleted file mode 100644 index d993ad3..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/ProductDelivery/Request/CreateProductDeliveryDto.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace PyroFetes.DTO.ProductDelivery.Request; - -public class CreateProductDeliveryDto -{ - public int ProductId { get; set; } - public int DeliveryNoteId { get; set; } - public int Quantity { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/ProductDelivery/Request/UpdateProductDeliveryDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/ProductDelivery/Request/UpdateProductDeliveryDto.cs deleted file mode 100644 index 7a6bb71..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/ProductDelivery/Request/UpdateProductDeliveryDto.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace PyroFetes.DTO.ProductDelivery.Request; - -public class UpdateProductDeliveryDto -{ - public int Quantity { get; set; } - public int ProductId { get; set; } - public int DeliveryNoteId { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/ProductDelivery/Response/GetProductDeliveryDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/ProductDelivery/Response/GetProductDeliveryDto.cs deleted file mode 100644 index ef82503..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/ProductDelivery/Response/GetProductDeliveryDto.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace PyroFetes.DTO.ProductDelivery.Response; - -public class GetProductDeliveryDto -{ - public int ProductId { get; set; } - public int ProductReference { get; set; } - public string? ProductName { get; set; } - public decimal ProductDuration {get; set;} - public decimal ProductCaliber { get; set; } - public int ProductApprovalNumber { get; set; } - public decimal ProductWeight { get; set; } - public decimal ProductNec { get; set; } - public string? ProductImage { get; set; } - public string? ProductLink { get; set; } - public int ProductMinimalQuantity { get; set; } - - public int DeliveryNoteId { get; set; } - public string? DeliveryNoteTrackingNumber { get; set; } - public DateOnly DeliveryNoteEstimateDeliveryDate { get; set; } - public DateOnly DeliveryNoteExpeditionDate { get; set; } - public DateOnly? DeliveryNoteRealDeliveryDate { get; set; } - - public int DeliveryNoteDeliverId { get; set; } - public string? DeliveryNoteDeliverTransporter { get; set; } - - - public int Quantity { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/PurchaseOrder/Request/PatchPurchaseOrderPurchaseConditionsDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/PurchaseOrder/Request/PatchPurchaseOrderPurchaseConditionsDto.cs deleted file mode 100644 index 77586b0..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/PurchaseOrder/Request/PatchPurchaseOrderPurchaseConditionsDto.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace PyroFetes.DTO.PurchaseOrder.Request; - -public class PatchPurchaseOrderPurchaseConditionsDto -{ - public int Id { get; set; } - public string? PurchaseConditions { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/PurchaseOrder/Response/GetPurchaseOrderDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/PurchaseOrder/Response/GetPurchaseOrderDto.cs deleted file mode 100644 index 9854d8b..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/PurchaseOrder/Response/GetPurchaseOrderDto.cs +++ /dev/null @@ -1,10 +0,0 @@ -using PyroFetes.DTO.PurchaseProduct.Response; - -namespace PyroFetes.DTO.PurchaseOrder.Response; - -public class GetPurchaseOrderDto -{ - public int Id { get; set; } - public string? PurchaseConditions { get; set; } - public List? GetPurchaseProductDto { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/PurchaseProduct/Request/CreatePurchaseProductDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/PurchaseProduct/Request/CreatePurchaseProductDto.cs deleted file mode 100644 index 1249b41..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/PurchaseProduct/Request/CreatePurchaseProductDto.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace PyroFetes.DTO.PurchaseProduct.Request; - -public class CreatePurchaseProductDto -{ - public int Quantity { get; set; } - public int ProductId { get; set; } - public int PurchaseOrderId { get; set; } - public string? PurchaseOrderPurchaseConditions { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/PurchaseProduct/Request/PatchPurchaseProductQuantityDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/PurchaseProduct/Request/PatchPurchaseProductQuantityDto.cs deleted file mode 100644 index 8bd9499..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/PurchaseProduct/Request/PatchPurchaseProductQuantityDto.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace PyroFetes.DTO.PurchaseProduct.Request; - -public class PatchPurchaseProductQuantityDto -{ - public int ProductId { get; set; } - public int PurchaseOrderId { get; set; } - public int Quantity { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/PurchaseProduct/Request/UpdatePurchaseProductDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/PurchaseProduct/Request/UpdatePurchaseProductDto.cs deleted file mode 100644 index ea6b7ae..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/PurchaseProduct/Request/UpdatePurchaseProductDto.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace PyroFetes.DTO.PurchaseProduct.Request; - -public class UpdatePurchaseProductDto -{ - public int ProductId { get; set; } - public int PurchaseOrderId { get; set; } - - public int Quantity { get; set; } - - public int ProductReferences { get; set; } - public string? ProductName { get; set; } - public decimal ProductDuration {get; set;} - public decimal ProductCaliber { get; set; } - public int ProductApprovalNumber { get; set; } - public decimal ProductWeight { get; set; } - public decimal ProductNec { get; set; } - public string? ProductImage { get; set; } - public string? ProductLink { get; set; } - public int ProductMinimalQuantity { get; set; } - - public string? PurchaseOrderPurchaseConditions { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/PurchaseProduct/Response/GetPurchaseProductDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/PurchaseProduct/Response/GetPurchaseProductDto.cs deleted file mode 100644 index d086ed3..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/PurchaseProduct/Response/GetPurchaseProductDto.cs +++ /dev/null @@ -1,21 +0,0 @@ -namespace PyroFetes.DTO.PurchaseProduct.Response; - -public class GetPurchaseProductDto -{ - public int ProductId { get; set; } - public string? ProductReferences { get; set; } - public string? ProductName { get; set; } - public decimal ProductDuration {get; set;} - public decimal ProductCaliber { get; set; } - public int ProductApprovalNumber { get; set; } - public decimal ProductWeight { get; set; } - public decimal ProductNec { get; set; } - public string? ProductImage { get; set; } - public string? ProductLink { get; set; } - public int ProductMinimalQuantity { get; set; } - - public int PurchaseOrderId { get; set; } - public string? PurchaseOrderPurchaseConditions { get; set; } - - public int Quantity { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Quotation/Request/PatchQuotationConditionsSaleDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Quotation/Request/PatchQuotationConditionsSaleDto.cs deleted file mode 100644 index bd3137c..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Quotation/Request/PatchQuotationConditionsSaleDto.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace PyroFetes.DTO.Quotation.Request; - -public class PatchQuotationConditionsSaleDto -{ - public int Id { get; set; } - public string? ConditionsSale { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Quotation/Request/PatchQuotationMessageDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Quotation/Request/PatchQuotationMessageDto.cs deleted file mode 100644 index 7604466..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Quotation/Request/PatchQuotationMessageDto.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace PyroFetes.DTO.Quotation.Request; - -public class PatchQuotationMessageDto -{ - public int Id { get; set; } - public string? Message { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Quotation/Response/GetQuotationDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Quotation/Response/GetQuotationDto.cs deleted file mode 100644 index 589197c..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Quotation/Response/GetQuotationDto.cs +++ /dev/null @@ -1,11 +0,0 @@ -using PyroFetes.DTO.QuotationProduct.Response; - -namespace PyroFetes.DTO.Quotation.Response; - -public class GetQuotationDto -{ - public int Id { get; set; } - public string? Message { get; set; } - public string? ConditionsSale { get; set; } - public List? GetQuotationProductDto { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/QuotationProduct/Request/CreateQuotationProductDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/QuotationProduct/Request/CreateQuotationProductDto.cs deleted file mode 100644 index 86610d4..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/QuotationProduct/Request/CreateQuotationProductDto.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace PyroFetes.DTO.QuotationProduct.Request; - -public class CreateQuotationProductDto -{ - public int Quantity { get; set; } - - public int QuotationId { get; set; } - public string? QuotationMessage { get; set; } - public string? QuotationConditionsSale { get; set; } - - public int ProductId { get; set; } - public int ProductReferences { get; set; } - public string? ProductName { get; set; } - public decimal ProductDuration {get; set;} - public decimal ProductCaliber { get; set; } - public int ProductApprovalNumber { get; set; } - public decimal ProductWeight { get; set; } - public decimal ProductNec { get; set; } - public string? ProductImage { get; set; } - public string? ProductLink { get; set; } - public int ProductMinimalQuantity { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/QuotationProduct/Request/PatchQuotationProductQuantityDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/QuotationProduct/Request/PatchQuotationProductQuantityDto.cs deleted file mode 100644 index 3530d61..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/QuotationProduct/Request/PatchQuotationProductQuantityDto.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace PyroFetes.DTO.QuotationProduct.Request; - -public class PatchQuotationProductQuantityDto -{ - public int ProductId { get; set; } - public int QuotationId { get; set; } - public int Quantity { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/QuotationProduct/Request/UpdateQuotationProductDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/QuotationProduct/Request/UpdateQuotationProductDto.cs deleted file mode 100644 index 0247b6f..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/QuotationProduct/Request/UpdateQuotationProductDto.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace PyroFetes.DTO.QuotationProduct.Request; - -public class UpdateQuotationProductDto -{ - public int Id { get; set; } - public int Quantity { get; set; } - - public int QuotationId { get; set; } - public string? QuotationMessage { get; set; } - public string? QuotationConditionsSale { get; set; } - - public int ProductId { get; set; } - public int ProductReferences { get; set; } - public string? ProductName { get; set; } - public decimal ProductDuration {get; set;} - public decimal ProductCaliber { get; set; } - public int ProductApprovalNumber { get; set; } - public decimal ProductWeight { get; set; } - public decimal ProductNec { get; set; } - public string? ProductImage { get; set; } - public string? ProductLink { get; set; } - public int ProductMinimalQuantity { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/QuotationProduct/Response/GetQuotationProductDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/QuotationProduct/Response/GetQuotationProductDto.cs deleted file mode 100644 index 4ef123b..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/QuotationProduct/Response/GetQuotationProductDto.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace PyroFetes.DTO.QuotationProduct.Response; - -public class GetQuotationProductDto -{ - public int Quantity { get; set; } - - public int QuotationId { get; set; } - public string? QuotationMessage { get; set; } - public string? QuotationConditionsSale { get; set; } - - public int ProductId { get; set; } - public string? ProductReferences { get; set; } - public string? ProductName { get; set; } - public decimal ProductDuration {get; set;} - public decimal ProductCaliber { get; set; } - public int ProductApprovalNumber { get; set; } - public decimal ProductWeight { get; set; } - public decimal ProductNec { get; set; } - public string? ProductImage { get; set; } - public string? ProductLink { get; set; } - public int ProductMinimalQuantity { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/SettingDTO/Request/CreateSettingDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/SettingDTO/Request/CreateSettingDto.cs deleted file mode 100644 index 56146d3..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/SettingDTO/Request/CreateSettingDto.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace PyroFetes.DTO.SettingDTO.Request; - -public class CreateSettingDto -{ - public string? ElectronicSignature { get; set; } - public string? Logo { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/SettingDTO/Request/PatchSettingElectronicSignatureDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/SettingDTO/Request/PatchSettingElectronicSignatureDto.cs deleted file mode 100644 index 44e567e..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/SettingDTO/Request/PatchSettingElectronicSignatureDto.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace PyroFetes.DTO.SettingDTO.Request; - -public class PatchSettingElectronicSignatureDto -{ - public int Id { get; set; } - public string? ElectronicSignature { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/SettingDTO/Request/PatchSettingLogoDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/SettingDTO/Request/PatchSettingLogoDto.cs deleted file mode 100644 index 58a952e..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/SettingDTO/Request/PatchSettingLogoDto.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace PyroFetes.DTO.SettingDTO.Request; - -public class PatchSettingLogoDto -{ - public int Id { get; set; } - public string? Logo { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/SettingDTO/Response/GetSettingDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/SettingDTO/Response/GetSettingDto.cs deleted file mode 100644 index 7eb8232..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/SettingDTO/Response/GetSettingDto.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace PyroFetes.DTO.SettingDTO.Response; - -public class GetSettingDto -{ - public int Id { get; set; } - public string? ElectronicSignature { get; set; } - public string? Logo { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Supplier/Request/CreateSupplierDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Supplier/Request/CreateSupplierDto.cs deleted file mode 100644 index 649ef2b..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Supplier/Request/CreateSupplierDto.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace PyroFetes.DTO.Supplier.Request; - -public class CreateSupplierDto -{ - public string? Name { get; set; } - public string? Email { get; set; } - public string? Phone { get; set; } - public string? Address { get; set; } - public string? ZipCode { get; set; } - public string? City { get; set; } - public int DeliveryDelay { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Supplier/Request/PatchSupplierDeliveryDelayDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Supplier/Request/PatchSupplierDeliveryDelayDto.cs deleted file mode 100644 index a5e8fbc..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Supplier/Request/PatchSupplierDeliveryDelayDto.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace PyroFetes.DTO.Supplier.Request; - -public class PatchSupplierDeliveryDelayDto -{ - public int Id { get; set; } - public int DeliveryDelay { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Supplier/Request/UpdateSupplierDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Supplier/Request/UpdateSupplierDto.cs deleted file mode 100644 index 0deefef..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Supplier/Request/UpdateSupplierDto.cs +++ /dev/null @@ -1,13 +0,0 @@ -namespace PyroFetes.DTO.Supplier.Request; - -public class UpdateSupplierDto -{ - public int Id { get; set; } - public string? Name { get; set; } - public string? Email { get; set; } - public string? Phone { get; set; } - public string? Address { get; set; } - public string? ZipCode { get; set; } - public string? City { get; set; } - public int DeliveryDelay { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Supplier/Response/GetSupplierDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Supplier/Response/GetSupplierDto.cs deleted file mode 100644 index 1fc9a60..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/Supplier/Response/GetSupplierDto.cs +++ /dev/null @@ -1,13 +0,0 @@ -namespace PyroFetes.DTO.Supplier.Response; - -public class GetSupplierDto -{ - public int Id { get; set; } - public string? Name { get; set; } - public string? Email { get; set; } - public string? Phone { get; set; } - public string? Address { get; set; } - public string? ZipCode { get; set; } - public string? City { get; set; } - public int DeliveryDelay { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/User/Request/ConnectUserDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/User/Request/ConnectUserDto.cs deleted file mode 100644 index 1d0894d..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/User/Request/ConnectUserDto.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace PyroFetes.DTO.User.Request; - -public class ConnectUserDto -{ - public string? Name { get; set; } - public string? Password { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/User/Request/CreateUserDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/User/Request/CreateUserDto.cs deleted file mode 100644 index e83b82f..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/User/Request/CreateUserDto.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace PyroFetes.DTO.User.Request; - -public class CreateUserDto -{ - public string? Name { get; set; } - public string? Password { get; set; } - public string? Fonction { get; set; } - public string? Email { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/User/Request/PatchUserPasswordDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/User/Request/PatchUserPasswordDto.cs deleted file mode 100644 index bfa2051..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/User/Request/PatchUserPasswordDto.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace PyroFetes.DTO.User.Request; - -public class PatchUserPasswordDto -{ - public int Id { get; set; } - public string? Password { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/User/Request/UpdateUserDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/User/Request/UpdateUserDto.cs deleted file mode 100644 index b73643d..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/User/Request/UpdateUserDto.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace PyroFetes.DTO.User.Request; - -public class UpdateUserDto -{ - public int Id { get; set; } - public string? Name { get; set; } - public string? Password { get; set; } - public string? Fonction { get; set; } - public string? Email { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/User/Response/GetTokenDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/User/Response/GetTokenDto.cs deleted file mode 100644 index 1c46ac0..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/User/Response/GetTokenDto.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace PyroFetes.DTO.User.Response; - -public class GetTokenDto -{ - public string? Token { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/User/Response/GetUserDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/User/Response/GetUserDto.cs deleted file mode 100644 index 1bbf572..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/User/Response/GetUserDto.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace PyroFetes.DTO.User.Response; - -public class GetUserDto -{ - public int Id { get; set; } - public string? Name { get; set; } - public string? Password { get; set; } - public string? Salt { get; set; } - public string? Fonction { get; set; } - public string? Email { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/WareHouseProduct/Request/PatchWareHouseProductQuantityDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/WareHouseProduct/Request/PatchWareHouseProductQuantityDto.cs deleted file mode 100644 index b7a36e4..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/WareHouseProduct/Request/PatchWareHouseProductQuantityDto.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace PyroFetes.DTO.WareHouseProduct.Request; - -public class PatchWareHouseProductQuantityDto -{ - public int WareHouseId { get; set; } - public int ProductId { get; set; } - public int Quantity { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/WareHouseProduct/Response/GetTotalQuantityDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/WareHouseProduct/Response/GetTotalQuantityDto.cs deleted file mode 100644 index 01701c9..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/WareHouseProduct/Response/GetTotalQuantityDto.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace PyroFetes.DTO.WareHouseProduct.Response; - -public class GetTotalQuantityDto -{ - public int ProductId { get; set; } - public int TotalQuantity { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/WareHouseProduct/Response/GetWareHouseProductDto.cs b/pyrofetes/pyrofetes-backend/PyroFetes/DTO/WareHouseProduct/Response/GetWareHouseProductDto.cs deleted file mode 100644 index 947b6c0..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/DTO/WareHouseProduct/Response/GetWareHouseProductDto.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace PyroFetes.DTO.WareHouseProduct.Response; - -public class GetWareHouseProductDto -{ - public int Quantity { get; set; } - public int WareHouseId { get; set; } - public int ProductId { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Deliverers/CreateDelivererEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Deliverers/CreateDelivererEndpoint.cs deleted file mode 100644 index 4eabfa5..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Deliverers/CreateDelivererEndpoint.cs +++ /dev/null @@ -1,30 +0,0 @@ -using FastEndpoints; -using PyroFetes.DTO.Deliverer.Request; -using PyroFetes.DTO.Deliverer.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; - -namespace PyroFetes.Endpoints.Deliverers; - -public class CreateDelivererEndpoint( - DeliverersRepository deliverersRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Post("/deliverers"); - AllowAnonymous(); - } - - public override async Task HandleAsync(CreateDelivererDto req, CancellationToken ct) - { - Deliverer newDeliverer = new Deliverer() - { - Transporter = req.Transporter, - }; - - await deliverersRepository.AddAsync(newDeliverer, ct); - - await Send.OkAsync(mapper.Map(newDeliverer), ct); - } -} diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Deliverers/DeleteDelivererEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Deliverers/DeleteDelivererEndpoint.cs deleted file mode 100644 index a2981fe..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Deliverers/DeleteDelivererEndpoint.cs +++ /dev/null @@ -1,36 +0,0 @@ -using FastEndpoints; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Deliverers; - -namespace PyroFetes.Endpoints.Deliverers; - -public class DeleteDelivererRequest -{ - public int DelivererId { get; set; } -} -public class DeleteDelivererEndpoint(DeliverersRepository deliverersRepository) : Endpoint -{ - public override void Configure() - { - Delete("/deliverers/{@id}", x=>new {x.DelivererId}); - AllowAnonymous(); - - } - - public override async Task HandleAsync(DeleteDelivererRequest req, CancellationToken ct) - { - Deliverer? deliverer = await deliverersRepository.FirstOrDefaultAsync(new GetDelivererByIdSpec(req.DelivererId), ct); - - if (deliverer == null) - { - await Send.NotFoundAsync(ct); - return; - } - - await deliverersRepository.DeleteAsync(deliverer, ct); - - await Send.OkAsync(ct); - } - -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Deliverers/GetAllDelivererEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Deliverers/GetAllDelivererEndpoint.cs deleted file mode 100644 index 5710628..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Deliverers/GetAllDelivererEndpoint.cs +++ /dev/null @@ -1,23 +0,0 @@ -using AutoMapper.QueryableExtensions; -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.Deliverer.Response; -using PyroFetes.Repositories; - -namespace PyroFetes.Endpoints.Deliverers; - -public class GetAllDelivererEndpoint(DeliverersRepository deliverersRepository) : EndpointWithoutRequest> -{ - public override void Configure() - { - Get("/deliverers"); - AllowAnonymous(); - - } - - public override async Task HandleAsync(CancellationToken ct) - { - await Send.OkAsync(await deliverersRepository.ProjectToListAsync(ct), ct); - } - -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Deliverers/GetDelivererEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Deliverers/GetDelivererEndpoint.cs deleted file mode 100644 index 22a027f..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Deliverers/GetDelivererEndpoint.cs +++ /dev/null @@ -1,39 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.Deliverer.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Deliverers; - -namespace PyroFetes.Endpoints.Deliverers; - -public class GetDelivererRequest -{ - public int DelivererId { get; set; } -} - -public class GetDelivererEndpoint( - DeliverersRepository deliverersRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Get("/deliverers/{@id}", x=>new {x.DelivererId}); - AllowAnonymous(); - - } - - public override async Task HandleAsync(GetDelivererRequest req, CancellationToken ct) - { - Deliverer? deliverer = await deliverersRepository.FirstOrDefaultAsync(new GetDelivererByIdSpec(req.DelivererId), ct); - - if (deliverer == null) - { - await Send.NotFoundAsync(ct); - return; - } - - await Send.OkAsync(mapper.Map(deliverer), ct); - } - -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Deliverers/UpdateDelivererEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Deliverers/UpdateDelivererEndpoint.cs deleted file mode 100644 index ebf153e..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Deliverers/UpdateDelivererEndpoint.cs +++ /dev/null @@ -1,39 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.Deliverer.Request; -using PyroFetes.DTO.Deliverer.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Deliverers; - -namespace PyroFetes.Endpoints.Deliverers; - -public class UpdateDelivererEndpoint( - DeliverersRepository deliverersRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Put("/deliverers/{@id}", x=>new {x.Id}); - AllowAnonymous(); - - } - - public override async Task HandleAsync(UpdateDelivererDto req, CancellationToken ct) - { - Deliverer? deliverer = await deliverersRepository.FirstOrDefaultAsync(new GetDelivererByIdSpec(req.Id), ct); - - if (deliverer == null) - { - await Send.NotFoundAsync(ct); - return; - } - - deliverer.Transporter = req.Transporter; - - await deliverersRepository.UpdateAsync(deliverer,ct); - - await Send.OkAsync(mapper.Map(deliverer), ct); - } - -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/DeliveryNotes/CreateDeliveryNoteEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/DeliveryNotes/CreateDeliveryNoteEndpoint.cs deleted file mode 100644 index 63d3103..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/DeliveryNotes/CreateDeliveryNoteEndpoint.cs +++ /dev/null @@ -1,68 +0,0 @@ -using FastEndpoints; -using PyroFetes.DTO.DeliveryNote.Request; -using PyroFetes.DTO.DeliveryNote.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Deliverers; -using PyroFetes.Specifications.Products; - -namespace PyroFetes.Endpoints.DeliveryNotes; - -public class CreateDeliveryNoteEndpoint( - DeliveryNotesRepository deliveryNotesRepository, - DeliverersRepository deliverersRepository, - ProductsRepository productsRepository, - ProductDeliveriesRepository productDeliveriesRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Post("/deliveryNotes"); - AllowAnonymous(); - } - - public override async Task HandleAsync(CreateDeliveryNoteDto req, CancellationToken ct) - { - Deliverer? deliverer = await deliverersRepository.FirstOrDefaultAsync(new GetDelivererByIdSpec(req.DelivererId), ct); - - if (deliverer == null) - { - await Send.StringAsync("No deliverer found", 404, cancellation: ct); - return; - } - - //Creating the Delivery Note - DeliveryNote newDeliveryNote = new DeliveryNote() - { - TrackingNumber = req.TrackingNumber, - EstimateDeliveryDate = req.EstimateDeliveryDate, - ExpeditionDate = req.ExpeditionDate, - DelivererId = req.DelivererId, - Deliverer = deliverer, - - }; - - await deliveryNotesRepository.AddAsync(newDeliveryNote, ct); - - foreach (var productQuantity in req.ProductQuantities!) - { - Product? product = - await productsRepository.FirstOrDefaultAsync(new GetProductByIdSpec(productQuantity.Key), ct); - if (product != null) - { - ProductDelivery productDelivery = new ProductDelivery() - { - DeliveryNote = newDeliveryNote, - Quantity = productQuantity.Value, - Product = product, - DeliveryNoteId = newDeliveryNote.Id - }; - - await productDeliveriesRepository.AddAsync(productDelivery, ct); - } - - } - - await Send.OkAsync(mapper.Map(newDeliveryNote), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/DeliveryNotes/GetAllDeliveryNoteEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/DeliveryNotes/GetAllDeliveryNoteEndpoint.cs deleted file mode 100644 index 7e126b8..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/DeliveryNotes/GetAllDeliveryNoteEndpoint.cs +++ /dev/null @@ -1,20 +0,0 @@ -using FastEndpoints; -using PyroFetes.DTO.DeliveryNote.Response; -using PyroFetes.Repositories; - -namespace PyroFetes.Endpoints.DeliveryNotes; - -public class GetAllDeliveryNoteEndpoint(DeliveryNotesRepository deliveryNotesRepository) : EndpointWithoutRequest> -{ - public override void Configure() - { - Get("/deliveryNotes"); - AllowAnonymous(); - } - - public override async Task HandleAsync(CancellationToken ct) - { - await Send.OkAsync(await deliveryNotesRepository.ProjectToListAsync(ct), ct); - } - -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/DeliveryNotes/GetDeliveryNoteEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/DeliveryNotes/GetDeliveryNoteEndpoint.cs deleted file mode 100644 index 90f3387..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/DeliveryNotes/GetDeliveryNoteEndpoint.cs +++ /dev/null @@ -1,35 +0,0 @@ -using FastEndpoints; -using PyroFetes.DTO.DeliveryNote.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.DeliveryNotes; - -namespace PyroFetes.Endpoints.DeliveryNotes; - -public class GetDeliveryNoteRequest -{ - public int DeliveryNoteId { get; set; } -} -public class GetDeliveryNoteEndpoint( - DeliveryNotesRepository deliveryNotesRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Get("/deliveryNotes/{@id}", x=> new {x.DeliveryNoteId}); - AllowAnonymous(); - } - - public override async Task HandleAsync(GetDeliveryNoteRequest req, CancellationToken ct) - { - DeliveryNote? deliveryNote = await deliveryNotesRepository.FirstOrDefaultAsync(new GetDeliveryNoteByIdSpec(req.DeliveryNoteId), ct); - - if (deliveryNote == null) - { - await Send.NotFoundAsync(ct); - return; - } - - await Send.OkAsync(mapper.Map(deliveryNote), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/DeliveryNotes/PatchRealDeliveryDateEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/DeliveryNotes/PatchRealDeliveryDateEndpoint.cs deleted file mode 100644 index bad22b7..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/DeliveryNotes/PatchRealDeliveryDateEndpoint.cs +++ /dev/null @@ -1,39 +0,0 @@ -using FastEndpoints; -using PyroFetes.DTO.DeliveryNote.Request; -using PyroFetes.DTO.DeliveryNote.Response; -using PyroFetes.DTO.PurchaseProduct.Request; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Deliverers; -using PyroFetes.Specifications.DeliveryNotes; - -namespace PyroFetes.Endpoints.DeliveryNotes; - -public class PatchRealDeliveryDateEndpoint( - DeliveryNotesRepository deliveryNotesRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Patch("/deliveryNotes/{@id}", x=> new {x.Id}); - AllowAnonymous(); - } - - public override async Task HandleAsync(PatchDeliveryNoteRealDeliveryDateDto req, CancellationToken ct) - { - DeliveryNote? deliveryNoteToPath = - await deliveryNotesRepository.FirstOrDefaultAsync(new GetDeliveryNoteByIdSpec(req.Id),ct); - - if (deliveryNoteToPath == null) - { - await Send.NotFoundAsync(ct); - return; - } - - deliveryNoteToPath.RealDeliveryDate = req.RealDeliveryDate; - - await deliveryNotesRepository.UpdateAsync(deliveryNoteToPath, ct); - - await Send.OkAsync(mapper.Map(deliveryNoteToPath), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Prices/CreatePriceEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Prices/CreatePriceEndpoint.cs deleted file mode 100644 index 5445c0d..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Prices/CreatePriceEndpoint.cs +++ /dev/null @@ -1,84 +0,0 @@ -using FastEndpoints; -using PyroFetes.DTO.Price.Request; -using PyroFetes.DTO.Price.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Prices; -using PyroFetes.Specifications.Products; -using PyroFetes.Specifications.Suppliers; - -namespace PyroFetes.Endpoints.Prices; - -public class CreatePriceEndpoint( - SuppliersRepository suppliersRepository, - ProductsRepository productsRepository, - PricesRepository pricesRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Post("/prices"); - AllowAnonymous(); - } - - public override async Task HandleAsync(CreatePriceDto req, CancellationToken ct) - { - // Gestion du fournisseur - Supplier? supplier = await suppliersRepository.FirstOrDefaultAsync(new GetSupplierByIdSpec(req.SupplierId), ct); - if (supplier == null) - { - supplier = new Supplier() - { - Name = req.SupplierName, - Email = req.SupplierEmail, - Phone = req.SupplierPhone, - Address = req.SupplierAddress, - City = req.SupplierCity, - ZipCode = req.SupplierZipCode, - DeliveryDelay = req.SupplierDeliveryDelay - }; - await suppliersRepository.AddAsync(supplier, ct); - } - - // Gestion du produit - Product? product = await productsRepository.FirstOrDefaultAsync(new GetProductByIdSpec(req.ProductId), ct); - if (product == null) - { - product = new Product() - { - Reference = req.ProductReferences, - Name = req.ProductName, - Duration = req.ProductDuration, - Caliber = req.ProductCaliber, - ApprovalNumber = req.ProductApprovalNumber, - Weight = req.ProductWeight, - Nec = req.ProductNec, - Image = req.ProductImage, - Link = req.ProductLink, - MinimalQuantity = req.ProductMinimalQuantity - }; - await productsRepository.AddAsync(product, ct); - } - - // Vérifie si le prix existe déjà pour ce fournisseur et produit - Price? existingPrice = await pricesRepository.FirstOrDefaultAsync(new GetPriceByProductIdAndSupplierIdSpec(req.ProductId, req.SupplierId), ct); - - if (existingPrice != null) - { - await Send.StringAsync("Le fournisseur a déjà un prix pour ce produit.", 400, cancellation: ct); - return; - } - - // Création du prix - var priceAdded = new Price() - { - SellingPrice = req.SellingPrice, - SupplierId = supplier.Id, - ProductId = product.Id - }; - await pricesRepository.AddAsync(priceAdded, ct); - - - await Send.OkAsync(mapper.Map(priceAdded), ct); - } -} diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Prices/DeletePriceEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Prices/DeletePriceEndpoint.cs deleted file mode 100644 index 6ff6577..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Prices/DeletePriceEndpoint.cs +++ /dev/null @@ -1,37 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Prices; - -namespace PyroFetes.Endpoints.Prices; - -public class DeletePriceRequest -{ - public int ProductId { get; set; } - public int SupplierId { get; set; } -} - -public class DeletePriceEndpoint(PricesRepository pricesRepository) : Endpoint -{ - public override void Configure() - { - Delete("/prices/{@ProductId}/{@SupplierId}", x => new {x.ProductId, x.SupplierId}); - AllowAnonymous(); - } - - public override async Task HandleAsync(DeletePriceRequest req, CancellationToken ct) - { - Price? price = await pricesRepository.FirstOrDefaultAsync(new GetPriceByProductIdAndSupplierIdSpec(req.ProductId,req.SupplierId), ct); - - if (price == null) - { - await Send.NotFoundAsync(ct); - return; - } - - await pricesRepository.DeleteAsync(price, ct); - - await Send.NoContentAsync(ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Prices/PatchPriceEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Prices/PatchPriceEndpoint.cs deleted file mode 100644 index 23cb247..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Prices/PatchPriceEndpoint.cs +++ /dev/null @@ -1,36 +0,0 @@ -using FastEndpoints; -using PyroFetes.DTO.Price.Request; -using PyroFetes.DTO.Price.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Prices; - -namespace PyroFetes.Endpoints.Prices; - -public class PatchPriceEndpoint( - PricesRepository pricesRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Patch("/prices/{@ProductId}/{@SupplierId}/SellingPrice", x => new { x.ProductId, x.SupplierId }); - AllowAnonymous(); - } - - public override async Task HandleAsync(PatchPriceSellingPriceDto req, CancellationToken ct) - { - Price? price = await pricesRepository.FirstOrDefaultAsync(new GetPriceByProductIdAndSupplierIdSpec(req.ProductId, req.SupplierId),ct); - - if (price == null) - { - await Send.NotFoundAsync(ct); - return; - } - - price.SellingPrice = req.SellingPrice; - - await pricesRepository.UpdateAsync(price, ct); - - await Send.OkAsync(mapper.Map(price), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Products/GetAllProductsEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Products/GetAllProductsEndpoint.cs deleted file mode 100644 index 6b4f2e0..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Products/GetAllProductsEndpoint.cs +++ /dev/null @@ -1,21 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.Product.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; - -namespace PyroFetes.Endpoints.Products; - -public class GetAllProductsEndpoint(ProductsRepository productsRepository) : EndpointWithoutRequest> -{ - public override void Configure() - { - Get("/products"); - AllowAnonymous(); - } - - public override async Task HandleAsync(CancellationToken ct) - { - await Send.OkAsync(await productsRepository.ProjectToListAsync(ct), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Products/GetProductEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Products/GetProductEndpoint.cs deleted file mode 100644 index 705f5d2..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Products/GetProductEndpoint.cs +++ /dev/null @@ -1,37 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.Product.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Products; - -namespace PyroFetes.Endpoints.Products; - -public class GetProductRequest -{ - public int Id { get; set; } -} - -public class GetProductEndpoint( - ProductsRepository productsRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Get("/products/{@Id}", x => new {x.Id}); - AllowAnonymous(); - } - - public override async Task HandleAsync(GetProductRequest req, CancellationToken ct) - { - Product? product = await productsRepository.FirstOrDefaultAsync(new GetProductByIdSpec(req.Id), ct); - - if (product == null) - { - await Send.NotFoundAsync(ct); - return; - } - - await Send.OkAsync(mapper.Map(product), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Products/PatchProductMinimalStockEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Products/PatchProductMinimalStockEndpoint.cs deleted file mode 100644 index 6d2cf8b..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Products/PatchProductMinimalStockEndpoint.cs +++ /dev/null @@ -1,36 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.Product.Request; -using PyroFetes.DTO.Product.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Products; - -namespace PyroFetes.Endpoints.Products; - -public class PatchProductMinimalStockEndpoint( - ProductsRepository productsRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Patch("/products/{@Id}/MinimalStock", x => new { x.Id }); - AllowAnonymous(); - } - - public override async Task HandleAsync(PatchProductMinimalStockDto req, CancellationToken ct) - { - Product? product = await productsRepository.FirstOrDefaultAsync(new GetProductByIdSpec(req.Id), ct); - - if (product == null) - { - await Send.NotFoundAsync(ct); - return; - } - - product.MinimalQuantity = req.MinimalQuantity; - await productsRepository.UpdateAsync(product, ct); - - await Send.OkAsync(mapper.Map(product), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Products/UpdateProductEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Products/UpdateProductEndpoint.cs deleted file mode 100644 index 0b37aa9..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Products/UpdateProductEndpoint.cs +++ /dev/null @@ -1,46 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.Product.Request; -using PyroFetes.DTO.Product.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Products; - -namespace PyroFetes.Endpoints.Products; - -public class UpdateProductEndpoint( - ProductsRepository productsRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Put("/products/{@Id}", x => new {x.Id}); - AllowAnonymous(); - } - - public override async Task HandleAsync(UpdateProductDto req, CancellationToken ct) - { - Product? product = await productsRepository.FirstOrDefaultAsync(new GetProductByIdSpec(req.Id), ct); - - if (product == null) - { - await Send.NotFoundAsync(ct); - return; - } - - product.Reference = req.References; - product.Name = req.Name; - product.Duration = req.Duration; - product.Caliber = req.Caliber; - product.ApprovalNumber = req.ApprovalNumber; - product.Weight = req.Weight; - product.Nec = req.Nec; - product.Image = req.Image; - product.Link = req.Link; - product.MinimalQuantity = req.MinimalQuantity; - - await productsRepository.UpdateAsync(product, ct); - - await Send.OkAsync(mapper.Map(product), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseOrders/DeletePurchaseOrderEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseOrders/DeletePurchaseOrderEndpoint.cs deleted file mode 100644 index 580efb6..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseOrders/DeletePurchaseOrderEndpoint.cs +++ /dev/null @@ -1,43 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.PurchaseOrders; - -namespace PyroFetes.Endpoints.PurchaseOrders; - -public class DeletePurchaseOrderRequest -{ - public int Id { get; set; } -} - -public class DeletePurchaseOrderEndpoint( - PurchaseOrdersRepository purchaseOrdersRepository, - PurchaseProductsRepository purchaseProductsRepository) : Endpoint -{ - public override void Configure() - { - Delete("/purchaseOrders/{@Id}", x => new {x.Id}); - AllowAnonymous(); - } - - public override async Task HandleAsync(DeletePurchaseOrderRequest req, CancellationToken ct) - { - PurchaseOrder? purchaseOrder = await purchaseOrdersRepository.FirstOrDefaultAsync(new GetPurchaseOrderByIdSpec(req.Id), ct); - - if (purchaseOrder == null) - { - await Send.NotFoundAsync(ct); - return; - } - - if (purchaseOrder.PurchaseProducts != null && purchaseOrder.PurchaseProducts.Any()) - { - await purchaseProductsRepository.DeleteRangeAsync(purchaseOrder.PurchaseProducts, ct); - } - - await purchaseOrdersRepository.DeleteAsync(purchaseOrder, ct); - - await Send.NoContentAsync(ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseOrders/GetAllPurchaseOrderEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseOrders/GetAllPurchaseOrderEndpoint.cs deleted file mode 100644 index 4bfd012..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseOrders/GetAllPurchaseOrderEndpoint.cs +++ /dev/null @@ -1,21 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.PurchaseOrder.Response; -using PyroFetes.DTO.PurchaseProduct.Response; -using PyroFetes.Repositories; - -namespace PyroFetes.Endpoints.PurchaseOrders; - -public class GetAllPurchaseOrderEndpoint(PurchaseOrdersRepository purchaseOrdersRepository) : EndpointWithoutRequest> -{ - public override void Configure() - { - Get("/purchaseOrders"); - AllowAnonymous(); - } - - public override async Task HandleAsync(CancellationToken ct) - { - await Send.OkAsync(await purchaseOrdersRepository.ProjectToListAsync(ct), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseOrders/GetPurchaseOrderEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseOrders/GetPurchaseOrderEndpoint.cs deleted file mode 100644 index 2b66aee..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseOrders/GetPurchaseOrderEndpoint.cs +++ /dev/null @@ -1,38 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.PurchaseOrder.Response; -using PyroFetes.DTO.PurchaseProduct.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.PurchaseOrders; - -namespace PyroFetes.Endpoints.PurchaseOrders; - -public class GetPurchaseOrderRequest -{ - public int Id { get; set; } -} - -public class GetPurchaseOrderEndpoint( - PurchaseOrdersRepository purchaseOrdersRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Get("/purchaseOrders/{@Id}", x => new {x.Id}); - AllowAnonymous(); - } - - public override async Task HandleAsync(GetPurchaseOrderRequest req, CancellationToken ct) - { - PurchaseOrder? purchaseOrder = await purchaseOrdersRepository.FirstOrDefaultAsync(new GetPurchaseOrderByIdSpec(req.Id), ct); - - if (purchaseOrder == null) - { - await Send.NotFoundAsync(ct); - return; - } - - await Send.OkAsync(mapper.Map(purchaseOrder), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseOrders/PatchPurchaseOrderPurchaseConditionsEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseOrders/PatchPurchaseOrderPurchaseConditionsEndpoint.cs deleted file mode 100644 index 7b5c1f5..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseOrders/PatchPurchaseOrderPurchaseConditionsEndpoint.cs +++ /dev/null @@ -1,36 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.PurchaseOrder.Request; -using PyroFetes.DTO.PurchaseOrder.Response; -using PyroFetes.DTO.PurchaseProduct.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.PurchaseOrders; - -namespace PyroFetes.Endpoints.PurchaseOrders; - -public class PatchPurchaseOrderPurchaseConditionsEndpoint( - PurchaseOrdersRepository purchaseOrdersRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Patch("/purchaseOrders/{@Id}/PurchaseConditions", x => new { x.Id }); - AllowAnonymous(); - } - - public override async Task HandleAsync(PatchPurchaseOrderPurchaseConditionsDto req, CancellationToken ct) - { - PurchaseOrder? purchaseOrder = await purchaseOrdersRepository.FirstOrDefaultAsync(new GetPurchaseOrderByIdSpec(req.Id), ct); - if (purchaseOrder == null) - { - await Send.NotFoundAsync(ct); - return; - } - - purchaseOrder.PurchaseConditions = req.PurchaseConditions; - await purchaseOrdersRepository.UpdateAsync(purchaseOrder, ct); - - await Send.OkAsync(mapper.Map(purchaseOrder), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseProducts/CreatePurchaseProductEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseProducts/CreatePurchaseProductEndpoint.cs deleted file mode 100644 index 24fe1f7..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseProducts/CreatePurchaseProductEndpoint.cs +++ /dev/null @@ -1,56 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.PurchaseProduct.Request; -using PyroFetes.DTO.PurchaseProduct.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Products; -using PyroFetes.Specifications.PurchaseOrders; - -namespace PyroFetes.Endpoints.PurchaseProducts; - -public class CreatePurchaseProductEndpoint( - ProductsRepository productsRepository, - PurchaseOrdersRepository purchaseOrdersRepository, - PurchaseProductsRepository purchaseProductsRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Post("/purchaseProducts"); - AllowAnonymous(); - } - - public override async Task HandleAsync(CreatePurchaseProductDto req, CancellationToken ct) - { - Product? product = await productsRepository.FirstOrDefaultAsync(new GetProductByIdSpec(req.ProductId), ct); - if (product == null) - { - await Send.NotFoundAsync(ct); - return; - } - - PurchaseOrder? purchaseOrder = - await purchaseOrdersRepository.FirstOrDefaultAsync(new GetPurchaseOrderByIdSpec(req.PurchaseOrderId), ct); - - if (purchaseOrder == null) - { - purchaseOrder = new PurchaseOrder() - { - PurchaseConditions = req.PurchaseOrderPurchaseConditions ?? "Conditions non précisées" - }; - await purchaseOrdersRepository.AddAsync(purchaseOrder, ct); - } - - PurchaseProduct purchaseProduct = new PurchaseProduct() - { - ProductId = product.Id, - PurchaseOrderId = purchaseOrder.Id, - Quantity = req.Quantity - }; - - await purchaseProductsRepository.AddAsync(purchaseProduct, ct); - - await Send.OkAsync(mapper.Map(purchaseProduct), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseProducts/DeletePurchaseProductEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseProducts/DeletePurchaseProductEndpoint.cs deleted file mode 100644 index 7ce0dff..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseProducts/DeletePurchaseProductEndpoint.cs +++ /dev/null @@ -1,38 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.PurchaseProducts; - -namespace PyroFetes.Endpoints.PurchaseProducts; - -public class DeletePurchaseProductRequest -{ - public int ProductId { get; set; } - public int PurchaseOrderId { get; set; } -} - -public class DeletePurchaseProductEndpoint(PurchaseProductsRepository purchaseProductsRepository) : Endpoint -{ - public override void Configure() - { - Delete("/purchaseProducts/{@ProductId}/{@PurchaseOrderId}", x => new {x.ProductId, x.PurchaseOrderId}); - AllowAnonymous(); - } - - public override async Task HandleAsync(DeletePurchaseProductRequest req, CancellationToken ct) - { - PurchaseProduct? purchaseProduct = await purchaseProductsRepository.FirstOrDefaultAsync( - new GetPurchaseProductByProductIdAndPurchaseOrderIdSpec(req.ProductId, req.PurchaseOrderId), ct); - - if (purchaseProduct == null) - { - await Send.NotFoundAsync(ct); - return; - } - - await purchaseProductsRepository.DeleteAsync(purchaseProduct, ct); - - await Send.NoContentAsync(ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseProducts/PatchPurchaseProductQuantityEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseProducts/PatchPurchaseProductQuantityEndpoint.cs deleted file mode 100644 index d1aad89..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/PurchaseProducts/PatchPurchaseProductQuantityEndpoint.cs +++ /dev/null @@ -1,38 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.PurchaseProduct.Request; -using PyroFetes.DTO.PurchaseProduct.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.PurchaseProducts; - -namespace PyroFetes.Endpoints.PurchaseProducts; - -public class PatchPurchaseProductQuantityEndpoint( - PurchaseProductsRepository purchaseProductsRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Patch("/purchaseProducts/{@ProductId}/{@PurchaseOrderId}/Quantity", x => new { x.ProductId, x.PurchaseOrderId }); - AllowAnonymous(); - } - - public override async Task HandleAsync(PatchPurchaseProductQuantityDto req, CancellationToken ct) - { - PurchaseProduct? purchaseProduct = - await purchaseProductsRepository.FirstOrDefaultAsync( - new GetPurchaseProductByProductIdAndPurchaseOrderIdSpec(req.ProductId, req.PurchaseOrderId), ct); - - if (purchaseProduct == null) - { - await Send.NotFoundAsync(ct); - return; - } - - purchaseProduct.Quantity = req.Quantity; - await purchaseProductsRepository.UpdateAsync(purchaseProduct, ct); - - await Send.OkAsync(mapper.Map(purchaseProduct), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/QuotationProducts/CreateQuotationProductEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/QuotationProducts/CreateQuotationProductEndpoint.cs deleted file mode 100644 index 2c13b2e..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/QuotationProducts/CreateQuotationProductEndpoint.cs +++ /dev/null @@ -1,58 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.QuotationProduct.Request; -using PyroFetes.DTO.QuotationProduct.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Products; -using PyroFetes.Specifications.Quotations; - -namespace PyroFetes.Endpoints.QuotationProducts; - -public class CreateQuotationProductEndpoint( - QuotationProductsRepository quotationProductsRepository, - ProductsRepository productsRepository, - QuotationsRepository quotationsRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Post("/quotationProducts"); - AllowAnonymous(); - } - - public override async Task HandleAsync(CreateQuotationProductDto req, CancellationToken ct) - { - Product? product = await productsRepository.FirstOrDefaultAsync(new GetProductByIdSpec(req.ProductId), ct); - - if (product == null) - { - await Send.NotFoundAsync(ct); - return; - } - - Quotation? quotation = await quotationsRepository.FirstOrDefaultAsync(new GetQuotationByIdSpec(req.QuotationId), ct); - - if (quotation == null) - { - quotation = new Quotation() - { - Message = req.QuotationMessage ?? "", - ConditionsSale = req.QuotationConditionsSale, - }; - - await quotationsRepository.AddAsync(quotation, ct); - } - - QuotationProduct quotationProduct = new QuotationProduct() - { - ProductId = product.Id, - QuotationId = quotation.Id, - Quantity = req.Quantity - }; - - await quotationProductsRepository.AddAsync(quotationProduct, ct); - - await Send.OkAsync(mapper.Map(quotationProduct), ct); - } -} diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/QuotationProducts/DeleteQuotationProductEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/QuotationProducts/DeleteQuotationProductEndpoint.cs deleted file mode 100644 index 554ccd4..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/QuotationProducts/DeleteQuotationProductEndpoint.cs +++ /dev/null @@ -1,39 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.QuotationProducts; - -namespace PyroFetes.Endpoints.QuotationProducts; - -public class DeleteQuotationProductRequest -{ - public int ProductId { get; set; } - public int QuotationId { get; set; } -} - -public class DeleteQuotationProductEndpoint(QuotationProductsRepository quotationProductsRepository) : Endpoint -{ - public override void Configure() - { - Delete("/quotationProducts/{@ProductId}/{@QuotationId}", x => new {x.ProductId, x.QuotationId}); - AllowAnonymous(); - } - - public override async Task HandleAsync(DeleteQuotationProductRequest req, CancellationToken ct) - { - QuotationProduct? quotationProduct = - await quotationProductsRepository.FirstOrDefaultAsync( - new GetQuotationProductByProductIdAndQuotationIdSpec(req.ProductId, req.QuotationId), ct); - - if (quotationProduct == null) - { - await Send.NotFoundAsync(ct); - return; - } - - await quotationProductsRepository.DeleteAsync(quotationProduct, ct); - - await Send.NoContentAsync(ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/QuotationProducts/PatchQuotationProductQuantityEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/QuotationProducts/PatchQuotationProductQuantityEndpoint.cs deleted file mode 100644 index de8546e..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/QuotationProducts/PatchQuotationProductQuantityEndpoint.cs +++ /dev/null @@ -1,37 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.QuotationProduct.Request; -using PyroFetes.DTO.QuotationProduct.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.QuotationProducts; - -namespace PyroFetes.Endpoints.QuotationProducts; - -public class PatchQuotationProductQuantityEndpoint( - QuotationProductsRepository quotationProductsRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Patch("/quotationProducts/{@ProductId}/{@QuotationId}/Quantity", x => new { x.ProductId, x.QuotationId }); - AllowAnonymous(); - } - - public override async Task HandleAsync(PatchQuotationProductQuantityDto req, CancellationToken ct) - { - QuotationProduct? quotationProduct = - await quotationProductsRepository.FirstOrDefaultAsync( - new GetQuotationProductByProductIdAndQuotationIdSpec(req.ProductId, req.QuotationId), ct); - if (quotationProduct == null) - { - await Send.NotFoundAsync(ct); - return; - } - - quotationProduct.Quantity = req.Quantity; - await quotationProductsRepository.UpdateAsync(quotationProduct, ct); - - await Send.OkAsync(mapper.Map(quotationProduct), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Quotations/DeleteQuotationEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Quotations/DeleteQuotationEndpoint.cs deleted file mode 100644 index 80df36c..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Quotations/DeleteQuotationEndpoint.cs +++ /dev/null @@ -1,43 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Quotations; - -namespace PyroFetes.Endpoints.Quotations; - -public class DeleteQuotationRequest -{ - public int Id { get; set; } -} - -public class DeleteQuotationEndpoint( - QuotationsRepository quotationsRepository, - QuotationProductsRepository quotationProductsRepository) : Endpoint -{ - public override void Configure() - { - Delete("/quotations/{@Id}", x => new {x.Id}); - AllowAnonymous(); - } - - public override async Task HandleAsync(DeleteQuotationRequest req, CancellationToken ct) - { - Quotation? quotation = await quotationsRepository.FirstOrDefaultAsync(new GetQuotationByIdSpec(req.Id), ct); - - if (quotation == null) - { - await Send.NotFoundAsync(ct); - return; - } - - if (quotation.QuotationProducts != null && quotation.QuotationProducts.Any()) - { - await quotationProductsRepository.DeleteRangeAsync(quotation.QuotationProducts, ct); - } - - await quotationsRepository.DeleteAsync(quotation, ct); - - await Send.NoContentAsync(ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Quotations/GetAllQuotationEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Quotations/GetAllQuotationEndpoint.cs deleted file mode 100644 index b4674f3..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Quotations/GetAllQuotationEndpoint.cs +++ /dev/null @@ -1,22 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.Quotation.Response; -using PyroFetes.DTO.QuotationProduct.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; - -namespace PyroFetes.Endpoints.Quotations; - -public class GetAllQuotationEndpoint(QuotationsRepository quotationsRepository) : EndpointWithoutRequest> -{ - public override void Configure() - { - Get("/quotations"); - AllowAnonymous(); - } - - public override async Task HandleAsync(CancellationToken ct) - { - await Send.OkAsync(await quotationsRepository.ProjectToListAsync(ct), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Quotations/GetQuotationEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Quotations/GetQuotationEndpoint.cs deleted file mode 100644 index bdc57c2..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Quotations/GetQuotationEndpoint.cs +++ /dev/null @@ -1,38 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.Quotation.Response; -using PyroFetes.DTO.QuotationProduct.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Quotations; - -namespace PyroFetes.Endpoints.Quotations; - -public class GetQuotationRequest -{ - public int Id { get; set; } -} - -public class GetQuotationEndpoint( - QuotationsRepository quotationsRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Get("/quotations/{@Id}", x => new {x.Id}); - AllowAnonymous(); - } - - public override async Task HandleAsync(GetQuotationRequest req, CancellationToken ct) - { - Quotation? quotation = await quotationsRepository.FirstOrDefaultAsync(new GetQuotationByIdSpec(req.Id), ct); - - if (quotation == null) - { - await Send.NotFoundAsync(ct); - return; - } - - await Send.OkAsync(mapper.Map(quotation), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Quotations/PatchQuotationConditionsSaleEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Quotations/PatchQuotationConditionsSaleEndpoint.cs deleted file mode 100644 index a21f60d..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Quotations/PatchQuotationConditionsSaleEndpoint.cs +++ /dev/null @@ -1,38 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.Quotation.Request; -using PyroFetes.DTO.Quotation.Response; -using PyroFetes.DTO.QuotationProduct.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Quotations; - -namespace PyroFetes.Endpoints.Quotations; - -public class PatchQuotationConditionsSaleEndpoint( - QuotationsRepository quotationsRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Patch("/quotations/{@Id}/saleConditions", x => new { x.Id }); - AllowAnonymous(); - } - - public override async Task HandleAsync(PatchQuotationConditionsSaleDto req, CancellationToken ct) - { - Quotation? quotation = await quotationsRepository.FirstOrDefaultAsync(new GetQuotationByIdSpec(req.Id), ct); - - if (quotation == null) - { - await Send.NotFoundAsync(ct); - return; - } - - quotation.ConditionsSale = req.ConditionsSale; - await quotationsRepository.UpdateAsync(quotation, ct); - - - await Send.OkAsync(mapper.Map(quotation), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Settings/CreateSettingEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Settings/CreateSettingEndpoint.cs deleted file mode 100644 index 893996b..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Settings/CreateSettingEndpoint.cs +++ /dev/null @@ -1,31 +0,0 @@ -using FastEndpoints; -using PyroFetes.DTO.SettingDTO.Request; -using PyroFetes.DTO.SettingDTO.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; - -namespace PyroFetes.Endpoints.Settings; - -public class CreateSettingEndpoint( - SettingsRepository settingsRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Post("/settings"); - AllowAnonymous(); - } - - public override async Task HandleAsync(CreateSettingDto req, CancellationToken ct) - { - Setting setting = new Setting() - { - ElectronicSignature = req.ElectronicSignature, - Logo = req.Logo - }; - - await settingsRepository.AddAsync(setting, ct); - - await Send.OkAsync(mapper.Map(setting), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Settings/DeleteSettingEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Settings/DeleteSettingEndpoint.cs deleted file mode 100644 index 2979b01..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Settings/DeleteSettingEndpoint.cs +++ /dev/null @@ -1,36 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Settings; - -namespace PyroFetes.Endpoints.Settings; - -public class DeleteSettingRequest -{ - public int Id { get; set; } -} - -public class DeleteSettingEndpoint(SettingsRepository settingsRepository) : Endpoint -{ - public override void Configure() - { - Delete("/settings/{@Id}", x => new {x.Id}); - AllowAnonymous(); - } - - public override async Task HandleAsync(DeleteSettingRequest req, CancellationToken ct) - { - Setting? setting = await settingsRepository.FirstOrDefaultAsync(new GetSettingByIdSpec(req.Id), ct); - - if (setting == null) - { - await Send.NotFoundAsync(ct); - return; - } - - await settingsRepository.DeleteAsync(setting, ct); - - await Send.NoContentAsync(ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Settings/GetSettingEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Settings/GetSettingEndpoint.cs deleted file mode 100644 index 1735008..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Settings/GetSettingEndpoint.cs +++ /dev/null @@ -1,37 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.SettingDTO.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Settings; - -namespace PyroFetes.Endpoints.Settings; - -public class GetSettingRequest -{ - public int Id { get; set; } -} - -public class GetSettingEndpoint( - SettingsRepository settingsRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Get("/settings/{@Id}", x => new {x.Id}); - AllowAnonymous(); - } - - public override async Task HandleAsync(GetSettingRequest req, CancellationToken ct) - { - Setting? setting = await settingsRepository.FirstOrDefaultAsync(new GetSettingByIdSpec(req.Id), ct); - - if (setting == null) - { - await Send.NotFoundAsync(ct); - return; - } - - await Send.OkAsync(mapper.Map(setting), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Settings/PatchSettingElectronicSignatureEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Settings/PatchSettingElectronicSignatureEndpoint.cs deleted file mode 100644 index ca73c8c..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Settings/PatchSettingElectronicSignatureEndpoint.cs +++ /dev/null @@ -1,36 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.SettingDTO.Request; -using PyroFetes.DTO.SettingDTO.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Settings; - -namespace PyroFetes.Endpoints.Settings; - -public class PatchSettingElectronicSignatureEndpoint( - SettingsRepository settingsRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Patch("/settings/{@Id}/ElectronicSignature", x => new {x.Id}); - AllowAnonymous(); - } - - public override async Task HandleAsync(PatchSettingElectronicSignatureDto req, CancellationToken ct) - { - Setting? setting = await settingsRepository.FirstOrDefaultAsync(new GetSettingByIdSpec(req.Id), ct); - - if (setting == null) - { - await Send.NotFoundAsync(ct); - return; - } - - setting.ElectronicSignature = req.ElectronicSignature; - await settingsRepository.UpdateAsync(setting, ct); - - await Send.OkAsync(mapper.Map(setting), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Settings/PatchSettingLogoEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Settings/PatchSettingLogoEndpoint.cs deleted file mode 100644 index f180cbc..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Settings/PatchSettingLogoEndpoint.cs +++ /dev/null @@ -1,36 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.SettingDTO.Request; -using PyroFetes.DTO.SettingDTO.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Settings; - -namespace PyroFetes.Endpoints.Settings; - -public class PatchSettingLogoEndpoint( - SettingsRepository settingsRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Patch("/settings/{@Id}/logo", x => new {x.Id}); - AllowAnonymous(); - } - - public override async Task HandleAsync(PatchSettingLogoDto req, CancellationToken ct) - { - Setting? setting = await settingsRepository.FirstOrDefaultAsync(new GetSettingByIdSpec(req.Id), ct); - - if (setting == null) - { - await Send.NotFoundAsync(ct); - return; - } - - setting.Logo = req.Logo; - await settingsRepository.UpdateAsync(setting, ct); - - await Send.OkAsync(mapper.Map(setting), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Suppliers/CreateSupplierEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Suppliers/CreateSupplierEndpoint.cs deleted file mode 100644 index afd95f2..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Suppliers/CreateSupplierEndpoint.cs +++ /dev/null @@ -1,36 +0,0 @@ -using FastEndpoints; -using PyroFetes.DTO.Supplier.Request; -using PyroFetes.DTO.Supplier.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; - -namespace PyroFetes.Endpoints.Suppliers; - -public class CreateSupplierEndpoint( - SuppliersRepository suppliersRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Post("/suppliers"); - AllowAnonymous(); - } - - public override async Task HandleAsync(CreateSupplierDto req, CancellationToken ct) - { - Supplier? supplier = new Supplier() - { - Name = req.Name, - Email = req.Email, - Phone = req.Phone, - Address = req.Address, - City = req.City, - ZipCode = req.ZipCode, - DeliveryDelay = req.DeliveryDelay - }; - - await suppliersRepository.AddAsync(supplier, ct); - - await Send.OkAsync(mapper.Map(supplier), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Suppliers/DeleteSupplierEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Suppliers/DeleteSupplierEndpoint.cs deleted file mode 100644 index 6786015..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Suppliers/DeleteSupplierEndpoint.cs +++ /dev/null @@ -1,36 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Suppliers; - -namespace PyroFetes.Endpoints.Suppliers; - -public class DeleteSupplierRequest -{ - public int Id { get; set; } -} - -public class DeleteSupplierEndpoint(SuppliersRepository suppliersRepository) : Endpoint -{ - public override void Configure() - { - Delete("/suppliers/{@Id}", x => new {x.Id}); - AllowAnonymous(); - } - - public override async Task HandleAsync(DeleteSupplierRequest req, CancellationToken ct) - { - Supplier? supplier = await suppliersRepository.FirstOrDefaultAsync(new GetSupplierByIdSpec(req.Id), ct); - - if (supplier == null) - { - await Send.NotFoundAsync(ct); - return; - } - - await suppliersRepository.DeleteAsync(supplier, ct); - - await Send.NoContentAsync(ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Suppliers/GetAllSuppliersEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Suppliers/GetAllSuppliersEndpoint.cs deleted file mode 100644 index 3c655f8..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Suppliers/GetAllSuppliersEndpoint.cs +++ /dev/null @@ -1,20 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.Supplier.Response; -using PyroFetes.Repositories; - -namespace PyroFetes.Endpoints.Suppliers; - -public class GetAllSuppliersEndpoint(SuppliersRepository suppliersRepository) : EndpointWithoutRequest> -{ - public override void Configure() - { - Get("/suppliers"); - AllowAnonymous(); - } - - public override async Task HandleAsync(CancellationToken ct) - { - await Send.OkAsync(await suppliersRepository.ProjectToListAsync(ct), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Suppliers/GetSupplierEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Suppliers/GetSupplierEndpoint.cs deleted file mode 100644 index 50fbb54..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Suppliers/GetSupplierEndpoint.cs +++ /dev/null @@ -1,37 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.Supplier.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Suppliers; - -namespace PyroFetes.Endpoints.Suppliers; - -public class GetSupplierRequest -{ - public int Id { get; set; } -} - -public class GetSupplierEndpoint( - SuppliersRepository suppliersRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Get("/suppliers/{@Id}", x => new {x.Id}); - AllowAnonymous(); - } - - public override async Task HandleAsync(GetSupplierRequest req, CancellationToken ct) - { - Supplier? supplier = await suppliersRepository.FirstOrDefaultAsync(new GetSupplierByIdSpec(req.Id), ct); - - if (supplier == null) - { - await Send.NotFoundAsync(ct); - return; - } - - await Send.OkAsync(mapper.Map(supplier), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Suppliers/PatchSupplierDeliveryDelayEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Suppliers/PatchSupplierDeliveryDelayEndpoint.cs deleted file mode 100644 index 0a83253..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Suppliers/PatchSupplierDeliveryDelayEndpoint.cs +++ /dev/null @@ -1,36 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.Supplier.Request; -using PyroFetes.DTO.Supplier.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Suppliers; - -namespace PyroFetes.Endpoints.Suppliers; - -public class PatchSupplierDeliveryDelayEndpoint( - SuppliersRepository suppliersRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Patch("/suppliers/{@Id}/deliveryDelay", x => new {x.Id}); - AllowAnonymous(); - } - - public override async Task HandleAsync(PatchSupplierDeliveryDelayDto req, CancellationToken ct) - { - Supplier? supplier = await suppliersRepository.FirstOrDefaultAsync(new GetSupplierByIdSpec(req.Id), ct); - - if (supplier == null) - { - await Send.NotFoundAsync(ct); - return; - } - - supplier.DeliveryDelay = req.DeliveryDelay; - await suppliersRepository.UpdateAsync(supplier, ct); - - await Send.OkAsync(mapper.Map(supplier), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Suppliers/UpdateSupplierEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Suppliers/UpdateSupplierEndpoint.cs deleted file mode 100644 index 79206ce..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Suppliers/UpdateSupplierEndpoint.cs +++ /dev/null @@ -1,43 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.Supplier.Request; -using PyroFetes.DTO.Supplier.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Suppliers; - -namespace PyroFetes.Endpoints.Suppliers; - -public class UpdateSupplierEndpoint( - SuppliersRepository suppliersRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Put("/suppliers/{@Id}", x => new {x.Id}); - AllowAnonymous(); - } - - public override async Task HandleAsync(UpdateSupplierDto req, CancellationToken ct) - { - Supplier? supplier = await suppliersRepository.FirstOrDefaultAsync(new GetSupplierByIdSpec(req.Id), ct); - - if (supplier == null) - { - await Send.NotFoundAsync(ct); - return; - } - - supplier.Name = req.Name; - supplier.Email = req.Email; - supplier.Phone = req.Phone; - supplier.Address = req.Address; - supplier.City = req.City; - supplier.ZipCode = req.ZipCode; - supplier.DeliveryDelay = req.DeliveryDelay; - - await suppliersRepository.UpdateAsync(supplier, ct); - - await Send.OkAsync(mapper.Map(supplier), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/ConnectUserEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/ConnectUserEndpoint.cs deleted file mode 100644 index 07e6eaa..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/ConnectUserEndpoint.cs +++ /dev/null @@ -1,51 +0,0 @@ -using FastEndpoints; -using FastEndpoints.Security; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.User.Request; -using PyroFetes.DTO.User.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Users; - -namespace PyroFetes.Endpoints.Users; - -public class ConnectUserEndpoint(UsersRepository usersRepository) : Endpoint -{ - public override void Configure() - { - Post("/users/connection"); - AllowAnonymous(); - } - - public override async Task HandleAsync(ConnectUserDto req, CancellationToken ct) - { - User? user = await usersRepository.FirstOrDefaultAsync(new GetUserByNameSpec(req.Name!), ct); - - if (user == null) - { - await Send.UnauthorizedAsync(ct); - return; - } - - if (BCrypt.Net.BCrypt.Verify(req.Password + user.Salt, user.Password)) - { - string jwtToken = JwtBearer.CreateToken( - o => - { - o.SigningKey = "ThisIsASuperSecretJwtKeyThatIsAtLeast32CharsLong"; - o.ExpireAt = DateTime.UtcNow.AddMinutes(15); - if (user.Fonction != null) o.User.Roles.Add(user.Fonction); - o.User.Claims.Add(("Name", user.Name)!); - o.User.Claims.Add(("Id", user.Id.ToString())!); - }); - - GetTokenDto responseDto = new() - { - Token = jwtToken - }; - - await Send.OkAsync(responseDto, ct); - } - else await Send.UnauthorizedAsync(ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/CreateUserEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/CreateUserEndpoint.cs deleted file mode 100644 index 1a014d9..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/CreateUserEndpoint.cs +++ /dev/null @@ -1,37 +0,0 @@ -using FastEndpoints; -using PasswordGenerator; -using PyroFetes.DTO.User.Request; -using PyroFetes.DTO.User.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; - -namespace PyroFetes.Endpoints.Users; - -public class CreateUserEndpoint( - UsersRepository usersRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Post("/users"); - AllowAnonymous(); - } - - public override async Task HandleAsync(CreateUserDto req, CancellationToken ct) - { - string? salt = new Password().IncludeLowercase().IncludeUppercase().IncludeNumeric().LengthRequired(24).Next(); - - User user = new User() - { - Name = req.Name, - Password = BCrypt.Net.BCrypt.HashPassword(req.Password + salt), - Salt = salt, - Email = req.Email, - Fonction = req.Fonction - }; - - await usersRepository.AddAsync(user, ct); - - await Send.OkAsync(mapper.Map(user), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/DeleteUserEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/DeleteUserEndpoint.cs deleted file mode 100644 index 859d548..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/DeleteUserEndpoint.cs +++ /dev/null @@ -1,36 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Users; - -namespace PyroFetes.Endpoints.Users; - -public class DeleteUserRequest -{ - public int Id { get; set; } -} - -public class DeleteUserEndpoint(UsersRepository usersRepository) : Endpoint -{ - public override void Configure() - { - Delete("/users/{@Id}", x => new {x.Id}); - AllowAnonymous(); - } - - public override async Task HandleAsync(DeleteUserRequest req, CancellationToken ct) - { - User? user = await usersRepository.FirstOrDefaultAsync(new GetUserByIdSpec(req.Id), ct); - - if (user == null) - { - await Send.NotFoundAsync(ct); - return; - } - - await usersRepository.DeleteAsync(user, ct); - - await Send.NoContentAsync(ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/GetAllUsersEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/GetAllUsersEndpoint.cs deleted file mode 100644 index 6a36ca9..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/GetAllUsersEndpoint.cs +++ /dev/null @@ -1,20 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.User.Response; -using PyroFetes.Repositories; - -namespace PyroFetes.Endpoints.Users; - -public class GetAllUsersEndpoint(UsersRepository usersRepository) : EndpointWithoutRequest> -{ - public override void Configure() - { - Get("/users"); - AllowAnonymous(); - } - - public override async Task HandleAsync(CancellationToken ct) - { - await Send.OkAsync(await usersRepository.ProjectToListAsync(ct), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/GetUserEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/GetUserEndpoint.cs deleted file mode 100644 index a03e04f..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/GetUserEndpoint.cs +++ /dev/null @@ -1,37 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.User.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Users; - -namespace PyroFetes.Endpoints.Users; - -public class GetUserRequest -{ - public int Id { get; set; } -} - -public class GetUserEndpoint( - UsersRepository usersRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Get("/users/{@Id}", x => new {x.Id}); - AllowAnonymous(); - } - - public override async Task HandleAsync(GetUserRequest req, CancellationToken ct) - { - User? user = await usersRepository.FirstOrDefaultAsync(new GetUserByIdSpec(req.Id), ct); - - if (user == null) - { - await Send.NotFoundAsync(ct); - return; - } - - await Send.OkAsync(mapper.Map(user), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/PatchUserPasswordEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/PatchUserPasswordEndpoint.cs deleted file mode 100644 index 1647bd4..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/PatchUserPasswordEndpoint.cs +++ /dev/null @@ -1,36 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.User.Request; -using PyroFetes.DTO.User.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Users; - -namespace PyroFetes.Endpoints.Users; - -public class PatchUserPasswordEndpoint( - UsersRepository usersRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Patch("/users/{@Id}/password", x => new { x.Id }); - AllowAnonymous(); - } - - public override async Task HandleAsync(PatchUserPasswordDto req, CancellationToken ct) - { - User? user = await usersRepository.FirstOrDefaultAsync(new GetUserByIdSpec(req.Id), ct); - - if (user == null) - { - await Send.NotFoundAsync(ct); - return; - } - - user.Password = BCrypt.Net.BCrypt.HashPassword(req.Password + user.Salt); - await usersRepository.UpdateAsync(user, ct); - - await Send.OkAsync(mapper.Map(user), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/UpdateUserEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/UpdateUserEndpoint.cs deleted file mode 100644 index b50439d..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/Users/UpdateUserEndpoint.cs +++ /dev/null @@ -1,51 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PasswordGenerator; -using PyroFetes.DTO.User.Request; -using PyroFetes.DTO.User.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.Users; - -namespace PyroFetes.Endpoints.Users; - -public class UpdateUserEndpoint( - UsersRepository usersRepository, - AutoMapper.IMapper mapper) : Endpoint -{ - public override void Configure() - { - Put("/users/{@Id}", x => new {x.Id}); - AllowAnonymous(); - } - - public override async Task HandleAsync(UpdateUserDto req, CancellationToken ct) - { - User? user = await usersRepository.FirstOrDefaultAsync(new GetUserByIdSpec(req.Id), ct); - User? ckeckName = await usersRepository.FirstOrDefaultAsync(new GetUserByNameSpec(req.Name!), ct); - - if (user == null) - { - await Send.NotFoundAsync(ct); - return; - } - - if (ckeckName != null) - { - await Send.StringAsync("Ce nom d'utilisateur existe déjà.",409, cancellation: ct); - return; - } - - string? salt = new Password().IncludeLowercase().IncludeUppercase().IncludeNumeric().LengthRequired(24).Next(); - - user.Name = req.Name; - user.Password = BCrypt.Net.BCrypt.HashPassword(req.Password + salt); - user.Salt = salt; - user.Email = req.Email; - user.Fonction = req.Fonction; - - await usersRepository.UpdateAsync(user, ct); - - await Send.OkAsync(mapper.Map(user), ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/WareHouseProducts/GetTotalQuantityEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/WareHouseProducts/GetTotalQuantityEndpoint.cs deleted file mode 100644 index 6df7fd9..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/WareHouseProducts/GetTotalQuantityEndpoint.cs +++ /dev/null @@ -1,45 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.WareHouseProduct.Response; -using PyroFetes.Models; -using PyroFetes.Repositories; -using PyroFetes.Specifications.WarehouseProducts; - -namespace PyroFetes.Endpoints.WareHouseProducts; - -public class GetTotalQuantityRequest -{ - public int ProductId { get; set; } -} - -public class GetTotalQuantityEndpoint( - WarehouseProductsRepository warehouseProductsRepository) : Endpoint -{ - public override void Configure() - { - Get("/wareHouseProducts/{@ProductId}", x => new { x.ProductId }); - AllowAnonymous(); - } - - public override async Task HandleAsync(GetTotalQuantityRequest req, CancellationToken ct) - { - bool exists = await warehouseProductsRepository.AnyAsync(new GetWarehouseProductByProductIdSpec(req.ProductId), ct); - - if (!exists) - { - await Send.NotFoundAsync(ct); - return; - } - - int totalQuantity = - await warehouseProductsRepository.SumAsync(new GetProductTotalQuantitySpec(req.ProductId), - wp => wp.Quantity, ct); - - GetTotalQuantityDto responseDto = new() - { - ProductId = req.ProductId, - TotalQuantity = totalQuantity - }; - await Send.OkAsync(responseDto, ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/WareHouseProducts/PatchWareHouseProductQuantityEndpoint.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/WareHouseProducts/PatchWareHouseProductQuantityEndpoint.cs deleted file mode 100644 index 93a4e07..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Endpoints/WareHouseProducts/PatchWareHouseProductQuantityEndpoint.cs +++ /dev/null @@ -1,41 +0,0 @@ -using FastEndpoints; -using Microsoft.EntityFrameworkCore; -using PyroFetes.DTO.WareHouseProduct.Request; -using PyroFetes.DTO.WareHouseProduct.Response; -using PyroFetes.Models; - -namespace PyroFetes.Endpoints.WareHouseProducts; - -public class PatchWareHouseProductQuantityEndpoint(PyroFetesDbContext database) - : Endpoint -{ - public override void Configure() - { - Patch("/wareHouseProducts/{@ProductId}/{@WareHouseId}/quantity", x => new { x.ProductId, x.WareHouseId }); - AllowAnonymous(); - } - - public override async Task HandleAsync(PatchWareHouseProductQuantityDto req, CancellationToken ct) - { - WarehouseProduct? wareHouseProduct = - await database.WarehouseProducts.SingleOrDefaultAsync( - wp => wp.ProductId == req.ProductId && wp.WarehouseId == req.WareHouseId, ct); - - if (wareHouseProduct == null) - { - await Send.NotFoundAsync(ct); - return; - } - - wareHouseProduct.Quantity = req.Quantity; - await database.SaveChangesAsync(ct); - - GetWareHouseProductDto responseDto = new() - { - ProductId = wareHouseProduct.ProductId, - WareHouseId = wareHouseProduct.WarehouseId, - Quantity = wareHouseProduct.Quantity - }; - await Send.OkAsync(responseDto, ct); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/MappingProfiles/DtoToEntityMappings.cs b/pyrofetes/pyrofetes-backend/PyroFetes/MappingProfiles/DtoToEntityMappings.cs deleted file mode 100644 index d1a1db8..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/MappingProfiles/DtoToEntityMappings.cs +++ /dev/null @@ -1,68 +0,0 @@ -using AutoMapper; -using PyroFetes.DTO.Deliverer.Request; -using PyroFetes.DTO.DeliveryNote.Request; -using PyroFetes.DTO.Price.Request; -using PyroFetes.DTO.Product.Request; -using PyroFetes.DTO.ProductDelivery.Request; -using PyroFetes.DTO.PurchaseOrder.Request; -using PyroFetes.DTO.PurchaseProduct.Request; -using PyroFetes.DTO.Quotation.Request; -using PyroFetes.DTO.QuotationProduct.Request; -using PyroFetes.DTO.SettingDTO.Request; -using PyroFetes.DTO.Supplier.Request; -using PyroFetes.DTO.User.Request; -using PyroFetes.DTO.WareHouseProduct.Request; -using PyroFetes.Models; - -namespace PyroFetes.MappingProfiles; - -public class DtoToEntityMappings : Profile -{ - public DtoToEntityMappings() - { - CreateMap(); - CreateMap(); - - CreateMap(); - CreateMap(); - CreateMap(); - - CreateMap(); - CreateMap(); - CreateMap(); - - CreateMap(); - CreateMap(); - CreateMap(); - - CreateMap(); - CreateMap(); - - CreateMap(); - - CreateMap(); - CreateMap(); - CreateMap(); - - CreateMap(); - CreateMap(); - - CreateMap(); - CreateMap(); - CreateMap(); - - CreateMap(); - CreateMap(); - CreateMap(); - - CreateMap(); - CreateMap(); - CreateMap(); - - CreateMap(); - CreateMap(); - CreateMap(); - - CreateMap(); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/MappingProfiles/EntityToDtoMappings.cs b/pyrofetes/pyrofetes-backend/PyroFetes/MappingProfiles/EntityToDtoMappings.cs deleted file mode 100644 index 0fbbffe..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/MappingProfiles/EntityToDtoMappings.cs +++ /dev/null @@ -1,46 +0,0 @@ -using AutoMapper; -using PyroFetes.DTO.Deliverer.Response; -using PyroFetes.DTO.DeliveryNote.Response; -using PyroFetes.DTO.Price.Response; -using PyroFetes.DTO.Product.Response; -using PyroFetes.DTO.ProductDelivery.Response; -using PyroFetes.DTO.PurchaseOrder.Response; -using PyroFetes.DTO.PurchaseProduct.Response; -using PyroFetes.DTO.Quotation.Response; -using PyroFetes.DTO.QuotationProduct.Response; -using PyroFetes.DTO.SettingDTO.Response; -using PyroFetes.DTO.User.Response; -using PyroFetes.DTO.WareHouseProduct.Response; -using PyroFetes.Models; - -namespace PyroFetes.MappingProfiles; - -public class EntityToDtoMappings : Profile -{ - public EntityToDtoMappings() - { - CreateMap(); - - CreateMap(); - - CreateMap(); - - CreateMap(); - - CreateMap(); - - CreateMap(); - - CreateMap(); - - CreateMap(); - - CreateMap(); - - CreateMap(); - - CreateMap(); - - CreateMap(); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251008103414_InitialDatabase.Designer.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251008103414_InitialDatabase.Designer.cs deleted file mode 100644 index 8e971b2..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251008103414_InitialDatabase.Designer.cs +++ /dev/null @@ -1,1951 +0,0 @@ -// -using System; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Metadata; -using Microsoft.EntityFrameworkCore.Migrations; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using PyroFetes; - -#nullable disable - -namespace PyroFetes.Migrations -{ - [DbContext(typeof(PyroFetesDbContext))] - [Migration("20251008103414_InitialDatabase")] - partial class InitialDatabase - { - /// - protected override void BuildTargetModel(ModelBuilder modelBuilder) - { -#pragma warning disable 612, 618 - modelBuilder - .HasAnnotation("ProductVersion", "8.0.20") - .HasAnnotation("Relational:MaxIdentifierLength", 128); - - SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); - - modelBuilder.Entity("PyroFetes.Models.Availability", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("AvailabilityDate") - .HasColumnType("date"); - - b.Property("DeliveryDate") - .HasColumnType("date"); - - b.Property("ExpirationDate") - .HasColumnType("date"); - - b.Property("RenewallDate") - .HasColumnType("date"); - - b.HasKey("Id"); - - b.ToTable("Availabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.Brand", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ProductId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("ProductId"); - - b.ToTable("Brands"); - }); - - modelBuilder.Entity("PyroFetes.Models.City", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.ToTable("City"); - }); - - modelBuilder.Entity("PyroFetes.Models.Classification", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Classifications"); - }); - - modelBuilder.Entity("PyroFetes.Models.Color", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Colors"); - }); - - modelBuilder.Entity("PyroFetes.Models.Communication", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Calling") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Meeting") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.HasKey("Id"); - - b.HasIndex("ContactId"); - - b.ToTable("Communications"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("CustomerId") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("FirstName") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("LastName") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("PhoneNumber") - .IsRequired() - .HasMaxLength(30) - .HasColumnType("nvarchar(30)"); - - b.Property("Role") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("CustomerId"); - - b.ToTable("Contacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ContactServiceProvider", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("ServiceProviderId") - .HasColumnType("int"); - - b.HasKey("ContactId", "ServiceProviderId"); - - b.HasIndex("ServiceProviderId"); - - b.ToTable("ContactServiceProvider"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contract", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("ServiceProviderId") - .HasColumnType("int"); - - b.Property("TermsAndConditions") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.HasKey("ShowId", "ServiceProviderId"); - - b.HasIndex("ServiceProviderId"); - - b.ToTable("Contract"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("CustomerTypeId") - .HasColumnType("int"); - - b.Property("Note") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.HasIndex("CustomerTypeId"); - - b.ToTable("Customers"); - }); - - modelBuilder.Entity("PyroFetes.Models.CustomerType", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("CustomerTypes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Deliverer", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Transporter") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Deliverers"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("DelivererId") - .HasColumnType("int"); - - b.Property("EstimateDeliveryDate") - .HasColumnType("date"); - - b.Property("ExpeditionDate") - .HasColumnType("date"); - - b.Property("RealDeliveryDate") - .HasColumnType("date"); - - b.Property("TrackingNumber") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.HasIndex("DelivererId"); - - b.ToTable("DeliveryNotes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Effect", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.ToTable("Effects"); - }); - - modelBuilder.Entity("PyroFetes.Models.ExperienceLevel", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("StaffId"); - - b.ToTable("ExperienceLevels"); - }); - - modelBuilder.Entity("PyroFetes.Models.HistoryOfApproval", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("DeliveryDate") - .HasColumnType("date"); - - b.Property("ExpirationDate") - .HasColumnType("date"); - - b.HasKey("Id"); - - b.ToTable("HistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("WarehouseId"); - - b.ToTable("Materials"); - }); - - modelBuilder.Entity("PyroFetes.Models.MaterialWarehouse", b => - { - b.Property("MaterialId") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.HasKey("MaterialId", "WarehouseId"); - - b.HasIndex("WarehouseId"); - - b.ToTable("MaterialWarehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Arrival") - .HasColumnType("datetime2"); - - b.Property("Date") - .HasColumnType("datetime2"); - - b.Property("DestinationWarehouseId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.Property("SourceWarehouseId") - .HasColumnType("int"); - - b.Property("Start") - .HasColumnType("datetime2"); - - b.HasKey("Id"); - - b.HasIndex("DestinationWarehouseId"); - - b.HasIndex("SourceWarehouseId"); - - b.ToTable("Movements"); - }); - - modelBuilder.Entity("PyroFetes.Models.Price", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("SupplierId") - .HasColumnType("int"); - - b.Property("SellingPrice") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ProductId", "SupplierId"); - - b.HasIndex("SupplierId"); - - b.ToTable("Prices"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ApprovalNumber") - .HasColumnType("int"); - - b.Property("Caliber") - .HasColumnType("decimal(18,2)"); - - b.Property("ClassificationId") - .HasColumnType("int"); - - b.Property("Duration") - .HasColumnType("decimal(18,2)"); - - b.Property("Image") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.Property("Link") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.Property("MinimalQuantity") - .HasColumnType("int"); - - b.Property("MovementId") - .HasColumnType("int"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Nec") - .HasColumnType("decimal(18,2)"); - - b.Property("ProductCategoryId") - .HasColumnType("int"); - - b.Property("References") - .HasColumnType("int"); - - b.Property("SellingPrice") - .HasColumnType("decimal(18,2)"); - - b.Property("Weight") - .HasColumnType("decimal(18,2)"); - - b.HasKey("Id"); - - b.HasIndex("ClassificationId"); - - b.HasIndex("MovementId"); - - b.HasIndex("ProductCategoryId"); - - b.ToTable("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductCategory", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("ProductCategories"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductColor", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("ColorId") - .HasColumnType("int"); - - b.HasKey("ProductId", "ColorId"); - - b.HasIndex("ColorId"); - - b.ToTable("ProductColors"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductDelivery", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("DeliveryNoteId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "DeliveryNoteId"); - - b.HasIndex("DeliveryNoteId"); - - b.ToTable("ProductDeliveries"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductEffect", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("EffectId") - .HasColumnType("int"); - - b.HasKey("ProductId", "EffectId"); - - b.HasIndex("EffectId"); - - b.ToTable("ProductEffects"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductTimecode", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("End") - .HasColumnType("decimal(18,2)"); - - b.Property("Start") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ProductId", "ShowId"); - - b.HasIndex("ShowId"); - - b.ToTable("ProductTimecode"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderContact", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("ProviderId") - .HasColumnType("int"); - - b.HasKey("ContactId", "ProviderId"); - - b.HasIndex("ProviderId"); - - b.ToTable("ProviderContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderType", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("ProviderTypes"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseOrder", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("PurchaseConditions") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.HasKey("Id"); - - b.ToTable("PurchaseOrders"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("PurchaseOrderId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "PurchaseOrderId"); - - b.HasIndex("PurchaseOrderId"); - - b.ToTable("PurchaseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ConditionsSale") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.Property("CustomerId") - .HasColumnType("int"); - - b.Property("Message") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.HasIndex("CustomerId"); - - b.ToTable("Quotations"); - }); - - modelBuilder.Entity("PyroFetes.Models.QuotationProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("QuotationId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "QuotationId"); - - b.HasIndex("QuotationId"); - - b.ToTable("QuotationProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Price") - .HasColumnType("decimal(18,2)"); - - b.Property("ProviderTypeId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("ProviderTypeId"); - - b.ToTable("Providers"); - }); - - modelBuilder.Entity("PyroFetes.Models.Setting", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ElectronicSignature") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.Property("Logo") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.HasKey("Id"); - - b.ToTable("Settings"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("CityId") - .HasColumnType("int"); - - b.Property("Date") - .HasColumnType("date"); - - b.Property("Description") - .HasMaxLength(500) - .HasColumnType("nvarchar(500)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Place") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("PyrotechnicImplementationPlan") - .IsRequired() - .HasMaxLength(500) - .HasColumnType("nvarchar(500)"); - - b.HasKey("Id"); - - b.HasIndex("CityId"); - - b.ToTable("Shows"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowMaterial", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("MaterialId") - .HasColumnType("int"); - - b.HasKey("ShowId", "MaterialId"); - - b.HasIndex("MaterialId"); - - b.ToTable("ShowMaterial"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowStaff", b => - { - b.Property("StaffId") - .HasColumnType("int"); - - b.Property("ShowId") - .HasColumnType("int"); - - b.HasKey("StaffId", "ShowId"); - - b.HasIndex("ShowId"); - - b.ToTable("ShowStaff"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowTruck", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("TruckId") - .HasColumnType("int"); - - b.HasKey("ShowId", "TruckId"); - - b.HasIndex("TruckId"); - - b.ToTable("ShowTruck"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Artist") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("CreationDate") - .HasColumnType("datetime2"); - - b.Property("Duration") - .IsRequired() - .HasColumnType("int"); - - b.Property("Format") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Kind") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("SoundCategoryId") - .HasColumnType("int"); - - b.Property("Type") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.HasKey("Id"); - - b.HasIndex("SoundCategoryId"); - - b.ToTable("Sounds"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundCategory", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("SoundCategories"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundTimecode", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("SoundId") - .HasColumnType("int"); - - b.Property("End") - .HasColumnType("decimal(18,2)"); - - b.Property("Start") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ShowId", "SoundId"); - - b.HasIndex("SoundId"); - - b.ToTable("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Staff", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Email") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("F4T2ExpirationDate") - .HasColumnType("date"); - - b.Property("F4T2NumberApproval") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("FirstName") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.Property("LastName") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.Property("Profession") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Staffs"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffAvailability", b => - { - b.Property("AvailabilityId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("AvailabilityId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffAvailabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffContact", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("ContactId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffHistoryOfApproval", b => - { - b.Property("HistoryOfApprovalId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("HistoryOfApprovalId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Supplier", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("DeliveryDelay") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Phone") - .IsRequired() - .HasMaxLength(30) - .HasColumnType("nvarchar(30)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.ToTable("Suppliers"); - }); - - modelBuilder.Entity("PyroFetes.Models.Truck", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("MaxExplosiveCapacity") - .IsRequired() - .HasColumnType("float"); - - b.Property("Sizes") - .IsRequired() - .HasMaxLength(80) - .HasColumnType("nvarchar(80)"); - - b.Property("Status") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Type") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.HasKey("Id"); - - b.ToTable("Trucks"); - }); - - modelBuilder.Entity("PyroFetes.Models.User", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Fonction") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Password") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)"); - - b.Property("Salt") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Users"); - }); - - modelBuilder.Entity("PyroFetes.Models.Warehouse", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Current") - .HasColumnType("int"); - - b.Property("MaxWeight") - .HasColumnType("int"); - - b.Property("MinWeight") - .HasColumnType("int"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.ToTable("Warehouses"); - }); - - modelBuilder.Entity("PyroFetes.Models.WarehouseProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "WarehouseId"); - - b.HasIndex("WarehouseId"); - - b.ToTable("WarehouseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Brand", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("Brands") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.Communication", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("Communications") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.HasOne("PyroFetes.Models.Customer", "Customer") - .WithMany("Contacts") - .HasForeignKey("CustomerId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Customer"); - }); - - modelBuilder.Entity("PyroFetes.Models.ContactServiceProvider", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("ContactServiceProviders") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ServiceProvider", "ServiceProvider") - .WithMany("ContactServiceProviders") - .HasForeignKey("ServiceProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("ServiceProvider"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contract", b => - { - b.HasOne("PyroFetes.Models.ServiceProvider", "ServiceProvider") - .WithMany("Contracts") - .HasForeignKey("ServiceProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("Contracts") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("ServiceProvider"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.HasOne("PyroFetes.Models.CustomerType", "CustomerType") - .WithMany("Customers") - .HasForeignKey("CustomerTypeId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("CustomerType"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.HasOne("PyroFetes.Models.Deliverer", "Deliverer") - .WithMany("DeliveryNotes") - .HasForeignKey("DelivererId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Deliverer"); - }); - - modelBuilder.Entity("PyroFetes.Models.ExperienceLevel", b => - { - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("ExperienceLevels") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany() - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.MaterialWarehouse", b => - { - b.HasOne("PyroFetes.Models.Material", "Material") - .WithMany("MaterialWarehouses") - .HasForeignKey("MaterialId") - .OnDelete(DeleteBehavior.Restrict) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany("MaterialWarehouses") - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Restrict) - .IsRequired(); - - b.Navigation("Material"); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.HasOne("PyroFetes.Models.Warehouse", "DestinationWarehouse") - .WithMany("MovementsDestination") - .HasForeignKey("DestinationWarehouseId") - .OnDelete(DeleteBehavior.Restrict); - - b.HasOne("PyroFetes.Models.Warehouse", "SourceWarehouse") - .WithMany("MovementsSource") - .HasForeignKey("SourceWarehouseId") - .OnDelete(DeleteBehavior.Restrict); - - b.Navigation("DestinationWarehouse"); - - b.Navigation("SourceWarehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Price", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("Prices") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Supplier", "Supplier") - .WithMany("Prices") - .HasForeignKey("SupplierId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Supplier"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.HasOne("PyroFetes.Models.Classification", "Classification") - .WithMany("Products") - .HasForeignKey("ClassificationId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Movement", "Movement") - .WithMany("Products") - .HasForeignKey("MovementId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ProductCategory", "ProductCategory") - .WithMany("Products") - .HasForeignKey("ProductCategoryId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Classification"); - - b.Navigation("Movement"); - - b.Navigation("ProductCategory"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductColor", b => - { - b.HasOne("PyroFetes.Models.Color", "Color") - .WithMany("ProductColors") - .HasForeignKey("ColorId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductColors") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Color"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductDelivery", b => - { - b.HasOne("PyroFetes.Models.DeliveryNote", "DeliveryNote") - .WithMany("ProductDeliveries") - .HasForeignKey("DeliveryNoteId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductDeliveries") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("DeliveryNote"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductEffect", b => - { - b.HasOne("PyroFetes.Models.Effect", "Effect") - .WithMany("ProductEffects") - .HasForeignKey("EffectId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductEffects") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Effect"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductTimecode", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductTimecodes") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ProductTimecodes") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderContact", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany() - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ServiceProvider", "Provider") - .WithMany() - .HasForeignKey("ProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("Provider"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("PurchaseProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.PurchaseOrder", "PurchaseOrder") - .WithMany("PurchaseProducts") - .HasForeignKey("PurchaseOrderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("PurchaseOrder"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.HasOne("PyroFetes.Models.Customer", "Customer") - .WithMany("Quotations") - .HasForeignKey("CustomerId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Customer"); - }); - - modelBuilder.Entity("PyroFetes.Models.QuotationProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("QuotationProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Quotation", "Quotation") - .WithMany("QuotationProducts") - .HasForeignKey("QuotationId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Quotation"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.HasOne("PyroFetes.Models.ProviderType", "ProviderType") - .WithMany("ServiceProviders") - .HasForeignKey("ProviderTypeId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("ProviderType"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.HasOne("PyroFetes.Models.City", "City") - .WithMany("Shows") - .HasForeignKey("CityId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("City"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowMaterial", b => - { - b.HasOne("PyroFetes.Models.Material", "Material") - .WithMany("ShowMaterials") - .HasForeignKey("MaterialId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowMaterials") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Material"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowStaff", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowStaffs") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("ShowStaffs") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowTruck", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowTrucks") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Truck", "Truck") - .WithMany("ShowTrucks") - .HasForeignKey("TruckId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Truck"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.HasOne("PyroFetes.Models.SoundCategory", "SoundCategory") - .WithMany("Sounds") - .HasForeignKey("SoundCategoryId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SoundCategory"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundTimecode", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("SoundTimecodes") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Sound", "Sound") - .WithMany("SoundTimecodes") - .HasForeignKey("SoundId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Sound"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffAvailability", b => - { - b.HasOne("PyroFetes.Models.Availability", "Availability") - .WithMany("StaffAvailabilities") - .HasForeignKey("AvailabilityId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffAvailabilities") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Availability"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffContact", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("StaffContacts") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffContacts") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffHistoryOfApproval", b => - { - b.HasOne("PyroFetes.Models.HistoryOfApproval", "HistoryOfApproval") - .WithMany("StaffHistoryOfApprovals") - .HasForeignKey("HistoryOfApprovalId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffHistoryOfApprovals") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("HistoryOfApproval"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.WarehouseProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("WarehouseProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany("WarehouseProducts") - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Availability", b => - { - b.Navigation("StaffAvailabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.City", b => - { - b.Navigation("Shows"); - }); - - modelBuilder.Entity("PyroFetes.Models.Classification", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.Color", b => - { - b.Navigation("ProductColors"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.Navigation("Communications"); - - b.Navigation("ContactServiceProviders"); - - b.Navigation("StaffContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.Navigation("Contacts"); - - b.Navigation("Quotations"); - }); - - modelBuilder.Entity("PyroFetes.Models.CustomerType", b => - { - b.Navigation("Customers"); - }); - - modelBuilder.Entity("PyroFetes.Models.Deliverer", b => - { - b.Navigation("DeliveryNotes"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.Navigation("ProductDeliveries"); - }); - - modelBuilder.Entity("PyroFetes.Models.Effect", b => - { - b.Navigation("ProductEffects"); - }); - - modelBuilder.Entity("PyroFetes.Models.HistoryOfApproval", b => - { - b.Navigation("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.Navigation("MaterialWarehouses"); - - b.Navigation("ShowMaterials"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.Navigation("Brands"); - - b.Navigation("Prices"); - - b.Navigation("ProductColors"); - - b.Navigation("ProductDeliveries"); - - b.Navigation("ProductEffects"); - - b.Navigation("ProductTimecodes"); - - b.Navigation("PurchaseProducts"); - - b.Navigation("QuotationProducts"); - - b.Navigation("WarehouseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductCategory", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderType", b => - { - b.Navigation("ServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseOrder", b => - { - b.Navigation("PurchaseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.Navigation("QuotationProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.Navigation("ContactServiceProviders"); - - b.Navigation("Contracts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.Navigation("Contracts"); - - b.Navigation("ProductTimecodes"); - - b.Navigation("ShowMaterials"); - - b.Navigation("ShowStaffs"); - - b.Navigation("ShowTrucks"); - - b.Navigation("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.Navigation("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundCategory", b => - { - b.Navigation("Sounds"); - }); - - modelBuilder.Entity("PyroFetes.Models.Staff", b => - { - b.Navigation("ExperienceLevels"); - - b.Navigation("ShowStaffs"); - - b.Navigation("StaffAvailabilities"); - - b.Navigation("StaffContacts"); - - b.Navigation("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Supplier", b => - { - b.Navigation("Prices"); - }); - - modelBuilder.Entity("PyroFetes.Models.Truck", b => - { - b.Navigation("ShowTrucks"); - }); - - modelBuilder.Entity("PyroFetes.Models.Warehouse", b => - { - b.Navigation("MaterialWarehouses"); - - b.Navigation("MovementsDestination"); - - b.Navigation("MovementsSource"); - - b.Navigation("WarehouseProducts"); - }); -#pragma warning restore 612, 618 - } - } -} diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251008103414_InitialDatabase.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251008103414_InitialDatabase.cs deleted file mode 100644 index 5c5dbc7..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251008103414_InitialDatabase.cs +++ /dev/null @@ -1,1392 +0,0 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; - -#nullable disable - -namespace PyroFetes.Migrations -{ - /// - public partial class InitialDatabase : Migration - { - /// - protected override void Up(MigrationBuilder migrationBuilder) - { - migrationBuilder.CreateTable( - name: "Availabilities", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - AvailabilityDate = table.Column(type: "date", nullable: false), - DeliveryDate = table.Column(type: "date", nullable: false), - ExpirationDate = table.Column(type: "date", nullable: false), - RenewallDate = table.Column(type: "date", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Availabilities", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "City", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - ZipCode = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_City", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Classifications", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Label = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Classifications", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Colors", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Label = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Colors", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "CustomerTypes", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Label = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_CustomerTypes", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Deliverers", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Transporter = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Deliverers", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Effects", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Label = table.Column(type: "nvarchar(200)", maxLength: 200, nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Effects", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "HistoryOfApprovals", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - DeliveryDate = table.Column(type: "date", nullable: false), - ExpirationDate = table.Column(type: "date", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_HistoryOfApprovals", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "ProductCategories", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Label = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_ProductCategories", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "ProviderTypes", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Label = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_ProviderTypes", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "PurchaseOrders", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - PurchaseConditions = table.Column(type: "nvarchar(300)", maxLength: 300, nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_PurchaseOrders", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Settings", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Logo = table.Column(type: "nvarchar(max)", nullable: false), - ElectronicSignature = table.Column(type: "nvarchar(max)", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Settings", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "SoundCategories", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_SoundCategories", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Staffs", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - FirstName = table.Column(type: "nvarchar(60)", maxLength: 60, nullable: false), - LastName = table.Column(type: "nvarchar(60)", maxLength: 60, nullable: false), - Profession = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - Email = table.Column(type: "nvarchar(120)", maxLength: 120, nullable: false), - F4T2NumberApproval = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - F4T2ExpirationDate = table.Column(type: "date", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Staffs", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Suppliers", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - Email = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - Phone = table.Column(type: "nvarchar(30)", maxLength: 30, nullable: false), - Address = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - ZipCode = table.Column(type: "int", nullable: false), - City = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - DeliveryDelay = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Suppliers", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Trucks", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Type = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: false), - MaxExplosiveCapacity = table.Column(type: "float", nullable: false), - Sizes = table.Column(type: "nvarchar(80)", maxLength: 80, nullable: false), - Status = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Trucks", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Users", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - Password = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), - Salt = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - Email = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - Fonction = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Users", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Warehouses", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - MaxWeight = table.Column(type: "int", nullable: false), - Current = table.Column(type: "int", nullable: false), - MinWeight = table.Column(type: "int", nullable: false), - Address = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - ZipCode = table.Column(type: "int", nullable: false), - City = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Warehouses", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Shows", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - Place = table.Column(type: "nvarchar(120)", maxLength: 120, nullable: false), - Description = table.Column(type: "nvarchar(500)", maxLength: 500, nullable: true), - Date = table.Column(type: "date", nullable: true), - PyrotechnicImplementationPlan = table.Column(type: "nvarchar(500)", maxLength: 500, nullable: false), - CityId = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Shows", x => x.Id); - table.ForeignKey( - name: "FK_Shows_City_CityId", - column: x => x.CityId, - principalTable: "City", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "Customers", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Note = table.Column(type: "nvarchar(200)", maxLength: 200, nullable: false), - CustomerTypeId = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Customers", x => x.Id); - table.ForeignKey( - name: "FK_Customers_CustomerTypes_CustomerTypeId", - column: x => x.CustomerTypeId, - principalTable: "CustomerTypes", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "DeliveryNotes", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - TrackingNumber = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - DelivererId = table.Column(type: "int", nullable: false), - EstimateDeliveryDate = table.Column(type: "date", nullable: false), - ExpeditionDate = table.Column(type: "date", nullable: false), - RealDeliveryDate = table.Column(type: "date", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_DeliveryNotes", x => x.Id); - table.ForeignKey( - name: "FK_DeliveryNotes_Deliverers_DelivererId", - column: x => x.DelivererId, - principalTable: "Deliverers", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "Providers", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Price = table.Column(type: "decimal(18,2)", nullable: false), - ProviderTypeId = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Providers", x => x.Id); - table.ForeignKey( - name: "FK_Providers_ProviderTypes_ProviderTypeId", - column: x => x.ProviderTypeId, - principalTable: "ProviderTypes", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "Sounds", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column(type: "nvarchar(120)", maxLength: 120, nullable: false), - Type = table.Column(type: "nvarchar(60)", maxLength: 60, nullable: false), - Artist = table.Column(type: "nvarchar(120)", maxLength: 120, nullable: false), - Duration = table.Column(type: "int", nullable: false), - Kind = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: false), - Format = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: false), - CreationDate = table.Column(type: "datetime2", nullable: true), - SoundCategoryId = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Sounds", x => x.Id); - table.ForeignKey( - name: "FK_Sounds_SoundCategories_SoundCategoryId", - column: x => x.SoundCategoryId, - principalTable: "SoundCategories", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "ExperienceLevels", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Label = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - StaffId = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_ExperienceLevels", x => x.Id); - table.ForeignKey( - name: "FK_ExperienceLevels_Staffs_StaffId", - column: x => x.StaffId, - principalTable: "Staffs", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "StaffAvailabilities", - columns: table => new - { - StaffId = table.Column(type: "int", nullable: false), - AvailabilityId = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_StaffAvailabilities", x => new { x.AvailabilityId, x.StaffId }); - table.ForeignKey( - name: "FK_StaffAvailabilities_Availabilities_AvailabilityId", - column: x => x.AvailabilityId, - principalTable: "Availabilities", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_StaffAvailabilities_Staffs_StaffId", - column: x => x.StaffId, - principalTable: "Staffs", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "StaffHistoryOfApprovals", - columns: table => new - { - StaffId = table.Column(type: "int", nullable: false), - HistoryOfApprovalId = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_StaffHistoryOfApprovals", x => new { x.HistoryOfApprovalId, x.StaffId }); - table.ForeignKey( - name: "FK_StaffHistoryOfApprovals_HistoryOfApprovals_HistoryOfApprovalId", - column: x => x.HistoryOfApprovalId, - principalTable: "HistoryOfApprovals", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_StaffHistoryOfApprovals_Staffs_StaffId", - column: x => x.StaffId, - principalTable: "Staffs", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "Materials", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - Quantity = table.Column(type: "int", nullable: false), - WarehouseId = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Materials", x => x.Id); - table.ForeignKey( - name: "FK_Materials_Warehouses_WarehouseId", - column: x => x.WarehouseId, - principalTable: "Warehouses", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "Movements", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Date = table.Column(type: "datetime2", nullable: false), - Start = table.Column(type: "datetime2", nullable: false), - Arrival = table.Column(type: "datetime2", nullable: false), - Quantity = table.Column(type: "int", nullable: false), - SourceWarehouseId = table.Column(type: "int", nullable: true), - DestinationWarehouseId = table.Column(type: "int", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_Movements", x => x.Id); - table.ForeignKey( - name: "FK_Movements_Warehouses_DestinationWarehouseId", - column: x => x.DestinationWarehouseId, - principalTable: "Warehouses", - principalColumn: "Id", - onDelete: ReferentialAction.Restrict); - table.ForeignKey( - name: "FK_Movements_Warehouses_SourceWarehouseId", - column: x => x.SourceWarehouseId, - principalTable: "Warehouses", - principalColumn: "Id", - onDelete: ReferentialAction.Restrict); - }); - - migrationBuilder.CreateTable( - name: "ShowStaff", - columns: table => new - { - StaffId = table.Column(type: "int", nullable: false), - ShowId = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_ShowStaff", x => new { x.StaffId, x.ShowId }); - table.ForeignKey( - name: "FK_ShowStaff_Shows_ShowId", - column: x => x.ShowId, - principalTable: "Shows", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_ShowStaff_Staffs_StaffId", - column: x => x.StaffId, - principalTable: "Staffs", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "ShowTruck", - columns: table => new - { - ShowId = table.Column(type: "int", nullable: false), - TruckId = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_ShowTruck", x => new { x.ShowId, x.TruckId }); - table.ForeignKey( - name: "FK_ShowTruck_Shows_ShowId", - column: x => x.ShowId, - principalTable: "Shows", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_ShowTruck_Trucks_TruckId", - column: x => x.TruckId, - principalTable: "Trucks", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "Contacts", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - LastName = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - FirstName = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - Email = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - PhoneNumber = table.Column(type: "nvarchar(30)", maxLength: 30, nullable: false), - Address = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - ZipCode = table.Column(type: "int", nullable: false), - City = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - Role = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - CustomerId = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Contacts", x => x.Id); - table.ForeignKey( - name: "FK_Contacts_Customers_CustomerId", - column: x => x.CustomerId, - principalTable: "Customers", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "Quotations", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Message = table.Column(type: "nvarchar(200)", maxLength: 200, nullable: false), - ConditionsSale = table.Column(type: "nvarchar(300)", maxLength: 300, nullable: false), - CustomerId = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Quotations", x => x.Id); - table.ForeignKey( - name: "FK_Quotations_Customers_CustomerId", - column: x => x.CustomerId, - principalTable: "Customers", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "Contract", - columns: table => new - { - ShowId = table.Column(type: "int", nullable: false), - ServiceProviderId = table.Column(type: "int", nullable: false), - TermsAndConditions = table.Column(type: "nvarchar(max)", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Contract", x => new { x.ShowId, x.ServiceProviderId }); - table.ForeignKey( - name: "FK_Contract_Providers_ServiceProviderId", - column: x => x.ServiceProviderId, - principalTable: "Providers", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_Contract_Shows_ShowId", - column: x => x.ShowId, - principalTable: "Shows", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "SoundTimecodes", - columns: table => new - { - ShowId = table.Column(type: "int", nullable: false), - SoundId = table.Column(type: "int", nullable: false), - Start = table.Column(type: "decimal(18,2)", nullable: false), - End = table.Column(type: "decimal(18,2)", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_SoundTimecodes", x => new { x.ShowId, x.SoundId }); - table.ForeignKey( - name: "FK_SoundTimecodes_Shows_ShowId", - column: x => x.ShowId, - principalTable: "Shows", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_SoundTimecodes_Sounds_SoundId", - column: x => x.SoundId, - principalTable: "Sounds", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "MaterialWarehouse", - columns: table => new - { - MaterialId = table.Column(type: "int", nullable: false), - WarehouseId = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_MaterialWarehouse", x => new { x.MaterialId, x.WarehouseId }); - table.ForeignKey( - name: "FK_MaterialWarehouse_Materials_MaterialId", - column: x => x.MaterialId, - principalTable: "Materials", - principalColumn: "Id", - onDelete: ReferentialAction.Restrict); - table.ForeignKey( - name: "FK_MaterialWarehouse_Warehouses_WarehouseId", - column: x => x.WarehouseId, - principalTable: "Warehouses", - principalColumn: "Id", - onDelete: ReferentialAction.Restrict); - }); - - migrationBuilder.CreateTable( - name: "ShowMaterial", - columns: table => new - { - ShowId = table.Column(type: "int", nullable: false), - MaterialId = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_ShowMaterial", x => new { x.ShowId, x.MaterialId }); - table.ForeignKey( - name: "FK_ShowMaterial_Materials_MaterialId", - column: x => x.MaterialId, - principalTable: "Materials", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_ShowMaterial_Shows_ShowId", - column: x => x.ShowId, - principalTable: "Shows", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "Products", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - References = table.Column(type: "int", nullable: false), - Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - Duration = table.Column(type: "decimal(18,2)", nullable: false), - Caliber = table.Column(type: "decimal(18,2)", nullable: false), - ApprovalNumber = table.Column(type: "int", nullable: false), - Weight = table.Column(type: "decimal(18,2)", nullable: false), - Nec = table.Column(type: "decimal(18,2)", nullable: false), - SellingPrice = table.Column(type: "decimal(18,2)", nullable: false), - Image = table.Column(type: "nvarchar(max)", nullable: false), - Link = table.Column(type: "nvarchar(200)", maxLength: 200, nullable: false), - MinimalQuantity = table.Column(type: "int", nullable: false), - ClassificationId = table.Column(type: "int", nullable: false), - ProductCategoryId = table.Column(type: "int", nullable: false), - MovementId = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Products", x => x.Id); - table.ForeignKey( - name: "FK_Products_Classifications_ClassificationId", - column: x => x.ClassificationId, - principalTable: "Classifications", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_Products_Movements_MovementId", - column: x => x.MovementId, - principalTable: "Movements", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_Products_ProductCategories_ProductCategoryId", - column: x => x.ProductCategoryId, - principalTable: "ProductCategories", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "Communications", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Calling = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - Email = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - Meeting = table.Column(type: "nvarchar(300)", maxLength: 300, nullable: false), - ContactId = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Communications", x => x.Id); - table.ForeignKey( - name: "FK_Communications_Contacts_ContactId", - column: x => x.ContactId, - principalTable: "Contacts", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "ContactServiceProvider", - columns: table => new - { - ContactId = table.Column(type: "int", nullable: false), - ServiceProviderId = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_ContactServiceProvider", x => new { x.ContactId, x.ServiceProviderId }); - table.ForeignKey( - name: "FK_ContactServiceProvider_Contacts_ContactId", - column: x => x.ContactId, - principalTable: "Contacts", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_ContactServiceProvider_Providers_ServiceProviderId", - column: x => x.ServiceProviderId, - principalTable: "Providers", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "ProviderContacts", - columns: table => new - { - ProviderId = table.Column(type: "int", nullable: false), - ContactId = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_ProviderContacts", x => new { x.ContactId, x.ProviderId }); - table.ForeignKey( - name: "FK_ProviderContacts_Contacts_ContactId", - column: x => x.ContactId, - principalTable: "Contacts", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_ProviderContacts_Providers_ProviderId", - column: x => x.ProviderId, - principalTable: "Providers", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "StaffContacts", - columns: table => new - { - StaffId = table.Column(type: "int", nullable: false), - ContactId = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_StaffContacts", x => new { x.ContactId, x.StaffId }); - table.ForeignKey( - name: "FK_StaffContacts_Contacts_ContactId", - column: x => x.ContactId, - principalTable: "Contacts", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_StaffContacts_Staffs_StaffId", - column: x => x.StaffId, - principalTable: "Staffs", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "Brands", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - ProductId = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Brands", x => x.Id); - table.ForeignKey( - name: "FK_Brands_Products_ProductId", - column: x => x.ProductId, - principalTable: "Products", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "Prices", - columns: table => new - { - ProductId = table.Column(type: "int", nullable: false), - SupplierId = table.Column(type: "int", nullable: false), - SellingPrice = table.Column(type: "decimal(18,2)", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Prices", x => new { x.ProductId, x.SupplierId }); - table.ForeignKey( - name: "FK_Prices_Products_ProductId", - column: x => x.ProductId, - principalTable: "Products", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_Prices_Suppliers_SupplierId", - column: x => x.SupplierId, - principalTable: "Suppliers", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "ProductColors", - columns: table => new - { - ProductId = table.Column(type: "int", nullable: false), - ColorId = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_ProductColors", x => new { x.ProductId, x.ColorId }); - table.ForeignKey( - name: "FK_ProductColors_Colors_ColorId", - column: x => x.ColorId, - principalTable: "Colors", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_ProductColors_Products_ProductId", - column: x => x.ProductId, - principalTable: "Products", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "ProductDeliveries", - columns: table => new - { - ProductId = table.Column(type: "int", nullable: false), - DeliveryNoteId = table.Column(type: "int", nullable: false), - Quantity = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_ProductDeliveries", x => new { x.ProductId, x.DeliveryNoteId }); - table.ForeignKey( - name: "FK_ProductDeliveries_DeliveryNotes_DeliveryNoteId", - column: x => x.DeliveryNoteId, - principalTable: "DeliveryNotes", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_ProductDeliveries_Products_ProductId", - column: x => x.ProductId, - principalTable: "Products", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "ProductEffects", - columns: table => new - { - ProductId = table.Column(type: "int", nullable: false), - EffectId = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_ProductEffects", x => new { x.ProductId, x.EffectId }); - table.ForeignKey( - name: "FK_ProductEffects_Effects_EffectId", - column: x => x.EffectId, - principalTable: "Effects", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_ProductEffects_Products_ProductId", - column: x => x.ProductId, - principalTable: "Products", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "ProductTimecode", - columns: table => new - { - ProductId = table.Column(type: "int", nullable: false), - ShowId = table.Column(type: "int", nullable: false), - Start = table.Column(type: "decimal(18,2)", nullable: false), - End = table.Column(type: "decimal(18,2)", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_ProductTimecode", x => new { x.ProductId, x.ShowId }); - table.ForeignKey( - name: "FK_ProductTimecode_Products_ProductId", - column: x => x.ProductId, - principalTable: "Products", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_ProductTimecode_Shows_ShowId", - column: x => x.ShowId, - principalTable: "Shows", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "PurchaseProducts", - columns: table => new - { - ProductId = table.Column(type: "int", nullable: false), - PurchaseOrderId = table.Column(type: "int", nullable: false), - Quantity = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_PurchaseProducts", x => new { x.ProductId, x.PurchaseOrderId }); - table.ForeignKey( - name: "FK_PurchaseProducts_Products_ProductId", - column: x => x.ProductId, - principalTable: "Products", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_PurchaseProducts_PurchaseOrders_PurchaseOrderId", - column: x => x.PurchaseOrderId, - principalTable: "PurchaseOrders", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "QuotationProducts", - columns: table => new - { - ProductId = table.Column(type: "int", nullable: false), - QuotationId = table.Column(type: "int", nullable: false), - Quantity = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_QuotationProducts", x => new { x.ProductId, x.QuotationId }); - table.ForeignKey( - name: "FK_QuotationProducts_Products_ProductId", - column: x => x.ProductId, - principalTable: "Products", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_QuotationProducts_Quotations_QuotationId", - column: x => x.QuotationId, - principalTable: "Quotations", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "WarehouseProducts", - columns: table => new - { - ProductId = table.Column(type: "int", nullable: false), - WarehouseId = table.Column(type: "int", nullable: false), - Quantity = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_WarehouseProducts", x => new { x.ProductId, x.WarehouseId }); - table.ForeignKey( - name: "FK_WarehouseProducts_Products_ProductId", - column: x => x.ProductId, - principalTable: "Products", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_WarehouseProducts_Warehouses_WarehouseId", - column: x => x.WarehouseId, - principalTable: "Warehouses", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateIndex( - name: "IX_Brands_ProductId", - table: "Brands", - column: "ProductId"); - - migrationBuilder.CreateIndex( - name: "IX_Communications_ContactId", - table: "Communications", - column: "ContactId"); - - migrationBuilder.CreateIndex( - name: "IX_Contacts_CustomerId", - table: "Contacts", - column: "CustomerId"); - - migrationBuilder.CreateIndex( - name: "IX_ContactServiceProvider_ServiceProviderId", - table: "ContactServiceProvider", - column: "ServiceProviderId"); - - migrationBuilder.CreateIndex( - name: "IX_Contract_ServiceProviderId", - table: "Contract", - column: "ServiceProviderId"); - - migrationBuilder.CreateIndex( - name: "IX_Customers_CustomerTypeId", - table: "Customers", - column: "CustomerTypeId"); - - migrationBuilder.CreateIndex( - name: "IX_DeliveryNotes_DelivererId", - table: "DeliveryNotes", - column: "DelivererId"); - - migrationBuilder.CreateIndex( - name: "IX_ExperienceLevels_StaffId", - table: "ExperienceLevels", - column: "StaffId"); - - migrationBuilder.CreateIndex( - name: "IX_Materials_WarehouseId", - table: "Materials", - column: "WarehouseId"); - - migrationBuilder.CreateIndex( - name: "IX_MaterialWarehouse_WarehouseId", - table: "MaterialWarehouse", - column: "WarehouseId"); - - migrationBuilder.CreateIndex( - name: "IX_Movements_DestinationWarehouseId", - table: "Movements", - column: "DestinationWarehouseId"); - - migrationBuilder.CreateIndex( - name: "IX_Movements_SourceWarehouseId", - table: "Movements", - column: "SourceWarehouseId"); - - migrationBuilder.CreateIndex( - name: "IX_Prices_SupplierId", - table: "Prices", - column: "SupplierId"); - - migrationBuilder.CreateIndex( - name: "IX_ProductColors_ColorId", - table: "ProductColors", - column: "ColorId"); - - migrationBuilder.CreateIndex( - name: "IX_ProductDeliveries_DeliveryNoteId", - table: "ProductDeliveries", - column: "DeliveryNoteId"); - - migrationBuilder.CreateIndex( - name: "IX_ProductEffects_EffectId", - table: "ProductEffects", - column: "EffectId"); - - migrationBuilder.CreateIndex( - name: "IX_Products_ClassificationId", - table: "Products", - column: "ClassificationId"); - - migrationBuilder.CreateIndex( - name: "IX_Products_MovementId", - table: "Products", - column: "MovementId"); - - migrationBuilder.CreateIndex( - name: "IX_Products_ProductCategoryId", - table: "Products", - column: "ProductCategoryId"); - - migrationBuilder.CreateIndex( - name: "IX_ProductTimecode_ShowId", - table: "ProductTimecode", - column: "ShowId"); - - migrationBuilder.CreateIndex( - name: "IX_ProviderContacts_ProviderId", - table: "ProviderContacts", - column: "ProviderId"); - - migrationBuilder.CreateIndex( - name: "IX_Providers_ProviderTypeId", - table: "Providers", - column: "ProviderTypeId"); - - migrationBuilder.CreateIndex( - name: "IX_PurchaseProducts_PurchaseOrderId", - table: "PurchaseProducts", - column: "PurchaseOrderId"); - - migrationBuilder.CreateIndex( - name: "IX_QuotationProducts_QuotationId", - table: "QuotationProducts", - column: "QuotationId"); - - migrationBuilder.CreateIndex( - name: "IX_Quotations_CustomerId", - table: "Quotations", - column: "CustomerId"); - - migrationBuilder.CreateIndex( - name: "IX_ShowMaterial_MaterialId", - table: "ShowMaterial", - column: "MaterialId"); - - migrationBuilder.CreateIndex( - name: "IX_Shows_CityId", - table: "Shows", - column: "CityId"); - - migrationBuilder.CreateIndex( - name: "IX_ShowStaff_ShowId", - table: "ShowStaff", - column: "ShowId"); - - migrationBuilder.CreateIndex( - name: "IX_ShowTruck_TruckId", - table: "ShowTruck", - column: "TruckId"); - - migrationBuilder.CreateIndex( - name: "IX_Sounds_SoundCategoryId", - table: "Sounds", - column: "SoundCategoryId"); - - migrationBuilder.CreateIndex( - name: "IX_SoundTimecodes_SoundId", - table: "SoundTimecodes", - column: "SoundId"); - - migrationBuilder.CreateIndex( - name: "IX_StaffAvailabilities_StaffId", - table: "StaffAvailabilities", - column: "StaffId"); - - migrationBuilder.CreateIndex( - name: "IX_StaffContacts_StaffId", - table: "StaffContacts", - column: "StaffId"); - - migrationBuilder.CreateIndex( - name: "IX_StaffHistoryOfApprovals_StaffId", - table: "StaffHistoryOfApprovals", - column: "StaffId"); - - migrationBuilder.CreateIndex( - name: "IX_WarehouseProducts_WarehouseId", - table: "WarehouseProducts", - column: "WarehouseId"); - } - - /// - protected override void Down(MigrationBuilder migrationBuilder) - { - migrationBuilder.DropTable( - name: "Brands"); - - migrationBuilder.DropTable( - name: "Communications"); - - migrationBuilder.DropTable( - name: "ContactServiceProvider"); - - migrationBuilder.DropTable( - name: "Contract"); - - migrationBuilder.DropTable( - name: "ExperienceLevels"); - - migrationBuilder.DropTable( - name: "MaterialWarehouse"); - - migrationBuilder.DropTable( - name: "Prices"); - - migrationBuilder.DropTable( - name: "ProductColors"); - - migrationBuilder.DropTable( - name: "ProductDeliveries"); - - migrationBuilder.DropTable( - name: "ProductEffects"); - - migrationBuilder.DropTable( - name: "ProductTimecode"); - - migrationBuilder.DropTable( - name: "ProviderContacts"); - - migrationBuilder.DropTable( - name: "PurchaseProducts"); - - migrationBuilder.DropTable( - name: "QuotationProducts"); - - migrationBuilder.DropTable( - name: "Settings"); - - migrationBuilder.DropTable( - name: "ShowMaterial"); - - migrationBuilder.DropTable( - name: "ShowStaff"); - - migrationBuilder.DropTable( - name: "ShowTruck"); - - migrationBuilder.DropTable( - name: "SoundTimecodes"); - - migrationBuilder.DropTable( - name: "StaffAvailabilities"); - - migrationBuilder.DropTable( - name: "StaffContacts"); - - migrationBuilder.DropTable( - name: "StaffHistoryOfApprovals"); - - migrationBuilder.DropTable( - name: "Users"); - - migrationBuilder.DropTable( - name: "WarehouseProducts"); - - migrationBuilder.DropTable( - name: "Suppliers"); - - migrationBuilder.DropTable( - name: "Colors"); - - migrationBuilder.DropTable( - name: "DeliveryNotes"); - - migrationBuilder.DropTable( - name: "Effects"); - - migrationBuilder.DropTable( - name: "Providers"); - - migrationBuilder.DropTable( - name: "PurchaseOrders"); - - migrationBuilder.DropTable( - name: "Quotations"); - - migrationBuilder.DropTable( - name: "Materials"); - - migrationBuilder.DropTable( - name: "Trucks"); - - migrationBuilder.DropTable( - name: "Shows"); - - migrationBuilder.DropTable( - name: "Sounds"); - - migrationBuilder.DropTable( - name: "Availabilities"); - - migrationBuilder.DropTable( - name: "Contacts"); - - migrationBuilder.DropTable( - name: "HistoryOfApprovals"); - - migrationBuilder.DropTable( - name: "Staffs"); - - migrationBuilder.DropTable( - name: "Products"); - - migrationBuilder.DropTable( - name: "Deliverers"); - - migrationBuilder.DropTable( - name: "ProviderTypes"); - - migrationBuilder.DropTable( - name: "City"); - - migrationBuilder.DropTable( - name: "SoundCategories"); - - migrationBuilder.DropTable( - name: "Customers"); - - migrationBuilder.DropTable( - name: "Classifications"); - - migrationBuilder.DropTable( - name: "Movements"); - - migrationBuilder.DropTable( - name: "ProductCategories"); - - migrationBuilder.DropTable( - name: "CustomerTypes"); - - migrationBuilder.DropTable( - name: "Warehouses"); - } - } -} diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251010083620_FixingDatabase.Designer.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251010083620_FixingDatabase.Designer.cs deleted file mode 100644 index 7fcc4e0..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251010083620_FixingDatabase.Designer.cs +++ /dev/null @@ -1,1950 +0,0 @@ -// -using System; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Metadata; -using Microsoft.EntityFrameworkCore.Migrations; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using PyroFetes; - -#nullable disable - -namespace PyroFetes.Migrations -{ - [DbContext(typeof(PyroFetesDbContext))] - [Migration("20251010083620_FixingDatabase")] - partial class FixingDatabase - { - /// - protected override void BuildTargetModel(ModelBuilder modelBuilder) - { -#pragma warning disable 612, 618 - modelBuilder - .HasAnnotation("ProductVersion", "8.0.20") - .HasAnnotation("Relational:MaxIdentifierLength", 128); - - SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); - - modelBuilder.Entity("PyroFetes.Models.Availability", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("AvailabilityDate") - .HasColumnType("date"); - - b.Property("DeliveryDate") - .HasColumnType("date"); - - b.Property("ExpirationDate") - .HasColumnType("date"); - - b.Property("RenewallDate") - .HasColumnType("date"); - - b.HasKey("Id"); - - b.ToTable("Availabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.Brand", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ProductId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("ProductId"); - - b.ToTable("Brands"); - }); - - modelBuilder.Entity("PyroFetes.Models.City", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.ToTable("City"); - }); - - modelBuilder.Entity("PyroFetes.Models.Classification", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Classifications"); - }); - - modelBuilder.Entity("PyroFetes.Models.Color", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Colors"); - }); - - modelBuilder.Entity("PyroFetes.Models.Communication", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Calling") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Meeting") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.HasKey("Id"); - - b.HasIndex("ContactId"); - - b.ToTable("Communications"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("CustomerId") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("FirstName") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("LastName") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("PhoneNumber") - .IsRequired() - .HasMaxLength(30) - .HasColumnType("nvarchar(30)"); - - b.Property("Role") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("CustomerId"); - - b.ToTable("Contacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ContactServiceProvider", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("ServiceProviderId") - .HasColumnType("int"); - - b.HasKey("ContactId", "ServiceProviderId"); - - b.HasIndex("ServiceProviderId"); - - b.ToTable("ContactServiceProvider"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contract", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("ServiceProviderId") - .HasColumnType("int"); - - b.Property("TermsAndConditions") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.HasKey("ShowId", "ServiceProviderId"); - - b.HasIndex("ServiceProviderId"); - - b.ToTable("Contract"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("CustomerTypeId") - .HasColumnType("int"); - - b.Property("Note") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.HasIndex("CustomerTypeId"); - - b.ToTable("Customers"); - }); - - modelBuilder.Entity("PyroFetes.Models.CustomerType", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("CustomerTypes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Deliverer", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Transporter") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Deliverers"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("DelivererId") - .HasColumnType("int"); - - b.Property("EstimateDeliveryDate") - .HasColumnType("date"); - - b.Property("ExpeditionDate") - .HasColumnType("date"); - - b.Property("RealDeliveryDate") - .HasColumnType("date"); - - b.Property("TrackingNumber") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.HasIndex("DelivererId"); - - b.ToTable("DeliveryNotes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Effect", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.ToTable("Effects"); - }); - - modelBuilder.Entity("PyroFetes.Models.ExperienceLevel", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("StaffId"); - - b.ToTable("ExperienceLevels"); - }); - - modelBuilder.Entity("PyroFetes.Models.HistoryOfApproval", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("DeliveryDate") - .HasColumnType("date"); - - b.Property("ExpirationDate") - .HasColumnType("date"); - - b.HasKey("Id"); - - b.ToTable("HistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("WarehouseId"); - - b.ToTable("Materials"); - }); - - modelBuilder.Entity("PyroFetes.Models.MaterialWarehouse", b => - { - b.Property("MaterialId") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.HasKey("MaterialId", "WarehouseId"); - - b.HasIndex("WarehouseId"); - - b.ToTable("MaterialWarehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Arrival") - .HasColumnType("datetime2"); - - b.Property("Date") - .HasColumnType("datetime2"); - - b.Property("DestinationWarehouseId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.Property("SourceWarehouseId") - .HasColumnType("int"); - - b.Property("Start") - .HasColumnType("datetime2"); - - b.HasKey("Id"); - - b.HasIndex("DestinationWarehouseId"); - - b.HasIndex("SourceWarehouseId"); - - b.ToTable("Movements"); - }); - - modelBuilder.Entity("PyroFetes.Models.Price", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("SupplierId") - .HasColumnType("int"); - - b.Property("SellingPrice") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ProductId", "SupplierId"); - - b.HasIndex("SupplierId"); - - b.ToTable("Prices"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ApprovalNumber") - .HasColumnType("int"); - - b.Property("Caliber") - .HasColumnType("decimal(18,2)"); - - b.Property("ClassificationId") - .HasColumnType("int"); - - b.Property("Duration") - .HasColumnType("decimal(18,2)"); - - b.Property("Image") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.Property("Link") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.Property("MinimalQuantity") - .HasColumnType("int"); - - b.Property("MovementId") - .HasColumnType("int"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Nec") - .HasColumnType("decimal(18,2)"); - - b.Property("ProductCategoryId") - .HasColumnType("int"); - - b.Property("Reference") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("nvarchar(20)"); - - b.Property("Weight") - .HasColumnType("decimal(18,2)"); - - b.HasKey("Id"); - - b.HasIndex("ClassificationId"); - - b.HasIndex("MovementId"); - - b.HasIndex("ProductCategoryId"); - - b.ToTable("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductCategory", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("ProductCategories"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductColor", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("ColorId") - .HasColumnType("int"); - - b.HasKey("ProductId", "ColorId"); - - b.HasIndex("ColorId"); - - b.ToTable("ProductColors"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductDelivery", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("DeliveryNoteId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "DeliveryNoteId"); - - b.HasIndex("DeliveryNoteId"); - - b.ToTable("ProductDeliveries"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductEffect", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("EffectId") - .HasColumnType("int"); - - b.HasKey("ProductId", "EffectId"); - - b.HasIndex("EffectId"); - - b.ToTable("ProductEffects"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductTimecode", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("End") - .HasColumnType("decimal(18,2)"); - - b.Property("Start") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ProductId", "ShowId"); - - b.HasIndex("ShowId"); - - b.ToTable("ProductTimecode"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderContact", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("ProviderId") - .HasColumnType("int"); - - b.HasKey("ContactId", "ProviderId"); - - b.HasIndex("ProviderId"); - - b.ToTable("ProviderContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderType", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("ProviderTypes"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseOrder", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("PurchaseConditions") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.HasKey("Id"); - - b.ToTable("PurchaseOrders"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("PurchaseOrderId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "PurchaseOrderId"); - - b.HasIndex("PurchaseOrderId"); - - b.ToTable("PurchaseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ConditionsSale") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.Property("CustomerId") - .HasColumnType("int"); - - b.Property("Message") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.HasIndex("CustomerId"); - - b.ToTable("Quotations"); - }); - - modelBuilder.Entity("PyroFetes.Models.QuotationProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("QuotationId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "QuotationId"); - - b.HasIndex("QuotationId"); - - b.ToTable("QuotationProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Price") - .HasColumnType("decimal(18,2)"); - - b.Property("ProviderTypeId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("ProviderTypeId"); - - b.ToTable("Providers"); - }); - - modelBuilder.Entity("PyroFetes.Models.Setting", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ElectronicSignature") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.Property("Logo") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.HasKey("Id"); - - b.ToTable("Settings"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("CityId") - .HasColumnType("int"); - - b.Property("Date") - .HasColumnType("date"); - - b.Property("Description") - .HasMaxLength(500) - .HasColumnType("nvarchar(500)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Place") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("PyrotechnicImplementationPlan") - .IsRequired() - .HasMaxLength(500) - .HasColumnType("nvarchar(500)"); - - b.HasKey("Id"); - - b.HasIndex("CityId"); - - b.ToTable("Shows"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowMaterial", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("MaterialId") - .HasColumnType("int"); - - b.HasKey("ShowId", "MaterialId"); - - b.HasIndex("MaterialId"); - - b.ToTable("ShowMaterial"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowStaff", b => - { - b.Property("StaffId") - .HasColumnType("int"); - - b.Property("ShowId") - .HasColumnType("int"); - - b.HasKey("StaffId", "ShowId"); - - b.HasIndex("ShowId"); - - b.ToTable("ShowStaff"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowTruck", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("TruckId") - .HasColumnType("int"); - - b.HasKey("ShowId", "TruckId"); - - b.HasIndex("TruckId"); - - b.ToTable("ShowTruck"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Artist") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("CreationDate") - .HasColumnType("datetime2"); - - b.Property("Duration") - .IsRequired() - .HasColumnType("int"); - - b.Property("Format") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Kind") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("SoundCategoryId") - .HasColumnType("int"); - - b.Property("Type") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.HasKey("Id"); - - b.HasIndex("SoundCategoryId"); - - b.ToTable("Sounds"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundCategory", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("SoundCategories"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundTimecode", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("SoundId") - .HasColumnType("int"); - - b.Property("End") - .HasColumnType("decimal(18,2)"); - - b.Property("Start") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ShowId", "SoundId"); - - b.HasIndex("SoundId"); - - b.ToTable("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Staff", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Email") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("F4T2ExpirationDate") - .HasColumnType("date"); - - b.Property("F4T2NumberApproval") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("FirstName") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.Property("LastName") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.Property("Profession") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Staffs"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffAvailability", b => - { - b.Property("AvailabilityId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("AvailabilityId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffAvailabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffContact", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("ContactId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffHistoryOfApproval", b => - { - b.Property("HistoryOfApprovalId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("HistoryOfApprovalId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Supplier", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("DeliveryDelay") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Phone") - .IsRequired() - .HasMaxLength(30) - .HasColumnType("nvarchar(30)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.ToTable("Suppliers"); - }); - - modelBuilder.Entity("PyroFetes.Models.Truck", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("MaxExplosiveCapacity") - .IsRequired() - .HasColumnType("float"); - - b.Property("Sizes") - .IsRequired() - .HasMaxLength(80) - .HasColumnType("nvarchar(80)"); - - b.Property("Status") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Type") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.HasKey("Id"); - - b.ToTable("Trucks"); - }); - - modelBuilder.Entity("PyroFetes.Models.User", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Fonction") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Password") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)"); - - b.Property("Salt") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Users"); - }); - - modelBuilder.Entity("PyroFetes.Models.Warehouse", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Current") - .HasColumnType("int"); - - b.Property("MaxWeight") - .HasColumnType("int"); - - b.Property("MinWeight") - .HasColumnType("int"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.ToTable("Warehouses"); - }); - - modelBuilder.Entity("PyroFetes.Models.WarehouseProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "WarehouseId"); - - b.HasIndex("WarehouseId"); - - b.ToTable("WarehouseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Brand", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("Brands") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.Communication", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("Communications") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.HasOne("PyroFetes.Models.Customer", "Customer") - .WithMany("Contacts") - .HasForeignKey("CustomerId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Customer"); - }); - - modelBuilder.Entity("PyroFetes.Models.ContactServiceProvider", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("ContactServiceProviders") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ServiceProvider", "ServiceProvider") - .WithMany("ContactServiceProviders") - .HasForeignKey("ServiceProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("ServiceProvider"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contract", b => - { - b.HasOne("PyroFetes.Models.ServiceProvider", "ServiceProvider") - .WithMany("Contracts") - .HasForeignKey("ServiceProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("Contracts") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("ServiceProvider"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.HasOne("PyroFetes.Models.CustomerType", "CustomerType") - .WithMany("Customers") - .HasForeignKey("CustomerTypeId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("CustomerType"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.HasOne("PyroFetes.Models.Deliverer", "Deliverer") - .WithMany("DeliveryNotes") - .HasForeignKey("DelivererId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Deliverer"); - }); - - modelBuilder.Entity("PyroFetes.Models.ExperienceLevel", b => - { - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("ExperienceLevels") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany() - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.MaterialWarehouse", b => - { - b.HasOne("PyroFetes.Models.Material", "Material") - .WithMany("MaterialWarehouses") - .HasForeignKey("MaterialId") - .OnDelete(DeleteBehavior.Restrict) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany("MaterialWarehouses") - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Restrict) - .IsRequired(); - - b.Navigation("Material"); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.HasOne("PyroFetes.Models.Warehouse", "DestinationWarehouse") - .WithMany("MovementsDestination") - .HasForeignKey("DestinationWarehouseId") - .OnDelete(DeleteBehavior.Restrict); - - b.HasOne("PyroFetes.Models.Warehouse", "SourceWarehouse") - .WithMany("MovementsSource") - .HasForeignKey("SourceWarehouseId") - .OnDelete(DeleteBehavior.Restrict); - - b.Navigation("DestinationWarehouse"); - - b.Navigation("SourceWarehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Price", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("Prices") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Supplier", "Supplier") - .WithMany("Prices") - .HasForeignKey("SupplierId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Supplier"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.HasOne("PyroFetes.Models.Classification", "Classification") - .WithMany("Products") - .HasForeignKey("ClassificationId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Movement", "Movement") - .WithMany("Products") - .HasForeignKey("MovementId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ProductCategory", "ProductCategory") - .WithMany("Products") - .HasForeignKey("ProductCategoryId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Classification"); - - b.Navigation("Movement"); - - b.Navigation("ProductCategory"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductColor", b => - { - b.HasOne("PyroFetes.Models.Color", "Color") - .WithMany("ProductColors") - .HasForeignKey("ColorId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductColors") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Color"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductDelivery", b => - { - b.HasOne("PyroFetes.Models.DeliveryNote", "DeliveryNote") - .WithMany("ProductDeliveries") - .HasForeignKey("DeliveryNoteId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductDeliveries") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("DeliveryNote"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductEffect", b => - { - b.HasOne("PyroFetes.Models.Effect", "Effect") - .WithMany("ProductEffects") - .HasForeignKey("EffectId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductEffects") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Effect"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductTimecode", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductTimecodes") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ProductTimecodes") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderContact", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany() - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ServiceProvider", "Provider") - .WithMany() - .HasForeignKey("ProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("Provider"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("PurchaseProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.PurchaseOrder", "PurchaseOrder") - .WithMany("PurchaseProducts") - .HasForeignKey("PurchaseOrderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("PurchaseOrder"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.HasOne("PyroFetes.Models.Customer", "Customer") - .WithMany("Quotations") - .HasForeignKey("CustomerId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Customer"); - }); - - modelBuilder.Entity("PyroFetes.Models.QuotationProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("QuotationProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Quotation", "Quotation") - .WithMany("QuotationProducts") - .HasForeignKey("QuotationId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Quotation"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.HasOne("PyroFetes.Models.ProviderType", "ProviderType") - .WithMany("ServiceProviders") - .HasForeignKey("ProviderTypeId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("ProviderType"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.HasOne("PyroFetes.Models.City", "City") - .WithMany("Shows") - .HasForeignKey("CityId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("City"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowMaterial", b => - { - b.HasOne("PyroFetes.Models.Material", "Material") - .WithMany("ShowMaterials") - .HasForeignKey("MaterialId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowMaterials") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Material"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowStaff", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowStaffs") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("ShowStaffs") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowTruck", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowTrucks") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Truck", "Truck") - .WithMany("ShowTrucks") - .HasForeignKey("TruckId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Truck"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.HasOne("PyroFetes.Models.SoundCategory", "SoundCategory") - .WithMany("Sounds") - .HasForeignKey("SoundCategoryId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SoundCategory"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundTimecode", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("SoundTimecodes") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Sound", "Sound") - .WithMany("SoundTimecodes") - .HasForeignKey("SoundId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Sound"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffAvailability", b => - { - b.HasOne("PyroFetes.Models.Availability", "Availability") - .WithMany("StaffAvailabilities") - .HasForeignKey("AvailabilityId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffAvailabilities") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Availability"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffContact", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("StaffContacts") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffContacts") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffHistoryOfApproval", b => - { - b.HasOne("PyroFetes.Models.HistoryOfApproval", "HistoryOfApproval") - .WithMany("StaffHistoryOfApprovals") - .HasForeignKey("HistoryOfApprovalId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffHistoryOfApprovals") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("HistoryOfApproval"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.WarehouseProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("WarehouseProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany("WarehouseProducts") - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Availability", b => - { - b.Navigation("StaffAvailabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.City", b => - { - b.Navigation("Shows"); - }); - - modelBuilder.Entity("PyroFetes.Models.Classification", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.Color", b => - { - b.Navigation("ProductColors"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.Navigation("Communications"); - - b.Navigation("ContactServiceProviders"); - - b.Navigation("StaffContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.Navigation("Contacts"); - - b.Navigation("Quotations"); - }); - - modelBuilder.Entity("PyroFetes.Models.CustomerType", b => - { - b.Navigation("Customers"); - }); - - modelBuilder.Entity("PyroFetes.Models.Deliverer", b => - { - b.Navigation("DeliveryNotes"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.Navigation("ProductDeliveries"); - }); - - modelBuilder.Entity("PyroFetes.Models.Effect", b => - { - b.Navigation("ProductEffects"); - }); - - modelBuilder.Entity("PyroFetes.Models.HistoryOfApproval", b => - { - b.Navigation("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.Navigation("MaterialWarehouses"); - - b.Navigation("ShowMaterials"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.Navigation("Brands"); - - b.Navigation("Prices"); - - b.Navigation("ProductColors"); - - b.Navigation("ProductDeliveries"); - - b.Navigation("ProductEffects"); - - b.Navigation("ProductTimecodes"); - - b.Navigation("PurchaseProducts"); - - b.Navigation("QuotationProducts"); - - b.Navigation("WarehouseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductCategory", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderType", b => - { - b.Navigation("ServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseOrder", b => - { - b.Navigation("PurchaseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.Navigation("QuotationProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.Navigation("ContactServiceProviders"); - - b.Navigation("Contracts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.Navigation("Contracts"); - - b.Navigation("ProductTimecodes"); - - b.Navigation("ShowMaterials"); - - b.Navigation("ShowStaffs"); - - b.Navigation("ShowTrucks"); - - b.Navigation("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.Navigation("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundCategory", b => - { - b.Navigation("Sounds"); - }); - - modelBuilder.Entity("PyroFetes.Models.Staff", b => - { - b.Navigation("ExperienceLevels"); - - b.Navigation("ShowStaffs"); - - b.Navigation("StaffAvailabilities"); - - b.Navigation("StaffContacts"); - - b.Navigation("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Supplier", b => - { - b.Navigation("Prices"); - }); - - modelBuilder.Entity("PyroFetes.Models.Truck", b => - { - b.Navigation("ShowTrucks"); - }); - - modelBuilder.Entity("PyroFetes.Models.Warehouse", b => - { - b.Navigation("MaterialWarehouses"); - - b.Navigation("MovementsDestination"); - - b.Navigation("MovementsSource"); - - b.Navigation("WarehouseProducts"); - }); -#pragma warning restore 612, 618 - } - } -} diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251010083620_FixingDatabase.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251010083620_FixingDatabase.cs deleted file mode 100644 index 1073d64..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251010083620_FixingDatabase.cs +++ /dev/null @@ -1,52 +0,0 @@ -using Microsoft.EntityFrameworkCore.Migrations; - -#nullable disable - -namespace PyroFetes.Migrations -{ - /// - public partial class FixingDatabase : Migration - { - /// - protected override void Up(MigrationBuilder migrationBuilder) - { - migrationBuilder.DropColumn( - name: "References", - table: "Products"); - - migrationBuilder.DropColumn( - name: "SellingPrice", - table: "Products"); - - migrationBuilder.AddColumn( - name: "Reference", - table: "Products", - type: "nvarchar(20)", - maxLength: 20, - nullable: false, - defaultValue: ""); - } - - /// - protected override void Down(MigrationBuilder migrationBuilder) - { - migrationBuilder.DropColumn( - name: "Reference", - table: "Products"); - - migrationBuilder.AddColumn( - name: "References", - table: "Products", - type: "int", - nullable: false, - defaultValue: 0); - - migrationBuilder.AddColumn( - name: "SellingPrice", - table: "Products", - type: "decimal(18,2)", - nullable: false, - defaultValue: 0m); - } - } -} diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251013175653_AddingEntitiesInDatabase.Designer.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251013175653_AddingEntitiesInDatabase.Designer.cs deleted file mode 100644 index e65403c..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251013175653_AddingEntitiesInDatabase.Designer.cs +++ /dev/null @@ -1,1963 +0,0 @@ -// -using System; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Metadata; -using Microsoft.EntityFrameworkCore.Migrations; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using PyroFetes; - -#nullable disable - -namespace PyroFetes.Migrations -{ - [DbContext(typeof(PyroFetesDbContext))] - [Migration("20251013175653_AddingEntitiesInDatabase")] - partial class AddingEntitiesInDatabase - { - /// - protected override void BuildTargetModel(ModelBuilder modelBuilder) - { -#pragma warning disable 612, 618 - modelBuilder - .HasAnnotation("ProductVersion", "8.0.20") - .HasAnnotation("Relational:MaxIdentifierLength", 128); - - SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); - - modelBuilder.Entity("PyroFetes.Models.Availability", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("AvailabilityDate") - .HasColumnType("date"); - - b.Property("DeliveryDate") - .HasColumnType("date"); - - b.Property("ExpirationDate") - .HasColumnType("date"); - - b.Property("RenewallDate") - .HasColumnType("date"); - - b.HasKey("Id"); - - b.ToTable("Availabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.Brand", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ProductId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("ProductId"); - - b.ToTable("Brands"); - }); - - modelBuilder.Entity("PyroFetes.Models.City", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.ToTable("Cities"); - }); - - modelBuilder.Entity("PyroFetes.Models.Classification", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Classifications"); - }); - - modelBuilder.Entity("PyroFetes.Models.Color", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Colors"); - }); - - modelBuilder.Entity("PyroFetes.Models.Communication", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Calling") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Meeting") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.HasKey("Id"); - - b.HasIndex("ContactId"); - - b.ToTable("Communications"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("CustomerId") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("FirstName") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("LastName") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("PhoneNumber") - .IsRequired() - .HasMaxLength(30) - .HasColumnType("nvarchar(30)"); - - b.Property("Role") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("CustomerId"); - - b.ToTable("Contacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ContactServiceProvider", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("ServiceProviderId") - .HasColumnType("int"); - - b.HasKey("ContactId", "ServiceProviderId"); - - b.HasIndex("ServiceProviderId"); - - b.ToTable("ContactServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contract", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("ServiceProviderId") - .HasColumnType("int"); - - b.Property("TermsAndConditions") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.HasKey("ShowId", "ServiceProviderId"); - - b.HasIndex("ServiceProviderId"); - - b.ToTable("Contracts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("CustomerTypeId") - .HasColumnType("int"); - - b.Property("Note") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.HasIndex("CustomerTypeId"); - - b.ToTable("Customers"); - }); - - modelBuilder.Entity("PyroFetes.Models.CustomerType", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("CustomerTypes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Deliverer", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Transporter") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Deliverers"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("DelivererId") - .HasColumnType("int"); - - b.Property("EstimateDeliveryDate") - .HasColumnType("date"); - - b.Property("ExpeditionDate") - .HasColumnType("date"); - - b.Property("RealDeliveryDate") - .HasColumnType("date"); - - b.Property("TrackingNumber") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.HasIndex("DelivererId"); - - b.ToTable("DeliveryNotes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Effect", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.ToTable("Effects"); - }); - - modelBuilder.Entity("PyroFetes.Models.ExperienceLevel", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("StaffId"); - - b.ToTable("ExperienceLevels"); - }); - - modelBuilder.Entity("PyroFetes.Models.HistoryOfApproval", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("DeliveryDate") - .HasColumnType("date"); - - b.Property("ExpirationDate") - .HasColumnType("date"); - - b.HasKey("Id"); - - b.ToTable("HistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("WarehouseId"); - - b.ToTable("Materials"); - }); - - modelBuilder.Entity("PyroFetes.Models.MaterialWarehouse", b => - { - b.Property("MaterialId") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.HasKey("MaterialId", "WarehouseId"); - - b.HasIndex("WarehouseId"); - - b.ToTable("MaterialWarehouses"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Arrival") - .HasColumnType("datetime2"); - - b.Property("Date") - .HasColumnType("datetime2"); - - b.Property("DestinationWarehouseId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.Property("SourceWarehouseId") - .HasColumnType("int"); - - b.Property("Start") - .HasColumnType("datetime2"); - - b.HasKey("Id"); - - b.HasIndex("DestinationWarehouseId"); - - b.HasIndex("SourceWarehouseId"); - - b.ToTable("Movements"); - }); - - modelBuilder.Entity("PyroFetes.Models.Price", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("SupplierId") - .HasColumnType("int"); - - b.Property("SellingPrice") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ProductId", "SupplierId"); - - b.HasIndex("SupplierId"); - - b.ToTable("Prices"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ApprovalNumber") - .HasColumnType("int"); - - b.Property("Caliber") - .HasColumnType("decimal(18,2)"); - - b.Property("ClassificationId") - .HasColumnType("int"); - - b.Property("Duration") - .HasColumnType("decimal(18,2)"); - - b.Property("Image") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.Property("Link") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.Property("MinimalQuantity") - .HasColumnType("int"); - - b.Property("MovementId") - .HasColumnType("int"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Nec") - .HasColumnType("decimal(18,2)"); - - b.Property("ProductCategoryId") - .HasColumnType("int"); - - b.Property("Reference") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("nvarchar(20)"); - - b.Property("Weight") - .HasColumnType("decimal(18,2)"); - - b.HasKey("Id"); - - b.HasIndex("ClassificationId"); - - b.HasIndex("MovementId"); - - b.HasIndex("ProductCategoryId"); - - b.ToTable("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductCategory", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("ProductCategories"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductColor", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("ColorId") - .HasColumnType("int"); - - b.HasKey("ProductId", "ColorId"); - - b.HasIndex("ColorId"); - - b.ToTable("ProductColors"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductDelivery", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("DeliveryNoteId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "DeliveryNoteId"); - - b.HasIndex("DeliveryNoteId"); - - b.ToTable("ProductDeliveries"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductEffect", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("EffectId") - .HasColumnType("int"); - - b.HasKey("ProductId", "EffectId"); - - b.HasIndex("EffectId"); - - b.ToTable("ProductEffects"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductTimecode", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("End") - .HasColumnType("decimal(18,2)"); - - b.Property("Start") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ProductId", "ShowId"); - - b.HasIndex("ShowId"); - - b.ToTable("ProductTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderContact", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("ProviderId") - .HasColumnType("int"); - - b.HasKey("ContactId", "ProviderId"); - - b.HasIndex("ProviderId"); - - b.ToTable("ProviderContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderType", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("ProviderTypes"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseOrder", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("PurchaseConditions") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.HasKey("Id"); - - b.ToTable("PurchaseOrders"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("PurchaseOrderId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "PurchaseOrderId"); - - b.HasIndex("PurchaseOrderId"); - - b.ToTable("PurchaseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ConditionsSale") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.Property("CustomerId") - .HasColumnType("int"); - - b.Property("Message") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.HasIndex("CustomerId"); - - b.ToTable("Quotations"); - }); - - modelBuilder.Entity("PyroFetes.Models.QuotationProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("QuotationId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "QuotationId"); - - b.HasIndex("QuotationId"); - - b.ToTable("QuotationProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Price") - .HasColumnType("decimal(18,2)"); - - b.Property("ProviderTypeId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("ProviderTypeId"); - - b.ToTable("ServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.Setting", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ElectronicSignature") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.Property("Logo") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.HasKey("Id"); - - b.ToTable("Settings"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("CityId") - .HasColumnType("int"); - - b.Property("Date") - .HasColumnType("date"); - - b.Property("Description") - .HasMaxLength(500) - .HasColumnType("nvarchar(500)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Place") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("PyrotechnicImplementationPlan") - .IsRequired() - .HasMaxLength(500) - .HasColumnType("nvarchar(500)"); - - b.HasKey("Id"); - - b.HasIndex("CityId"); - - b.ToTable("Shows"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowMaterial", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("MaterialId") - .HasColumnType("int"); - - b.HasKey("ShowId", "MaterialId"); - - b.HasIndex("MaterialId"); - - b.ToTable("ShowMaterials"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowServiceProvider", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.HasKey("Id"); - - b.ToTable("ShowServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowStaff", b => - { - b.Property("StaffId") - .HasColumnType("int"); - - b.Property("ShowId") - .HasColumnType("int"); - - b.HasKey("StaffId", "ShowId"); - - b.HasIndex("ShowId"); - - b.ToTable("ShowStaffs"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowTruck", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("TruckId") - .HasColumnType("int"); - - b.HasKey("ShowId", "TruckId"); - - b.HasIndex("TruckId"); - - b.ToTable("ShowTrucks"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Artist") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("CreationDate") - .HasColumnType("datetime2"); - - b.Property("Duration") - .IsRequired() - .HasColumnType("int"); - - b.Property("Format") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Kind") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("SoundCategoryId") - .HasColumnType("int"); - - b.Property("Type") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.HasKey("Id"); - - b.HasIndex("SoundCategoryId"); - - b.ToTable("Sounds"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundCategory", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("SoundCategories"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundTimecode", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("SoundId") - .HasColumnType("int"); - - b.Property("End") - .HasColumnType("decimal(18,2)"); - - b.Property("Start") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ShowId", "SoundId"); - - b.HasIndex("SoundId"); - - b.ToTable("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Staff", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Email") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("F4T2ExpirationDate") - .HasColumnType("date"); - - b.Property("F4T2NumberApproval") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("FirstName") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.Property("LastName") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.Property("Profession") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Staffs"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffAvailability", b => - { - b.Property("AvailabilityId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("AvailabilityId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffAvailabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffContact", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("ContactId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffHistoryOfApproval", b => - { - b.Property("HistoryOfApprovalId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("HistoryOfApprovalId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Supplier", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("DeliveryDelay") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Phone") - .IsRequired() - .HasMaxLength(30) - .HasColumnType("nvarchar(30)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.ToTable("Suppliers"); - }); - - modelBuilder.Entity("PyroFetes.Models.Truck", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("MaxExplosiveCapacity") - .IsRequired() - .HasColumnType("float"); - - b.Property("Sizes") - .IsRequired() - .HasMaxLength(80) - .HasColumnType("nvarchar(80)"); - - b.Property("Status") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Type") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.HasKey("Id"); - - b.ToTable("Trucks"); - }); - - modelBuilder.Entity("PyroFetes.Models.User", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Fonction") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Password") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)"); - - b.Property("Salt") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Users"); - }); - - modelBuilder.Entity("PyroFetes.Models.Warehouse", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Current") - .HasColumnType("int"); - - b.Property("MaxWeight") - .HasColumnType("int"); - - b.Property("MinWeight") - .HasColumnType("int"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.ToTable("Warehouses"); - }); - - modelBuilder.Entity("PyroFetes.Models.WarehouseProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "WarehouseId"); - - b.HasIndex("WarehouseId"); - - b.ToTable("WarehouseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Brand", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("Brands") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.Communication", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("Communications") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.HasOne("PyroFetes.Models.Customer", "Customer") - .WithMany("Contacts") - .HasForeignKey("CustomerId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Customer"); - }); - - modelBuilder.Entity("PyroFetes.Models.ContactServiceProvider", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("ContactServiceProviders") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ServiceProvider", "ServiceProvider") - .WithMany("ContactServiceProviders") - .HasForeignKey("ServiceProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("ServiceProvider"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contract", b => - { - b.HasOne("PyroFetes.Models.ServiceProvider", "ServiceProvider") - .WithMany("Contracts") - .HasForeignKey("ServiceProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("Contracts") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("ServiceProvider"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.HasOne("PyroFetes.Models.CustomerType", "CustomerType") - .WithMany("Customers") - .HasForeignKey("CustomerTypeId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("CustomerType"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.HasOne("PyroFetes.Models.Deliverer", "Deliverer") - .WithMany("DeliveryNotes") - .HasForeignKey("DelivererId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Deliverer"); - }); - - modelBuilder.Entity("PyroFetes.Models.ExperienceLevel", b => - { - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("ExperienceLevels") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany() - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.MaterialWarehouse", b => - { - b.HasOne("PyroFetes.Models.Material", "Material") - .WithMany("MaterialWarehouses") - .HasForeignKey("MaterialId") - .OnDelete(DeleteBehavior.Restrict) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany("MaterialWarehouses") - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Restrict) - .IsRequired(); - - b.Navigation("Material"); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.HasOne("PyroFetes.Models.Warehouse", "DestinationWarehouse") - .WithMany("MovementsDestination") - .HasForeignKey("DestinationWarehouseId") - .OnDelete(DeleteBehavior.Restrict); - - b.HasOne("PyroFetes.Models.Warehouse", "SourceWarehouse") - .WithMany("MovementsSource") - .HasForeignKey("SourceWarehouseId") - .OnDelete(DeleteBehavior.Restrict); - - b.Navigation("DestinationWarehouse"); - - b.Navigation("SourceWarehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Price", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("Prices") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Supplier", "Supplier") - .WithMany("Prices") - .HasForeignKey("SupplierId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Supplier"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.HasOne("PyroFetes.Models.Classification", "Classification") - .WithMany("Products") - .HasForeignKey("ClassificationId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Movement", "Movement") - .WithMany("Products") - .HasForeignKey("MovementId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ProductCategory", "ProductCategory") - .WithMany("Products") - .HasForeignKey("ProductCategoryId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Classification"); - - b.Navigation("Movement"); - - b.Navigation("ProductCategory"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductColor", b => - { - b.HasOne("PyroFetes.Models.Color", "Color") - .WithMany("ProductColors") - .HasForeignKey("ColorId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductColors") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Color"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductDelivery", b => - { - b.HasOne("PyroFetes.Models.DeliveryNote", "DeliveryNote") - .WithMany("ProductDeliveries") - .HasForeignKey("DeliveryNoteId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductDeliveries") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("DeliveryNote"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductEffect", b => - { - b.HasOne("PyroFetes.Models.Effect", "Effect") - .WithMany("ProductEffects") - .HasForeignKey("EffectId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductEffects") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Effect"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductTimecode", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductTimecodes") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ProductTimecodes") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderContact", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany() - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ServiceProvider", "Provider") - .WithMany() - .HasForeignKey("ProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("Provider"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("PurchaseProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.PurchaseOrder", "PurchaseOrder") - .WithMany("PurchaseProducts") - .HasForeignKey("PurchaseOrderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("PurchaseOrder"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.HasOne("PyroFetes.Models.Customer", "Customer") - .WithMany("Quotations") - .HasForeignKey("CustomerId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Customer"); - }); - - modelBuilder.Entity("PyroFetes.Models.QuotationProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("QuotationProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Quotation", "Quotation") - .WithMany("QuotationProducts") - .HasForeignKey("QuotationId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Quotation"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.HasOne("PyroFetes.Models.ProviderType", "ProviderType") - .WithMany("ServiceProviders") - .HasForeignKey("ProviderTypeId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("ProviderType"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.HasOne("PyroFetes.Models.City", "City") - .WithMany("Shows") - .HasForeignKey("CityId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("City"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowMaterial", b => - { - b.HasOne("PyroFetes.Models.Material", "Material") - .WithMany("ShowMaterials") - .HasForeignKey("MaterialId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowMaterials") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Material"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowStaff", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowStaffs") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("ShowStaffs") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowTruck", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowTrucks") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Truck", "Truck") - .WithMany("ShowTrucks") - .HasForeignKey("TruckId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Truck"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.HasOne("PyroFetes.Models.SoundCategory", "SoundCategory") - .WithMany("Sounds") - .HasForeignKey("SoundCategoryId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SoundCategory"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundTimecode", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("SoundTimecodes") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Sound", "Sound") - .WithMany("SoundTimecodes") - .HasForeignKey("SoundId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Sound"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffAvailability", b => - { - b.HasOne("PyroFetes.Models.Availability", "Availability") - .WithMany("StaffAvailabilities") - .HasForeignKey("AvailabilityId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffAvailabilities") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Availability"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffContact", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("StaffContacts") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffContacts") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffHistoryOfApproval", b => - { - b.HasOne("PyroFetes.Models.HistoryOfApproval", "HistoryOfApproval") - .WithMany("StaffHistoryOfApprovals") - .HasForeignKey("HistoryOfApprovalId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffHistoryOfApprovals") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("HistoryOfApproval"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.WarehouseProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("WarehouseProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany("WarehouseProducts") - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Availability", b => - { - b.Navigation("StaffAvailabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.City", b => - { - b.Navigation("Shows"); - }); - - modelBuilder.Entity("PyroFetes.Models.Classification", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.Color", b => - { - b.Navigation("ProductColors"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.Navigation("Communications"); - - b.Navigation("ContactServiceProviders"); - - b.Navigation("StaffContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.Navigation("Contacts"); - - b.Navigation("Quotations"); - }); - - modelBuilder.Entity("PyroFetes.Models.CustomerType", b => - { - b.Navigation("Customers"); - }); - - modelBuilder.Entity("PyroFetes.Models.Deliverer", b => - { - b.Navigation("DeliveryNotes"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.Navigation("ProductDeliveries"); - }); - - modelBuilder.Entity("PyroFetes.Models.Effect", b => - { - b.Navigation("ProductEffects"); - }); - - modelBuilder.Entity("PyroFetes.Models.HistoryOfApproval", b => - { - b.Navigation("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.Navigation("MaterialWarehouses"); - - b.Navigation("ShowMaterials"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.Navigation("Brands"); - - b.Navigation("Prices"); - - b.Navigation("ProductColors"); - - b.Navigation("ProductDeliveries"); - - b.Navigation("ProductEffects"); - - b.Navigation("ProductTimecodes"); - - b.Navigation("PurchaseProducts"); - - b.Navigation("QuotationProducts"); - - b.Navigation("WarehouseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductCategory", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderType", b => - { - b.Navigation("ServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseOrder", b => - { - b.Navigation("PurchaseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.Navigation("QuotationProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.Navigation("ContactServiceProviders"); - - b.Navigation("Contracts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.Navigation("Contracts"); - - b.Navigation("ProductTimecodes"); - - b.Navigation("ShowMaterials"); - - b.Navigation("ShowStaffs"); - - b.Navigation("ShowTrucks"); - - b.Navigation("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.Navigation("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundCategory", b => - { - b.Navigation("Sounds"); - }); - - modelBuilder.Entity("PyroFetes.Models.Staff", b => - { - b.Navigation("ExperienceLevels"); - - b.Navigation("ShowStaffs"); - - b.Navigation("StaffAvailabilities"); - - b.Navigation("StaffContacts"); - - b.Navigation("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Supplier", b => - { - b.Navigation("Prices"); - }); - - modelBuilder.Entity("PyroFetes.Models.Truck", b => - { - b.Navigation("ShowTrucks"); - }); - - modelBuilder.Entity("PyroFetes.Models.Warehouse", b => - { - b.Navigation("MaterialWarehouses"); - - b.Navigation("MovementsDestination"); - - b.Navigation("MovementsSource"); - - b.Navigation("WarehouseProducts"); - }); -#pragma warning restore 612, 618 - } - } -} diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251013175653_AddingEntitiesInDatabase.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251013175653_AddingEntitiesInDatabase.cs deleted file mode 100644 index bad3dff..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251013175653_AddingEntitiesInDatabase.cs +++ /dev/null @@ -1,755 +0,0 @@ -using Microsoft.EntityFrameworkCore.Migrations; - -#nullable disable - -namespace PyroFetes.Migrations -{ - /// - public partial class AddingEntitiesInDatabase : Migration - { - /// - protected override void Up(MigrationBuilder migrationBuilder) - { - migrationBuilder.DropForeignKey( - name: "FK_ContactServiceProvider_Contacts_ContactId", - table: "ContactServiceProvider"); - - migrationBuilder.DropForeignKey( - name: "FK_ContactServiceProvider_Providers_ServiceProviderId", - table: "ContactServiceProvider"); - - migrationBuilder.DropForeignKey( - name: "FK_Contract_Providers_ServiceProviderId", - table: "Contract"); - - migrationBuilder.DropForeignKey( - name: "FK_Contract_Shows_ShowId", - table: "Contract"); - - migrationBuilder.DropForeignKey( - name: "FK_MaterialWarehouse_Materials_MaterialId", - table: "MaterialWarehouse"); - - migrationBuilder.DropForeignKey( - name: "FK_MaterialWarehouse_Warehouses_WarehouseId", - table: "MaterialWarehouse"); - - migrationBuilder.DropForeignKey( - name: "FK_ProductTimecode_Products_ProductId", - table: "ProductTimecode"); - - migrationBuilder.DropForeignKey( - name: "FK_ProductTimecode_Shows_ShowId", - table: "ProductTimecode"); - - migrationBuilder.DropForeignKey( - name: "FK_ProviderContacts_Providers_ProviderId", - table: "ProviderContacts"); - - migrationBuilder.DropForeignKey( - name: "FK_Providers_ProviderTypes_ProviderTypeId", - table: "Providers"); - - migrationBuilder.DropForeignKey( - name: "FK_ShowMaterial_Materials_MaterialId", - table: "ShowMaterial"); - - migrationBuilder.DropForeignKey( - name: "FK_ShowMaterial_Shows_ShowId", - table: "ShowMaterial"); - - migrationBuilder.DropForeignKey( - name: "FK_Shows_City_CityId", - table: "Shows"); - - migrationBuilder.DropForeignKey( - name: "FK_ShowStaff_Shows_ShowId", - table: "ShowStaff"); - - migrationBuilder.DropForeignKey( - name: "FK_ShowStaff_Staffs_StaffId", - table: "ShowStaff"); - - migrationBuilder.DropForeignKey( - name: "FK_ShowTruck_Shows_ShowId", - table: "ShowTruck"); - - migrationBuilder.DropForeignKey( - name: "FK_ShowTruck_Trucks_TruckId", - table: "ShowTruck"); - - migrationBuilder.DropPrimaryKey( - name: "PK_ShowTruck", - table: "ShowTruck"); - - migrationBuilder.DropPrimaryKey( - name: "PK_ShowStaff", - table: "ShowStaff"); - - migrationBuilder.DropPrimaryKey( - name: "PK_ShowMaterial", - table: "ShowMaterial"); - - migrationBuilder.DropPrimaryKey( - name: "PK_Providers", - table: "Providers"); - - migrationBuilder.DropPrimaryKey( - name: "PK_ProductTimecode", - table: "ProductTimecode"); - - migrationBuilder.DropPrimaryKey( - name: "PK_MaterialWarehouse", - table: "MaterialWarehouse"); - - migrationBuilder.DropPrimaryKey( - name: "PK_Contract", - table: "Contract"); - - migrationBuilder.DropPrimaryKey( - name: "PK_ContactServiceProvider", - table: "ContactServiceProvider"); - - migrationBuilder.DropPrimaryKey( - name: "PK_City", - table: "City"); - - migrationBuilder.RenameTable( - name: "ShowTruck", - newName: "ShowTrucks"); - - migrationBuilder.RenameTable( - name: "ShowStaff", - newName: "ShowStaffs"); - - migrationBuilder.RenameTable( - name: "ShowMaterial", - newName: "ShowMaterials"); - - migrationBuilder.RenameTable( - name: "Providers", - newName: "ServiceProviders"); - - migrationBuilder.RenameTable( - name: "ProductTimecode", - newName: "ProductTimecodes"); - - migrationBuilder.RenameTable( - name: "MaterialWarehouse", - newName: "MaterialWarehouses"); - - migrationBuilder.RenameTable( - name: "Contract", - newName: "Contracts"); - - migrationBuilder.RenameTable( - name: "ContactServiceProvider", - newName: "ContactServiceProviders"); - - migrationBuilder.RenameTable( - name: "City", - newName: "Cities"); - - migrationBuilder.RenameIndex( - name: "IX_ShowTruck_TruckId", - table: "ShowTrucks", - newName: "IX_ShowTrucks_TruckId"); - - migrationBuilder.RenameIndex( - name: "IX_ShowStaff_ShowId", - table: "ShowStaffs", - newName: "IX_ShowStaffs_ShowId"); - - migrationBuilder.RenameIndex( - name: "IX_ShowMaterial_MaterialId", - table: "ShowMaterials", - newName: "IX_ShowMaterials_MaterialId"); - - migrationBuilder.RenameIndex( - name: "IX_Providers_ProviderTypeId", - table: "ServiceProviders", - newName: "IX_ServiceProviders_ProviderTypeId"); - - migrationBuilder.RenameIndex( - name: "IX_ProductTimecode_ShowId", - table: "ProductTimecodes", - newName: "IX_ProductTimecodes_ShowId"); - - migrationBuilder.RenameIndex( - name: "IX_MaterialWarehouse_WarehouseId", - table: "MaterialWarehouses", - newName: "IX_MaterialWarehouses_WarehouseId"); - - migrationBuilder.RenameIndex( - name: "IX_Contract_ServiceProviderId", - table: "Contracts", - newName: "IX_Contracts_ServiceProviderId"); - - migrationBuilder.RenameIndex( - name: "IX_ContactServiceProvider_ServiceProviderId", - table: "ContactServiceProviders", - newName: "IX_ContactServiceProviders_ServiceProviderId"); - - migrationBuilder.AddPrimaryKey( - name: "PK_ShowTrucks", - table: "ShowTrucks", - columns: new[] { "ShowId", "TruckId" }); - - migrationBuilder.AddPrimaryKey( - name: "PK_ShowStaffs", - table: "ShowStaffs", - columns: new[] { "StaffId", "ShowId" }); - - migrationBuilder.AddPrimaryKey( - name: "PK_ShowMaterials", - table: "ShowMaterials", - columns: new[] { "ShowId", "MaterialId" }); - - migrationBuilder.AddPrimaryKey( - name: "PK_ServiceProviders", - table: "ServiceProviders", - column: "Id"); - - migrationBuilder.AddPrimaryKey( - name: "PK_ProductTimecodes", - table: "ProductTimecodes", - columns: new[] { "ProductId", "ShowId" }); - - migrationBuilder.AddPrimaryKey( - name: "PK_MaterialWarehouses", - table: "MaterialWarehouses", - columns: new[] { "MaterialId", "WarehouseId" }); - - migrationBuilder.AddPrimaryKey( - name: "PK_Contracts", - table: "Contracts", - columns: new[] { "ShowId", "ServiceProviderId" }); - - migrationBuilder.AddPrimaryKey( - name: "PK_ContactServiceProviders", - table: "ContactServiceProviders", - columns: new[] { "ContactId", "ServiceProviderId" }); - - migrationBuilder.AddPrimaryKey( - name: "PK_Cities", - table: "Cities", - column: "Id"); - - migrationBuilder.CreateTable( - name: "ShowServiceProviders", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1") - }, - constraints: table => - { - table.PrimaryKey("PK_ShowServiceProviders", x => x.Id); - }); - - migrationBuilder.AddForeignKey( - name: "FK_ContactServiceProviders_Contacts_ContactId", - table: "ContactServiceProviders", - column: "ContactId", - principalTable: "Contacts", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_ContactServiceProviders_ServiceProviders_ServiceProviderId", - table: "ContactServiceProviders", - column: "ServiceProviderId", - principalTable: "ServiceProviders", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_Contracts_ServiceProviders_ServiceProviderId", - table: "Contracts", - column: "ServiceProviderId", - principalTable: "ServiceProviders", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_Contracts_Shows_ShowId", - table: "Contracts", - column: "ShowId", - principalTable: "Shows", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_MaterialWarehouses_Materials_MaterialId", - table: "MaterialWarehouses", - column: "MaterialId", - principalTable: "Materials", - principalColumn: "Id", - onDelete: ReferentialAction.Restrict); - - migrationBuilder.AddForeignKey( - name: "FK_MaterialWarehouses_Warehouses_WarehouseId", - table: "MaterialWarehouses", - column: "WarehouseId", - principalTable: "Warehouses", - principalColumn: "Id", - onDelete: ReferentialAction.Restrict); - - migrationBuilder.AddForeignKey( - name: "FK_ProductTimecodes_Products_ProductId", - table: "ProductTimecodes", - column: "ProductId", - principalTable: "Products", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_ProductTimecodes_Shows_ShowId", - table: "ProductTimecodes", - column: "ShowId", - principalTable: "Shows", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_ProviderContacts_ServiceProviders_ProviderId", - table: "ProviderContacts", - column: "ProviderId", - principalTable: "ServiceProviders", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_ServiceProviders_ProviderTypes_ProviderTypeId", - table: "ServiceProviders", - column: "ProviderTypeId", - principalTable: "ProviderTypes", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_ShowMaterials_Materials_MaterialId", - table: "ShowMaterials", - column: "MaterialId", - principalTable: "Materials", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_ShowMaterials_Shows_ShowId", - table: "ShowMaterials", - column: "ShowId", - principalTable: "Shows", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_Shows_Cities_CityId", - table: "Shows", - column: "CityId", - principalTable: "Cities", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_ShowStaffs_Shows_ShowId", - table: "ShowStaffs", - column: "ShowId", - principalTable: "Shows", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_ShowStaffs_Staffs_StaffId", - table: "ShowStaffs", - column: "StaffId", - principalTable: "Staffs", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_ShowTrucks_Shows_ShowId", - table: "ShowTrucks", - column: "ShowId", - principalTable: "Shows", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_ShowTrucks_Trucks_TruckId", - table: "ShowTrucks", - column: "TruckId", - principalTable: "Trucks", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - } - - /// - protected override void Down(MigrationBuilder migrationBuilder) - { - migrationBuilder.DropForeignKey( - name: "FK_ContactServiceProviders_Contacts_ContactId", - table: "ContactServiceProviders"); - - migrationBuilder.DropForeignKey( - name: "FK_ContactServiceProviders_ServiceProviders_ServiceProviderId", - table: "ContactServiceProviders"); - - migrationBuilder.DropForeignKey( - name: "FK_Contracts_ServiceProviders_ServiceProviderId", - table: "Contracts"); - - migrationBuilder.DropForeignKey( - name: "FK_Contracts_Shows_ShowId", - table: "Contracts"); - - migrationBuilder.DropForeignKey( - name: "FK_MaterialWarehouses_Materials_MaterialId", - table: "MaterialWarehouses"); - - migrationBuilder.DropForeignKey( - name: "FK_MaterialWarehouses_Warehouses_WarehouseId", - table: "MaterialWarehouses"); - - migrationBuilder.DropForeignKey( - name: "FK_ProductTimecodes_Products_ProductId", - table: "ProductTimecodes"); - - migrationBuilder.DropForeignKey( - name: "FK_ProductTimecodes_Shows_ShowId", - table: "ProductTimecodes"); - - migrationBuilder.DropForeignKey( - name: "FK_ProviderContacts_ServiceProviders_ProviderId", - table: "ProviderContacts"); - - migrationBuilder.DropForeignKey( - name: "FK_ServiceProviders_ProviderTypes_ProviderTypeId", - table: "ServiceProviders"); - - migrationBuilder.DropForeignKey( - name: "FK_ShowMaterials_Materials_MaterialId", - table: "ShowMaterials"); - - migrationBuilder.DropForeignKey( - name: "FK_ShowMaterials_Shows_ShowId", - table: "ShowMaterials"); - - migrationBuilder.DropForeignKey( - name: "FK_Shows_Cities_CityId", - table: "Shows"); - - migrationBuilder.DropForeignKey( - name: "FK_ShowStaffs_Shows_ShowId", - table: "ShowStaffs"); - - migrationBuilder.DropForeignKey( - name: "FK_ShowStaffs_Staffs_StaffId", - table: "ShowStaffs"); - - migrationBuilder.DropForeignKey( - name: "FK_ShowTrucks_Shows_ShowId", - table: "ShowTrucks"); - - migrationBuilder.DropForeignKey( - name: "FK_ShowTrucks_Trucks_TruckId", - table: "ShowTrucks"); - - migrationBuilder.DropTable( - name: "ShowServiceProviders"); - - migrationBuilder.DropPrimaryKey( - name: "PK_ShowTrucks", - table: "ShowTrucks"); - - migrationBuilder.DropPrimaryKey( - name: "PK_ShowStaffs", - table: "ShowStaffs"); - - migrationBuilder.DropPrimaryKey( - name: "PK_ShowMaterials", - table: "ShowMaterials"); - - migrationBuilder.DropPrimaryKey( - name: "PK_ServiceProviders", - table: "ServiceProviders"); - - migrationBuilder.DropPrimaryKey( - name: "PK_ProductTimecodes", - table: "ProductTimecodes"); - - migrationBuilder.DropPrimaryKey( - name: "PK_MaterialWarehouses", - table: "MaterialWarehouses"); - - migrationBuilder.DropPrimaryKey( - name: "PK_Contracts", - table: "Contracts"); - - migrationBuilder.DropPrimaryKey( - name: "PK_ContactServiceProviders", - table: "ContactServiceProviders"); - - migrationBuilder.DropPrimaryKey( - name: "PK_Cities", - table: "Cities"); - - migrationBuilder.RenameTable( - name: "ShowTrucks", - newName: "ShowTruck"); - - migrationBuilder.RenameTable( - name: "ShowStaffs", - newName: "ShowStaff"); - - migrationBuilder.RenameTable( - name: "ShowMaterials", - newName: "ShowMaterial"); - - migrationBuilder.RenameTable( - name: "ServiceProviders", - newName: "Providers"); - - migrationBuilder.RenameTable( - name: "ProductTimecodes", - newName: "ProductTimecode"); - - migrationBuilder.RenameTable( - name: "MaterialWarehouses", - newName: "MaterialWarehouse"); - - migrationBuilder.RenameTable( - name: "Contracts", - newName: "Contract"); - - migrationBuilder.RenameTable( - name: "ContactServiceProviders", - newName: "ContactServiceProvider"); - - migrationBuilder.RenameTable( - name: "Cities", - newName: "City"); - - migrationBuilder.RenameIndex( - name: "IX_ShowTrucks_TruckId", - table: "ShowTruck", - newName: "IX_ShowTruck_TruckId"); - - migrationBuilder.RenameIndex( - name: "IX_ShowStaffs_ShowId", - table: "ShowStaff", - newName: "IX_ShowStaff_ShowId"); - - migrationBuilder.RenameIndex( - name: "IX_ShowMaterials_MaterialId", - table: "ShowMaterial", - newName: "IX_ShowMaterial_MaterialId"); - - migrationBuilder.RenameIndex( - name: "IX_ServiceProviders_ProviderTypeId", - table: "Providers", - newName: "IX_Providers_ProviderTypeId"); - - migrationBuilder.RenameIndex( - name: "IX_ProductTimecodes_ShowId", - table: "ProductTimecode", - newName: "IX_ProductTimecode_ShowId"); - - migrationBuilder.RenameIndex( - name: "IX_MaterialWarehouses_WarehouseId", - table: "MaterialWarehouse", - newName: "IX_MaterialWarehouse_WarehouseId"); - - migrationBuilder.RenameIndex( - name: "IX_Contracts_ServiceProviderId", - table: "Contract", - newName: "IX_Contract_ServiceProviderId"); - - migrationBuilder.RenameIndex( - name: "IX_ContactServiceProviders_ServiceProviderId", - table: "ContactServiceProvider", - newName: "IX_ContactServiceProvider_ServiceProviderId"); - - migrationBuilder.AddPrimaryKey( - name: "PK_ShowTruck", - table: "ShowTruck", - columns: new[] { "ShowId", "TruckId" }); - - migrationBuilder.AddPrimaryKey( - name: "PK_ShowStaff", - table: "ShowStaff", - columns: new[] { "StaffId", "ShowId" }); - - migrationBuilder.AddPrimaryKey( - name: "PK_ShowMaterial", - table: "ShowMaterial", - columns: new[] { "ShowId", "MaterialId" }); - - migrationBuilder.AddPrimaryKey( - name: "PK_Providers", - table: "Providers", - column: "Id"); - - migrationBuilder.AddPrimaryKey( - name: "PK_ProductTimecode", - table: "ProductTimecode", - columns: new[] { "ProductId", "ShowId" }); - - migrationBuilder.AddPrimaryKey( - name: "PK_MaterialWarehouse", - table: "MaterialWarehouse", - columns: new[] { "MaterialId", "WarehouseId" }); - - migrationBuilder.AddPrimaryKey( - name: "PK_Contract", - table: "Contract", - columns: new[] { "ShowId", "ServiceProviderId" }); - - migrationBuilder.AddPrimaryKey( - name: "PK_ContactServiceProvider", - table: "ContactServiceProvider", - columns: new[] { "ContactId", "ServiceProviderId" }); - - migrationBuilder.AddPrimaryKey( - name: "PK_City", - table: "City", - column: "Id"); - - migrationBuilder.AddForeignKey( - name: "FK_ContactServiceProvider_Contacts_ContactId", - table: "ContactServiceProvider", - column: "ContactId", - principalTable: "Contacts", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_ContactServiceProvider_Providers_ServiceProviderId", - table: "ContactServiceProvider", - column: "ServiceProviderId", - principalTable: "Providers", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_Contract_Providers_ServiceProviderId", - table: "Contract", - column: "ServiceProviderId", - principalTable: "Providers", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_Contract_Shows_ShowId", - table: "Contract", - column: "ShowId", - principalTable: "Shows", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_MaterialWarehouse_Materials_MaterialId", - table: "MaterialWarehouse", - column: "MaterialId", - principalTable: "Materials", - principalColumn: "Id", - onDelete: ReferentialAction.Restrict); - - migrationBuilder.AddForeignKey( - name: "FK_MaterialWarehouse_Warehouses_WarehouseId", - table: "MaterialWarehouse", - column: "WarehouseId", - principalTable: "Warehouses", - principalColumn: "Id", - onDelete: ReferentialAction.Restrict); - - migrationBuilder.AddForeignKey( - name: "FK_ProductTimecode_Products_ProductId", - table: "ProductTimecode", - column: "ProductId", - principalTable: "Products", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_ProductTimecode_Shows_ShowId", - table: "ProductTimecode", - column: "ShowId", - principalTable: "Shows", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_ProviderContacts_Providers_ProviderId", - table: "ProviderContacts", - column: "ProviderId", - principalTable: "Providers", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_Providers_ProviderTypes_ProviderTypeId", - table: "Providers", - column: "ProviderTypeId", - principalTable: "ProviderTypes", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_ShowMaterial_Materials_MaterialId", - table: "ShowMaterial", - column: "MaterialId", - principalTable: "Materials", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_ShowMaterial_Shows_ShowId", - table: "ShowMaterial", - column: "ShowId", - principalTable: "Shows", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_Shows_City_CityId", - table: "Shows", - column: "CityId", - principalTable: "City", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_ShowStaff_Shows_ShowId", - table: "ShowStaff", - column: "ShowId", - principalTable: "Shows", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_ShowStaff_Staffs_StaffId", - table: "ShowStaff", - column: "StaffId", - principalTable: "Staffs", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_ShowTruck_Shows_ShowId", - table: "ShowTruck", - column: "ShowId", - principalTable: "Shows", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - - migrationBuilder.AddForeignKey( - name: "FK_ShowTruck_Trucks_TruckId", - table: "ShowTruck", - column: "TruckId", - principalTable: "Trucks", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - } - } -} diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251113162655_FixedNullableValue.Designer.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251113162655_FixedNullableValue.Designer.cs deleted file mode 100644 index 131aa6e..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251113162655_FixedNullableValue.Designer.cs +++ /dev/null @@ -1,1963 +0,0 @@ -// -using System; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Metadata; -using Microsoft.EntityFrameworkCore.Migrations; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using PyroFetes; - -#nullable disable - -namespace PyroFetes.Migrations -{ - [DbContext(typeof(PyroFetesDbContext))] - [Migration("20251113162655_FixedNullableValue")] - partial class FixedNullableValue - { - /// - protected override void BuildTargetModel(ModelBuilder modelBuilder) - { -#pragma warning disable 612, 618 - modelBuilder - .HasAnnotation("ProductVersion", "8.0.20") - .HasAnnotation("Relational:MaxIdentifierLength", 128); - - SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); - - modelBuilder.Entity("PyroFetes.Models.Availability", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("AvailabilityDate") - .HasColumnType("date"); - - b.Property("DeliveryDate") - .HasColumnType("date"); - - b.Property("ExpirationDate") - .HasColumnType("date"); - - b.Property("RenewallDate") - .HasColumnType("date"); - - b.HasKey("Id"); - - b.ToTable("Availabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.Brand", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ProductId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("ProductId"); - - b.ToTable("Brands"); - }); - - modelBuilder.Entity("PyroFetes.Models.City", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.ToTable("Cities"); - }); - - modelBuilder.Entity("PyroFetes.Models.Classification", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Classifications"); - }); - - modelBuilder.Entity("PyroFetes.Models.Color", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Colors"); - }); - - modelBuilder.Entity("PyroFetes.Models.Communication", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Calling") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Meeting") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.HasKey("Id"); - - b.HasIndex("ContactId"); - - b.ToTable("Communications"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("CustomerId") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("FirstName") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("LastName") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("PhoneNumber") - .IsRequired() - .HasMaxLength(30) - .HasColumnType("nvarchar(30)"); - - b.Property("Role") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("CustomerId"); - - b.ToTable("Contacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ContactServiceProvider", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("ServiceProviderId") - .HasColumnType("int"); - - b.HasKey("ContactId", "ServiceProviderId"); - - b.HasIndex("ServiceProviderId"); - - b.ToTable("ContactServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contract", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("ServiceProviderId") - .HasColumnType("int"); - - b.Property("TermsAndConditions") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.HasKey("ShowId", "ServiceProviderId"); - - b.HasIndex("ServiceProviderId"); - - b.ToTable("Contracts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("CustomerTypeId") - .HasColumnType("int"); - - b.Property("Note") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.HasIndex("CustomerTypeId"); - - b.ToTable("Customers"); - }); - - modelBuilder.Entity("PyroFetes.Models.CustomerType", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("CustomerTypes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Deliverer", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Transporter") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Deliverers"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("DelivererId") - .HasColumnType("int"); - - b.Property("EstimateDeliveryDate") - .HasColumnType("date"); - - b.Property("ExpeditionDate") - .HasColumnType("date"); - - b.Property("RealDeliveryDate") - .HasColumnType("date"); - - b.Property("TrackingNumber") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.HasIndex("DelivererId"); - - b.ToTable("DeliveryNotes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Effect", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.ToTable("Effects"); - }); - - modelBuilder.Entity("PyroFetes.Models.ExperienceLevel", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("StaffId"); - - b.ToTable("ExperienceLevels"); - }); - - modelBuilder.Entity("PyroFetes.Models.HistoryOfApproval", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("DeliveryDate") - .HasColumnType("date"); - - b.Property("ExpirationDate") - .HasColumnType("date"); - - b.HasKey("Id"); - - b.ToTable("HistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("WarehouseId"); - - b.ToTable("Materials"); - }); - - modelBuilder.Entity("PyroFetes.Models.MaterialWarehouse", b => - { - b.Property("MaterialId") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.HasKey("MaterialId", "WarehouseId"); - - b.HasIndex("WarehouseId"); - - b.ToTable("MaterialWarehouses"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Arrival") - .HasColumnType("datetime2"); - - b.Property("Date") - .HasColumnType("datetime2"); - - b.Property("DestinationWarehouseId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.Property("SourceWarehouseId") - .HasColumnType("int"); - - b.Property("Start") - .HasColumnType("datetime2"); - - b.HasKey("Id"); - - b.HasIndex("DestinationWarehouseId"); - - b.HasIndex("SourceWarehouseId"); - - b.ToTable("Movements"); - }); - - modelBuilder.Entity("PyroFetes.Models.Price", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("SupplierId") - .HasColumnType("int"); - - b.Property("SellingPrice") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ProductId", "SupplierId"); - - b.HasIndex("SupplierId"); - - b.ToTable("Prices"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ApprovalNumber") - .HasColumnType("int"); - - b.Property("Caliber") - .HasColumnType("decimal(18,2)"); - - b.Property("ClassificationId") - .HasColumnType("int"); - - b.Property("Duration") - .HasColumnType("decimal(18,2)"); - - b.Property("Image") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.Property("Link") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.Property("MinimalQuantity") - .HasColumnType("int"); - - b.Property("MovementId") - .HasColumnType("int"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Nec") - .HasColumnType("decimal(18,2)"); - - b.Property("ProductCategoryId") - .HasColumnType("int"); - - b.Property("Reference") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("nvarchar(20)"); - - b.Property("Weight") - .HasColumnType("decimal(18,2)"); - - b.HasKey("Id"); - - b.HasIndex("ClassificationId"); - - b.HasIndex("MovementId"); - - b.HasIndex("ProductCategoryId"); - - b.ToTable("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductCategory", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("ProductCategories"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductColor", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("ColorId") - .HasColumnType("int"); - - b.HasKey("ProductId", "ColorId"); - - b.HasIndex("ColorId"); - - b.ToTable("ProductColors"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductDelivery", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("DeliveryNoteId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "DeliveryNoteId"); - - b.HasIndex("DeliveryNoteId"); - - b.ToTable("ProductDeliveries"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductEffect", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("EffectId") - .HasColumnType("int"); - - b.HasKey("ProductId", "EffectId"); - - b.HasIndex("EffectId"); - - b.ToTable("ProductEffects"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductTimecode", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("End") - .HasColumnType("decimal(18,2)"); - - b.Property("Start") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ProductId", "ShowId"); - - b.HasIndex("ShowId"); - - b.ToTable("ProductTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderContact", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("ProviderId") - .HasColumnType("int"); - - b.HasKey("ContactId", "ProviderId"); - - b.HasIndex("ProviderId"); - - b.ToTable("ProviderContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderType", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("ProviderTypes"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseOrder", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("PurchaseConditions") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.HasKey("Id"); - - b.ToTable("PurchaseOrders"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("PurchaseOrderId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "PurchaseOrderId"); - - b.HasIndex("PurchaseOrderId"); - - b.ToTable("PurchaseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ConditionsSale") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.Property("CustomerId") - .HasColumnType("int"); - - b.Property("Message") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.HasIndex("CustomerId"); - - b.ToTable("Quotations"); - }); - - modelBuilder.Entity("PyroFetes.Models.QuotationProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("QuotationId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "QuotationId"); - - b.HasIndex("QuotationId"); - - b.ToTable("QuotationProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Price") - .HasColumnType("decimal(18,2)"); - - b.Property("ProviderTypeId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("ProviderTypeId"); - - b.ToTable("ServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.Setting", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ElectronicSignature") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.Property("Logo") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.HasKey("Id"); - - b.ToTable("Settings"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("CityId") - .HasColumnType("int"); - - b.Property("Date") - .HasColumnType("date"); - - b.Property("Description") - .HasMaxLength(500) - .HasColumnType("nvarchar(500)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Place") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("PyrotechnicImplementationPlan") - .IsRequired() - .HasMaxLength(500) - .HasColumnType("nvarchar(500)"); - - b.HasKey("Id"); - - b.HasIndex("CityId"); - - b.ToTable("Shows"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowMaterial", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("MaterialId") - .HasColumnType("int"); - - b.HasKey("ShowId", "MaterialId"); - - b.HasIndex("MaterialId"); - - b.ToTable("ShowMaterials"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowServiceProvider", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.HasKey("Id"); - - b.ToTable("ShowServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowStaff", b => - { - b.Property("StaffId") - .HasColumnType("int"); - - b.Property("ShowId") - .HasColumnType("int"); - - b.HasKey("StaffId", "ShowId"); - - b.HasIndex("ShowId"); - - b.ToTable("ShowStaffs"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowTruck", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("TruckId") - .HasColumnType("int"); - - b.HasKey("ShowId", "TruckId"); - - b.HasIndex("TruckId"); - - b.ToTable("ShowTrucks"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Artist") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("CreationDate") - .HasColumnType("datetime2"); - - b.Property("Duration") - .IsRequired() - .HasColumnType("int"); - - b.Property("Format") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Kind") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("SoundCategoryId") - .HasColumnType("int"); - - b.Property("Type") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.HasKey("Id"); - - b.HasIndex("SoundCategoryId"); - - b.ToTable("Sounds"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundCategory", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("SoundCategories"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundTimecode", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("SoundId") - .HasColumnType("int"); - - b.Property("End") - .HasColumnType("decimal(18,2)"); - - b.Property("Start") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ShowId", "SoundId"); - - b.HasIndex("SoundId"); - - b.ToTable("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Staff", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Email") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("F4T2ExpirationDate") - .HasColumnType("date"); - - b.Property("F4T2NumberApproval") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("FirstName") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.Property("LastName") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.Property("Profession") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Staffs"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffAvailability", b => - { - b.Property("AvailabilityId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("AvailabilityId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffAvailabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffContact", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("ContactId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffHistoryOfApproval", b => - { - b.Property("HistoryOfApprovalId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("HistoryOfApprovalId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Supplier", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("DeliveryDelay") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Phone") - .IsRequired() - .HasMaxLength(30) - .HasColumnType("nvarchar(30)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.ToTable("Suppliers"); - }); - - modelBuilder.Entity("PyroFetes.Models.Truck", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("MaxExplosiveCapacity") - .IsRequired() - .HasColumnType("float"); - - b.Property("Sizes") - .IsRequired() - .HasMaxLength(80) - .HasColumnType("nvarchar(80)"); - - b.Property("Status") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Type") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.HasKey("Id"); - - b.ToTable("Trucks"); - }); - - modelBuilder.Entity("PyroFetes.Models.User", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Fonction") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Password") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)"); - - b.Property("Salt") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Users"); - }); - - modelBuilder.Entity("PyroFetes.Models.Warehouse", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Current") - .HasColumnType("int"); - - b.Property("MaxWeight") - .HasColumnType("int"); - - b.Property("MinWeight") - .HasColumnType("int"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.ToTable("Warehouses"); - }); - - modelBuilder.Entity("PyroFetes.Models.WarehouseProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "WarehouseId"); - - b.HasIndex("WarehouseId"); - - b.ToTable("WarehouseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Brand", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("Brands") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.Communication", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("Communications") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.HasOne("PyroFetes.Models.Customer", "Customer") - .WithMany("Contacts") - .HasForeignKey("CustomerId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Customer"); - }); - - modelBuilder.Entity("PyroFetes.Models.ContactServiceProvider", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("ContactServiceProviders") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ServiceProvider", "ServiceProvider") - .WithMany("ContactServiceProviders") - .HasForeignKey("ServiceProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("ServiceProvider"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contract", b => - { - b.HasOne("PyroFetes.Models.ServiceProvider", "ServiceProvider") - .WithMany("Contracts") - .HasForeignKey("ServiceProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("Contracts") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("ServiceProvider"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.HasOne("PyroFetes.Models.CustomerType", "CustomerType") - .WithMany("Customers") - .HasForeignKey("CustomerTypeId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("CustomerType"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.HasOne("PyroFetes.Models.Deliverer", "Deliverer") - .WithMany("DeliveryNotes") - .HasForeignKey("DelivererId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Deliverer"); - }); - - modelBuilder.Entity("PyroFetes.Models.ExperienceLevel", b => - { - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("ExperienceLevels") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany() - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.MaterialWarehouse", b => - { - b.HasOne("PyroFetes.Models.Material", "Material") - .WithMany("MaterialWarehouses") - .HasForeignKey("MaterialId") - .OnDelete(DeleteBehavior.Restrict) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany("MaterialWarehouses") - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Restrict) - .IsRequired(); - - b.Navigation("Material"); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.HasOne("PyroFetes.Models.Warehouse", "DestinationWarehouse") - .WithMany("MovementsDestination") - .HasForeignKey("DestinationWarehouseId") - .OnDelete(DeleteBehavior.Restrict); - - b.HasOne("PyroFetes.Models.Warehouse", "SourceWarehouse") - .WithMany("MovementsSource") - .HasForeignKey("SourceWarehouseId") - .OnDelete(DeleteBehavior.Restrict); - - b.Navigation("DestinationWarehouse"); - - b.Navigation("SourceWarehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Price", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("Prices") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Supplier", "Supplier") - .WithMany("Prices") - .HasForeignKey("SupplierId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Supplier"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.HasOne("PyroFetes.Models.Classification", "Classification") - .WithMany("Products") - .HasForeignKey("ClassificationId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Movement", "Movement") - .WithMany("Products") - .HasForeignKey("MovementId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ProductCategory", "ProductCategory") - .WithMany("Products") - .HasForeignKey("ProductCategoryId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Classification"); - - b.Navigation("Movement"); - - b.Navigation("ProductCategory"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductColor", b => - { - b.HasOne("PyroFetes.Models.Color", "Color") - .WithMany("ProductColors") - .HasForeignKey("ColorId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductColors") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Color"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductDelivery", b => - { - b.HasOne("PyroFetes.Models.DeliveryNote", "DeliveryNote") - .WithMany("ProductDeliveries") - .HasForeignKey("DeliveryNoteId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductDeliveries") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("DeliveryNote"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductEffect", b => - { - b.HasOne("PyroFetes.Models.Effect", "Effect") - .WithMany("ProductEffects") - .HasForeignKey("EffectId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductEffects") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Effect"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductTimecode", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductTimecodes") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ProductTimecodes") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderContact", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany() - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ServiceProvider", "Provider") - .WithMany() - .HasForeignKey("ProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("Provider"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("PurchaseProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.PurchaseOrder", "PurchaseOrder") - .WithMany("PurchaseProducts") - .HasForeignKey("PurchaseOrderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("PurchaseOrder"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.HasOne("PyroFetes.Models.Customer", "Customer") - .WithMany("Quotations") - .HasForeignKey("CustomerId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Customer"); - }); - - modelBuilder.Entity("PyroFetes.Models.QuotationProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("QuotationProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Quotation", "Quotation") - .WithMany("QuotationProducts") - .HasForeignKey("QuotationId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Quotation"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.HasOne("PyroFetes.Models.ProviderType", "ProviderType") - .WithMany("ServiceProviders") - .HasForeignKey("ProviderTypeId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("ProviderType"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.HasOne("PyroFetes.Models.City", "City") - .WithMany("Shows") - .HasForeignKey("CityId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("City"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowMaterial", b => - { - b.HasOne("PyroFetes.Models.Material", "Material") - .WithMany("ShowMaterials") - .HasForeignKey("MaterialId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowMaterials") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Material"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowStaff", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowStaffs") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("ShowStaffs") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowTruck", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowTrucks") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Truck", "Truck") - .WithMany("ShowTrucks") - .HasForeignKey("TruckId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Truck"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.HasOne("PyroFetes.Models.SoundCategory", "SoundCategory") - .WithMany("Sounds") - .HasForeignKey("SoundCategoryId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SoundCategory"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundTimecode", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("SoundTimecodes") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Sound", "Sound") - .WithMany("SoundTimecodes") - .HasForeignKey("SoundId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Sound"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffAvailability", b => - { - b.HasOne("PyroFetes.Models.Availability", "Availability") - .WithMany("StaffAvailabilities") - .HasForeignKey("AvailabilityId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffAvailabilities") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Availability"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffContact", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("StaffContacts") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffContacts") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffHistoryOfApproval", b => - { - b.HasOne("PyroFetes.Models.HistoryOfApproval", "HistoryOfApproval") - .WithMany("StaffHistoryOfApprovals") - .HasForeignKey("HistoryOfApprovalId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffHistoryOfApprovals") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("HistoryOfApproval"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.WarehouseProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("WarehouseProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany("WarehouseProducts") - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Availability", b => - { - b.Navigation("StaffAvailabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.City", b => - { - b.Navigation("Shows"); - }); - - modelBuilder.Entity("PyroFetes.Models.Classification", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.Color", b => - { - b.Navigation("ProductColors"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.Navigation("Communications"); - - b.Navigation("ContactServiceProviders"); - - b.Navigation("StaffContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.Navigation("Contacts"); - - b.Navigation("Quotations"); - }); - - modelBuilder.Entity("PyroFetes.Models.CustomerType", b => - { - b.Navigation("Customers"); - }); - - modelBuilder.Entity("PyroFetes.Models.Deliverer", b => - { - b.Navigation("DeliveryNotes"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.Navigation("ProductDeliveries"); - }); - - modelBuilder.Entity("PyroFetes.Models.Effect", b => - { - b.Navigation("ProductEffects"); - }); - - modelBuilder.Entity("PyroFetes.Models.HistoryOfApproval", b => - { - b.Navigation("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.Navigation("MaterialWarehouses"); - - b.Navigation("ShowMaterials"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.Navigation("Brands"); - - b.Navigation("Prices"); - - b.Navigation("ProductColors"); - - b.Navigation("ProductDeliveries"); - - b.Navigation("ProductEffects"); - - b.Navigation("ProductTimecodes"); - - b.Navigation("PurchaseProducts"); - - b.Navigation("QuotationProducts"); - - b.Navigation("WarehouseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductCategory", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderType", b => - { - b.Navigation("ServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseOrder", b => - { - b.Navigation("PurchaseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.Navigation("QuotationProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.Navigation("ContactServiceProviders"); - - b.Navigation("Contracts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.Navigation("Contracts"); - - b.Navigation("ProductTimecodes"); - - b.Navigation("ShowMaterials"); - - b.Navigation("ShowStaffs"); - - b.Navigation("ShowTrucks"); - - b.Navigation("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.Navigation("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundCategory", b => - { - b.Navigation("Sounds"); - }); - - modelBuilder.Entity("PyroFetes.Models.Staff", b => - { - b.Navigation("ExperienceLevels"); - - b.Navigation("ShowStaffs"); - - b.Navigation("StaffAvailabilities"); - - b.Navigation("StaffContacts"); - - b.Navigation("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Supplier", b => - { - b.Navigation("Prices"); - }); - - modelBuilder.Entity("PyroFetes.Models.Truck", b => - { - b.Navigation("ShowTrucks"); - }); - - modelBuilder.Entity("PyroFetes.Models.Warehouse", b => - { - b.Navigation("MaterialWarehouses"); - - b.Navigation("MovementsDestination"); - - b.Navigation("MovementsSource"); - - b.Navigation("WarehouseProducts"); - }); -#pragma warning restore 612, 618 - } - } -} diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251113162655_FixedNullableValue.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251113162655_FixedNullableValue.cs deleted file mode 100644 index 0fe6098..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251113162655_FixedNullableValue.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; - -#nullable disable - -namespace PyroFetes.Migrations -{ - /// - public partial class FixedNullableValue : Migration - { - /// - protected override void Up(MigrationBuilder migrationBuilder) - { - migrationBuilder.AlterColumn( - name: "RealDeliveryDate", - table: "DeliveryNotes", - type: "date", - nullable: true, - oldClrType: typeof(DateOnly), - oldType: "date"); - } - - /// - protected override void Down(MigrationBuilder migrationBuilder) - { - migrationBuilder.AlterColumn( - name: "RealDeliveryDate", - table: "DeliveryNotes", - type: "date", - nullable: false, - defaultValue: new DateOnly(1, 1, 1), - oldClrType: typeof(DateOnly), - oldType: "date", - oldNullable: true); - } - } -} diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251120154429_FixTypeErrors.Designer.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251120154429_FixTypeErrors.Designer.cs deleted file mode 100644 index 323012e..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251120154429_FixTypeErrors.Designer.cs +++ /dev/null @@ -1,1966 +0,0 @@ -// -using System; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Metadata; -using Microsoft.EntityFrameworkCore.Migrations; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using PyroFetes; - -#nullable disable - -namespace PyroFetes.Migrations -{ - [DbContext(typeof(PyroFetesDbContext))] - [Migration("20251120154429_FixTypeErrors")] - partial class FixTypeErrors - { - /// - protected override void BuildTargetModel(ModelBuilder modelBuilder) - { -#pragma warning disable 612, 618 - modelBuilder - .HasAnnotation("ProductVersion", "8.0.20") - .HasAnnotation("Relational:MaxIdentifierLength", 128); - - SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); - - modelBuilder.Entity("PyroFetes.Models.Availability", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("AvailabilityDate") - .HasColumnType("date"); - - b.Property("DeliveryDate") - .HasColumnType("date"); - - b.Property("ExpirationDate") - .HasColumnType("date"); - - b.Property("RenewallDate") - .HasColumnType("date"); - - b.HasKey("Id"); - - b.ToTable("Availabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.Brand", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ProductId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("ProductId"); - - b.ToTable("Brands"); - }); - - modelBuilder.Entity("PyroFetes.Models.City", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.ToTable("Cities"); - }); - - modelBuilder.Entity("PyroFetes.Models.Classification", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Classifications"); - }); - - modelBuilder.Entity("PyroFetes.Models.Color", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Colors"); - }); - - modelBuilder.Entity("PyroFetes.Models.Communication", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Calling") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Meeting") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.HasKey("Id"); - - b.HasIndex("ContactId"); - - b.ToTable("Communications"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("CustomerId") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("FirstName") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("LastName") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("PhoneNumber") - .IsRequired() - .HasMaxLength(30) - .HasColumnType("nvarchar(30)"); - - b.Property("Role") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("CustomerId"); - - b.ToTable("Contacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ContactServiceProvider", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("ServiceProviderId") - .HasColumnType("int"); - - b.HasKey("ContactId", "ServiceProviderId"); - - b.HasIndex("ServiceProviderId"); - - b.ToTable("ContactServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contract", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("ServiceProviderId") - .HasColumnType("int"); - - b.Property("TermsAndConditions") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.HasKey("ShowId", "ServiceProviderId"); - - b.HasIndex("ServiceProviderId"); - - b.ToTable("Contracts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("CustomerTypeId") - .HasColumnType("int"); - - b.Property("Note") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.HasIndex("CustomerTypeId"); - - b.ToTable("Customers"); - }); - - modelBuilder.Entity("PyroFetes.Models.CustomerType", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("CustomerTypes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Deliverer", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Transporter") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Deliverers"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("DelivererId") - .HasColumnType("int"); - - b.Property("EstimateDeliveryDate") - .HasColumnType("date"); - - b.Property("ExpeditionDate") - .HasColumnType("date"); - - b.Property("RealDeliveryDate") - .HasColumnType("date"); - - b.Property("TrackingNumber") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.HasIndex("DelivererId"); - - b.ToTable("DeliveryNotes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Effect", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.ToTable("Effects"); - }); - - modelBuilder.Entity("PyroFetes.Models.ExperienceLevel", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("StaffId"); - - b.ToTable("ExperienceLevels"); - }); - - modelBuilder.Entity("PyroFetes.Models.HistoryOfApproval", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("DeliveryDate") - .HasColumnType("date"); - - b.Property("ExpirationDate") - .HasColumnType("date"); - - b.HasKey("Id"); - - b.ToTable("HistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("WarehouseId"); - - b.ToTable("Materials"); - }); - - modelBuilder.Entity("PyroFetes.Models.MaterialWarehouse", b => - { - b.Property("MaterialId") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.HasKey("MaterialId", "WarehouseId"); - - b.HasIndex("WarehouseId"); - - b.ToTable("MaterialWarehouses"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Arrival") - .HasColumnType("datetime2"); - - b.Property("Date") - .HasColumnType("datetime2"); - - b.Property("DestinationWarehouseId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.Property("SourceWarehouseId") - .HasColumnType("int"); - - b.Property("Start") - .HasColumnType("datetime2"); - - b.HasKey("Id"); - - b.HasIndex("DestinationWarehouseId"); - - b.HasIndex("SourceWarehouseId"); - - b.ToTable("Movements"); - }); - - modelBuilder.Entity("PyroFetes.Models.Price", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("SupplierId") - .HasColumnType("int"); - - b.Property("SellingPrice") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ProductId", "SupplierId"); - - b.HasIndex("SupplierId"); - - b.ToTable("Prices"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ApprovalNumber") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.Property("Caliber") - .HasColumnType("int"); - - b.Property("ClassificationId") - .HasColumnType("int"); - - b.Property("Duration") - .HasColumnType("decimal(18,2)"); - - b.Property("Image") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.Property("Link") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.Property("MinimalQuantity") - .HasColumnType("int"); - - b.Property("MovementId") - .HasColumnType("int"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Nec") - .HasColumnType("decimal(18,2)"); - - b.Property("ProductCategoryId") - .HasColumnType("int"); - - b.Property("Reference") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("nvarchar(20)"); - - b.Property("Weight") - .HasColumnType("decimal(18,2)"); - - b.HasKey("Id"); - - b.HasIndex("ClassificationId"); - - b.HasIndex("MovementId"); - - b.HasIndex("ProductCategoryId"); - - b.ToTable("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductCategory", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("ProductCategories"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductColor", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("ColorId") - .HasColumnType("int"); - - b.HasKey("ProductId", "ColorId"); - - b.HasIndex("ColorId"); - - b.ToTable("ProductColors"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductDelivery", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("DeliveryNoteId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "DeliveryNoteId"); - - b.HasIndex("DeliveryNoteId"); - - b.ToTable("ProductDeliveries"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductEffect", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("EffectId") - .HasColumnType("int"); - - b.HasKey("ProductId", "EffectId"); - - b.HasIndex("EffectId"); - - b.ToTable("ProductEffects"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductTimecode", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("End") - .HasColumnType("decimal(18,2)"); - - b.Property("Start") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ProductId", "ShowId"); - - b.HasIndex("ShowId"); - - b.ToTable("ProductTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderContact", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("ProviderId") - .HasColumnType("int"); - - b.HasKey("ContactId", "ProviderId"); - - b.HasIndex("ProviderId"); - - b.ToTable("ProviderContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderType", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("ProviderTypes"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseOrder", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("PurchaseConditions") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.HasKey("Id"); - - b.ToTable("PurchaseOrders"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("PurchaseOrderId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "PurchaseOrderId"); - - b.HasIndex("PurchaseOrderId"); - - b.ToTable("PurchaseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ConditionsSale") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.Property("CustomerId") - .HasColumnType("int"); - - b.Property("Message") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.HasIndex("CustomerId"); - - b.ToTable("Quotations"); - }); - - modelBuilder.Entity("PyroFetes.Models.QuotationProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("QuotationId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "QuotationId"); - - b.HasIndex("QuotationId"); - - b.ToTable("QuotationProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Price") - .HasColumnType("decimal(18,2)"); - - b.Property("ProviderTypeId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("ProviderTypeId"); - - b.ToTable("ServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.Setting", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ElectronicSignature") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.Property("Logo") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.HasKey("Id"); - - b.ToTable("Settings"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("CityId") - .HasColumnType("int"); - - b.Property("Date") - .HasColumnType("date"); - - b.Property("Description") - .HasMaxLength(500) - .HasColumnType("nvarchar(500)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Place") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("PyrotechnicImplementationPlan") - .IsRequired() - .HasMaxLength(500) - .HasColumnType("nvarchar(500)"); - - b.HasKey("Id"); - - b.HasIndex("CityId"); - - b.ToTable("Shows"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowMaterial", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("MaterialId") - .HasColumnType("int"); - - b.HasKey("ShowId", "MaterialId"); - - b.HasIndex("MaterialId"); - - b.ToTable("ShowMaterials"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowServiceProvider", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.HasKey("Id"); - - b.ToTable("ShowServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowStaff", b => - { - b.Property("StaffId") - .HasColumnType("int"); - - b.Property("ShowId") - .HasColumnType("int"); - - b.HasKey("StaffId", "ShowId"); - - b.HasIndex("ShowId"); - - b.ToTable("ShowStaffs"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowTruck", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("TruckId") - .HasColumnType("int"); - - b.HasKey("ShowId", "TruckId"); - - b.HasIndex("TruckId"); - - b.ToTable("ShowTrucks"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Artist") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("CreationDate") - .HasColumnType("datetime2"); - - b.Property("Duration") - .IsRequired() - .HasColumnType("int"); - - b.Property("Format") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Kind") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("SoundCategoryId") - .HasColumnType("int"); - - b.Property("Type") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.HasKey("Id"); - - b.HasIndex("SoundCategoryId"); - - b.ToTable("Sounds"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundCategory", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("SoundCategories"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundTimecode", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("SoundId") - .HasColumnType("int"); - - b.Property("End") - .HasColumnType("decimal(18,2)"); - - b.Property("Start") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ShowId", "SoundId"); - - b.HasIndex("SoundId"); - - b.ToTable("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Staff", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Email") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("F4T2ExpirationDate") - .HasColumnType("date"); - - b.Property("F4T2NumberApproval") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("FirstName") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.Property("LastName") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.Property("Profession") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Staffs"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffAvailability", b => - { - b.Property("AvailabilityId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("AvailabilityId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffAvailabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffContact", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("ContactId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffHistoryOfApproval", b => - { - b.Property("HistoryOfApprovalId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("HistoryOfApprovalId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Supplier", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("DeliveryDelay") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Phone") - .IsRequired() - .HasMaxLength(30) - .HasColumnType("nvarchar(30)"); - - b.Property("ZipCode") - .IsRequired() - .HasMaxLength(5) - .HasColumnType("nvarchar(5)"); - - b.HasKey("Id"); - - b.ToTable("Suppliers"); - }); - - modelBuilder.Entity("PyroFetes.Models.Truck", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("MaxExplosiveCapacity") - .IsRequired() - .HasColumnType("float"); - - b.Property("Sizes") - .IsRequired() - .HasMaxLength(80) - .HasColumnType("nvarchar(80)"); - - b.Property("Status") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Type") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.HasKey("Id"); - - b.ToTable("Trucks"); - }); - - modelBuilder.Entity("PyroFetes.Models.User", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Fonction") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Password") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)"); - - b.Property("Salt") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Users"); - }); - - modelBuilder.Entity("PyroFetes.Models.Warehouse", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Current") - .HasColumnType("int"); - - b.Property("MaxWeight") - .HasColumnType("int"); - - b.Property("MinWeight") - .HasColumnType("int"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.ToTable("Warehouses"); - }); - - modelBuilder.Entity("PyroFetes.Models.WarehouseProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "WarehouseId"); - - b.HasIndex("WarehouseId"); - - b.ToTable("WarehouseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Brand", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("Brands") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.Communication", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("Communications") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.HasOne("PyroFetes.Models.Customer", "Customer") - .WithMany("Contacts") - .HasForeignKey("CustomerId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Customer"); - }); - - modelBuilder.Entity("PyroFetes.Models.ContactServiceProvider", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("ContactServiceProviders") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ServiceProvider", "ServiceProvider") - .WithMany("ContactServiceProviders") - .HasForeignKey("ServiceProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("ServiceProvider"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contract", b => - { - b.HasOne("PyroFetes.Models.ServiceProvider", "ServiceProvider") - .WithMany("Contracts") - .HasForeignKey("ServiceProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("Contracts") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("ServiceProvider"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.HasOne("PyroFetes.Models.CustomerType", "CustomerType") - .WithMany("Customers") - .HasForeignKey("CustomerTypeId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("CustomerType"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.HasOne("PyroFetes.Models.Deliverer", "Deliverer") - .WithMany("DeliveryNotes") - .HasForeignKey("DelivererId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Deliverer"); - }); - - modelBuilder.Entity("PyroFetes.Models.ExperienceLevel", b => - { - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("ExperienceLevels") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany() - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.MaterialWarehouse", b => - { - b.HasOne("PyroFetes.Models.Material", "Material") - .WithMany("MaterialWarehouses") - .HasForeignKey("MaterialId") - .OnDelete(DeleteBehavior.Restrict) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany("MaterialWarehouses") - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Restrict) - .IsRequired(); - - b.Navigation("Material"); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.HasOne("PyroFetes.Models.Warehouse", "DestinationWarehouse") - .WithMany("MovementsDestination") - .HasForeignKey("DestinationWarehouseId") - .OnDelete(DeleteBehavior.Restrict); - - b.HasOne("PyroFetes.Models.Warehouse", "SourceWarehouse") - .WithMany("MovementsSource") - .HasForeignKey("SourceWarehouseId") - .OnDelete(DeleteBehavior.Restrict); - - b.Navigation("DestinationWarehouse"); - - b.Navigation("SourceWarehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Price", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("Prices") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Supplier", "Supplier") - .WithMany("Prices") - .HasForeignKey("SupplierId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Supplier"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.HasOne("PyroFetes.Models.Classification", "Classification") - .WithMany("Products") - .HasForeignKey("ClassificationId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Movement", "Movement") - .WithMany("Products") - .HasForeignKey("MovementId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ProductCategory", "ProductCategory") - .WithMany("Products") - .HasForeignKey("ProductCategoryId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Classification"); - - b.Navigation("Movement"); - - b.Navigation("ProductCategory"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductColor", b => - { - b.HasOne("PyroFetes.Models.Color", "Color") - .WithMany("ProductColors") - .HasForeignKey("ColorId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductColors") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Color"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductDelivery", b => - { - b.HasOne("PyroFetes.Models.DeliveryNote", "DeliveryNote") - .WithMany("ProductDeliveries") - .HasForeignKey("DeliveryNoteId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductDeliveries") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("DeliveryNote"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductEffect", b => - { - b.HasOne("PyroFetes.Models.Effect", "Effect") - .WithMany("ProductEffects") - .HasForeignKey("EffectId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductEffects") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Effect"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductTimecode", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductTimecodes") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ProductTimecodes") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderContact", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany() - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ServiceProvider", "Provider") - .WithMany() - .HasForeignKey("ProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("Provider"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("PurchaseProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.PurchaseOrder", "PurchaseOrder") - .WithMany("PurchaseProducts") - .HasForeignKey("PurchaseOrderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("PurchaseOrder"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.HasOne("PyroFetes.Models.Customer", "Customer") - .WithMany("Quotations") - .HasForeignKey("CustomerId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Customer"); - }); - - modelBuilder.Entity("PyroFetes.Models.QuotationProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("QuotationProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Quotation", "Quotation") - .WithMany("QuotationProducts") - .HasForeignKey("QuotationId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Quotation"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.HasOne("PyroFetes.Models.ProviderType", "ProviderType") - .WithMany("ServiceProviders") - .HasForeignKey("ProviderTypeId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("ProviderType"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.HasOne("PyroFetes.Models.City", "City") - .WithMany("Shows") - .HasForeignKey("CityId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("City"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowMaterial", b => - { - b.HasOne("PyroFetes.Models.Material", "Material") - .WithMany("ShowMaterials") - .HasForeignKey("MaterialId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowMaterials") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Material"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowStaff", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowStaffs") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("ShowStaffs") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowTruck", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowTrucks") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Truck", "Truck") - .WithMany("ShowTrucks") - .HasForeignKey("TruckId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Truck"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.HasOne("PyroFetes.Models.SoundCategory", "SoundCategory") - .WithMany("Sounds") - .HasForeignKey("SoundCategoryId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SoundCategory"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundTimecode", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("SoundTimecodes") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Sound", "Sound") - .WithMany("SoundTimecodes") - .HasForeignKey("SoundId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Sound"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffAvailability", b => - { - b.HasOne("PyroFetes.Models.Availability", "Availability") - .WithMany("StaffAvailabilities") - .HasForeignKey("AvailabilityId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffAvailabilities") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Availability"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffContact", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("StaffContacts") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffContacts") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffHistoryOfApproval", b => - { - b.HasOne("PyroFetes.Models.HistoryOfApproval", "HistoryOfApproval") - .WithMany("StaffHistoryOfApprovals") - .HasForeignKey("HistoryOfApprovalId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffHistoryOfApprovals") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("HistoryOfApproval"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.WarehouseProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("WarehouseProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany("WarehouseProducts") - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Availability", b => - { - b.Navigation("StaffAvailabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.City", b => - { - b.Navigation("Shows"); - }); - - modelBuilder.Entity("PyroFetes.Models.Classification", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.Color", b => - { - b.Navigation("ProductColors"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.Navigation("Communications"); - - b.Navigation("ContactServiceProviders"); - - b.Navigation("StaffContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.Navigation("Contacts"); - - b.Navigation("Quotations"); - }); - - modelBuilder.Entity("PyroFetes.Models.CustomerType", b => - { - b.Navigation("Customers"); - }); - - modelBuilder.Entity("PyroFetes.Models.Deliverer", b => - { - b.Navigation("DeliveryNotes"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.Navigation("ProductDeliveries"); - }); - - modelBuilder.Entity("PyroFetes.Models.Effect", b => - { - b.Navigation("ProductEffects"); - }); - - modelBuilder.Entity("PyroFetes.Models.HistoryOfApproval", b => - { - b.Navigation("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.Navigation("MaterialWarehouses"); - - b.Navigation("ShowMaterials"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.Navigation("Brands"); - - b.Navigation("Prices"); - - b.Navigation("ProductColors"); - - b.Navigation("ProductDeliveries"); - - b.Navigation("ProductEffects"); - - b.Navigation("ProductTimecodes"); - - b.Navigation("PurchaseProducts"); - - b.Navigation("QuotationProducts"); - - b.Navigation("WarehouseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductCategory", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderType", b => - { - b.Navigation("ServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseOrder", b => - { - b.Navigation("PurchaseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.Navigation("QuotationProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.Navigation("ContactServiceProviders"); - - b.Navigation("Contracts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.Navigation("Contracts"); - - b.Navigation("ProductTimecodes"); - - b.Navigation("ShowMaterials"); - - b.Navigation("ShowStaffs"); - - b.Navigation("ShowTrucks"); - - b.Navigation("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.Navigation("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundCategory", b => - { - b.Navigation("Sounds"); - }); - - modelBuilder.Entity("PyroFetes.Models.Staff", b => - { - b.Navigation("ExperienceLevels"); - - b.Navigation("ShowStaffs"); - - b.Navigation("StaffAvailabilities"); - - b.Navigation("StaffContacts"); - - b.Navigation("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Supplier", b => - { - b.Navigation("Prices"); - }); - - modelBuilder.Entity("PyroFetes.Models.Truck", b => - { - b.Navigation("ShowTrucks"); - }); - - modelBuilder.Entity("PyroFetes.Models.Warehouse", b => - { - b.Navigation("MaterialWarehouses"); - - b.Navigation("MovementsDestination"); - - b.Navigation("MovementsSource"); - - b.Navigation("WarehouseProducts"); - }); -#pragma warning restore 612, 618 - } - } -} diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251120154429_FixTypeErrors.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251120154429_FixTypeErrors.cs deleted file mode 100644 index b8c2f9c..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251120154429_FixTypeErrors.cs +++ /dev/null @@ -1,68 +0,0 @@ -using Microsoft.EntityFrameworkCore.Migrations; - -#nullable disable - -namespace PyroFetes.Migrations -{ - /// - public partial class FixTypeErrors : Migration - { - /// - protected override void Up(MigrationBuilder migrationBuilder) - { - migrationBuilder.AlterColumn( - name: "ZipCode", - table: "Suppliers", - type: "nvarchar(5)", - maxLength: 5, - nullable: false, - oldClrType: typeof(int), - oldType: "int"); - - migrationBuilder.AlterColumn( - name: "Caliber", - table: "Products", - type: "int", - nullable: false, - oldClrType: typeof(decimal), - oldType: "decimal(18,2)"); - - migrationBuilder.AlterColumn( - name: "ApprovalNumber", - table: "Products", - type: "nvarchar(max)", - nullable: false, - oldClrType: typeof(int), - oldType: "int"); - } - - /// - protected override void Down(MigrationBuilder migrationBuilder) - { - migrationBuilder.AlterColumn( - name: "ZipCode", - table: "Suppliers", - type: "int", - nullable: false, - oldClrType: typeof(string), - oldType: "nvarchar(5)", - oldMaxLength: 5); - - migrationBuilder.AlterColumn( - name: "Caliber", - table: "Products", - type: "decimal(18,2)", - nullable: false, - oldClrType: typeof(int), - oldType: "int"); - - migrationBuilder.AlterColumn( - name: "ApprovalNumber", - table: "Products", - type: "int", - nullable: false, - oldClrType: typeof(string), - oldType: "nvarchar(max)"); - } - } -} diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251126193437_UpdatedDatabaseProductType.Designer.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251126193437_UpdatedDatabaseProductType.Designer.cs deleted file mode 100644 index 51757cb..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251126193437_UpdatedDatabaseProductType.Designer.cs +++ /dev/null @@ -1,1967 +0,0 @@ -// -using System; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Metadata; -using Microsoft.EntityFrameworkCore.Migrations; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using PyroFetes; - -#nullable disable - -namespace PyroFetes.Migrations -{ - [DbContext(typeof(PyroFetesDbContext))] - [Migration("20251126193437_UpdatedDatabaseProductType")] - partial class UpdatedDatabaseProductType - { - /// - protected override void BuildTargetModel(ModelBuilder modelBuilder) - { -#pragma warning disable 612, 618 - modelBuilder - .HasAnnotation("ProductVersion", "8.0.20") - .HasAnnotation("Relational:MaxIdentifierLength", 128); - - SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); - - modelBuilder.Entity("PyroFetes.Models.Availability", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("AvailabilityDate") - .HasColumnType("date"); - - b.Property("DeliveryDate") - .HasColumnType("date"); - - b.Property("ExpirationDate") - .HasColumnType("date"); - - b.Property("RenewallDate") - .HasColumnType("date"); - - b.HasKey("Id"); - - b.ToTable("Availabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.Brand", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ProductId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("ProductId"); - - b.ToTable("Brands"); - }); - - modelBuilder.Entity("PyroFetes.Models.City", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.ToTable("Cities"); - }); - - modelBuilder.Entity("PyroFetes.Models.Classification", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Classifications"); - }); - - modelBuilder.Entity("PyroFetes.Models.Color", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Colors"); - }); - - modelBuilder.Entity("PyroFetes.Models.Communication", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Calling") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Meeting") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.HasKey("Id"); - - b.HasIndex("ContactId"); - - b.ToTable("Communications"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("CustomerId") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("FirstName") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("LastName") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("PhoneNumber") - .IsRequired() - .HasMaxLength(30) - .HasColumnType("nvarchar(30)"); - - b.Property("Role") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("CustomerId"); - - b.ToTable("Contacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ContactServiceProvider", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("ServiceProviderId") - .HasColumnType("int"); - - b.HasKey("ContactId", "ServiceProviderId"); - - b.HasIndex("ServiceProviderId"); - - b.ToTable("ContactServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contract", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("ServiceProviderId") - .HasColumnType("int"); - - b.Property("TermsAndConditions") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.HasKey("ShowId", "ServiceProviderId"); - - b.HasIndex("ServiceProviderId"); - - b.ToTable("Contracts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("CustomerTypeId") - .HasColumnType("int"); - - b.Property("Note") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.HasIndex("CustomerTypeId"); - - b.ToTable("Customers"); - }); - - modelBuilder.Entity("PyroFetes.Models.CustomerType", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("CustomerTypes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Deliverer", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Transporter") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Deliverers"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("DelivererId") - .HasColumnType("int"); - - b.Property("EstimateDeliveryDate") - .HasColumnType("date"); - - b.Property("ExpeditionDate") - .HasColumnType("date"); - - b.Property("RealDeliveryDate") - .HasColumnType("date"); - - b.Property("TrackingNumber") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.HasIndex("DelivererId"); - - b.ToTable("DeliveryNotes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Effect", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.ToTable("Effects"); - }); - - modelBuilder.Entity("PyroFetes.Models.ExperienceLevel", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("StaffId"); - - b.ToTable("ExperienceLevels"); - }); - - modelBuilder.Entity("PyroFetes.Models.HistoryOfApproval", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("DeliveryDate") - .HasColumnType("date"); - - b.Property("ExpirationDate") - .HasColumnType("date"); - - b.HasKey("Id"); - - b.ToTable("HistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("WarehouseId"); - - b.ToTable("Materials"); - }); - - modelBuilder.Entity("PyroFetes.Models.MaterialWarehouse", b => - { - b.Property("MaterialId") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.HasKey("MaterialId", "WarehouseId"); - - b.HasIndex("WarehouseId"); - - b.ToTable("MaterialWarehouses"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Arrival") - .HasColumnType("datetime2"); - - b.Property("Date") - .HasColumnType("datetime2"); - - b.Property("DestinationWarehouseId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.Property("SourceWarehouseId") - .HasColumnType("int"); - - b.Property("Start") - .HasColumnType("datetime2"); - - b.HasKey("Id"); - - b.HasIndex("DestinationWarehouseId"); - - b.HasIndex("SourceWarehouseId"); - - b.ToTable("Movements"); - }); - - modelBuilder.Entity("PyroFetes.Models.Price", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("SupplierId") - .HasColumnType("int"); - - b.Property("SellingPrice") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ProductId", "SupplierId"); - - b.HasIndex("SupplierId"); - - b.ToTable("Prices"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ApprovalNumber") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Caliber") - .HasColumnType("int"); - - b.Property("ClassificationId") - .HasColumnType("int"); - - b.Property("Duration") - .HasColumnType("decimal(18,2)"); - - b.Property("Image") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.Property("Link") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.Property("MinimalQuantity") - .HasColumnType("int"); - - b.Property("MovementId") - .HasColumnType("int"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Nec") - .HasColumnType("decimal(18,2)"); - - b.Property("ProductCategoryId") - .HasColumnType("int"); - - b.Property("Reference") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("nvarchar(20)"); - - b.Property("Weight") - .HasColumnType("decimal(18,2)"); - - b.HasKey("Id"); - - b.HasIndex("ClassificationId"); - - b.HasIndex("MovementId"); - - b.HasIndex("ProductCategoryId"); - - b.ToTable("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductCategory", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("ProductCategories"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductColor", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("ColorId") - .HasColumnType("int"); - - b.HasKey("ProductId", "ColorId"); - - b.HasIndex("ColorId"); - - b.ToTable("ProductColors"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductDelivery", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("DeliveryNoteId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "DeliveryNoteId"); - - b.HasIndex("DeliveryNoteId"); - - b.ToTable("ProductDeliveries"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductEffect", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("EffectId") - .HasColumnType("int"); - - b.HasKey("ProductId", "EffectId"); - - b.HasIndex("EffectId"); - - b.ToTable("ProductEffects"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductTimecode", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("End") - .HasColumnType("decimal(18,2)"); - - b.Property("Start") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ProductId", "ShowId"); - - b.HasIndex("ShowId"); - - b.ToTable("ProductTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderContact", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("ProviderId") - .HasColumnType("int"); - - b.HasKey("ContactId", "ProviderId"); - - b.HasIndex("ProviderId"); - - b.ToTable("ProviderContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderType", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("ProviderTypes"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseOrder", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("PurchaseConditions") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.HasKey("Id"); - - b.ToTable("PurchaseOrders"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("PurchaseOrderId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "PurchaseOrderId"); - - b.HasIndex("PurchaseOrderId"); - - b.ToTable("PurchaseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ConditionsSale") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.Property("CustomerId") - .HasColumnType("int"); - - b.Property("Message") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.HasIndex("CustomerId"); - - b.ToTable("Quotations"); - }); - - modelBuilder.Entity("PyroFetes.Models.QuotationProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("QuotationId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "QuotationId"); - - b.HasIndex("QuotationId"); - - b.ToTable("QuotationProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Price") - .HasColumnType("decimal(18,2)"); - - b.Property("ProviderTypeId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("ProviderTypeId"); - - b.ToTable("ServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.Setting", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ElectronicSignature") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.Property("Logo") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.HasKey("Id"); - - b.ToTable("Settings"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("CityId") - .HasColumnType("int"); - - b.Property("Date") - .HasColumnType("date"); - - b.Property("Description") - .HasMaxLength(500) - .HasColumnType("nvarchar(500)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Place") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("PyrotechnicImplementationPlan") - .IsRequired() - .HasMaxLength(500) - .HasColumnType("nvarchar(500)"); - - b.HasKey("Id"); - - b.HasIndex("CityId"); - - b.ToTable("Shows"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowMaterial", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("MaterialId") - .HasColumnType("int"); - - b.HasKey("ShowId", "MaterialId"); - - b.HasIndex("MaterialId"); - - b.ToTable("ShowMaterials"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowServiceProvider", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.HasKey("Id"); - - b.ToTable("ShowServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowStaff", b => - { - b.Property("StaffId") - .HasColumnType("int"); - - b.Property("ShowId") - .HasColumnType("int"); - - b.HasKey("StaffId", "ShowId"); - - b.HasIndex("ShowId"); - - b.ToTable("ShowStaffs"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowTruck", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("TruckId") - .HasColumnType("int"); - - b.HasKey("ShowId", "TruckId"); - - b.HasIndex("TruckId"); - - b.ToTable("ShowTrucks"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Artist") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("CreationDate") - .HasColumnType("datetime2"); - - b.Property("Duration") - .IsRequired() - .HasColumnType("int"); - - b.Property("Format") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Kind") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("SoundCategoryId") - .HasColumnType("int"); - - b.Property("Type") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.HasKey("Id"); - - b.HasIndex("SoundCategoryId"); - - b.ToTable("Sounds"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundCategory", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("SoundCategories"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundTimecode", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("SoundId") - .HasColumnType("int"); - - b.Property("End") - .HasColumnType("decimal(18,2)"); - - b.Property("Start") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ShowId", "SoundId"); - - b.HasIndex("SoundId"); - - b.ToTable("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Staff", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Email") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("F4T2ExpirationDate") - .HasColumnType("date"); - - b.Property("F4T2NumberApproval") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("FirstName") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.Property("LastName") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.Property("Profession") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Staffs"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffAvailability", b => - { - b.Property("AvailabilityId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("AvailabilityId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffAvailabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffContact", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("ContactId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffHistoryOfApproval", b => - { - b.Property("HistoryOfApprovalId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("HistoryOfApprovalId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Supplier", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("DeliveryDelay") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Phone") - .IsRequired() - .HasMaxLength(30) - .HasColumnType("nvarchar(30)"); - - b.Property("ZipCode") - .IsRequired() - .HasMaxLength(5) - .HasColumnType("nvarchar(5)"); - - b.HasKey("Id"); - - b.ToTable("Suppliers"); - }); - - modelBuilder.Entity("PyroFetes.Models.Truck", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("MaxExplosiveCapacity") - .IsRequired() - .HasColumnType("float"); - - b.Property("Sizes") - .IsRequired() - .HasMaxLength(80) - .HasColumnType("nvarchar(80)"); - - b.Property("Status") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Type") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.HasKey("Id"); - - b.ToTable("Trucks"); - }); - - modelBuilder.Entity("PyroFetes.Models.User", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Fonction") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Password") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)"); - - b.Property("Salt") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Users"); - }); - - modelBuilder.Entity("PyroFetes.Models.Warehouse", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Current") - .HasColumnType("int"); - - b.Property("MaxWeight") - .HasColumnType("int"); - - b.Property("MinWeight") - .HasColumnType("int"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.ToTable("Warehouses"); - }); - - modelBuilder.Entity("PyroFetes.Models.WarehouseProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "WarehouseId"); - - b.HasIndex("WarehouseId"); - - b.ToTable("WarehouseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Brand", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("Brands") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.Communication", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("Communications") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.HasOne("PyroFetes.Models.Customer", "Customer") - .WithMany("Contacts") - .HasForeignKey("CustomerId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Customer"); - }); - - modelBuilder.Entity("PyroFetes.Models.ContactServiceProvider", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("ContactServiceProviders") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ServiceProvider", "ServiceProvider") - .WithMany("ContactServiceProviders") - .HasForeignKey("ServiceProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("ServiceProvider"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contract", b => - { - b.HasOne("PyroFetes.Models.ServiceProvider", "ServiceProvider") - .WithMany("Contracts") - .HasForeignKey("ServiceProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("Contracts") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("ServiceProvider"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.HasOne("PyroFetes.Models.CustomerType", "CustomerType") - .WithMany("Customers") - .HasForeignKey("CustomerTypeId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("CustomerType"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.HasOne("PyroFetes.Models.Deliverer", "Deliverer") - .WithMany("DeliveryNotes") - .HasForeignKey("DelivererId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Deliverer"); - }); - - modelBuilder.Entity("PyroFetes.Models.ExperienceLevel", b => - { - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("ExperienceLevels") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany() - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.MaterialWarehouse", b => - { - b.HasOne("PyroFetes.Models.Material", "Material") - .WithMany("MaterialWarehouses") - .HasForeignKey("MaterialId") - .OnDelete(DeleteBehavior.Restrict) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany("MaterialWarehouses") - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Restrict) - .IsRequired(); - - b.Navigation("Material"); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.HasOne("PyroFetes.Models.Warehouse", "DestinationWarehouse") - .WithMany("MovementsDestination") - .HasForeignKey("DestinationWarehouseId") - .OnDelete(DeleteBehavior.Restrict); - - b.HasOne("PyroFetes.Models.Warehouse", "SourceWarehouse") - .WithMany("MovementsSource") - .HasForeignKey("SourceWarehouseId") - .OnDelete(DeleteBehavior.Restrict); - - b.Navigation("DestinationWarehouse"); - - b.Navigation("SourceWarehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Price", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("Prices") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Supplier", "Supplier") - .WithMany("Prices") - .HasForeignKey("SupplierId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Supplier"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.HasOne("PyroFetes.Models.Classification", "Classification") - .WithMany("Products") - .HasForeignKey("ClassificationId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Movement", "Movement") - .WithMany("Products") - .HasForeignKey("MovementId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ProductCategory", "ProductCategory") - .WithMany("Products") - .HasForeignKey("ProductCategoryId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Classification"); - - b.Navigation("Movement"); - - b.Navigation("ProductCategory"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductColor", b => - { - b.HasOne("PyroFetes.Models.Color", "Color") - .WithMany("ProductColors") - .HasForeignKey("ColorId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductColors") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Color"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductDelivery", b => - { - b.HasOne("PyroFetes.Models.DeliveryNote", "DeliveryNote") - .WithMany("ProductDeliveries") - .HasForeignKey("DeliveryNoteId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductDeliveries") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("DeliveryNote"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductEffect", b => - { - b.HasOne("PyroFetes.Models.Effect", "Effect") - .WithMany("ProductEffects") - .HasForeignKey("EffectId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductEffects") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Effect"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductTimecode", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductTimecodes") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ProductTimecodes") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderContact", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany() - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ServiceProvider", "Provider") - .WithMany() - .HasForeignKey("ProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("Provider"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("PurchaseProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.PurchaseOrder", "PurchaseOrder") - .WithMany("PurchaseProducts") - .HasForeignKey("PurchaseOrderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("PurchaseOrder"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.HasOne("PyroFetes.Models.Customer", "Customer") - .WithMany("Quotations") - .HasForeignKey("CustomerId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Customer"); - }); - - modelBuilder.Entity("PyroFetes.Models.QuotationProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("QuotationProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Quotation", "Quotation") - .WithMany("QuotationProducts") - .HasForeignKey("QuotationId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Quotation"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.HasOne("PyroFetes.Models.ProviderType", "ProviderType") - .WithMany("ServiceProviders") - .HasForeignKey("ProviderTypeId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("ProviderType"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.HasOne("PyroFetes.Models.City", "City") - .WithMany("Shows") - .HasForeignKey("CityId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("City"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowMaterial", b => - { - b.HasOne("PyroFetes.Models.Material", "Material") - .WithMany("ShowMaterials") - .HasForeignKey("MaterialId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowMaterials") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Material"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowStaff", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowStaffs") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("ShowStaffs") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowTruck", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowTrucks") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Truck", "Truck") - .WithMany("ShowTrucks") - .HasForeignKey("TruckId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Truck"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.HasOne("PyroFetes.Models.SoundCategory", "SoundCategory") - .WithMany("Sounds") - .HasForeignKey("SoundCategoryId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SoundCategory"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundTimecode", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("SoundTimecodes") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Sound", "Sound") - .WithMany("SoundTimecodes") - .HasForeignKey("SoundId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Sound"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffAvailability", b => - { - b.HasOne("PyroFetes.Models.Availability", "Availability") - .WithMany("StaffAvailabilities") - .HasForeignKey("AvailabilityId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffAvailabilities") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Availability"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffContact", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("StaffContacts") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffContacts") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffHistoryOfApproval", b => - { - b.HasOne("PyroFetes.Models.HistoryOfApproval", "HistoryOfApproval") - .WithMany("StaffHistoryOfApprovals") - .HasForeignKey("HistoryOfApprovalId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffHistoryOfApprovals") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("HistoryOfApproval"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.WarehouseProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("WarehouseProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany("WarehouseProducts") - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Availability", b => - { - b.Navigation("StaffAvailabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.City", b => - { - b.Navigation("Shows"); - }); - - modelBuilder.Entity("PyroFetes.Models.Classification", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.Color", b => - { - b.Navigation("ProductColors"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.Navigation("Communications"); - - b.Navigation("ContactServiceProviders"); - - b.Navigation("StaffContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.Navigation("Contacts"); - - b.Navigation("Quotations"); - }); - - modelBuilder.Entity("PyroFetes.Models.CustomerType", b => - { - b.Navigation("Customers"); - }); - - modelBuilder.Entity("PyroFetes.Models.Deliverer", b => - { - b.Navigation("DeliveryNotes"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.Navigation("ProductDeliveries"); - }); - - modelBuilder.Entity("PyroFetes.Models.Effect", b => - { - b.Navigation("ProductEffects"); - }); - - modelBuilder.Entity("PyroFetes.Models.HistoryOfApproval", b => - { - b.Navigation("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.Navigation("MaterialWarehouses"); - - b.Navigation("ShowMaterials"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.Navigation("Brands"); - - b.Navigation("Prices"); - - b.Navigation("ProductColors"); - - b.Navigation("ProductDeliveries"); - - b.Navigation("ProductEffects"); - - b.Navigation("ProductTimecodes"); - - b.Navigation("PurchaseProducts"); - - b.Navigation("QuotationProducts"); - - b.Navigation("WarehouseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductCategory", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderType", b => - { - b.Navigation("ServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseOrder", b => - { - b.Navigation("PurchaseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.Navigation("QuotationProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.Navigation("ContactServiceProviders"); - - b.Navigation("Contracts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.Navigation("Contracts"); - - b.Navigation("ProductTimecodes"); - - b.Navigation("ShowMaterials"); - - b.Navigation("ShowStaffs"); - - b.Navigation("ShowTrucks"); - - b.Navigation("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.Navigation("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundCategory", b => - { - b.Navigation("Sounds"); - }); - - modelBuilder.Entity("PyroFetes.Models.Staff", b => - { - b.Navigation("ExperienceLevels"); - - b.Navigation("ShowStaffs"); - - b.Navigation("StaffAvailabilities"); - - b.Navigation("StaffContacts"); - - b.Navigation("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Supplier", b => - { - b.Navigation("Prices"); - }); - - modelBuilder.Entity("PyroFetes.Models.Truck", b => - { - b.Navigation("ShowTrucks"); - }); - - modelBuilder.Entity("PyroFetes.Models.Warehouse", b => - { - b.Navigation("MaterialWarehouses"); - - b.Navigation("MovementsDestination"); - - b.Navigation("MovementsSource"); - - b.Navigation("WarehouseProducts"); - }); -#pragma warning restore 612, 618 - } - } -} diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251126193437_UpdatedDatabaseProductType.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251126193437_UpdatedDatabaseProductType.cs deleted file mode 100644 index ee74644..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251126193437_UpdatedDatabaseProductType.cs +++ /dev/null @@ -1,36 +0,0 @@ -using Microsoft.EntityFrameworkCore.Migrations; - -#nullable disable - -namespace PyroFetes.Migrations -{ - /// - public partial class UpdatedDatabaseProductType : Migration - { - /// - protected override void Up(MigrationBuilder migrationBuilder) - { - migrationBuilder.AlterColumn( - name: "ApprovalNumber", - table: "Products", - type: "nvarchar(100)", - maxLength: 100, - nullable: false, - oldClrType: typeof(string), - oldType: "nvarchar(max)"); - } - - /// - protected override void Down(MigrationBuilder migrationBuilder) - { - migrationBuilder.AlterColumn( - name: "ApprovalNumber", - table: "Products", - type: "nvarchar(max)", - nullable: false, - oldClrType: typeof(string), - oldType: "nvarchar(100)", - oldMaxLength: 100); - } - } -} diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251127124107_UpdatedLengthOfPassword.Designer.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251127124107_UpdatedLengthOfPassword.Designer.cs deleted file mode 100644 index 1cc2af1..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251127124107_UpdatedLengthOfPassword.Designer.cs +++ /dev/null @@ -1,1967 +0,0 @@ -// -using System; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Metadata; -using Microsoft.EntityFrameworkCore.Migrations; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using PyroFetes; - -#nullable disable - -namespace PyroFetes.Migrations -{ - [DbContext(typeof(PyroFetesDbContext))] - [Migration("20251127124107_UpdatedLengthOfPassword")] - partial class UpdatedLengthOfPassword - { - /// - protected override void BuildTargetModel(ModelBuilder modelBuilder) - { -#pragma warning disable 612, 618 - modelBuilder - .HasAnnotation("ProductVersion", "8.0.20") - .HasAnnotation("Relational:MaxIdentifierLength", 128); - - SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); - - modelBuilder.Entity("PyroFetes.Models.Availability", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("AvailabilityDate") - .HasColumnType("date"); - - b.Property("DeliveryDate") - .HasColumnType("date"); - - b.Property("ExpirationDate") - .HasColumnType("date"); - - b.Property("RenewallDate") - .HasColumnType("date"); - - b.HasKey("Id"); - - b.ToTable("Availabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.Brand", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ProductId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("ProductId"); - - b.ToTable("Brands"); - }); - - modelBuilder.Entity("PyroFetes.Models.City", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.ToTable("Cities"); - }); - - modelBuilder.Entity("PyroFetes.Models.Classification", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Classifications"); - }); - - modelBuilder.Entity("PyroFetes.Models.Color", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Colors"); - }); - - modelBuilder.Entity("PyroFetes.Models.Communication", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Calling") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Meeting") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.HasKey("Id"); - - b.HasIndex("ContactId"); - - b.ToTable("Communications"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("CustomerId") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("FirstName") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("LastName") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("PhoneNumber") - .IsRequired() - .HasMaxLength(30) - .HasColumnType("nvarchar(30)"); - - b.Property("Role") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("CustomerId"); - - b.ToTable("Contacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ContactServiceProvider", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("ServiceProviderId") - .HasColumnType("int"); - - b.HasKey("ContactId", "ServiceProviderId"); - - b.HasIndex("ServiceProviderId"); - - b.ToTable("ContactServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contract", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("ServiceProviderId") - .HasColumnType("int"); - - b.Property("TermsAndConditions") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.HasKey("ShowId", "ServiceProviderId"); - - b.HasIndex("ServiceProviderId"); - - b.ToTable("Contracts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("CustomerTypeId") - .HasColumnType("int"); - - b.Property("Note") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.HasIndex("CustomerTypeId"); - - b.ToTable("Customers"); - }); - - modelBuilder.Entity("PyroFetes.Models.CustomerType", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("CustomerTypes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Deliverer", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Transporter") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Deliverers"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("DelivererId") - .HasColumnType("int"); - - b.Property("EstimateDeliveryDate") - .HasColumnType("date"); - - b.Property("ExpeditionDate") - .HasColumnType("date"); - - b.Property("RealDeliveryDate") - .HasColumnType("date"); - - b.Property("TrackingNumber") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.HasIndex("DelivererId"); - - b.ToTable("DeliveryNotes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Effect", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.ToTable("Effects"); - }); - - modelBuilder.Entity("PyroFetes.Models.ExperienceLevel", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("StaffId"); - - b.ToTable("ExperienceLevels"); - }); - - modelBuilder.Entity("PyroFetes.Models.HistoryOfApproval", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("DeliveryDate") - .HasColumnType("date"); - - b.Property("ExpirationDate") - .HasColumnType("date"); - - b.HasKey("Id"); - - b.ToTable("HistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("WarehouseId"); - - b.ToTable("Materials"); - }); - - modelBuilder.Entity("PyroFetes.Models.MaterialWarehouse", b => - { - b.Property("MaterialId") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.HasKey("MaterialId", "WarehouseId"); - - b.HasIndex("WarehouseId"); - - b.ToTable("MaterialWarehouses"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Arrival") - .HasColumnType("datetime2"); - - b.Property("Date") - .HasColumnType("datetime2"); - - b.Property("DestinationWarehouseId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.Property("SourceWarehouseId") - .HasColumnType("int"); - - b.Property("Start") - .HasColumnType("datetime2"); - - b.HasKey("Id"); - - b.HasIndex("DestinationWarehouseId"); - - b.HasIndex("SourceWarehouseId"); - - b.ToTable("Movements"); - }); - - modelBuilder.Entity("PyroFetes.Models.Price", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("SupplierId") - .HasColumnType("int"); - - b.Property("SellingPrice") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ProductId", "SupplierId"); - - b.HasIndex("SupplierId"); - - b.ToTable("Prices"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ApprovalNumber") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Caliber") - .HasColumnType("int"); - - b.Property("ClassificationId") - .HasColumnType("int"); - - b.Property("Duration") - .HasColumnType("decimal(18,2)"); - - b.Property("Image") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.Property("Link") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.Property("MinimalQuantity") - .HasColumnType("int"); - - b.Property("MovementId") - .HasColumnType("int"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Nec") - .HasColumnType("decimal(18,2)"); - - b.Property("ProductCategoryId") - .HasColumnType("int"); - - b.Property("Reference") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("nvarchar(20)"); - - b.Property("Weight") - .HasColumnType("decimal(18,2)"); - - b.HasKey("Id"); - - b.HasIndex("ClassificationId"); - - b.HasIndex("MovementId"); - - b.HasIndex("ProductCategoryId"); - - b.ToTable("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductCategory", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("ProductCategories"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductColor", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("ColorId") - .HasColumnType("int"); - - b.HasKey("ProductId", "ColorId"); - - b.HasIndex("ColorId"); - - b.ToTable("ProductColors"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductDelivery", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("DeliveryNoteId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "DeliveryNoteId"); - - b.HasIndex("DeliveryNoteId"); - - b.ToTable("ProductDeliveries"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductEffect", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("EffectId") - .HasColumnType("int"); - - b.HasKey("ProductId", "EffectId"); - - b.HasIndex("EffectId"); - - b.ToTable("ProductEffects"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductTimecode", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("End") - .HasColumnType("decimal(18,2)"); - - b.Property("Start") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ProductId", "ShowId"); - - b.HasIndex("ShowId"); - - b.ToTable("ProductTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderContact", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("ProviderId") - .HasColumnType("int"); - - b.HasKey("ContactId", "ProviderId"); - - b.HasIndex("ProviderId"); - - b.ToTable("ProviderContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderType", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("ProviderTypes"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseOrder", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("PurchaseConditions") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.HasKey("Id"); - - b.ToTable("PurchaseOrders"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("PurchaseOrderId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "PurchaseOrderId"); - - b.HasIndex("PurchaseOrderId"); - - b.ToTable("PurchaseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ConditionsSale") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.Property("CustomerId") - .HasColumnType("int"); - - b.Property("Message") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.HasIndex("CustomerId"); - - b.ToTable("Quotations"); - }); - - modelBuilder.Entity("PyroFetes.Models.QuotationProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("QuotationId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "QuotationId"); - - b.HasIndex("QuotationId"); - - b.ToTable("QuotationProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Price") - .HasColumnType("decimal(18,2)"); - - b.Property("ProviderTypeId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("ProviderTypeId"); - - b.ToTable("ServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.Setting", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ElectronicSignature") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.Property("Logo") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.HasKey("Id"); - - b.ToTable("Settings"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("CityId") - .HasColumnType("int"); - - b.Property("Date") - .HasColumnType("date"); - - b.Property("Description") - .HasMaxLength(500) - .HasColumnType("nvarchar(500)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Place") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("PyrotechnicImplementationPlan") - .IsRequired() - .HasMaxLength(500) - .HasColumnType("nvarchar(500)"); - - b.HasKey("Id"); - - b.HasIndex("CityId"); - - b.ToTable("Shows"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowMaterial", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("MaterialId") - .HasColumnType("int"); - - b.HasKey("ShowId", "MaterialId"); - - b.HasIndex("MaterialId"); - - b.ToTable("ShowMaterials"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowServiceProvider", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.HasKey("Id"); - - b.ToTable("ShowServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowStaff", b => - { - b.Property("StaffId") - .HasColumnType("int"); - - b.Property("ShowId") - .HasColumnType("int"); - - b.HasKey("StaffId", "ShowId"); - - b.HasIndex("ShowId"); - - b.ToTable("ShowStaffs"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowTruck", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("TruckId") - .HasColumnType("int"); - - b.HasKey("ShowId", "TruckId"); - - b.HasIndex("TruckId"); - - b.ToTable("ShowTrucks"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Artist") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("CreationDate") - .HasColumnType("datetime2"); - - b.Property("Duration") - .IsRequired() - .HasColumnType("int"); - - b.Property("Format") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Kind") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("SoundCategoryId") - .HasColumnType("int"); - - b.Property("Type") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.HasKey("Id"); - - b.HasIndex("SoundCategoryId"); - - b.ToTable("Sounds"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundCategory", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("SoundCategories"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundTimecode", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("SoundId") - .HasColumnType("int"); - - b.Property("End") - .HasColumnType("decimal(18,2)"); - - b.Property("Start") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ShowId", "SoundId"); - - b.HasIndex("SoundId"); - - b.ToTable("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Staff", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Email") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("F4T2ExpirationDate") - .HasColumnType("date"); - - b.Property("F4T2NumberApproval") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("FirstName") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.Property("LastName") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.Property("Profession") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Staffs"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffAvailability", b => - { - b.Property("AvailabilityId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("AvailabilityId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffAvailabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffContact", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("ContactId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffHistoryOfApproval", b => - { - b.Property("HistoryOfApprovalId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("HistoryOfApprovalId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Supplier", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("DeliveryDelay") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Phone") - .IsRequired() - .HasMaxLength(30) - .HasColumnType("nvarchar(30)"); - - b.Property("ZipCode") - .IsRequired() - .HasMaxLength(5) - .HasColumnType("nvarchar(5)"); - - b.HasKey("Id"); - - b.ToTable("Suppliers"); - }); - - modelBuilder.Entity("PyroFetes.Models.Truck", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("MaxExplosiveCapacity") - .IsRequired() - .HasColumnType("float"); - - b.Property("Sizes") - .IsRequired() - .HasMaxLength(80) - .HasColumnType("nvarchar(80)"); - - b.Property("Status") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Type") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.HasKey("Id"); - - b.ToTable("Trucks"); - }); - - modelBuilder.Entity("PyroFetes.Models.User", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Fonction") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Password") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.Property("Salt") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Users"); - }); - - modelBuilder.Entity("PyroFetes.Models.Warehouse", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Current") - .HasColumnType("int"); - - b.Property("MaxWeight") - .HasColumnType("int"); - - b.Property("MinWeight") - .HasColumnType("int"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.ToTable("Warehouses"); - }); - - modelBuilder.Entity("PyroFetes.Models.WarehouseProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "WarehouseId"); - - b.HasIndex("WarehouseId"); - - b.ToTable("WarehouseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Brand", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("Brands") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.Communication", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("Communications") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.HasOne("PyroFetes.Models.Customer", "Customer") - .WithMany("Contacts") - .HasForeignKey("CustomerId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Customer"); - }); - - modelBuilder.Entity("PyroFetes.Models.ContactServiceProvider", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("ContactServiceProviders") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ServiceProvider", "ServiceProvider") - .WithMany("ContactServiceProviders") - .HasForeignKey("ServiceProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("ServiceProvider"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contract", b => - { - b.HasOne("PyroFetes.Models.ServiceProvider", "ServiceProvider") - .WithMany("Contracts") - .HasForeignKey("ServiceProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("Contracts") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("ServiceProvider"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.HasOne("PyroFetes.Models.CustomerType", "CustomerType") - .WithMany("Customers") - .HasForeignKey("CustomerTypeId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("CustomerType"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.HasOne("PyroFetes.Models.Deliverer", "Deliverer") - .WithMany("DeliveryNotes") - .HasForeignKey("DelivererId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Deliverer"); - }); - - modelBuilder.Entity("PyroFetes.Models.ExperienceLevel", b => - { - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("ExperienceLevels") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany() - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.MaterialWarehouse", b => - { - b.HasOne("PyroFetes.Models.Material", "Material") - .WithMany("MaterialWarehouses") - .HasForeignKey("MaterialId") - .OnDelete(DeleteBehavior.Restrict) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany("MaterialWarehouses") - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Restrict) - .IsRequired(); - - b.Navigation("Material"); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.HasOne("PyroFetes.Models.Warehouse", "DestinationWarehouse") - .WithMany("MovementsDestination") - .HasForeignKey("DestinationWarehouseId") - .OnDelete(DeleteBehavior.Restrict); - - b.HasOne("PyroFetes.Models.Warehouse", "SourceWarehouse") - .WithMany("MovementsSource") - .HasForeignKey("SourceWarehouseId") - .OnDelete(DeleteBehavior.Restrict); - - b.Navigation("DestinationWarehouse"); - - b.Navigation("SourceWarehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Price", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("Prices") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Supplier", "Supplier") - .WithMany("Prices") - .HasForeignKey("SupplierId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Supplier"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.HasOne("PyroFetes.Models.Classification", "Classification") - .WithMany("Products") - .HasForeignKey("ClassificationId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Movement", "Movement") - .WithMany("Products") - .HasForeignKey("MovementId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ProductCategory", "ProductCategory") - .WithMany("Products") - .HasForeignKey("ProductCategoryId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Classification"); - - b.Navigation("Movement"); - - b.Navigation("ProductCategory"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductColor", b => - { - b.HasOne("PyroFetes.Models.Color", "Color") - .WithMany("ProductColors") - .HasForeignKey("ColorId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductColors") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Color"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductDelivery", b => - { - b.HasOne("PyroFetes.Models.DeliveryNote", "DeliveryNote") - .WithMany("ProductDeliveries") - .HasForeignKey("DeliveryNoteId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductDeliveries") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("DeliveryNote"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductEffect", b => - { - b.HasOne("PyroFetes.Models.Effect", "Effect") - .WithMany("ProductEffects") - .HasForeignKey("EffectId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductEffects") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Effect"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductTimecode", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductTimecodes") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ProductTimecodes") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderContact", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany() - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ServiceProvider", "Provider") - .WithMany() - .HasForeignKey("ProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("Provider"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("PurchaseProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.PurchaseOrder", "PurchaseOrder") - .WithMany("PurchaseProducts") - .HasForeignKey("PurchaseOrderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("PurchaseOrder"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.HasOne("PyroFetes.Models.Customer", "Customer") - .WithMany("Quotations") - .HasForeignKey("CustomerId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Customer"); - }); - - modelBuilder.Entity("PyroFetes.Models.QuotationProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("QuotationProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Quotation", "Quotation") - .WithMany("QuotationProducts") - .HasForeignKey("QuotationId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Quotation"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.HasOne("PyroFetes.Models.ProviderType", "ProviderType") - .WithMany("ServiceProviders") - .HasForeignKey("ProviderTypeId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("ProviderType"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.HasOne("PyroFetes.Models.City", "City") - .WithMany("Shows") - .HasForeignKey("CityId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("City"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowMaterial", b => - { - b.HasOne("PyroFetes.Models.Material", "Material") - .WithMany("ShowMaterials") - .HasForeignKey("MaterialId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowMaterials") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Material"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowStaff", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowStaffs") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("ShowStaffs") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowTruck", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowTrucks") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Truck", "Truck") - .WithMany("ShowTrucks") - .HasForeignKey("TruckId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Truck"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.HasOne("PyroFetes.Models.SoundCategory", "SoundCategory") - .WithMany("Sounds") - .HasForeignKey("SoundCategoryId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SoundCategory"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundTimecode", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("SoundTimecodes") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Sound", "Sound") - .WithMany("SoundTimecodes") - .HasForeignKey("SoundId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Sound"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffAvailability", b => - { - b.HasOne("PyroFetes.Models.Availability", "Availability") - .WithMany("StaffAvailabilities") - .HasForeignKey("AvailabilityId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffAvailabilities") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Availability"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffContact", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("StaffContacts") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffContacts") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffHistoryOfApproval", b => - { - b.HasOne("PyroFetes.Models.HistoryOfApproval", "HistoryOfApproval") - .WithMany("StaffHistoryOfApprovals") - .HasForeignKey("HistoryOfApprovalId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffHistoryOfApprovals") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("HistoryOfApproval"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.WarehouseProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("WarehouseProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany("WarehouseProducts") - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Availability", b => - { - b.Navigation("StaffAvailabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.City", b => - { - b.Navigation("Shows"); - }); - - modelBuilder.Entity("PyroFetes.Models.Classification", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.Color", b => - { - b.Navigation("ProductColors"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.Navigation("Communications"); - - b.Navigation("ContactServiceProviders"); - - b.Navigation("StaffContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.Navigation("Contacts"); - - b.Navigation("Quotations"); - }); - - modelBuilder.Entity("PyroFetes.Models.CustomerType", b => - { - b.Navigation("Customers"); - }); - - modelBuilder.Entity("PyroFetes.Models.Deliverer", b => - { - b.Navigation("DeliveryNotes"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.Navigation("ProductDeliveries"); - }); - - modelBuilder.Entity("PyroFetes.Models.Effect", b => - { - b.Navigation("ProductEffects"); - }); - - modelBuilder.Entity("PyroFetes.Models.HistoryOfApproval", b => - { - b.Navigation("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.Navigation("MaterialWarehouses"); - - b.Navigation("ShowMaterials"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.Navigation("Brands"); - - b.Navigation("Prices"); - - b.Navigation("ProductColors"); - - b.Navigation("ProductDeliveries"); - - b.Navigation("ProductEffects"); - - b.Navigation("ProductTimecodes"); - - b.Navigation("PurchaseProducts"); - - b.Navigation("QuotationProducts"); - - b.Navigation("WarehouseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductCategory", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderType", b => - { - b.Navigation("ServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseOrder", b => - { - b.Navigation("PurchaseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.Navigation("QuotationProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.Navigation("ContactServiceProviders"); - - b.Navigation("Contracts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.Navigation("Contracts"); - - b.Navigation("ProductTimecodes"); - - b.Navigation("ShowMaterials"); - - b.Navigation("ShowStaffs"); - - b.Navigation("ShowTrucks"); - - b.Navigation("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.Navigation("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundCategory", b => - { - b.Navigation("Sounds"); - }); - - modelBuilder.Entity("PyroFetes.Models.Staff", b => - { - b.Navigation("ExperienceLevels"); - - b.Navigation("ShowStaffs"); - - b.Navigation("StaffAvailabilities"); - - b.Navigation("StaffContacts"); - - b.Navigation("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Supplier", b => - { - b.Navigation("Prices"); - }); - - modelBuilder.Entity("PyroFetes.Models.Truck", b => - { - b.Navigation("ShowTrucks"); - }); - - modelBuilder.Entity("PyroFetes.Models.Warehouse", b => - { - b.Navigation("MaterialWarehouses"); - - b.Navigation("MovementsDestination"); - - b.Navigation("MovementsSource"); - - b.Navigation("WarehouseProducts"); - }); -#pragma warning restore 612, 618 - } - } -} diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251127124107_UpdatedLengthOfPassword.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251127124107_UpdatedLengthOfPassword.cs deleted file mode 100644 index 23930f4..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251127124107_UpdatedLengthOfPassword.cs +++ /dev/null @@ -1,38 +0,0 @@ -using Microsoft.EntityFrameworkCore.Migrations; - -#nullable disable - -namespace PyroFetes.Migrations -{ - /// - public partial class UpdatedLengthOfPassword : Migration - { - /// - protected override void Up(MigrationBuilder migrationBuilder) - { - migrationBuilder.AlterColumn( - name: "Password", - table: "Users", - type: "nvarchar(60)", - maxLength: 60, - nullable: false, - oldClrType: typeof(string), - oldType: "nvarchar(50)", - oldMaxLength: 50); - } - - /// - protected override void Down(MigrationBuilder migrationBuilder) - { - migrationBuilder.AlterColumn( - name: "Password", - table: "Users", - type: "nvarchar(50)", - maxLength: 50, - nullable: false, - oldClrType: typeof(string), - oldType: "nvarchar(60)", - oldMaxLength: 60); - } - } -} diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251127133430_FixZipCode.Designer.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251127133430_FixZipCode.Designer.cs deleted file mode 100644 index adea6e9..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251127133430_FixZipCode.Designer.cs +++ /dev/null @@ -1,1967 +0,0 @@ -// -using System; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Metadata; -using Microsoft.EntityFrameworkCore.Migrations; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using PyroFetes; - -#nullable disable - -namespace PyroFetes.Migrations -{ - [DbContext(typeof(PyroFetesDbContext))] - [Migration("20251127133430_FixZipCode")] - partial class FixZipCode - { - /// - protected override void BuildTargetModel(ModelBuilder modelBuilder) - { -#pragma warning disable 612, 618 - modelBuilder - .HasAnnotation("ProductVersion", "8.0.20") - .HasAnnotation("Relational:MaxIdentifierLength", 128); - - SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); - - modelBuilder.Entity("PyroFetes.Models.Availability", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("AvailabilityDate") - .HasColumnType("date"); - - b.Property("DeliveryDate") - .HasColumnType("date"); - - b.Property("ExpirationDate") - .HasColumnType("date"); - - b.Property("RenewallDate") - .HasColumnType("date"); - - b.HasKey("Id"); - - b.ToTable("Availabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.Brand", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ProductId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("ProductId"); - - b.ToTable("Brands"); - }); - - modelBuilder.Entity("PyroFetes.Models.City", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.ToTable("Cities"); - }); - - modelBuilder.Entity("PyroFetes.Models.Classification", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Classifications"); - }); - - modelBuilder.Entity("PyroFetes.Models.Color", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Colors"); - }); - - modelBuilder.Entity("PyroFetes.Models.Communication", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Calling") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Meeting") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.HasKey("Id"); - - b.HasIndex("ContactId"); - - b.ToTable("Communications"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("CustomerId") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("FirstName") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("LastName") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("PhoneNumber") - .IsRequired() - .HasMaxLength(30) - .HasColumnType("nvarchar(30)"); - - b.Property("Role") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("CustomerId"); - - b.ToTable("Contacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ContactServiceProvider", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("ServiceProviderId") - .HasColumnType("int"); - - b.HasKey("ContactId", "ServiceProviderId"); - - b.HasIndex("ServiceProviderId"); - - b.ToTable("ContactServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contract", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("ServiceProviderId") - .HasColumnType("int"); - - b.Property("TermsAndConditions") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.HasKey("ShowId", "ServiceProviderId"); - - b.HasIndex("ServiceProviderId"); - - b.ToTable("Contracts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("CustomerTypeId") - .HasColumnType("int"); - - b.Property("Note") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.HasIndex("CustomerTypeId"); - - b.ToTable("Customers"); - }); - - modelBuilder.Entity("PyroFetes.Models.CustomerType", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("CustomerTypes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Deliverer", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Transporter") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Deliverers"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("DelivererId") - .HasColumnType("int"); - - b.Property("EstimateDeliveryDate") - .HasColumnType("date"); - - b.Property("ExpeditionDate") - .HasColumnType("date"); - - b.Property("RealDeliveryDate") - .HasColumnType("date"); - - b.Property("TrackingNumber") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.HasIndex("DelivererId"); - - b.ToTable("DeliveryNotes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Effect", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.ToTable("Effects"); - }); - - modelBuilder.Entity("PyroFetes.Models.ExperienceLevel", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("StaffId"); - - b.ToTable("ExperienceLevels"); - }); - - modelBuilder.Entity("PyroFetes.Models.HistoryOfApproval", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("DeliveryDate") - .HasColumnType("date"); - - b.Property("ExpirationDate") - .HasColumnType("date"); - - b.HasKey("Id"); - - b.ToTable("HistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("WarehouseId"); - - b.ToTable("Materials"); - }); - - modelBuilder.Entity("PyroFetes.Models.MaterialWarehouse", b => - { - b.Property("MaterialId") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.HasKey("MaterialId", "WarehouseId"); - - b.HasIndex("WarehouseId"); - - b.ToTable("MaterialWarehouses"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Arrival") - .HasColumnType("datetime2"); - - b.Property("Date") - .HasColumnType("datetime2"); - - b.Property("DestinationWarehouseId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.Property("SourceWarehouseId") - .HasColumnType("int"); - - b.Property("Start") - .HasColumnType("datetime2"); - - b.HasKey("Id"); - - b.HasIndex("DestinationWarehouseId"); - - b.HasIndex("SourceWarehouseId"); - - b.ToTable("Movements"); - }); - - modelBuilder.Entity("PyroFetes.Models.Price", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("SupplierId") - .HasColumnType("int"); - - b.Property("SellingPrice") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ProductId", "SupplierId"); - - b.HasIndex("SupplierId"); - - b.ToTable("Prices"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ApprovalNumber") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Caliber") - .HasColumnType("int"); - - b.Property("ClassificationId") - .HasColumnType("int"); - - b.Property("Duration") - .HasColumnType("decimal(18,2)"); - - b.Property("Image") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.Property("Link") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.Property("MinimalQuantity") - .HasColumnType("int"); - - b.Property("MovementId") - .HasColumnType("int"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Nec") - .HasColumnType("decimal(18,2)"); - - b.Property("ProductCategoryId") - .HasColumnType("int"); - - b.Property("Reference") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("nvarchar(20)"); - - b.Property("Weight") - .HasColumnType("decimal(18,2)"); - - b.HasKey("Id"); - - b.HasIndex("ClassificationId"); - - b.HasIndex("MovementId"); - - b.HasIndex("ProductCategoryId"); - - b.ToTable("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductCategory", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("ProductCategories"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductColor", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("ColorId") - .HasColumnType("int"); - - b.HasKey("ProductId", "ColorId"); - - b.HasIndex("ColorId"); - - b.ToTable("ProductColors"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductDelivery", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("DeliveryNoteId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "DeliveryNoteId"); - - b.HasIndex("DeliveryNoteId"); - - b.ToTable("ProductDeliveries"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductEffect", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("EffectId") - .HasColumnType("int"); - - b.HasKey("ProductId", "EffectId"); - - b.HasIndex("EffectId"); - - b.ToTable("ProductEffects"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductTimecode", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("End") - .HasColumnType("decimal(18,2)"); - - b.Property("Start") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ProductId", "ShowId"); - - b.HasIndex("ShowId"); - - b.ToTable("ProductTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderContact", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("ProviderId") - .HasColumnType("int"); - - b.HasKey("ContactId", "ProviderId"); - - b.HasIndex("ProviderId"); - - b.ToTable("ProviderContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderType", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("ProviderTypes"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseOrder", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("PurchaseConditions") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.HasKey("Id"); - - b.ToTable("PurchaseOrders"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("PurchaseOrderId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "PurchaseOrderId"); - - b.HasIndex("PurchaseOrderId"); - - b.ToTable("PurchaseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ConditionsSale") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.Property("CustomerId") - .HasColumnType("int"); - - b.Property("Message") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.HasIndex("CustomerId"); - - b.ToTable("Quotations"); - }); - - modelBuilder.Entity("PyroFetes.Models.QuotationProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("QuotationId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "QuotationId"); - - b.HasIndex("QuotationId"); - - b.ToTable("QuotationProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Price") - .HasColumnType("decimal(18,2)"); - - b.Property("ProviderTypeId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("ProviderTypeId"); - - b.ToTable("ServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.Setting", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ElectronicSignature") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.Property("Logo") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.HasKey("Id"); - - b.ToTable("Settings"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("CityId") - .HasColumnType("int"); - - b.Property("Date") - .HasColumnType("date"); - - b.Property("Description") - .HasMaxLength(500) - .HasColumnType("nvarchar(500)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Place") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("PyrotechnicImplementationPlan") - .IsRequired() - .HasMaxLength(500) - .HasColumnType("nvarchar(500)"); - - b.HasKey("Id"); - - b.HasIndex("CityId"); - - b.ToTable("Shows"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowMaterial", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("MaterialId") - .HasColumnType("int"); - - b.HasKey("ShowId", "MaterialId"); - - b.HasIndex("MaterialId"); - - b.ToTable("ShowMaterials"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowServiceProvider", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.HasKey("Id"); - - b.ToTable("ShowServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowStaff", b => - { - b.Property("StaffId") - .HasColumnType("int"); - - b.Property("ShowId") - .HasColumnType("int"); - - b.HasKey("StaffId", "ShowId"); - - b.HasIndex("ShowId"); - - b.ToTable("ShowStaffs"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowTruck", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("TruckId") - .HasColumnType("int"); - - b.HasKey("ShowId", "TruckId"); - - b.HasIndex("TruckId"); - - b.ToTable("ShowTrucks"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Artist") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("CreationDate") - .HasColumnType("datetime2"); - - b.Property("Duration") - .IsRequired() - .HasColumnType("int"); - - b.Property("Format") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Kind") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("SoundCategoryId") - .HasColumnType("int"); - - b.Property("Type") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.HasKey("Id"); - - b.HasIndex("SoundCategoryId"); - - b.ToTable("Sounds"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundCategory", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("SoundCategories"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundTimecode", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("SoundId") - .HasColumnType("int"); - - b.Property("End") - .HasColumnType("decimal(18,2)"); - - b.Property("Start") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ShowId", "SoundId"); - - b.HasIndex("SoundId"); - - b.ToTable("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Staff", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Email") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("F4T2ExpirationDate") - .HasColumnType("date"); - - b.Property("F4T2NumberApproval") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("FirstName") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.Property("LastName") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.Property("Profession") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Staffs"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffAvailability", b => - { - b.Property("AvailabilityId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("AvailabilityId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffAvailabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffContact", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("ContactId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffHistoryOfApproval", b => - { - b.Property("HistoryOfApprovalId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("HistoryOfApprovalId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Supplier", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("DeliveryDelay") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Phone") - .IsRequired() - .HasMaxLength(30) - .HasColumnType("nvarchar(30)"); - - b.Property("ZipCode") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.HasKey("Id"); - - b.ToTable("Suppliers"); - }); - - modelBuilder.Entity("PyroFetes.Models.Truck", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("MaxExplosiveCapacity") - .IsRequired() - .HasColumnType("float"); - - b.Property("Sizes") - .IsRequired() - .HasMaxLength(80) - .HasColumnType("nvarchar(80)"); - - b.Property("Status") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Type") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.HasKey("Id"); - - b.ToTable("Trucks"); - }); - - modelBuilder.Entity("PyroFetes.Models.User", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Fonction") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Password") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.Property("Salt") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Users"); - }); - - modelBuilder.Entity("PyroFetes.Models.Warehouse", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Current") - .HasColumnType("int"); - - b.Property("MaxWeight") - .HasColumnType("int"); - - b.Property("MinWeight") - .HasColumnType("int"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.HasKey("Id"); - - b.ToTable("Warehouses"); - }); - - modelBuilder.Entity("PyroFetes.Models.WarehouseProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "WarehouseId"); - - b.HasIndex("WarehouseId"); - - b.ToTable("WarehouseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Brand", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("Brands") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.Communication", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("Communications") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.HasOne("PyroFetes.Models.Customer", "Customer") - .WithMany("Contacts") - .HasForeignKey("CustomerId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Customer"); - }); - - modelBuilder.Entity("PyroFetes.Models.ContactServiceProvider", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("ContactServiceProviders") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ServiceProvider", "ServiceProvider") - .WithMany("ContactServiceProviders") - .HasForeignKey("ServiceProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("ServiceProvider"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contract", b => - { - b.HasOne("PyroFetes.Models.ServiceProvider", "ServiceProvider") - .WithMany("Contracts") - .HasForeignKey("ServiceProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("Contracts") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("ServiceProvider"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.HasOne("PyroFetes.Models.CustomerType", "CustomerType") - .WithMany("Customers") - .HasForeignKey("CustomerTypeId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("CustomerType"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.HasOne("PyroFetes.Models.Deliverer", "Deliverer") - .WithMany("DeliveryNotes") - .HasForeignKey("DelivererId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Deliverer"); - }); - - modelBuilder.Entity("PyroFetes.Models.ExperienceLevel", b => - { - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("ExperienceLevels") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany() - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.MaterialWarehouse", b => - { - b.HasOne("PyroFetes.Models.Material", "Material") - .WithMany("MaterialWarehouses") - .HasForeignKey("MaterialId") - .OnDelete(DeleteBehavior.Restrict) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany("MaterialWarehouses") - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Restrict) - .IsRequired(); - - b.Navigation("Material"); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.HasOne("PyroFetes.Models.Warehouse", "DestinationWarehouse") - .WithMany("MovementsDestination") - .HasForeignKey("DestinationWarehouseId") - .OnDelete(DeleteBehavior.Restrict); - - b.HasOne("PyroFetes.Models.Warehouse", "SourceWarehouse") - .WithMany("MovementsSource") - .HasForeignKey("SourceWarehouseId") - .OnDelete(DeleteBehavior.Restrict); - - b.Navigation("DestinationWarehouse"); - - b.Navigation("SourceWarehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Price", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("Prices") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Supplier", "Supplier") - .WithMany("Prices") - .HasForeignKey("SupplierId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Supplier"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.HasOne("PyroFetes.Models.Classification", "Classification") - .WithMany("Products") - .HasForeignKey("ClassificationId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Movement", "Movement") - .WithMany("Products") - .HasForeignKey("MovementId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ProductCategory", "ProductCategory") - .WithMany("Products") - .HasForeignKey("ProductCategoryId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Classification"); - - b.Navigation("Movement"); - - b.Navigation("ProductCategory"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductColor", b => - { - b.HasOne("PyroFetes.Models.Color", "Color") - .WithMany("ProductColors") - .HasForeignKey("ColorId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductColors") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Color"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductDelivery", b => - { - b.HasOne("PyroFetes.Models.DeliveryNote", "DeliveryNote") - .WithMany("ProductDeliveries") - .HasForeignKey("DeliveryNoteId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductDeliveries") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("DeliveryNote"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductEffect", b => - { - b.HasOne("PyroFetes.Models.Effect", "Effect") - .WithMany("ProductEffects") - .HasForeignKey("EffectId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductEffects") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Effect"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductTimecode", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductTimecodes") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ProductTimecodes") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderContact", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany() - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ServiceProvider", "Provider") - .WithMany() - .HasForeignKey("ProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("Provider"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("PurchaseProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.PurchaseOrder", "PurchaseOrder") - .WithMany("PurchaseProducts") - .HasForeignKey("PurchaseOrderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("PurchaseOrder"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.HasOne("PyroFetes.Models.Customer", "Customer") - .WithMany("Quotations") - .HasForeignKey("CustomerId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Customer"); - }); - - modelBuilder.Entity("PyroFetes.Models.QuotationProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("QuotationProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Quotation", "Quotation") - .WithMany("QuotationProducts") - .HasForeignKey("QuotationId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Quotation"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.HasOne("PyroFetes.Models.ProviderType", "ProviderType") - .WithMany("ServiceProviders") - .HasForeignKey("ProviderTypeId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("ProviderType"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.HasOne("PyroFetes.Models.City", "City") - .WithMany("Shows") - .HasForeignKey("CityId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("City"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowMaterial", b => - { - b.HasOne("PyroFetes.Models.Material", "Material") - .WithMany("ShowMaterials") - .HasForeignKey("MaterialId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowMaterials") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Material"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowStaff", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowStaffs") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("ShowStaffs") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowTruck", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowTrucks") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Truck", "Truck") - .WithMany("ShowTrucks") - .HasForeignKey("TruckId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Truck"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.HasOne("PyroFetes.Models.SoundCategory", "SoundCategory") - .WithMany("Sounds") - .HasForeignKey("SoundCategoryId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SoundCategory"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundTimecode", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("SoundTimecodes") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Sound", "Sound") - .WithMany("SoundTimecodes") - .HasForeignKey("SoundId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Sound"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffAvailability", b => - { - b.HasOne("PyroFetes.Models.Availability", "Availability") - .WithMany("StaffAvailabilities") - .HasForeignKey("AvailabilityId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffAvailabilities") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Availability"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffContact", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("StaffContacts") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffContacts") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffHistoryOfApproval", b => - { - b.HasOne("PyroFetes.Models.HistoryOfApproval", "HistoryOfApproval") - .WithMany("StaffHistoryOfApprovals") - .HasForeignKey("HistoryOfApprovalId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffHistoryOfApprovals") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("HistoryOfApproval"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.WarehouseProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("WarehouseProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany("WarehouseProducts") - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Availability", b => - { - b.Navigation("StaffAvailabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.City", b => - { - b.Navigation("Shows"); - }); - - modelBuilder.Entity("PyroFetes.Models.Classification", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.Color", b => - { - b.Navigation("ProductColors"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.Navigation("Communications"); - - b.Navigation("ContactServiceProviders"); - - b.Navigation("StaffContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.Navigation("Contacts"); - - b.Navigation("Quotations"); - }); - - modelBuilder.Entity("PyroFetes.Models.CustomerType", b => - { - b.Navigation("Customers"); - }); - - modelBuilder.Entity("PyroFetes.Models.Deliverer", b => - { - b.Navigation("DeliveryNotes"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.Navigation("ProductDeliveries"); - }); - - modelBuilder.Entity("PyroFetes.Models.Effect", b => - { - b.Navigation("ProductEffects"); - }); - - modelBuilder.Entity("PyroFetes.Models.HistoryOfApproval", b => - { - b.Navigation("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.Navigation("MaterialWarehouses"); - - b.Navigation("ShowMaterials"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.Navigation("Brands"); - - b.Navigation("Prices"); - - b.Navigation("ProductColors"); - - b.Navigation("ProductDeliveries"); - - b.Navigation("ProductEffects"); - - b.Navigation("ProductTimecodes"); - - b.Navigation("PurchaseProducts"); - - b.Navigation("QuotationProducts"); - - b.Navigation("WarehouseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductCategory", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderType", b => - { - b.Navigation("ServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseOrder", b => - { - b.Navigation("PurchaseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.Navigation("QuotationProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.Navigation("ContactServiceProviders"); - - b.Navigation("Contracts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.Navigation("Contracts"); - - b.Navigation("ProductTimecodes"); - - b.Navigation("ShowMaterials"); - - b.Navigation("ShowStaffs"); - - b.Navigation("ShowTrucks"); - - b.Navigation("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.Navigation("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundCategory", b => - { - b.Navigation("Sounds"); - }); - - modelBuilder.Entity("PyroFetes.Models.Staff", b => - { - b.Navigation("ExperienceLevels"); - - b.Navigation("ShowStaffs"); - - b.Navigation("StaffAvailabilities"); - - b.Navigation("StaffContacts"); - - b.Navigation("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Supplier", b => - { - b.Navigation("Prices"); - }); - - modelBuilder.Entity("PyroFetes.Models.Truck", b => - { - b.Navigation("ShowTrucks"); - }); - - modelBuilder.Entity("PyroFetes.Models.Warehouse", b => - { - b.Navigation("MaterialWarehouses"); - - b.Navigation("MovementsDestination"); - - b.Navigation("MovementsSource"); - - b.Navigation("WarehouseProducts"); - }); -#pragma warning restore 612, 618 - } - } -} diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251127133430_FixZipCode.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251127133430_FixZipCode.cs deleted file mode 100644 index 64c68f2..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/20251127133430_FixZipCode.cs +++ /dev/null @@ -1,52 +0,0 @@ -using Microsoft.EntityFrameworkCore.Migrations; - -#nullable disable - -namespace PyroFetes.Migrations -{ - /// - public partial class FixZipCode : Migration - { - /// - protected override void Up(MigrationBuilder migrationBuilder) - { - migrationBuilder.AlterColumn( - name: "ZipCode", - table: "Warehouses", - type: "nvarchar(max)", - nullable: false, - oldClrType: typeof(int), - oldType: "int"); - - migrationBuilder.AlterColumn( - name: "ZipCode", - table: "Suppliers", - type: "nvarchar(max)", - nullable: false, - oldClrType: typeof(string), - oldType: "nvarchar(5)", - oldMaxLength: 5); - } - - /// - protected override void Down(MigrationBuilder migrationBuilder) - { - migrationBuilder.AlterColumn( - name: "ZipCode", - table: "Warehouses", - type: "int", - nullable: false, - oldClrType: typeof(string), - oldType: "nvarchar(max)"); - - migrationBuilder.AlterColumn( - name: "ZipCode", - table: "Suppliers", - type: "nvarchar(5)", - maxLength: 5, - nullable: false, - oldClrType: typeof(string), - oldType: "nvarchar(max)"); - } - } -} diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/PyroFetesDbContextModelSnapshot.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/PyroFetesDbContextModelSnapshot.cs deleted file mode 100644 index 4c11f87..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Migrations/PyroFetesDbContextModelSnapshot.cs +++ /dev/null @@ -1,1964 +0,0 @@ -// -using System; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Metadata; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using PyroFetes; - -#nullable disable - -namespace PyroFetes.Migrations -{ - [DbContext(typeof(PyroFetesDbContext))] - partial class PyroFetesDbContextModelSnapshot : ModelSnapshot - { - protected override void BuildModel(ModelBuilder modelBuilder) - { -#pragma warning disable 612, 618 - modelBuilder - .HasAnnotation("ProductVersion", "8.0.20") - .HasAnnotation("Relational:MaxIdentifierLength", 128); - - SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); - - modelBuilder.Entity("PyroFetes.Models.Availability", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("AvailabilityDate") - .HasColumnType("date"); - - b.Property("DeliveryDate") - .HasColumnType("date"); - - b.Property("ExpirationDate") - .HasColumnType("date"); - - b.Property("RenewallDate") - .HasColumnType("date"); - - b.HasKey("Id"); - - b.ToTable("Availabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.Brand", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ProductId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("ProductId"); - - b.ToTable("Brands"); - }); - - modelBuilder.Entity("PyroFetes.Models.City", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.ToTable("Cities"); - }); - - modelBuilder.Entity("PyroFetes.Models.Classification", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Classifications"); - }); - - modelBuilder.Entity("PyroFetes.Models.Color", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Colors"); - }); - - modelBuilder.Entity("PyroFetes.Models.Communication", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Calling") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Meeting") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.HasKey("Id"); - - b.HasIndex("ContactId"); - - b.ToTable("Communications"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("CustomerId") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("FirstName") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("LastName") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("PhoneNumber") - .IsRequired() - .HasMaxLength(30) - .HasColumnType("nvarchar(30)"); - - b.Property("Role") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("CustomerId"); - - b.ToTable("Contacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ContactServiceProvider", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("ServiceProviderId") - .HasColumnType("int"); - - b.HasKey("ContactId", "ServiceProviderId"); - - b.HasIndex("ServiceProviderId"); - - b.ToTable("ContactServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contract", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("ServiceProviderId") - .HasColumnType("int"); - - b.Property("TermsAndConditions") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.HasKey("ShowId", "ServiceProviderId"); - - b.HasIndex("ServiceProviderId"); - - b.ToTable("Contracts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("CustomerTypeId") - .HasColumnType("int"); - - b.Property("Note") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.HasIndex("CustomerTypeId"); - - b.ToTable("Customers"); - }); - - modelBuilder.Entity("PyroFetes.Models.CustomerType", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("CustomerTypes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Deliverer", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Transporter") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Deliverers"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("DelivererId") - .HasColumnType("int"); - - b.Property("EstimateDeliveryDate") - .HasColumnType("date"); - - b.Property("ExpeditionDate") - .HasColumnType("date"); - - b.Property("RealDeliveryDate") - .HasColumnType("date"); - - b.Property("TrackingNumber") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.HasIndex("DelivererId"); - - b.ToTable("DeliveryNotes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Effect", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.ToTable("Effects"); - }); - - modelBuilder.Entity("PyroFetes.Models.ExperienceLevel", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("StaffId"); - - b.ToTable("ExperienceLevels"); - }); - - modelBuilder.Entity("PyroFetes.Models.HistoryOfApproval", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("DeliveryDate") - .HasColumnType("date"); - - b.Property("ExpirationDate") - .HasColumnType("date"); - - b.HasKey("Id"); - - b.ToTable("HistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("WarehouseId"); - - b.ToTable("Materials"); - }); - - modelBuilder.Entity("PyroFetes.Models.MaterialWarehouse", b => - { - b.Property("MaterialId") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.HasKey("MaterialId", "WarehouseId"); - - b.HasIndex("WarehouseId"); - - b.ToTable("MaterialWarehouses"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Arrival") - .HasColumnType("datetime2"); - - b.Property("Date") - .HasColumnType("datetime2"); - - b.Property("DestinationWarehouseId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.Property("SourceWarehouseId") - .HasColumnType("int"); - - b.Property("Start") - .HasColumnType("datetime2"); - - b.HasKey("Id"); - - b.HasIndex("DestinationWarehouseId"); - - b.HasIndex("SourceWarehouseId"); - - b.ToTable("Movements"); - }); - - modelBuilder.Entity("PyroFetes.Models.Price", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("SupplierId") - .HasColumnType("int"); - - b.Property("SellingPrice") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ProductId", "SupplierId"); - - b.HasIndex("SupplierId"); - - b.ToTable("Prices"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ApprovalNumber") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Caliber") - .HasColumnType("int"); - - b.Property("ClassificationId") - .HasColumnType("int"); - - b.Property("Duration") - .HasColumnType("decimal(18,2)"); - - b.Property("Image") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.Property("Link") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.Property("MinimalQuantity") - .HasColumnType("int"); - - b.Property("MovementId") - .HasColumnType("int"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Nec") - .HasColumnType("decimal(18,2)"); - - b.Property("ProductCategoryId") - .HasColumnType("int"); - - b.Property("Reference") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("nvarchar(20)"); - - b.Property("Weight") - .HasColumnType("decimal(18,2)"); - - b.HasKey("Id"); - - b.HasIndex("ClassificationId"); - - b.HasIndex("MovementId"); - - b.HasIndex("ProductCategoryId"); - - b.ToTable("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductCategory", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("ProductCategories"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductColor", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("ColorId") - .HasColumnType("int"); - - b.HasKey("ProductId", "ColorId"); - - b.HasIndex("ColorId"); - - b.ToTable("ProductColors"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductDelivery", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("DeliveryNoteId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "DeliveryNoteId"); - - b.HasIndex("DeliveryNoteId"); - - b.ToTable("ProductDeliveries"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductEffect", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("EffectId") - .HasColumnType("int"); - - b.HasKey("ProductId", "EffectId"); - - b.HasIndex("EffectId"); - - b.ToTable("ProductEffects"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductTimecode", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("End") - .HasColumnType("decimal(18,2)"); - - b.Property("Start") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ProductId", "ShowId"); - - b.HasIndex("ShowId"); - - b.ToTable("ProductTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderContact", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("ProviderId") - .HasColumnType("int"); - - b.HasKey("ContactId", "ProviderId"); - - b.HasIndex("ProviderId"); - - b.ToTable("ProviderContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderType", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Label") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("ProviderTypes"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseOrder", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("PurchaseConditions") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.HasKey("Id"); - - b.ToTable("PurchaseOrders"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("PurchaseOrderId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "PurchaseOrderId"); - - b.HasIndex("PurchaseOrderId"); - - b.ToTable("PurchaseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ConditionsSale") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); - - b.Property("CustomerId") - .HasColumnType("int"); - - b.Property("Message") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); - - b.HasKey("Id"); - - b.HasIndex("CustomerId"); - - b.ToTable("Quotations"); - }); - - modelBuilder.Entity("PyroFetes.Models.QuotationProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("QuotationId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "QuotationId"); - - b.HasIndex("QuotationId"); - - b.ToTable("QuotationProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Price") - .HasColumnType("decimal(18,2)"); - - b.Property("ProviderTypeId") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.HasIndex("ProviderTypeId"); - - b.ToTable("ServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.Setting", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("ElectronicSignature") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.Property("Logo") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.HasKey("Id"); - - b.ToTable("Settings"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("CityId") - .HasColumnType("int"); - - b.Property("Date") - .HasColumnType("date"); - - b.Property("Description") - .HasMaxLength(500) - .HasColumnType("nvarchar(500)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Place") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("PyrotechnicImplementationPlan") - .IsRequired() - .HasMaxLength(500) - .HasColumnType("nvarchar(500)"); - - b.HasKey("Id"); - - b.HasIndex("CityId"); - - b.ToTable("Shows"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowMaterial", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("MaterialId") - .HasColumnType("int"); - - b.HasKey("ShowId", "MaterialId"); - - b.HasIndex("MaterialId"); - - b.ToTable("ShowMaterials"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowServiceProvider", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.HasKey("Id"); - - b.ToTable("ShowServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowStaff", b => - { - b.Property("StaffId") - .HasColumnType("int"); - - b.Property("ShowId") - .HasColumnType("int"); - - b.HasKey("StaffId", "ShowId"); - - b.HasIndex("ShowId"); - - b.ToTable("ShowStaffs"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowTruck", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("TruckId") - .HasColumnType("int"); - - b.HasKey("ShowId", "TruckId"); - - b.HasIndex("TruckId"); - - b.ToTable("ShowTrucks"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Artist") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("CreationDate") - .HasColumnType("datetime2"); - - b.Property("Duration") - .IsRequired() - .HasColumnType("int"); - - b.Property("Format") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Kind") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("SoundCategoryId") - .HasColumnType("int"); - - b.Property("Type") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.HasKey("Id"); - - b.HasIndex("SoundCategoryId"); - - b.ToTable("Sounds"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundCategory", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("SoundCategories"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundTimecode", b => - { - b.Property("ShowId") - .HasColumnType("int"); - - b.Property("SoundId") - .HasColumnType("int"); - - b.Property("End") - .HasColumnType("decimal(18,2)"); - - b.Property("Start") - .HasColumnType("decimal(18,2)"); - - b.HasKey("ShowId", "SoundId"); - - b.HasIndex("SoundId"); - - b.ToTable("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Staff", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Email") - .IsRequired() - .HasMaxLength(120) - .HasColumnType("nvarchar(120)"); - - b.Property("F4T2ExpirationDate") - .HasColumnType("date"); - - b.Property("F4T2NumberApproval") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("FirstName") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.Property("LastName") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.Property("Profession") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Staffs"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffAvailability", b => - { - b.Property("AvailabilityId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("AvailabilityId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffAvailabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffContact", b => - { - b.Property("ContactId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("ContactId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffHistoryOfApproval", b => - { - b.Property("HistoryOfApprovalId") - .HasColumnType("int"); - - b.Property("StaffId") - .HasColumnType("int"); - - b.HasKey("HistoryOfApprovalId", "StaffId"); - - b.HasIndex("StaffId"); - - b.ToTable("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Supplier", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("DeliveryDelay") - .HasColumnType("int"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Phone") - .IsRequired() - .HasMaxLength(30) - .HasColumnType("nvarchar(30)"); - - b.Property("ZipCode") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.HasKey("Id"); - - b.ToTable("Suppliers"); - }); - - modelBuilder.Entity("PyroFetes.Models.Truck", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("MaxExplosiveCapacity") - .IsRequired() - .HasColumnType("float"); - - b.Property("Sizes") - .IsRequired() - .HasMaxLength(80) - .HasColumnType("nvarchar(80)"); - - b.Property("Status") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.Property("Type") - .IsRequired() - .HasMaxLength(40) - .HasColumnType("nvarchar(40)"); - - b.HasKey("Id"); - - b.ToTable("Trucks"); - }); - - modelBuilder.Entity("PyroFetes.Models.User", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Email") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Fonction") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Password") - .IsRequired() - .HasMaxLength(60) - .HasColumnType("nvarchar(60)"); - - b.Property("Salt") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.HasKey("Id"); - - b.ToTable("Users"); - }); - - modelBuilder.Entity("PyroFetes.Models.Warehouse", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - - b.Property("Address") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("City") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("Current") - .HasColumnType("int"); - - b.Property("MaxWeight") - .HasColumnType("int"); - - b.Property("MinWeight") - .HasColumnType("int"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); - - b.Property("ZipCode") - .IsRequired() - .HasColumnType("nvarchar(max)"); - - b.HasKey("Id"); - - b.ToTable("Warehouses"); - }); - - modelBuilder.Entity("PyroFetes.Models.WarehouseProduct", b => - { - b.Property("ProductId") - .HasColumnType("int"); - - b.Property("WarehouseId") - .HasColumnType("int"); - - b.Property("Quantity") - .HasColumnType("int"); - - b.HasKey("ProductId", "WarehouseId"); - - b.HasIndex("WarehouseId"); - - b.ToTable("WarehouseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Brand", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("Brands") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.Communication", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("Communications") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.HasOne("PyroFetes.Models.Customer", "Customer") - .WithMany("Contacts") - .HasForeignKey("CustomerId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Customer"); - }); - - modelBuilder.Entity("PyroFetes.Models.ContactServiceProvider", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("ContactServiceProviders") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ServiceProvider", "ServiceProvider") - .WithMany("ContactServiceProviders") - .HasForeignKey("ServiceProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("ServiceProvider"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contract", b => - { - b.HasOne("PyroFetes.Models.ServiceProvider", "ServiceProvider") - .WithMany("Contracts") - .HasForeignKey("ServiceProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("Contracts") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("ServiceProvider"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.HasOne("PyroFetes.Models.CustomerType", "CustomerType") - .WithMany("Customers") - .HasForeignKey("CustomerTypeId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("CustomerType"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.HasOne("PyroFetes.Models.Deliverer", "Deliverer") - .WithMany("DeliveryNotes") - .HasForeignKey("DelivererId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Deliverer"); - }); - - modelBuilder.Entity("PyroFetes.Models.ExperienceLevel", b => - { - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("ExperienceLevels") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany() - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.MaterialWarehouse", b => - { - b.HasOne("PyroFetes.Models.Material", "Material") - .WithMany("MaterialWarehouses") - .HasForeignKey("MaterialId") - .OnDelete(DeleteBehavior.Restrict) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany("MaterialWarehouses") - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Restrict) - .IsRequired(); - - b.Navigation("Material"); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.HasOne("PyroFetes.Models.Warehouse", "DestinationWarehouse") - .WithMany("MovementsDestination") - .HasForeignKey("DestinationWarehouseId") - .OnDelete(DeleteBehavior.Restrict); - - b.HasOne("PyroFetes.Models.Warehouse", "SourceWarehouse") - .WithMany("MovementsSource") - .HasForeignKey("SourceWarehouseId") - .OnDelete(DeleteBehavior.Restrict); - - b.Navigation("DestinationWarehouse"); - - b.Navigation("SourceWarehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Price", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("Prices") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Supplier", "Supplier") - .WithMany("Prices") - .HasForeignKey("SupplierId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Supplier"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.HasOne("PyroFetes.Models.Classification", "Classification") - .WithMany("Products") - .HasForeignKey("ClassificationId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Movement", "Movement") - .WithMany("Products") - .HasForeignKey("MovementId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ProductCategory", "ProductCategory") - .WithMany("Products") - .HasForeignKey("ProductCategoryId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Classification"); - - b.Navigation("Movement"); - - b.Navigation("ProductCategory"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductColor", b => - { - b.HasOne("PyroFetes.Models.Color", "Color") - .WithMany("ProductColors") - .HasForeignKey("ColorId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductColors") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Color"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductDelivery", b => - { - b.HasOne("PyroFetes.Models.DeliveryNote", "DeliveryNote") - .WithMany("ProductDeliveries") - .HasForeignKey("DeliveryNoteId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductDeliveries") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("DeliveryNote"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductEffect", b => - { - b.HasOne("PyroFetes.Models.Effect", "Effect") - .WithMany("ProductEffects") - .HasForeignKey("EffectId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductEffects") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Effect"); - - b.Navigation("Product"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductTimecode", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("ProductTimecodes") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ProductTimecodes") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderContact", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany() - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.ServiceProvider", "Provider") - .WithMany() - .HasForeignKey("ProviderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("Provider"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("PurchaseProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.PurchaseOrder", "PurchaseOrder") - .WithMany("PurchaseProducts") - .HasForeignKey("PurchaseOrderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("PurchaseOrder"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.HasOne("PyroFetes.Models.Customer", "Customer") - .WithMany("Quotations") - .HasForeignKey("CustomerId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Customer"); - }); - - modelBuilder.Entity("PyroFetes.Models.QuotationProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("QuotationProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Quotation", "Quotation") - .WithMany("QuotationProducts") - .HasForeignKey("QuotationId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Quotation"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.HasOne("PyroFetes.Models.ProviderType", "ProviderType") - .WithMany("ServiceProviders") - .HasForeignKey("ProviderTypeId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("ProviderType"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.HasOne("PyroFetes.Models.City", "City") - .WithMany("Shows") - .HasForeignKey("CityId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("City"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowMaterial", b => - { - b.HasOne("PyroFetes.Models.Material", "Material") - .WithMany("ShowMaterials") - .HasForeignKey("MaterialId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowMaterials") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Material"); - - b.Navigation("Show"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowStaff", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowStaffs") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("ShowStaffs") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.ShowTruck", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("ShowTrucks") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Truck", "Truck") - .WithMany("ShowTrucks") - .HasForeignKey("TruckId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Truck"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.HasOne("PyroFetes.Models.SoundCategory", "SoundCategory") - .WithMany("Sounds") - .HasForeignKey("SoundCategoryId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SoundCategory"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundTimecode", b => - { - b.HasOne("PyroFetes.Models.Show", "Show") - .WithMany("SoundTimecodes") - .HasForeignKey("ShowId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Sound", "Sound") - .WithMany("SoundTimecodes") - .HasForeignKey("SoundId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Show"); - - b.Navigation("Sound"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffAvailability", b => - { - b.HasOne("PyroFetes.Models.Availability", "Availability") - .WithMany("StaffAvailabilities") - .HasForeignKey("AvailabilityId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffAvailabilities") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Availability"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffContact", b => - { - b.HasOne("PyroFetes.Models.Contact", "Contact") - .WithMany("StaffContacts") - .HasForeignKey("ContactId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffContacts") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Contact"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.StaffHistoryOfApproval", b => - { - b.HasOne("PyroFetes.Models.HistoryOfApproval", "HistoryOfApproval") - .WithMany("StaffHistoryOfApprovals") - .HasForeignKey("HistoryOfApprovalId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Staff", "Staff") - .WithMany("StaffHistoryOfApprovals") - .HasForeignKey("StaffId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("HistoryOfApproval"); - - b.Navigation("Staff"); - }); - - modelBuilder.Entity("PyroFetes.Models.WarehouseProduct", b => - { - b.HasOne("PyroFetes.Models.Product", "Product") - .WithMany("WarehouseProducts") - .HasForeignKey("ProductId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("PyroFetes.Models.Warehouse", "Warehouse") - .WithMany("WarehouseProducts") - .HasForeignKey("WarehouseId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("Product"); - - b.Navigation("Warehouse"); - }); - - modelBuilder.Entity("PyroFetes.Models.Availability", b => - { - b.Navigation("StaffAvailabilities"); - }); - - modelBuilder.Entity("PyroFetes.Models.City", b => - { - b.Navigation("Shows"); - }); - - modelBuilder.Entity("PyroFetes.Models.Classification", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.Color", b => - { - b.Navigation("ProductColors"); - }); - - modelBuilder.Entity("PyroFetes.Models.Contact", b => - { - b.Navigation("Communications"); - - b.Navigation("ContactServiceProviders"); - - b.Navigation("StaffContacts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Customer", b => - { - b.Navigation("Contacts"); - - b.Navigation("Quotations"); - }); - - modelBuilder.Entity("PyroFetes.Models.CustomerType", b => - { - b.Navigation("Customers"); - }); - - modelBuilder.Entity("PyroFetes.Models.Deliverer", b => - { - b.Navigation("DeliveryNotes"); - }); - - modelBuilder.Entity("PyroFetes.Models.DeliveryNote", b => - { - b.Navigation("ProductDeliveries"); - }); - - modelBuilder.Entity("PyroFetes.Models.Effect", b => - { - b.Navigation("ProductEffects"); - }); - - modelBuilder.Entity("PyroFetes.Models.HistoryOfApproval", b => - { - b.Navigation("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Material", b => - { - b.Navigation("MaterialWarehouses"); - - b.Navigation("ShowMaterials"); - }); - - modelBuilder.Entity("PyroFetes.Models.Movement", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.Product", b => - { - b.Navigation("Brands"); - - b.Navigation("Prices"); - - b.Navigation("ProductColors"); - - b.Navigation("ProductDeliveries"); - - b.Navigation("ProductEffects"); - - b.Navigation("ProductTimecodes"); - - b.Navigation("PurchaseProducts"); - - b.Navigation("QuotationProducts"); - - b.Navigation("WarehouseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProductCategory", b => - { - b.Navigation("Products"); - }); - - modelBuilder.Entity("PyroFetes.Models.ProviderType", b => - { - b.Navigation("ServiceProviders"); - }); - - modelBuilder.Entity("PyroFetes.Models.PurchaseOrder", b => - { - b.Navigation("PurchaseProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Quotation", b => - { - b.Navigation("QuotationProducts"); - }); - - modelBuilder.Entity("PyroFetes.Models.ServiceProvider", b => - { - b.Navigation("ContactServiceProviders"); - - b.Navigation("Contracts"); - }); - - modelBuilder.Entity("PyroFetes.Models.Show", b => - { - b.Navigation("Contracts"); - - b.Navigation("ProductTimecodes"); - - b.Navigation("ShowMaterials"); - - b.Navigation("ShowStaffs"); - - b.Navigation("ShowTrucks"); - - b.Navigation("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.Sound", b => - { - b.Navigation("SoundTimecodes"); - }); - - modelBuilder.Entity("PyroFetes.Models.SoundCategory", b => - { - b.Navigation("Sounds"); - }); - - modelBuilder.Entity("PyroFetes.Models.Staff", b => - { - b.Navigation("ExperienceLevels"); - - b.Navigation("ShowStaffs"); - - b.Navigation("StaffAvailabilities"); - - b.Navigation("StaffContacts"); - - b.Navigation("StaffHistoryOfApprovals"); - }); - - modelBuilder.Entity("PyroFetes.Models.Supplier", b => - { - b.Navigation("Prices"); - }); - - modelBuilder.Entity("PyroFetes.Models.Truck", b => - { - b.Navigation("ShowTrucks"); - }); - - modelBuilder.Entity("PyroFetes.Models.Warehouse", b => - { - b.Navigation("MaterialWarehouses"); - - b.Navigation("MovementsDestination"); - - b.Navigation("MovementsSource"); - - b.Navigation("WarehouseProducts"); - }); -#pragma warning restore 612, 618 - } - } -} diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/.idea/.gitignore b/pyrofetes/pyrofetes-backend/PyroFetes/Models/.idea/.gitignore deleted file mode 100644 index 516c578..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/.idea/.gitignore +++ /dev/null @@ -1,13 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Rider ignored files -/.idea.Models.iml -/modules.xml -/contentModel.xml -/projectSettingsUpdater.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/.idea/encodings.xml b/pyrofetes/pyrofetes-backend/PyroFetes/Models/.idea/encodings.xml deleted file mode 100644 index df87cf9..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/.idea/encodings.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/.idea/indexLayout.xml b/pyrofetes/pyrofetes-backend/PyroFetes/Models/.idea/indexLayout.xml deleted file mode 100644 index 7b08163..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/.idea/indexLayout.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Availability.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/Availability.cs deleted file mode 100644 index 47b0f1c..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Availability.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class Availability -{ - [Key] public int Id { get; set; } - [Required] public DateOnly AvailabilityDate { get; set; } - [Required] public DateOnly DeliveryDate { get; set; } - [Required] public DateOnly ExpirationDate { get; set; } - [Required] public DateOnly RenewallDate { get; set; } - - public List? StaffAvailabilities { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Brand.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/Brand.cs deleted file mode 100644 index 49016ca..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Brand.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class Brand -{ - [Key] public int Id { get; set; } - [Required, MaxLength(100)] public string? Name { get; set; } - - [Required] public int ProductId { get; set; } - [Required] public Product? Product { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/City.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/City.cs deleted file mode 100644 index 04dc24e..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/City.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class City -{ - [Key] public int Id { get; set; } - [Required, MaxLength(100)] public string? Name { get; set; } - [Required] public int ZipCode { get; set; } - - public List? Shows { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Classification.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/Classification.cs deleted file mode 100644 index bd3685b..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Classification.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class Classification -{ - [Key] public int Id { get; set; } - [Required, MaxLength(100)] public string? Label { get; set; } - - public List? Products { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Color.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/Color.cs deleted file mode 100644 index acfe830..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Color.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class Color -{ - [Key] public int Id { get; set; } - [Required, MaxLength(100)] public string? Label { get; set; } - - public List? ProductColors { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Communication.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/Communication.cs deleted file mode 100644 index a3dd0d2..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Communication.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class Communication -{ - [Key] public int Id { get; set; } - [Required, MaxLength(100)] public string? Calling { get; set; } - [Required, MaxLength(100)] public string? Email { get; set; } - [Required, MaxLength(300)] public string? Meeting { get; set; } - - [Required] public int ContactId { get; set; } - public Contact? Contact { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Contact.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/Contact.cs deleted file mode 100644 index e1573ad..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Contact.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class Contact -{ - [Key] public int Id { get; set; } - [Required, MaxLength(100)] public string? LastName { get; set; } - [Required, MaxLength(100)] public string? FirstName { get; set; } - [Required, MaxLength(100)] public string? Email { get; set; } - [Required, MaxLength(30)] public string? PhoneNumber { get; set; } - [Required, MaxLength(100)] public string? Address { get; set; } - [Required] public int ZipCode { get; set; } - [Required, MaxLength(100)] public string? City { get; set; } - [Required, MaxLength(100)] public string? Role { get; set; } - - public Customer? Customer { get; set; } - [Required] public int CustomerId { get; set; } - - public List? Communications { get; set; } - public List? StaffContacts { get; set; } - public List? ContactServiceProviders { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ContactServiceProvider.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/ContactServiceProvider.cs deleted file mode 100644 index cc9cd1b..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ContactServiceProvider.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using Microsoft.EntityFrameworkCore; - -namespace PyroFetes.Models; - -[PrimaryKey(nameof(ContactId), nameof(ServiceProviderId))] -public class ContactServiceProvider -{ - [Required] public int ContactId { get; set; } - [Required] public int ServiceProviderId { get; set; } - - public Contact? Contact { get; set; } - public ServiceProvider? ServiceProvider { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Contract.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/Contract.cs deleted file mode 100644 index 97cd821..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Contract.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using Microsoft.EntityFrameworkCore; - -namespace PyroFetes.Models; - -[PrimaryKey(nameof(ShowId), nameof(ServiceProviderId))] -public class Contract -{ - [Required] public int ShowId { get; set; } - [Required] public int ServiceProviderId { get; set; } - [Required] public string? TermsAndConditions { get; set; } - - public Show? Show { get; set; } - public ServiceProvider? ServiceProvider { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Customer.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/Customer.cs deleted file mode 100644 index da6dbba..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Customer.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class Customer -{ - [Key] public int Id { get; set; } - [Required, MaxLength(200)] public string? Note { get; set; } - - //Relations - [Required] public int CustomerTypeId { get; set; } - public CustomerType? CustomerType { get; set; } - - public List? Contacts { get; set; } - public List? Quotations { get; set; } -} diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/CustomerType.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/CustomerType.cs deleted file mode 100644 index 197ad09..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/CustomerType.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class CustomerType -{ - [Key] public int Id { get; set; } - [Required, MaxLength(100)] public string? Label { get; set; } - - public List? Customers { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Deliverer.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/Deliverer.cs deleted file mode 100644 index 34e708c..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Deliverer.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class Deliverer -{ - [Key] public int Id { get; set; } - [Required, MaxLength(100)] public string? Transporter { get; set; } - - public List? DeliveryNotes { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/DeliveryNote.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/DeliveryNote.cs deleted file mode 100644 index e94792f..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/DeliveryNote.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class DeliveryNote -{ - [Key] public int Id { get; set; } - [Required, MaxLength(100)] public string? TrackingNumber { get; set; } - public int DelivererId { get; set; } - [Required] public DateOnly EstimateDeliveryDate { get; set; } - [Required] public DateOnly ExpeditionDate { get; set; } - public DateOnly? RealDeliveryDate { get; set; } - - public Deliverer? Deliverer { get; set; } - public List? ProductDeliveries { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Effect.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/Effect.cs deleted file mode 100644 index 0dcb87c..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Effect.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class Effect -{ - [Key] public int Id { get; set; } - [Required, MaxLength(200)] public string? Label { get; set; } - - public List? ProductEffects { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ExperienceLevel.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/ExperienceLevel.cs deleted file mode 100644 index 923f757..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ExperienceLevel.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class ExperienceLevel -{ - [Key] public int Id { get; set; } - [Required, MaxLength(100)] public string? Label { get; set; } - - public Staff? Staff { get; set; } - [Required] public int StaffId { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/HistoryOfApproval.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/HistoryOfApproval.cs deleted file mode 100644 index c8fd073..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/HistoryOfApproval.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class HistoryOfApproval -{ - [Key] public int Id { get; set; } - [Required] public DateOnly DeliveryDate { get; set; } - [Required] public DateOnly ExpirationDate { get; set; } - - public List? StaffHistoryOfApprovals { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Material.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/Material.cs deleted file mode 100644 index 224e5d5..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Material.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class Material -{ - [Key] public int Id {get; set;} - [Required, MaxLength(100)] public string? Name {get; set;} - [Required] public int Quantity {get; set;} - - [Required] public int WarehouseId {get; set;} - public Warehouse? Warehouse {get; set;} - - public List? ShowMaterials {get; set;} - public List? MaterialWarehouses {get; set;} -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/MaterialWarehouse.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/MaterialWarehouse.cs deleted file mode 100644 index 4f49ba9..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/MaterialWarehouse.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using Microsoft.EntityFrameworkCore; - -namespace PyroFetes.Models; - -[PrimaryKey(nameof(MaterialId), nameof(WarehouseId))] -public class MaterialWarehouse -{ - [Required] public int MaterialId { get; set; } - [Required] public int WarehouseId { get; set; } - - public Material? Material { get; set; } - public Warehouse? Warehouse { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Movement.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/Movement.cs deleted file mode 100644 index fe26f18..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Movement.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class Movement -{ - [Key] public int Id { get; set; } - [Required] public DateTime Date { get; set; } - [Required] public DateTime Start {get; set;} - [Required] public DateTime Arrival {get; set;} - [Required] public int Quantity {get; set;} - - public List? Products { get; set; } - - public int? SourceWarehouseId {get; set;} - public Warehouse? SourceWarehouse {get; set;} - public int? DestinationWarehouseId {get; set;} - public Warehouse? DestinationWarehouse {get; set;} -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Price.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/Price.cs deleted file mode 100644 index 2ee597e..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Price.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using System.Runtime.CompilerServices; -using Microsoft.EntityFrameworkCore; - -namespace PyroFetes.Models; - -[PrimaryKey(nameof(ProductId), nameof(SupplierId))] -public class Price -{ - [Required] public int ProductId { get; set; } - [Required] public int SupplierId { get; set; } - [Required] public decimal SellingPrice { get; set; } - - public Product? Product { get; set; } - public Supplier? Supplier { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Product.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/Product.cs deleted file mode 100644 index 88f52e4..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Product.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models -{ - public class Product - { - [Key] public int Id { get; set; } - [Required, MaxLength(20)] public string? Reference { get; set; } - [Required, MaxLength(100)] public string? Name { get; set; } - [Required] public decimal Duration {get; set;} - [Required] public int Caliber { get; set; } - [Required, MaxLength(100)] public string? ApprovalNumber { get; set; } - [Required] public decimal Weight { get; set; } - [Required] public decimal Nec { get; set; } - [Required] public string? Image { get; set; } - [Required, MaxLength(200)] public string? Link { get; set; } - [Required] public int MinimalQuantity { get; set; } - - // Relations - [Required] public int ClassificationId { get; set; } - public Classification? Classification { get; set; } - - [Required] public int ProductCategoryId { get; set; } - public ProductCategory? ProductCategory { get; set; } - - [Required] public int MovementId {get; set;} - public Movement? Movement {get; set;} - - public List? ProductDeliveries { get; set; } - public List? Brands { get; set; } - public List? ProductEffects { get; set; } - public List? ProductColors { get; set; } - public List? PurchaseProducts { get; set; } - public List? Prices { get; set; } - public List? QuotationProducts { get; set; } - public List? WarehouseProducts { get; set; } - public List? ProductTimecodes { get; set; } - - - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ProductCategory.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/ProductCategory.cs deleted file mode 100644 index 79bd67f..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ProductCategory.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class ProductCategory -{ - [Key] public int Id { get; set; } - [Required, MaxLength(100)] public string? Label { get; set; } - - public List? Products { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ProductColor.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/ProductColor.cs deleted file mode 100644 index f93d964..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ProductColor.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using Microsoft.EntityFrameworkCore; - -namespace PyroFetes.Models; - -[PrimaryKey(nameof(ProductId), nameof(ColorId))] -public class ProductColor -{ - public Product? Product { get; set; } - [Required] public int ProductId { get; set; } - - public Color? Color { get; set; } - [Required] public int ColorId { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ProductDelivery.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/ProductDelivery.cs deleted file mode 100644 index bfbae68..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ProductDelivery.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using Microsoft.EntityFrameworkCore; - -namespace PyroFetes.Models; - -[PrimaryKey(nameof(ProductId), nameof(DeliveryNoteId))] -public class ProductDelivery -{ - [Required] public int ProductId { get; set; } - [Required] public int DeliveryNoteId { get; set; } - [Required] public int Quantity { get; set; } - - public Product? Product { get; set; } - public DeliveryNote? DeliveryNote { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ProductEffect.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/ProductEffect.cs deleted file mode 100644 index 3f269d6..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ProductEffect.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using Microsoft.EntityFrameworkCore; - -namespace PyroFetes.Models; - -[PrimaryKey(nameof(ProductId), nameof(EffectId))] -public class ProductEffect -{ - [Required] public Product? Product { get; set; } - [Required] public int ProductId { get; set; } - - public Effect? Effect { get; set; } - [Required] public int EffectId { get; set; } - -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ProductTimecode.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/ProductTimecode.cs deleted file mode 100644 index a4ad826..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ProductTimecode.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using Microsoft.EntityFrameworkCore; - -namespace PyroFetes.Models; - -[PrimaryKey(nameof(ProductId), nameof(ShowId))] -public class ProductTimecode -{ - public Product? Product { get; set; } - [Required] public int ProductId { get; set; } - - public Show? Show { get; set; } - [Required] public int ShowId { get; set; } - - [Required] public decimal Start { get; set; } - [Required] public decimal End { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ProviderContact.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/ProviderContact.cs deleted file mode 100644 index 8d21d35..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ProviderContact.cs +++ /dev/null @@ -1,12 +0,0 @@ -using Microsoft.EntityFrameworkCore; - -namespace PyroFetes.Models; - -[PrimaryKey(nameof(ContactId), nameof(ProviderId))] -public class ProviderContact -{ - public int ProviderId { get; set; } - public ServiceProvider? Provider { get; set; } - public int ContactId { get; set; } - public Contact? Contact { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ProviderType.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/ProviderType.cs deleted file mode 100644 index 0871b8a..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ProviderType.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class ProviderType -{ - [Key] public int Id { get; set; } - [Required, MaxLength(100)] public string? Label { get; set; } - - public List? ServiceProviders { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/PurchaseOrder.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/PurchaseOrder.cs deleted file mode 100644 index 815f5a0..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/PurchaseOrder.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class PurchaseOrder -{ - [Key] public int Id { get; set; } - [Required, MaxLength(300)] public string? PurchaseConditions { get; set; } - - public List? PurchaseProducts { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/PurchaseProduct.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/PurchaseProduct.cs deleted file mode 100644 index c335ede..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/PurchaseProduct.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using Microsoft.EntityFrameworkCore; - -namespace PyroFetes.Models; - -[PrimaryKey(nameof(ProductId), nameof(PurchaseOrderId))] -public class PurchaseProduct -{ - public Product? Product { get; set; } - [Required] public int ProductId { get; set; } - - public PurchaseOrder? PurchaseOrder { get; set; } - [Required] public int PurchaseOrderId { get; set; } - - [Required] public int Quantity { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Quotation.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/Quotation.cs deleted file mode 100644 index 569c271..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Quotation.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class Quotation -{ - [Key] public int Id { get; set; } - [Required, MaxLength(200)] public string? Message { get; set; } - [Required, MaxLength(300)] public string? ConditionsSale { get; set; } - - [Required] public int CustomerId { get; set; } - public Customer? Customer { get; set; } - - public List? QuotationProducts { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/QuotationProduct.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/QuotationProduct.cs deleted file mode 100644 index 8e2f3bb..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/QuotationProduct.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using Microsoft.EntityFrameworkCore; - -namespace PyroFetes.Models; - -[PrimaryKey(nameof(ProductId), nameof(QuotationId))] -public class QuotationProduct -{ - [Required] public int ProductId { get; set; } - [Required] public int QuotationId { get; set; } - [Required] public int Quantity { get; set; } - - public Product? Product { get; set; } - public Quotation? Quotation { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ServiceProvider.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/ServiceProvider.cs deleted file mode 100644 index b91e0d7..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ServiceProvider.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class ServiceProvider -{ - [Key] public int Id { get; set; } - [Required] public decimal Price { get; set; } - - //Relations - [Required] public int ProviderTypeId { get; set; } - public ProviderType? ProviderType { get; set; } - - public List? Contracts { get; set; } - public List? ContactServiceProviders { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Setting.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/Setting.cs deleted file mode 100644 index 0759032..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Setting.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class Setting -{ - [Key] public int Id { get; set; } - [Required] public string? Logo { get; set; } - [Required] public string? ElectronicSignature { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Show.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/Show.cs deleted file mode 100644 index bc425dd..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Show.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class Show -{ - [Key] public int Id { get; set; } - [Required, MaxLength(100)] public string? Name { get; set; } - [Required, MaxLength(120)] public string? Place { get; set; } - [MaxLength(500)] public string? Description { get; set; } - public DateOnly? Date { get; set; } - - // Link (path/URL/file name) to the pyrotechnic implementation plan - [Required, MaxLength(500)] public string? PyrotechnicImplementationPlan { get; set; } - - [Required] public int CityId { get; set; } - public City? City { get; set; } - - public List? ShowStaffs { get; set; } - public List? ShowTrucks { get; set; } - public List? SoundTimecodes { get; set; } - public List? ProductTimecodes { get; set; } - public List? Contracts { get; set; } - public List? ShowMaterials { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ShowMaterial.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/ShowMaterial.cs deleted file mode 100644 index 81cc82a..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ShowMaterial.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using Microsoft.EntityFrameworkCore; - -namespace PyroFetes.Models; - -[PrimaryKey(nameof(ShowId), nameof(MaterialId))] -public class ShowMaterial -{ - [Required] public Show? Show { get; set; } - [Required] public int ShowId { get; set; } - - public Material? Material { get; set; } - [Required] public int MaterialId { get; set; } - -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ShowServiceProvider.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/ShowServiceProvider.cs deleted file mode 100644 index 351c9fc..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ShowServiceProvider.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class ShowServiceProvider -{ - [Key] public int Id { get; set; } - -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ShowStaff.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/ShowStaff.cs deleted file mode 100644 index 60a7215..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ShowStaff.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using Microsoft.EntityFrameworkCore; - -namespace PyroFetes.Models; - -[PrimaryKey(nameof(StaffId), nameof(ShowId))] -public class ShowStaff -{ - public Staff? Staff { get; set; } - [Required] public int StaffId { get; set; } - - public Show? Show { get; set; } - [Required] public int ShowId { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ShowTruck.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/ShowTruck.cs deleted file mode 100644 index 9f39f8a..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/ShowTruck.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using Microsoft.EntityFrameworkCore; - -namespace PyroFetes.Models; - -[PrimaryKey(nameof(ShowId), nameof(TruckId))] -public class ShowTruck -{ - public Show? Show { get; set; } - [Required] public int ShowId { get; set; } - - public Truck? Truck { get; set; } - [Required] public int TruckId { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Sound.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/Sound.cs deleted file mode 100644 index 3ddee3e..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Sound.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class Sound -{ - [Key] public int Id { get; set; } - [Required, MaxLength(120)] public string Name { get; set; } = null!; - [Required, MaxLength(60)] public string? Type { get; set; } - [Required, MaxLength(120)] public string? Artist { get; set; } - [Required, Range(0, int.MaxValue)] public int? Duration { get; set; } - [Required, MaxLength(40)] public string? Kind { get; set; } - [Required, MaxLength(40)] public string? Format { get; set; } - public DateTime? CreationDate { get; set; } - - [Required] public int SoundCategoryId { get; set; } - public SoundCategory? SoundCategory { get; set; } - - public List? SoundTimecodes { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/SoundCategory.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/SoundCategory.cs deleted file mode 100644 index 52caeaf..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/SoundCategory.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class SoundCategory -{ - [Key] public int Id { get; set; } - [Required, MaxLength(100)] public string Name { get; set; } = null!; - - public List? Sounds { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/SoundTimecode.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/SoundTimecode.cs deleted file mode 100644 index 3411e0c..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/SoundTimecode.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using Microsoft.EntityFrameworkCore; - -namespace PyroFetes.Models; - -[PrimaryKey(nameof(ShowId), nameof(SoundId))] -public class SoundTimecode -{ - [Required] public int ShowId { get; set; } - public Show? Show { get; set; } - [Required] public int SoundId { get; set; } - public Sound? Sound { get; set; } - - [Required] public decimal Start { get; set; } - [Required] public decimal End { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Staff.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/Staff.cs deleted file mode 100644 index a95c455..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Staff.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class Staff -{ - [Key] public int Id { get; set; } - [Required, MaxLength(60)] public string FirstName { get; set; } = null!; - [Required, MaxLength(60)] public string LastName { get; set; } = null!; - [Required, MaxLength(100)] public string? Profession { get; set; } - [Required, MaxLength(120)] public string? Email { get; set; } - [Required, MaxLength(100)] public string? F4T2NumberApproval { get; set; } - [Required] public DateOnly F4T2ExpirationDate { get; set; } - - public List? ShowStaffs { get; set; } - public List? ExperienceLevels { get; set; } - public List? StaffAvailabilities { get; set; } - public List? StaffHistoryOfApprovals { get; set; } - public List? StaffContacts { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/StaffAvailability.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/StaffAvailability.cs deleted file mode 100644 index 3ba0732..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/StaffAvailability.cs +++ /dev/null @@ -1,12 +0,0 @@ -using Microsoft.EntityFrameworkCore; - -namespace PyroFetes.Models; - -[PrimaryKey(nameof(AvailabilityId), nameof(StaffId))] -public class StaffAvailability -{ - public int StaffId { get; set; } - public Staff? Staff { get; set; } - public int AvailabilityId { get; set; } - public Availability? Availability { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/StaffContact.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/StaffContact.cs deleted file mode 100644 index 18ab5a9..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/StaffContact.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using Microsoft.EntityFrameworkCore; - -namespace PyroFetes.Models; - -[PrimaryKey(nameof(ContactId), nameof(StaffId))] -public class StaffContact -{ - [Required] public int StaffId { get; set; } - public Staff? Staff { get; set; } - [Required] public int ContactId { get; set; } - public Contact? Contact { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/StaffHistoryOfApproval.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/StaffHistoryOfApproval.cs deleted file mode 100644 index 3937064..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/StaffHistoryOfApproval.cs +++ /dev/null @@ -1,12 +0,0 @@ -using Microsoft.EntityFrameworkCore; - -namespace PyroFetes.Models; - -[PrimaryKey(nameof(HistoryOfApprovalId), nameof(StaffId))] -public class StaffHistoryOfApproval -{ - public int StaffId { get; set; } - public Staff? Staff { get; set; } - public int HistoryOfApprovalId { get; set; } - public HistoryOfApproval? HistoryOfApproval { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Supplier.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/Supplier.cs deleted file mode 100644 index 539b1b4..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Supplier.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class Supplier -{ - [Key] public int Id { get; set; } - [Required, MaxLength(100)] public string? Name { get; set; } - [Required, MaxLength(100)] public string? Email { get; set; } - [Required, MaxLength(30)] public string? Phone { get; set; } - [Required, MaxLength(100)] public string? Address { get; set; } - [Required,Length(5,5)] public string? ZipCode { get; set; } - [Required, MaxLength(100)] public string? City { get; set; } - [Required] public int DeliveryDelay { get; set; } - - public List? Prices { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Truck.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/Truck.cs deleted file mode 100644 index 91794a9..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Truck.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class Truck -{ - [Key] public int Id { get; set; } - [Required, MaxLength(40)] public string Type { get; set; } = null!; - [Required] public double? MaxExplosiveCapacity { get; set; } - [Required, MaxLength(80)] public string? Sizes { get; set; } - [Required, MaxLength(40)] public string? Status { get; set; } - - public List? ShowTrucks { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/User.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/User.cs deleted file mode 100644 index 18b181e..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/User.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class User -{ - [Key] public int Id { get; set; } - [Required, MaxLength(100)] public string? Name { get; set; } - [Required, MaxLength(60)] public string? Password { get; set; } - [Required, MaxLength(100)] public string? Salt { get; set; } - [Required, MaxLength(100)] public string? Email { get; set; } - [Required, MaxLength(100)] public string? Fonction { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Warehouse.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/Warehouse.cs deleted file mode 100644 index d1e6420..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/Warehouse.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System.ComponentModel.DataAnnotations; - -namespace PyroFetes.Models; - -public class Warehouse -{ - [Key] public int Id {get; set;} - [Required, MaxLength(100)] public string? Name {get; set;} - [Required] public int MaxWeight {get; set;} - [Required] public int Current {get; set;} - [Required] public int MinWeight {get; set;} - [Required, MaxLength(100)] public string? Address { get; set; } - [Required, Length(5,5)] public string? ZipCode { get; set; } - [Required, MaxLength(100)] public string? City { get; set; } - - public List? WarehouseProducts { get; set; } - - public List? MaterialWarehouses {get; set;} - - public List? MovementsSource { get; set; } - public List? MovementsDestination { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Models/WarehouseProduct.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Models/WarehouseProduct.cs deleted file mode 100644 index fe89d36..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Models/WarehouseProduct.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using Microsoft.EntityFrameworkCore; - -namespace PyroFetes.Models; - -[PrimaryKey(nameof(ProductId), nameof(WarehouseId))] -public class WarehouseProduct -{ - [Required] public int ProductId { get; set; } - public Product? Product { get; set; } - [Required] public int WarehouseId { get; set; } - public Warehouse? Warehouse { get; set; } - - [Required] public int Quantity { get; set; } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Program.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Program.cs deleted file mode 100644 index e1a719b..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Program.cs +++ /dev/null @@ -1,75 +0,0 @@ -using AutoMapper; -using AutoMapper.EquivalencyExpression; -using PyroFetes; -using FastEndpoints; -using FastEndpoints.Swagger; -using FastEndpoints.Security; -using PyroFetes.MappingProfiles; -using PyroFetes.Repositories; - -WebApplicationBuilder builder = WebApplication.CreateBuilder(args); - -// On ajoute ici FastEndpoints, un framework REPR et Swagger aux services disponibles dans le projet -builder.Services - .AddAuthenticationJwtBearer(s => s.SigningKey = "ThisIsASuperSecretJwtKeyThatIsAtLeast32CharsLong") - .AddAuthorization() - .AddFastEndpoints() - .SwaggerDocument(options => - { - options.ShortSchemaNames = true; - }) - .AddCors(options => - { - options.AddDefaultPolicy(policyBuilder => - { - policyBuilder - .WithOrigins("http://localhost:4200") - .WithMethods("GET", "POST", "PUT", "DELETE", "PATCH") - .AllowAnyHeader(); - }); - }); - -// On ajoute ici la configuration de la base de données -builder.Services.AddDbContext(); - -builder.Services.AddScoped(); -builder.Services.AddScoped(); -builder.Services.AddScoped(); -builder.Services.AddScoped(); -builder.Services.AddScoped(); -builder.Services.AddScoped(); -builder.Services.AddScoped(); -builder.Services.AddScoped(); -builder.Services.AddScoped(); -builder.Services.AddScoped(); -builder.Services.AddScoped(); -builder.Services.AddScoped(); -builder.Services.AddScoped(); - -MapperConfiguration mappingConfig = new(mc => -{ - mc.AddCollectionMappers(); - mc.AddProfile(new DtoToEntityMappings()); - mc.AddProfile(new EntityToDtoMappings()); -}, new LoggerFactory()); - - -AutoMapper.IMapper mapper = mappingConfig.CreateMapper(); -builder.Services.AddSingleton(mapper); - -// On construit l'application en lui donnant vie -WebApplication app = builder.Build(); -app.UseAuthentication() - .UseAuthorization() - .UseFastEndpoints(options => - { - options.Endpoints.ShortNames = true; - options.Endpoints.RoutePrefix = "API"; - }) - .UseSwaggerGen(); - -app.UseHttpsRedirection(); - -app.UseCors(); - -app.Run(); \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Properties/launchSettings.json b/pyrofetes/pyrofetes-backend/PyroFetes/Properties/launchSettings.json deleted file mode 100644 index 6c4b984..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Properties/launchSettings.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "http://json.schemastore.org/launchsettings.json", - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:60777", - "sslPort": 44379 - } - }, - "profiles": { - "http": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "launchUrl": "swagger", - "applicationUrl": "http://localhost:5298", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "https": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "launchUrl": "swagger", - "applicationUrl": "https://localhost:7219;http://localhost:5298", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "launchUrl": "swagger", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - } - } -} diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/PyroFetes.csproj b/pyrofetes/pyrofetes-backend/PyroFetes/PyroFetes.csproj deleted file mode 100644 index cd211f5..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/PyroFetes.csproj +++ /dev/null @@ -1,29 +0,0 @@ - - - - net8.0 - enable - enable - - - - - - - - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/PyroFetesDbContext.cs b/pyrofetes/pyrofetes-backend/PyroFetes/PyroFetesDbContext.cs deleted file mode 100644 index 2a5f711..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/PyroFetesDbContext.cs +++ /dev/null @@ -1,102 +0,0 @@ -using Microsoft.EntityFrameworkCore; -using PyroFetes.Models; -using ServiceProvider = PyroFetes.Models.ServiceProvider; - -namespace PyroFetes; - -public class PyroFetesDbContext : DbContext -{ - // Entities - public DbSet Availabilities { get; set; } - public DbSet Brands { get; set; } - public DbSet Cities { get; set; } - public DbSet Classifications { get; set; } - public DbSet Colors { get; set; } - public DbSet Communications { get; set; } - public DbSet Contacts { get; set; } - public DbSet ContactServiceProviders { get; set; } - public DbSet Contracts { get; set; } - public DbSet Customers { get; set; } - public DbSet CustomerTypes { get; set; } - public DbSet Deliverers { get; set; } - public DbSet DeliveryNotes { get; set; } - public DbSet Effects { get; set; } - public DbSet ExperienceLevels { get; set; } - public DbSet HistoryOfApprovals { get; set; } - public DbSet Materials { get; set; } - public DbSet MaterialWarehouses { get; set; } - public DbSet Movements { get; set; } - public DbSet Prices { get; set; } - public DbSet Products { get; set; } - public DbSet ProductCategories { get; set; } - public DbSet ProductColors { get; set; } - public DbSet ProductDeliveries { get; set; } - public DbSet ProductEffects { get; set; } - public DbSet ProductTimecodes { get; set; } - public DbSet ProviderContacts { get; set; } - public DbSet ProviderTypes { get; set; } - public DbSet PurchaseOrders { get; set; } - public DbSet PurchaseProducts { get; set; } - public DbSet Quotations { get; set; } - public DbSet QuotationProducts { get; set; } - public DbSet ServiceProviders { get; set; } - public DbSet Settings { get; set; } - public DbSet Shows { get; set; } - public DbSet ShowMaterials { get; set; } - public DbSet ShowServiceProviders { get; set; } - public DbSet ShowStaffs { get; set; } - public DbSet ShowTrucks { get; set; } - public DbSet Sounds { get; set; } - public DbSet SoundCategories { get; set; } - public DbSet SoundTimecodes { get; set; } - public DbSet Staffs { get; set; } - public DbSet StaffAvailabilities { get; set; } - public DbSet StaffContacts { get; set; } - public DbSet StaffHistoryOfApprovals { get; set; } - public DbSet Suppliers { get; set; } - public DbSet Trucks { get; set; } - public DbSet Users { get; set; } - public DbSet Warehouses { get; set; } - public DbSet WarehouseProducts { get; set; } - - // Database configuration - protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) - { - string connectionString = - "Server=romaric-thibault.fr;" + - "Database=PyroFetes;" + - "User Id=pyrofetes;" + - "Password=Crablike8-Fringe-Swimmable;" + - "TrustServerCertificate=true;"; - - optionsBuilder.UseSqlServer(connectionString); - } - - // Models customization - protected override void OnModelCreating(ModelBuilder modelBuilder) - { - modelBuilder.Entity() - .HasOne(m => m.SourceWarehouse) - .WithMany(w => w.MovementsSource) - .HasForeignKey(m => m.SourceWarehouseId) - .OnDelete(DeleteBehavior.Restrict); - - modelBuilder.Entity() - .HasOne(m => m.DestinationWarehouse) - .WithMany(w => w.MovementsDestination) - .HasForeignKey(m => m.DestinationWarehouseId) - .OnDelete(DeleteBehavior.Restrict); - - modelBuilder.Entity() - .HasOne(mw => mw.Material) - .WithMany(m => m.MaterialWarehouses) - .HasForeignKey(mw => mw.MaterialId) - .OnDelete(DeleteBehavior.Restrict); - - modelBuilder.Entity() - .HasOne(mw => mw.Warehouse) - .WithMany(w => w.MaterialWarehouses) - .HasForeignKey(mw => mw.WarehouseId) - .OnDelete(DeleteBehavior.Restrict); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/DeliverersRepository.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/DeliverersRepository.cs deleted file mode 100644 index 0bf8c2e..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/DeliverersRepository.cs +++ /dev/null @@ -1,5 +0,0 @@ -using PyroFetes.Models; - -namespace PyroFetes.Repositories; - -public class DeliverersRepository(PyroFetesDbContext pyrofetesContext, AutoMapper.IMapper mapper) : PyrofetesRepository(pyrofetesContext, mapper); diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/DeliveryNotesRepository.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/DeliveryNotesRepository.cs deleted file mode 100644 index 6d87b05..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/DeliveryNotesRepository.cs +++ /dev/null @@ -1,5 +0,0 @@ -using PyroFetes.Models; - -namespace PyroFetes.Repositories; - -public class DeliveryNotesRepository(PyroFetesDbContext pyrofetesContext, AutoMapper.IMapper mapper) : PyrofetesRepository(pyrofetesContext, mapper); \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/PricesRepository.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/PricesRepository.cs deleted file mode 100644 index ec33111..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/PricesRepository.cs +++ /dev/null @@ -1,5 +0,0 @@ -using PyroFetes.Models; - -namespace PyroFetes.Repositories; - -public class PricesRepository(PyroFetesDbContext pyrofetesContext, AutoMapper.IMapper mapper) : PyrofetesRepository(pyrofetesContext, mapper); \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/ProductDeliveriesRepository.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/ProductDeliveriesRepository.cs deleted file mode 100644 index 376e24b..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/ProductDeliveriesRepository.cs +++ /dev/null @@ -1,5 +0,0 @@ -using PyroFetes.Models; - -namespace PyroFetes.Repositories; - -public class ProductDeliveriesRepository(PyroFetesDbContext pyrofetesContext, AutoMapper.IMapper mapper) : PyrofetesRepository(pyrofetesContext, mapper); \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/ProductsRepository.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/ProductsRepository.cs deleted file mode 100644 index 40719c6..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/ProductsRepository.cs +++ /dev/null @@ -1,5 +0,0 @@ -using PyroFetes.Models; - -namespace PyroFetes.Repositories; - -public class ProductsRepository(PyroFetesDbContext pyrofetesContext, AutoMapper.IMapper mapper) : PyrofetesRepository(pyrofetesContext, mapper); \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/PurchaseOrdersRepository.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/PurchaseOrdersRepository.cs deleted file mode 100644 index d5ce765..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/PurchaseOrdersRepository.cs +++ /dev/null @@ -1,5 +0,0 @@ -using PyroFetes.Models; - -namespace PyroFetes.Repositories; - -public class PurchaseOrdersRepository(PyroFetesDbContext pyrofetesContext, AutoMapper.IMapper mapper) : PyrofetesRepository(pyrofetesContext, mapper); \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/PurchaseProductsRepository.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/PurchaseProductsRepository.cs deleted file mode 100644 index b5de25b..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/PurchaseProductsRepository.cs +++ /dev/null @@ -1,5 +0,0 @@ -using PyroFetes.Models; - -namespace PyroFetes.Repositories; - -public class PurchaseProductsRepository(PyroFetesDbContext pyrofetesContext, AutoMapper.IMapper mapper) : PyrofetesRepository(pyrofetesContext, mapper); \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/PyrofetesRepository.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/PyrofetesRepository.cs deleted file mode 100644 index baebacc..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/PyrofetesRepository.cs +++ /dev/null @@ -1,328 +0,0 @@ -using System.Linq.Expressions; -using Ardalis.Specification; -using Ardalis.Specification.EntityFrameworkCore; -using AutoMapper.QueryableExtensions; -using Microsoft.EntityFrameworkCore; -using Plainquire.Page; - -namespace PyroFetes.Repositories; - -public class PyrofetesRepository(DbContext databaseContext, AutoMapper.IMapper mapper) : RepositoryBase(databaseContext) where T : class -{ - private readonly DbContext _databaseContext = databaseContext; - - /// - /// - /// - /// - /// - public async Task FirstOrDefaultAsync(CancellationToken cancellationToken = default) - { - return await _databaseContext.Set().AsQueryable().FirstOrDefaultAsync(cancellationToken); - } - - /// - /// - /// - /// - /// - public async Task FirstAsync(CancellationToken cancellationToken = default) - { - return await _databaseContext.Set().AsQueryable().FirstAsync(cancellationToken); - } - - /// - /// - /// - /// - /// - /// - public async Task SingleAsync(ISpecification specification, CancellationToken cancellationToken = default) - { - return await ApplySpecification(specification).SingleAsync(cancellationToken); - } - - /// - /// - /// - /// - /// - public async Task SingleAsync(CancellationToken cancellationToken = default) - { - return await _databaseContext.Set().AsQueryable().SingleAsync(cancellationToken); - } - - /// - /// - /// - /// - /// - /// - /// - public async Task SumAsync( - ISpecification specification, - Expression> selector, - CancellationToken cancellationToken = default) - { - return await ApplySpecification(specification).SumAsync(selector, cancellationToken); - } - - // /// - // /// - // /// - // /// - // /// - // /// - // /// - // public async Task SumAsync( - // ISpecification specification, - // Expression> selector, - // CancellationToken cancellationToken = default) - // { - // return await ApplySpecification(specification).SumAsync(selector, cancellationToken); - // } - - /// - /// - /// - /// - /// - /// - /// - /// - public async Task ProjectToSingleOrDefaultAsync( - ISpecification specification, - CancellationToken cancellationToken = default) - { - return await ApplySpecification(specification) - .ProjectTo(mapper.ConfigurationProvider) - .SingleOrDefaultAsync(cancellationToken: cancellationToken); - } - - /// - /// - /// - /// - /// - /// - /// - /// - public async Task ProjectToSingleOrDefaultAsync( - ISpecification specification, - Action postProcessor, - CancellationToken cancellationToken = default) - { - TResult? result = await ApplySpecification(specification) - .ProjectTo(mapper.ConfigurationProvider) - .SingleOrDefaultAsync(cancellationToken: cancellationToken); - postProcessor(result); - return result; - } - - // /// - // /// - // /// - // /// - // /// - // /// - // public async Task ProjectToSingleOrDefaultAsync( - // CancellationToken cancellationToken = default) - // { - // return await _databaseContext.Set().AsQueryable().ProjectTo(mapper.ConfigurationProvider).SingleOrDefaultAsync(cancellationToken: cancellationToken); - // } - - /// - /// - /// - /// - /// - /// - /// - public async Task ProjectToSingleAsync( - ISpecification specification, - CancellationToken cancellationToken = default) - { - return await ApplySpecification(specification) - .ProjectTo(mapper.ConfigurationProvider) - .SingleAsync(cancellationToken: cancellationToken); - } - - /// - /// - /// - /// - /// - /// - /// - /// - public async Task ProjectToSingleAsync( - ISpecification specification, - Action postProcessor, - CancellationToken cancellationToken = default) - { - TResult result = await ApplySpecification(specification) - .ProjectTo(mapper.ConfigurationProvider) - .SingleAsync(cancellationToken: cancellationToken); - postProcessor(result); - return result; - } - - /// - /// - /// - /// - /// - /// - public async Task ProjectToSingleAsync( - CancellationToken cancellationToken = default) - { - return await _databaseContext.Set() - .AsQueryable() - .ProjectTo(mapper.ConfigurationProvider) - .SingleAsync(cancellationToken: cancellationToken); - } - - /// - /// - /// - /// - /// - /// - public async Task> ProjectToListAsync( - CancellationToken cancellationToken = default) - { - return await _databaseContext.Set() - .AsQueryable() - .ProjectTo(mapper.ConfigurationProvider) - .ToListAsync(cancellationToken: cancellationToken); - } - - /// - /// - /// - /// - /// - /// - /// - public async Task> ProjectToListAsync( - Action> postProcessor, - CancellationToken cancellationToken = default) - { - List results = await _databaseContext.Set() - .AsQueryable() - .ProjectTo(mapper.ConfigurationProvider) - .ToListAsync(cancellationToken: cancellationToken); - postProcessor(results); - return results; - } - - /// - /// - /// - /// - /// - /// - /// - /// - public async Task> ProjectToListAsync( - ISpecification specification, - Action> postProcessor, - CancellationToken cancellationToken = default) - { - List results = await ApplySpecification(specification) - .ProjectTo(mapper.ConfigurationProvider) - .ToListAsync(cancellationToken: cancellationToken); - postProcessor(results); - return results; - } - - /// - /// - /// - /// - /// - /// - /// - public async Task> ProjectToListAsync( - ISpecification specification, - CancellationToken cancellationToken = default) - { - return await ApplySpecification(specification) - .ProjectTo(mapper.ConfigurationProvider) - .ToListAsync(cancellationToken: cancellationToken); - } - - /// - /// - /// - /// - /// - /// - /// - /// - /// - public async Task> ProjectToListAsync( - ISpecification specification, - EntityPage page, - Action> postProcessor, - CancellationToken cancellationToken = default) - { - List results = await ApplySpecification(specification) - .ProjectTo(mapper.ConfigurationProvider) - .Page(page) - .ToListAsync(cancellationToken: cancellationToken); - postProcessor(results); - return results; - } - - /// - /// - /// - /// - /// - /// - /// - /// - public async Task> ProjectToListAsync( - ISpecification specification, - EntityPage page, - CancellationToken cancellationToken = default) - { - return await ApplySpecification(specification) - .ProjectTo(mapper.ConfigurationProvider) - .Page(page) - .ToListAsync(cancellationToken: cancellationToken); - } - - /// - /// - /// - /// - /// - /// - /// - /// - public async Task> SelectManyAsync( - ISpecification specification, - Expression>> selector, - CancellationToken cancellationToken = default) - { - return await ApplySpecification(specification).SelectMany(selector).ToListAsync(cancellationToken: cancellationToken); - } - - /// - /// - /// - /// - /// - /// - /// - /// - public async Task> SelectAsync( - ISpecification specification, - Expression> selector, - CancellationToken cancellationToken = default) - { - return await ApplySpecification(specification).Select(selector).ToListAsync(cancellationToken: cancellationToken); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/QuotationProductsRepository.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/QuotationProductsRepository.cs deleted file mode 100644 index 0d42cdc..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/QuotationProductsRepository.cs +++ /dev/null @@ -1,5 +0,0 @@ -using PyroFetes.Models; - -namespace PyroFetes.Repositories; - -public class QuotationProductsRepository(PyroFetesDbContext pyrofetesContext, AutoMapper.IMapper mapper) : PyrofetesRepository(pyrofetesContext, mapper); diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/QuotationsRepository.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/QuotationsRepository.cs deleted file mode 100644 index 1b99ed9..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/QuotationsRepository.cs +++ /dev/null @@ -1,5 +0,0 @@ -using PyroFetes.Models; - -namespace PyroFetes.Repositories; - -public class QuotationsRepository(PyroFetesDbContext pyrofetesContext, AutoMapper.IMapper mapper) : PyrofetesRepository(pyrofetesContext, mapper); \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/SettingsRepository.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/SettingsRepository.cs deleted file mode 100644 index 5f4050b..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/SettingsRepository.cs +++ /dev/null @@ -1,5 +0,0 @@ -using PyroFetes.Models; - -namespace PyroFetes.Repositories; - -public class SettingsRepository(PyroFetesDbContext pyrofetesContext, AutoMapper.IMapper mapper) : PyrofetesRepository(pyrofetesContext, mapper); \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/SuppliersRepository.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/SuppliersRepository.cs deleted file mode 100644 index 1f8a8c0..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/SuppliersRepository.cs +++ /dev/null @@ -1,5 +0,0 @@ -using PyroFetes.Models; - -namespace PyroFetes.Repositories; - -public class SuppliersRepository(PyroFetesDbContext pyrofetesContext, AutoMapper.IMapper mapper) : PyrofetesRepository(pyrofetesContext, mapper); \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/UsersRepository.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/UsersRepository.cs deleted file mode 100644 index b943703..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/UsersRepository.cs +++ /dev/null @@ -1,5 +0,0 @@ -using PyroFetes.Models; - -namespace PyroFetes.Repositories; - -public class UsersRepository(PyroFetesDbContext pyrofetesContext, AutoMapper.IMapper mapper) : PyrofetesRepository(pyrofetesContext, mapper); \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/WarehouseProductsRepository.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/WarehouseProductsRepository.cs deleted file mode 100644 index e53207a..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Repositories/WarehouseProductsRepository.cs +++ /dev/null @@ -1,5 +0,0 @@ -using PyroFetes.Models; - -namespace PyroFetes.Repositories; - -public class WarehouseProductsRepository(PyroFetesDbContext pyrofetesContext, AutoMapper.IMapper mapper) : PyrofetesRepository(pyrofetesContext, mapper); \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Deliverers/GetDelivererByIdSpec.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Deliverers/GetDelivererByIdSpec.cs deleted file mode 100644 index 6376381..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Deliverers/GetDelivererByIdSpec.cs +++ /dev/null @@ -1,13 +0,0 @@ -using Ardalis.Specification; -using PyroFetes.Models; - -namespace PyroFetes.Specifications.Deliverers; - -public sealed class GetDelivererByIdSpec : Specification -{ - public GetDelivererByIdSpec(int delivererId) - { - Query - .Where(x => x.Id == delivererId); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/DeliveryNotes/GetDeliveryNoteByIdSpec.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/DeliveryNotes/GetDeliveryNoteByIdSpec.cs deleted file mode 100644 index 2fc0494..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/DeliveryNotes/GetDeliveryNoteByIdSpec.cs +++ /dev/null @@ -1,13 +0,0 @@ -using Ardalis.Specification; -using PyroFetes.Models; - -namespace PyroFetes.Specifications.DeliveryNotes; - -public sealed class GetDeliveryNoteByIdSpec : Specification -{ - public GetDeliveryNoteByIdSpec(int deliveryNoteId) - { - Query - .Where(x => x.Id == deliveryNoteId); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Prices/GetPriceByProductIdAndSupplierIdSpec.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Prices/GetPriceByProductIdAndSupplierIdSpec.cs deleted file mode 100644 index 5f74c13..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Prices/GetPriceByProductIdAndSupplierIdSpec.cs +++ /dev/null @@ -1,13 +0,0 @@ -using Ardalis.Specification; -using PyroFetes.Models; - -namespace PyroFetes.Specifications.Prices; - -public sealed class GetPriceByProductIdAndSupplierIdSpec : Specification -{ - public GetPriceByProductIdAndSupplierIdSpec(int? productId, int? supplierId) - { - Query - .Where(p => p.ProductId == productId && p.SupplierId == supplierId); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Products/GetProductByIdSpec.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Products/GetProductByIdSpec.cs deleted file mode 100644 index fb7322c..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Products/GetProductByIdSpec.cs +++ /dev/null @@ -1,13 +0,0 @@ -using Ardalis.Specification; -using PyroFetes.Models; - -namespace PyroFetes.Specifications.Products; - -public sealed class GetProductByIdSpec : Specification -{ - public GetProductByIdSpec(int? productId) - { - Query - .Where(p => p.Id == productId); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/PurchaseOrders/GetPurchaseOrderByIdSpec.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/PurchaseOrders/GetPurchaseOrderByIdSpec.cs deleted file mode 100644 index 272ad75..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/PurchaseOrders/GetPurchaseOrderByIdSpec.cs +++ /dev/null @@ -1,14 +0,0 @@ -using Ardalis.Specification; -using PyroFetes.Models; - -namespace PyroFetes.Specifications.PurchaseOrders; - -public sealed class GetPurchaseOrderByIdSpec : Specification -{ - public GetPurchaseOrderByIdSpec(int purchaseOrderId) - { - Query - .Include(po => po.PurchaseProducts) - .Where(po => po.Id == purchaseOrderId); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/PurchaseProducts/GetPurchaseProductByProductIdAndPurchaseOrderIdSpec.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/PurchaseProducts/GetPurchaseProductByProductIdAndPurchaseOrderIdSpec.cs deleted file mode 100644 index 5d35c62..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/PurchaseProducts/GetPurchaseProductByProductIdAndPurchaseOrderIdSpec.cs +++ /dev/null @@ -1,13 +0,0 @@ -using Ardalis.Specification; -using PyroFetes.Models; - -namespace PyroFetes.Specifications.PurchaseProducts; - -public sealed class GetPurchaseProductByProductIdAndPurchaseOrderIdSpec : Specification -{ - public GetPurchaseProductByProductIdAndPurchaseOrderIdSpec(int productId, int purchaseOrderId) - { - Query - .Where(p => p.ProductId == productId && p.PurchaseOrderId == purchaseOrderId); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/QuotationProducts/GetQuotationProductByProductIdAndQuotationIdSpec.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/QuotationProducts/GetQuotationProductByProductIdAndQuotationIdSpec.cs deleted file mode 100644 index 9c3b65a..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/QuotationProducts/GetQuotationProductByProductIdAndQuotationIdSpec.cs +++ /dev/null @@ -1,13 +0,0 @@ -using Ardalis.Specification; -using PyroFetes.Models; - -namespace PyroFetes.Specifications.QuotationProducts; - -public sealed class GetQuotationProductByProductIdAndQuotationIdSpec : Specification -{ - public GetQuotationProductByProductIdAndQuotationIdSpec(int productId, int quotationId) - { - Query - .Where(x => x.ProductId == productId && x.QuotationId == quotationId); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Quotations/GetQuotationByIdSpec.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Quotations/GetQuotationByIdSpec.cs deleted file mode 100644 index 37424e9..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Quotations/GetQuotationByIdSpec.cs +++ /dev/null @@ -1,14 +0,0 @@ -using Ardalis.Specification; -using PyroFetes.Models; - -namespace PyroFetes.Specifications.Quotations; - -public sealed class GetQuotationByIdSpec : Specification -{ - public GetQuotationByIdSpec(int quotationId) - { - Query - .Include(q => q.QuotationProducts) - .Where(x => x.Id == quotationId); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Settings/GetSettingByIdSpec.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Settings/GetSettingByIdSpec.cs deleted file mode 100644 index cc786e4..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Settings/GetSettingByIdSpec.cs +++ /dev/null @@ -1,13 +0,0 @@ -using Ardalis.Specification; -using PyroFetes.Models; - -namespace PyroFetes.Specifications.Settings; - -public sealed class GetSettingByIdSpec : Specification -{ - public GetSettingByIdSpec(int settingId) - { - Query - .Where(setting => setting.Id == settingId); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Suppliers/GetSupplierByIdSpec.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Suppliers/GetSupplierByIdSpec.cs deleted file mode 100644 index add1699..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Suppliers/GetSupplierByIdSpec.cs +++ /dev/null @@ -1,13 +0,0 @@ -using Ardalis.Specification; -using PyroFetes.Models; - -namespace PyroFetes.Specifications.Suppliers; - -public sealed class GetSupplierByIdSpec : Specification -{ - public GetSupplierByIdSpec(int? supplierId) - { - Query - .Where(x => x.Id == supplierId); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Users/GetUserByIdSpec.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Users/GetUserByIdSpec.cs deleted file mode 100644 index db5c0be..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Users/GetUserByIdSpec.cs +++ /dev/null @@ -1,13 +0,0 @@ -using Ardalis.Specification; -using PyroFetes.Models; - -namespace PyroFetes.Specifications.Users; - -public sealed class GetUserByIdSpec : Specification -{ - public GetUserByIdSpec(int userId) - { - Query - .Where(x => x.Id == userId); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Users/GetUserByNameSpec.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Users/GetUserByNameSpec.cs deleted file mode 100644 index daa75ad..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Users/GetUserByNameSpec.cs +++ /dev/null @@ -1,13 +0,0 @@ -using Ardalis.Specification; -using PyroFetes.Models; - -namespace PyroFetes.Specifications.Users; - -public sealed class GetUserByNameSpec : Specification -{ - public GetUserByNameSpec(string userName) - { - Query - .Where(x=> x.Name == userName); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/WarehouseProducts/GetProductTotalQuantitySpec.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/WarehouseProducts/GetProductTotalQuantitySpec.cs deleted file mode 100644 index 9dd451f..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/WarehouseProducts/GetProductTotalQuantitySpec.cs +++ /dev/null @@ -1,14 +0,0 @@ -using Ardalis.Specification; -using PyroFetes.Models; - -namespace PyroFetes.Specifications.WarehouseProducts; - -public sealed class GetProductTotalQuantitySpec : Specification -{ - public GetProductTotalQuantitySpec(int productId) - { - Query - .Where(wp => wp.ProductId == productId); - - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/WarehouseProducts/GetWarehouseProductByProductIdSpec.cs b/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/WarehouseProducts/GetWarehouseProductByProductIdSpec.cs deleted file mode 100644 index ff135c1..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/WarehouseProducts/GetWarehouseProductByProductIdSpec.cs +++ /dev/null @@ -1,13 +0,0 @@ -using Ardalis.Specification; -using PyroFetes.Models; - -namespace PyroFetes.Specifications.WarehouseProducts; - -public sealed class GetWarehouseProductByProductIdSpec : Specification -{ - public GetWarehouseProductByProductIdSpec(int productId) - { - Query - .Where(x => x.ProductId == productId); - } -} \ No newline at end of file diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/appsettings.Development.json b/pyrofetes/pyrofetes-backend/PyroFetes/appsettings.Development.json deleted file mode 100644 index 0c208ae..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/appsettings.Development.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft.AspNetCore": "Warning" - } - } -} diff --git a/pyrofetes/pyrofetes-backend/PyroFetes/appsettings.json b/pyrofetes/pyrofetes-backend/PyroFetes/appsettings.json deleted file mode 100644 index 10f68b8..0000000 --- a/pyrofetes/pyrofetes-backend/PyroFetes/appsettings.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft.AspNetCore": "Warning" - } - }, - "AllowedHosts": "*" -} diff --git a/pyrofetes/pyrofetes-backend/README.md b/pyrofetes/pyrofetes-backend/README.md deleted file mode 100644 index 445adac..0000000 --- a/pyrofetes/pyrofetes-backend/README.md +++ /dev/null @@ -1,50 +0,0 @@ -# Gestionnaire de Stocks et Commandes - -Cette application web permet de **suivre les stocks**, **automatiser les commandes fournisseurs** et **gérer le cycle complet d’approvisionnement**. -Elle est conçue pour simplifier le travail des entreprises en offrant une vue en temps réel sur les produits, leurs fournisseurs et l’état des livraisons. - ---- - -## ✨ Fonctionnalités principales - -### 1️⃣ Suivi et réapprovisionnement des stocks -- Définissez un **niveau minimal de stock** pour chaque produit. -- Surveillez les **niveaux en temps réel** grâce à une interface claire. -- Lorsqu’un produit atteint ou descend sous son seuil minimal, le système **génère automatiquement un bon de commande** pour le réapprovisionner. - -### 2️⃣ Gestion des fournisseurs -- Enregistrez les informations complètes des fournisseurs : nom, adresse, coordonnées, produits fournis, délais de livraison. -- **Associez un ou plusieurs fournisseurs** à chaque produit. -- Lorsqu’un bon de commande est créé, le système **propose automatiquement les fournisseurs appropriés**. - -### 3️⃣ Devis et bons de commande -- Créez des **devis personnalisés** : sélection des produits, quantités, prix, ajout d’un logo, message ou conditions de vente. -- **Imprimez ou exportez** vos devis au format PDF. -- Générez des **bons de commande** en quelques clics, avec personnalisation (logo, conditions d’achat) et exportation en PDF. - -### 4️⃣ Suivi des livraisons -- **Transformez un bon de commande en bon de livraison** dès l’expédition des produits par le fournisseur. -- Enregistrez toutes les informations importantes : date d’expédition, transporteur, numéro de suivi, date prévue et date effective de livraison. -- Recevez des **alertes en cas de retard**. -- Gérez la **réception des produits** et vérifiez leur conformité. - ---- - -## 🗂️ Livrables prévus -- **Modèle de données** : diagramme de classes commun à tous les groupes. -- **Interface utilisateur** : maquettes ou prototypes interactifs. -- **Code source commenté** pour une meilleure compréhension. -- **Documentation technique** : description des fonctionnalités, architecture de l’application et API. - ---- - -## 👥 Équipe -- **Mathys** -- **Enzo** -- **Cristiano** -- **Arsène** - ---- - -## 🚀 Objectif -Fournir un outil complet pour automatiser la gestion des stocks et des commandes, réduisant les erreurs humaines, améliorant le suivi des livraisons et facilitant la communication avec les fournisseurs. \ No newline at end of file diff --git a/pyrofetes/pyrofetes-frontend/.gitignore b/pyrofetes/pyrofetes-frontend/.gitignore deleted file mode 100644 index 623097a..0000000 --- a/pyrofetes/pyrofetes-frontend/.gitignore +++ /dev/null @@ -1,337 +0,0 @@ -# Created by https://www.toptal.com/developers/gitignore/api/angular,node,jetbrains+all,linux,windows,macos -# Edit at https://www.toptal.com/developers/gitignore?templates=angular,node,jetbrains+all,linux,windows,macos - -### Angular ### -## Angular ## -# compiled output -dist/ -tmp/ -app/**/*.js -app/**/*.js.map - -# dependencies -node_modules/ -bower_components/ - -# IDEs and editors -.idea/ - -# misc -.sass-cache/ -connect.lock/ -coverage/ -libpeerconnection.log/ -npm-debug.log -testem.log -typings/ -.angular/ - -# e2e -e2e/*.js -e2e/*.map - -# System Files -.DS_Store/ - -### JetBrains+all ### -# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider -# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 - -# User-specific stuff -.idea/**/workspace.xml -.idea/**/tasks.xml -.idea/**/usage.statistics.xml -.idea/**/dictionaries -.idea/**/shelf - -# AWS User-specific -.idea/**/aws.xml - -# Generated files -.idea/**/contentModel.xml - -# Sensitive or high-churn files -.idea/**/dataSources/ -.idea/**/dataSources.ids -.idea/**/dataSources.local.xml -.idea/**/sqlDataSources.xml -.idea/**/dynamic.xml -.idea/**/uiDesigner.xml -.idea/**/dbnavigator.xml - -# Gradle -.idea/**/gradle.xml -.idea/**/libraries - -# Gradle and Maven with auto-import -# When using Gradle or Maven with auto-import, you should exclude module files, -# since they will be recreated, and may cause churn. Uncomment if using -# auto-import. -# .idea/artifacts -# .idea/compiler.xml -# .idea/jarRepositories.xml -# .idea/modules.xml -# .idea/*.iml -# .idea/modules -# *.iml -# *.ipr - -# CMake -cmake-build-*/ - -# Mongo Explorer plugin -.idea/**/mongoSettings.xml - -# File-based project format -*.iws - -# IntelliJ -out/ - -# mpeltonen/sbt-idea plugin -.idea_modules/ - -# JIRA plugin -atlassian-ide-plugin.xml - -# Cursive Clojure plugin -.idea/replstate.xml - -# SonarLint plugin -.idea/sonarlint/ - -# Crashlytics plugin (for Android Studio and IntelliJ) -com_crashlytics_export_strings.xml -crashlytics.properties -crashlytics-build.properties -fabric.properties - -# Editor-based Rest Client -.idea/httpRequests - -# Android studio 3.1+ serialized cache file -.idea/caches/build_file_checksums.ser - -### JetBrains+all Patch ### -# Ignore everything but code style settings and run configurations -# that are supposed to be shared within teams. - -.idea/* - -!.idea/codeStyles -!.idea/runConfigurations - -### Linux ### -*~ - -# temporary files which can be created if a process still has a handle open of a deleted file -.fuse_hidden* - -# KDE directory preferences -.directory - -# Linux trash folder which might appear on any partition or disk -.Trash-* - -# .nfs files are created when an open file is removed but is still being accessed -.nfs* - -### macOS ### -# General -.DS_Store -.AppleDouble -.LSOverride - -# Icon must end with two \r -Icon - - -# Thumbnails -._* - -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns -.com.apple.timemachine.donotpresent - -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk - -### macOS Patch ### -# iCloud generated files -*.icloud - -### Node ### -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -lerna-debug.log* -.pnpm-debug.log* - -# Diagnostic reports (https://nodejs.org/api/report.html) -report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json - -# Runtime data -pids -*.pid -*.seed -*.pid.lock - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage -*.lcov - -# nyc test coverage -.nyc_output - -# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# Bower dependency directory (https://bower.io/) -bower_components - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (https://nodejs.org/api/addons.html) -build/Release - -# Dependency directories -jspm_packages/ - -# Snowpack dependency directory (https://snowpack.dev/) -web_modules/ - -# TypeScript cache -*.tsbuildinfo - -# Optional npm cache directory -.npm - -# Optional eslint cache -.eslintcache - -# Optional stylelint cache -.stylelintcache - -# Microbundle cache -.rpt2_cache/ -.rts2_cache_cjs/ -.rts2_cache_es/ -.rts2_cache_umd/ - -# Optional REPL history -.node_repl_history - -# Output of 'npm pack' -*.tgz - -# Yarn Integrity file -.yarn-integrity - -# dotenv environment variable files -.env -.env.development.local -.env.test.local -.env.production.local -.env.local - -# parcel-bundler cache (https://parceljs.org/) -.cache -.parcel-cache - -# Next.js build output -.next -out - -# Nuxt.js build / generate output -.nuxt -dist - -# Gatsby files -.cache/ -# Comment in the public line in if your project uses Gatsby and not Next.js -# https://nextjs.org/blog/next-9-1#public-directory-support -# public - -# vuepress build output -.vuepress/dist - -# vuepress v2.x temp and cache directory -.temp - -# Docusaurus cache and generated files -.docusaurus - -# Serverless directories -.serverless/ - -# FuseBox cache -.fusebox/ - -# DynamoDB Local files -.dynamodb/ - -# TernJS port file -.tern-port - -# Stores VSCode versions used for testing VSCode extensions -.vscode-test - -# yarn v2 -.yarn/cache -.yarn/unplugged -.yarn/build-state.yml -.yarn/install-state.gz -.pnp.* - -### Node Patch ### -# Serverless Webpack directories -.webpack/ - -# Optional stylelint cache - -# SvelteKit build / generate output -.svelte-kit - -### Windows ### -# Windows thumbnail cache files -Thumbs.db -Thumbs.db:encryptable -ehthumbs.db -ehthumbs_vista.db - -# Dump file -*.stackdump - -# Folder config file -[Dd]esktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Windows Installer files -*.cab -*.msi -*.msix -*.msm -*.msp - -# Windows shortcuts -*.lnk - -# End of https://www.toptal.com/developers/gitignore/api/angular,node,jetbrains+all,linux,windows,macos diff --git a/pyrofetes/pyrofetes-frontend/.vscode/extensions.json b/pyrofetes/pyrofetes-frontend/.vscode/extensions.json deleted file mode 100644 index 77b3745..0000000 --- a/pyrofetes/pyrofetes-frontend/.vscode/extensions.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846 - "recommendations": ["angular.ng-template"] -} diff --git a/pyrofetes/pyrofetes-frontend/.vscode/launch.json b/pyrofetes/pyrofetes-frontend/.vscode/launch.json deleted file mode 100644 index f30a599..0000000 --- a/pyrofetes/pyrofetes-frontend/.vscode/launch.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "ng serve", - "type": "chrome", - "request": "launch", - "preLaunchTask": "npm: start", - "url": "http://localhost:4200/" - } - ] -} diff --git a/pyrofetes/pyrofetes-frontend/.vscode/tasks.json b/pyrofetes/pyrofetes-frontend/.vscode/tasks.json deleted file mode 100644 index b02874a..0000000 --- a/pyrofetes/pyrofetes-frontend/.vscode/tasks.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - // For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558 - "version": "2.0.0", - "tasks": [ - { - "type": "npm", - "script": "start", - "isBackground": true, - "problemMatcher": { - "owner": "typescript", - "pattern": "$tsc", - "background": { - "activeOnStart": true, - "beginsPattern": { - "regexp": "(.*?)" - }, - "endsPattern": { - "regexp": "bundle generation complete" - } - } - } - } - ] -} diff --git a/pyrofetes/pyrofetes-frontend/README.md b/pyrofetes/pyrofetes-frontend/README.md deleted file mode 100644 index 4c9d18d..0000000 --- a/pyrofetes/pyrofetes-frontend/README.md +++ /dev/null @@ -1,59 +0,0 @@ -# PyrofetesFrontend - -This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 20.3.9. - -## Development server - -To start a local development server, run: - -```bash -ng serve -``` - -Once the server is running, open your browser and navigate to `http://localhost:4200/`. The application will automatically reload whenever you modify any of the source files. - -## Code scaffolding - -Angular CLI includes powerful code scaffolding tools. To generate a new component, run: - -```bash -ng generate component component-name -``` - -For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run: - -```bash -ng generate --help -``` - -## Building - -To build the project run: - -```bash -ng build -``` - -This will compile your project and store the build artifacts in the `dist/` directory. By default, the production build optimizes your application for performance and speed. - -## Running unit tests - -To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command: - -```bash -ng test -``` - -## Running end-to-end tests - -For end-to-end (e2e) testing, run: - -```bash -ng e2e -``` - -Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs. - -## Additional Resources - -For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page. diff --git a/pyrofetes/pyrofetes-frontend/angular.json b/pyrofetes/pyrofetes-frontend/angular.json deleted file mode 100644 index ce5e7c9..0000000 --- a/pyrofetes/pyrofetes-frontend/angular.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "$schema": "./node_modules/@angular/cli/lib/config/schema.json", - "version": 1, - "newProjectRoot": "projects", - "projects": { - "pyrofetes-frontend": { - "projectType": "application", - "schematics": { - "@schematics/angular:component": { - "skipTests": true - }, - "@schematics/angular:class": { - "skipTests": true - }, - "@schematics/angular:directive": { - "skipTests": true - }, - "@schematics/angular:guard": { - "skipTests": true - }, - "@schematics/angular:interceptor": { - "skipTests": true - }, - "@schematics/angular:pipe": { - "skipTests": true - }, - "@schematics/angular:resolver": { - "skipTests": true - }, - "@schematics/angular:service": { - "skipTests": true - } - }, - "root": "", - "sourceRoot": "src", - "prefix": "app", - "architect": { - "build": { - "builder": "@angular/build:application", - "options": { - "browser": "src/main.ts", - "polyfills": [ - "zone.js" - ], - "tsConfig": "tsconfig.app.json", - "assets": [ - { - "glob": "**/*", - "input": "public" - }, - { - "glob": "**/*", - "input": "./node_modules/@ant-design/icons-angular/src/inline-svg/", - "output": "/assets/" - } - ], - "styles": [ - "src/theme.less", - "src/styles.css" - ] - }, - "configurations": { - "production": { - "budgets": [ - { - "type": "initial", - "maximumWarning": "2MB", - "maximumError": "5MB" - }, - { - "type": "anyComponentStyle", - "maximumWarning": "6kB", - "maximumError": "10kB" - } - ], - "outputHashing": "all" - }, - "development": { - "optimization": false, - "extractLicenses": false, - "sourceMap": true - } - }, - "defaultConfiguration": "production" - }, - "serve": { - "builder": "@angular/build:dev-server", - "configurations": { - "production": { - "buildTarget": "pyrofetes-frontend:build:production" - }, - "development": { - "buildTarget": "pyrofetes-frontend:build:development" - } - }, - "defaultConfiguration": "development" - }, - "extract-i18n": { - "builder": "@angular/build:extract-i18n" - } - } - } - }, - "cli": { - "analytics": "57ff6779-7086-47b1-828e-37d159010f59" - } -} diff --git a/pyrofetes/pyrofetes-frontend/package-lock.json b/pyrofetes/pyrofetes-frontend/package-lock.json deleted file mode 100644 index ca8a2b0..0000000 --- a/pyrofetes/pyrofetes-frontend/package-lock.json +++ /dev/null @@ -1,8854 +0,0 @@ -{ - "name": "pyrofetes-frontend", - "version": "0.0.0", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "pyrofetes-frontend", - "version": "0.0.0", - "dependencies": { - "@angular/common": "^20.3.0", - "@angular/compiler": "^20.3.0", - "@angular/core": "^20.3.0", - "@angular/forms": "^20.3.0", - "@angular/platform-browser": "^20.3.0", - "@angular/router": "^20.3.0", - "@tailwindcss/vite": "^4.1.17", - "ng-zorro-antd": "^20.4.0", - "rxjs": "~7.8.0", - "tailwindcss": "^4.1.17", - "tslib": "^2.3.0", - "zone.js": "~0.15.0" - }, - "devDependencies": { - "@angular/build": "^20.3.9", - "@angular/cli": "^20.3.9", - "@angular/compiler-cli": "^20.3.0", - "less": "^4.2.0", - "typescript": "~5.9.2" - } - }, - "node_modules/@algolia/abtesting": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@algolia/abtesting/-/abtesting-1.1.0.tgz", - "integrity": "sha512-sEyWjw28a/9iluA37KLGu8vjxEIlb60uxznfTUmXImy7H5NvbpSO6yYgmgH5KiD7j+zTUUihiST0jEP12IoXow==", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/client-common": "5.35.0", - "@algolia/requester-browser-xhr": "5.35.0", - "@algolia/requester-fetch": "5.35.0", - "@algolia/requester-node-http": "5.35.0" - }, - "engines": { - "node": ">= 14.0.0" - } - }, - "node_modules/@algolia/client-abtesting": { - "version": "5.35.0", - "resolved": "https://registry.npmjs.org/@algolia/client-abtesting/-/client-abtesting-5.35.0.tgz", - "integrity": "sha512-uUdHxbfHdoppDVflCHMxRlj49/IllPwwQ2cQ8DLC4LXr3kY96AHBpW0dMyi6ygkn2MtFCc6BxXCzr668ZRhLBQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/client-common": "5.35.0", - "@algolia/requester-browser-xhr": "5.35.0", - "@algolia/requester-fetch": "5.35.0", - "@algolia/requester-node-http": "5.35.0" - }, - "engines": { - "node": ">= 14.0.0" - } - }, - "node_modules/@algolia/client-analytics": { - "version": "5.35.0", - "resolved": "https://registry.npmjs.org/@algolia/client-analytics/-/client-analytics-5.35.0.tgz", - "integrity": "sha512-SunAgwa9CamLcRCPnPHx1V2uxdQwJGqb1crYrRWktWUdld0+B2KyakNEeVn5lln4VyeNtW17Ia7V7qBWyM/Skw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/client-common": "5.35.0", - "@algolia/requester-browser-xhr": "5.35.0", - "@algolia/requester-fetch": "5.35.0", - "@algolia/requester-node-http": "5.35.0" - }, - "engines": { - "node": ">= 14.0.0" - } - }, - "node_modules/@algolia/client-common": { - "version": "5.35.0", - "resolved": "https://registry.npmjs.org/@algolia/client-common/-/client-common-5.35.0.tgz", - "integrity": "sha512-ipE0IuvHu/bg7TjT2s+187kz/E3h5ssfTtjpg1LbWMgxlgiaZIgTTbyynM7NfpSJSKsgQvCQxWjGUO51WSCu7w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 14.0.0" - } - }, - "node_modules/@algolia/client-insights": { - "version": "5.35.0", - "resolved": "https://registry.npmjs.org/@algolia/client-insights/-/client-insights-5.35.0.tgz", - "integrity": "sha512-UNbCXcBpqtzUucxExwTSfAe8gknAJ485NfPN6o1ziHm6nnxx97piIbcBQ3edw823Tej2Wxu1C0xBY06KgeZ7gA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/client-common": "5.35.0", - "@algolia/requester-browser-xhr": "5.35.0", - "@algolia/requester-fetch": "5.35.0", - "@algolia/requester-node-http": "5.35.0" - }, - "engines": { - "node": ">= 14.0.0" - } - }, - "node_modules/@algolia/client-personalization": { - "version": "5.35.0", - "resolved": "https://registry.npmjs.org/@algolia/client-personalization/-/client-personalization-5.35.0.tgz", - "integrity": "sha512-/KWjttZ6UCStt4QnWoDAJ12cKlQ+fkpMtyPmBgSS2WThJQdSV/4UWcqCUqGH7YLbwlj3JjNirCu3Y7uRTClxvA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/client-common": "5.35.0", - "@algolia/requester-browser-xhr": "5.35.0", - "@algolia/requester-fetch": "5.35.0", - "@algolia/requester-node-http": "5.35.0" - }, - "engines": { - "node": ">= 14.0.0" - } - }, - "node_modules/@algolia/client-query-suggestions": { - "version": "5.35.0", - "resolved": "https://registry.npmjs.org/@algolia/client-query-suggestions/-/client-query-suggestions-5.35.0.tgz", - "integrity": "sha512-8oCuJCFf/71IYyvQQC+iu4kgViTODbXDk3m7yMctEncRSRV+u2RtDVlpGGfPlJQOrAY7OONwJlSHkmbbm2Kp/w==", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/client-common": "5.35.0", - "@algolia/requester-browser-xhr": "5.35.0", - "@algolia/requester-fetch": "5.35.0", - "@algolia/requester-node-http": "5.35.0" - }, - "engines": { - "node": ">= 14.0.0" - } - }, - "node_modules/@algolia/client-search": { - "version": "5.35.0", - "resolved": "https://registry.npmjs.org/@algolia/client-search/-/client-search-5.35.0.tgz", - "integrity": "sha512-FfmdHTrXhIduWyyuko1YTcGLuicVbhUyRjO3HbXE4aP655yKZgdTIfMhZ/V5VY9bHuxv/fGEh3Od1Lvv2ODNTg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/client-common": "5.35.0", - "@algolia/requester-browser-xhr": "5.35.0", - "@algolia/requester-fetch": "5.35.0", - "@algolia/requester-node-http": "5.35.0" - }, - "engines": { - "node": ">= 14.0.0" - } - }, - "node_modules/@algolia/ingestion": { - "version": "1.35.0", - "resolved": "https://registry.npmjs.org/@algolia/ingestion/-/ingestion-1.35.0.tgz", - "integrity": "sha512-gPzACem9IL1Co8mM1LKMhzn1aSJmp+Vp434An4C0OBY4uEJRcqsLN3uLBlY+bYvFg8C8ImwM9YRiKczJXRk0XA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/client-common": "5.35.0", - "@algolia/requester-browser-xhr": "5.35.0", - "@algolia/requester-fetch": "5.35.0", - "@algolia/requester-node-http": "5.35.0" - }, - "engines": { - "node": ">= 14.0.0" - } - }, - "node_modules/@algolia/monitoring": { - "version": "1.35.0", - "resolved": "https://registry.npmjs.org/@algolia/monitoring/-/monitoring-1.35.0.tgz", - "integrity": "sha512-w9MGFLB6ashI8BGcQoVt7iLgDIJNCn4OIu0Q0giE3M2ItNrssvb8C0xuwJQyTy1OFZnemG0EB1OvXhIHOvQwWw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/client-common": "5.35.0", - "@algolia/requester-browser-xhr": "5.35.0", - "@algolia/requester-fetch": "5.35.0", - "@algolia/requester-node-http": "5.35.0" - }, - "engines": { - "node": ">= 14.0.0" - } - }, - "node_modules/@algolia/recommend": { - "version": "5.35.0", - "resolved": "https://registry.npmjs.org/@algolia/recommend/-/recommend-5.35.0.tgz", - "integrity": "sha512-AhrVgaaXAb8Ue0u2nuRWwugt0dL5UmRgS9LXe0Hhz493a8KFeZVUE56RGIV3hAa6tHzmAV7eIoqcWTQvxzlJeQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/client-common": "5.35.0", - "@algolia/requester-browser-xhr": "5.35.0", - "@algolia/requester-fetch": "5.35.0", - "@algolia/requester-node-http": "5.35.0" - }, - "engines": { - "node": ">= 14.0.0" - } - }, - "node_modules/@algolia/requester-browser-xhr": { - "version": "5.35.0", - "resolved": "https://registry.npmjs.org/@algolia/requester-browser-xhr/-/requester-browser-xhr-5.35.0.tgz", - "integrity": "sha512-diY415KLJZ6x1Kbwl9u96Jsz0OstE3asjXtJ9pmk1d+5gPuQ5jQyEsgC+WmEXzlec3iuVszm8AzNYYaqw6B+Zw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/client-common": "5.35.0" - }, - "engines": { - "node": ">= 14.0.0" - } - }, - "node_modules/@algolia/requester-fetch": { - "version": "5.35.0", - "resolved": "https://registry.npmjs.org/@algolia/requester-fetch/-/requester-fetch-5.35.0.tgz", - "integrity": "sha512-uydqnSmpAjrgo8bqhE9N1wgcB98psTRRQXcjc4izwMB7yRl9C8uuAQ/5YqRj04U0mMQ+fdu2fcNF6m9+Z1BzDQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/client-common": "5.35.0" - }, - "engines": { - "node": ">= 14.0.0" - } - }, - "node_modules/@algolia/requester-node-http": { - "version": "5.35.0", - "resolved": "https://registry.npmjs.org/@algolia/requester-node-http/-/requester-node-http-5.35.0.tgz", - "integrity": "sha512-RgLX78ojYOrThJHrIiPzT4HW3yfQa0D7K+MQ81rhxqaNyNBu4F1r+72LNHYH/Z+y9I1Mrjrd/c/Ue5zfDgAEjQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/client-common": "5.35.0" - }, - "engines": { - "node": ">= 14.0.0" - } - }, - "node_modules/@ampproject/remapping": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", - "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.5", - "@jridgewell/trace-mapping": "^0.3.24" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@angular-devkit/architect": { - "version": "0.2003.10", - "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.2003.10.tgz", - "integrity": "sha512-2SWetxJzS8gRX6OKQstkWx37VRvZVgcEBDLsDSaeTjpnwh81A+niZQjAVRdwL0NEt1Wixk/RxfeUuCmdyyHvhQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@angular-devkit/core": "20.3.10", - "rxjs": "7.8.2" - }, - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=24.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" - } - }, - "node_modules/@angular-devkit/core": { - "version": "20.3.10", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-20.3.10.tgz", - "integrity": "sha512-COOT2eVebDwHhwENk12VR6m0wjL8D7p0dncEHF15zaBt1IXEnVhGESjSrs5klnPnt5T55qCBKyCTaeK7i/cS8Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "ajv": "8.17.1", - "ajv-formats": "3.0.1", - "jsonc-parser": "3.3.1", - "picomatch": "4.0.3", - "rxjs": "7.8.2", - "source-map": "0.7.6" - }, - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=24.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" - }, - "peerDependencies": { - "chokidar": "^4.0.0" - }, - "peerDependenciesMeta": { - "chokidar": { - "optional": true - } - } - }, - "node_modules/@angular-devkit/schematics": { - "version": "20.3.10", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-20.3.10.tgz", - "integrity": "sha512-2N2WF9lj+kr3uCG4+vFadYCL5hAT4dxMgzwScSdOqSd0O+GZD0CzKbDzlfvWIWC/ZealC5Sh4dFEQaRfmy72xA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@angular-devkit/core": "20.3.10", - "jsonc-parser": "3.3.1", - "magic-string": "0.30.17", - "ora": "8.2.0", - "rxjs": "7.8.2" - }, - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=24.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" - } - }, - "node_modules/@angular/animations": { - "version": "20.3.11", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-20.3.11.tgz", - "integrity": "sha512-7ysqAUE3PRmrOC1JZYYzI6eabgzkWnUPTsohcliOh7gxJdIcA3h+oJS/GiBrzpzGIkIH806reJbP916jbCcWxQ==", - "license": "MIT", - "peer": true, - "dependencies": { - "tslib": "^2.3.0" - }, - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=24.0.0" - }, - "peerDependencies": { - "@angular/core": "20.3.11" - } - }, - "node_modules/@angular/build": { - "version": "20.3.10", - "resolved": "https://registry.npmjs.org/@angular/build/-/build-20.3.10.tgz", - "integrity": "sha512-nQrj1nMNZygYDilThc7hPrD6/NIWF/BOSgMfE4VkXQp8d0QronP3HFJ/h77MeoughMRFRhix0pqQSlXJQ2SGTQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "0.2003.10", - "@babel/core": "7.28.3", - "@babel/helper-annotate-as-pure": "7.27.3", - "@babel/helper-split-export-declaration": "7.24.7", - "@inquirer/confirm": "5.1.14", - "@vitejs/plugin-basic-ssl": "2.1.0", - "beasties": "0.3.5", - "browserslist": "^4.23.0", - "esbuild": "0.25.9", - "https-proxy-agent": "7.0.6", - "istanbul-lib-instrument": "6.0.3", - "jsonc-parser": "3.3.1", - "listr2": "9.0.1", - "magic-string": "0.30.17", - "mrmime": "2.0.1", - "parse5-html-rewriting-stream": "8.0.0", - "picomatch": "4.0.3", - "piscina": "5.1.3", - "rollup": "4.52.3", - "sass": "1.90.0", - "semver": "7.7.2", - "source-map-support": "0.5.21", - "tinyglobby": "0.2.14", - "vite": "7.1.11", - "watchpack": "2.4.4" - }, - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=24.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" - }, - "optionalDependencies": { - "lmdb": "3.4.2" - }, - "peerDependencies": { - "@angular/compiler": "^20.0.0", - "@angular/compiler-cli": "^20.0.0", - "@angular/core": "^20.0.0", - "@angular/localize": "^20.0.0", - "@angular/platform-browser": "^20.0.0", - "@angular/platform-server": "^20.0.0", - "@angular/service-worker": "^20.0.0", - "@angular/ssr": "^20.3.10", - "karma": "^6.4.0", - "less": "^4.2.0", - "ng-packagr": "^20.0.0", - "postcss": "^8.4.0", - "tailwindcss": "^2.0.0 || ^3.0.0 || ^4.0.0", - "tslib": "^2.3.0", - "typescript": ">=5.8 <6.0", - "vitest": "^3.1.1" - }, - "peerDependenciesMeta": { - "@angular/core": { - "optional": true - }, - "@angular/localize": { - "optional": true - }, - "@angular/platform-browser": { - "optional": true - }, - "@angular/platform-server": { - "optional": true - }, - "@angular/service-worker": { - "optional": true - }, - "@angular/ssr": { - "optional": true - }, - "karma": { - "optional": true - }, - "less": { - "optional": true - }, - "ng-packagr": { - "optional": true - }, - "postcss": { - "optional": true - }, - "tailwindcss": { - "optional": true - }, - "vitest": { - "optional": true - } - } - }, - "node_modules/@angular/cdk": { - "version": "20.2.12", - "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-20.2.12.tgz", - "integrity": "sha512-hz8GtiMy3N9/e8407ZfrByHD5GEC4SkWtxyUknWuTM9P88AOie0jDZ6CfQg9gQ0OJX+6BAbJV3RpYZA1uzNUqA==", - "license": "MIT", - "dependencies": { - "parse5": "^8.0.0", - "tslib": "^2.3.0" - }, - "peerDependencies": { - "@angular/common": "^20.0.0 || ^21.0.0", - "@angular/core": "^20.0.0 || ^21.0.0", - "rxjs": "^6.5.3 || ^7.4.0" - } - }, - "node_modules/@angular/cli": { - "version": "20.3.10", - "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-20.3.10.tgz", - "integrity": "sha512-CQzXScurBXSuMMn0jf6UYDItdggaM3bHYERKL4cUG1z5JqSozVFin1+TB1EjWYkddwdgC10R5xQurdMb+ahRNw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@angular-devkit/architect": "0.2003.10", - "@angular-devkit/core": "20.3.10", - "@angular-devkit/schematics": "20.3.10", - "@inquirer/prompts": "7.8.2", - "@listr2/prompt-adapter-inquirer": "3.0.1", - "@modelcontextprotocol/sdk": "1.17.3", - "@schematics/angular": "20.3.10", - "@yarnpkg/lockfile": "1.1.0", - "algoliasearch": "5.35.0", - "ini": "5.0.0", - "jsonc-parser": "3.3.1", - "listr2": "9.0.1", - "npm-package-arg": "13.0.0", - "pacote": "21.0.0", - "resolve": "1.22.10", - "semver": "7.7.2", - "yargs": "18.0.0", - "zod": "3.25.76" - }, - "bin": { - "ng": "bin/ng.js" - }, - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=24.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" - } - }, - "node_modules/@angular/common": { - "version": "20.3.11", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-20.3.11.tgz", - "integrity": "sha512-zQ8xlyUBS+UDAUKk7z/hhWdTtQU2oc/Dwo7jXpyrYlz9y2X1A6sAZpUigdYpbrBkIaNs3MplJevgMiCm3kmN8g==", - "license": "MIT", - "peer": true, - "dependencies": { - "tslib": "^2.3.0" - }, - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=24.0.0" - }, - "peerDependencies": { - "@angular/core": "20.3.11", - "rxjs": "^6.5.3 || ^7.4.0" - } - }, - "node_modules/@angular/compiler": { - "version": "20.3.11", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-20.3.11.tgz", - "integrity": "sha512-3O0iMPttD8a4QQQrjVfIjboiZZ17ErkZuqK8BXJBTn2rplpkq1m3kVhgsmzN2OANRR05GF9Ed1dTf8ycTrO1yg==", - "license": "MIT", - "peer": true, - "dependencies": { - "tslib": "^2.3.0" - }, - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=24.0.0" - } - }, - "node_modules/@angular/compiler-cli": { - "version": "20.3.11", - "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-20.3.11.tgz", - "integrity": "sha512-u6T8kxj7LzK3btEln6Vd8y7p+O1eNXrLiGwqPuRF/QoyjBrRkTYufZ1I4TvzUxdd0ot6mPDRfdmiD15q//Y+oQ==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/core": "7.28.3", - "@jridgewell/sourcemap-codec": "^1.4.14", - "chokidar": "^4.0.0", - "convert-source-map": "^1.5.1", - "reflect-metadata": "^0.2.0", - "semver": "^7.0.0", - "tslib": "^2.3.0", - "yargs": "^18.0.0" - }, - "bin": { - "ng-xi18n": "bundles/src/bin/ng_xi18n.js", - "ngc": "bundles/src/bin/ngc.js" - }, - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=24.0.0" - }, - "peerDependencies": { - "@angular/compiler": "20.3.11", - "typescript": ">=5.8 <6.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@angular/core": { - "version": "20.3.11", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-20.3.11.tgz", - "integrity": "sha512-tOXlxG0SI9Yy1b/ntGyBahfffDpFg7vAbAt+9riOb5ZZ8GYyyOzg78Lqa/lrdBVEG0PXdDjEa0MV93qCyqwYlg==", - "license": "MIT", - "peer": true, - "dependencies": { - "tslib": "^2.3.0" - }, - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=24.0.0" - }, - "peerDependencies": { - "@angular/compiler": "20.3.11", - "rxjs": "^6.5.3 || ^7.4.0", - "zone.js": "~0.15.0" - }, - "peerDependenciesMeta": { - "@angular/compiler": { - "optional": true - }, - "zone.js": { - "optional": true - } - } - }, - "node_modules/@angular/forms": { - "version": "20.3.11", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-20.3.11.tgz", - "integrity": "sha512-jXDvW6a9HUzmLmvgPE+hVoZzc6QJBtQ1kYNn/FZDhbtmjRThJtaMW9YfS0Vz/a9KT9cxBf+8O8Q+yspvgsh3fg==", - "license": "MIT", - "peer": true, - "dependencies": { - "tslib": "^2.3.0" - }, - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=24.0.0" - }, - "peerDependencies": { - "@angular/common": "20.3.11", - "@angular/core": "20.3.11", - "@angular/platform-browser": "20.3.11", - "rxjs": "^6.5.3 || ^7.4.0" - } - }, - "node_modules/@angular/platform-browser": { - "version": "20.3.11", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-20.3.11.tgz", - "integrity": "sha512-hh+8O8m4QzYYlQr9WGew472P37GF1u64NF3HfHmUKJ0xSqqTOHfpni3utev8upJAFJXBKOUZETgeHu2JRcGavg==", - "license": "MIT", - "peer": true, - "dependencies": { - "tslib": "^2.3.0" - }, - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=24.0.0" - }, - "peerDependencies": { - "@angular/animations": "20.3.11", - "@angular/common": "20.3.11", - "@angular/core": "20.3.11" - }, - "peerDependenciesMeta": { - "@angular/animations": { - "optional": true - } - } - }, - "node_modules/@angular/router": { - "version": "20.3.11", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-20.3.11.tgz", - "integrity": "sha512-kuv7Yso7GY3tfRtQN0kW4v2Or4NUEBdjxTz5C8YuAhGDpiKXxDNkXzFliYTVWpJkr3EkTuR9mt9IAc+wxof3Pw==", - "license": "MIT", - "peer": true, - "dependencies": { - "tslib": "^2.3.0" - }, - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=24.0.0" - }, - "peerDependencies": { - "@angular/common": "20.3.11", - "@angular/core": "20.3.11", - "@angular/platform-browser": "20.3.11", - "rxjs": "^6.5.3 || ^7.4.0" - } - }, - "node_modules/@ant-design/colors": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/@ant-design/colors/-/colors-7.2.1.tgz", - "integrity": "sha512-lCHDcEzieu4GA3n8ELeZ5VQ8pKQAWcGGLRTQ50aQM2iqPpq2evTxER84jfdPvsPAtEcZ7m44NI45edFMo8oOYQ==", - "license": "MIT", - "dependencies": { - "@ant-design/fast-color": "^2.0.6" - } - }, - "node_modules/@ant-design/fast-color": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/@ant-design/fast-color/-/fast-color-2.0.6.tgz", - "integrity": "sha512-y2217gk4NqL35giHl72o6Zzqji9O7vHh9YmhUVkPtAOpoTCH4uWxo/pr4VE8t0+ChEPs0qo4eJRC5Q1eXWo3vA==", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.24.7" - }, - "engines": { - "node": ">=8.x" - } - }, - "node_modules/@ant-design/icons-angular": { - "version": "20.0.0", - "resolved": "https://registry.npmjs.org/@ant-design/icons-angular/-/icons-angular-20.0.0.tgz", - "integrity": "sha512-KMTytjYxprCI/oOEs0KoxNUsT5g+DVCp5JMMgDOSlSpyTpWg5P54kea0398v8urr4QJFpoCucJshFZ8+uv67cA==", - "license": "MIT", - "dependencies": { - "@ant-design/colors": "^7.0.0", - "tslib": "^2.0.0" - }, - "peerDependencies": { - "@angular/common": "^20.0.0", - "@angular/core": "^20.0.0", - "@angular/platform-browser": "^20.0.0", - "rxjs": "^6.5.3 || ^7.4.0" - } - }, - "node_modules/@babel/code-frame": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz", - "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-validator-identifier": "^7.27.1", - "js-tokens": "^4.0.0", - "picocolors": "^1.1.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/compat-data": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.28.5.tgz", - "integrity": "sha512-6uFXyCayocRbqhZOB+6XcuZbkMNimwfVGFji8CTZnCzOHVGvDqzvitu1re2AU5LROliz7eQPhB8CpAMvnx9EjA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/core": { - "version": "7.28.3", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.28.3.tgz", - "integrity": "sha512-yDBHV9kQNcr2/sUr9jghVyz9C3Y5G2zUM2H2lo+9mKv4sFgbA8s8Z9t8D1jiTkGoO/NoIfKMyKWr4s6CN23ZwQ==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.27.1", - "@babel/generator": "^7.28.3", - "@babel/helper-compilation-targets": "^7.27.2", - "@babel/helper-module-transforms": "^7.28.3", - "@babel/helpers": "^7.28.3", - "@babel/parser": "^7.28.3", - "@babel/template": "^7.27.2", - "@babel/traverse": "^7.28.3", - "@babel/types": "^7.28.2", - "convert-source-map": "^2.0.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.2.3", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - } - }, - "node_modules/@babel/core/node_modules/convert-source-map": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", - "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", - "dev": true, - "license": "MIT" - }, - "node_modules/@babel/core/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/@babel/generator": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.28.5.tgz", - "integrity": "sha512-3EwLFhZ38J4VyIP6WNtt2kUdW9dokXA9Cr4IVIFHuCpZ3H8/YFOl5JjZHisrn1fATPBmKKqXzDFvh9fUwHz6CQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/parser": "^7.28.5", - "@babel/types": "^7.28.5", - "@jridgewell/gen-mapping": "^0.3.12", - "@jridgewell/trace-mapping": "^0.3.28", - "jsesc": "^3.0.2" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-annotate-as-pure": { - "version": "7.27.3", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.27.3.tgz", - "integrity": "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/types": "^7.27.3" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-compilation-targets": { - "version": "7.27.2", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.27.2.tgz", - "integrity": "sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/compat-data": "^7.27.2", - "@babel/helper-validator-option": "^7.27.1", - "browserslist": "^4.24.0", - "lru-cache": "^5.1.1", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-compilation-targets/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/@babel/helper-globals": { - "version": "7.28.0", - "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.28.0.tgz", - "integrity": "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-imports": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.27.1.tgz", - "integrity": "sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/traverse": "^7.27.1", - "@babel/types": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-transforms": { - "version": "7.28.3", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.28.3.tgz", - "integrity": "sha512-gytXUbs8k2sXS9PnQptz5o0QnpLL51SwASIORY6XaBKF88nsOT0Zw9szLqlSGQDP/4TljBAD5y98p2U1fqkdsw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-module-imports": "^7.27.1", - "@babel/helper-validator-identifier": "^7.27.1", - "@babel/traverse": "^7.28.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-split-export-declaration": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.7.tgz", - "integrity": "sha512-oy5V7pD+UvfkEATUKvIjvIAH/xCzfsFVw7ygW2SI6NClZzquT+mwdTfgfdbUiceh6iQO0CHtCPsyze/MZ2YbAA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-string-parser": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz", - "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz", - "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-option": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz", - "integrity": "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helpers": { - "version": "7.28.4", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.28.4.tgz", - "integrity": "sha512-HFN59MmQXGHVyYadKLVumYsA9dBFun/ldYxipEjzA4196jpLZd8UjEEBLkbEkvfYreDqJhZxYAWFPtrfhNpj4w==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/template": "^7.27.2", - "@babel/types": "^7.28.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/parser": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.5.tgz", - "integrity": "sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/types": "^7.28.5" - }, - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/runtime": { - "version": "7.28.4", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.28.4.tgz", - "integrity": "sha512-Q/N6JNWvIvPnLDvjlE1OUBLPQHH6l3CltCEsHIujp45zQUSSh8K+gHnaEX45yAT1nyngnINhvWtzN+Nb9D8RAQ==", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/template": { - "version": "7.27.2", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.27.2.tgz", - "integrity": "sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.27.1", - "@babel/parser": "^7.27.2", - "@babel/types": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/traverse": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.5.tgz", - "integrity": "sha512-TCCj4t55U90khlYkVV/0TfkJkAkUg3jZFA3Neb7unZT8CPok7iiRfaX0F+WnqWqt7OxhOn0uBKXCw4lbL8W0aQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.27.1", - "@babel/generator": "^7.28.5", - "@babel/helper-globals": "^7.28.0", - "@babel/parser": "^7.28.5", - "@babel/template": "^7.27.2", - "@babel/types": "^7.28.5", - "debug": "^4.3.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/types": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.5.tgz", - "integrity": "sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-string-parser": "^7.27.1", - "@babel/helper-validator-identifier": "^7.28.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@ctrl/tinycolor": { - "version": "3.6.1", - "resolved": "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.6.1.tgz", - "integrity": "sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA==", - "license": "MIT", - "engines": { - "node": ">=10" - } - }, - "node_modules/@esbuild/aix-ppc64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.9.tgz", - "integrity": "sha512-OaGtL73Jck6pBKjNIe24BnFE6agGl+6KxDtTfHhy1HmhthfKouEcOhqpSL64K4/0WCtbKFLOdzD/44cJ4k9opA==", - "cpu": [ - "ppc64" - ], - "license": "MIT", - "optional": true, - "os": [ - "aix" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-arm": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.9.tgz", - "integrity": "sha512-5WNI1DaMtxQ7t7B6xa572XMXpHAaI/9Hnhk8lcxF4zVN4xstUgTlvuGDorBguKEnZO70qwEcLpfifMLoxiPqHQ==", - "cpu": [ - "arm" - ], - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-arm64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.9.tgz", - "integrity": "sha512-IDrddSmpSv51ftWslJMvl3Q2ZT98fUSL2/rlUXuVqRXHCs5EUF1/f+jbjF5+NG9UffUDMCiTyh8iec7u8RlTLg==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-x64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.9.tgz", - "integrity": "sha512-I853iMZ1hWZdNllhVZKm34f4wErd4lMyeV7BLzEExGEIZYsOzqDWDf+y082izYUE8gtJnYHdeDpN/6tUdwvfiw==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/darwin-arm64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.9.tgz", - "integrity": "sha512-XIpIDMAjOELi/9PB30vEbVMs3GV1v2zkkPnuyRRURbhqjyzIINwj+nbQATh4H9GxUgH1kFsEyQMxwiLFKUS6Rg==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/darwin-x64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.9.tgz", - "integrity": "sha512-jhHfBzjYTA1IQu8VyrjCX4ApJDnH+ez+IYVEoJHeqJm9VhG9Dh2BYaJritkYK3vMaXrf7Ogr/0MQ8/MeIefsPQ==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/freebsd-arm64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.9.tgz", - "integrity": "sha512-z93DmbnY6fX9+KdD4Ue/H6sYs+bhFQJNCPZsi4XWJoYblUqT06MQUdBCpcSfuiN72AbqeBFu5LVQTjfXDE2A6Q==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/freebsd-x64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.9.tgz", - "integrity": "sha512-mrKX6H/vOyo5v71YfXWJxLVxgy1kyt1MQaD8wZJgJfG4gq4DpQGpgTB74e5yBeQdyMTbgxp0YtNj7NuHN0PoZg==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-arm": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.9.tgz", - "integrity": "sha512-HBU2Xv78SMgaydBmdor38lg8YDnFKSARg1Q6AT0/y2ezUAKiZvc211RDFHlEZRFNRVhcMamiToo7bDx3VEOYQw==", - "cpu": [ - "arm" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-arm64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.9.tgz", - "integrity": "sha512-BlB7bIcLT3G26urh5Dmse7fiLmLXnRlopw4s8DalgZ8ef79Jj4aUcYbk90g8iCa2467HX8SAIidbL7gsqXHdRw==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-ia32": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.9.tgz", - "integrity": "sha512-e7S3MOJPZGp2QW6AK6+Ly81rC7oOSerQ+P8L0ta4FhVi+/j/v2yZzx5CqqDaWjtPFfYz21Vi1S0auHrap3Ma3A==", - "cpu": [ - "ia32" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-loong64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.9.tgz", - "integrity": "sha512-Sbe10Bnn0oUAB2AalYztvGcK+o6YFFA/9829PhOCUS9vkJElXGdphz0A3DbMdP8gmKkqPmPcMJmJOrI3VYB1JQ==", - "cpu": [ - "loong64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-mips64el": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.9.tgz", - "integrity": "sha512-YcM5br0mVyZw2jcQeLIkhWtKPeVfAerES5PvOzaDxVtIyZ2NUBZKNLjC5z3/fUlDgT6w89VsxP2qzNipOaaDyA==", - "cpu": [ - "mips64el" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-ppc64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.9.tgz", - "integrity": "sha512-++0HQvasdo20JytyDpFvQtNrEsAgNG2CY1CLMwGXfFTKGBGQT3bOeLSYE2l1fYdvML5KUuwn9Z8L1EWe2tzs1w==", - "cpu": [ - "ppc64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-riscv64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.9.tgz", - "integrity": "sha512-uNIBa279Y3fkjV+2cUjx36xkx7eSjb8IvnL01eXUKXez/CBHNRw5ekCGMPM0BcmqBxBcdgUWuUXmVWwm4CH9kg==", - "cpu": [ - "riscv64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-s390x": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.9.tgz", - "integrity": "sha512-Mfiphvp3MjC/lctb+7D287Xw1DGzqJPb/J2aHHcHxflUo+8tmN/6d4k6I2yFR7BVo5/g7x2Monq4+Yew0EHRIA==", - "cpu": [ - "s390x" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-x64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.9.tgz", - "integrity": "sha512-iSwByxzRe48YVkmpbgoxVzn76BXjlYFXC7NvLYq+b+kDjyyk30J0JY47DIn8z1MO3K0oSl9fZoRmZPQI4Hklzg==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/netbsd-arm64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.9.tgz", - "integrity": "sha512-9jNJl6FqaUG+COdQMjSCGW4QiMHH88xWbvZ+kRVblZsWrkXlABuGdFJ1E9L7HK+T0Yqd4akKNa/lO0+jDxQD4Q==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/netbsd-x64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.9.tgz", - "integrity": "sha512-RLLdkflmqRG8KanPGOU7Rpg829ZHu8nFy5Pqdi9U01VYtG9Y0zOG6Vr2z4/S+/3zIyOxiK6cCeYNWOFR9QP87g==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/openbsd-arm64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.9.tgz", - "integrity": "sha512-YaFBlPGeDasft5IIM+CQAhJAqS3St3nJzDEgsgFixcfZeyGPCd6eJBWzke5piZuZ7CtL656eOSYKk4Ls2C0FRQ==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/openbsd-x64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.9.tgz", - "integrity": "sha512-1MkgTCuvMGWuqVtAvkpkXFmtL8XhWy+j4jaSO2wxfJtilVCi0ZE37b8uOdMItIHz4I6z1bWWtEX4CJwcKYLcuA==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/openharmony-arm64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.9.tgz", - "integrity": "sha512-4Xd0xNiMVXKh6Fa7HEJQbrpP3m3DDn43jKxMjxLLRjWnRsfxjORYJlXPO4JNcXtOyfajXorRKY9NkOpTHptErg==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "openharmony" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/sunos-x64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.9.tgz", - "integrity": "sha512-WjH4s6hzo00nNezhp3wFIAfmGZ8U7KtrJNlFMRKxiI9mxEK1scOMAaa9i4crUtu+tBr+0IN6JCuAcSBJZfnphw==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "sunos" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-arm64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.9.tgz", - "integrity": "sha512-mGFrVJHmZiRqmP8xFOc6b84/7xa5y5YvR1x8djzXpJBSv/UsNK6aqec+6JDjConTgvvQefdGhFDAs2DLAds6gQ==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-ia32": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.9.tgz", - "integrity": "sha512-b33gLVU2k11nVx1OhX3C8QQP6UHQK4ZtN56oFWvVXvz2VkDoe6fbG8TOgHFxEvqeqohmRnIHe5A1+HADk4OQww==", - "cpu": [ - "ia32" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-x64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.9.tgz", - "integrity": "sha512-PPOl1mi6lpLNQxnGoyAfschAodRFYXJ+9fs6WHXz7CSWKbOqiMZsubC+BQsVKuul+3vKLuwTHsS2c2y9EoKwxQ==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/ansi": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-1.0.2.tgz", - "integrity": "sha512-S8qNSZiYzFd0wAcyG5AXCvUHC5Sr7xpZ9wZ2py9XR88jUz8wooStVx5M6dRzczbBWjic9NP7+rY0Xi7qqK/aMQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/checkbox": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.3.2.tgz", - "integrity": "sha512-VXukHf0RR1doGe6Sm4F0Em7SWYLTHSsbGfJdS9Ja2bX5/D5uwVOEjr07cncLROdBvmnvCATYEWlHqYmXv2IlQA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/ansi": "^1.0.2", - "@inquirer/core": "^10.3.2", - "@inquirer/figures": "^1.0.15", - "@inquirer/type": "^3.0.10", - "yoctocolors-cjs": "^2.1.3" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } - }, - "node_modules/@inquirer/confirm": { - "version": "5.1.14", - "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.14.tgz", - "integrity": "sha512-5yR4IBfe0kXe59r1YCTG8WXkUbl7Z35HK87Sw+WUyGD8wNUx7JvY7laahzeytyE1oLn74bQnL7hstctQxisQ8Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/core": "^10.1.15", - "@inquirer/type": "^3.0.8" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } - }, - "node_modules/@inquirer/core": { - "version": "10.3.2", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.3.2.tgz", - "integrity": "sha512-43RTuEbfP8MbKzedNqBrlhhNKVwoK//vUFNW3Q3vZ88BLcrs4kYpGg+B2mm5p2K/HfygoCxuKwJJiv8PbGmE0A==", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/ansi": "^1.0.2", - "@inquirer/figures": "^1.0.15", - "@inquirer/type": "^3.0.10", - "cli-width": "^4.1.0", - "mute-stream": "^2.0.0", - "signal-exit": "^4.1.0", - "wrap-ansi": "^6.2.0", - "yoctocolors-cjs": "^2.1.3" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } - }, - "node_modules/@inquirer/editor": { - "version": "4.2.23", - "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.23.tgz", - "integrity": "sha512-aLSROkEwirotxZ1pBaP8tugXRFCxW94gwrQLxXfrZsKkfjOYC1aRvAZuhpJOb5cu4IBTJdsCigUlf2iCOu4ZDQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/external-editor": "^1.0.3", - "@inquirer/type": "^3.0.10" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } - }, - "node_modules/@inquirer/expand": { - "version": "4.0.23", - "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.23.tgz", - "integrity": "sha512-nRzdOyFYnpeYTTR2qFwEVmIWypzdAx/sIkCMeTNTcflFOovfqUk+HcFhQQVBftAh9gmGrpFj6QcGEqrDMDOiew==", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10", - "yoctocolors-cjs": "^2.1.3" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } - }, - "node_modules/@inquirer/external-editor": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.3.tgz", - "integrity": "sha512-RWbSrDiYmO4LbejWY7ttpxczuwQyZLBUyygsA9Nsv95hpzUWwnNTVQmAq3xuh7vNwCp07UTmE5i11XAEExx4RA==", - "dev": true, - "license": "MIT", - "dependencies": { - "chardet": "^2.1.1", - "iconv-lite": "^0.7.0" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } - }, - "node_modules/@inquirer/figures": { - "version": "1.0.15", - "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.15.tgz", - "integrity": "sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/input": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.3.1.tgz", - "integrity": "sha512-kN0pAM4yPrLjJ1XJBjDxyfDduXOuQHrBB8aLDMueuwUGn+vNpF7Gq7TvyVxx8u4SHlFFj4trmj+a2cbpG4Jn1g==", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } - }, - "node_modules/@inquirer/number": { - "version": "3.0.23", - "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.23.tgz", - "integrity": "sha512-5Smv0OK7K0KUzUfYUXDXQc9jrf8OHo4ktlEayFlelCjwMXz0299Y8OrI+lj7i4gCBY15UObk76q0QtxjzFcFcg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } - }, - "node_modules/@inquirer/password": { - "version": "4.0.23", - "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.23.tgz", - "integrity": "sha512-zREJHjhT5vJBMZX/IUbyI9zVtVfOLiTO66MrF/3GFZYZ7T4YILW5MSkEYHceSii/KtRk+4i3RE7E1CUXA2jHcA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/ansi": "^1.0.2", - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } - }, - "node_modules/@inquirer/prompts": { - "version": "7.8.2", - "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.8.2.tgz", - "integrity": "sha512-nqhDw2ZcAUrKNPwhjinJny903bRhI0rQhiDz1LksjeRxqa36i3l75+4iXbOy0rlDpLJGxqtgoPavQjmmyS5UJw==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "@inquirer/checkbox": "^4.2.1", - "@inquirer/confirm": "^5.1.14", - "@inquirer/editor": "^4.2.17", - "@inquirer/expand": "^4.0.17", - "@inquirer/input": "^4.2.1", - "@inquirer/number": "^3.0.17", - "@inquirer/password": "^4.0.17", - "@inquirer/rawlist": "^4.1.5", - "@inquirer/search": "^3.1.0", - "@inquirer/select": "^4.3.1" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } - }, - "node_modules/@inquirer/rawlist": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.11.tgz", - "integrity": "sha512-+LLQB8XGr3I5LZN/GuAHo+GpDJegQwuPARLChlMICNdwW7OwV2izlCSCxN6cqpL0sMXmbKbFcItJgdQq5EBXTw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10", - "yoctocolors-cjs": "^2.1.3" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } - }, - "node_modules/@inquirer/search": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.2.2.tgz", - "integrity": "sha512-p2bvRfENXCZdWF/U2BXvnSI9h+tuA8iNqtUKb9UWbmLYCRQxd8WkvwWvYn+3NgYaNwdUkHytJMGG4MMLucI1kA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/figures": "^1.0.15", - "@inquirer/type": "^3.0.10", - "yoctocolors-cjs": "^2.1.3" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } - }, - "node_modules/@inquirer/select": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.4.2.tgz", - "integrity": "sha512-l4xMuJo55MAe+N7Qr4rX90vypFwCajSakx59qe/tMaC1aEHWLyw68wF4o0A4SLAY4E0nd+Vt+EyskeDIqu1M6w==", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/ansi": "^1.0.2", - "@inquirer/core": "^10.3.2", - "@inquirer/figures": "^1.0.15", - "@inquirer/type": "^3.0.10", - "yoctocolors-cjs": "^2.1.3" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } - }, - "node_modules/@inquirer/type": { - "version": "3.0.10", - "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.10.tgz", - "integrity": "sha512-BvziSRxfz5Ov8ch0z/n3oijRSEcEsHnhggm4xFZe93DHcUCTlutlq9Ox4SVENAfcRD22UQq7T/atg9Wr3k09eA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } - }, - "node_modules/@isaacs/balanced-match": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz", - "integrity": "sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": "20 || >=22" - } - }, - "node_modules/@isaacs/brace-expansion": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz", - "integrity": "sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@isaacs/balanced-match": "^4.0.1" - }, - "engines": { - "node": "20 || >=22" - } - }, - "node_modules/@isaacs/cliui": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", - "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", - "dev": true, - "license": "ISC", - "dependencies": { - "string-width": "^5.1.2", - "string-width-cjs": "npm:string-width@^4.2.0", - "strip-ansi": "^7.0.1", - "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", - "wrap-ansi": "^8.1.0", - "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@isaacs/cliui/node_modules/emoji-regex": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", - "dev": true, - "license": "MIT" - }, - "node_modules/@isaacs/cliui/node_modules/string-width": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", - "dev": true, - "license": "MIT", - "dependencies": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@isaacs/cliui/node_modules/wrap-ansi": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", - "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^6.1.0", - "string-width": "^5.0.1", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/@isaacs/fs-minipass": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz", - "integrity": "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==", - "dev": true, - "license": "ISC", - "dependencies": { - "minipass": "^7.0.4" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@istanbuljs/schema": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", - "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.13", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", - "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", - "license": "MIT", - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.5.0", - "@jridgewell/trace-mapping": "^0.3.24" - } - }, - "node_modules/@jridgewell/remapping": { - "version": "2.3.5", - "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz", - "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", - "license": "MIT", - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.5", - "@jridgewell/trace-mapping": "^0.3.24" - } - }, - "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", - "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", - "license": "MIT", - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.5.5", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", - "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", - "license": "MIT" - }, - "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.31", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", - "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", - "license": "MIT", - "dependencies": { - "@jridgewell/resolve-uri": "^3.1.0", - "@jridgewell/sourcemap-codec": "^1.4.14" - } - }, - "node_modules/@listr2/prompt-adapter-inquirer": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@listr2/prompt-adapter-inquirer/-/prompt-adapter-inquirer-3.0.1.tgz", - "integrity": "sha512-3XFmGwm3u6ioREG+ynAQB7FoxfajgQnMhIu8wC5eo/Lsih4aKDg0VuIMGaOsYn7hJSJagSeaD4K8yfpkEoDEmA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/type": "^3.0.7" - }, - "engines": { - "node": ">=20.0.0" - }, - "peerDependencies": { - "@inquirer/prompts": ">= 3 < 8", - "listr2": "9.0.1" - } - }, - "node_modules/@lmdb/lmdb-darwin-arm64": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-3.4.2.tgz", - "integrity": "sha512-NK80WwDoODyPaSazKbzd3NEJ3ygePrkERilZshxBViBARNz21rmediktGHExoj9n5t9+ChlgLlxecdFKLCuCKg==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@lmdb/lmdb-darwin-x64": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-3.4.2.tgz", - "integrity": "sha512-zevaowQNmrp3U7Fz1s9pls5aIgpKRsKb3dZWDINtLiozh3jZI9fBrI19lYYBxqdyiIyNdlyiidPnwPShj4aK+w==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@lmdb/lmdb-linux-arm": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-3.4.2.tgz", - "integrity": "sha512-OmHCULY17rkx/RoCoXlzU7LyR8xqrksgdYWwtYa14l/sseezZ8seKWXcogHcjulBddER5NnEFV4L/Jtr2nyxeg==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@lmdb/lmdb-linux-arm64": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-3.4.2.tgz", - "integrity": "sha512-ZBEfbNZdkneebvZs98Lq30jMY8V9IJzckVeigGivV7nTHJc+89Ctomp1kAIWKlwIG0ovCDrFI448GzFPORANYg==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@lmdb/lmdb-linux-x64": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-x64/-/lmdb-linux-x64-3.4.2.tgz", - "integrity": "sha512-vL9nM17C77lohPYE4YaAQvfZCSVJSryE4fXdi8M7uWPBnU+9DJabgKVAeyDb84ZM2vcFseoBE4/AagVtJeRE7g==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@lmdb/lmdb-win32-arm64": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-arm64/-/lmdb-win32-arm64-3.4.2.tgz", - "integrity": "sha512-SXWjdBfNDze4ZPeLtYIzsIeDJDJ/SdsA0pEXcUBayUIMO0FQBHfVZZyHXQjjHr4cvOAzANBgIiqaXRwfMhzmLw==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@lmdb/lmdb-win32-x64": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-3.4.2.tgz", - "integrity": "sha512-IY+r3bxKW6Q6sIPiMC0L533DEfRJSXibjSI3Ft/w9Q8KQBNqEIvUFXt+09wV8S5BRk0a8uSF19YWxuRwEfI90g==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@modelcontextprotocol/sdk": { - "version": "1.17.3", - "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.17.3.tgz", - "integrity": "sha512-JPwUKWSsbzx+DLFznf/QZ32Qa+ptfbUlHhRLrBQBAFu9iI1iYvizM4p+zhhRDceSsPutXp4z+R/HPVphlIiclg==", - "dev": true, - "license": "MIT", - "dependencies": { - "ajv": "^6.12.6", - "content-type": "^1.0.5", - "cors": "^2.8.5", - "cross-spawn": "^7.0.5", - "eventsource": "^3.0.2", - "eventsource-parser": "^3.0.0", - "express": "^5.0.1", - "express-rate-limit": "^7.5.0", - "pkce-challenge": "^5.0.0", - "raw-body": "^3.0.0", - "zod": "^3.23.8", - "zod-to-json-schema": "^3.24.1" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@modelcontextprotocol/sdk/node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/@modelcontextprotocol/sdk/node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true, - "license": "MIT" - }, - "node_modules/@msgpackr-extract/msgpackr-extract-darwin-arm64": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-darwin-arm64/-/msgpackr-extract-darwin-arm64-3.0.3.tgz", - "integrity": "sha512-QZHtlVgbAdy2zAqNA9Gu1UpIuI8Xvsd1v8ic6B2pZmeFnFcMWiPLfWXh7TVw4eGEZ/C9TH281KwhVoeQUKbyjw==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@msgpackr-extract/msgpackr-extract-darwin-x64": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-darwin-x64/-/msgpackr-extract-darwin-x64-3.0.3.tgz", - "integrity": "sha512-mdzd3AVzYKuUmiWOQ8GNhl64/IoFGol569zNRdkLReh6LRLHOXxU4U8eq0JwaD8iFHdVGqSy4IjFL4reoWCDFw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@msgpackr-extract/msgpackr-extract-linux-arm": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-linux-arm/-/msgpackr-extract-linux-arm-3.0.3.tgz", - "integrity": "sha512-fg0uy/dG/nZEXfYilKoRe7yALaNmHoYeIoJuJ7KJ+YyU2bvY8vPv27f7UKhGRpY6euFYqEVhxCFZgAUNQBM3nw==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@msgpackr-extract/msgpackr-extract-linux-arm64": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-linux-arm64/-/msgpackr-extract-linux-arm64-3.0.3.tgz", - "integrity": "sha512-YxQL+ax0XqBJDZiKimS2XQaf+2wDGVa1enVRGzEvLLVFeqa5kx2bWbtcSXgsxjQB7nRqqIGFIcLteF/sHeVtQg==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@msgpackr-extract/msgpackr-extract-linux-x64": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-linux-x64/-/msgpackr-extract-linux-x64-3.0.3.tgz", - "integrity": "sha512-cvwNfbP07pKUfq1uH+S6KJ7dT9K8WOE4ZiAcsrSes+UY55E/0jLYc+vq+DO7jlmqRb5zAggExKm0H7O/CBaesg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@msgpackr-extract/msgpackr-extract-win32-x64": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-win32-x64/-/msgpackr-extract-win32-x64-3.0.3.tgz", - "integrity": "sha512-x0fWaQtYp4E6sktbsdAqnehxDgEc/VwM7uLsRCYWaiGu0ykYdZPiS8zCWdnjHwyiumousxfBm4SO31eXqwEZhQ==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@napi-rs/nice": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@napi-rs/nice/-/nice-1.1.1.tgz", - "integrity": "sha512-xJIPs+bYuc9ASBl+cvGsKbGrJmS6fAKaSZCnT0lhahT5rhA2VVy9/EcIgd2JhtEuFOJNx7UHNn/qiTPTY4nrQw==", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">= 10" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/Brooooooklyn" - }, - "optionalDependencies": { - "@napi-rs/nice-android-arm-eabi": "1.1.1", - "@napi-rs/nice-android-arm64": "1.1.1", - "@napi-rs/nice-darwin-arm64": "1.1.1", - "@napi-rs/nice-darwin-x64": "1.1.1", - "@napi-rs/nice-freebsd-x64": "1.1.1", - "@napi-rs/nice-linux-arm-gnueabihf": "1.1.1", - "@napi-rs/nice-linux-arm64-gnu": "1.1.1", - "@napi-rs/nice-linux-arm64-musl": "1.1.1", - "@napi-rs/nice-linux-ppc64-gnu": "1.1.1", - "@napi-rs/nice-linux-riscv64-gnu": "1.1.1", - "@napi-rs/nice-linux-s390x-gnu": "1.1.1", - "@napi-rs/nice-linux-x64-gnu": "1.1.1", - "@napi-rs/nice-linux-x64-musl": "1.1.1", - "@napi-rs/nice-openharmony-arm64": "1.1.1", - "@napi-rs/nice-win32-arm64-msvc": "1.1.1", - "@napi-rs/nice-win32-ia32-msvc": "1.1.1", - "@napi-rs/nice-win32-x64-msvc": "1.1.1" - } - }, - "node_modules/@napi-rs/nice-android-arm-eabi": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-android-arm-eabi/-/nice-android-arm-eabi-1.1.1.tgz", - "integrity": "sha512-kjirL3N6TnRPv5iuHw36wnucNqXAO46dzK9oPb0wj076R5Xm8PfUVA9nAFB5ZNMmfJQJVKACAPd/Z2KYMppthw==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-android-arm64": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-android-arm64/-/nice-android-arm64-1.1.1.tgz", - "integrity": "sha512-blG0i7dXgbInN5urONoUCNf+DUEAavRffrO7fZSeoRMJc5qD+BJeNcpr54msPF6qfDD6kzs9AQJogZvT2KD5nw==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-darwin-arm64": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-darwin-arm64/-/nice-darwin-arm64-1.1.1.tgz", - "integrity": "sha512-s/E7w45NaLqTGuOjC2p96pct4jRfo61xb9bU1unM/MJ/RFkKlJyJDx7OJI/O0ll/hrfpqKopuAFDV8yo0hfT7A==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-darwin-x64": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-darwin-x64/-/nice-darwin-x64-1.1.1.tgz", - "integrity": "sha512-dGoEBnVpsdcC+oHHmW1LRK5eiyzLwdgNQq3BmZIav+9/5WTZwBYX7r5ZkQC07Nxd3KHOCkgbHSh4wPkH1N1LiQ==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-freebsd-x64": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-freebsd-x64/-/nice-freebsd-x64-1.1.1.tgz", - "integrity": "sha512-kHv4kEHAylMYmlNwcQcDtXjklYp4FCf0b05E+0h6nDHsZ+F0bDe04U/tXNOqrx5CmIAth4vwfkjjUmp4c4JktQ==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-linux-arm-gnueabihf": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-arm-gnueabihf/-/nice-linux-arm-gnueabihf-1.1.1.tgz", - "integrity": "sha512-E1t7K0efyKXZDoZg1LzCOLxgolxV58HCkaEkEvIYQx12ht2pa8hoBo+4OB3qh7e+QiBlp1SRf+voWUZFxyhyqg==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-linux-arm64-gnu": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-arm64-gnu/-/nice-linux-arm64-gnu-1.1.1.tgz", - "integrity": "sha512-CIKLA12DTIZlmTaaKhQP88R3Xao+gyJxNWEn04wZwC2wmRapNnxCUZkVwggInMJvtVElA+D4ZzOU5sX4jV+SmQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-linux-arm64-musl": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-arm64-musl/-/nice-linux-arm64-musl-1.1.1.tgz", - "integrity": "sha512-+2Rzdb3nTIYZ0YJF43qf2twhqOCkiSrHx2Pg6DJaCPYhhaxbLcdlV8hCRMHghQ+EtZQWGNcS2xF4KxBhSGeutg==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-linux-ppc64-gnu": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-ppc64-gnu/-/nice-linux-ppc64-gnu-1.1.1.tgz", - "integrity": "sha512-4FS8oc0GeHpwvv4tKciKkw3Y4jKsL7FRhaOeiPei0X9T4Jd619wHNe4xCLmN2EMgZoeGg+Q7GY7BsvwKpL22Tg==", - "cpu": [ - "ppc64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-linux-riscv64-gnu": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-riscv64-gnu/-/nice-linux-riscv64-gnu-1.1.1.tgz", - "integrity": "sha512-HU0nw9uD4FO/oGCCk409tCi5IzIZpH2agE6nN4fqpwVlCn5BOq0MS1dXGjXaG17JaAvrlpV5ZeyZwSon10XOXw==", - "cpu": [ - "riscv64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-linux-s390x-gnu": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-s390x-gnu/-/nice-linux-s390x-gnu-1.1.1.tgz", - "integrity": "sha512-2YqKJWWl24EwrX0DzCQgPLKQBxYDdBxOHot1KWEq7aY2uYeX+Uvtv4I8xFVVygJDgf6/92h9N3Y43WPx8+PAgQ==", - "cpu": [ - "s390x" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-linux-x64-gnu": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-x64-gnu/-/nice-linux-x64-gnu-1.1.1.tgz", - "integrity": "sha512-/gaNz3R92t+dcrfCw/96pDopcmec7oCcAQ3l/M+Zxr82KT4DljD37CpgrnXV+pJC263JkW572pdbP3hP+KjcIg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-linux-x64-musl": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-x64-musl/-/nice-linux-x64-musl-1.1.1.tgz", - "integrity": "sha512-xScCGnyj/oppsNPMnevsBe3pvNaoK7FGvMjT35riz9YdhB2WtTG47ZlbxtOLpjeO9SqqQ2J2igCmz6IJOD5JYw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-openharmony-arm64": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-openharmony-arm64/-/nice-openharmony-arm64-1.1.1.tgz", - "integrity": "sha512-6uJPRVwVCLDeoOaNyeiW0gp2kFIM4r7PL2MczdZQHkFi9gVlgm+Vn+V6nTWRcu856mJ2WjYJiumEajfSm7arPQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "openharmony" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-win32-arm64-msvc": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-win32-arm64-msvc/-/nice-win32-arm64-msvc-1.1.1.tgz", - "integrity": "sha512-uoTb4eAvM5B2aj/z8j+Nv8OttPf2m+HVx3UjA5jcFxASvNhQriyCQF1OB1lHL43ZhW+VwZlgvjmP5qF3+59atA==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-win32-ia32-msvc": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-win32-ia32-msvc/-/nice-win32-ia32-msvc-1.1.1.tgz", - "integrity": "sha512-CNQqlQT9MwuCsg1Vd/oKXiuH+TcsSPJmlAFc5frFyX/KkOh0UpBLEj7aoY656d5UKZQMQFP7vJNa1DNUNORvug==", - "cpu": [ - "ia32" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-win32-x64-msvc": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-win32-x64-msvc/-/nice-win32-x64-msvc-1.1.1.tgz", - "integrity": "sha512-vB+4G/jBQCAh0jelMTY3+kgFy00Hlx2f2/1zjMoH821IbplbWZOkLiTYXQkygNTzQJTq5cvwBDgn2ppHD+bglQ==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@npmcli/agent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/agent/-/agent-3.0.0.tgz", - "integrity": "sha512-S79NdEgDQd/NGCay6TCoVzXSj74skRZIKJcpJjC5lOq34SZzyI6MqtiiWoiVWoVrTcGjNeC4ipbh1VIHlpfF5Q==", - "dev": true, - "license": "ISC", - "dependencies": { - "agent-base": "^7.1.0", - "http-proxy-agent": "^7.0.0", - "https-proxy-agent": "^7.0.1", - "lru-cache": "^10.0.1", - "socks-proxy-agent": "^8.0.3" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/@npmcli/agent/node_modules/lru-cache": { - "version": "10.4.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", - "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/@npmcli/fs": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-4.0.0.tgz", - "integrity": "sha512-/xGlezI6xfGO9NwuJlnwz/K14qD1kCSAGtacBHnGzeAIuJGazcp45KP5NuyARXoKb7cwulAGWVsbeSxdG/cb0Q==", - "dev": true, - "license": "ISC", - "dependencies": { - "semver": "^7.3.5" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/@npmcli/git": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-6.0.3.tgz", - "integrity": "sha512-GUYESQlxZRAdhs3UhbB6pVRNUELQOHXwK9ruDkwmCv2aZ5y0SApQzUJCg02p3A7Ue2J5hxvlk1YI53c00NmRyQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "@npmcli/promise-spawn": "^8.0.0", - "ini": "^5.0.0", - "lru-cache": "^10.0.1", - "npm-pick-manifest": "^10.0.0", - "proc-log": "^5.0.0", - "promise-retry": "^2.0.1", - "semver": "^7.3.5", - "which": "^5.0.0" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/@npmcli/git/node_modules/isexe": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", - "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=16" - } - }, - "node_modules/@npmcli/git/node_modules/lru-cache": { - "version": "10.4.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", - "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/@npmcli/git/node_modules/which": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/which/-/which-5.0.0.tgz", - "integrity": "sha512-JEdGzHwwkrbWoGOlIHqQ5gtprKGOenpDHpxE9zVR1bWbOtYRyPPHMe9FaP6x61CmNaTThSkb0DAJte5jD+DmzQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "isexe": "^3.1.1" - }, - "bin": { - "node-which": "bin/which.js" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/@npmcli/installed-package-contents": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-3.0.0.tgz", - "integrity": "sha512-fkxoPuFGvxyrH+OQzyTkX2LUEamrF4jZSmxjAtPPHHGO0dqsQ8tTKjnIS8SAnPHdk2I03BDtSMR5K/4loKg79Q==", - "dev": true, - "license": "ISC", - "dependencies": { - "npm-bundled": "^4.0.0", - "npm-normalize-package-bin": "^4.0.0" - }, - "bin": { - "installed-package-contents": "bin/index.js" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/@npmcli/node-gyp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-4.0.0.tgz", - "integrity": "sha512-+t5DZ6mO/QFh78PByMq1fGSAub/agLJZDRfJRMeOSNCt8s9YVlTjmGpIPwPhvXTGUIJk+WszlT0rQa1W33yzNA==", - "dev": true, - "license": "ISC", - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/@npmcli/package-json": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/@npmcli/package-json/-/package-json-6.2.0.tgz", - "integrity": "sha512-rCNLSB/JzNvot0SEyXqWZ7tX2B5dD2a1br2Dp0vSYVo5jh8Z0EZ7lS9TsZ1UtziddB1UfNUaMCc538/HztnJGA==", - "dev": true, - "license": "ISC", - "dependencies": { - "@npmcli/git": "^6.0.0", - "glob": "^10.2.2", - "hosted-git-info": "^8.0.0", - "json-parse-even-better-errors": "^4.0.0", - "proc-log": "^5.0.0", - "semver": "^7.5.3", - "validate-npm-package-license": "^3.0.4" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/@npmcli/package-json/node_modules/hosted-git-info": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-8.1.0.tgz", - "integrity": "sha512-Rw/B2DNQaPBICNXEm8balFz9a6WpZrkCGpcWFpy7nCj+NyhSdqXipmfvtmWt9xGfp0wZnBxB+iVpLmQMYt47Tw==", - "dev": true, - "license": "ISC", - "dependencies": { - "lru-cache": "^10.0.1" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/@npmcli/package-json/node_modules/lru-cache": { - "version": "10.4.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", - "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/@npmcli/promise-spawn": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-8.0.3.tgz", - "integrity": "sha512-Yb00SWaL4F8w+K8YGhQ55+xE4RUNdMHV43WZGsiTM92gS+lC0mGsn7I4hLug7pbao035S6bj3Y3w0cUNGLfmkg==", - "dev": true, - "license": "ISC", - "dependencies": { - "which": "^5.0.0" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/@npmcli/promise-spawn/node_modules/isexe": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", - "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=16" - } - }, - "node_modules/@npmcli/promise-spawn/node_modules/which": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/which/-/which-5.0.0.tgz", - "integrity": "sha512-JEdGzHwwkrbWoGOlIHqQ5gtprKGOenpDHpxE9zVR1bWbOtYRyPPHMe9FaP6x61CmNaTThSkb0DAJte5jD+DmzQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "isexe": "^3.1.1" - }, - "bin": { - "node-which": "bin/which.js" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/@npmcli/redact": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/@npmcli/redact/-/redact-3.2.2.tgz", - "integrity": "sha512-7VmYAmk4csGv08QzrDKScdzn11jHPFGyqJW39FyPgPuAp3zIaUmuCo1yxw9aGs+NEJuTGQ9Gwqpt93vtJubucg==", - "dev": true, - "license": "ISC", - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/@npmcli/run-script": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-9.1.0.tgz", - "integrity": "sha512-aoNSbxtkePXUlbZB+anS1LqsJdctG5n3UVhfU47+CDdwMi6uNTBMF9gPcQRnqghQd2FGzcwwIFBruFMxjhBewg==", - "dev": true, - "license": "ISC", - "dependencies": { - "@npmcli/node-gyp": "^4.0.0", - "@npmcli/package-json": "^6.0.0", - "@npmcli/promise-spawn": "^8.0.0", - "node-gyp": "^11.0.0", - "proc-log": "^5.0.0", - "which": "^5.0.0" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/@npmcli/run-script/node_modules/isexe": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", - "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=16" - } - }, - "node_modules/@npmcli/run-script/node_modules/which": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/which/-/which-5.0.0.tgz", - "integrity": "sha512-JEdGzHwwkrbWoGOlIHqQ5gtprKGOenpDHpxE9zVR1bWbOtYRyPPHMe9FaP6x61CmNaTThSkb0DAJte5jD+DmzQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "isexe": "^3.1.1" - }, - "bin": { - "node-which": "bin/which.js" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/@parcel/watcher": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.5.1.tgz", - "integrity": "sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==", - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "dependencies": { - "detect-libc": "^1.0.3", - "is-glob": "^4.0.3", - "micromatch": "^4.0.5", - "node-addon-api": "^7.0.0" - }, - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - }, - "optionalDependencies": { - "@parcel/watcher-android-arm64": "2.5.1", - "@parcel/watcher-darwin-arm64": "2.5.1", - "@parcel/watcher-darwin-x64": "2.5.1", - "@parcel/watcher-freebsd-x64": "2.5.1", - "@parcel/watcher-linux-arm-glibc": "2.5.1", - "@parcel/watcher-linux-arm-musl": "2.5.1", - "@parcel/watcher-linux-arm64-glibc": "2.5.1", - "@parcel/watcher-linux-arm64-musl": "2.5.1", - "@parcel/watcher-linux-x64-glibc": "2.5.1", - "@parcel/watcher-linux-x64-musl": "2.5.1", - "@parcel/watcher-win32-arm64": "2.5.1", - "@parcel/watcher-win32-ia32": "2.5.1", - "@parcel/watcher-win32-x64": "2.5.1" - } - }, - "node_modules/@parcel/watcher-android-arm64": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.5.1.tgz", - "integrity": "sha512-KF8+j9nNbUN8vzOFDpRMsaKBHZ/mcjEjMToVMJOhTozkDonQFFrRcfdLWn6yWKCmJKmdVxSgHiYvTCef4/qcBA==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-darwin-arm64": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.5.1.tgz", - "integrity": "sha512-eAzPv5osDmZyBhou8PoF4i6RQXAfeKL9tjb3QzYuccXFMQU0ruIc/POh30ePnaOyD1UXdlKguHBmsTs53tVoPw==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-darwin-x64": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.5.1.tgz", - "integrity": "sha512-1ZXDthrnNmwv10A0/3AJNZ9JGlzrF82i3gNQcWOzd7nJ8aj+ILyW1MTxVk35Db0u91oD5Nlk9MBiujMlwmeXZg==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-freebsd-x64": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.5.1.tgz", - "integrity": "sha512-SI4eljM7Flp9yPuKi8W0ird8TI/JK6CSxju3NojVI6BjHsTyK7zxA9urjVjEKJ5MBYC+bLmMcbAWlZ+rFkLpJQ==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-arm-glibc": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.5.1.tgz", - "integrity": "sha512-RCdZlEyTs8geyBkkcnPWvtXLY44BCeZKmGYRtSgtwwnHR4dxfHRG3gR99XdMEdQ7KeiDdasJwwvNSF5jKtDwdA==", - "cpu": [ - "arm" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-arm-musl": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-musl/-/watcher-linux-arm-musl-2.5.1.tgz", - "integrity": "sha512-6E+m/Mm1t1yhB8X412stiKFG3XykmgdIOqhjWj+VL8oHkKABfu/gjFj8DvLrYVHSBNC+/u5PeNrujiSQ1zwd1Q==", - "cpu": [ - "arm" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-arm64-glibc": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.5.1.tgz", - "integrity": "sha512-LrGp+f02yU3BN9A+DGuY3v3bmnFUggAITBGriZHUREfNEzZh/GO06FF5u2kx8x+GBEUYfyTGamol4j3m9ANe8w==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-arm64-musl": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.5.1.tgz", - "integrity": "sha512-cFOjABi92pMYRXS7AcQv9/M1YuKRw8SZniCDw0ssQb/noPkRzA+HBDkwmyOJYp5wXcsTrhxO0zq1U11cK9jsFg==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-x64-glibc": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.5.1.tgz", - "integrity": "sha512-GcESn8NZySmfwlTsIur+49yDqSny2IhPeZfXunQi48DMugKeZ7uy1FX83pO0X22sHntJ4Ub+9k34XQCX+oHt2A==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-x64-musl": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.5.1.tgz", - "integrity": "sha512-n0E2EQbatQ3bXhcH2D1XIAANAcTZkQICBPVaxMeaCVBtOpBZpWJuf7LwyWPSBDITb7In8mqQgJ7gH8CILCURXg==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-win32-arm64": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.5.1.tgz", - "integrity": "sha512-RFzklRvmc3PkjKjry3hLF9wD7ppR4AKcWNzH7kXR7GUe0Igb3Nz8fyPwtZCSquGrhU5HhUNDr/mKBqj7tqA2Vw==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-win32-ia32": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.5.1.tgz", - "integrity": "sha512-c2KkcVN+NJmuA7CGlaGD1qJh1cLfDnQsHjE89E60vUEMlqduHGCdCLJCID5geFVM0dOtA3ZiIO8BoEQmzQVfpQ==", - "cpu": [ - "ia32" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-win32-x64": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.5.1.tgz", - "integrity": "sha512-9lHBdJITeNR++EvSQVUcaZoWupyHfXe1jZvGZ06O/5MflPcuPLtEphScIBL+AiCWBO46tDSHzWyD0uDmmZqsgA==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher/node_modules/detect-libc": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", - "license": "Apache-2.0", - "optional": true, - "bin": { - "detect-libc": "bin/detect-libc.js" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/@parcel/watcher/node_modules/node-addon-api": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz", - "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==", - "license": "MIT", - "optional": true - }, - "node_modules/@pkgjs/parseargs": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", - "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">=14" - } - }, - "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.52.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.52.3.tgz", - "integrity": "sha512-h6cqHGZ6VdnwliFG1NXvMPTy/9PS3h8oLh7ImwR+kl+oYnQizgjxsONmmPSb2C66RksfkfIxEVtDSEcJiO0tqw==", - "cpu": [ - "arm" - ], - "license": "MIT", - "optional": true, - "os": [ - "android" - ] - }, - "node_modules/@rollup/rollup-android-arm64": { - "version": "4.52.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.52.3.tgz", - "integrity": "sha512-wd+u7SLT/u6knklV/ifG7gr5Qy4GUbH2hMWcDauPFJzmCZUAJ8L2bTkVXC2niOIxp8lk3iH/QX8kSrUxVZrOVw==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "android" - ] - }, - "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.52.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.52.3.tgz", - "integrity": "sha512-lj9ViATR1SsqycwFkJCtYfQTheBdvlWJqzqxwc9f2qrcVrQaF/gCuBRTiTolkRWS6KvNxSk4KHZWG7tDktLgjg==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.52.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.52.3.tgz", - "integrity": "sha512-+Dyo7O1KUmIsbzx1l+4V4tvEVnVQqMOIYtrxK7ncLSknl1xnMHLgn7gddJVrYPNZfEB8CIi3hK8gq8bDhb3h5A==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@rollup/rollup-freebsd-arm64": { - "version": "4.52.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.52.3.tgz", - "integrity": "sha512-u9Xg2FavYbD30g3DSfNhxgNrxhi6xVG4Y6i9Ur1C7xUuGDW3banRbXj+qgnIrwRN4KeJ396jchwy9bCIzbyBEQ==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ] - }, - "node_modules/@rollup/rollup-freebsd-x64": { - "version": "4.52.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.52.3.tgz", - "integrity": "sha512-5M8kyi/OX96wtD5qJR89a/3x5x8x5inXBZO04JWhkQb2JWavOWfjgkdvUqibGJeNNaz1/Z1PPza5/tAPXICI6A==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ] - }, - "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.52.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.52.3.tgz", - "integrity": "sha512-IoerZJ4l1wRMopEHRKOO16e04iXRDyZFZnNZKrWeNquh5d6bucjezgd+OxG03mOMTnS1x7hilzb3uURPkJ0OfA==", - "cpu": [ - "arm" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.52.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.52.3.tgz", - "integrity": "sha512-ZYdtqgHTDfvrJHSh3W22TvjWxwOgc3ThK/XjgcNGP2DIwFIPeAPNsQxrJO5XqleSlgDux2VAoWQ5iJrtaC1TbA==", - "cpu": [ - "arm" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.52.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.52.3.tgz", - "integrity": "sha512-NcViG7A0YtuFDA6xWSgmFb6iPFzHlf5vcqb2p0lGEbT+gjrEEz8nC/EeDHvx6mnGXnGCC1SeVV+8u+smj0CeGQ==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.52.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.52.3.tgz", - "integrity": "sha512-d3pY7LWno6SYNXRm6Ebsq0DJGoiLXTb83AIPCXl9fmtIQs/rXoS8SJxxUNtFbJ5MiOvs+7y34np77+9l4nfFMw==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-loong64-gnu": { - "version": "4.52.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.52.3.tgz", - "integrity": "sha512-3y5GA0JkBuirLqmjwAKwB0keDlI6JfGYduMlJD/Rl7fvb4Ni8iKdQs1eiunMZJhwDWdCvrcqXRY++VEBbvk6Eg==", - "cpu": [ - "loong64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-ppc64-gnu": { - "version": "4.52.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.52.3.tgz", - "integrity": "sha512-AUUH65a0p3Q0Yfm5oD2KVgzTKgwPyp9DSXc3UA7DtxhEb/WSPfbG4wqXeSN62OG5gSo18em4xv6dbfcUGXcagw==", - "cpu": [ - "ppc64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.52.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.52.3.tgz", - "integrity": "sha512-1makPhFFVBqZE+XFg3Dkq+IkQ7JvmUrwwqaYBL2CE+ZpxPaqkGaiWFEWVGyvTwZace6WLJHwjVh/+CXbKDGPmg==", - "cpu": [ - "riscv64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-riscv64-musl": { - "version": "4.52.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.52.3.tgz", - "integrity": "sha512-OOFJa28dxfl8kLOPMUOQBCO6z3X2SAfzIE276fwT52uXDWUS178KWq0pL7d6p1kz7pkzA0yQwtqL0dEPoVcRWg==", - "cpu": [ - "riscv64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.52.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.52.3.tgz", - "integrity": "sha512-jMdsML2VI5l+V7cKfZx3ak+SLlJ8fKvLJ0Eoa4b9/vCUrzXKgoKxvHqvJ/mkWhFiyp88nCkM5S2v6nIwRtPcgg==", - "cpu": [ - "s390x" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.52.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.52.3.tgz", - "integrity": "sha512-tPgGd6bY2M2LJTA1uGq8fkSPK8ZLYjDjY+ZLK9WHncCnfIz29LIXIqUgzCR0hIefzy6Hpbe8Th5WOSwTM8E7LA==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.52.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.52.3.tgz", - "integrity": "sha512-BCFkJjgk+WFzP+tcSMXq77ymAPIxsX9lFJWs+2JzuZTLtksJ2o5hvgTdIcZ5+oKzUDMwI0PfWzRBYAydAHF2Mw==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-openharmony-arm64": { - "version": "4.52.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.52.3.tgz", - "integrity": "sha512-KTD/EqjZF3yvRaWUJdD1cW+IQBk4fbQaHYJUmP8N4XoKFZilVL8cobFSTDnjTtxWJQ3JYaMgF4nObY/+nYkumA==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "openharmony" - ] - }, - "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.52.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.52.3.tgz", - "integrity": "sha512-+zteHZdoUYLkyYKObGHieibUFLbttX2r+58l27XZauq0tcWYYuKUwY2wjeCN9oK1Um2YgH2ibd6cnX/wFD7DuA==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.52.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.52.3.tgz", - "integrity": "sha512-of1iHkTQSo3kr6dTIRX6t81uj/c/b15HXVsPcEElN5sS859qHrOepM5p9G41Hah+CTqSh2r8Bm56dL2z9UQQ7g==", - "cpu": [ - "ia32" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@rollup/rollup-win32-x64-gnu": { - "version": "4.52.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.52.3.tgz", - "integrity": "sha512-s0hybmlHb56mWVZQj8ra9048/WZTPLILKxcvcq+8awSZmyiSUZjjem1AhU3Tf4ZKpYhK4mg36HtHDOe8QJS5PQ==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.52.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.52.3.tgz", - "integrity": "sha512-zGIbEVVXVtauFgl3MRwGWEN36P5ZGenHRMgNw88X5wEhEBpq0XrMEZwOn07+ICrwM17XO5xfMZqh0OldCH5VTA==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@schematics/angular": { - "version": "20.3.10", - "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-20.3.10.tgz", - "integrity": "sha512-F9ntS2CElpoWlENf4b03nwdTcN9Ri0Nb4SAE/pfRw3In09h2UHxYyf1ex9jqQt70xltDg4wvyuc3mMs+JlSx9A==", - "dev": true, - "license": "MIT", - "dependencies": { - "@angular-devkit/core": "20.3.10", - "@angular-devkit/schematics": "20.3.10", - "jsonc-parser": "3.3.1" - }, - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=24.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" - } - }, - "node_modules/@sigstore/bundle": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-3.1.0.tgz", - "integrity": "sha512-Mm1E3/CmDDCz3nDhFKTuYdB47EdRFRQMOE/EAbiG1MJW77/w1b3P7Qx7JSrVJs8PfwOLOVcKQCHErIwCTyPbag==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@sigstore/protobuf-specs": "^0.4.0" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/@sigstore/core": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@sigstore/core/-/core-2.0.0.tgz", - "integrity": "sha512-nYxaSb/MtlSI+JWcwTHQxyNmWeWrUXJJ/G4liLrGG7+tS4vAz6LF3xRXqLH6wPIVUoZQel2Fs4ddLx4NCpiIYg==", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/@sigstore/protobuf-specs": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/@sigstore/protobuf-specs/-/protobuf-specs-0.4.3.tgz", - "integrity": "sha512-fk2zjD9117RL9BjqEwF7fwv7Q/P9yGsMV4MUJZ/DocaQJ6+3pKr+syBq1owU5Q5qGw5CUbXzm+4yJ2JVRDQeSA==", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/@sigstore/sign": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@sigstore/sign/-/sign-3.1.0.tgz", - "integrity": "sha512-knzjmaOHOov1Ur7N/z4B1oPqZ0QX5geUfhrVaqVlu+hl0EAoL4o+l0MSULINcD5GCWe3Z0+YJO8ues6vFlW0Yw==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@sigstore/bundle": "^3.1.0", - "@sigstore/core": "^2.0.0", - "@sigstore/protobuf-specs": "^0.4.0", - "make-fetch-happen": "^14.0.2", - "proc-log": "^5.0.0", - "promise-retry": "^2.0.1" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/@sigstore/tuf": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@sigstore/tuf/-/tuf-3.1.1.tgz", - "integrity": "sha512-eFFvlcBIoGwVkkwmTi/vEQFSva3xs5Ot3WmBcjgjVdiaoelBLQaQ/ZBfhlG0MnG0cmTYScPpk7eDdGDWUcFUmg==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@sigstore/protobuf-specs": "^0.4.1", - "tuf-js": "^3.0.1" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/@sigstore/verify": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@sigstore/verify/-/verify-2.1.1.tgz", - "integrity": "sha512-hVJD77oT67aowHxwT4+M6PGOp+E2LtLdTK3+FC0lBO9T7sYwItDMXZ7Z07IDCvR1M717a4axbIWckrW67KMP/w==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@sigstore/bundle": "^3.1.0", - "@sigstore/core": "^2.0.0", - "@sigstore/protobuf-specs": "^0.4.1" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/@tailwindcss/node": { - "version": "4.1.17", - "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.1.17.tgz", - "integrity": "sha512-csIkHIgLb3JisEFQ0vxr2Y57GUNYh447C8xzwj89U/8fdW8LhProdxvnVH6U8M2Y73QKiTIH+LWbK3V2BBZsAg==", - "license": "MIT", - "dependencies": { - "@jridgewell/remapping": "^2.3.4", - "enhanced-resolve": "^5.18.3", - "jiti": "^2.6.1", - "lightningcss": "1.30.2", - "magic-string": "^0.30.21", - "source-map-js": "^1.2.1", - "tailwindcss": "4.1.17" - } - }, - "node_modules/@tailwindcss/node/node_modules/magic-string": { - "version": "0.30.21", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz", - "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==", - "license": "MIT", - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.5.5" - } - }, - "node_modules/@tailwindcss/oxide": { - "version": "4.1.17", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.1.17.tgz", - "integrity": "sha512-F0F7d01fmkQhsTjXezGBLdrl1KresJTcI3DB8EkScCldyKp3Msz4hub4uyYaVnk88BAS1g5DQjjF6F5qczheLA==", - "license": "MIT", - "engines": { - "node": ">= 10" - }, - "optionalDependencies": { - "@tailwindcss/oxide-android-arm64": "4.1.17", - "@tailwindcss/oxide-darwin-arm64": "4.1.17", - "@tailwindcss/oxide-darwin-x64": "4.1.17", - "@tailwindcss/oxide-freebsd-x64": "4.1.17", - "@tailwindcss/oxide-linux-arm-gnueabihf": "4.1.17", - "@tailwindcss/oxide-linux-arm64-gnu": "4.1.17", - "@tailwindcss/oxide-linux-arm64-musl": "4.1.17", - "@tailwindcss/oxide-linux-x64-gnu": "4.1.17", - "@tailwindcss/oxide-linux-x64-musl": "4.1.17", - "@tailwindcss/oxide-wasm32-wasi": "4.1.17", - "@tailwindcss/oxide-win32-arm64-msvc": "4.1.17", - "@tailwindcss/oxide-win32-x64-msvc": "4.1.17" - } - }, - "node_modules/@tailwindcss/oxide-android-arm64": { - "version": "4.1.17", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.1.17.tgz", - "integrity": "sha512-BMqpkJHgOZ5z78qqiGE6ZIRExyaHyuxjgrJ6eBO5+hfrfGkuya0lYfw8fRHG77gdTjWkNWEEm+qeG2cDMxArLQ==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@tailwindcss/oxide-darwin-arm64": { - "version": "4.1.17", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.1.17.tgz", - "integrity": "sha512-EquyumkQweUBNk1zGEU/wfZo2qkp/nQKRZM8bUYO0J+Lums5+wl2CcG1f9BgAjn/u9pJzdYddHWBiFXJTcxmOg==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@tailwindcss/oxide-darwin-x64": { - "version": "4.1.17", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.1.17.tgz", - "integrity": "sha512-gdhEPLzke2Pog8s12oADwYu0IAw04Y2tlmgVzIN0+046ytcgx8uZmCzEg4VcQh+AHKiS7xaL8kGo/QTiNEGRog==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@tailwindcss/oxide-freebsd-x64": { - "version": "4.1.17", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.1.17.tgz", - "integrity": "sha512-hxGS81KskMxML9DXsaXT1H0DyA+ZBIbyG/sSAjWNe2EDl7TkPOBI42GBV3u38itzGUOmFfCzk1iAjDXds8Oh0g==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": { - "version": "4.1.17", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.1.17.tgz", - "integrity": "sha512-k7jWk5E3ldAdw0cNglhjSgv501u7yrMf8oeZ0cElhxU6Y2o7f8yqelOp3fhf7evjIS6ujTI3U8pKUXV2I4iXHQ==", - "cpu": [ - "arm" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@tailwindcss/oxide-linux-arm64-gnu": { - "version": "4.1.17", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.1.17.tgz", - "integrity": "sha512-HVDOm/mxK6+TbARwdW17WrgDYEGzmoYayrCgmLEw7FxTPLcp/glBisuyWkFz/jb7ZfiAXAXUACfyItn+nTgsdQ==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@tailwindcss/oxide-linux-arm64-musl": { - "version": "4.1.17", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.1.17.tgz", - "integrity": "sha512-HvZLfGr42i5anKtIeQzxdkw/wPqIbpeZqe7vd3V9vI3RQxe3xU1fLjss0TjyhxWcBaipk7NYwSrwTwK1hJARMg==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@tailwindcss/oxide-linux-x64-gnu": { - "version": "4.1.17", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.1.17.tgz", - "integrity": "sha512-M3XZuORCGB7VPOEDH+nzpJ21XPvK5PyjlkSFkFziNHGLc5d6g3di2McAAblmaSUNl8IOmzYwLx9NsE7bplNkwQ==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@tailwindcss/oxide-linux-x64-musl": { - "version": "4.1.17", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.1.17.tgz", - "integrity": "sha512-k7f+pf9eXLEey4pBlw+8dgfJHY4PZ5qOUFDyNf7SI6lHjQ9Zt7+NcscjpwdCEbYi6FI5c2KDTDWyf2iHcCSyyQ==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@tailwindcss/oxide-wasm32-wasi": { - "version": "4.1.17", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.1.17.tgz", - "integrity": "sha512-cEytGqSSoy7zK4JRWiTCx43FsKP/zGr0CsuMawhH67ONlH+T79VteQeJQRO/X7L0juEUA8ZyuYikcRBf0vsxhg==", - "bundleDependencies": [ - "@napi-rs/wasm-runtime", - "@emnapi/core", - "@emnapi/runtime", - "@tybys/wasm-util", - "@emnapi/wasi-threads", - "tslib" - ], - "cpu": [ - "wasm32" - ], - "license": "MIT", - "optional": true, - "dependencies": { - "@emnapi/core": "^1.6.0", - "@emnapi/runtime": "^1.6.0", - "@emnapi/wasi-threads": "^1.1.0", - "@napi-rs/wasm-runtime": "^1.0.7", - "@tybys/wasm-util": "^0.10.1", - "tslib": "^2.4.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@tailwindcss/oxide-win32-arm64-msvc": { - "version": "4.1.17", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.1.17.tgz", - "integrity": "sha512-JU5AHr7gKbZlOGvMdb4722/0aYbU+tN6lv1kONx0JK2cGsh7g148zVWLM0IKR3NeKLv+L90chBVYcJ8uJWbC9A==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@tailwindcss/oxide-win32-x64-msvc": { - "version": "4.1.17", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.1.17.tgz", - "integrity": "sha512-SKWM4waLuqx0IH+FMDUw6R66Hu4OuTALFgnleKbqhgGU30DY20NORZMZUKgLRjQXNN2TLzKvh48QXTig4h4bGw==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@tailwindcss/vite": { - "version": "4.1.17", - "resolved": "https://registry.npmjs.org/@tailwindcss/vite/-/vite-4.1.17.tgz", - "integrity": "sha512-4+9w8ZHOiGnpcGI6z1TVVfWaX/koK7fKeSYF3qlYg2xpBtbteP2ddBxiarL+HVgfSJGeK5RIxRQmKm4rTJJAwA==", - "license": "MIT", - "dependencies": { - "@tailwindcss/node": "4.1.17", - "@tailwindcss/oxide": "4.1.17", - "tailwindcss": "4.1.17" - }, - "peerDependencies": { - "vite": "^5.2.0 || ^6 || ^7" - } - }, - "node_modules/@tufjs/canonical-json": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@tufjs/canonical-json/-/canonical-json-2.0.0.tgz", - "integrity": "sha512-yVtV8zsdo8qFHe+/3kw81dSLyF7D576A5cCFCi4X7B39tWT7SekaEFUnvnWJHz+9qO7qJTah1JbrDjWKqFtdWA==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^16.14.0 || >=18.0.0" - } - }, - "node_modules/@tufjs/models": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@tufjs/models/-/models-3.0.1.tgz", - "integrity": "sha512-UUYHISyhCU3ZgN8yaear3cGATHb3SMuKHsQ/nVbHXcmnBf+LzQ/cQfhNG+rfaSHgqGKNEm2cOCLVLELStUQ1JA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@tufjs/canonical-json": "2.0.0", - "minimatch": "^9.0.5" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/@types/estree": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", - "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", - "license": "MIT" - }, - "node_modules/@vitejs/plugin-basic-ssl": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-2.1.0.tgz", - "integrity": "sha512-dOxxrhgyDIEUADhb/8OlV9JIqYLgos03YorAueTIeOUskLJSEsfwCByjbu98ctXitUN3znXKp0bYD/WHSudCeA==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^18.0.0 || ^20.0.0 || >=22.0.0" - }, - "peerDependencies": { - "vite": "^6.0.0 || ^7.0.0" - } - }, - "node_modules/@yarnpkg/lockfile": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz", - "integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==", - "dev": true, - "license": "BSD-2-Clause" - }, - "node_modules/abbrev": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-3.0.1.tgz", - "integrity": "sha512-AO2ac6pjRB3SJmGJo+v5/aK6Omggp6fsLrs6wN9bd35ulu4cCwaAU9+7ZhXjeqHVkaHThLuzH0nZr0YpCDhygg==", - "dev": true, - "license": "ISC", - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/accepts": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz", - "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==", - "dev": true, - "license": "MIT", - "dependencies": { - "mime-types": "^3.0.0", - "negotiator": "^1.0.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/agent-base": { - "version": "7.1.4", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", - "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 14" - } - }, - "node_modules/ajv": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", - "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ajv-formats": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-3.0.1.tgz", - "integrity": "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ajv": "^8.0.0" - }, - "peerDependencies": { - "ajv": "^8.0.0" - }, - "peerDependenciesMeta": { - "ajv": { - "optional": true - } - } - }, - "node_modules/algoliasearch": { - "version": "5.35.0", - "resolved": "https://registry.npmjs.org/algoliasearch/-/algoliasearch-5.35.0.tgz", - "integrity": "sha512-Y+moNhsqgLmvJdgTsO4GZNgsaDWv8AOGAaPeIeHKlDn/XunoAqYbA+XNpBd1dW8GOXAUDyxC9Rxc7AV4kpFcIg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@algolia/abtesting": "1.1.0", - "@algolia/client-abtesting": "5.35.0", - "@algolia/client-analytics": "5.35.0", - "@algolia/client-common": "5.35.0", - "@algolia/client-insights": "5.35.0", - "@algolia/client-personalization": "5.35.0", - "@algolia/client-query-suggestions": "5.35.0", - "@algolia/client-search": "5.35.0", - "@algolia/ingestion": "1.35.0", - "@algolia/monitoring": "1.35.0", - "@algolia/recommend": "5.35.0", - "@algolia/requester-browser-xhr": "5.35.0", - "@algolia/requester-fetch": "5.35.0", - "@algolia/requester-node-http": "5.35.0" - }, - "engines": { - "node": ">= 14.0.0" - } - }, - "node_modules/ansi-escapes": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-7.2.0.tgz", - "integrity": "sha512-g6LhBsl+GBPRWGWsBtutpzBYuIIdBkLEvad5C/va/74Db018+5TZiyA26cZJAr3Rft5lprVqOIPxf5Vid6tqAw==", - "dev": true, - "license": "MIT", - "dependencies": { - "environment": "^1.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ansi-regex": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", - "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/ansi-styles": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", - "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true, - "license": "MIT" - }, - "node_modules/baseline-browser-mapping": { - "version": "2.8.27", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.27.tgz", - "integrity": "sha512-2CXFpkjVnY2FT+B6GrSYxzYf65BJWEqz5tIRHCvNsZZ2F3CmsCB37h8SpYgKG7y9C4YAeTipIPWG7EmFmhAeXA==", - "dev": true, - "license": "Apache-2.0", - "bin": { - "baseline-browser-mapping": "dist/cli.js" - } - }, - "node_modules/beasties": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/beasties/-/beasties-0.3.5.tgz", - "integrity": "sha512-NaWu+f4YrJxEttJSm16AzMIFtVldCvaJ68b1L098KpqXmxt9xOLtKoLkKxb8ekhOrLqEJAbvT6n6SEvB/sac7A==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "css-select": "^6.0.0", - "css-what": "^7.0.0", - "dom-serializer": "^2.0.0", - "domhandler": "^5.0.3", - "htmlparser2": "^10.0.0", - "picocolors": "^1.1.1", - "postcss": "^8.4.49", - "postcss-media-query-parser": "^0.2.3" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/body-parser": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.2.0.tgz", - "integrity": "sha512-02qvAaxv8tp7fBa/mw1ga98OGm+eCbqzJOKoRt70sLmfEEi+jyBYVTDGfCL/k06/4EMk/z01gCe7HoCH/f2LTg==", - "dev": true, - "license": "MIT", - "dependencies": { - "bytes": "^3.1.2", - "content-type": "^1.0.5", - "debug": "^4.4.0", - "http-errors": "^2.0.0", - "iconv-lite": "^0.6.3", - "on-finished": "^2.4.1", - "qs": "^6.14.0", - "raw-body": "^3.0.0", - "type-is": "^2.0.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/body-parser/node_modules/iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "dev": true, - "license": "MIT", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/boolbase": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", - "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", - "dev": true, - "license": "ISC" - }, - "node_modules/brace-expansion": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", - "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/braces": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", - "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", - "license": "MIT", - "optional": true, - "dependencies": { - "fill-range": "^7.1.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/browserslist": { - "version": "4.28.0", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.0.tgz", - "integrity": "sha512-tbydkR/CxfMwelN0vwdP/pLkDwyAASZ+VfWm4EOwlB6SWhx1sYnWLqo8N5j0rAzPfzfRaxt0mM/4wPU/Su84RQ==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "peer": true, - "dependencies": { - "baseline-browser-mapping": "^2.8.25", - "caniuse-lite": "^1.0.30001754", - "electron-to-chromium": "^1.5.249", - "node-releases": "^2.0.27", - "update-browserslist-db": "^1.1.4" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - } - }, - "node_modules/buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/bytes": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", - "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/cacache": { - "version": "19.0.1", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-19.0.1.tgz", - "integrity": "sha512-hdsUxulXCi5STId78vRVYEtDAjq99ICAUktLTeTYsLoTE6Z8dS0c8pWNCxwdrk9YfJeobDZc2Y186hD/5ZQgFQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "@npmcli/fs": "^4.0.0", - "fs-minipass": "^3.0.0", - "glob": "^10.2.2", - "lru-cache": "^10.0.1", - "minipass": "^7.0.3", - "minipass-collect": "^2.0.1", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.4", - "p-map": "^7.0.2", - "ssri": "^12.0.0", - "tar": "^7.4.3", - "unique-filename": "^4.0.0" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/cacache/node_modules/chownr": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz", - "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==", - "dev": true, - "license": "BlueOak-1.0.0", - "engines": { - "node": ">=18" - } - }, - "node_modules/cacache/node_modules/lru-cache": { - "version": "10.4.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", - "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/cacache/node_modules/tar": { - "version": "7.5.2", - "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.2.tgz", - "integrity": "sha512-7NyxrTE4Anh8km8iEy7o0QYPs+0JKBTj5ZaqHg6B39erLg0qYXN3BijtShwbsNSvQ+LN75+KV+C4QR/f6Gwnpg==", - "dev": true, - "license": "BlueOak-1.0.0", - "dependencies": { - "@isaacs/fs-minipass": "^4.0.0", - "chownr": "^3.0.0", - "minipass": "^7.1.2", - "minizlib": "^3.1.0", - "yallist": "^5.0.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/cacache/node_modules/yallist": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz", - "integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==", - "dev": true, - "license": "BlueOak-1.0.0", - "engines": { - "node": ">=18" - } - }, - "node_modules/call-bind-apply-helpers": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", - "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/call-bound": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", - "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind-apply-helpers": "^1.0.2", - "get-intrinsic": "^1.3.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/caniuse-lite": { - "version": "1.0.30001754", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001754.tgz", - "integrity": "sha512-x6OeBXueoAceOmotzx3PO4Zpt4rzpeIFsSr6AAePTZxSkXiYDUmpypEl7e2+8NCd9bD7bXjqyef8CJYPC1jfxg==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/caniuse-lite" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "CC-BY-4.0" - }, - "node_modules/chalk": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", - "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.17.0 || ^14.13 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/chardet": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-2.1.1.tgz", - "integrity": "sha512-PsezH1rqdV9VvyNhxxOW32/d75r01NY7TQCmOqomRo15ZSOKbpTFVsfjghxo6JloQUCGnH4k1LGu0R4yCLlWQQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/chokidar": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", - "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", - "devOptional": true, - "license": "MIT", - "dependencies": { - "readdirp": "^4.0.1" - }, - "engines": { - "node": ">= 14.16.0" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/chownr": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=10" - } - }, - "node_modules/cli-cursor": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-5.0.0.tgz", - "integrity": "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==", - "dev": true, - "license": "MIT", - "dependencies": { - "restore-cursor": "^5.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cli-spinners": { - "version": "2.9.2", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", - "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cli-truncate": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-4.0.0.tgz", - "integrity": "sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==", - "dev": true, - "license": "MIT", - "dependencies": { - "slice-ansi": "^5.0.0", - "string-width": "^7.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cli-width": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-4.1.0.tgz", - "integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">= 12" - } - }, - "node_modules/cliui": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz", - "integrity": "sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==", - "dev": true, - "license": "ISC", - "dependencies": { - "string-width": "^7.2.0", - "strip-ansi": "^7.1.0", - "wrap-ansi": "^9.0.0" - }, - "engines": { - "node": ">=20" - } - }, - "node_modules/cliui/node_modules/wrap-ansi": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", - "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^6.2.1", - "string-width": "^7.0.0", - "strip-ansi": "^7.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true, - "license": "MIT" - }, - "node_modules/colorette": { - "version": "2.0.20", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", - "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", - "dev": true, - "license": "MIT" - }, - "node_modules/content-disposition": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.0.0.tgz", - "integrity": "sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==", - "dev": true, - "license": "MIT", - "dependencies": { - "safe-buffer": "5.2.1" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/content-type": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", - "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/convert-source-map": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", - "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", - "dev": true, - "license": "MIT" - }, - "node_modules/cookie": { - "version": "0.7.2", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", - "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/cookie-signature": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.2.tgz", - "integrity": "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.6.0" - } - }, - "node_modules/copy-anything": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/copy-anything/-/copy-anything-2.0.6.tgz", - "integrity": "sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==", - "devOptional": true, - "license": "MIT", - "dependencies": { - "is-what": "^3.14.1" - }, - "funding": { - "url": "https://github.com/sponsors/mesqueeb" - } - }, - "node_modules/cors": { - "version": "2.8.5", - "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", - "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", - "dev": true, - "license": "MIT", - "dependencies": { - "object-assign": "^4", - "vary": "^1" - }, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/cross-spawn": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", - "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", - "dev": true, - "license": "MIT", - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/css-select": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/css-select/-/css-select-6.0.0.tgz", - "integrity": "sha512-rZZVSLle8v0+EY8QAkDWrKhpgt6SA5OtHsgBnsj6ZaLb5dmDVOWUDtQitd9ydxxvEjhewNudS6eTVU7uOyzvXw==", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "boolbase": "^1.0.0", - "css-what": "^7.0.0", - "domhandler": "^5.0.3", - "domutils": "^3.2.2", - "nth-check": "^2.1.1" - }, - "funding": { - "url": "https://github.com/sponsors/fb55" - } - }, - "node_modules/css-what": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/css-what/-/css-what-7.0.0.tgz", - "integrity": "sha512-wD5oz5xibMOPHzy13CyGmogB3phdvcDaB5t0W/Nr5Z2O/agcB8YwOz6e2Lsp10pNDzBoDO9nVa3RGs/2BttpHQ==", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">= 6" - }, - "funding": { - "url": "https://github.com/sponsors/fb55" - } - }, - "node_modules/date-fns": { - "version": "2.30.0", - "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.30.0.tgz", - "integrity": "sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.21.0" - }, - "engines": { - "node": ">=0.11" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/date-fns" - } - }, - "node_modules/debug": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", - "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.3" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/detect-libc": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", - "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", - "license": "Apache-2.0", - "engines": { - "node": ">=8" - } - }, - "node_modules/dom-serializer": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", - "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", - "dev": true, - "license": "MIT", - "dependencies": { - "domelementtype": "^2.3.0", - "domhandler": "^5.0.2", - "entities": "^4.2.0" - }, - "funding": { - "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" - } - }, - "node_modules/domelementtype": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", - "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fb55" - } - ], - "license": "BSD-2-Clause" - }, - "node_modules/domhandler": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", - "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "domelementtype": "^2.3.0" - }, - "engines": { - "node": ">= 4" - }, - "funding": { - "url": "https://github.com/fb55/domhandler?sponsor=1" - } - }, - "node_modules/domutils": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz", - "integrity": "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "dom-serializer": "^2.0.0", - "domelementtype": "^2.3.0", - "domhandler": "^5.0.3" - }, - "funding": { - "url": "https://github.com/fb55/domutils?sponsor=1" - } - }, - "node_modules/dunder-proto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", - "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind-apply-helpers": "^1.0.1", - "es-errors": "^1.3.0", - "gopd": "^1.2.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/eastasianwidth": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", - "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", - "dev": true, - "license": "MIT" - }, - "node_modules/ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", - "dev": true, - "license": "MIT" - }, - "node_modules/electron-to-chromium": { - "version": "1.5.250", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.250.tgz", - "integrity": "sha512-/5UMj9IiGDMOFBnN4i7/Ry5onJrAGSbOGo3s9FEKmwobGq6xw832ccET0CE3CkkMBZ8GJSlUIesZofpyurqDXw==", - "dev": true, - "license": "ISC" - }, - "node_modules/emoji-regex": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", - "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", - "dev": true, - "license": "MIT" - }, - "node_modules/encodeurl": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", - "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/encoding": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", - "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "iconv-lite": "^0.6.2" - } - }, - "node_modules/encoding/node_modules/iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/enhanced-resolve": { - "version": "5.18.3", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.18.3.tgz", - "integrity": "sha512-d4lC8xfavMeBjzGr2vECC3fsGXziXZQyJxD868h2M/mBI3PwAuODxAkLkq5HYuvrPYcUtiLzsTo8U3PgX3Ocww==", - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.4", - "tapable": "^2.2.0" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/entities": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", - "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=0.12" - }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, - "node_modules/env-paths": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", - "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/environment": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/environment/-/environment-1.1.0.tgz", - "integrity": "sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/err-code": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz", - "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==", - "dev": true, - "license": "MIT" - }, - "node_modules/errno": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.8.tgz", - "integrity": "sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "prr": "~1.0.1" - }, - "bin": { - "errno": "cli.js" - } - }, - "node_modules/es-define-property": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", - "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-errors": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", - "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-object-atoms": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", - "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/esbuild": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.9.tgz", - "integrity": "sha512-CRbODhYyQx3qp7ZEwzxOk4JBqmD/seJrzPa/cGjY1VtIn5E09Oi9/dB4JwctnfZ8Q8iT7rioVv5k/FNT/uf54g==", - "hasInstallScript": true, - "license": "MIT", - "bin": { - "esbuild": "bin/esbuild" - }, - "engines": { - "node": ">=18" - }, - "optionalDependencies": { - "@esbuild/aix-ppc64": "0.25.9", - "@esbuild/android-arm": "0.25.9", - "@esbuild/android-arm64": "0.25.9", - "@esbuild/android-x64": "0.25.9", - "@esbuild/darwin-arm64": "0.25.9", - "@esbuild/darwin-x64": "0.25.9", - "@esbuild/freebsd-arm64": "0.25.9", - "@esbuild/freebsd-x64": "0.25.9", - "@esbuild/linux-arm": "0.25.9", - "@esbuild/linux-arm64": "0.25.9", - "@esbuild/linux-ia32": "0.25.9", - "@esbuild/linux-loong64": "0.25.9", - "@esbuild/linux-mips64el": "0.25.9", - "@esbuild/linux-ppc64": "0.25.9", - "@esbuild/linux-riscv64": "0.25.9", - "@esbuild/linux-s390x": "0.25.9", - "@esbuild/linux-x64": "0.25.9", - "@esbuild/netbsd-arm64": "0.25.9", - "@esbuild/netbsd-x64": "0.25.9", - "@esbuild/openbsd-arm64": "0.25.9", - "@esbuild/openbsd-x64": "0.25.9", - "@esbuild/openharmony-arm64": "0.25.9", - "@esbuild/sunos-x64": "0.25.9", - "@esbuild/win32-arm64": "0.25.9", - "@esbuild/win32-ia32": "0.25.9", - "@esbuild/win32-x64": "0.25.9" - } - }, - "node_modules/escalade": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", - "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", - "dev": true, - "license": "MIT" - }, - "node_modules/etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/eventemitter3": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", - "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==", - "dev": true, - "license": "MIT" - }, - "node_modules/eventsource": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-3.0.7.tgz", - "integrity": "sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==", - "dev": true, - "license": "MIT", - "dependencies": { - "eventsource-parser": "^3.0.1" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/eventsource-parser": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/eventsource-parser/-/eventsource-parser-3.0.6.tgz", - "integrity": "sha512-Vo1ab+QXPzZ4tCa8SwIHJFaSzy4R6SHf7BY79rFBDf0idraZWAkYrDjDj8uWaSm3S2TK+hJ7/t1CEmZ7jXw+pg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/exponential-backoff": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.3.tgz", - "integrity": "sha512-ZgEeZXj30q+I0EN+CbSSpIyPaJ5HVQD18Z1m+u1FXbAeT94mr1zw50q4q6jiiC447Nl/YTcIYSAftiGqetwXCA==", - "dev": true, - "license": "Apache-2.0" - }, - "node_modules/express": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/express/-/express-5.1.0.tgz", - "integrity": "sha512-DT9ck5YIRU+8GYzzU5kT3eHGA5iL+1Zd0EutOmTE9Dtk+Tvuzd23VBU+ec7HPNSTxXYO55gPV/hq4pSBJDjFpA==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "accepts": "^2.0.0", - "body-parser": "^2.2.0", - "content-disposition": "^1.0.0", - "content-type": "^1.0.5", - "cookie": "^0.7.1", - "cookie-signature": "^1.2.1", - "debug": "^4.4.0", - "encodeurl": "^2.0.0", - "escape-html": "^1.0.3", - "etag": "^1.8.1", - "finalhandler": "^2.1.0", - "fresh": "^2.0.0", - "http-errors": "^2.0.0", - "merge-descriptors": "^2.0.0", - "mime-types": "^3.0.0", - "on-finished": "^2.4.1", - "once": "^1.4.0", - "parseurl": "^1.3.3", - "proxy-addr": "^2.0.7", - "qs": "^6.14.0", - "range-parser": "^1.2.1", - "router": "^2.2.0", - "send": "^1.1.0", - "serve-static": "^2.2.0", - "statuses": "^2.0.1", - "type-is": "^2.0.1", - "vary": "^1.1.2" - }, - "engines": { - "node": ">= 18" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/express-rate-limit": { - "version": "7.5.1", - "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-7.5.1.tgz", - "integrity": "sha512-7iN8iPMDzOMHPUYllBEsQdWVB6fPDMPqwjBaFrgr4Jgr/+okjvzAy+UHlYYL/Vs0OsOrMkwS6PJDkFlJwoxUnw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 16" - }, - "funding": { - "url": "https://github.com/sponsors/express-rate-limit" - }, - "peerDependencies": { - "express": ">= 4.11" - } - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true, - "license": "MIT" - }, - "node_modules/fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true, - "license": "MIT" - }, - "node_modules/fast-uri": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.0.tgz", - "integrity": "sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fastify" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fastify" - } - ], - "license": "BSD-3-Clause" - }, - "node_modules/fdir": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", - "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", - "license": "MIT", - "engines": { - "node": ">=12.0.0" - }, - "peerDependencies": { - "picomatch": "^3 || ^4" - }, - "peerDependenciesMeta": { - "picomatch": { - "optional": true - } - } - }, - "node_modules/fill-range": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", - "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", - "license": "MIT", - "optional": true, - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/finalhandler": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.0.tgz", - "integrity": "sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "^4.4.0", - "encodeurl": "^2.0.0", - "escape-html": "^1.0.3", - "on-finished": "^2.4.1", - "parseurl": "^1.3.3", - "statuses": "^2.0.1" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/foreground-child": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", - "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", - "dev": true, - "license": "ISC", - "dependencies": { - "cross-spawn": "^7.0.6", - "signal-exit": "^4.0.1" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/forwarded": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", - "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/fresh": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz", - "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/fs-minipass": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz", - "integrity": "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==", - "dev": true, - "license": "ISC", - "dependencies": { - "minipass": "^7.0.3" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/gensync": { - "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "dev": true, - "license": "ISC", - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/get-east-asian-width": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.4.0.tgz", - "integrity": "sha512-QZjmEOC+IT1uk6Rx0sX22V6uHWVwbdbxf1faPqJ1QhLdGgsRGCZoyaQBm/piRdJy/D2um6hM1UP7ZEeQ4EkP+Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/get-intrinsic": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", - "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind-apply-helpers": "^1.0.2", - "es-define-property": "^1.0.1", - "es-errors": "^1.3.0", - "es-object-atoms": "^1.1.1", - "function-bind": "^1.1.2", - "get-proto": "^1.0.1", - "gopd": "^1.2.0", - "has-symbols": "^1.1.0", - "hasown": "^2.0.2", - "math-intrinsics": "^1.1.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/get-proto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", - "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", - "dev": true, - "license": "MIT", - "dependencies": { - "dunder-proto": "^1.0.1", - "es-object-atoms": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/glob": { - "version": "10.5.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz", - "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==", - "dev": true, - "license": "ISC", - "dependencies": { - "foreground-child": "^3.1.0", - "jackspeak": "^3.1.2", - "minimatch": "^9.0.4", - "minipass": "^7.1.2", - "package-json-from-dist": "^1.0.0", - "path-scurry": "^1.11.1" - }, - "bin": { - "glob": "dist/esm/bin.mjs" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/glob-to-regexp": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", - "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", - "dev": true, - "license": "BSD-2-Clause" - }, - "node_modules/gopd": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", - "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "license": "ISC" - }, - "node_modules/has-symbols": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", - "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/hasown": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/hosted-git-info": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-9.0.2.tgz", - "integrity": "sha512-M422h7o/BR3rmCQ8UHi7cyyMqKltdP9Uo+J2fXK+RSAY+wTcKOIRyhTuKv4qn+DJf3g+PL890AzId5KZpX+CBg==", - "dev": true, - "license": "ISC", - "dependencies": { - "lru-cache": "^11.1.0" - }, - "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, - "node_modules/hosted-git-info/node_modules/lru-cache": { - "version": "11.2.2", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.2.tgz", - "integrity": "sha512-F9ODfyqML2coTIsQpSkRHnLSZMtkU8Q+mSfcaIyKwy58u+8k5nvAYeiNhsyMARvzNcXJ9QfWVrcPsC9e9rAxtg==", - "dev": true, - "license": "ISC", - "engines": { - "node": "20 || >=22" - } - }, - "node_modules/htmlparser2": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-10.0.0.tgz", - "integrity": "sha512-TwAZM+zE5Tq3lrEHvOlvwgj1XLWQCtaaibSN11Q+gGBAS7Y1uZSWwXXRe4iF6OXnaq1riyQAPFOBtYc77Mxq0g==", - "dev": true, - "funding": [ - "https://github.com/fb55/htmlparser2?sponsor=1", - { - "type": "github", - "url": "https://github.com/sponsors/fb55" - } - ], - "license": "MIT", - "dependencies": { - "domelementtype": "^2.3.0", - "domhandler": "^5.0.3", - "domutils": "^3.2.1", - "entities": "^6.0.0" - } - }, - "node_modules/htmlparser2/node_modules/entities": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz", - "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=0.12" - }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, - "node_modules/http-cache-semantics": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.2.0.tgz", - "integrity": "sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ==", - "dev": true, - "license": "BSD-2-Clause" - }, - "node_modules/http-errors": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", - "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "depd": "2.0.0", - "inherits": "2.0.4", - "setprototypeof": "1.2.0", - "statuses": "2.0.1", - "toidentifier": "1.0.1" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/http-errors/node_modules/statuses": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/http-proxy-agent": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", - "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", - "dev": true, - "license": "MIT", - "dependencies": { - "agent-base": "^7.1.0", - "debug": "^4.3.4" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/https-proxy-agent": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", - "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", - "dev": true, - "license": "MIT", - "dependencies": { - "agent-base": "^7.1.2", - "debug": "4" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/iconv-lite": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.0.tgz", - "integrity": "sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/ignore-walk": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-8.0.0.tgz", - "integrity": "sha512-FCeMZT4NiRQGh+YkeKMtWrOmBgWjHjMJ26WQWrRQyoyzqevdaGSakUaJW5xQYmjLlUVk2qUnCjYVBax9EKKg8A==", - "dev": true, - "license": "ISC", - "dependencies": { - "minimatch": "^10.0.3" - }, - "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, - "node_modules/ignore-walk/node_modules/minimatch": { - "version": "10.1.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.1.tgz", - "integrity": "sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==", - "dev": true, - "license": "BlueOak-1.0.0", - "dependencies": { - "@isaacs/brace-expansion": "^5.0.0" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/image-size": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz", - "integrity": "sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==", - "dev": true, - "license": "MIT", - "optional": true, - "bin": { - "image-size": "bin/image-size.js" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/immutable": { - "version": "5.1.4", - "resolved": "https://registry.npmjs.org/immutable/-/immutable-5.1.4.tgz", - "integrity": "sha512-p6u1bG3YSnINT5RQmx/yRZBpenIl30kVxkTLDyHLIMk0gict704Q9n+thfDI7lTRm9vXdDYutVzXhzcThxTnXA==", - "devOptional": true, - "license": "MIT" - }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8.19" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/ini": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ini/-/ini-5.0.0.tgz", - "integrity": "sha512-+N0ngpO3e7cRUWOJAS7qw0IZIVc6XPrW4MlFBdD066F2L4k1L6ker3hLqSq7iXxU5tgS4WGkIUElWn5vogAEnw==", - "dev": true, - "license": "ISC", - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/ip-address": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.1.0.tgz", - "integrity": "sha512-XXADHxXmvT9+CRxhXg56LJovE+bmWnEWB78LB83VZTprKTmaC5QfruXocxzTZ2Kl0DNwKuBdlIhjL8LeY8Sf8Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 12" - } - }, - "node_modules/ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/is-core-module": { - "version": "2.16.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", - "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==", - "dev": true, - "license": "MIT", - "dependencies": { - "hasown": "^2.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "license": "MIT", - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-fullwidth-code-point": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz", - "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "license": "MIT", - "optional": true, - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-interactive": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-2.0.0.tgz", - "integrity": "sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "license": "MIT", - "optional": true, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-promise": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", - "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/is-unicode-supported": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz", - "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-what": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/is-what/-/is-what-3.14.1.tgz", - "integrity": "sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==", - "devOptional": true, - "license": "MIT" - }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true, - "license": "ISC" - }, - "node_modules/istanbul-lib-coverage": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", - "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=8" - } - }, - "node_modules/istanbul-lib-instrument": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz", - "integrity": "sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "@babel/core": "^7.23.9", - "@babel/parser": "^7.23.9", - "@istanbuljs/schema": "^0.1.3", - "istanbul-lib-coverage": "^3.2.0", - "semver": "^7.5.4" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/jackspeak": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", - "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", - "dev": true, - "license": "BlueOak-1.0.0", - "dependencies": { - "@isaacs/cliui": "^8.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - }, - "optionalDependencies": { - "@pkgjs/parseargs": "^0.11.0" - } - }, - "node_modules/jiti": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.6.1.tgz", - "integrity": "sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==", - "license": "MIT", - "bin": { - "jiti": "lib/jiti-cli.mjs" - } - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/jsesc": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", - "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", - "dev": true, - "license": "MIT", - "bin": { - "jsesc": "bin/jsesc" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/json-parse-even-better-errors": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-4.0.0.tgz", - "integrity": "sha512-lR4MXjGNgkJc7tkQ97kb2nuEMnNCyU//XYVH0MKTGcXEiSudQ5MKGKen3C5QubYy0vmq+JGitUg92uuywGEwIA==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true, - "license": "MIT" - }, - "node_modules/json5": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", - "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", - "dev": true, - "license": "MIT", - "bin": { - "json5": "lib/cli.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/jsonc-parser": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.3.1.tgz", - "integrity": "sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/jsonparse": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", - "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", - "dev": true, - "engines": [ - "node >= 0.2.0" - ], - "license": "MIT" - }, - "node_modules/less": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/less/-/less-4.4.2.tgz", - "integrity": "sha512-j1n1IuTX1VQjIy3tT7cyGbX7nvQOsFLoIqobZv4ttI5axP923gA44zUj6miiA6R5Aoms4sEGVIIcucXUbRI14g==", - "devOptional": true, - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "copy-anything": "^2.0.1", - "parse-node-version": "^1.0.1", - "tslib": "^2.3.0" - }, - "bin": { - "lessc": "bin/lessc" - }, - "engines": { - "node": ">=14" - }, - "optionalDependencies": { - "errno": "^0.1.1", - "graceful-fs": "^4.1.2", - "image-size": "~0.5.0", - "make-dir": "^2.1.0", - "mime": "^1.4.1", - "needle": "^3.1.0", - "source-map": "~0.6.0" - } - }, - "node_modules/less/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "license": "BSD-3-Clause", - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/lightningcss": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.30.2.tgz", - "integrity": "sha512-utfs7Pr5uJyyvDETitgsaqSyjCb2qNRAtuqUeWIAKztsOYdcACf2KtARYXg2pSvhkt+9NfoaNY7fxjl6nuMjIQ==", - "license": "MPL-2.0", - "dependencies": { - "detect-libc": "^2.0.3" - }, - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - }, - "optionalDependencies": { - "lightningcss-android-arm64": "1.30.2", - "lightningcss-darwin-arm64": "1.30.2", - "lightningcss-darwin-x64": "1.30.2", - "lightningcss-freebsd-x64": "1.30.2", - "lightningcss-linux-arm-gnueabihf": "1.30.2", - "lightningcss-linux-arm64-gnu": "1.30.2", - "lightningcss-linux-arm64-musl": "1.30.2", - "lightningcss-linux-x64-gnu": "1.30.2", - "lightningcss-linux-x64-musl": "1.30.2", - "lightningcss-win32-arm64-msvc": "1.30.2", - "lightningcss-win32-x64-msvc": "1.30.2" - } - }, - "node_modules/lightningcss-android-arm64": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.30.2.tgz", - "integrity": "sha512-BH9sEdOCahSgmkVhBLeU7Hc9DWeZ1Eb6wNS6Da8igvUwAe0sqROHddIlvU06q3WyXVEOYDZ6ykBZQnjTbmo4+A==", - "cpu": [ - "arm64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-darwin-arm64": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.30.2.tgz", - "integrity": "sha512-ylTcDJBN3Hp21TdhRT5zBOIi73P6/W0qwvlFEk22fkdXchtNTOU4Qc37SkzV+EKYxLouZ6M4LG9NfZ1qkhhBWA==", - "cpu": [ - "arm64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-darwin-x64": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.30.2.tgz", - "integrity": "sha512-oBZgKchomuDYxr7ilwLcyms6BCyLn0z8J0+ZZmfpjwg9fRVZIR5/GMXd7r9RH94iDhld3UmSjBM6nXWM2TfZTQ==", - "cpu": [ - "x64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-freebsd-x64": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.30.2.tgz", - "integrity": "sha512-c2bH6xTrf4BDpK8MoGG4Bd6zAMZDAXS569UxCAGcA7IKbHNMlhGQ89eRmvpIUGfKWNVdbhSbkQaWhEoMGmGslA==", - "cpu": [ - "x64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-linux-arm-gnueabihf": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.30.2.tgz", - "integrity": "sha512-eVdpxh4wYcm0PofJIZVuYuLiqBIakQ9uFZmipf6LF/HRj5Bgm0eb3qL/mr1smyXIS1twwOxNWndd8z0E374hiA==", - "cpu": [ - "arm" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-linux-arm64-gnu": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.30.2.tgz", - "integrity": "sha512-UK65WJAbwIJbiBFXpxrbTNArtfuznvxAJw4Q2ZGlU8kPeDIWEX1dg3rn2veBVUylA2Ezg89ktszWbaQnxD/e3A==", - "cpu": [ - "arm64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-linux-arm64-musl": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.30.2.tgz", - "integrity": "sha512-5Vh9dGeblpTxWHpOx8iauV02popZDsCYMPIgiuw97OJ5uaDsL86cnqSFs5LZkG3ghHoX5isLgWzMs+eD1YzrnA==", - "cpu": [ - "arm64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-linux-x64-gnu": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.30.2.tgz", - "integrity": "sha512-Cfd46gdmj1vQ+lR6VRTTadNHu6ALuw2pKR9lYq4FnhvgBc4zWY1EtZcAc6EffShbb1MFrIPfLDXD6Xprbnni4w==", - "cpu": [ - "x64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-linux-x64-musl": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.30.2.tgz", - "integrity": "sha512-XJaLUUFXb6/QG2lGIW6aIk6jKdtjtcffUT0NKvIqhSBY3hh9Ch+1LCeH80dR9q9LBjG3ewbDjnumefsLsP6aiA==", - "cpu": [ - "x64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-win32-arm64-msvc": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.30.2.tgz", - "integrity": "sha512-FZn+vaj7zLv//D/192WFFVA0RgHawIcHqLX9xuWiQt7P0PtdFEVaxgF9rjM/IRYHQXNnk61/H/gb2Ei+kUQ4xQ==", - "cpu": [ - "arm64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-win32-x64-msvc": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.30.2.tgz", - "integrity": "sha512-5g1yc73p+iAkid5phb4oVFMB45417DkRevRbt/El/gKXJk4jid+vPFF/AXbxn05Aky8PapwzZrdJShv5C0avjw==", - "cpu": [ - "x64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/listr2": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/listr2/-/listr2-9.0.1.tgz", - "integrity": "sha512-SL0JY3DaxylDuo/MecFeiC+7pedM0zia33zl0vcjgwcq1q1FWWF1To9EIauPbl8GbMCU0R2e0uJ8bZunhYKD2g==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "cli-truncate": "^4.0.0", - "colorette": "^2.0.20", - "eventemitter3": "^5.0.1", - "log-update": "^6.1.0", - "rfdc": "^1.4.1", - "wrap-ansi": "^9.0.0" - }, - "engines": { - "node": ">=20.0.0" - } - }, - "node_modules/listr2/node_modules/wrap-ansi": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", - "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^6.2.1", - "string-width": "^7.0.0", - "strip-ansi": "^7.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/lmdb": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-3.4.2.tgz", - "integrity": "sha512-nwVGUfTBUwJKXd6lRV8pFNfnrCC1+l49ESJRM19t/tFb/97QfJEixe5DYRvug5JO7DSFKoKaVy7oGMt5rVqZvg==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "dependencies": { - "msgpackr": "^1.11.2", - "node-addon-api": "^6.1.0", - "node-gyp-build-optional-packages": "5.2.2", - "ordered-binary": "^1.5.3", - "weak-lru-cache": "^1.2.2" - }, - "bin": { - "download-lmdb-prebuilds": "bin/download-prebuilds.js" - }, - "optionalDependencies": { - "@lmdb/lmdb-darwin-arm64": "3.4.2", - "@lmdb/lmdb-darwin-x64": "3.4.2", - "@lmdb/lmdb-linux-arm": "3.4.2", - "@lmdb/lmdb-linux-arm64": "3.4.2", - "@lmdb/lmdb-linux-x64": "3.4.2", - "@lmdb/lmdb-win32-arm64": "3.4.2", - "@lmdb/lmdb-win32-x64": "3.4.2" - } - }, - "node_modules/log-symbols": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-6.0.0.tgz", - "integrity": "sha512-i24m8rpwhmPIS4zscNzK6MSEhk0DUWa/8iYQWxhffV8jkI4Phvs3F+quL5xvS0gdQR0FyTCMMH33Y78dDTzzIw==", - "dev": true, - "license": "MIT", - "dependencies": { - "chalk": "^5.3.0", - "is-unicode-supported": "^1.3.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/log-symbols/node_modules/is-unicode-supported": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz", - "integrity": "sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/log-update": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/log-update/-/log-update-6.1.0.tgz", - "integrity": "sha512-9ie8ItPR6tjY5uYJh8K/Zrv/RMZ5VOlOWvtZdEHYSTFKZfIBPQa9tOAEeAWhd+AnIneLJ22w5fjOYtoutpWq5w==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-escapes": "^7.0.0", - "cli-cursor": "^5.0.0", - "slice-ansi": "^7.1.0", - "strip-ansi": "^7.1.0", - "wrap-ansi": "^9.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/log-update/node_modules/is-fullwidth-code-point": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-5.1.0.tgz", - "integrity": "sha512-5XHYaSyiqADb4RnZ1Bdad6cPp8Toise4TzEjcOYDHZkTCbKgiUl7WTUCpNWHuxmDt91wnsZBc9xinNzopv3JMQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "get-east-asian-width": "^1.3.1" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/log-update/node_modules/slice-ansi": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-7.1.2.tgz", - "integrity": "sha512-iOBWFgUX7caIZiuutICxVgX1SdxwAVFFKwt1EvMYYec/NWO5meOJ6K5uQxhrYBdQJne4KxiqZc+KptFOWFSI9w==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^6.2.1", - "is-fullwidth-code-point": "^5.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/chalk/slice-ansi?sponsor=1" - } - }, - "node_modules/log-update/node_modules/wrap-ansi": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", - "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^6.2.1", - "string-width": "^7.0.0", - "strip-ansi": "^7.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/lru-cache": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", - "dev": true, - "license": "ISC", - "dependencies": { - "yallist": "^3.0.2" - } - }, - "node_modules/magic-string": { - "version": "0.30.17", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.17.tgz", - "integrity": "sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.5.0" - } - }, - "node_modules/make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "pify": "^4.0.1", - "semver": "^5.6.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/make-dir/node_modules/semver": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", - "dev": true, - "license": "ISC", - "optional": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/make-fetch-happen": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-14.0.3.tgz", - "integrity": "sha512-QMjGbFTP0blj97EeidG5hk/QhKQ3T4ICckQGLgz38QF7Vgbk6e6FTARN8KhKxyBbWn8R0HU+bnw8aSoFPD4qtQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "@npmcli/agent": "^3.0.0", - "cacache": "^19.0.1", - "http-cache-semantics": "^4.1.1", - "minipass": "^7.0.2", - "minipass-fetch": "^4.0.0", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.4", - "negotiator": "^1.0.0", - "proc-log": "^5.0.0", - "promise-retry": "^2.0.1", - "ssri": "^12.0.0" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/math-intrinsics": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", - "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/media-typer": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.0.tgz", - "integrity": "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/merge-descriptors": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz", - "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/micromatch": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", - "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", - "license": "MIT", - "optional": true, - "dependencies": { - "braces": "^3.0.3", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/micromatch/node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "license": "MIT", - "optional": true, - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", - "dev": true, - "license": "MIT", - "optional": true, - "bin": { - "mime": "cli.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/mime-db": { - "version": "1.54.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", - "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.1.tgz", - "integrity": "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==", - "dev": true, - "license": "MIT", - "dependencies": { - "mime-db": "^1.54.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mimic-function": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/mimic-function/-/mimic-function-5.0.1.tgz", - "integrity": "sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/minipass": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", - "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, - "node_modules/minipass-collect": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-2.0.1.tgz", - "integrity": "sha512-D7V8PO9oaz7PWGLbCACuI1qEOsq7UKfLotx/C0Aet43fCUB/wfQ7DYeq2oR/svFJGYDHPr38SHATeaj/ZoKHKw==", - "dev": true, - "license": "ISC", - "dependencies": { - "minipass": "^7.0.3" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, - "node_modules/minipass-fetch": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-4.0.1.tgz", - "integrity": "sha512-j7U11C5HXigVuutxebFadoYBbd7VSdZWggSe64NVdvWNBqGAiXPL2QVCehjmw7lY1oF9gOllYbORh+hiNgfPgQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "minipass": "^7.0.3", - "minipass-sized": "^1.0.3", - "minizlib": "^3.0.1" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - }, - "optionalDependencies": { - "encoding": "^0.1.13" - } - }, - "node_modules/minipass-flush": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz", - "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==", - "dev": true, - "license": "ISC", - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/minipass-flush/node_modules/minipass": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", - "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", - "dev": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/minipass-flush/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true, - "license": "ISC" - }, - "node_modules/minipass-pipeline": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz", - "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==", - "dev": true, - "license": "ISC", - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/minipass-pipeline/node_modules/minipass": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", - "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", - "dev": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/minipass-pipeline/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true, - "license": "ISC" - }, - "node_modules/minipass-sized": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz", - "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==", - "dev": true, - "license": "ISC", - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/minipass-sized/node_modules/minipass": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", - "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", - "dev": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/minipass-sized/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true, - "license": "ISC" - }, - "node_modules/minizlib": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-3.1.0.tgz", - "integrity": "sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw==", - "dev": true, - "license": "MIT", - "dependencies": { - "minipass": "^7.1.2" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "dev": true, - "license": "MIT", - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/mrmime": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-2.0.1.tgz", - "integrity": "sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - } - }, - "node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true, - "license": "MIT" - }, - "node_modules/msgpackr": { - "version": "1.11.5", - "resolved": "https://registry.npmjs.org/msgpackr/-/msgpackr-1.11.5.tgz", - "integrity": "sha512-UjkUHN0yqp9RWKy0Lplhh+wlpdt9oQBYgULZOiFhV3VclSF1JnSQWZ5r9gORQlNYaUKQoR8itv7g7z1xDDuACA==", - "dev": true, - "license": "MIT", - "optional": true, - "optionalDependencies": { - "msgpackr-extract": "^3.0.2" - } - }, - "node_modules/msgpackr-extract": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/msgpackr-extract/-/msgpackr-extract-3.0.3.tgz", - "integrity": "sha512-P0efT1C9jIdVRefqjzOQ9Xml57zpOXnIuS+csaB4MdZbTdmGDLo8XhzBG1N7aO11gKDDkJvBLULeFTo46wwreA==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "dependencies": { - "node-gyp-build-optional-packages": "5.2.2" - }, - "bin": { - "download-msgpackr-prebuilds": "bin/download-prebuilds.js" - }, - "optionalDependencies": { - "@msgpackr-extract/msgpackr-extract-darwin-arm64": "3.0.3", - "@msgpackr-extract/msgpackr-extract-darwin-x64": "3.0.3", - "@msgpackr-extract/msgpackr-extract-linux-arm": "3.0.3", - "@msgpackr-extract/msgpackr-extract-linux-arm64": "3.0.3", - "@msgpackr-extract/msgpackr-extract-linux-x64": "3.0.3", - "@msgpackr-extract/msgpackr-extract-win32-x64": "3.0.3" - } - }, - "node_modules/mute-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-2.0.0.tgz", - "integrity": "sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==", - "dev": true, - "license": "ISC", - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/nanoid": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", - "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, - "node_modules/needle": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/needle/-/needle-3.3.1.tgz", - "integrity": "sha512-6k0YULvhpw+RoLNiQCRKOl09Rv1dPLr8hHnVjHqdolKwDrdNyk+Hmrthi4lIGPPz3r39dLx0hsF5s40sZ3Us4Q==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "iconv-lite": "^0.6.3", - "sax": "^1.2.4" - }, - "bin": { - "needle": "bin/needle" - }, - "engines": { - "node": ">= 4.4.x" - } - }, - "node_modules/needle/node_modules/iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/negotiator": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.0.0.tgz", - "integrity": "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/ng-zorro-antd": { - "version": "20.4.0", - "resolved": "https://registry.npmjs.org/ng-zorro-antd/-/ng-zorro-antd-20.4.0.tgz", - "integrity": "sha512-aAa8+sRQlMOaHuVJJTDA6lAudbYbepHlOurop9JniJjG0W/BMc6ayccf+EmL9d+x5uKVP82mHpD0wpwX3MJ0OA==", - "license": "MIT", - "dependencies": { - "@angular/cdk": "^20.0.0", - "@ant-design/icons-angular": "^20.0.0", - "@ctrl/tinycolor": "^3.6.0", - "date-fns": "^2.16.1", - "tslib": "^2.3.0" - }, - "peerDependencies": { - "@angular/animations": "^20.0.0", - "@angular/common": "^20.0.0", - "@angular/core": "^20.0.0", - "@angular/forms": "^20.0.0", - "@angular/platform-browser": "^20.0.0", - "@angular/router": "^20.0.0" - } - }, - "node_modules/node-addon-api": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-6.1.0.tgz", - "integrity": "sha512-+eawOlIgy680F0kBzPUNFhMZGtJ1YmqM6l4+Crf4IkImjYrO/mqPwRMh352g23uIaQKFItcQ64I7KMaJxHgAVA==", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/node-gyp": { - "version": "11.5.0", - "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-11.5.0.tgz", - "integrity": "sha512-ra7Kvlhxn5V9Slyus0ygMa2h+UqExPqUIkfk7Pc8QTLT956JLSy51uWFwHtIYy0vI8cB4BDhc/S03+880My/LQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "env-paths": "^2.2.0", - "exponential-backoff": "^3.1.1", - "graceful-fs": "^4.2.6", - "make-fetch-happen": "^14.0.3", - "nopt": "^8.0.0", - "proc-log": "^5.0.0", - "semver": "^7.3.5", - "tar": "^7.4.3", - "tinyglobby": "^0.2.12", - "which": "^5.0.0" - }, - "bin": { - "node-gyp": "bin/node-gyp.js" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/node-gyp-build-optional-packages": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.2.2.tgz", - "integrity": "sha512-s+w+rBWnpTMwSFbaE0UXsRlg7hU4FjekKU4eyAih5T8nJuNZT1nNsskXpxmeqSK9UzkBl6UgRlnKc8hz8IEqOw==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "detect-libc": "^2.0.1" - }, - "bin": { - "node-gyp-build-optional-packages": "bin.js", - "node-gyp-build-optional-packages-optional": "optional.js", - "node-gyp-build-optional-packages-test": "build-test.js" - } - }, - "node_modules/node-gyp/node_modules/chownr": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz", - "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==", - "dev": true, - "license": "BlueOak-1.0.0", - "engines": { - "node": ">=18" - } - }, - "node_modules/node-gyp/node_modules/isexe": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", - "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=16" - } - }, - "node_modules/node-gyp/node_modules/tar": { - "version": "7.5.2", - "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.2.tgz", - "integrity": "sha512-7NyxrTE4Anh8km8iEy7o0QYPs+0JKBTj5ZaqHg6B39erLg0qYXN3BijtShwbsNSvQ+LN75+KV+C4QR/f6Gwnpg==", - "dev": true, - "license": "BlueOak-1.0.0", - "dependencies": { - "@isaacs/fs-minipass": "^4.0.0", - "chownr": "^3.0.0", - "minipass": "^7.1.2", - "minizlib": "^3.1.0", - "yallist": "^5.0.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/node-gyp/node_modules/which": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/which/-/which-5.0.0.tgz", - "integrity": "sha512-JEdGzHwwkrbWoGOlIHqQ5gtprKGOenpDHpxE9zVR1bWbOtYRyPPHMe9FaP6x61CmNaTThSkb0DAJte5jD+DmzQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "isexe": "^3.1.1" - }, - "bin": { - "node-which": "bin/which.js" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/node-gyp/node_modules/yallist": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz", - "integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==", - "dev": true, - "license": "BlueOak-1.0.0", - "engines": { - "node": ">=18" - } - }, - "node_modules/node-releases": { - "version": "2.0.27", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.27.tgz", - "integrity": "sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==", - "dev": true, - "license": "MIT" - }, - "node_modules/nopt": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-8.1.0.tgz", - "integrity": "sha512-ieGu42u/Qsa4TFktmaKEwM6MQH0pOWnaB3htzh0JRtx84+Mebc0cbZYN5bC+6WTZ4+77xrL9Pn5m7CV6VIkV7A==", - "dev": true, - "license": "ISC", - "dependencies": { - "abbrev": "^3.0.0" - }, - "bin": { - "nopt": "bin/nopt.js" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/npm-bundled": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-4.0.0.tgz", - "integrity": "sha512-IxaQZDMsqfQ2Lz37VvyyEtKLe8FsRZuysmedy/N06TU1RyVppYKXrO4xIhR0F+7ubIBox6Q7nir6fQI3ej39iA==", - "dev": true, - "license": "ISC", - "dependencies": { - "npm-normalize-package-bin": "^4.0.0" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/npm-install-checks": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-7.1.2.tgz", - "integrity": "sha512-z9HJBCYw9Zr8BqXcllKIs5nI+QggAImbBdHphOzVYrz2CB4iQ6FzWyKmlqDZua+51nAu7FcemlbTc9VgQN5XDQ==", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "semver": "^7.1.1" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/npm-normalize-package-bin": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-4.0.0.tgz", - "integrity": "sha512-TZKxPvItzai9kN9H/TkmCtx/ZN/hvr3vUycjlfmH0ootY9yFBzNOpiXAdIn1Iteqsvk4lQn6B5PTrt+n6h8k/w==", - "dev": true, - "license": "ISC", - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/npm-package-arg": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-13.0.0.tgz", - "integrity": "sha512-+t2etZAGcB7TbbLHfDwooV9ppB2LhhcT6A+L9cahsf9mEUAoQ6CktLEVvEnpD0N5CkX7zJqnPGaFtoQDy9EkHQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "hosted-git-info": "^9.0.0", - "proc-log": "^5.0.0", - "semver": "^7.3.5", - "validate-npm-package-name": "^6.0.0" - }, - "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, - "node_modules/npm-packlist": { - "version": "10.0.3", - "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-10.0.3.tgz", - "integrity": "sha512-zPukTwJMOu5X5uvm0fztwS5Zxyvmk38H/LfidkOMt3gbZVCyro2cD/ETzwzVPcWZA3JOyPznfUN/nkyFiyUbxg==", - "dev": true, - "license": "ISC", - "dependencies": { - "ignore-walk": "^8.0.0", - "proc-log": "^6.0.0" - }, - "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, - "node_modules/npm-packlist/node_modules/proc-log": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-6.0.0.tgz", - "integrity": "sha512-KG/XsTDN901PNfPfAMmj6N/Ywg9tM+bHK8pAz+27fS4N4Pcr+4zoYBOcGSBu6ceXYNPxkLpa4ohtfxV1XcLAfA==", - "dev": true, - "license": "ISC", - "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, - "node_modules/npm-pick-manifest": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-10.0.0.tgz", - "integrity": "sha512-r4fFa4FqYY8xaM7fHecQ9Z2nE9hgNfJR+EmoKv0+chvzWkBcORX3r0FpTByP+CbOVJDladMXnPQGVN8PBLGuTQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "npm-install-checks": "^7.1.0", - "npm-normalize-package-bin": "^4.0.0", - "npm-package-arg": "^12.0.0", - "semver": "^7.3.5" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/npm-pick-manifest/node_modules/hosted-git-info": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-8.1.0.tgz", - "integrity": "sha512-Rw/B2DNQaPBICNXEm8balFz9a6WpZrkCGpcWFpy7nCj+NyhSdqXipmfvtmWt9xGfp0wZnBxB+iVpLmQMYt47Tw==", - "dev": true, - "license": "ISC", - "dependencies": { - "lru-cache": "^10.0.1" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/npm-pick-manifest/node_modules/lru-cache": { - "version": "10.4.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", - "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/npm-pick-manifest/node_modules/npm-package-arg": { - "version": "12.0.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-12.0.2.tgz", - "integrity": "sha512-f1NpFjNI9O4VbKMOlA5QoBq/vSQPORHcTZ2feJpFkTHJ9eQkdlmZEKSjcAhxTGInC7RlEyScT9ui67NaOsjFWA==", - "dev": true, - "license": "ISC", - "dependencies": { - "hosted-git-info": "^8.0.0", - "proc-log": "^5.0.0", - "semver": "^7.3.5", - "validate-npm-package-name": "^6.0.0" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/npm-registry-fetch": { - "version": "18.0.2", - "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-18.0.2.tgz", - "integrity": "sha512-LeVMZBBVy+oQb5R6FDV9OlJCcWDU+al10oKpe+nsvcHnG24Z3uM3SvJYKfGJlfGjVU8v9liejCrUR/M5HO5NEQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "@npmcli/redact": "^3.0.0", - "jsonparse": "^1.3.1", - "make-fetch-happen": "^14.0.0", - "minipass": "^7.0.2", - "minipass-fetch": "^4.0.0", - "minizlib": "^3.0.1", - "npm-package-arg": "^12.0.0", - "proc-log": "^5.0.0" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/npm-registry-fetch/node_modules/hosted-git-info": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-8.1.0.tgz", - "integrity": "sha512-Rw/B2DNQaPBICNXEm8balFz9a6WpZrkCGpcWFpy7nCj+NyhSdqXipmfvtmWt9xGfp0wZnBxB+iVpLmQMYt47Tw==", - "dev": true, - "license": "ISC", - "dependencies": { - "lru-cache": "^10.0.1" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/npm-registry-fetch/node_modules/lru-cache": { - "version": "10.4.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", - "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/npm-registry-fetch/node_modules/npm-package-arg": { - "version": "12.0.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-12.0.2.tgz", - "integrity": "sha512-f1NpFjNI9O4VbKMOlA5QoBq/vSQPORHcTZ2feJpFkTHJ9eQkdlmZEKSjcAhxTGInC7RlEyScT9ui67NaOsjFWA==", - "dev": true, - "license": "ISC", - "dependencies": { - "hosted-git-info": "^8.0.0", - "proc-log": "^5.0.0", - "semver": "^7.3.5", - "validate-npm-package-name": "^6.0.0" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/nth-check": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", - "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "boolbase": "^1.0.0" - }, - "funding": { - "url": "https://github.com/fb55/nth-check?sponsor=1" - } - }, - "node_modules/object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-inspect": { - "version": "1.13.4", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", - "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/on-finished": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", - "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", - "dev": true, - "license": "MIT", - "dependencies": { - "ee-first": "1.1.1" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dev": true, - "license": "ISC", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/onetime": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-7.0.0.tgz", - "integrity": "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "mimic-function": "^5.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ora": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/ora/-/ora-8.2.0.tgz", - "integrity": "sha512-weP+BZ8MVNnlCm8c0Qdc1WSWq4Qn7I+9CJGm7Qali6g44e/PUzbjNqJX5NJ9ljlNMosfJvg1fKEGILklK9cwnw==", - "dev": true, - "license": "MIT", - "dependencies": { - "chalk": "^5.3.0", - "cli-cursor": "^5.0.0", - "cli-spinners": "^2.9.2", - "is-interactive": "^2.0.0", - "is-unicode-supported": "^2.0.0", - "log-symbols": "^6.0.0", - "stdin-discarder": "^0.2.2", - "string-width": "^7.2.0", - "strip-ansi": "^7.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ordered-binary": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/ordered-binary/-/ordered-binary-1.6.0.tgz", - "integrity": "sha512-IQh2aMfMIDbPjI/8a3Edr+PiOpcsB7yo8NdW7aHWVaoR/pcDldunMvnnwbk/auPGqmKeAdxtZl7MHX/QmPwhvQ==", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/p-map": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.0.4.tgz", - "integrity": "sha512-tkAQEw8ysMzmkhgw8k+1U/iPhWNhykKnSk4Rd5zLoPJCuJaGRPo6YposrZgaxHKzDHdDWWZvE/Sk7hsL2X/CpQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/package-json-from-dist": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", - "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", - "dev": true, - "license": "BlueOak-1.0.0" - }, - "node_modules/pacote": { - "version": "21.0.0", - "resolved": "https://registry.npmjs.org/pacote/-/pacote-21.0.0.tgz", - "integrity": "sha512-lcqexq73AMv6QNLo7SOpz0JJoaGdS3rBFgF122NZVl1bApo2mfu+XzUBU/X/XsiJu+iUmKpekRayqQYAs+PhkA==", - "dev": true, - "license": "ISC", - "dependencies": { - "@npmcli/git": "^6.0.0", - "@npmcli/installed-package-contents": "^3.0.0", - "@npmcli/package-json": "^6.0.0", - "@npmcli/promise-spawn": "^8.0.0", - "@npmcli/run-script": "^9.0.0", - "cacache": "^19.0.0", - "fs-minipass": "^3.0.0", - "minipass": "^7.0.2", - "npm-package-arg": "^12.0.0", - "npm-packlist": "^10.0.0", - "npm-pick-manifest": "^10.0.0", - "npm-registry-fetch": "^18.0.0", - "proc-log": "^5.0.0", - "promise-retry": "^2.0.1", - "sigstore": "^3.0.0", - "ssri": "^12.0.0", - "tar": "^6.1.11" - }, - "bin": { - "pacote": "bin/index.js" - }, - "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, - "node_modules/pacote/node_modules/hosted-git-info": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-8.1.0.tgz", - "integrity": "sha512-Rw/B2DNQaPBICNXEm8balFz9a6WpZrkCGpcWFpy7nCj+NyhSdqXipmfvtmWt9xGfp0wZnBxB+iVpLmQMYt47Tw==", - "dev": true, - "license": "ISC", - "dependencies": { - "lru-cache": "^10.0.1" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/pacote/node_modules/lru-cache": { - "version": "10.4.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", - "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/pacote/node_modules/npm-package-arg": { - "version": "12.0.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-12.0.2.tgz", - "integrity": "sha512-f1NpFjNI9O4VbKMOlA5QoBq/vSQPORHcTZ2feJpFkTHJ9eQkdlmZEKSjcAhxTGInC7RlEyScT9ui67NaOsjFWA==", - "dev": true, - "license": "ISC", - "dependencies": { - "hosted-git-info": "^8.0.0", - "proc-log": "^5.0.0", - "semver": "^7.3.5", - "validate-npm-package-name": "^6.0.0" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/parse-node-version": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parse-node-version/-/parse-node-version-1.0.1.tgz", - "integrity": "sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==", - "devOptional": true, - "license": "MIT", - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/parse5": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-8.0.0.tgz", - "integrity": "sha512-9m4m5GSgXjL4AjumKzq1Fgfp3Z8rsvjRNbnkVwfu2ImRqE5D0LnY2QfDen18FSY9C573YU5XxSapdHZTZ2WolA==", - "license": "MIT", - "dependencies": { - "entities": "^6.0.0" - }, - "funding": { - "url": "https://github.com/inikulin/parse5?sponsor=1" - } - }, - "node_modules/parse5-html-rewriting-stream": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/parse5-html-rewriting-stream/-/parse5-html-rewriting-stream-8.0.0.tgz", - "integrity": "sha512-wzh11mj8KKkno1pZEu+l2EVeWsuKDfR5KNWZOTsslfUX8lPDZx77m9T0kIoAVkFtD1nx6YF8oh4BnPHvxMtNMw==", - "dev": true, - "license": "MIT", - "dependencies": { - "entities": "^6.0.0", - "parse5": "^8.0.0", - "parse5-sax-parser": "^8.0.0" - }, - "funding": { - "url": "https://github.com/inikulin/parse5?sponsor=1" - } - }, - "node_modules/parse5-html-rewriting-stream/node_modules/entities": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz", - "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=0.12" - }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, - "node_modules/parse5-sax-parser": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/parse5-sax-parser/-/parse5-sax-parser-8.0.0.tgz", - "integrity": "sha512-/dQ8UzHZwnrzs3EvDj6IkKrD/jIZyTlB+8XrHJvcjNgRdmWruNdN9i9RK/JtxakmlUdPwKubKPTCqvbTgzGhrw==", - "dev": true, - "license": "MIT", - "dependencies": { - "parse5": "^8.0.0" - }, - "funding": { - "url": "https://github.com/inikulin/parse5?sponsor=1" - } - }, - "node_modules/parse5/node_modules/entities": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz", - "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==", - "license": "BSD-2-Clause", - "engines": { - "node": ">=0.12" - }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, - "node_modules/parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true, - "license": "MIT" - }, - "node_modules/path-scurry": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", - "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", - "dev": true, - "license": "BlueOak-1.0.0", - "dependencies": { - "lru-cache": "^10.2.0", - "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" - }, - "engines": { - "node": ">=16 || 14 >=14.18" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/path-scurry/node_modules/lru-cache": { - "version": "10.4.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", - "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/path-to-regexp": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.3.0.tgz", - "integrity": "sha512-7jdwVIRtsP8MYpdXSwOS0YdD0Du+qOoF/AEPIt88PcCFrZCzx41oxku1jD88hZBwbNUIEfpqvuhjFaMAqMTWnA==", - "dev": true, - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/picocolors": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", - "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", - "license": "ISC" - }, - "node_modules/picomatch": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", - "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/piscina": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/piscina/-/piscina-5.1.3.tgz", - "integrity": "sha512-0u3N7H4+hbr40KjuVn2uNhOcthu/9usKhnw5vT3J7ply79v3D3M8naI00el9Klcy16x557VsEkkUQaHCWFXC/g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=20.x" - }, - "optionalDependencies": { - "@napi-rs/nice": "^1.0.4" - } - }, - "node_modules/pkce-challenge": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/pkce-challenge/-/pkce-challenge-5.0.0.tgz", - "integrity": "sha512-ueGLflrrnvwB3xuo/uGob5pd5FN7l0MsLf0Z87o/UQmRtwjvfylfc9MurIxRAWywCYTgrvpXBcqjV4OfCYGCIQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=16.20.0" - } - }, - "node_modules/postcss": { - "version": "8.5.6", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz", - "integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "nanoid": "^3.3.11", - "picocolors": "^1.1.1", - "source-map-js": "^1.2.1" - }, - "engines": { - "node": "^10 || ^12 || >=14" - } - }, - "node_modules/postcss-media-query-parser": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/postcss-media-query-parser/-/postcss-media-query-parser-0.2.3.tgz", - "integrity": "sha512-3sOlxmbKcSHMjlUXQZKQ06jOswE7oVkXPxmZdoB1r5l0q6gTFTQSHxNxOrCccElbW7dxNytifNEo8qidX2Vsig==", - "dev": true, - "license": "MIT" - }, - "node_modules/proc-log": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-5.0.0.tgz", - "integrity": "sha512-Azwzvl90HaF0aCz1JrDdXQykFakSSNPaPoiZ9fm5qJIMHioDZEi7OAdRwSm6rSoPtY3Qutnm3L7ogmg3dc+wbQ==", - "dev": true, - "license": "ISC", - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/promise-retry": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz", - "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==", - "dev": true, - "license": "MIT", - "dependencies": { - "err-code": "^2.0.2", - "retry": "^0.12.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/proxy-addr": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", - "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", - "dev": true, - "license": "MIT", - "dependencies": { - "forwarded": "0.2.0", - "ipaddr.js": "1.9.1" - }, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/prr": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", - "integrity": "sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/punycode": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", - "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/qs": { - "version": "6.14.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz", - "integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "side-channel": "^1.1.0" - }, - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/raw-body": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.1.tgz", - "integrity": "sha512-9G8cA+tuMS75+6G/TzW8OtLzmBDMo8p1JRxN5AZ+LAp8uxGA8V8GZm4GQ4/N5QNQEnLmg6SS7wyuSmbKepiKqA==", - "dev": true, - "license": "MIT", - "dependencies": { - "bytes": "3.1.2", - "http-errors": "2.0.0", - "iconv-lite": "0.7.0", - "unpipe": "1.0.0" - }, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/readdirp": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz", - "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==", - "devOptional": true, - "license": "MIT", - "engines": { - "node": ">= 14.18.0" - }, - "funding": { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/reflect-metadata": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.2.2.tgz", - "integrity": "sha512-urBwgfrvVP/eAyXx4hluJivBKzuEbSQs9rKWCrCkbSxNv8mxPcUZKeuoF3Uy4mJl3Lwprp6yy5/39VWigZ4K6Q==", - "dev": true, - "license": "Apache-2.0" - }, - "node_modules/require-from-string": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/resolve": { - "version": "1.22.10", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz", - "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-core-module": "^2.16.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/restore-cursor": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-5.1.0.tgz", - "integrity": "sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==", - "dev": true, - "license": "MIT", - "dependencies": { - "onetime": "^7.0.0", - "signal-exit": "^4.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/retry": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", - "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, - "node_modules/rfdc": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.4.1.tgz", - "integrity": "sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==", - "dev": true, - "license": "MIT" - }, - "node_modules/rollup": { - "version": "4.52.3", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.52.3.tgz", - "integrity": "sha512-RIDh866U8agLgiIcdpB+COKnlCreHJLfIhWC3LVflku5YHfpnsIKigRZeFfMfCc4dVcqNVfQQ5gO/afOck064A==", - "license": "MIT", - "dependencies": { - "@types/estree": "1.0.8" - }, - "bin": { - "rollup": "dist/bin/rollup" - }, - "engines": { - "node": ">=18.0.0", - "npm": ">=8.0.0" - }, - "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.52.3", - "@rollup/rollup-android-arm64": "4.52.3", - "@rollup/rollup-darwin-arm64": "4.52.3", - "@rollup/rollup-darwin-x64": "4.52.3", - "@rollup/rollup-freebsd-arm64": "4.52.3", - "@rollup/rollup-freebsd-x64": "4.52.3", - "@rollup/rollup-linux-arm-gnueabihf": "4.52.3", - "@rollup/rollup-linux-arm-musleabihf": "4.52.3", - "@rollup/rollup-linux-arm64-gnu": "4.52.3", - "@rollup/rollup-linux-arm64-musl": "4.52.3", - "@rollup/rollup-linux-loong64-gnu": "4.52.3", - "@rollup/rollup-linux-ppc64-gnu": "4.52.3", - "@rollup/rollup-linux-riscv64-gnu": "4.52.3", - "@rollup/rollup-linux-riscv64-musl": "4.52.3", - "@rollup/rollup-linux-s390x-gnu": "4.52.3", - "@rollup/rollup-linux-x64-gnu": "4.52.3", - "@rollup/rollup-linux-x64-musl": "4.52.3", - "@rollup/rollup-openharmony-arm64": "4.52.3", - "@rollup/rollup-win32-arm64-msvc": "4.52.3", - "@rollup/rollup-win32-ia32-msvc": "4.52.3", - "@rollup/rollup-win32-x64-gnu": "4.52.3", - "@rollup/rollup-win32-x64-msvc": "4.52.3", - "fsevents": "~2.3.2" - } - }, - "node_modules/router": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/router/-/router-2.2.0.tgz", - "integrity": "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "^4.4.0", - "depd": "^2.0.0", - "is-promise": "^4.0.0", - "parseurl": "^1.3.3", - "path-to-regexp": "^8.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/rxjs": { - "version": "7.8.2", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz", - "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "tslib": "^2.1.0" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "dev": true, - "license": "MIT" - }, - "node_modules/sass": { - "version": "1.90.0", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.90.0.tgz", - "integrity": "sha512-9GUyuksjw70uNpb1MTYWsH9MQHOHY6kwfnkafC24+7aOMZn9+rVMBxRbLvw756mrBFbIsFg6Xw9IkR2Fnn3k+Q==", - "devOptional": true, - "license": "MIT", - "peer": true, - "dependencies": { - "chokidar": "^4.0.0", - "immutable": "^5.0.2", - "source-map-js": ">=0.6.2 <2.0.0" - }, - "bin": { - "sass": "sass.js" - }, - "engines": { - "node": ">=14.0.0" - }, - "optionalDependencies": { - "@parcel/watcher": "^2.4.1" - } - }, - "node_modules/sax": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.4.3.tgz", - "integrity": "sha512-yqYn1JhPczigF94DMS+shiDMjDowYO6y9+wB/4WgO0Y19jWYk0lQ4tuG5KI7kj4FTp1wxPj5IFfcrz/s1c3jjQ==", - "dev": true, - "license": "BlueOak-1.0.0", - "optional": true - }, - "node_modules/semver": { - "version": "7.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", - "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/send": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/send/-/send-1.2.0.tgz", - "integrity": "sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "^4.3.5", - "encodeurl": "^2.0.0", - "escape-html": "^1.0.3", - "etag": "^1.8.1", - "fresh": "^2.0.0", - "http-errors": "^2.0.0", - "mime-types": "^3.0.1", - "ms": "^2.1.3", - "on-finished": "^2.4.1", - "range-parser": "^1.2.1", - "statuses": "^2.0.1" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/serve-static": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.0.tgz", - "integrity": "sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "encodeurl": "^2.0.0", - "escape-html": "^1.0.3", - "parseurl": "^1.3.3", - "send": "^1.2.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/setprototypeof": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", - "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", - "dev": true, - "license": "ISC" - }, - "node_modules/shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, - "license": "MIT", - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/side-channel": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", - "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "object-inspect": "^1.13.3", - "side-channel-list": "^1.0.0", - "side-channel-map": "^1.0.1", - "side-channel-weakmap": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/side-channel-list": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz", - "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "object-inspect": "^1.13.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/side-channel-map": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", - "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.5", - "object-inspect": "^1.13.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/side-channel-weakmap": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", - "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.5", - "object-inspect": "^1.13.3", - "side-channel-map": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/sigstore": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/sigstore/-/sigstore-3.1.0.tgz", - "integrity": "sha512-ZpzWAFHIFqyFE56dXqgX/DkDRZdz+rRcjoIk/RQU4IX0wiCv1l8S7ZrXDHcCc+uaf+6o7w3h2l3g6GYG5TKN9Q==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@sigstore/bundle": "^3.1.0", - "@sigstore/core": "^2.0.0", - "@sigstore/protobuf-specs": "^0.4.0", - "@sigstore/sign": "^3.1.0", - "@sigstore/tuf": "^3.1.0", - "@sigstore/verify": "^2.1.0" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/slice-ansi": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz", - "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^6.0.0", - "is-fullwidth-code-point": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/slice-ansi?sponsor=1" - } - }, - "node_modules/smart-buffer": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", - "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 6.0.0", - "npm": ">= 3.0.0" - } - }, - "node_modules/socks": { - "version": "2.8.7", - "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.7.tgz", - "integrity": "sha512-HLpt+uLy/pxB+bum/9DzAgiKS8CX1EvbWxI4zlmgGCExImLdiad2iCwXT5Z4c9c3Eq8rP2318mPW2c+QbtjK8A==", - "dev": true, - "license": "MIT", - "dependencies": { - "ip-address": "^10.0.1", - "smart-buffer": "^4.2.0" - }, - "engines": { - "node": ">= 10.0.0", - "npm": ">= 3.0.0" - } - }, - "node_modules/socks-proxy-agent": { - "version": "8.0.5", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.5.tgz", - "integrity": "sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw==", - "dev": true, - "license": "MIT", - "dependencies": { - "agent-base": "^7.1.2", - "debug": "^4.3.4", - "socks": "^2.8.3" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/source-map": { - "version": "0.7.6", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.6.tgz", - "integrity": "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">= 12" - } - }, - "node_modules/source-map-js": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", - "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-support": { - "version": "0.5.21", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", - "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", - "dev": true, - "license": "MIT", - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "node_modules/source-map-support/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/spdx-correct": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", - "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" - } - }, - "node_modules/spdx-exceptions": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz", - "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==", - "dev": true, - "license": "CC-BY-3.0" - }, - "node_modules/spdx-expression-parse": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" - } - }, - "node_modules/spdx-license-ids": { - "version": "3.0.22", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.22.tgz", - "integrity": "sha512-4PRT4nh1EImPbt2jASOKHX7PB7I+e4IWNLvkKFDxNhJlfjbYlleYQh285Z/3mPTHSAK/AvdMmw5BNNuYH8ShgQ==", - "dev": true, - "license": "CC0-1.0" - }, - "node_modules/ssri": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-12.0.0.tgz", - "integrity": "sha512-S7iGNosepx9RadX82oimUkvr0Ct7IjJbEbs4mJcTxst8um95J3sDYU1RBEOvdu6oL1Wek2ODI5i4MAw+dZ6cAQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "minipass": "^7.0.3" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/statuses": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", - "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/stdin-discarder": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.2.2.tgz", - "integrity": "sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/string-width": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", - "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "emoji-regex": "^10.3.0", - "get-east-asian-width": "^1.0.0", - "strip-ansi": "^7.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/string-width-cjs": { - "name": "string-width", - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/string-width-cjs/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/string-width-cjs/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true, - "license": "MIT" - }, - "node_modules/string-width-cjs/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/string-width-cjs/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz", - "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^6.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, - "node_modules/strip-ansi-cjs": { - "name": "strip-ansi", - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/tailwindcss": { - "version": "4.1.17", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.1.17.tgz", - "integrity": "sha512-j9Ee2YjuQqYT9bbRTfTZht9W/ytp5H+jJpZKiYdP/bpnXARAuELt9ofP0lPnmHjbga7SNQIxdTAXCmtKVYjN+Q==", - "license": "MIT" - }, - "node_modules/tapable": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.0.tgz", - "integrity": "sha512-g9ljZiwki/LfxmQADO3dEY1CbpmXT5Hm2fJ+QaGKwSXUylMybePR7/67YW7jOrrvjEgL1Fmz5kzyAjWVWLlucg==", - "license": "MIT", - "engines": { - "node": ">=6" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/tar": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.1.tgz", - "integrity": "sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==", - "dev": true, - "license": "ISC", - "dependencies": { - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "minipass": "^5.0.0", - "minizlib": "^2.1.1", - "mkdirp": "^1.0.3", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/tar/node_modules/fs-minipass": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", - "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", - "dev": true, - "license": "ISC", - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/tar/node_modules/fs-minipass/node_modules/minipass": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", - "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", - "dev": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/tar/node_modules/minipass": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", - "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=8" - } - }, - "node_modules/tar/node_modules/minizlib": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", - "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", - "dev": true, - "license": "MIT", - "dependencies": { - "minipass": "^3.0.0", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/tar/node_modules/minizlib/node_modules/minipass": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", - "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", - "dev": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/tar/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true, - "license": "ISC" - }, - "node_modules/tinyglobby": { - "version": "0.2.14", - "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.14.tgz", - "integrity": "sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "fdir": "^6.4.4", - "picomatch": "^4.0.2" - }, - "engines": { - "node": ">=12.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/SuperchupuDev" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "license": "MIT", - "optional": true, - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/toidentifier": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", - "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/tslib": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", - "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", - "license": "0BSD", - "peer": true - }, - "node_modules/tuf-js": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/tuf-js/-/tuf-js-3.1.0.tgz", - "integrity": "sha512-3T3T04WzowbwV2FDiGXBbr81t64g1MUGGJRgT4x5o97N+8ArdhVCAF9IxFrxuSJmM3E5Asn7nKHkao0ibcZXAg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@tufjs/models": "3.0.1", - "debug": "^4.4.1", - "make-fetch-happen": "^14.0.3" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/type-is": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.0.1.tgz", - "integrity": "sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==", - "dev": true, - "license": "MIT", - "dependencies": { - "content-type": "^1.0.5", - "media-typer": "^1.1.0", - "mime-types": "^3.0.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/typescript": { - "version": "5.9.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", - "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", - "dev": true, - "license": "Apache-2.0", - "peer": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, - "node_modules/unique-filename": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-4.0.0.tgz", - "integrity": "sha512-XSnEewXmQ+veP7xX2dS5Q4yZAvO40cBN2MWkJ7D/6sW4Dg6wYBNwM1Vrnz1FhH5AdeLIlUXRI9e28z1YZi71NQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "unique-slug": "^5.0.0" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/unique-slug": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-5.0.0.tgz", - "integrity": "sha512-9OdaqO5kwqR+1kVgHAhsp5vPNU0hnxRa26rBFNfNgM7M6pNtgzeBn3s/xbyCQL3dcjzOatcef6UUHpB/6MaETg==", - "dev": true, - "license": "ISC", - "dependencies": { - "imurmurhash": "^0.1.4" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/update-browserslist-db": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.4.tgz", - "integrity": "sha512-q0SPT4xyU84saUX+tomz1WLkxUbuaJnR1xWt17M7fJtEJigJeWUNGUqrauFXsHnqev9y9JTRGwk13tFBuKby4A==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "escalade": "^3.2.0", - "picocolors": "^1.1.1" - }, - "bin": { - "update-browserslist-db": "cli.js" - }, - "peerDependencies": { - "browserslist": ">= 4.21.0" - } - }, - "node_modules/uri-js": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "punycode": "^2.1.0" - } - }, - "node_modules/validate-npm-package-license": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" - } - }, - "node_modules/validate-npm-package-name": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-6.0.2.tgz", - "integrity": "sha512-IUoow1YUtvoBBC06dXs8bR8B9vuA3aJfmQNKMoaPG/OFsPmoQvw8xh+6Ye25Gx9DQhoEom3Pcu9MKHerm/NpUQ==", - "dev": true, - "license": "ISC", - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/vite": { - "version": "7.1.11", - "resolved": "https://registry.npmjs.org/vite/-/vite-7.1.11.tgz", - "integrity": "sha512-uzcxnSDVjAopEUjljkWh8EIrg6tlzrjFUfMcR1EVsRDGwf/ccef0qQPRyOrROwhrTDaApueq+ja+KLPlzR/zdg==", - "license": "MIT", - "peer": true, - "dependencies": { - "esbuild": "^0.25.0", - "fdir": "^6.5.0", - "picomatch": "^4.0.3", - "postcss": "^8.5.6", - "rollup": "^4.43.0", - "tinyglobby": "^0.2.15" - }, - "bin": { - "vite": "bin/vite.js" - }, - "engines": { - "node": "^20.19.0 || >=22.12.0" - }, - "funding": { - "url": "https://github.com/vitejs/vite?sponsor=1" - }, - "optionalDependencies": { - "fsevents": "~2.3.3" - }, - "peerDependencies": { - "@types/node": "^20.19.0 || >=22.12.0", - "jiti": ">=1.21.0", - "less": "^4.0.0", - "lightningcss": "^1.21.0", - "sass": "^1.70.0", - "sass-embedded": "^1.70.0", - "stylus": ">=0.54.8", - "sugarss": "^5.0.0", - "terser": "^5.16.0", - "tsx": "^4.8.1", - "yaml": "^2.4.2" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - }, - "jiti": { - "optional": true - }, - "less": { - "optional": true - }, - "lightningcss": { - "optional": true - }, - "sass": { - "optional": true - }, - "sass-embedded": { - "optional": true - }, - "stylus": { - "optional": true - }, - "sugarss": { - "optional": true - }, - "terser": { - "optional": true - }, - "tsx": { - "optional": true - }, - "yaml": { - "optional": true - } - } - }, - "node_modules/vite/node_modules/tinyglobby": { - "version": "0.2.15", - "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.15.tgz", - "integrity": "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==", - "license": "MIT", - "dependencies": { - "fdir": "^6.5.0", - "picomatch": "^4.0.3" - }, - "engines": { - "node": ">=12.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/SuperchupuDev" - } - }, - "node_modules/watchpack": { - "version": "2.4.4", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.4.tgz", - "integrity": "sha512-c5EGNOiyxxV5qmTtAB7rbiXxi1ooX1pQKMLX/MIabJjRA0SJBQOjKF+KSVfHkr9U1cADPon0mRiVe/riyaiDUA==", - "dev": true, - "license": "MIT", - "dependencies": { - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.1.2" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/weak-lru-cache": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/weak-lru-cache/-/weak-lru-cache-1.2.2.tgz", - "integrity": "sha512-DEAoo25RfSYMuTGc9vPJzZcZullwIqRDSI9LOy+fkCJPi6hykCnfKaXTuPBDuXAUcqHXyOgFtHNp/kB2FjYHbw==", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "license": "ISC", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/wrap-ansi": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi-cjs": { - "name": "wrap-ansi", - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true, - "license": "MIT" - }, - "node_modules/wrap-ansi-cjs/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi-cjs/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/wrap-ansi/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true, - "license": "MIT" - }, - "node_modules/wrap-ansi/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=10" - } - }, - "node_modules/yallist": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", - "dev": true, - "license": "ISC" - }, - "node_modules/yargs": { - "version": "18.0.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-18.0.0.tgz", - "integrity": "sha512-4UEqdc2RYGHZc7Doyqkrqiln3p9X2DZVxaGbwhn2pi7MrRagKaOcIKe8L3OxYcbhXLgLFUS3zAYuQjKBQgmuNg==", - "dev": true, - "license": "MIT", - "dependencies": { - "cliui": "^9.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "string-width": "^7.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^22.0.0" - }, - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=23" - } - }, - "node_modules/yargs-parser": { - "version": "22.0.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz", - "integrity": "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==", - "dev": true, - "license": "ISC", - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=23" - } - }, - "node_modules/yoctocolors-cjs": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/yoctocolors-cjs/-/yoctocolors-cjs-2.1.3.tgz", - "integrity": "sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/zod": { - "version": "3.25.76", - "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz", - "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", - "dev": true, - "license": "MIT", - "peer": true, - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } - }, - "node_modules/zod-to-json-schema": { - "version": "3.24.6", - "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.24.6.tgz", - "integrity": "sha512-h/z3PKvcTcTetyjl1fkj79MHNEjm+HpD6NXheWjzOekY7kV+lwDYnHw+ivHkijnCSMz1yJaWBD9vu/Fcmk+vEg==", - "dev": true, - "license": "ISC", - "peerDependencies": { - "zod": "^3.24.1" - } - }, - "node_modules/zone.js": { - "version": "0.15.1", - "resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.15.1.tgz", - "integrity": "sha512-XE96n56IQpJM7NAoXswY3XRLcWFW83xe0BiAOeMD7K5k5xecOeul3Qcpx6GqEeeHNkW5DWL5zOyTbEfB4eti8w==", - "license": "MIT", - "peer": true - } - } -} diff --git a/pyrofetes/pyrofetes-frontend/package.json b/pyrofetes/pyrofetes-frontend/package.json deleted file mode 100644 index 4ec4df3..0000000 --- a/pyrofetes/pyrofetes-frontend/package.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "pyrofetes-frontend", - "version": "0.0.0", - "scripts": { - "ng": "ng", - "start": "ng serve", - "build": "ng build", - "watch": "ng build --watch --configuration development" - }, - "prettier": { - "printWidth": 100, - "singleQuote": true, - "overrides": [ - { - "files": "*.html", - "options": { - "parser": "angular" - } - } - ] - }, - "private": true, - "dependencies": { - "@angular/common": "^20.3.0", - "@angular/compiler": "^20.3.0", - "@angular/core": "^20.3.0", - "@angular/forms": "^20.3.0", - "@angular/platform-browser": "^20.3.0", - "@angular/router": "^20.3.0", - "@tailwindcss/vite": "^4.1.17", - "ng-zorro-antd": "^20.4.0", - "rxjs": "~7.8.0", - "tailwindcss": "^4.1.17", - "tslib": "^2.3.0", - "zone.js": "~0.15.0" - }, - "devDependencies": { - "@angular/build": "^20.3.9", - "@angular/cli": "^20.3.9", - "@angular/compiler-cli": "^20.3.0", - "less": "^4.2.0", - "typescript": "~5.9.2" - } -} diff --git a/pyrofetes/pyrofetes-frontend/public/favicon.ico b/pyrofetes/pyrofetes-frontend/public/favicon.ico deleted file mode 100644 index 57614f9c967596fad0a3989bec2b1deff33034f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15086 zcmd^G33O9Omi+`8$@{|M-I6TH3wzF-p5CV8o}7f~KxR60LK+ApEFB<$bcciv%@SmA zV{n>g85YMFFeU*Uvl=i4v)C*qgnb;$GQ=3XTe9{Y%c`mO%su)noNCCQ*@t1WXn|B(hQ7i~ zrUK8|pUkD6#lNo!bt$6)jR!&C?`P5G(`e((P($RaLeq+o0Vd~f11;qB05kdbAOm?r zXv~GYr_sibQO9NGTCdT;+G(!{4Xs@4fPak8#L8PjgJwcs-Mm#nR_Z0s&u?nDX5^~@ z+A6?}g0|=4e_LoE69pPFO`yCD@BCjgKpzMH0O4Xs{Ahc?K3HC5;l=f zg>}alhBXX&);z$E-wai+9TTRtBX-bWYY@cl$@YN#gMd~tM_5lj6W%8ah4;uZ;jP@Q zVbuel1rPA?2@x9Y+u?e`l{Z4ngfG5q5BLH5QsEu4GVpt{KIp1?U)=3+KQ;%7ec8l* zdV=zZgN5>O3G(3L2fqj3;oBbZZw$Ij@`Juz@?+yy#OPw)>#wsTewVgTK9BGt5AbZ&?K&B3GVF&yu?@(Xj3fR3n+ZP0%+wo)D9_xp>Z$`A4 zfV>}NWjO#3lqumR0`gvnffd9Ka}JJMuHS&|55-*mCD#8e^anA<+sFZVaJe7{=p*oX zE_Uv?1>e~ga=seYzh{9P+n5<+7&9}&(kwqSaz;1aD|YM3HBiy<))4~QJSIryyqp| z8nGc(8>3(_nEI4n)n7j(&d4idW1tVLjZ7QbNLXg;LB ziHsS5pXHEjGJZb59KcvS~wv;uZR-+4qEqow`;JCfB*+b^UL^3!?;-^F%yt=VjU|v z39SSqKcRu_NVvz!zJzL0CceJaS6%!(eMshPv_0U5G`~!a#I$qI5Ic(>IONej@aH=f z)($TAT#1I{iCS4f{D2+ApS=$3E7}5=+y(rA9mM#;Cky%b*Gi0KfFA`ofKTzu`AV-9 znW|y@19rrZ*!N2AvDi<_ZeR3O2R{#dh1#3-d%$k${Rx42h+i&GZo5!C^dSL34*AKp z27mTd>k>?V&X;Nl%GZ(>0s`1UN~Hfyj>KPjtnc|)xM@{H_B9rNr~LuH`Gr5_am&Ep zTjZA8hljNj5H1Ipm-uD9rC}U{-vR!eay5&6x6FkfupdpT*84MVwGpdd(}ib)zZ3Ky z7C$pnjc82(W_y_F{PhYj?o!@3__UUvpX)v69aBSzYj3 zdi}YQkKs^SyXyFG2LTRz9{(w}y~!`{EuAaUr6G1M{*%c+kP1olW9z23dSH!G4_HSK zzae-DF$OGR{ofP*!$a(r^5Go>I3SObVI6FLY)N@o<*gl0&kLo-OT{Tl*7nCz>Iq=? zcigIDHtj|H;6sR?or8Wd_a4996GI*CXGU}o;D9`^FM!AT1pBY~?|4h^61BY#_yIfO zKO?E0 zJ{Pc`9rVEI&$xxXu`<5E)&+m(7zX^v0rqofLs&bnQT(1baQkAr^kEsk)15vlzAZ-l z@OO9RF<+IiJ*O@HE256gCt!bF=NM*vh|WVWmjVawcNoksRTMvR03H{p@cjwKh(CL4 z7_PB(dM=kO)!s4fW!1p0f93YN@?ZSG` z$B!JaAJCtW$B97}HNO9(x-t30&E}Mo1UPi@Av%uHj~?T|!4JLwV;KCx8xO#b9IlUW zI6+{a@Wj|<2Y=U;a@vXbxqZNngH8^}LleE_4*0&O7#3iGxfJ%Id>+sb;7{L=aIic8 z|EW|{{S)J-wr@;3PmlxRXU8!e2gm_%s|ReH!reFcY8%$Hl4M5>;6^UDUUae?kOy#h zk~6Ee_@ZAn48Bab__^bNmQ~+k=02jz)e0d9Z3>G?RGG!65?d1>9}7iG17?P*=GUV-#SbLRw)Hu{zx*azHxWkGNTWl@HeWjA?39Ia|sCi{e;!^`1Oec zb>Z|b65OM*;eC=ZLSy?_fg$&^2xI>qSLA2G*$nA3GEnp3$N-)46`|36m*sc#4%C|h zBN<2U;7k>&G_wL4=Ve5z`ubVD&*Hxi)r@{4RCDw7U_D`lbC(9&pG5C*z#W>8>HU)h z!h3g?2UL&sS!oY5$3?VlA0Me9W5e~V;2jds*fz^updz#AJ%G8w2V}AEE?E^=MK%Xt z__Bx1cr7+DQmuHmzn*|hh%~eEc9@m05@clWfpEFcr+06%0&dZJH&@8^&@*$qR@}o3 z@Tuuh2FsLz^zH+dN&T&?0G3I?MpmYJ;GP$J!EzjeM#YLJ!W$}MVNb0^HfOA>5Fe~UNn%Zk(PT@~9}1dt)1UQ zU*B5K?Dl#G74qmg|2>^>0WtLX#Jz{lO4NT`NYB*(L#D|5IpXr9v&7a@YsGp3vLR7L zHYGHZg7{ie6n~2p$6Yz>=^cEg7tEgk-1YRl%-s7^cbqFb(U7&Dp78+&ut5!Tn(hER z|Gp4Ed@CnOPeAe|N>U(dB;SZ?NU^AzoD^UAH_vamp6Ws}{|mSq`^+VP1g~2B{%N-!mWz<`)G)>V-<`9`L4?3dM%Qh6<@kba+m`JS{Ya@9Fq*m6$$ zA1%Ogc~VRH33|S9l%CNb4zM%k^EIpqY}@h{w(aBcJ9c05oiZx#SK9t->5lSI`=&l~ z+-Ic)a{FbBhXV$Xt!WRd`R#Jk-$+_Z52rS>?Vpt2IK<84|E-SBEoIw>cs=a{BlQ7O z-?{Fy_M&84&9|KM5wt~)*!~i~E=(6m8(uCO)I=)M?)&sRbzH$9Rovzd?ZEY}GqX+~ zFbEbLz`BZ49=2Yh-|<`waK-_4!7`ro@zlC|r&I4fc4oyb+m=|c8)8%tZ-z5FwhzDt zL5kB@u53`d@%nHl0Sp)Dw`(QU&>vujEn?GPEXUW!Wi<+4e%BORl&BIH+SwRcbS}X@ z01Pk|vA%OdJKAs17zSXtO55k!;%m9>1eW9LnyAX4uj7@${O6cfii`49qTNItzny5J zH&Gj`e}o}?xjQ}r?LrI%FjUd@xflT3|7LA|ka%Q3i}a8gVm<`HIWoJGH=$EGClX^C0lysQJ>UO(q&;`T#8txuoQ_{l^kEV9CAdXuU1Ghg8 zN_6hHFuy&1x24q5-(Z7;!poYdt*`UTdrQOIQ!2O7_+AHV2hgXaEz7)>$LEdG z<8vE^Tw$|YwZHZDPM!SNOAWG$?J)MdmEk{U!!$M#fp7*Wo}jJ$Q(=8>R`Ats?e|VU?Zt7Cdh%AdnfyN3MBWw{ z$OnREvPf7%z6`#2##_7id|H%Y{vV^vWXb?5d5?a_y&t3@p9t$ncHj-NBdo&X{wrfJ zamN)VMYROYh_SvjJ=Xd!Ga?PY_$;*L=SxFte!4O6%0HEh%iZ4=gvns7IWIyJHa|hT z2;1+e)`TvbNb3-0z&DD_)Jomsg-7p_Uh`wjGnU1urmv1_oVqRg#=C?e?!7DgtqojU zWoAB($&53;TsXu^@2;8M`#z{=rPy?JqgYM0CDf4v@z=ZD|ItJ&8%_7A#K?S{wjxgd z?xA6JdJojrWpB7fr2p_MSsU4(R7=XGS0+Eg#xR=j>`H@R9{XjwBmqAiOxOL` zt?XK-iTEOWV}f>Pz3H-s*>W z4~8C&Xq25UQ^xH6H9kY_RM1$ch+%YLF72AA7^b{~VNTG}Tj#qZltz5Q=qxR`&oIlW Nr__JTFzvMr^FKp4S3v*( diff --git a/pyrofetes/pyrofetes-frontend/src/app/app.config.ts b/pyrofetes/pyrofetes-frontend/src/app/app.config.ts deleted file mode 100644 index 010986a..0000000 --- a/pyrofetes/pyrofetes-frontend/src/app/app.config.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { ApplicationConfig, provideBrowserGlobalErrorListeners, provideZoneChangeDetection } from '@angular/core'; -import { provideRouter } from '@angular/router'; - -import { routes } from './app.routes'; -import { fr_FR, provideNzI18n } from 'ng-zorro-antd/i18n'; -import { registerLocaleData } from '@angular/common'; -import fr from '@angular/common/locales/fr'; -import { provideAnimationsAsync } from '@angular/platform-browser/animations/async'; -import { provideHttpClient } from '@angular/common/http'; - -registerLocaleData(fr); - -export const appConfig: ApplicationConfig = { - providers: [ - provideBrowserGlobalErrorListeners(), - provideZoneChangeDetection({ eventCoalescing: true }), - provideRouter(routes), provideNzI18n(fr_FR), provideAnimationsAsync(), provideHttpClient() - ] -}; diff --git a/pyrofetes/pyrofetes-frontend/src/app/app.css b/pyrofetes/pyrofetes-frontend/src/app/app.css deleted file mode 100644 index 73a1c7e..0000000 --- a/pyrofetes/pyrofetes-frontend/src/app/app.css +++ /dev/null @@ -1,46 +0,0 @@ -:host { - display: flex; -} - -.app-layout { - height: 100vh; -} - -.top-nav { - line-height: 64px; -} - -.logo { - float: left; - height: 64px; - padding-right: 24px; - line-height: 64px; - background: #001529; -} - -.logo img { - display: inline-block; - height: 32px; - width: 32px; - vertical-align: middle; -} - -.logo h1 { - display: inline-block; - margin: 0 0 0 15px; - color: #fff; - font-weight: 600; - font-size: 20px; - font-family: Avenir,Helvetica Neue,Arial,Helvetica,sans-serif; - vertical-align: middle; -} - -nz-content { - padding: 24px 50px; -} - -.inner-content { - padding: 24px; - background: #fff; - height: 100%; -} diff --git a/pyrofetes/pyrofetes-frontend/src/app/app.html b/pyrofetes/pyrofetes-frontend/src/app/app.html deleted file mode 100644 index 8f2b8dc..0000000 --- a/pyrofetes/pyrofetes-frontend/src/app/app.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - -
- -
-
-
diff --git a/pyrofetes/pyrofetes-frontend/src/app/app.routes.ts b/pyrofetes/pyrofetes-frontend/src/app/app.routes.ts deleted file mode 100644 index 107dbfe..0000000 --- a/pyrofetes/pyrofetes-frontend/src/app/app.routes.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Routes } from '@angular/router'; - -export const routes: Routes = [ - { - path: '', - pathMatch: 'full', - redirectTo: '/welcome' - }, - { - path: 'welcome', - loadComponent: () => import('./pages/welcome/welcome').then(x => x.Welcome) - }, - { - path: 'stock', - loadComponent: () => import('./pages/stock/stock').then(x => x.Stock) - }, - { - path: 'supplier', - loadComponent: () => import('./pages/supplier/supplier').then(x => x.Supplier) - }, - { - path: 'deliverer', - loadComponent: () => import('./pages/deliverer/deliverer').then(x => x.Deliverer) - }, - { - path: 'quotation', - loadComponent: () => import('./pages/quotation/quotation').then(x => x.Quotation) - }, - { - path: 'purchase-order', - loadComponent: () => import('./pages/purchase-order/purchase-order').then(x => x.PurchaseOrder) - }, - { - path: 'delivery-note', - loadComponent: () => import('./pages/delivery-note/delivery-note').then(x => x.DeliveryNote) - }, - { - path: 'user', - loadComponent: () => import('./pages/user/user').then(x => x.User) - } -]; diff --git a/pyrofetes/pyrofetes-frontend/src/app/app.ts b/pyrofetes/pyrofetes-frontend/src/app/app.ts deleted file mode 100644 index fa98bea..0000000 --- a/pyrofetes/pyrofetes-frontend/src/app/app.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { Component } from '@angular/core'; -import {RouterLink, RouterLinkActive, RouterOutlet} from '@angular/router'; -import { NzLayoutModule } from 'ng-zorro-antd/layout'; -import { NzMenuModule } from 'ng-zorro-antd/menu'; -import {NzFlexDirective} from "ng-zorro-antd/flex"; -import {NzIconDirective} from "ng-zorro-antd/icon"; - -@Component({ - selector: 'app-root', - imports: [RouterOutlet, NzLayoutModule, NzMenuModule, NzFlexDirective, NzIconDirective, RouterLinkActive, RouterLink], - templateUrl: './app.html', - styleUrl: './app.css' -}) -export class App {} diff --git a/pyrofetes/pyrofetes-frontend/src/app/pages/deliverer/deliverer.css b/pyrofetes/pyrofetes-frontend/src/app/pages/deliverer/deliverer.css deleted file mode 100644 index e69de29..0000000 diff --git a/pyrofetes/pyrofetes-frontend/src/app/pages/deliverer/deliverer.html b/pyrofetes/pyrofetes-frontend/src/app/pages/deliverer/deliverer.html deleted file mode 100644 index fd81883..0000000 --- a/pyrofetes/pyrofetes-frontend/src/app/pages/deliverer/deliverer.html +++ /dev/null @@ -1 +0,0 @@ -

deliverer works!

diff --git a/pyrofetes/pyrofetes-frontend/src/app/pages/deliverer/deliverer.ts b/pyrofetes/pyrofetes-frontend/src/app/pages/deliverer/deliverer.ts deleted file mode 100644 index 9e36ced..0000000 --- a/pyrofetes/pyrofetes-frontend/src/app/pages/deliverer/deliverer.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Component } from '@angular/core'; - -@Component({ - selector: 'app-deliverer', - imports: [], - templateUrl: './deliverer.html', - styleUrl: './deliverer.css', -}) -export class Deliverer { - -} diff --git a/pyrofetes/pyrofetes-frontend/src/app/pages/delivery-note/delivery-note.css b/pyrofetes/pyrofetes-frontend/src/app/pages/delivery-note/delivery-note.css deleted file mode 100644 index e69de29..0000000 diff --git a/pyrofetes/pyrofetes-frontend/src/app/pages/delivery-note/delivery-note.html b/pyrofetes/pyrofetes-frontend/src/app/pages/delivery-note/delivery-note.html deleted file mode 100644 index 736e266..0000000 --- a/pyrofetes/pyrofetes-frontend/src/app/pages/delivery-note/delivery-note.html +++ /dev/null @@ -1 +0,0 @@ -

delivery-note works!

diff --git a/pyrofetes/pyrofetes-frontend/src/app/pages/delivery-note/delivery-note.ts b/pyrofetes/pyrofetes-frontend/src/app/pages/delivery-note/delivery-note.ts deleted file mode 100644 index cd3d99e..0000000 --- a/pyrofetes/pyrofetes-frontend/src/app/pages/delivery-note/delivery-note.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Component } from '@angular/core'; - -@Component({ - selector: 'app-delivery-note', - imports: [], - templateUrl: './delivery-note.html', - styleUrl: './delivery-note.css', -}) -export class DeliveryNote { - -} diff --git a/pyrofetes/pyrofetes-frontend/src/app/pages/purchase-order/purchase-order.css b/pyrofetes/pyrofetes-frontend/src/app/pages/purchase-order/purchase-order.css deleted file mode 100644 index e69de29..0000000 diff --git a/pyrofetes/pyrofetes-frontend/src/app/pages/purchase-order/purchase-order.html b/pyrofetes/pyrofetes-frontend/src/app/pages/purchase-order/purchase-order.html deleted file mode 100644 index f6376c5..0000000 --- a/pyrofetes/pyrofetes-frontend/src/app/pages/purchase-order/purchase-order.html +++ /dev/null @@ -1 +0,0 @@ -

purchase-order works!

diff --git a/pyrofetes/pyrofetes-frontend/src/app/pages/purchase-order/purchase-order.ts b/pyrofetes/pyrofetes-frontend/src/app/pages/purchase-order/purchase-order.ts deleted file mode 100644 index 574ce64..0000000 --- a/pyrofetes/pyrofetes-frontend/src/app/pages/purchase-order/purchase-order.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Component } from '@angular/core'; - -@Component({ - selector: 'app-purchase-order', - imports: [], - templateUrl: './purchase-order.html', - styleUrl: './purchase-order.css', -}) -export class PurchaseOrder { - -} diff --git a/pyrofetes/pyrofetes-frontend/src/app/pages/quotation/quotation.css b/pyrofetes/pyrofetes-frontend/src/app/pages/quotation/quotation.css deleted file mode 100644 index e69de29..0000000 diff --git a/pyrofetes/pyrofetes-frontend/src/app/pages/quotation/quotation.html b/pyrofetes/pyrofetes-frontend/src/app/pages/quotation/quotation.html deleted file mode 100644 index e7b7112..0000000 --- a/pyrofetes/pyrofetes-frontend/src/app/pages/quotation/quotation.html +++ /dev/null @@ -1 +0,0 @@ -

quotation works!

diff --git a/pyrofetes/pyrofetes-frontend/src/app/pages/quotation/quotation.ts b/pyrofetes/pyrofetes-frontend/src/app/pages/quotation/quotation.ts deleted file mode 100644 index 2a2136d..0000000 --- a/pyrofetes/pyrofetes-frontend/src/app/pages/quotation/quotation.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Component } from '@angular/core'; - -@Component({ - selector: 'app-quotation', - imports: [], - templateUrl: './quotation.html', - styleUrl: './quotation.css', -}) -export class Quotation { - -} diff --git a/pyrofetes/pyrofetes-frontend/src/app/pages/stock/stock.css b/pyrofetes/pyrofetes-frontend/src/app/pages/stock/stock.css deleted file mode 100644 index e69de29..0000000 diff --git a/pyrofetes/pyrofetes-frontend/src/app/pages/stock/stock.html b/pyrofetes/pyrofetes-frontend/src/app/pages/stock/stock.html deleted file mode 100644 index a46e7f2..0000000 --- a/pyrofetes/pyrofetes-frontend/src/app/pages/stock/stock.html +++ /dev/null @@ -1 +0,0 @@ -

stock works!

diff --git a/pyrofetes/pyrofetes-frontend/src/app/pages/stock/stock.ts b/pyrofetes/pyrofetes-frontend/src/app/pages/stock/stock.ts deleted file mode 100644 index 2ab1ba4..0000000 --- a/pyrofetes/pyrofetes-frontend/src/app/pages/stock/stock.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Component } from '@angular/core'; - -@Component({ - selector: 'app-stock', - imports: [], - templateUrl: './stock.html', - styleUrl: './stock.css', -}) -export class Stock { - -} diff --git a/pyrofetes/pyrofetes-frontend/src/app/pages/supplier/supplier.css b/pyrofetes/pyrofetes-frontend/src/app/pages/supplier/supplier.css deleted file mode 100644 index e69de29..0000000 diff --git a/pyrofetes/pyrofetes-frontend/src/app/pages/supplier/supplier.html b/pyrofetes/pyrofetes-frontend/src/app/pages/supplier/supplier.html deleted file mode 100644 index 572d871..0000000 --- a/pyrofetes/pyrofetes-frontend/src/app/pages/supplier/supplier.html +++ /dev/null @@ -1 +0,0 @@ -

supplier works!

diff --git a/pyrofetes/pyrofetes-frontend/src/app/pages/supplier/supplier.ts b/pyrofetes/pyrofetes-frontend/src/app/pages/supplier/supplier.ts deleted file mode 100644 index 744f113..0000000 --- a/pyrofetes/pyrofetes-frontend/src/app/pages/supplier/supplier.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Component } from '@angular/core'; - -@Component({ - selector: 'app-supplier', - imports: [], - templateUrl: './supplier.html', - styleUrl: './supplier.css', -}) -export class Supplier { - -} diff --git a/pyrofetes/pyrofetes-frontend/src/app/pages/user/user.css b/pyrofetes/pyrofetes-frontend/src/app/pages/user/user.css deleted file mode 100644 index e69de29..0000000 diff --git a/pyrofetes/pyrofetes-frontend/src/app/pages/user/user.html b/pyrofetes/pyrofetes-frontend/src/app/pages/user/user.html deleted file mode 100644 index d039bb7..0000000 --- a/pyrofetes/pyrofetes-frontend/src/app/pages/user/user.html +++ /dev/null @@ -1 +0,0 @@ -

user works!

diff --git a/pyrofetes/pyrofetes-frontend/src/app/pages/user/user.ts b/pyrofetes/pyrofetes-frontend/src/app/pages/user/user.ts deleted file mode 100644 index ad839b1..0000000 --- a/pyrofetes/pyrofetes-frontend/src/app/pages/user/user.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Component } from '@angular/core'; - -@Component({ - selector: 'app-user', - imports: [], - templateUrl: './user.html', - styleUrl: './user.css', -}) -export class User { - -} diff --git a/pyrofetes/pyrofetes-frontend/src/app/pages/welcome/welcome.css b/pyrofetes/pyrofetes-frontend/src/app/pages/welcome/welcome.css deleted file mode 100644 index e69de29..0000000 diff --git a/pyrofetes/pyrofetes-frontend/src/app/pages/welcome/welcome.html b/pyrofetes/pyrofetes-frontend/src/app/pages/welcome/welcome.html deleted file mode 100644 index 608dfe6..0000000 --- a/pyrofetes/pyrofetes-frontend/src/app/pages/welcome/welcome.html +++ /dev/null @@ -1 +0,0 @@ -

welcome works!

\ No newline at end of file diff --git a/pyrofetes/pyrofetes-frontend/src/app/pages/welcome/welcome.routes.ts b/pyrofetes/pyrofetes-frontend/src/app/pages/welcome/welcome.routes.ts deleted file mode 100644 index b1857b5..0000000 --- a/pyrofetes/pyrofetes-frontend/src/app/pages/welcome/welcome.routes.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { Routes } from '@angular/router'; -import { Welcome } from './welcome'; - -export const WELCOME_ROUTES: Routes = [ - { path: '', component: Welcome }, -]; diff --git a/pyrofetes/pyrofetes-frontend/src/app/pages/welcome/welcome.ts b/pyrofetes/pyrofetes-frontend/src/app/pages/welcome/welcome.ts deleted file mode 100644 index 92e8bde..0000000 --- a/pyrofetes/pyrofetes-frontend/src/app/pages/welcome/welcome.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Component } from '@angular/core'; - -@Component({ - selector: 'app-welcome', - imports: [], - templateUrl: './welcome.html', - styleUrl: './welcome.css' -}) -export class Welcome {} diff --git a/pyrofetes/pyrofetes-frontend/src/index.html b/pyrofetes/pyrofetes-frontend/src/index.html deleted file mode 100644 index 4570243..0000000 --- a/pyrofetes/pyrofetes-frontend/src/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - PyrofetesFrontend - - - - - - - - diff --git a/pyrofetes/pyrofetes-frontend/src/main.ts b/pyrofetes/pyrofetes-frontend/src/main.ts deleted file mode 100644 index 5df75f9..0000000 --- a/pyrofetes/pyrofetes-frontend/src/main.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { bootstrapApplication } from '@angular/platform-browser'; -import { appConfig } from './app/app.config'; -import { App } from './app/app'; - -bootstrapApplication(App, appConfig) - .catch((err) => console.error(err)); diff --git a/pyrofetes/pyrofetes-frontend/src/styles.css b/pyrofetes/pyrofetes-frontend/src/styles.css deleted file mode 100644 index fdfd9fe..0000000 --- a/pyrofetes/pyrofetes-frontend/src/styles.css +++ /dev/null @@ -1,4 +0,0 @@ -/* You can add global styles to this file, and also import other style files */ -@layer theme, base, components, utilities; -@import "tailwindcss/theme.css" layer(theme); -@import "tailwindcss/utilities.css" layer(utilities) important; diff --git a/pyrofetes/pyrofetes-frontend/src/theme.less b/pyrofetes/pyrofetes-frontend/src/theme.less deleted file mode 100644 index ecf2541..0000000 --- a/pyrofetes/pyrofetes-frontend/src/theme.less +++ /dev/null @@ -1,9 +0,0 @@ - -// Custom Theming for NG-ZORRO -// For more information: https://ng.ant.design/docs/customize-theme/en -@import "../node_modules/ng-zorro-antd/ng-zorro-antd.less"; - -// Override less variables to here -// View all variables: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/components/style/themes/default.less - -// @primary-color: #1890ff; diff --git a/pyrofetes/pyrofetes-frontend/tsconfig.app.json b/pyrofetes/pyrofetes-frontend/tsconfig.app.json deleted file mode 100644 index 264f459..0000000 --- a/pyrofetes/pyrofetes-frontend/tsconfig.app.json +++ /dev/null @@ -1,15 +0,0 @@ -/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ -/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./out-tsc/app", - "types": [] - }, - "include": [ - "src/**/*.ts" - ], - "exclude": [ - "src/**/*.spec.ts" - ] -} diff --git a/pyrofetes/pyrofetes-frontend/tsconfig.json b/pyrofetes/pyrofetes-frontend/tsconfig.json deleted file mode 100644 index 6f21335..0000000 --- a/pyrofetes/pyrofetes-frontend/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ -/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ -{ - "compileOnSave": false, - "compilerOptions": { - "skipLibCheck": true, - "isolatedModules": true, - "experimentalDecorators": true, - "importHelpers": true, - "target": "ES2022", - "module": "preserve" - }, - "angularCompilerOptions": { - "enableI18nLegacyMessageIdFormat": false - }, - "files": [], - "references": [ - { - "path": "./tsconfig.app.json" - } - ] -}