Files
meida/puton-master/src/interface.ts
T
2026-08-19 21:48:12 +08:00

55 lines
1015 B
TypeScript

import { MenuEnum } from '@/enum/MenuEnum'
export type IClothType =
| 'topCloth'
| 'bottomCloth'
| 'dress'
| 'suit'
| 'hair'
| 'figure'
| 'underwear'
export type IClotheInfo = {
suitList?: [IClotheInfo, IClotheInfo]
clothId: string
fileUrl: string
isHas: 'yes' | 'no'
clothType: IClothType
thumbnailFileUrl: string
fileStatus: 'disable' | 'enable'
buyLink: string | null
}
export type IClotheList = IClotheInfo[]
export type iGenderOptions = 'male' | 'female'
export type IModelInfo = {
fileUrl: string
id: string
thumbnailFileUrl: string
}
export type IMainNav = MenuEnum.CLOTHES_LIBRARY | MenuEnum.MY_WARDROBE
export type ISubNav =
| MenuEnum.ALL
| MenuEnum.UPPER_OUTER_GARMENT
| MenuEnum.BOTTOMS
| MenuEnum.DRESS
| MenuEnum.SUIT
| MenuEnum.HAIRSTYLE
| MenuEnum.FIGURE
| MenuEnum.UNDERWEAR
export type INavStatus = {
mainNav: IMainNav
subNav: ISubNav
}
export type IRoomInfo = {
roomId: string | number
roomName: string
createTime?: string
}