Skip to main content

InterfaceUser

talawa-api


talawa-api / models/User / InterfaceUser

Interface: InterfaceUser

Represents a MongoDB document for User in the database.

Properties

_id

> _id: ObjectId

Defined in

src/models/User.ts:16


address

> address: object

city

> city: string

countryCode

> countryCode: string

dependentLocality

> dependentLocality: string

line1

> line1: string

line2

> line2: string

postalCode

> postalCode: string

sortingCode

> sortingCode: string

state

> state: string

Defined in

src/models/User.ts:19


appUserProfileId

> appUserProfileId: any

Defined in

src/models/User.ts:18


birthDate

> birthDate: Date

Defined in

src/models/User.ts:30


createdAt

> createdAt: Date

Defined in

src/models/User.ts:31


educationGrade

> educationGrade: string

Defined in

src/models/User.ts:33


email

> email: string

Defined in

src/models/User.ts:34


employmentStatus

> employmentStatus: string

Defined in

src/models/User.ts:35


eventsAttended

> eventsAttended: any[]

Defined in

src/models/User.ts:51


firstName

> firstName: string

Defined in

src/models/User.ts:37


gender

> gender: string

Defined in

src/models/User.ts:38


identifier

> identifier: number

Defined in

src/models/User.ts:17


image

> image: undefined | null | string

Defined in

src/models/User.ts:39


joinedOrganizations

> joinedOrganizations: any[]

Defined in

src/models/User.ts:40


lastName

> lastName: string

Defined in

src/models/User.ts:41


maritalStatus

> maritalStatus: string

Defined in

src/models/User.ts:42


membershipRequests

> membershipRequests: any[]

Defined in

src/models/User.ts:43


organizationsBlockedBy

> organizationsBlockedBy: any[]

Defined in

src/models/User.ts:44


password?

> optional password: null | string

Defined in

src/models/User.ts:45


phone

> phone: object

home

> home: string

mobile

> mobile: string

work

> work: string

Defined in

src/models/User.ts:46


registeredEvents

> registeredEvents: any[]

Defined in

src/models/User.ts:53


status

> status: string

Defined in

src/models/User.ts:54


updatedAt

> updatedAt: Date

Defined in

src/models/User.ts:56