mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-03 04:27:53 +00:00
- Set up stores for copilotThreads and copilotMessages. - Add support for upsert messages to the copilotMessages store on receiving ActionCable events. - Implement support for the upsert option.
8 lines
202 B
JavaScript
8 lines
202 B
JavaScript
import CopilotThreadsAPI from 'dashboard/api/captain/copilotThreads';
|
|
import { createStore } from './storeFactory';
|
|
|
|
export default createStore({
|
|
name: 'CopilotThreads',
|
|
API: CopilotThreadsAPI,
|
|
});
|