Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | /**
* 收藏相关类型定义
*/
/**
* 猫粮收藏
*/
export interface CatfoodFavorite {
id: string;
catfoodId: string;
catfood: {
id: string;
name: string;
brand: string;
imageUrl?: string;
score?: number;
barcode?: string;
crudeProtein?: number;
crudeFat?: number;
carbohydrates?: number;
crudeFiber?: number;
crudeAsh?: number;
others?: number;
percentData?: {
protein?: number;
fat?: number;
carbohydrates?: number;
fiber?: number;
ash?: number;
others?: number;
};
[key: string]: any;
};
createdAt: string;
favoriteId?: string;
favoritedAt?: string;
}
/**
* AI 报告收藏
*/
export interface ReportFavorite {
id: number;
reportId: number;
report: {
id: number;
catfoodName: string;
createdAt: string;
[key: string]: any;
};
createdAt: string;
}
|