impl common

This commit is contained in:
000Sanya
2020-08-13 16:47:40 +10:00
parent 46c84099be
commit 6809a1cc4b
7 changed files with 99 additions and 0 deletions

@ -0,0 +1,7 @@
package com.insanusmokrassar.postssystem.publishing.ktor
const val getPostIdByTriggerControlKeyRoute = "getPostIdByTriggerControlKey"
const val getTriggerControlKeyByPostIdRoute = "getTriggerControlKeyByPostId"
const val setPostTriggerControlKeyRoute = "setPostTriggerControlKey"
const val unsetPostTriggerControlKeyRoute = "unsetPostTriggerControlKey"

@ -0,0 +1,4 @@
package com.insanusmokrassar.postssystem.publishing.ktor
//const val getPostIdByTriggerControlKeyRoute = "getPostIdByTriggerControlKey"
const val registerTriggerForPostRoute = "registerTriggerForPost"

@ -0,0 +1,3 @@
package com.insanusmokrassar.postssystem.publishing.ktor
const val triggerPostingRoute = "triggerPosting"

@ -0,0 +1,6 @@
package com.insanusmokrassar.postssystem.publishing.ktor
import com.insanusmokrassar.postssystem.ktor.setIdsSerializer
val postsIdSerializer = setIdsSerializer
val triggerControlKeysSerializer = setIdsSerializer