feat(exam-prep F10): план по дате экзамена — виджет на дашборде + модалка + GET/PUT/DELETE /plan
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
getDashboard: (examKey) => LS.api(`${base(examKey)}/dashboard`),
|
||||
getPlan: (examKey) => LS.api(`${base(examKey)}/plan`),
|
||||
savePlan: (examKey, body) => LS.api(`${base(examKey)}/plan`, { method: 'PUT', body }),
|
||||
deletePlan: (examKey) => LS.api(`${base(examKey)}/plan`, { method: 'DELETE' }),
|
||||
saveAttempt: (body) => LS.api(`/api/exam-prep/attempts`, { method: 'POST', body }),
|
||||
startMock: (examKey, body) => LS.api(`${base(examKey)}/mock/start`, { method: 'POST', body }),
|
||||
mockAnswer: (mockId, body) => LS.api(`/api/exam-prep/mock/${mockId}/answer`, { method: 'POST', body }),
|
||||
|
||||
Reference in New Issue
Block a user