Documentation
Preparing search index...
@kehto/services
DmMemoryStore
Class DmMemoryStore
In-memory normalized DM store.
Index
Constructors
constructor
Methods
conversation
Id
For
conversations
messages
upsert
Message
Constructors
constructor
new
DmMemoryStore
()
:
DmMemoryStore
Returns
DmMemoryStore
Methods
conversation
Id
For
conversationIdFor
(
participants
:
readonly
string
[]
)
:
string
Parameters
participants
:
readonly
string
[]
Returns
string
conversations
conversations
(
query
?:
DmConversationQuery
)
:
DmConversationPage
Parameters
query
:
DmConversationQuery
= {}
Returns
DmConversationPage
messages
messages
(
query
:
DmMessageQuery
)
:
DmMessagePage
Parameters
query
:
DmMessageQuery
Returns
DmMessagePage
upsert
Message
upsertMessage
(
message
:
DmMessage
,
participants
:
readonly
string
[]
)
:
DmMessage
Parameters
message
:
DmMessage
participants
:
readonly
string
[]
Returns
DmMessage
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
conversation
Id
For
conversations
messages
upsert
Message
Documentation
Loading...
In-memory normalized DM store.