Type Alias UserData

UserData: {
    __typename?: "UserData";
    currentUser?: Maybe<User>;
    user?: Maybe<User>;
}

The user data object contains basic information about users and lets you retrieve specific users (or the current user if using the user endpoint).

Type declaration

  • Optional__typename?: "UserData"
  • OptionalcurrentUser?: Maybe<User>

    Obtain the current user (only works with user endpoint).

  • Optionaluser?: Maybe<User>

    Obtain a specific user by id.