first commit

This commit is contained in:
Admin 2025-08-12 15:17:31 +07:00
parent 1e339c08db
commit e28e37e62e
3 changed files with 1 additions and 3 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@ -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<HTMLInputElement>) => {
const files = e.target.files;

View File

@ -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,