x
This commit is contained in:
1 parent
f5893c3fad
commit
570810acdb
8 files changed
+65875
-6
No files matched your search
@@ -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[]
|
||||
|
||||
Reference in new issue
Block a user