import { Gender } from '../Enums/Gender'; import { GroupPreview } from '../Previews/GroupPreview'; import { CollectionSubscription } from './CollectionSubscription'; import { LoginData } from './LoginData'; import { UserAssignment } from './UserAssignment'; import { Address } from './Address'; import { Shamap } from './Shamap'; import { Note } from '../Shared/Note'; import { UserStudentAssignment } from './UserStudentAssignment'; import { StudentLessonSubscription } from './StudentLessonSubscription'; import { TeacherLessonSubscription } from './TeacherLessonSubscription'; import { UserTeacherAssignment } from './UserTeacherAssignment'; import { SectionListItem } from '../Shared/SectionListItem'; import { DbListItem } from '../Shared/DbListItem'; import { HadrachaPageSubscription } from './HadrachaPageSubscription'; import { HadrachaAssignment } from '../HadrachaPage/HadrachaAssignment'; import { SecurityQuestion } from './SecurityQuestion'; import { PlaylistPreview } from '../Previews/PlaylistPreview'; export type User = { id?: string; pictureUrl?: string; militaryId?: string; firstName?: string; lastName?: string; civilEmail?: string; militaryEmail?: string; civilProfession?: string; phoneNumber?: string; address?: Address; groups?: GroupPreview[]; serviceTypeCode?: string; serviceTypeName?: string; logins?: LoginData[]; note?: string; notes?: Note[]; referringUser?: string; gender?: Gender; birthDate?: Date; isDeleted?: boolean; isAdmin?: boolean; profession?: string; assignments?: UserAssignment[]; collectionsActivitiesHistory?: CollectionSubscription[]; subscribedCollections?: CollectionSubscription[]; mandatoryServiceEndDate?: Date; enlistmentDate?: Date; rankName?: string; shamaps?: Shamap[]; healthProfile?: number; reserveEndDate?: Date; sections?: SectionListItem[]; sagahs?: DbListItem[]; subjectAreas?: DbListItem[]; securityQuestions?: SecurityQuestion; playlists?: PlaylistPreview[]; collegeStudyingLessons?: StudentLessonSubscription[]; collegeTeachingLessons?: TeacherLessonSubscription[]; collegeCheckingLessons?: TeacherLessonSubscription[]; collegeStudentAssignments?: UserStudentAssignment[]; collegeTeacherAssignments?: UserTeacherAssignment[]; studyingHadrachaPages?: HadrachaPageSubscription[]; teachingHadrachaPages?: HadrachaPageSubscription[]; otherHadrachaPages?: HadrachaPageSubscription[]; hadrachaStudentAssignments?: HadrachaAssignment[]; hadrachaTeacherAssignments?: HadrachaAssignment[]; hadrachaOtherAssignments?: HadrachaAssignment[]; lastNotificationCleanupTime?: Date; };