Skip to content

Commit

Permalink
API signature update
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudgiuliani committed Sep 13, 2024
1 parent 23fcf1c commit 1243d45
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 61 deletions.
2 changes: 2 additions & 0 deletions projects/android/koin-android/api/koin-android.api
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ public final class org/koin/androidx/scope/ComponentActivityExtKt {
public static final fun createActivityScope (Landroidx/activity/ComponentActivity;)Lorg/koin/core/scope/Scope;
public static final fun createScope (Landroidx/activity/ComponentActivity;Ljava/lang/Object;)Lorg/koin/core/scope/Scope;
public static synthetic fun createScope$default (Landroidx/activity/ComponentActivity;Ljava/lang/Object;ILjava/lang/Object;)Lorg/koin/core/scope/Scope;
public static final fun getRetainedScopeOrNull (Landroidx/activity/ComponentActivity;)Lorg/koin/core/scope/Scope;
public static final fun getScopeOrNull (Landroidx/activity/ComponentActivity;)Lorg/koin/core/scope/Scope;
public static final fun retainedScopeId (Landroidx/activity/ComponentActivity;)Ljava/lang/String;
}

public final class org/koin/androidx/scope/FragmentExtKt {
Expand Down
20 changes: 19 additions & 1 deletion projects/compose/koin-compose/api/koin-compose.api
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
public final class org/koin/compose/KoinApplicationKt {
public static final fun KoinApplication (Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function2;Landroidx/compose/runtime/Composer;I)V
public static final fun KoinApplication (Lkotlin/jvm/functions/Function0;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 currentKoinScope (Landroidx/compose/runtime/Composer;I)Lorg/koin/core/scope/Scope;
Expand All @@ -8,6 +8,24 @@ public final class org/koin/compose/KoinApplicationKt {
public static final fun getLocalKoinScope ()Landroidx/compose/runtime/ProvidableCompositionLocal;
}

public final class org/koin/compose/application/CompositionKoinApplicationLoader : androidx/compose/runtime/RememberObserver {
public static final field $stable I
public fun <init> (Lorg/koin/core/KoinApplication;)V
public final fun getKoinApplication ()Lorg/koin/core/KoinApplication;
public fun onAbandoned ()V
public fun onForgotten ()V
public fun onRemembered ()V
}

public final class org/koin/compose/application/RememberKoinApplicationKt {
public static final fun rememberKoinApplication (Lorg/koin/core/KoinApplication;Landroidx/compose/runtime/Composer;I)Lorg/koin/core/Koin;
}

public final class org/koin/compose/error/UnknownKoinContext : java/lang/Exception {
public static final field $stable I
public fun <init> ()V
}

public final class org/koin/compose/module/CompositionKoinModuleLoader : androidx/compose/runtime/RememberObserver {
public static final field $stable I
public fun <init> (Ljava/util/List;Lorg/koin/core/Koin;ZZ)V
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
public final class org/koin/viewmodel/CreationExtrasExtKt {
public final class org/koin/viewmodel/CreationNavExtrasExtKt {
public static final fun defaultNavExtras (Landroidx/lifecycle/ViewModelStoreOwner;)Landroidx/lifecycle/viewmodel/CreationExtras;
}

95 changes: 36 additions & 59 deletions projects/core/koin-core/api/koin-core.api
Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,6 @@ public final class org/koin/core/context/KoinContext$DefaultImpls {
public final class org/koin/core/definition/BeanDefinition {
public fun <init> (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 <init> (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
public final fun component1 ()Lorg/koin/core/qualifier/Qualifier;
public final fun component2 ()Lkotlin/reflect/KClass;
public final fun component3 ()Lorg/koin/core/qualifier/Qualifier;
public final fun component4 ()Lkotlin/jvm/functions/Function2;
public final fun component5 ()Lorg/koin/core/definition/Kind;
public final fun component6 ()Ljava/util/List;
public final fun copy (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;)Lorg/koin/core/definition/BeanDefinition;
public static synthetic fun copy$default (Lorg/koin/core/definition/BeanDefinition;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;ILjava/lang/Object;)Lorg/koin/core/definition/BeanDefinition;
public fun equals (Ljava/lang/Object;)Z
public final fun getCallbacks ()Lorg/koin/core/definition/Callbacks;
public final fun getDefinition ()Lkotlin/jvm/functions/Function2;
Expand Down Expand Up @@ -260,52 +252,59 @@ public final class org/koin/core/instance/FactoryInstanceFactory : org/koin/core
public fun <init> (Lorg/koin/core/definition/BeanDefinition;)V
public fun drop (Lorg/koin/core/scope/Scope;)V
public fun dropAll ()V
public fun get (Lorg/koin/core/instance/InstanceContext;)Ljava/lang/Object;
public fun isCreated (Lorg/koin/core/instance/InstanceContext;)Z
}

public final class org/koin/core/instance/InstanceContext {
public fun <init> (Lorg/koin/core/logger/Logger;Lorg/koin/core/scope/Scope;Lorg/koin/core/parameter/ParametersHolder;)V
public synthetic fun <init> (Lorg/koin/core/logger/Logger;Lorg/koin/core/scope/Scope;Lorg/koin/core/parameter/ParametersHolder;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun getLogger ()Lorg/koin/core/logger/Logger;
public final fun getParameters ()Lorg/koin/core/parameter/ParametersHolder;
public final fun getScope ()Lorg/koin/core/scope/Scope;
public fun get (Lorg/koin/core/instance/ResolutionContext;)Ljava/lang/Object;
public fun isCreated (Lorg/koin/core/instance/ResolutionContext;)Z
}

public abstract class org/koin/core/instance/InstanceFactory {
public static final field Companion Lorg/koin/core/instance/InstanceFactory$Companion;
public static final field ERROR_SEPARATOR Ljava/lang/String;
public fun <init> (Lorg/koin/core/definition/BeanDefinition;)V
public fun create (Lorg/koin/core/instance/InstanceContext;)Ljava/lang/Object;
public fun create (Lorg/koin/core/instance/ResolutionContext;)Ljava/lang/Object;
public abstract fun drop (Lorg/koin/core/scope/Scope;)V
public static synthetic fun drop$default (Lorg/koin/core/instance/InstanceFactory;Lorg/koin/core/scope/Scope;ILjava/lang/Object;)V
public abstract fun dropAll ()V
public abstract fun get (Lorg/koin/core/instance/InstanceContext;)Ljava/lang/Object;
public abstract fun get (Lorg/koin/core/instance/ResolutionContext;)Ljava/lang/Object;
public final fun getBeanDefinition ()Lorg/koin/core/definition/BeanDefinition;
public abstract fun isCreated (Lorg/koin/core/instance/InstanceContext;)Z
public static synthetic fun isCreated$default (Lorg/koin/core/instance/InstanceFactory;Lorg/koin/core/instance/InstanceContext;ILjava/lang/Object;)Z
public abstract fun isCreated (Lorg/koin/core/instance/ResolutionContext;)Z
public static synthetic fun isCreated$default (Lorg/koin/core/instance/InstanceFactory;Lorg/koin/core/instance/ResolutionContext;ILjava/lang/Object;)Z
}

public final class org/koin/core/instance/InstanceFactory$Companion {
}

public final class org/koin/core/instance/NoClass {
public fun <init> ()V
}

public final class org/koin/core/instance/ResolutionContext {
public fun <init> (Lorg/koin/core/logger/Logger;Lorg/koin/core/scope/Scope;Lkotlin/reflect/KClass;Lorg/koin/core/qualifier/Qualifier;Lorg/koin/core/parameter/ParametersHolder;)V
public synthetic fun <init> (Lorg/koin/core/logger/Logger;Lorg/koin/core/scope/Scope;Lkotlin/reflect/KClass;Lorg/koin/core/qualifier/Qualifier;Lorg/koin/core/parameter/ParametersHolder;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun getClazz ()Lkotlin/reflect/KClass;
public final fun getDebugTag ()Ljava/lang/String;
public final fun getLogger ()Lorg/koin/core/logger/Logger;
public final fun getParameters ()Lorg/koin/core/parameter/ParametersHolder;
public final fun getQualifier ()Lorg/koin/core/qualifier/Qualifier;
public final fun getScope ()Lorg/koin/core/scope/Scope;
}

public final class org/koin/core/instance/ScopedInstanceFactory : org/koin/core/instance/InstanceFactory {
public fun <init> (Lorg/koin/core/definition/BeanDefinition;)V
public fun create (Lorg/koin/core/instance/InstanceContext;)Ljava/lang/Object;
public fun create (Lorg/koin/core/instance/ResolutionContext;)Ljava/lang/Object;
public fun drop (Lorg/koin/core/scope/Scope;)V
public fun dropAll ()V
public fun get (Lorg/koin/core/instance/InstanceContext;)Ljava/lang/Object;
public fun isCreated (Lorg/koin/core/instance/InstanceContext;)Z
public fun get (Lorg/koin/core/instance/ResolutionContext;)Ljava/lang/Object;
public fun isCreated (Lorg/koin/core/instance/ResolutionContext;)Z
public final fun refreshInstance (Ljava/lang/String;Ljava/lang/Object;)V
}

public final class org/koin/core/instance/SingleInstanceFactory : org/koin/core/instance/InstanceFactory {
public fun <init> (Lorg/koin/core/definition/BeanDefinition;)V
public fun create (Lorg/koin/core/instance/InstanceContext;)Ljava/lang/Object;
public fun create (Lorg/koin/core/instance/ResolutionContext;)Ljava/lang/Object;
public fun drop (Lorg/koin/core/scope/Scope;)V
public fun dropAll ()V
public fun get (Lorg/koin/core/instance/InstanceContext;)Ljava/lang/Object;
public fun isCreated (Lorg/koin/core/instance/InstanceContext;)Z
public fun get (Lorg/koin/core/instance/ResolutionContext;)Ljava/lang/Object;
public fun isCreated (Lorg/koin/core/instance/ResolutionContext;)Z
}

public final class org/koin/core/logger/EmptyLogger : org/koin/core/logger/Logger {
Expand Down Expand Up @@ -362,11 +361,11 @@ public final class org/koin/core/module/Module {
public fun <init> (Z)V
public synthetic fun <init> (ZILkotlin/jvm/internal/DefaultConstructorMarker;)V
public fun equals (Ljava/lang/Object;)Z
public final fun getEagerInstances ()Ljava/util/HashSet;
public final fun getEagerInstances ()Ljava/util/LinkedHashSet;
public final fun getId ()Ljava/lang/String;
public final fun getIncludedModules ()Ljava/util/List;
public final fun getMappings ()Ljava/util/HashMap;
public final fun getScopes ()Ljava/util/HashSet;
public final fun getMappings ()Ljava/util/LinkedHashMap;
public final fun getScopes ()Ljava/util/LinkedHashSet;
public final fun get_createdAtStart ()Z
public fun hashCode ()I
public final fun includes (Ljava/util/Collection;)V
Expand Down Expand Up @@ -518,14 +517,13 @@ public final class org/koin/core/scope/Scope {
public final fun getPropertyOrNull (Ljava/lang/String;)Ljava/lang/Object;
public final fun getScope (Ljava/lang/String;)Lorg/koin/core/scope/Scope;
public final fun getScopeQualifier ()Lorg/koin/core/qualifier/Qualifier;
public final fun getSourceValue ()Ljava/lang/Object;
public final fun get_koin ()Lorg/koin/core/Koin;
public final fun get_parameterStackLocal ()Ljava/lang/ThreadLocal;
public final fun get_source ()Ljava/lang/Object;
public final fun isNotClosed ()Z
public final fun isRoot ()Z
public final fun linkTo ([Lorg/koin/core/scope/Scope;)V
public final fun registerCallback (Lorg/koin/core/scope/ScopeCallback;)V
public final fun set_source (Ljava/lang/Object;)V
public final fun setSourceValue (Ljava/lang/Object;)V
public fun toString ()Ljava/lang/String;
public final fun unlink ([Lorg/koin/core/scope/Scope;)V
}
Expand All @@ -541,26 +539,8 @@ public final class org/koin/core/scope/ScopeJVMKt {
public static synthetic fun get$default (Lorg/koin/core/scope/Scope;Ljava/lang/Class;Lorg/koin/core/qualifier/Qualifier;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Ljava/lang/Object;
}

public final class org/koin/core/time/MeasureKt {
public static final fun measureDuration (Lkotlin/jvm/functions/Function0;)D
public static final fun measureDurationForResult (Lkotlin/jvm/functions/Function0;)Lkotlin/Pair;
public static final fun measureTimedValue (Lkotlin/jvm/functions/Function0;)Lkotlin/Pair;
}

public final class org/koin/core/time/Timer {
public static final field Companion Lorg/koin/core/time/Timer$Companion;
public static final field NANO_TO_MILLI D
public fun <init> ()V
public final fun getEnd-UwyO8pc ()J
public final fun getStart-UwyO8pc ()J
public final fun getTimeInMillis ()D
public final fun getTimeInNanos ()D
public final fun getTimeInSeconds ()D
public final fun stop ()V
}

public final class org/koin/core/time/Timer$Companion {
public final fun start ()Lorg/koin/core/time/Timer;
public final class org/koin/core/time/DurationExtKt {
public static final fun getInMs-LRDsOJo (J)D
}

public final class org/koin/dsl/DefinitionBindingKt {
Expand Down Expand Up @@ -620,15 +600,11 @@ public final class org/koin/java/KoinJavaComponent {
public final class org/koin/mp/KoinPlatform {
public static final field INSTANCE Lorg/koin/mp/KoinPlatform;
public final fun getKoin ()Lorg/koin/core/Koin;
public final fun getKoinOrNull ()Lorg/koin/core/Koin;
public final fun startKoin (Ljava/util/List;Lorg/koin/core/logger/Level;)V
public final fun stopKoin ()V
}

public final class org/koin/mp/KoinPlatformTimeTools {
public static final field INSTANCE Lorg/koin/mp/KoinPlatformTimeTools;
public final fun getTimeInNanoSeconds ()J
}

public final class org/koin/mp/KoinPlatformTools {
public static final field INSTANCE Lorg/koin/mp/KoinPlatformTools;
public final fun defaultContext ()Lorg/koin/core/context/KoinContext;
Expand All @@ -639,6 +615,7 @@ public final class org/koin/mp/KoinPlatformTools {
public final fun getClassName (Lkotlin/reflect/KClass;)Ljava/lang/String;
public final fun getStackTrace (Ljava/lang/Exception;)Ljava/lang/String;
public final fun safeHashMap ()Ljava/util/Map;
public final fun safeSet ()Ljava/util/Set;
public final fun synchronized (Ljava/lang/Object;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object;
}

Expand Down
Empty file.
5 changes: 5 additions & 0 deletions projects/core/koin-fu/api/koin-fu.api
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
public final class org/koin/dsl/fu/KoinFuKt {
public static final fun buildComponent (Lorg/koin/core/scope/Scope;Lkotlin/reflect/KFunction;)Ljava/lang/Object;
public static final fun cacheFunction (Lkotlin/reflect/KFunction;)V
}

0 comments on commit 1243d45

Please sign in to comment.