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

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

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

陈帅's avatar
陈帅 committed
16 17 18
export interface IGeographic {
  province: IProvince;
  city: ICity;
陈帅's avatar
陈帅 committed
19
}
陈帅's avatar
陈帅 committed
20 21

export interface INotice {
陈帅'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: INotice[];
陈帅's avatar
陈帅 committed
37 38 39 40 41 42 43 44
  email: string;
  signature: string;
  title: string;
  group: string;
  tags: ITag[];
  notifyCount: number;
  unreadCount: number;
  country: string;
陈帅's avatar
陈帅 committed
45
  geographic: IGeographic;
陈帅's avatar
陈帅 committed
46 47 48
  address: string;
  phone: string;
}