all repos — caroster @ be8f93ea0966f0bc0587c2c127ee1ba15594a049

[Octree] Group carpool to your event https://caroster.io

frontend/graphql/user.gql (view raw)

 1fragment UserFields on UsersPermissionsUser {
 2  username
 3  email
 4  confirmed
 5  lastName
 6  firstName
 7  lang
 8  onboardingUser
 9  onboardingCreator
10  provider
11  events(pagination: {limit: 100}) {
12    data {
13      id
14      attributes {
15        uuid
16        name
17        date
18        address
19      }
20    }
21  }
22}
23
24query profile {
25  me {
26    id
27    username
28    profile {
29      ...UserFields
30    }
31  }
32}
33
34mutation updateMe($userUpdate: UsersPermissionsUserInput!) {
35  updateMe(data: $userUpdate) {
36    data {
37      id
38      attributes {
39        ...UserFields
40      }
41    }
42  }
43}