UNPKG

@difizen/magent-au

Version:
16 lines (13 loc) 518 B
import { createSlotPreference, ManaModule } from '@difizen/mana-app'; import { AgentChatView, AgentChatSlot as ChatSlot } from '../agent-chat/chat-view.js'; import { AUViewCommonModule } from '../common/module.js'; import { SessionsViewModule } from '../sessions/module.js'; export const AgentChatModule = ManaModule.create('AgentChatModule') .register( AgentChatView, createSlotPreference({ slot: ChatSlot, view: AgentChatView, }), ) .dependOn(SessionsViewModule, AUViewCommonModule);