1 package net.pterodactylus.sone.database
3 import net.pterodactylus.sone.data.Post
6 * Database interface for bookmark-related functionality.
8 interface BookmarkDatabase {
10 val bookmarkedPosts: Set<Post>
12 fun bookmarkPost(post: Post)
13 fun unbookmarkPost(post: Post)
14 fun isPostBookmarked(post: Post): Boolean