mirror of
https://github.com/langgenius/dify.git
synced 2026-07-21 10:38:32 +08:00
30 lines
608 B
TypeScript
30 lines
608 B
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import { oc } from '@orpc/contract'
|
|
import * as z from 'zod'
|
|
|
|
import { zGetVersionQuery, zGetVersionResponse } from './zod.gen'
|
|
|
|
/**
|
|
* Check for application version updates.
|
|
*/
|
|
export const get = oc
|
|
.route({
|
|
inputStructure: 'detailed',
|
|
method: 'GET',
|
|
operationId: 'getVersion',
|
|
path: '/version',
|
|
summary: 'Check for application version updates.',
|
|
tags: ['console'],
|
|
})
|
|
.input(z.object({ query: zGetVersionQuery }))
|
|
.output(zGetVersionResponse)
|
|
|
|
export const version = {
|
|
get,
|
|
}
|
|
|
|
export const contract = {
|
|
version,
|
|
}
|