Files
botpress--botpress/integrations/trello/src/channels/channel-wrapper.ts
T
2026-07-13 13:34:48 +08:00

10 lines
307 B
TypeScript

import { createChannelWrapper } from '@botpress/common'
import { TrelloClient } from 'src/trello-api/trello-client'
import * as bp from '.botpress'
export const wrapChannel = createChannelWrapper<bp.IntegrationProps>()({
toolFactories: {
trelloClient: ({ ctx }) => new TrelloClient({ ctx }),
},
})