This commit is contained in:
2026-09-19 16:59:15 +03:30
parent 663d0a36aa
commit 0d113611cb
198 changed files with 2491 additions and 944 deletions
+20
View File
@@ -0,0 +1,20 @@
import { apiRequest } from './http'
export type ProductSuggestionDto = {
id: string
productId: string
productName: string
productCode: string
catalogName?: string
catalogCode?: string
color?: string
subtitle?: string
imageUrl?: string
isNew?: boolean
note?: string
createdAt: string
}
export async function fetchMySuggestions(): Promise<ProductSuggestionDto[]> {
return apiRequest<ProductSuggestionDto[]>('/suggestions/me')
}