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

19 lines
424 B
TypeScript
Raw Normal View History

import { SocialMedia } from './social';
import { EmailSubscriptions } from './email';
2018-10-04 21:27:02 -07:00
export interface User {
userid: number;
emailAddress?: string;
emailVerified?: boolean;
displayName: string;
2018-10-04 21:27:02 -07:00
title: string;
socialMedias: SocialMedia[];
2018-11-26 17:14:00 -08:00
avatar: { imageUrl: string } | null;
2019-04-16 10:38:14 -07:00
isAdmin?: boolean;
2018-10-04 21:27:02 -07:00
}
export interface UserSettings {
emailSubscriptions: EmailSubscriptions;
refundAddress?: string | null;
}