Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

610 B
Raw Blame
// 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.ts'

/**
 * 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,
}