feat: add user profile settings tab
This commit is contained in:
		@@ -78,6 +78,7 @@ type UserAccount {
 | 
			
		||||
  createdAt: Time!
 | 
			
		||||
  fullName: String!
 | 
			
		||||
  initials: String!
 | 
			
		||||
  bio: String!
 | 
			
		||||
  role: Role!
 | 
			
		||||
  username: String!
 | 
			
		||||
  profileIcon: ProfileIcon!
 | 
			
		||||
 
 | 
			
		||||
@@ -11,6 +11,19 @@ extend type Mutation {
 | 
			
		||||
  updateUserPassword(input: UpdateUserPassword!): UpdateUserPasswordPayload!
 | 
			
		||||
  updateUserRole(input: UpdateUserRole!):
 | 
			
		||||
   UpdateUserRolePayload! @hasRole(roles: [ADMIN], level: ORG, type: ORG)
 | 
			
		||||
  updateUserInfo(input: UpdateUserInfo!):
 | 
			
		||||
    UpdateUserInfoPayload! @hasRole(roles: [ADMIN], level: ORG, type: ORG)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type UpdateUserInfoPayload {
 | 
			
		||||
  user: UserAccount!
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
input UpdateUserInfo {
 | 
			
		||||
  name: String!
 | 
			
		||||
  initials: String!
 | 
			
		||||
  email: String!
 | 
			
		||||
  bio: String!
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
input UpdateUserPassword {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user