add Post abstraction
This commit is contained in:
parent
ebe66cf614
commit
0261e9b60d
@ -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>
|
||||
}
|
Loading…
Reference in New Issue
Block a user