Interface: Profile
Defined in: src/models/types.ts:82
Defines available contact methods and preferences for a given user. Requires the profile scope to read.
Note that the uid must be the same uid as the associated User record.
Extends
BaseEntity
Properties
avatar?
optionalavatar?:string
Defined in: src/models/types.ts:86
The URL or path to the user's avatar image (e.g. gravatar).
birthdate?
optionalbirthdate?:Date
Defined in: src/models/types.ts:91
The user's date of birth.
contacts
contacts:
Contact[]
Defined in: src/models/types.ts:96
The list of the user's contacts.
dateCreated
dateCreated:
Date
Defined in: node_modules/@rapidrest/service-core/dist/types/models/BaseEntity.d.ts:18
The date and time that the entity was created.
Inherited from
BaseEntity.dateCreated
dateModified
dateModified:
Date
Defined in: node_modules/@rapidrest/service-core/dist/types/models/BaseEntity.d.ts:22
The date and time that the entity was last modified.
Inherited from
BaseEntity.dateModified
familyName?
optionalfamilyName?:string
Defined in: src/models/types.ts:106
The user's family surname (or last name).
givenName?
optionalgivenName?:string
Defined in: src/models/types.ts:101
The user's given name (aka: first name).
preferences
preferences:
Preferences
Defined in: src/models/types.ts:111
The user's account preferences.
uid
uid:
string
Defined in: node_modules/@rapidrest/service-core/dist/types/models/BaseEntity.d.ts:14
The universally unique identifier of the entity.
Inherited from
BaseEntity.uid
version
version:
number
Defined in: node_modules/@rapidrest/service-core/dist/types/models/BaseEntity.d.ts:26
The optimistic lock version.
Inherited from
BaseEntity.version