Update interface of constraint to optional

This commit is contained in:
hrntsm
2023-07-24 10:19:06 +09:00
parent 2f8ff434f3
commit 7fbcb1900c
2 changed files with 2 additions and 2 deletions
+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[]
}