mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 12:32:30 +08:00
Feat: The input parameters of data manipulation operators can only be of type object. #10427 (#11179)
### What problem does this PR solve? Feat: The input parameters of data manipulation operators can only be of type object. #10427 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -89,7 +89,7 @@ function DataOperationsForm({ node }: INextOperatorForm) {
|
||||
<QueryVariableList
|
||||
tooltip={t('flow.queryTip')}
|
||||
label={t('flow.query')}
|
||||
types={[JsonSchemaDataType.Array, JsonSchemaDataType.Object]}
|
||||
types={[JsonSchemaDataType.Object]}
|
||||
></QueryVariableList>
|
||||
<Separator />
|
||||
<RAGFlowFormItem name="operations" label={t('flow.operations')}>
|
||||
|
||||
@ -14,7 +14,7 @@ import { useForm } from 'react-hook-form';
|
||||
|
||||
const formSchema = z.object({
|
||||
title: z.string().min(1, {}),
|
||||
avatar: z.string().optional(),
|
||||
avatar: z.string().optional().nullable(),
|
||||
description: z.string().optional().nullable(),
|
||||
permission: z.string(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user