File tree Expand file tree Collapse file tree 2 files changed +41
-40
lines changed
web-app/src/services/apollo/queries Expand file tree Collapse file tree 2 files changed +41
-40
lines changed Original file line number Diff line number Diff line change @@ -3,53 +3,46 @@ import {gql} from 'apollo-boost'
33export default gql `
44 query getTutorial($tutorialId: ID!, $version: String) {
55 tutorial(id: $tutorialId) {
6- id
7- title
8- text
9- codingLanguage
10- testRunner
11- repo {
12- uri
6+ id
7+ version (version: $version) {
8+ version
9+ summary {
10+ title
11+ description
1312 }
14- version(version: $version) {
15- version
16- coderoadVersion
13+ data {
14+ config {
15+ testRunner
16+ repo {
17+ uri
18+ }
19+ }
20+ init {
21+ setup {
22+ commits
23+ commands
24+ }
25+ }
1726 levels {
18- id
1927 title
20- text
28+ description
2129 setup {
22- id
23- commands
2430 commits
31+ commands
2532 files
2633 }
27- stages {
28- id
34+ steps {
2935 title
30- text
36+ description
3137 setup {
32- id
33- commands
3438 commits
39+ commands
3540 files
3641 }
37- steps {
38- id
39- title
40- text
41- setup {
42- id
43- commands
44- commits
45- files
46- }
47- solution {
48- id
49- commands
50- commits
51- files
52- }
42+ solution {
43+ commits
44+ commands
45+ files
5346 }
5447 }
5548 }
Original file line number Diff line number Diff line change 1- import { gql } from 'apollo-boost'
1+ import { gql } from 'apollo-boost'
22
33export default gql `
44 query getTutorials {
55 tutorials {
66 id
7- title
8- text
9- codingLanguage
107 version {
118 version
12- coderoadVersion
9+ createdBy {
10+ id
11+ }
12+ createdAt
13+ updatedBy {
14+ id
15+ }
16+ updatedAt
17+ summary {
18+ title
19+ description
20+ }
1321 }
1422 }
1523 }
You can’t perform that action at this time.
0 commit comments