add post creating business case

This commit is contained in:
2020-09-10 00:04:25 +06:00
parent cf1aa3ae0f
commit 60725d9fa3
31 changed files with 332 additions and 37 deletions

View File

@@ -44,7 +44,7 @@ kotlin {
if ((project.hasProperty('RELEASE_MODE') && project.property('RELEASE_MODE') == "true") || System.getenv('RELEASE_MODE') == "true") {
api "com.insanusmokrassar:postssystem.core.api:$core_version"
} else {
api projectByName("postssystem.core.api")
api projectByName("core.api")
}
}
}

View File

@@ -0,0 +1,5 @@
package com.insanusmokrassar.postssystem.core.publishing
import com.insanusmokrassar.postssystem.core.post.PostId
typealias PostKeyGenerator = suspend (PostId, TriggerId) -> TriggerControlKey