Blame view

src/type.d.ts 708 Bytes
sanmu authored
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { Category } from './type.d'
export interface Category {
  name: string
  imageUrl: string
  id: string
}

export interface CategoryRootType {
  categoryDisplayName: string
  list: Category[]
}

export interface Product {
  name: string
  id: string
  imageUrl: string
sanmu authored
17
18
19
20
21
22
23
24
25
26
27
  basename1: string
  basename2: string
  basename2: string
  basecore1: string
  basecore2: string
  basecore3: string
  model: string
  brandName: string
  physicalproperty: string
  storage: string
  productimageliststore: ProductImage[]
sanmu authored
28
29
30
31
32
33
34
35
}

export interface ProductListQuery {
  productCategoryId: string
  keyword?: string
  pageNo: number
  pageSize: number
}
sanmu authored
36
37
38
39
40

export interface ProductImage {
  url: string
  fileKey: string
}