-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaxios.config.js
More file actions
16 lines (14 loc) · 877 Bytes
/
axios.config.js
File metadata and controls
16 lines (14 loc) · 877 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
const URLS = {
COMPLETION: 'https://learn.corporate.ef.com/api/school-proxy/v1/commands/activity/complete',
CURRENT_LESSON: 'https://learn.corporate.ef.com/api/school-proxy/v1/troop?c=countrycode%3Dus%7Cculturecode%3Den%7Cpartnercode%3DCorp%7Cstudentcountrycode%3Dus%7Clanguagecode%3Den%7Csiteversion%3D18-1%7Cdevicetypeid%3D1%7Cproductid%3D100',
LESSON_PROGRESS: 'https://learn.corporate.ef.com/api/school-proxy/v1/troop?c=countrycode%3Dus%7Cculturecode%3Den%7Cpartnercode%3DCorp%7Cstudentcountrycode%3Dus%7Clanguagecode%3Den%7Csiteversion%3D18-1%7Cdevicetypeid%3D1%7Cproductid%3D100'
}
const QUERIES = {
CURRENT_LESSON: 'school_context!current.user|student_course_enrollment!current|student_platform_version!current',
LESSON_PROGRESS_FAKE: 'student_lesson!$lessonId',
LESSON_PROGRESS: 'student_lesson!$lessonId.children.progress'
}
export {
URLS,
QUERIES,
}