feat: 增加存储详情功能
This commit is contained in:
4
src/type/index.ts
Normal file
4
src/type/index.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export interface IStats {
|
||||
name: string;
|
||||
value: number
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
export interface IProfile {
|
||||
name: string
|
||||
gender: 'male' | 'female' | ''
|
||||
height: number | null
|
||||
weight: number | null
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
export interface IHealthRecord {
|
||||
id: string
|
||||
type: string
|
||||
time: string
|
||||
date?: string
|
||||
[key: string]: any
|
||||
}
|
||||
|
||||
export interface IRecordMeta {
|
||||
icon: string
|
||||
label: string
|
||||
color: string
|
||||
}
|
||||
|
||||
export interface IRecordStats {
|
||||
label: string
|
||||
type: 'default' | 'primary' | 'success' | 'warning' | 'danger' | 'volcano' | 'lightblue' | 'cyan' | 'pink' | 'purple'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user