github.com/oinume/lekcije@v0.0.0-20231017100347-5b4c5eb6ab24/frontend/schema/viewer.graphql (about)

     1  query getViewer {
     2    viewer {
     3      id
     4      email
     5      showTutorial
     6    }
     7  }
     8  
     9  query getViewerWithNotificationTimeSpans {
    10    viewer {
    11      id
    12      email
    13      notificationTimeSpans {
    14        fromHour
    15        fromMinute
    16        toHour
    17        toMinute
    18      }
    19      showTutorial
    20    }
    21  }
    22  
    23  query getViewerWithFollowingTeachers {
    24    viewer {
    25      id
    26      email
    27      followingTeachers {
    28        nodes {
    29          teacher {
    30            id
    31            name
    32          }
    33        }
    34      }
    35      showTutorial
    36    }
    37  }
    38  
    39  mutation updateViewer($input: UpdateViewerInput!) {
    40    updateViewer(input: $input) {
    41      id,
    42      email
    43    }
    44  }