change UI & fix bugs
This commit is contained in:
+29
-1
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user