-
Notifications
You must be signed in to change notification settings - Fork 0
/
view-queries.drupal.gql
94 lines (85 loc) · 3.27 KB
/
view-queries.drupal.gql
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
# Each of the view queries.
fragment FragmentViewPageInfo on ViewPageInfo {
page
total
}
query stanfordBasicPages($contextualFilters: StanfordBasicPagesContextualFilterInput, $sortKey: StanfordBasicPagesSortKeys, $sortDir: SortDirection $pageSize: Int = 3, $page: Int, $offset: Int) {
stanfordBasicPages(contextualFilter: $contextualFilters, pageSize: $pageSize, page: $page, offset: $offset, sortKey: $sortKey, sortDir: $sortDir) {
results {
...FragmentNodeStanfordPageTeaser
}
pageInfo {
...FragmentViewPageInfo
}
}
}
query stanfordCourses($contextualFilters: StanfordCoursesContextualFilterInput, $pageSize: Int = -1, $page: Int, $offset: Int) {
stanfordCourses(contextualFilter: $contextualFilters, pageSize: $pageSize, page: $page, offset: $offset) {
results {
...FragmentNodeStanfordCourse
}
pageInfo {
...FragmentViewPageInfo
}
}
}
query stanfordEvents($contextualFilters: StanfordEventsContextualFilterInput, $pageSize: Int, $page: Int = -1, $offset: Int) {
stanfordEvents(contextualFilter: $contextualFilters, pageSize: $pageSize, page: $page, offset: $offset) {
results {
...FragmentNodeStanfordEventTeaser
}
pageInfo {
...FragmentViewPageInfo
}
}
}
query stanfordEventsPastEvents($contextualFilters: StanfordEventsPastEventsContextualFilterInput, $pageSize: Int = -1, $page: Int, $offset: Int) {
stanfordEventsPastEvents(contextualFilter: $contextualFilters, pageSize: $pageSize, page: $page, offset: $offset) {
results {
...FragmentNodeStanfordEventTeaser
}
pageInfo {
...FragmentViewPageInfo
}
}
}
query stanfordNews($contextualFilters: StanfordNewsContextualFilterInput, $pageSize: Int = -1, $page: Int, $offset: Int) {
stanfordNews(contextualFilter: $contextualFilters, pageSize: $pageSize, page: $page, offset: $offset) {
results {
...FragmentNodeStanfordNewsTeaser
}
pageInfo {
...FragmentViewPageInfo
}
}
}
query stanfordPerson($contextualFilters: StanfordPersonContextualFilterInput, $pageSize: Int, $page: Int = -1, $offset: Int) {
stanfordPerson(contextualFilter: $contextualFilters, pageSize: $pageSize, page: $page, offset: $offset) {
results {
...FragmentNodeStanfordPersonTeaser
}
pageInfo {
...FragmentViewPageInfo
}
}
}
query stanfordPublications($contextualFilters: StanfordPublicationsContextualFilterInput, $pageSize: Int = -1, $page: Int, $offset: Int) {
stanfordPublications(contextualFilter: $contextualFilters, pageSize: $pageSize, page: $page, offset: $offset) {
results {
...FragmentNodeStanfordPublicationTeaser
}
pageInfo {
...FragmentViewPageInfo
}
}
}
query stanfordSharedTags($contextualFilters: StanfordSharedTagsContextualFilterInput, $pageSize: Int = 3, $page: Int $offset: Int) {
stanfordSharedTags(contextualFilter: $contextualFilters, pageSize: $pageSize, page: $page, offset: $offset) {
results {
...FragmentNodeTeaserUnion
}
pageInfo {
...FragmentViewPageInfo
}
}
}