a little updates
This commit is contained in:
features
auth
client
build.gradle
src
commonMain
kotlin
dev
inmo
postssystem
features
auth
client
jsMain
kotlin
dev
inmo
postssystem
features
auth
client
common
common
src
commonMain
kotlin
dev
inmo
postssystem
features
common
common
roles
common
src
commonMain
kotlin
dev
inmo
postssystem
features
roles
common
manager
common
src
commonMain
kotlin
dev
inmo
postssystem
features
roles
manager
common
targets/telegram
loader
server
src
jvmMain
kotlin
dev
inmo
postssystem
targets
telegram
loader
server
publication
server
src
jvmMain
kotlin
dev
inmo
postssystem
targets
telegram
publication
@ -33,9 +33,10 @@ expect class FileBasedInputProvider : SimpleInputProvider {
|
||||
}
|
||||
|
||||
@Serializable(SimpleInputProviderSerializer::class)
|
||||
class CustomInputProvider(private val provider: () -> Input) : SimpleInputProvider {
|
||||
override val contentBytes: Long?
|
||||
get() = null
|
||||
class CustomInputProvider(
|
||||
override val contentBytes: Long? = null,
|
||||
private val provider: () -> Input
|
||||
) : SimpleInputProvider {
|
||||
override fun invoke(): Input = provider()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user