mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-07 22:18:33 +00:00
--------- Co-authored-by: marcosadsj <marcosadsj@gmail.com> Co-authored-by: naman-bruno <naman@usebruno.com> Co-authored-by: sanish chirayath <sanish@usebruno.com>
This commit is contained in:
@@ -77,11 +77,9 @@ const multipartFormSchema = Yup.object({
|
||||
|
||||
const binaryFileSchema = Yup.object({
|
||||
uid: uidSchema,
|
||||
type: Yup.string().oneOf(['binaryFile']).required('type is required'),
|
||||
name: Yup.string().nullable(),
|
||||
value: Yup.array().of(Yup.string().nullable()).nullable(),
|
||||
filePath: Yup.string().nullable(),
|
||||
contentType: Yup.string().nullable(),
|
||||
enabled: Yup.boolean()
|
||||
selected: Yup.boolean()
|
||||
})
|
||||
.noUnknown(true)
|
||||
.strict();
|
||||
|
||||
Reference in New Issue
Block a user