Make mail optional for user

This commit is contained in:
René Pfeuffer
2020-10-13 20:40:30 +02:00
parent bb2b845015
commit e60ea987dd
3 changed files with 8 additions and 7 deletions

View File

@@ -27,13 +27,13 @@ import { Links } from "./hal";
export type DisplayedUser = {
id: string;
displayName: string;
mail: string;
mail?: string;
};
export type User = {
displayName: string;
name: string;
mail: string;
mail?: string;
password: string;
active: boolean;
type?: string;