mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
31 lines
714 B
JavaScript
31 lines
714 B
JavaScript
// Wolle import { valuesReasonCategoryOptions } from '~/constants/modals.js'
|
|
|
|
export default function validReport({ translate }) {
|
|
return {
|
|
formSchema: {
|
|
// Wolle reasonCategory: {
|
|
// type: 'object',
|
|
// required: true,
|
|
// fields: {
|
|
// value: {
|
|
// type: 'enum',
|
|
// enum: valuesReasonCategoryOptions,
|
|
// required: true,
|
|
// message: translate('report.reason.category.invalid'),
|
|
// },
|
|
// },
|
|
// },
|
|
reasonDescription: {
|
|
type: 'string',
|
|
min: 0,
|
|
max: 200,
|
|
},
|
|
internalDescription: {
|
|
type: 'string',
|
|
min: 0,
|
|
max: 200,
|
|
},
|
|
},
|
|
}
|
|
}
|