Skip to main content

User

A Flux user.

type User {
uid: UserUid!
handle: UserOrOrganizationHandle!
fullName: String
email: EmailAddress
picture: URL
isAnonymous: Boolean
bio: String
createdAt: DateTime
updatedAt: DateTime
lastSignInAt: DateTime
lastActiveAt: DateTime
followerCount: Int
followingCount: Int
componentsCount: Int
projectsCount: Int
projects(
page: Page
): Projects
project(
by: ProjectSlugOrUid!
): Project
}

Fields

User.uid ● UserUid! non-null scalar

The user's primary unique identifier.

User.handle ● UserOrOrganizationHandle! non-null scalar

The user's unique account handle.

User.fullName ● String scalar

The user's full display name.

User.email ● EmailAddress scalar

The user's email address.

User.picture ● URL scalar

URL to retrieve the user's avatar image.

User.isAnonymous ● Boolean scalar

Is this an anonymous user or a registered user?

User.bio ● String scalar

The user's bio as displayed on their profile page.

User.createdAt ● DateTime scalar

The time this user's account was created.

User.updatedAt ● DateTime scalar

The time this user's profile was last updated.

User.lastSignInAt ● DateTime scalar

The last time the user signed-in.

User.lastActiveAt ● DateTime scalar

The last time the user was active within the app.

User.followerCount ● Int scalar

The user's follower count.

User.followingCount ● Int scalar

The count of users that this user is following.

User.componentsCount ● Int scalar

The count of components this user has published under their profile.

User.projectsCount ● Int scalar

The count of projects in this user's profile.

User.projects ● Projects object

The list of projects under this user's profile that are visible to you.

User.projects.page ● Page input

User.project ● Project object

Retrieve a specific project for this user.

User.project.by ● ProjectSlugOrUid! non-null scalar

Returned By

user query

Member Of

Account object ● Project object