now it is possible to publish different content based on web post created
This commit is contained in:
client/src/jsMain/kotlin/dev/inmo/postssystem/client/fsm/ui
features/content/common/src/jsMain/kotlin/dev/inmo/postssystem/features/content/common
gradle
idea/DefaultEntrance
server/src/main/resources/web
12
features/content/common/src/jsMain/kotlin/dev/inmo/postssystem/features/content/common/BinaryContentFromFile.kt
Normal file
12
features/content/common/src/jsMain/kotlin/dev/inmo/postssystem/features/content/common/BinaryContentFromFile.kt
Normal file
@ -0,0 +1,12 @@
|
||||
package dev.inmo.postssystem.features.content.common
|
||||
|
||||
import dev.inmo.micro_utils.common.MPPFile
|
||||
import dev.inmo.micro_utils.common.filename
|
||||
import dev.inmo.postssystem.features.common.common.inputProvider
|
||||
import dev.inmo.postssystem.features.common.common.mimeType
|
||||
|
||||
fun MPPFile.binaryContent() = BinaryContent(
|
||||
filename,
|
||||
mimeType,
|
||||
inputProvider()
|
||||
)
|
Reference in New Issue
Block a user