From 6d8b6432a1c413dfe4975f097094f42ca2efcfcb Mon Sep 17 00:00:00 2001 From: Arnaud Giuliani Date: Tue, 12 Sep 2023 11:45:55 +0200 Subject: [PATCH] api sig update for 3.5 --- .../api/koin-android-compat.api | 13 +++----- .../api/koin-android-test.api | 7 ---- android/koin-android/api/koin-android.api | 7 ---- .../api/koin-androidx-navigation.api | 7 ---- .../api/koin-androidx-workmanager.api | 7 ---- .../api/koin-androidx-compose-navigation.api | 7 ---- .../api/koin-androidx-compose.api | 11 +++---- compose/koin-compose/api/koin-compose.api | 18 ++++++++++ .../api/sample-android-compose.api | 22 +++++++++++++ core/koin-core/api/koin-core.api | 31 ++++++++--------- core/koin-test/api/koin-test.api | 33 ------------------- ktor/examples/hello-ktor/api/hello-ktor.api | 5 +++ ktor/koin-ktor/api/koin-ktor.api | 12 +++++++ 13 files changed, 79 insertions(+), 101 deletions(-) diff --git a/android/koin-android-compat/api/koin-android-compat.api b/android/koin-android-compat/api/koin-android-compat.api index e88029387..dbb0df408 100644 --- a/android/koin-android-compat/api/koin-android-compat.api +++ b/android/koin-android-compat/api/koin-android-compat.api @@ -1,10 +1,3 @@ -public final class org/koin/android/compat/BuildConfig { - public static final field BUILD_TYPE Ljava/lang/String; - public static final field DEBUG Z - public static final field LIBRARY_PACKAGE_NAME Ljava/lang/String; - public fun ()V -} - public final class org/koin/android/compat/GetViewModelCompatKt { public static final fun resolveViewModelCompat (Ljava/lang/Class;Landroidx/lifecycle/ViewModelStore;Ljava/lang/String;Landroidx/lifecycle/viewmodel/CreationExtras;Lorg/koin/core/qualifier/Qualifier;Lorg/koin/core/scope/Scope;Lkotlin/jvm/functions/Function0;)Landroidx/lifecycle/ViewModel; public static synthetic fun resolveViewModelCompat$default (Ljava/lang/Class;Landroidx/lifecycle/ViewModelStore;Ljava/lang/String;Landroidx/lifecycle/viewmodel/CreationExtras;Lorg/koin/core/qualifier/Qualifier;Lorg/koin/core/scope/Scope;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Landroidx/lifecycle/ViewModel; @@ -39,10 +32,12 @@ public final class org/koin/android/compat/ViewModelCompat { public static final fun getViewModel (Landroidx/lifecycle/ViewModelStoreOwner;Ljava/lang/Class;)Landroidx/lifecycle/ViewModel; public static final fun getViewModel (Landroidx/lifecycle/ViewModelStoreOwner;Ljava/lang/Class;Lorg/koin/core/qualifier/Qualifier;)Landroidx/lifecycle/ViewModel; public static final fun getViewModel (Landroidx/lifecycle/ViewModelStoreOwner;Ljava/lang/Class;Lorg/koin/core/qualifier/Qualifier;Lkotlin/jvm/functions/Function0;)Landroidx/lifecycle/ViewModel; - public static synthetic fun getViewModel$default (Landroidx/lifecycle/ViewModelStoreOwner;Ljava/lang/Class;Lorg/koin/core/qualifier/Qualifier;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Landroidx/lifecycle/ViewModel; + public static final fun getViewModel (Landroidx/lifecycle/ViewModelStoreOwner;Ljava/lang/Class;Lorg/koin/core/qualifier/Qualifier;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)Landroidx/lifecycle/ViewModel; + public static synthetic fun getViewModel$default (Landroidx/lifecycle/ViewModelStoreOwner;Ljava/lang/Class;Lorg/koin/core/qualifier/Qualifier;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Landroidx/lifecycle/ViewModel; public static final fun viewModel (Landroidx/lifecycle/ViewModelStoreOwner;Ljava/lang/Class;)Lkotlin/Lazy; public static final fun viewModel (Landroidx/lifecycle/ViewModelStoreOwner;Ljava/lang/Class;Lorg/koin/core/qualifier/Qualifier;)Lkotlin/Lazy; public static final fun viewModel (Landroidx/lifecycle/ViewModelStoreOwner;Ljava/lang/Class;Lorg/koin/core/qualifier/Qualifier;Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy; - public static synthetic fun viewModel$default (Landroidx/lifecycle/ViewModelStoreOwner;Ljava/lang/Class;Lorg/koin/core/qualifier/Qualifier;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Lkotlin/Lazy; + public static final fun viewModel (Landroidx/lifecycle/ViewModelStoreOwner;Ljava/lang/Class;Lorg/koin/core/qualifier/Qualifier;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy; + public static synthetic fun viewModel$default (Landroidx/lifecycle/ViewModelStoreOwner;Ljava/lang/Class;Lorg/koin/core/qualifier/Qualifier;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Lkotlin/Lazy; } diff --git a/android/koin-android-test/api/koin-android-test.api b/android/koin-android-test/api/koin-android-test.api index d74c30f43..c6dc1e8c8 100644 --- a/android/koin-android-test/api/koin-android-test.api +++ b/android/koin-android-test/api/koin-android-test.api @@ -1,10 +1,3 @@ -public final class org/koin/android/test/BuildConfig { - public static final field BUILD_TYPE Ljava/lang/String; - public static final field DEBUG Z - public static final field LIBRARY_PACKAGE_NAME Ljava/lang/String; - public fun ()V -} - public final class org/koin/android/test/verify/AndroidVerify { public static final field INSTANCE Lorg/koin/android/test/verify/AndroidVerify; public final fun getAndroidTypes ()Ljava/util/List; diff --git a/android/koin-android/api/koin-android.api b/android/koin-android/api/koin-android.api index 6149856f9..736612db1 100644 --- a/android/koin-android/api/koin-android.api +++ b/android/koin-android/api/koin-android.api @@ -4,13 +4,6 @@ public final class androidx/lifecycle/StateViewModelFactory : androidx/lifecycle public final fun getScope ()Lorg/koin/core/scope/Scope; } -public final class org/koin/android/BuildConfig { - public static final field BUILD_TYPE Ljava/lang/String; - public static final field DEBUG Z - public static final field LIBRARY_PACKAGE_NAME Ljava/lang/String; - public fun ()V -} - public final class org/koin/android/error/MissingAndroidContextException : java/lang/Throwable { public fun (Ljava/lang/String;)V } diff --git a/android/koin-androidx-navigation/api/koin-androidx-navigation.api b/android/koin-androidx-navigation/api/koin-androidx-navigation.api index 9da3f686f..e69de29bb 100644 --- a/android/koin-androidx-navigation/api/koin-androidx-navigation.api +++ b/android/koin-androidx-navigation/api/koin-androidx-navigation.api @@ -1,7 +0,0 @@ -public final class org/koin/androidx/navigation/BuildConfig { - public static final field BUILD_TYPE Ljava/lang/String; - public static final field DEBUG Z - public static final field LIBRARY_PACKAGE_NAME Ljava/lang/String; - public fun ()V -} - diff --git a/android/koin-androidx-workmanager/api/koin-androidx-workmanager.api b/android/koin-androidx-workmanager/api/koin-androidx-workmanager.api index 1c5e40345..d83f16a4b 100644 --- a/android/koin-androidx-workmanager/api/koin-androidx-workmanager.api +++ b/android/koin-androidx-workmanager/api/koin-androidx-workmanager.api @@ -1,10 +1,3 @@ -public final class org/koin/androidx/workmanager/BuildConfig { - public static final field BUILD_TYPE Ljava/lang/String; - public static final field DEBUG Z - public static final field LIBRARY_PACKAGE_NAME Ljava/lang/String; - public fun ()V -} - public final class org/koin/androidx/workmanager/factory/KoinWorkerFactory : androidx/work/WorkerFactory, org/koin/core/component/KoinComponent { public fun ()V public fun createWorker (Landroid/content/Context;Ljava/lang/String;Landroidx/work/WorkerParameters;)Landroidx/work/ListenableWorker; diff --git a/compose/koin-androidx-compose-navigation/api/koin-androidx-compose-navigation.api b/compose/koin-androidx-compose-navigation/api/koin-androidx-compose-navigation.api index 7226c4511..f33580013 100644 --- a/compose/koin-androidx-compose-navigation/api/koin-androidx-compose-navigation.api +++ b/compose/koin-androidx-compose-navigation/api/koin-androidx-compose-navigation.api @@ -1,10 +1,3 @@ -public final class org/koin/androidx/compose/navigation/BuildConfig { - public static final field BUILD_TYPE Ljava/lang/String; - public static final field DEBUG Z - public static final field LIBRARY_PACKAGE_NAME Ljava/lang/String; - public fun ()V -} - public final class org/koin/androidx/compose/navigation/NavViewModelInternalsKt { public static final fun defaultNavExtras (Landroidx/lifecycle/ViewModelStoreOwner;Landroidx/compose/runtime/Composer;I)Landroidx/lifecycle/viewmodel/CreationExtras; } diff --git a/compose/koin-androidx-compose/api/koin-androidx-compose.api b/compose/koin-androidx-compose/api/koin-androidx-compose.api index ef2a9d9b9..848ca3ed4 100644 --- a/compose/koin-androidx-compose/api/koin-androidx-compose.api +++ b/compose/koin-androidx-compose/api/koin-androidx-compose.api @@ -1,14 +1,11 @@ -public final class org/koin/androidx/compose/BuildConfig { - public static final field BUILD_TYPE Ljava/lang/String; - public static final field DEBUG Z - public static final field LIBRARY_PACKAGE_NAME Ljava/lang/String; - public fun ()V -} - public final class org/koin/androidx/compose/GetExtKt { public static final fun getKoin (Landroidx/compose/runtime/Composer;I)Lorg/koin/core/Koin; } +public final class org/koin/androidx/compose/KoinAndroidContextKt { + public static final fun KoinAndroidContext (Lkotlin/jvm/functions/Function2;Landroidx/compose/runtime/Composer;I)V +} + public final class org/koin/androidx/compose/ViewModelInternalsKt { public static final fun defaultExtras (Landroidx/lifecycle/ViewModelStoreOwner;Landroidx/compose/runtime/Composer;I)Landroidx/lifecycle/viewmodel/CreationExtras; } diff --git a/compose/koin-compose/api/koin-compose.api b/compose/koin-compose/api/koin-compose.api index 890f8a9e1..5bfd87aa1 100644 --- a/compose/koin-compose/api/koin-compose.api +++ b/compose/koin-compose/api/koin-compose.api @@ -1,11 +1,19 @@ public final class org/koin/compose/KoinApplicationKt { public static final fun KoinApplication (Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function2;Landroidx/compose/runtime/Composer;I)V public static final fun KoinApplication (Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function2;Landroidx/compose/runtime/Composer;I)V + public static final fun KoinContext (Lorg/koin/core/Koin;Lkotlin/jvm/functions/Function2;Landroidx/compose/runtime/Composer;II)V + public static final fun KoinIsolatedContext (Lorg/koin/core/KoinApplication;Lkotlin/jvm/functions/Function2;Landroidx/compose/runtime/Composer;I)V public static final fun getKoin (Landroidx/compose/runtime/Composer;I)Lorg/koin/core/Koin; + public static final fun getKoinScope (Landroidx/compose/runtime/Composer;I)Lorg/koin/core/scope/Scope; public static final fun getLocalKoinApplication ()Landroidx/compose/runtime/ProvidableCompositionLocal; public static final fun getLocalKoinScope ()Landroidx/compose/runtime/ProvidableCompositionLocal; } +public final class org/koin/compose/error/UnknownKoinContext : java/lang/RuntimeException { + public static final field $stable I + public fun ()V +} + public final class org/koin/compose/module/CompositionKoinModuleLoader : androidx/compose/runtime/RememberObserver { public static final field $stable I public fun (Ljava/util/List;Lorg/koin/core/Koin;ZZ)V @@ -42,3 +50,13 @@ public final class org/koin/compose/scope/RememberScopesKt { public static final fun rememberKoinScope (Lorg/koin/core/scope/Scope;Landroidx/compose/runtime/Composer;I)Lorg/koin/core/scope/Scope; } +public final class org/koin/compose/stable/StableHoldersKt { + public static final fun rememberStableParametersDefinition (Lkotlin/jvm/functions/Function0;Landroidx/compose/runtime/Composer;I)Lorg/koin/compose/stable/StableParametersDefinition; +} + +public final class org/koin/compose/stable/StableParametersDefinition { + public static final field $stable I + public fun (Lkotlin/jvm/functions/Function0;)V + public final fun getParametersDefinition ()Lkotlin/jvm/functions/Function0; +} + diff --git a/compose/sample-android-compose/api/sample-android-compose.api b/compose/sample-android-compose/api/sample-android-compose.api index 0f04d3bd4..92873aeba 100644 --- a/compose/sample-android-compose/api/sample-android-compose.api +++ b/compose/sample-android-compose/api/sample-android-compose.api @@ -33,9 +33,11 @@ public final class org/koin/sample/androidx/compose/ComposableSingletons$MainAct public static final field INSTANCE Lorg/koin/sample/androidx/compose/ComposableSingletons$MainActivityKt; public static field lambda-1 Lkotlin/jvm/functions/Function2; public static field lambda-2 Lkotlin/jvm/functions/Function2; + public static field lambda-3 Lkotlin/jvm/functions/Function2; public fun ()V public final fun getLambda-1$sample_android_compose_release ()Lkotlin/jvm/functions/Function2; public final fun getLambda-2$sample_android_compose_release ()Lkotlin/jvm/functions/Function2; + public final fun getLambda-3$sample_android_compose_release ()Lkotlin/jvm/functions/Function2; } public final class org/koin/sample/androidx/compose/MainActivity : org/koin/androidx/scope/ScopeActivity { @@ -54,6 +56,10 @@ public final class org/koin/sample/androidx/compose/MainApplication : android/ap public fun onCreate ()V } +public final class org/koin/sample/androidx/compose/SDKComposableKt { + public static final fun IsolatedSDKComposable (Ljava/lang/String;Landroidx/compose/runtime/Composer;II)V +} + public final class org/koin/sample/androidx/compose/UIComponentsKt { public static final fun ButtonForCreate (Ljava/lang/String;Lkotlin/jvm/functions/Function0;Landroidx/compose/runtime/Composer;I)V public static final fun UsersView (Ljava/util/List;Landroidx/compose/runtime/Composer;I)V @@ -105,12 +111,28 @@ public final class org/koin/sample/androidx/compose/data/UserRepository { public final fun getUsers ()Ljava/util/List; } +public final class org/koin/sample/androidx/compose/data/sdk/SDKData { + public static final field $stable I + public fun ()V + public final fun getId ()Ljava/lang/String; +} + public final class org/koin/sample/androidx/compose/di/AppModuleKt { public static final fun getAppModule ()Lorg/koin/core/module/Module; public static final fun getSecondModule ()Lorg/koin/core/module/Module; public static final fun getWALLET_SCOPE ()Lorg/koin/core/qualifier/StringQualifier; } +public final class org/koin/sample/androidx/compose/di/IsolatedContextKt { + public static final fun getSdkModule ()Lorg/koin/core/module/Module; +} + +public final class org/koin/sample/androidx/compose/di/IsolatedContextSDK { + public static final field $stable I + public static final field INSTANCE Lorg/koin/sample/androidx/compose/di/IsolatedContextSDK; + public final fun getKoinApp ()Lorg/koin/core/KoinApplication; +} + public final class org/koin/sample/androidx/compose/viewmodel/SSHViewModel : androidx/lifecycle/ViewModel { public static final field $stable I public fun (Ljava/lang/String;Landroidx/lifecycle/SavedStateHandle;)V diff --git a/core/koin-core/api/koin-core.api b/core/koin-core/api/koin-core.api index c6f1f3a89..2f3ba107b 100644 --- a/core/koin-core/api/koin-core.api +++ b/core/koin-core/api/koin-core.api @@ -28,8 +28,8 @@ public final class org/koin/core/Koin { public final fun getScope (Ljava/lang/String;)Lorg/koin/core/scope/Scope; public final fun getScopeOrNull (Ljava/lang/String;)Lorg/koin/core/scope/Scope; public final fun getScopeRegistry ()Lorg/koin/core/registry/ScopeRegistry; - public final fun loadModules (Ljava/util/List;Z)V - public static synthetic fun loadModules$default (Lorg/koin/core/Koin;Ljava/util/List;ZILjava/lang/Object;)V + public final fun loadModules (Ljava/util/List;ZZ)V + public static synthetic fun loadModules$default (Lorg/koin/core/Koin;Ljava/util/List;ZZILjava/lang/Object;)V public final fun setProperty (Ljava/lang/String;Ljava/lang/Object;)V public final fun setupLogger (Lorg/koin/core/logger/Logger;)V public final fun unloadModules (Ljava/util/List;)V @@ -106,8 +106,8 @@ public final class org/koin/core/context/GlobalContext : org/koin/core/context/K public fun get ()Lorg/koin/core/Koin; public final fun getKoinApplicationOrNull ()Lorg/koin/core/KoinApplication; public fun getOrNull ()Lorg/koin/core/Koin; - public fun loadKoinModules (Ljava/util/List;)V - public fun loadKoinModules (Lorg/koin/core/module/Module;)V + public fun loadKoinModules (Ljava/util/List;Z)V + public fun loadKoinModules (Lorg/koin/core/module/Module;Z)V public fun startKoin (Lkotlin/jvm/functions/Function1;)Lorg/koin/core/KoinApplication; public fun startKoin (Lorg/koin/core/KoinApplication;)Lorg/koin/core/KoinApplication; public fun stopKoin ()V @@ -118,8 +118,8 @@ public final class org/koin/core/context/GlobalContext : org/koin/core/context/K public abstract interface class org/koin/core/context/KoinContext { public abstract fun get ()Lorg/koin/core/Koin; public abstract fun getOrNull ()Lorg/koin/core/Koin; - public abstract fun loadKoinModules (Ljava/util/List;)V - public abstract fun loadKoinModules (Lorg/koin/core/module/Module;)V + public abstract fun loadKoinModules (Ljava/util/List;Z)V + public abstract fun loadKoinModules (Lorg/koin/core/module/Module;Z)V public abstract fun startKoin (Lkotlin/jvm/functions/Function1;)Lorg/koin/core/KoinApplication; public abstract fun startKoin (Lorg/koin/core/KoinApplication;)Lorg/koin/core/KoinApplication; public abstract fun stopKoin ()V @@ -127,6 +127,11 @@ public abstract interface class org/koin/core/context/KoinContext { public abstract fun unloadKoinModules (Lorg/koin/core/module/Module;)V } +public final class org/koin/core/context/KoinContext$DefaultImpls { + public static synthetic fun loadKoinModules$default (Lorg/koin/core/context/KoinContext;Ljava/util/List;ZILjava/lang/Object;)V + public static synthetic fun loadKoinModules$default (Lorg/koin/core/context/KoinContext;Lorg/koin/core/module/Module;ZILjava/lang/Object;)V +} + public final class org/koin/core/definition/BeanDefinition { public fun (Lorg/koin/core/qualifier/Qualifier;Lkotlin/reflect/KClass;Lorg/koin/core/qualifier/Qualifier;Lkotlin/jvm/functions/Function2;Lorg/koin/core/definition/Kind;Ljava/util/List;)V public synthetic fun (Lorg/koin/core/qualifier/Qualifier;Lkotlin/reflect/KClass;Lorg/koin/core/qualifier/Qualifier;Lkotlin/jvm/functions/Function2;Lorg/koin/core/definition/Kind;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V @@ -376,7 +381,7 @@ public final class org/koin/core/module/Module { public final fun getScopes ()Ljava/util/HashSet; public final fun get_createdAtStart ()Z public fun hashCode ()I - public final fun includes (Ljava/util/List;)V + public final fun includes (Ljava/util/Collection;)V public final fun includes ([Lorg/koin/core/module/Module;)V public final fun indexPrimaryType (Lorg/koin/core/instance/InstanceFactory;)V public final fun indexSecondaryTypes (Lorg/koin/core/instance/InstanceFactory;)V @@ -389,8 +394,7 @@ public final class org/koin/core/module/Module { } public final class org/koin/core/module/ModuleKt { - public static final fun flatten (Ljava/util/List;Ljava/util/Set;)Ljava/util/Set; - public static synthetic fun flatten$default (Ljava/util/List;Ljava/util/Set;ILjava/lang/Object;)Ljava/util/Set; + public static final fun flatten (Ljava/util/List;)Ljava/util/Set; public static final fun overrideError (Lorg/koin/core/instance/InstanceFactory;Ljava/lang/String;)V public static final fun plus (Ljava/util/List;Lorg/koin/core/module/Module;)Ljava/util/List; } @@ -512,12 +516,6 @@ public final class org/koin/core/scope/Scope { public fun (Lorg/koin/core/qualifier/Qualifier;Ljava/lang/String;ZLorg/koin/core/Koin;)V public synthetic fun (Lorg/koin/core/qualifier/Qualifier;Ljava/lang/String;ZLorg/koin/core/Koin;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun close ()V - public final fun component1 ()Lorg/koin/core/qualifier/Qualifier; - public final fun component2 ()Ljava/lang/String; - public final fun component3 ()Z - public final fun copy (Lorg/koin/core/qualifier/Qualifier;Ljava/lang/String;ZLorg/koin/core/Koin;)Lorg/koin/core/scope/Scope; - public static synthetic fun copy$default (Lorg/koin/core/scope/Scope;Lorg/koin/core/qualifier/Qualifier;Ljava/lang/String;ZLorg/koin/core/Koin;ILjava/lang/Object;)Lorg/koin/core/scope/Scope; - public fun equals (Ljava/lang/Object;)Z public final fun get (Lkotlin/reflect/KClass;Lorg/koin/core/qualifier/Qualifier;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object; public static synthetic fun get$default (Lorg/koin/core/scope/Scope;Lkotlin/reflect/KClass;Lorg/koin/core/qualifier/Qualifier;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Ljava/lang/Object; public final fun getAll (Lkotlin/reflect/KClass;)Ljava/util/List; @@ -533,9 +531,8 @@ public final class org/koin/core/scope/Scope { public final fun getScope (Ljava/lang/String;)Lorg/koin/core/scope/Scope; public final fun getScopeQualifier ()Lorg/koin/core/qualifier/Qualifier; public final fun get_koin ()Lorg/koin/core/Koin; - public final fun get_parameterStack ()Lkotlin/collections/ArrayDeque; + public final fun get_parameterStackLocal ()Ljava/lang/ThreadLocal; public final fun get_source ()Ljava/lang/Object; - public fun hashCode ()I public final fun isNotClosed ()Z public final fun isRoot ()Z public final fun linkTo ([Lorg/koin/core/scope/Scope;)V diff --git a/core/koin-test/api/koin-test.api b/core/koin-test/api/koin-test.api index 1ba457851..6af67330b 100644 --- a/core/koin-test/api/koin-test.api +++ b/core/koin-test/api/koin-test.api @@ -5,39 +5,6 @@ public final class org/koin/test/KoinTest$DefaultImpls { public static fun getKoin (Lorg/koin/test/KoinTest;)Lorg/koin/core/Koin; } -public final class org/koin/test/Simple { - public fun ()V -} - -public final class org/koin/test/Simple$ComponentA { - public fun ()V -} - -public final class org/koin/test/Simple$ComponentB { - public fun (Lorg/koin/test/Simple$ComponentA;)V - public final fun getA ()Lorg/koin/test/Simple$ComponentA; -} - -public final class org/koin/test/Simple$ComponentC { - public fun (Lorg/koin/test/Simple$ComponentB;)V - public final fun getB ()Lorg/koin/test/Simple$ComponentB; -} - -public final class org/koin/test/Simple$MyString { - public fun (Ljava/lang/String;)V - public final fun getS ()Ljava/lang/String; -} - -public final class org/koin/test/Simple$UUIDComponent { - public fun ()V - public final fun getUUID ()Ljava/lang/String; -} - -public final class org/koin/test/UpperCase : org/koin/core/qualifier/Qualifier { - public static final field INSTANCE Lorg/koin/test/UpperCase; - public fun getValue ()Ljava/lang/String; -} - public abstract interface class org/koin/test/category/CheckModuleTest { } diff --git a/ktor/examples/hello-ktor/api/hello-ktor.api b/ktor/examples/hello-ktor/api/hello-ktor.api index a1a2796f0..63e7f9325 100644 --- a/ktor/examples/hello-ktor/api/hello-ktor.api +++ b/ktor/examples/hello-ktor/api/hello-ktor.api @@ -32,3 +32,8 @@ public final class org/koin/sample/KoinAppModuleKt { public static final fun getAppModule2 ()Lorg/koin/core/module/Module; } +public final class org/koin/sample/ScopeComponent { + public fun ()V + public final fun getId ()Ljava/lang/String; +} + diff --git a/ktor/koin-ktor/api/koin-ktor.api b/ktor/koin-ktor/api/koin-ktor.api index 89d790fa8..7c3fda657 100644 --- a/ktor/koin-ktor/api/koin-ktor.api +++ b/ktor/koin-ktor/api/koin-ktor.api @@ -28,7 +28,19 @@ public final class org/koin/ktor/plugin/KoinApplicationEventsKt { } public final class org/koin/ktor/plugin/KoinPluginKt { + public static final field KOIN_KEY Ljava/lang/String; + public static final field KOIN_SCOPE_KEY Ljava/lang/String; + public static final fun getKOIN_ATTRIBUTE_KEY ()Lio/ktor/util/AttributeKey; + public static final fun getKOIN_SCOPE_ATTRIBUTE_KEY ()Lio/ktor/util/AttributeKey; public static final fun getKoin ()Lio/ktor/server/application/ApplicationPlugin; + public static final fun getScope (Lio/ktor/server/application/ApplicationCall;)Lorg/koin/core/scope/Scope; public static final fun koin (Lio/ktor/server/application/Application;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; } +public final class org/koin/ktor/plugin/RequestScope : org/koin/core/component/KoinScopeComponent { + public fun (Lorg/koin/core/Koin;)V + public fun closeScope ()V + public fun getKoin ()Lorg/koin/core/Koin; + public fun getScope ()Lorg/koin/core/scope/Scope; +} +