mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-25 23:24:03 +00:00
Major additions: - Complete Next.js studio application with 1600+ components - Docker support (Dockerfile.combined, docker-compose.yml) - GCP deployment documentation and benchmarks - SQL benchmark scripts for performance testing - Sentry integration for monitoring - Comprehensive test suite and mocks Studio features: - Dashboard and admin interfaces - Data visualization components - Authentication and user management - API integration with RuVector backend - Static data and public assets 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
40 lines
1.1 KiB
TypeScript
40 lines
1.1 KiB
TypeScript
import { UseFormReturn } from 'react-hook-form'
|
|
|
|
import {
|
|
FormControl_Shadcn_,
|
|
FormField_Shadcn_,
|
|
FormItem_Shadcn_,
|
|
FormLabel_Shadcn_,
|
|
FormMessage_Shadcn_,
|
|
SheetSection,
|
|
TextArea_Shadcn_,
|
|
} from 'ui'
|
|
import { CreateCronJobForm } from './CreateCronJobSheet/CreateCronJobSheet.constants'
|
|
|
|
interface HttpBodyFieldSectionProps {
|
|
form: UseFormReturn<CreateCronJobForm>
|
|
}
|
|
|
|
export const HttpBodyFieldSection = ({ form }: HttpBodyFieldSectionProps) => {
|
|
return (
|
|
<SheetSection>
|
|
<FormField_Shadcn_
|
|
control={form.control}
|
|
name="values.httpBody"
|
|
render={({ field }) => (
|
|
<FormItem_Shadcn_ className="gap-1 flex flex-col">
|
|
<FormLabel_Shadcn_>HTTP Request Body</FormLabel_Shadcn_>
|
|
<FormControl_Shadcn_>
|
|
<TextArea_Shadcn_
|
|
className="h-72 rounded-none px-4 outline-none"
|
|
value={field.value}
|
|
onChange={field.onChange}
|
|
/>
|
|
</FormControl_Shadcn_>
|
|
<FormMessage_Shadcn_ />
|
|
</FormItem_Shadcn_>
|
|
)}
|
|
/>
|
|
</SheetSection>
|
|
)
|
|
}
|