Skip to Content

VaultChatEvent

VaultChatEvent = { origin: "local" | "remote"; type: "conversations"; } | { conversationId: string; origin: "local" | "remote"; type: "messages"; } | { conversationId: string; origin: "local" | "remote"; type: "summary"; } | { conversationId: string; origin: "local" | "remote"; type: "links"; } | { pending: number; stopped?: string; type: "outbox"; } | { id: string; kind: ChatRecordKind; reason: "missing" | "storage_quota" | "invalid" | "conversation_deleted"; type: "dropped"; } | { type: "vector_quota"; }

Defined in: src/lib/chatStore/vaultBackend.ts:77 

A change to the cached chats; origin is “remote” when another device or tab made it.

Last updated on