Skip to content

Commit c16b1a8

Browse files
committed
Add daily quests to course
1 parent 29a2256 commit c16b1a8

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

additionalTypeDefs/course.graphqls

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,24 @@ extend type Course {
6767
)
6868

6969
widgetRecommendations: [GamificationCategoryRecommendation!]! @resolveTo(
70-
sourceName: "ContentService",
70+
sourceName: "GamificationService",
7171
sourceTypeName: "Query",
7272
sourceFieldName: "_internal_noauth_currentUserWidgetRecommendations",
7373
requiredSelectionSet: "{ id }",
7474
sourceArgs: {
7575
courseId: "{root.id}"
7676
}
7777
)
78+
79+
dailyQuests: QuestSet! @resolveTo(
80+
sourceName: "GamificationService",
81+
sourceTypeName: "Query",
82+
sourceFieldName: "_internal_noauth_currentUserDailyQuestSet",
83+
requiredSelectionSet: "{ id }",
84+
sourceArgs: {
85+
courseId: "{root.id}"
86+
}
87+
)
7888
}
7989

8090
extend type Chapter {

0 commit comments

Comments
 (0)