Merge branch 'main' into history-undo

This commit is contained in:
moririn2528
2023-09-12 11:54:43 +09:00
24 changed files with 2559 additions and 844 deletions
+2
View File
@@ -92,6 +92,7 @@ interface StudyDetailResponse {
is_preferential: boolean
objective_names?: string[]
form_widgets?: FormWidgets
preferences?: [number, number][]
preference_history?: PreferenceHistoryResponce[]
plotly_graph_objects: PlotlyGraphObject[]
}
@@ -129,6 +130,7 @@ export const getStudyDetailAPI = (
objective_names: res.data.objective_names,
form_widgets: res.data.form_widgets,
is_preferential: res.data.is_preferential,
preferences: res.data.preferences,
preference_history: res.data.preference_history?.map(
convertPreferenceHistory
),