User service handling profile management operations

Constructors

Methods

  • Update the current user's profile information

    Parameters

    • updates: Partial<Pick<User, "firstName" | "lastName" | "avatar">>

      Profile fields to update

    Returns Promise<Result<User>>

    Promise resolving to Result with updated user