data.d.ts 784 Bytes
Newer Older
陈帅's avatar
陈帅 committed
1
export interface TagType {
陈帅's avatar
陈帅 committed
2 3 4 5
  key: string;
  label: string;
}

陈帅's avatar
陈帅 committed
6
export interface ProvinceType {
陈帅's avatar
陈帅 committed
7 8 9 10
  label: string;
  key: string;
}

陈帅's avatar
陈帅 committed
11
export interface CityType {
陈帅's avatar
陈帅 committed
12 13 14 15
  label: string;
  key: string;
}

陈帅's avatar
陈帅 committed
16 17 18
export interface GeographicType {
  province: ProvinceType;
  city: CityType;
陈帅's avatar
陈帅 committed
19
}
陈帅's avatar
陈帅 committed
20

陈帅's avatar
陈帅 committed
21
export interface NoticeType {
陈帅's avatar
陈帅 committed
22 23 24 25 26 27 28 29 30 31
  id: string;
  title: string;
  logo: string;
  description: string;
  updatedAt: string;
  member: string;
  href: string;
  memberLink: string;
}

陈帅's avatar
陈帅 committed
32
export interface CurrentUser {
陈帅's avatar
陈帅 committed
33 34 35
  name: string;
  avatar: string;
  userid: string;
陈帅's avatar
陈帅 committed
36
  notice: NoticeType[];
陈帅's avatar
陈帅 committed
37 38 39 40
  email: string;
  signature: string;
  title: string;
  group: string;
陈帅's avatar
陈帅 committed
41
  tags: TagType[];
陈帅's avatar
陈帅 committed
42 43 44
  notifyCount: number;
  unreadCount: number;
  country: string;
陈帅's avatar
陈帅 committed
45
  geographic: GeographicType;
陈帅's avatar
陈帅 committed
46 47 48
  address: string;
  phone: string;
}