File tree 1 file changed +9
-34
lines changed
1 file changed +9
-34
lines changed Original file line number Diff line number Diff line change @@ -76,8 +76,8 @@ export const getExampleQuestionQuery = {
76
76
} ;
77
77
78
78
export const getDailyChallengeQuery = {
79
- operationName : "questionOfToday" ,
80
- query : `query questionOfToday {
79
+ operationName : "questionOfToday" ,
80
+ query : `query questionOfToday {
81
81
activeDailyCodingChallengeQuestion {
82
82
date
83
83
userStatus
@@ -95,6 +95,12 @@ export const getDailyChallengeQuery = {
95
95
titleSlug
96
96
hasVideoSolution
97
97
hasSolution
98
+ codeSnippets {
99
+ lang
100
+ langSlug
101
+ code
102
+ __typename
103
+ }
98
104
topicTags {
99
105
name
100
106
id
@@ -103,40 +109,9 @@ export const getDailyChallengeQuery = {
103
109
}
104
110
}
105
111
}` ,
106
- } ;
107
- export const getQuestionOfTodayQuery = {
108
- query : `
109
- query questionOfToday {
110
- activeDailyCodingChallengeQuestion {
111
- date
112
- userStatus
113
- link
114
- question {
115
- acRate
116
- difficulty
117
- freqBar
118
- frontendQuestionId: questionFrontendId
119
- isFavor
120
- paidOnly: isPaidOnly
121
- status
122
- title
123
- content
124
- titleSlug
125
- hasVideoSolution
126
- hasSolution
127
- topicTags {
128
- name
129
- id
130
- slug
131
- }
132
- }
133
- }
134
- }` ,
135
- variables : { } ,
136
- } ;
112
+ }
137
113
138
114
export default {
139
115
getExampleQuestionQuery,
140
116
getDailyChallengeQuery,
141
- getQuestionOfTodayQuery,
142
117
} ;
You can’t perform that action at this time.
0 commit comments