feat: integrate pinned teacher discussion workspace
This commit is contained in:
@@ -5,6 +5,7 @@ import type {
|
||||
TeacherCheckInInput,
|
||||
TeacherCheckInResult,
|
||||
TeacherDefinition,
|
||||
TeacherDiscussionAction,
|
||||
TeacherSend,
|
||||
TeacherTopic,
|
||||
TeacherTopicList,
|
||||
@@ -42,6 +43,10 @@ export const teacherApi = {
|
||||
method: 'POST',
|
||||
body: JSON.stringify(input),
|
||||
}),
|
||||
updateDiscussion: (base: string, id: string, input: TeacherDiscussionAction) =>
|
||||
hostApiFetch<TeacherTopic>(base + '/' + encodeURIComponent(id) + '/discussion', {
|
||||
method: 'POST', body: JSON.stringify(input),
|
||||
}),
|
||||
cancel: (base: string, id: string, requestId: string) =>
|
||||
hostApiFetch<TeacherTopic>(
|
||||
base +
|
||||
|
||||
Reference in New Issue
Block a user