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

12 lines
279 B
TypeScript

import { SocialMedia } from 'types';
export interface User {
userid: number;
emailAddress?: string; // TODO: Split into full user type
emailVerified?: boolean;
displayName: string;
title: string;
socialMedias: SocialMedia[];
avatar: { imageUrl: string } | null;
}