Package-level declarations

Types

Link copied to clipboard
@MappedEntity
data class FriendshipEntity(@Id val id: String, val users: Set<String>, val messages: List<MessageEntity> = emptyList())
Link copied to clipboard
@MongoRepository
interface FriendshipModelRepository : CrudRepository<FriendshipEntity, String>
Link copied to clipboard
@MappedEntity
data class FriendshipRequestEntity(@Id val id: String, val fromUser: String, val toUser: String)
Link copied to clipboard
@MongoRepository
interface FriendshipRequestModelRepository : CrudRepository<FriendshipRequestEntity, String>
Link copied to clipboard
@MappedEntity
data class MessageEntity(@Id val id: String, val content: String, val sender: String, val timestamp: String = Instant.now().toString())