-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuwflow-query.txt
104 lines (100 loc) · 1.38 KB
/
uwflow-query.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
query getCourse($code: String, $user_id: Int) {
course(where: {code: {_eq: $code}}) {
...CourseInfo
...CourseSchedule
...CourseRequirements
...CourseRating
__typename
}
}
fragment CourseInfo on course {
id
code
name
description
profs_teaching {
prof {
id
code
name
rating {
liked
comment_count
__typename
}
__typename
}
__typename
}
__typename
}
fragment CourseSchedule on course {
id
sections {
id
enrollment_capacity
enrollment_total
class_number
section_name
term_id
updated_at
meetings {
days
start_date
end_date
start_seconds
end_seconds
location
prof {
id
code
name
__typename
}
is_closed
is_cancelled
is_tba
__typename
}
exams {
date
day
end_seconds
is_tba
location
section_id
start_seconds
__typename
}
__typename
}
__typename
}
fragment CourseRequirements on course {
id
antireqs
prereqs
coreqs
postrequisites {
postrequisite {
id
code
name
__typename
}
__typename
}
__typename
}
fragment CourseRating on course {
id
rating {
liked
easy
useful
filled_count
comment_count
__typename
}
__typename
}