import { Component, Input } from '@angular/core';
import { UserFormComponent } from '@app/shared/components/user-form/user-form.component';
import { UserAvatarFormComponent } from '@app/shared/components/user-avatar-form/user-avatar-form.component';
import { UserViewModel } from '@app/adapters/users/user.presenter.model';
import { UserPasswordFormComponent } from '@app/shared/components/user-password-form/user-password-form.component';

@Component({
  selector: 'app-update-user',
  standalone: true,
  imports: [UserFormComponent, UserAvatarFormComponent, UserPasswordFormComponent],
  templateUrl: './update-user.component.html',
  styleUrl: './update-user.component.scss',
})
export class UpdateUserComponent {
  @Input({ required: true }) user: UserViewModel | undefined = undefined;
}
