Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3cdda85

Browse files
committed
update queries
1 parent4f167c8 commit3cdda85

File tree

2 files changed

+41
-49
lines changed

2 files changed

+41
-49
lines changed

‎web-app/src/services/apollo/queries/tutorial.ts

Lines changed: 27 additions & 37 deletions
Original file line numberDiff line numberDiff 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
}

‎web-app/src/services/apollo/queries/tutorials.ts

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp