OBJECT

User

A type that describes the user.

link GraphQL Schema definition

1type User {
2
3# The user's username, should be typed in the login field
4username: String!
5
6# The user's full name
7name: String!
8
9# The user's e-mail
10email: String!
11
12# The attribute that says if the user is or not an admin
13isAdmin: Boolean!
14
15# The attribute that says if the user wants to view de csv or not
16csvDownloadEnabled: Boolean!
17
18# The attribute that contains the profile picture
19image: Image
20
21# The attribute that contains the prefered air station
22preferredAirStation: UserAirStation
23
24# The attribute that contains the prefered water station
25preferredWaterStation: WaterStation
26
27# The attribute that contains the pollen measure
28pollenThresholds: [PollenThreshold]
29
30# The attribute that says the status of the user
31status: UserStatus
32
33}

link Required by