mirror of
https://github.com/langgenius/dify.git
synced 2026-02-13 07:01:23 -05:00
15 lines
282 B
TypeScript
15 lines
282 B
TypeScript
import { type } from '@orpc/contract'
|
|
import { base } from '../base'
|
|
|
|
export const accountAvatarContract = base
|
|
.route({
|
|
path: '/account/avatar',
|
|
method: 'GET',
|
|
})
|
|
.input(type<{
|
|
query: {
|
|
avatar: string
|
|
}
|
|
}>())
|
|
.output(type<{ avatar_url: string }>())
|