import { DateTime } from 'luxon'; import { IInterest } from './IInterest'; import { IFilters } from './IFilters'; import { ISearchSettings } from './ISearchSettings'; import { IPhoto } from './IPhoto'; import { ILatLng } from './ILatLng'; import { Gender } from './Gender'; import { ISexualOrientation } from './ISexualOrientation'; export interface IUser { id: number; name: string; username?: string; birthDate?: DateTime; createDate: DateTime; ping_time?: DateTime; position: ILatLng; gender: Gender; sexualOrientations: ISexualOrientation[]; photos: IPhoto[]; showOrientationOnProfile: boolean; discoverable: boolean; filters: IFilters; searchSettings: ISearchSettings; interests?: { selected: IInterest[]; available: IInterest[]; }; }