Skip to main content

talawa-api / Exports / models/User / InterfaceUser

Interface: InterfaceUser

models/User.InterfaceUser

This is an interface that represents a database(MongoDB) document for User.

Table of contents

Properties

Properties

_id

_id: ObjectId

Defined in

src/models/User.ts:15


address

address: Object

Type declaration

NameType
citystring
countryCodestring
dependentLocalitystring
line1string
line2string
postalCodestring
sortingCodestring
statestring

Defined in

src/models/User.ts:17


appUserProfileId

appUserProfileId: any

Defined in

src/models/User.ts:16


birthDate

birthDate: Date

Defined in

src/models/User.ts:28


createdAt

createdAt: Date

Defined in

src/models/User.ts:29


educationGrade

educationGrade: string

Defined in

src/models/User.ts:31


email

email: string

Defined in

src/models/User.ts:32


employmentStatus

employmentStatus: string

Defined in

src/models/User.ts:33


firstName

firstName: string

Defined in

src/models/User.ts:35


gender

gender: string

Defined in

src/models/User.ts:36


image

image: undefined | null | string

Defined in

src/models/User.ts:37


joinedOrganizations

joinedOrganizations: any[]

Defined in

src/models/User.ts:38


lastName

lastName: string

Defined in

src/models/User.ts:39


maritalStatus

maritalStatus: string

Defined in

src/models/User.ts:40


membershipRequests

membershipRequests: any[]

Defined in

src/models/User.ts:41


organizationsBlockedBy

organizationsBlockedBy: any[]

Defined in

src/models/User.ts:42


password

Optional password: null | string

Defined in

src/models/User.ts:43


phone

phone: Object

Type declaration

NameType
homestring
mobilestring
workstring

Defined in

src/models/User.ts:44


registeredEvents

registeredEvents: any[]

Defined in

src/models/User.ts:50


status

status: string

Defined in

src/models/User.ts:51


updatedAt

updatedAt: Date

Defined in

src/models/User.ts:53