change UI & fix bugs

This commit is contained in:
2026-09-14 16:10:30 +03:30
parent 33a3828aaf
commit a349526385
78 changed files with 1214 additions and 506 deletions
+29 -1
View File
@@ -173,7 +173,7 @@ export type CreateProductPayload = {
widthCm?: number | null
weightGrams?: number | null
isNew?: boolean
colorsJson?: string[]
colorsJson?: Array<string | { name: string; imageUrl?: string }>
imageUrlsJson?: string[]
tagsJson?: string[]
}
@@ -439,6 +439,28 @@ export type SystemSettings = {
supportPhone: string | null
supportEmail: string | null
categoryImagesJson?: Record<string, string>
categoryDefsJson?: {
usage: Array<{
id: string
title: string
subtitle: string
showTitle?: boolean
showSubtitle?: boolean
showIcon?: boolean
icon?: string
}>
seasons: Array<{
id: string
title: string
description: string
showTitle?: boolean
showDescription?: boolean
showCta?: boolean
showIcon?: boolean
ctaLabel?: string
icon?: string
}>
}
updatedAt: string
}
@@ -531,6 +553,9 @@ export type AppBanner = {
imageUrl: string
displayOrder: number
isActive: boolean
showTitle?: boolean
showSubtitle?: boolean
showCta?: boolean
}
export type BannerPayload = {
@@ -542,6 +567,9 @@ export type BannerPayload = {
imageUrl?: string | null
displayOrder?: number
isActive?: boolean
showTitle?: boolean
showSubtitle?: boolean
showCta?: boolean
}
export const bannersApi = {