@arkasuryawan/gp-interfaces
Version:
Geonet Properties Data Interfaces
33 lines (32 loc) • 858 B
TypeScript
import { AddressInterface, AuditInterface, ProjectInterface, StatusType } from "../interfaces";
export interface UserInterface extends AuditInterface {
uid: string;
name?: string;
fullname?: string;
displayName?: string;
firstName?: string;
lastName?: string;
email?: string;
email_verified?: boolean;
emailVerified?: boolean;
phoneNumber?: string;
isAnonymous?: boolean;
photoURL?: string;
address?: AddressInterface;
status: StatusType;
validThrough?: string;
slug?: string;
birthDay?: string;
nationality?: string;
socialMedia?: {
[code: string]: string;
};
wishlist?: string[];
}
export interface UserWishlistInterface extends AuditInterface {
uid: string;
userId: string;
user: UserInterface;
projectId: string;
Project: ProjectInterface;
}