This commit is contained in:
Your Name committed 2026-10-15 06:19:05 +07:00
1 parent f5893c3fad
commit 570810acdb
8 files changed
+65875 -6

No files matched your search

+12
View File
@@ -1,9 +1,20 @@
import { z } from "zod";
export interface BrandTranslation {
id?: number
brandId?: number
langCode: string
name: string
}
export interface Brand {
id: number
name: string
description?: string | null
translations?: BrandTranslation[]
_count?: {
products?: number
}
}
export const CATEGORY_MEDIA_ROLES = [
@@ -239,6 +250,7 @@ export interface Product {
price: number | null
categoryId: number
category: Category
brandId?: number
brand: Brand
options?: Array<{ name: TranslatableString; values: TranslatableString[] }> | null
variants: Variant[]