You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
1.3 KiB
75 lines
1.3 KiB
export type tabKeyType = 'articles' | 'applications' | 'projects';
|
|
export interface TagType {
|
|
key: string;
|
|
label: string;
|
|
}
|
|
|
|
export type GeographicType = {
|
|
province: {
|
|
label: string;
|
|
key: string;
|
|
};
|
|
city: {
|
|
label: string;
|
|
key: string;
|
|
};
|
|
};
|
|
|
|
export type NoticeType = {
|
|
id: string;
|
|
title: string;
|
|
logo: string;
|
|
description: string;
|
|
updatedAt: string;
|
|
member: string;
|
|
href: string;
|
|
memberLink: string;
|
|
};
|
|
|
|
export type CurrentUser = {
|
|
name: string;
|
|
avatar: string;
|
|
userid: string;
|
|
notice: NoticeType[];
|
|
email: string;
|
|
signature: string;
|
|
title: string;
|
|
group: string;
|
|
tags: TagType[];
|
|
notifyCount: number;
|
|
unreadCount: number;
|
|
country: string;
|
|
geographic: GeographicType;
|
|
address: string;
|
|
phone: string;
|
|
};
|
|
|
|
export type Member = {
|
|
avatar: string;
|
|
name: string;
|
|
id: string;
|
|
};
|
|
|
|
export type ListItemDataType = {
|
|
id: string;
|
|
owner: string;
|
|
title: string;
|
|
avatar: string;
|
|
cover: string;
|
|
status: 'normal' | 'exception' | 'active' | 'success';
|
|
percent: number;
|
|
logo: string;
|
|
href: string;
|
|
body?: any;
|
|
updatedAt: number;
|
|
createdAt: number;
|
|
subDescription: string;
|
|
description: string;
|
|
activeUser: number;
|
|
newUser: number;
|
|
star: number;
|
|
like: number;
|
|
message: number;
|
|
content: string;
|
|
members: Member[];
|
|
};
|
|
|