add Post abstraction

This commit is contained in:
InsanusMokrassar 2019-09-20 13:01:32 +06:00
parent ebe66cf614
commit 0261e9b60d

View File

@ -0,0 +1,10 @@
package com.github.insanusmokrassar.postssystem.core
import com.github.insanusmokrassar.postssystem.core.content.Content
typealias PostId = String
interface Post {
val id: PostId
val content: List<Content>
}