mirror of
https://github.com/langgenius/dify.git
synced 2026-05-13 08:57:28 +08:00
20 lines
486 B
TypeScript
20 lines
486 B
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import { z } from 'zod'
|
|
|
|
export const zSelectControl = z.object({
|
|
label: z.string(),
|
|
variable: z.string(),
|
|
required: z.boolean(),
|
|
default: z.string().optional(),
|
|
options: z.array(z.string()),
|
|
})
|
|
|
|
export type SelectControlZodType = z.infer<typeof zSelectControl>
|
|
|
|
export const zSelectControlWrapper = z.object({
|
|
select: zSelectControl,
|
|
})
|
|
|
|
export type SelectControlWrapperZodType = z.infer<typeof zSelectControlWrapper>
|