Files
dify/web/plugins/hey-api-orpc/config.ts
Stephen Zhou f5fdb6899a Update
2026-01-24 23:18:26 +08:00

17 lines
367 B
TypeScript

import type { OrpcPlugin } from './types'
import { definePluginConfig } from '@hey-api/openapi-ts'
import { handler } from './plugin'
export const defaultConfig: OrpcPlugin['Config'] = {
config: {
output: 'orpc',
},
dependencies: ['@hey-api/typescript', 'zod'],
handler,
name: 'orpc',
}
export const defineConfig = definePluginConfig(defaultConfig)