This commit is contained in:
Your Name committed 2026-10-03 08:15:21 +07:00
1 parent 91dacd20ce
commit 27cc56abaf
14 files changed
+1757 -35

No files matched your search

+33 -1
View File
@@ -28,12 +28,44 @@ export interface CategoryMedia {
sortOrder?: number
}
export interface CategoryFeaturedSeries {
enabled: boolean
badge?: string
title?: string
subtitle?: string
description?: string
ctaText?: string
ctaUrl?: string
imageUrl?: string
actionImageUrl?: string
features?: string[]
}
export interface CategoryUspBenefit {
icon?: string
title: string
description?: string
}
export interface CategoryFilterConfig {
showCategoryNav?: boolean // Toggle Category Pills Bar
showSeries?: boolean
showType?: boolean
showColor?: boolean
showFitment?: boolean
showPrice?: boolean
showStock?: boolean
}
export interface Category {
id: number
name: TranslatableString
imageUrl?: string | null
media?: CategoryMedia[]
layoutType?: 'split_showcase' | 'editorial_hero' | 'dense_catalog' | string | null
layoutType?: 'split_showcase' | 'editorial_hero' | 'dense_catalog' | 'none' | string | null
featuredSeries?: CategoryFeaturedSeries | null
uspBenefits?: CategoryUspBenefit[] | null
filterConfig?: CategoryFilterConfig | null
_count?: { products: number }
translations?: { langCode: string; name: string }[]
createdAt?: string