fix: resolve backend TS compilation errors, startup order, and add clipboard paste upload

- Fix products.service.ts: ingredients -> ingredientList (Prisma relation name)
- Fix seed-blogs.ts: template literal refactor (array join) to avoid esbuild parse error
- Fix seed-custom.ts: category string -> connectOrCreate relation
- Add start-dev.js: sequential startup (backend first, then frontends)
- Add Ctrl+V paste upload to admin MediaSelector component
- Create missing images/vets/ and images/slider/ directories
This commit is contained in:
parsa aghaei committed 2026-07-11 13:51:12 +03:30
1 parent 0ea6c6d271
commit cd17a532d9
6 files changed
+153 -50

No files matched your search

+2 -2
View File
@@ -35,7 +35,7 @@ export class ProductsService {
take: limit,
orderBy: { [sortBy]: sortOrder },
include: {
ingredients: true,
ingredientList: true,
symptoms: true,
},
}),
@@ -58,7 +58,7 @@ export class ProductsService {
return this.prisma.product.findFirst({
where: isUuid ? { id: idOrSlug } : { slug: idOrSlug },
include: {
ingredients: true,
ingredientList: true,
symptoms: true,
},
});