File tree Expand file tree Collapse file tree 2 files changed +41
-49
lines changed
web-app/src/services/apollo/queries Expand file tree Collapse file tree 2 files changed +41
-49
lines changed Original file line number Diff line number Diff line change @@ -4,53 +4,43 @@ export default gql`
44 query getTutorial($tutorialId: ID!, $version: String) {
55 tutorial(id: $tutorialId) {
66 id
7- version(version: $version) {
8- version
9- summary {
10- title
11- description
7+ createdBy {
8+ id
9+ name
10+ email
11+ }
12+ summary {
13+ title
14+ description
15+ }
16+ latestVersion {
17+ createdAt
18+ createdBy {
19+ id
20+ name
21+ }
22+ updatedAt
23+ updatedBy {
24+ id
25+ name
26+ }
27+ publishedAt
28+ publishedBy {
29+ name
1230 }
1331 data {
14- config {
15- testRunner {
16- command
17- fileFormats
18- }
19- repo {
20- uri
21- branch
22- }
23- }
24- init {
25- setup {
26- commits
27- commands
28- }
29- }
32+ config
3033 levels {
3134 id
3235 title
3336 description
3437 content
35- setup {
36- commits
37- commands
38- files
39- }
38+ setup
4039 steps {
4140 id
4241 content
43- setup {
44- commits
45- commands
46- files
47- watchers
48- }
49- solution {
50- commits
51- commands
52- files
53- }
42+ setup
43+ solution
5444 }
5545 }
5646 }
Original file line number Diff line number Diff line change @@ -4,19 +4,21 @@ export default gql`
44 query getTutorials {
55 tutorials {
66 id
7- version {
8- version
9- createdBy {
10- id
11- }
12- createdAt
13- updatedBy {
7+ createdBy {
8+ id
9+ name
10+ email
11+ }
12+ summary {
13+ title
14+ description
15+ }
16+ latestVersion {
17+ publishedAt
18+ publishedBy {
1419 id
15- }
16- updatedAt
17- summary {
18- title
19- description
20+ name
21+ email
2022 }
2123 }
2224 }
You can’t perform that action at this time.
0 commit comments