UserProfile
Stentor API Reference / stentor-models/src / UserProfile
Interface: UserProfile
Defined in: packages/stentor-models/src/UserProfile.ts:2
Propertiesβ
idβ
id:
string
Defined in: packages/stentor-models/src/UserProfile.ts:6
Unique userId
name?β
optionalname:string
Defined in: packages/stentor-models/src/UserProfile.ts:10
The first name, or given name, of the user.
email?β
optionalemail:string
Defined in: packages/stentor-models/src/UserProfile.ts:14
The email of the user.
notificationGranted?β
optionalnotificationGranted:boolean
Defined in: packages/stentor-models/src/UserProfile.ts:19
User granted permission to update Note: This isn't a piece of data we want to know, but Google uses the permissioning mechanism to grant it.
phone?β
optionalphone:string
Defined in: packages/stentor-models/src/UserProfile.ts:21
preciseLocation?β
optionalpreciseLocation:object
Defined in: packages/stentor-models/src/UserProfile.ts:23
coordinates?β
optionalcoordinates:object
coordinates.latitudeβ
latitude:
number
coordinates.longitudeβ
longitude:
number
coarseLocation?β
optionalcoarseLocation:string
Defined in: packages/stentor-models/src/UserProfile.ts:30