diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..715f745 Binary files /dev/null and b/.DS_Store differ diff --git a/client/app/routes/products/components/modals/product-modal.tsx b/client/app/routes/products/components/modals/product-modal.tsx index 6512073..f3ee4a4 100644 --- a/client/app/routes/products/components/modals/product-modal.tsx +++ b/client/app/routes/products/components/modals/product-modal.tsx @@ -97,7 +97,7 @@ export default function ProductModal({ const watchedImages = form.watch("images"); const watchedTags = form.watch("tags"); - const conditions = ["New", "Like New", "Good", "Fair", "Poor"]; + const conditions = ["New", "Used - like new", "Used - good", "Used - fair"]; const handleImageUpload = (e: React.ChangeEvent) => { const files = e.target.files; diff --git a/server/src/modules/products/dtos/create-product.dto.ts b/server/src/modules/products/dtos/create-product.dto.ts index e7c8b07..2b1bece 100644 --- a/server/src/modules/products/dtos/create-product.dto.ts +++ b/server/src/modules/products/dtos/create-product.dto.ts @@ -1,10 +1,8 @@ import { Product } from '@/entities/product.entity'; import { SystemLang } from '@/system/lang/system.lang'; import { IsUniqueInDatabase } from '@/system/validators/decorators/is-unique-in-database.decorator'; -import { IsValidBase64Image } from '@/system/validators/decorators/is-valid-base64-image'; import { Type } from 'class-transformer'; import { - ArrayMinSize, ArrayNotEmpty, IsArray, IsNumber,