zcash-grant-system/frontend/types/user.ts

22 lines
439 B
TypeScript
Raw Normal View History

2018-10-04 21:27:02 -07:00
import { SocialAccountMap } from 'types';
export interface User {
accountAddress: string;
userid: number | string;
username: string;
title: string;
avatar: {
'120x120': string;
};
}
// TODO: Merge this or extend the `User` type in proposals/reducers.ts
export interface TeamMember {
name: string;
title: string;
avatarUrl: string;
ethAddress: string;
emailAddress: string;
socialAccounts: SocialAccountMap;
}