diff --git a/workflow-core/api/workflow-core.api b/workflow-core/api/workflow-core.api index 7cddccb148..0230bc9f18 100644 --- a/workflow-core/api/workflow-core.api +++ b/workflow-core/api/workflow-core.api @@ -173,6 +173,7 @@ public final class com/squareup/workflow1/RuntimeConfigOptions : java/lang/Enum } public final class com/squareup/workflow1/RuntimeConfigOptions$Companion { + public final fun getALL ()Ljava/util/Set; public final fun getDEFAULT_CONFIG ()Ljava/util/Set; public final fun getRENDER_PER_ACTION ()Ljava/util/Set; } diff --git a/workflow-core/src/commonMain/kotlin/com/squareup/workflow1/RuntimeConfig.kt b/workflow-core/src/commonMain/kotlin/com/squareup/workflow1/RuntimeConfig.kt index 44b0c3c5b6..5c31f2ac15 100644 --- a/workflow-core/src/commonMain/kotlin/com/squareup/workflow1/RuntimeConfig.kt +++ b/workflow-core/src/commonMain/kotlin/com/squareup/workflow1/RuntimeConfig.kt @@ -76,5 +76,11 @@ public enum class RuntimeConfigOptions { public val RENDER_PER_ACTION: RuntimeConfig = emptySet() public val DEFAULT_CONFIG: RuntimeConfig = RENDER_PER_ACTION + + /** + * Configuration that enables every [RuntimeConfig] option. + */ + @WorkflowExperimentalRuntime + public val ALL: RuntimeConfig = entries.toSet() } }