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
- _id
- address
- appUserProfileId
- birthDate
- createdAt
- educationGrade
- employmentStatus
- firstName
- gender
- image
- joinedOrganizations
- lastName
- maritalStatus
- membershipRequests
- organizationsBlockedBy
- password
- phone
- registeredEvents
- status
- updatedAt
Properties
_id
• _id: ObjectId
Defined in
address
• address: Object
Type declaration
Name | Type |
---|---|
city | string |
countryCode | string |
dependentLocality | string |
line1 | string |
line2 | string |
postalCode | string |
sortingCode | string |
state | string |
Defined in
appUserProfileId
• appUserProfileId: any
Defined in
birthDate
• birthDate: Date
Defined in
createdAt
• createdAt: Date
Defined in
educationGrade
• educationGrade: string
Defined in
email
• email: string
Defined in
employmentStatus
• employmentStatus: string
Defined in
firstName
• firstName: string
Defined in
gender
• gender: string
Defined in
image
• image: undefined
| null
| string
Defined in
joinedOrganizations
• joinedOrganizations: any
[]
Defined in
lastName
• lastName: string
Defined in
maritalStatus
• maritalStatus: string
Defined in
membershipRequests
• membershipRequests: any
[]
Defined in
organizationsBlockedBy
• organizationsBlockedBy: any
[]
Defined in
password
• Optional
password: null
| string
Defined in
phone
• phone: Object
Type declaration
Name | Type |
---|---|
home | string |
mobile | string |
work | string |
Defined in
registeredEvents
• registeredEvents: any
[]
Defined in
status
• status: string
Defined in
updatedAt
• updatedAt: Date