fix: Make functions internal which are supposed to be internal

BREAKING CHANGE: Some functions are not available anymore.
This commit is contained in:
oSumAtrIX
2024-08-01 15:42:29 +02:00
parent 7f5d6dad7b
commit 893d22d793
3 changed files with 4 additions and 24 deletions

View File

@@ -123,8 +123,8 @@ object PatchUtils {
val use: Boolean,
val options: Map<String, FullJsonPatchOption<*>>,
) : JsonPatch {
companion object {
fun fromPatch(patch: Patch<*>) =
internal companion object {
internal fun fromPatch(patch: Patch<*>) =
FullJsonPatch(
patch.name,
patch.description,
@@ -148,8 +148,8 @@ object PatchUtils {
val required: Boolean,
val type: KType,
) {
companion object {
fun fromPatchOption(option: Option<*>) =
internal companion object {
internal fun fromPatchOption(option: Option<*>) =
FullJsonPatchOption(
option.key,
option.default,