The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { type AgentChatChannelSummary } from '@/ai/types/AgentChatChannelSummary';
import { createAtomState } from '@/ui/utilities/state/jotai/utils/createAtomState';
// Counted by the server, as the client only loads some of a channel's chats
export const agentChatChannelSummariesState = createAtomState<
Record<string, AgentChatChannelSummary>
>({
key: 'agentChatChannelSummariesState',
defaultValue: {},
});