mirror of
https://github.com/langgenius/dify.git
synced 2026-07-21 10:38:32 +08:00
37 lines
620 B
TypeScript
37 lines
620 B
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import * as z from 'zod'
|
|
|
|
/**
|
|
* InitStatusResponse
|
|
*/
|
|
export const zInitStatusResponse = z.object({
|
|
status: z.enum(['finished', 'not_started']),
|
|
})
|
|
|
|
/**
|
|
* InitValidatePayload
|
|
*/
|
|
export const zInitValidatePayload = z.object({
|
|
password: z.string().max(30),
|
|
})
|
|
|
|
/**
|
|
* InitValidateResponse
|
|
*/
|
|
export const zInitValidateResponse = z.object({
|
|
result: z.string(),
|
|
})
|
|
|
|
/**
|
|
* OK
|
|
*/
|
|
export const zGetInitResponse = zInitStatusResponse
|
|
|
|
export const zPostInitBody = zInitValidatePayload
|
|
|
|
/**
|
|
* Created
|
|
*/
|
|
export const zPostInitResponse = zInitValidateResponse
|