mirror of
https://github.com/langgenius/dify.git
synced 2026-07-23 20:18:40 +08:00
32 lines
593 B
TypeScript
32 lines
593 B
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import * as z from 'zod'
|
|
|
|
/**
|
|
* VersionFeatures
|
|
*/
|
|
export const zVersionFeatures = z.object({
|
|
can_replace_logo: z.boolean(),
|
|
model_load_balancing_enabled: z.boolean(),
|
|
})
|
|
|
|
/**
|
|
* VersionResponse
|
|
*/
|
|
export const zVersionResponse = z.object({
|
|
can_auto_update: z.boolean(),
|
|
features: zVersionFeatures,
|
|
release_date: z.string(),
|
|
release_notes: z.string(),
|
|
version: z.string(),
|
|
})
|
|
|
|
export const zGetVersionQuery = z.object({
|
|
current_version: z.string(),
|
|
})
|
|
|
|
/**
|
|
* OK
|
|
*/
|
|
export const zGetVersionResponse = zVersionResponse
|