1 Star 0 Fork 5

極丶热晒/redbook

forked from jsjxsy/redbook 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
typings.d.ts 1.53 KB
一键复制 编辑 原始数据 按行查看 历史
jsjxsy 提交于 2024-05-16 17:50 +08:00 . 完成个人页面部分
declare module '*.png';
declare module '*.webp';
declare module '*.json';
type UserInfo = {
name: string;
avatar: string;
desc: string;
sex: string;
redBookId: number;
location: string;
nickName: string;
};
type ArticleSimple = {
id: number;
title: string;
userName: string;
avatarUrl: string;
favoriteCount: number;
isFavorite: boolean;
image: string;
};
type Category = {
name: string;
default: boolean;
isAdd: boolean;
};
type ArticleComment = {
userName: string;
avatarUrl: string;
message: string;
dateTime: string;
location: string;
favoriteCount: number;
isFavorite: boolean;
children?: ArticleComment[];
};
type Article = {
id: number;
title: string;
desc: string;
tag: string[];
dateTime: string;
location: string;
userId: number;
userName: string;
isFollow: boolean;
avatarUrl: string;
images: string[];
favoriteCount: number;
collectionCount: number;
isFavorite: boolean;
isCollection: boolean;
comments?: ArticleComment[];
};
type GoodsSimple = {
id: number;
title: string;
image: string;
price: number;
originPrice: number | undefined;
promotion: string | undefined;
};
type GoodsCategory = {
id: number;
name: string;
image: string;
};
type MessageListItem = {
id: number;
name: lastMessage;
avatarUrl: string;
lastMessage?: string;
lastMessageTime?: string;
};
type UnRead = {
unreadFavorate: number;
newFollow: number;
comment: number;
};
type AccountInfo = {
followCount: number;
fans: number;
favorateCount: number;
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wangyunlong_1011/redbook.git
git@gitee.com:wangyunlong_1011/redbook.git
wangyunlong_1011
redbook
redbook
main

搜索帮助