src/module/interfaces/index.ts
Properties |
|
email:
|
Type : string
|
id |
id:
|
Type : string
|
Optional |
isFavorite |
isFavorite:
|
Type : boolean
|
Optional |
metadata |
metadata:
|
Type : MetaData
|
Optional |
name |
name:
|
Type : string
|
path |
path:
|
Type : string
|
Optional |
phoneNumber |
phoneNumber:
|
Type : string
|
Optional |
photoURL |
photoURL:
|
Type : string
|
Optional |
import {Methods} from '../enums';
export interface Contact {
id?: string;
path?: string;
name: string;
email: string;
photoURL?: string;
phoneNumber?: string;
isFavorite?: boolean;
metadata?: MetaData;
}
export interface MetaData {
created_at: Date;
updated_at: Date;
}
export interface IContactDialogData {
method: Methods,
contact: Contact
}