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.

576 B
Raw Blame
// This file is auto-generated by @hey-api/openapi-ts

import { oc } from '@orpc/contract'
import * as z from 'zod'
import { zGetAllWorkspacesQuery, zGetAllWorkspacesResponse } from './zod.gen.ts'

export const get = oc
  .route({
    inputStructure: 'detailed',
    method: 'GET',
    operationId: 'getAllWorkspaces',
    path: '/all-workspaces',
    tags: ['console'],
  })
  .input(z.object({ query: zGetAllWorkspacesQuery.optional() }).optional())
  .output(zGetAllWorkspacesResponse)

export const allWorkspaces = {
  get,
}

export const contract = {
  allWorkspaces,
}