User Inputs and Responses
Register Input
RegisterInput: {
fullName: String;
username: String;
email: String;
password: String;
}
Login Input
LoginInput: {
usernameOrEmail: String;
password: String;
}
User Response
UserResponse: {
user: User;
errors: [
{
field: String,
message: String,
},
];
}
Paginated User
PaginatedUser: {
users: [User];
totalUsers: Int;
}