# A user of the system type User { firstName: String! lastName: String! username: String!@deprecated(reason: "Email will replace username. If you are still using username please change it") email: String! role: UserRole! # Url to the image profilePicture: String # Account must be activated before using activated: Boolean! } # Different role will have different access to our functionality # In the future, this will be changed by having User as interface # and implementing multiple User enum UserRole { # System Administrator SYS_ADMIN # Manager - Have access to manage functions MANAGER # General Staff CLERK EMPLOYEE@deprecated(reason: "Use 'clerk' instead") } input UserFilter { username: [String] } input CreateUserInput { username: String! email: String! password: String! createdAt: Date! }