Closed MrBisquit closed 1 year ago
type User = { firstName: string; lastName: string; email: string; image: string; // Needs to be an actual image. }
The User type class should include the username, email and password I guess. The firstname and lastname properties not needed. Please refer to the ERD.I copied this from backend and I didn't see any username tag, I can do one anyway though if you want.
The firstName and lastName properties are not needed either. You can take a look at the ERD below
@believemanasseh I have done this.
type User = { firstName: string; lastName: string; email: string; image: string; // Needs to be an actual image. }
The User type class should include the username, email and password I guess. The firstname and lastname properties not needed. Please refer to the ERD.I copied this from backend and I didn't see any username tag, I can do one anyway though if you want.
The firstName and lastName properties are not needed either. You can take a look at the ERD below