Skip to Content
Anuma SDKReactInternalInterfacesLazyStoredConversation

LazyStoredConversation

Defined in: src/lib/db/chat/types.ts:183 

Lazy variant of StoredConversation.

Identical to StoredConversation except title is replaced with encryptedTitle — the raw value as persisted in WatermelonDB. The caller is responsible for decrypting the title when (and only when) the row is actually rendered, typically via decryptConversationTitle inside an IntersectionObserver callback or a virtualized list.

For users with thousands of conversations this means plaintext titles for the off-screen rows never enter client RAM.

The string in encryptedTitle may also be plaintext (legacy/unencrypted conversations); decryptConversationTitle handles both transparently.

Extends

Properties

conversationId

conversationId: string

Defined in: src/lib/db/chat/types.ts:159 

Inherited from

StoredConversation.conversationId


createdAt

createdAt: Date

Defined in: src/lib/db/chat/types.ts:163 

Inherited from

StoredConversation.createdAt


encryptedTitle

encryptedTitle: string

Defined in: src/lib/db/chat/types.ts:189 

Raw stored title — either ciphertext (enc:v3:...) or plaintext for legacy rows. Pass to decryptConversationTitle(encryptedTitle, address) when the row needs to be rendered.


isDeleted

isDeleted: boolean

Defined in: src/lib/db/chat/types.ts:165 

Inherited from

StoredConversation.isDeleted


projectId?

optional projectId: string

Defined in: src/lib/db/chat/types.ts:162 

Optional project ID this conversation belongs to

Inherited from

StoredConversation.projectId


uniqueId

uniqueId: string

Defined in: src/lib/db/chat/types.ts:158 

Inherited from

StoredConversation.uniqueId


updatedAt

updatedAt: Date

Defined in: src/lib/db/chat/types.ts:164 

Inherited from

StoredConversation.updatedAt

Last updated on