( sessionId: UUID, messageUuid: UUID, )
| 4080 | * Check if a message UUID exists in the session storage |
| 4081 | */ |
| 4082 | export async function doesMessageExistInSession( |
| 4083 | sessionId: UUID, |
| 4084 | messageUuid: UUID, |
| 4085 | ): Promise<boolean> { |
| 4086 | const messageSet = await getSessionMessages(sessionId) |
| 4087 | return messageSet.has(messageUuid) |
| 4088 | } |
| 4089 | |
| 4090 | export async function getLastSessionLog( |
| 4091 | sessionId: UUID, |
no test coverage detected