Revert "Update interface of constraint to optional"

This reverts commit 7fbcb1900c.
This commit is contained in:
hrntsm committed 2023-07-25 11:35:14 +09:00
1 parent 7fbcb1900c
commit c62b58add8
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ interface TrialResponse {
system_attrs: Attribute[]
note: Note
artifacts: Artifact[]
constraints?: number[]
constraints: number[]
}
const convertTrialResponse = (res: TrialResponse): Trial => {
+1 -1
View File
@@ -112,7 +112,7 @@ type Trial = {
}[]
user_attrs: Attribute[]
system_attrs: Attribute[]
constraints?: number[]
constraints: number[]
note: Note
artifacts: Artifact[]
}