Skip to main content

User

Custom user model to change behaviour of the default user model such as validation and required fields.

type User {
id: UUID!
identity: String
avatarDefaultColor: String!
avatarLabel: String!
role: UserRole
fullName: String!
avatar: String
avatarBlurhash: String
firstName: String
lastName: String
aboutMe: String
pronouns: String
location: String
geolocationId: String
engagementLevel: String
interests: [Topic]!
sdgs: [SDG]!
skills: [Skill]!
connectionStatusToMyself: UserConnectionStatus
connectionStatusToSpace(
spaceId: UUID!
): [SpaceUserConnectionType]!
}

Fields

User.id ● UUID! non-null scalar

Required. 36 characters or fewer. Letters, digits and _ only.

User.identity ● String scalar

255 characters or fewer. Must start with a lowercase letter and contain lowercase letters, digits, '_', '-' and '.' only.

User.avatarDefaultColor ● String! non-null scalar

User.avatarLabel ● String! non-null scalar

User.role ● UserRole enum

User.fullName ● String! non-null scalar

Can be an empty string

User.avatar ● String scalar

User.avatarBlurhash ● String scalar

User.firstName ● String scalar

User.lastName ● String scalar

User.aboutMe ● String scalar

User.pronouns ● String scalar

User.location ● String scalar

User.geolocationId ● String scalar

User.engagementLevel ● String scalar

User.interests ● [Topic]! non-null object

User.sdgs ● [SDG]! non-null object

User.skills ● [Skill]! non-null object

User.connectionStatusToMyself ● UserConnectionStatus enum

User.connectionStatusToSpace ● [SpaceUserConnectionType]! non-null enum

User.connectionStatusToSpace.spaceId ● UUID! non-null scalar

Returned by

authenticatedUser query ● updateAuthenticatedUser mutation ● updateConnectionWithUser mutation ● userById query

Member of

Appointment object ● Comment object ● FeedPost object ● Insight object ● Notification object ● NotificationOptions object ● Poll object ● Post object ● PostComment object ● Space object ● SpaceInvite object ● SpaceMember object ● SpaceMembershipRequest object ● Task object ● UserPaged object