Feat: Render QWeatherForm with shadcn-ui. #3221 (#5558)

### What problem does this PR solve?

Feat: Render QWeatherForm with shadcn-ui. #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-03-03 17:59:55 +08:00
committed by GitHub
parent 76cb4cd174
commit 64e9702a26
2 changed files with 131 additions and 56 deletions

View File

@ -186,7 +186,13 @@ export function useFormConfigMap() {
[Operator.QWeather]: {
component: QWeatherForm,
defaultValues: {},
schema: z.object({}),
schema: z.object({
web_apikey: z.string(),
lang: z.string(),
type: z.string(),
user_type: z.string(),
time_period: z.string().optional(),
}),
},
[Operator.ExeSQL]: {
component: ExeSQLForm,