Created
February 21, 2024 12:05
-
-
Save wzieba/c9bdce5450158f9f2e28649ef08e9854 to your computer and use it in GitHub Desktop.
diff-ec1baba114bba7d8eb6557fff1f48c581ab8870b
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From ec1baba114bba7d8eb6557fff1f48c581ab8870b | |
// Automatically generated file. DO NOT MODIFY | |
package org.wordpress.android.util.config | |
import kotlin.String | |
import kotlin.collections.List | |
public object FeaturesInDevelopment { | |
public val featuresInDevelopment: List<String> = listOf( | |
"BetaSiteDesignsFeatureConfig", | |
"SiteNameFeatureConfig", | |
"SiteIntentQuestionFeatureConfig", | |
"LandingScreenRevampFeatureConfig", | |
"GlobalStyleSupportFeatureConfig", | |
"LandOnTheEditorFeatureConfig", | |
"JetpackMigrationFlowFeatureConfig" | |
) | |
} | |
// Automatically generated file. DO NOT MODIFY | |
package org.wordpress.android.util.config | |
public class RemoteFeatureConfigCheck( | |
public val appConfig: AppConfig, | |
) { | |
public val blazeFeatureConfig: BlazeFeatureConfig = BlazeFeatureConfig(appConfig) | |
public val exampleRemoteFeature: ExampleRemoteFeature = ExampleRemoteFeature(appConfig) | |
public val jetpackFeatureRemovalPhaseOneConfig: JetpackFeatureRemovalPhaseOneConfig = | |
JetpackFeatureRemovalPhaseOneConfig(appConfig) | |
public val jetpackFeatureRemovalSelfHostedUsersConfig: | |
JetpackFeatureRemovalSelfHostedUsersConfig = | |
JetpackFeatureRemovalSelfHostedUsersConfig(appConfig) | |
public val jetpackFeatureRemovalNewUsersConfig: JetpackFeatureRemovalNewUsersConfig = | |
JetpackFeatureRemovalNewUsersConfig(appConfig) | |
public val jetpackReaderSavedPostsFeatureConfig: JetpackReaderSavedPostsFeatureConfig = | |
JetpackReaderSavedPostsFeatureConfig(appConfig) | |
public val wPIndividualPluginOverlayFeatureConfig: WPIndividualPluginOverlayFeatureConfig = | |
WPIndividualPluginOverlayFeatureConfig(appConfig) | |
public val siteMonitoringFeatureConfig: SiteMonitoringFeatureConfig = | |
SiteMonitoringFeatureConfig(appConfig) | |
public val dashboardPersonalizationFeatureConfig: DashboardPersonalizationFeatureConfig = | |
DashboardPersonalizationFeatureConfig(appConfig) | |
public val bloganuaryNudgeFeatureConfig: BloganuaryNudgeFeatureConfig = | |
BloganuaryNudgeFeatureConfig(appConfig) | |
public val wpSotw2023NudgeFeatureConfig: WpSotw2023NudgeFeatureConfig = | |
WpSotw2023NudgeFeatureConfig(appConfig) | |
public val plansInSiteCreationFeatureConfig: PlansInSiteCreationFeatureConfig = | |
PlansInSiteCreationFeatureConfig(appConfig) | |
public val openWebLinksWithJetpackFlowFeatureConfig: OpenWebLinksWithJetpackFlowFeatureConfig = | |
OpenWebLinksWithJetpackFlowFeatureConfig(appConfig) | |
public val jetpackBloggingRemindersSyncFeatureConfig: JetpackBloggingRemindersSyncFeatureConfig | |
= JetpackBloggingRemindersSyncFeatureConfig(appConfig) | |
public val readerCommentsModerationFeatureConfig: ReaderCommentsModerationFeatureConfig = | |
ReaderCommentsModerationFeatureConfig(appConfig) | |
public val jetpackFeatureRemovalPhaseThreeConfig: JetpackFeatureRemovalPhaseThreeConfig = | |
JetpackFeatureRemovalPhaseThreeConfig(appConfig) | |
public val dynamicDashboardCardsFeatureConfig: DynamicDashboardCardsFeatureConfig = | |
DynamicDashboardCardsFeatureConfig(appConfig) | |
public val jetpackSharedLoginFeatureConfig: JetpackSharedLoginFeatureConfig = | |
JetpackSharedLoginFeatureConfig(appConfig) | |
public val likesEnhancementsFeatureConfig: LikesEnhancementsFeatureConfig = | |
LikesEnhancementsFeatureConfig(appConfig) | |
public val jetpackPoweredBottomSheetFeatureConfig: JetpackPoweredBottomSheetFeatureConfig = | |
JetpackPoweredBottomSheetFeatureConfig(appConfig) | |
public val seenUnseenWithCounterFeatureConfig: SeenUnseenWithCounterFeatureConfig = | |
SeenUnseenWithCounterFeatureConfig(appConfig) | |
public val mp4ComposerVideoOptimizationFeatureConfig: Mp4ComposerVideoOptimizationFeatureConfig | |
= Mp4ComposerVideoOptimizationFeatureConfig(appConfig) | |
public val jetpackProviderSyncFeatureConfig: JetpackProviderSyncFeatureConfig = | |
JetpackProviderSyncFeatureConfig(appConfig) | |
public val manageCategoriesFeatureConfig: ManageCategoriesFeatureConfig = | |
ManageCategoriesFeatureConfig(appConfig) | |
public val contactSupportFeatureConfig: ContactSupportFeatureConfig = | |
ContactSupportFeatureConfig(appConfig) | |
public val statsTrafficTabFeatureConfig: StatsTrafficTabFeatureConfig = | |
StatsTrafficTabFeatureConfig(appConfig) | |
public val commentsSnippetFeatureConfig: CommentsSnippetFeatureConfig = | |
CommentsSnippetFeatureConfig(appConfig) | |
public val readerImprovementsFeatureConfig: ReaderImprovementsFeatureConfig = | |
ReaderImprovementsFeatureConfig(appConfig) | |
public val preventDuplicateNotifsFeatureConfig: PreventDuplicateNotifsFeatureConfig = | |
PreventDuplicateNotifsFeatureConfig(appConfig) | |
public val qRCodeAuthFlowFeatureConfig: QRCodeAuthFlowFeatureConfig = | |
QRCodeAuthFlowFeatureConfig(appConfig) | |
public val jetpackFeatureRemovalPhaseFourConfig: JetpackFeatureRemovalPhaseFourConfig = | |
JetpackFeatureRemovalPhaseFourConfig(appConfig) | |
public val blazeManageCampaignFeatureConfig: BlazeManageCampaignFeatureConfig = | |
BlazeManageCampaignFeatureConfig(appConfig) | |
public val jetpackFeatureRemovalStaticPostersConfig: JetpackFeatureRemovalStaticPostersConfig = | |
JetpackFeatureRemovalStaticPostersConfig(appConfig) | |
public val jetpackPoweredFeatureConfig: JetpackPoweredFeatureConfig = | |
JetpackPoweredFeatureConfig(appConfig) | |
public val domainManagementFeatureConfig: DomainManagementFeatureConfig = | |
DomainManagementFeatureConfig(appConfig) | |
public val jetpackFeatureRemovalPhaseTwoConfig: JetpackFeatureRemovalPhaseTwoConfig = | |
JetpackFeatureRemovalPhaseTwoConfig(appConfig) | |
public val inAppReviewsFeatureConfig: InAppReviewsFeatureConfig = | |
InAppReviewsFeatureConfig(appConfig) | |
public val jetpackLocalUserFlagsFeatureConfig: JetpackLocalUserFlagsFeatureConfig = | |
JetpackLocalUserFlagsFeatureConfig(appConfig) | |
public val unifiedCommentsDetailFeatureConfig: UnifiedCommentsDetailFeatureConfig = | |
UnifiedCommentsDetailFeatureConfig(appConfig) | |
public val recommendTheAppFeatureConfig: RecommendTheAppFeatureConfig = | |
RecommendTheAppFeatureConfig(appConfig) | |
public val siteEditorMVPFeatureConfig: SiteEditorMVPFeatureConfig = | |
SiteEditorMVPFeatureConfig(appConfig) | |
public fun checkRemoteFields() { | |
if (blazeFeatureConfig.remoteField == null) { | |
throw IllegalArgumentException("""org.wordpress.android.util.config.BlazeFeatureConfig | |
needs to define remoteField""") | |
} | |
if (exampleRemoteFeature.remoteField == null) { | |
throw IllegalArgumentException("""org.wordpress.android.util.config.ExampleRemoteFeature | |
needs to define remoteField""") | |
} | |
if (jetpackFeatureRemovalPhaseOneConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.JetpackFeatureRemovalPhaseOneConfig | |
needs to define remoteField""") | |
} | |
if (jetpackFeatureRemovalSelfHostedUsersConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.JetpackFeatureRemovalSelfHostedUsersConfig | |
needs to define remoteField""") | |
} | |
if (jetpackFeatureRemovalNewUsersConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.JetpackFeatureRemovalNewUsersConfig | |
needs to define remoteField""") | |
} | |
if (jetpackReaderSavedPostsFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.JetpackReaderSavedPostsFeatureConfig | |
needs to define remoteField""") | |
} | |
if (wPIndividualPluginOverlayFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.WPIndividualPluginOverlayFeatureConfig | |
needs to define remoteField""") | |
} | |
if (siteMonitoringFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.SiteMonitoringFeatureConfig | |
needs to define remoteField""") | |
} | |
if (dashboardPersonalizationFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.DashboardPersonalizationFeatureConfig | |
needs to define remoteField""") | |
} | |
if (bloganuaryNudgeFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.BloganuaryNudgeFeatureConfig | |
needs to define remoteField""") | |
} | |
if (wpSotw2023NudgeFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.WpSotw2023NudgeFeatureConfig | |
needs to define remoteField""") | |
} | |
if (plansInSiteCreationFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.PlansInSiteCreationFeatureConfig | |
needs to define remoteField""") | |
} | |
if (openWebLinksWithJetpackFlowFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.OpenWebLinksWithJetpackFlowFeatureConfig | |
needs to define remoteField""") | |
} | |
if (jetpackBloggingRemindersSyncFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.JetpackBloggingRemindersSyncFeatureConfig | |
needs to define remoteField""") | |
} | |
if (readerCommentsModerationFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.ReaderCommentsModerationFeatureConfig | |
needs to define remoteField""") | |
} | |
if (jetpackFeatureRemovalPhaseThreeConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.JetpackFeatureRemovalPhaseThreeConfig | |
needs to define remoteField""") | |
} | |
if (dynamicDashboardCardsFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.DynamicDashboardCardsFeatureConfig | |
needs to define remoteField""") | |
} | |
if (jetpackSharedLoginFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.JetpackSharedLoginFeatureConfig | |
needs to define remoteField""") | |
} | |
if (likesEnhancementsFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.LikesEnhancementsFeatureConfig | |
needs to define remoteField""") | |
} | |
if (jetpackPoweredBottomSheetFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.JetpackPoweredBottomSheetFeatureConfig | |
needs to define remoteField""") | |
} | |
if (seenUnseenWithCounterFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.SeenUnseenWithCounterFeatureConfig | |
needs to define remoteField""") | |
} | |
if (mp4ComposerVideoOptimizationFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.Mp4ComposerVideoOptimizationFeatureConfig | |
needs to define remoteField""") | |
} | |
if (jetpackProviderSyncFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.JetpackProviderSyncFeatureConfig | |
needs to define remoteField""") | |
} | |
if (manageCategoriesFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.ManageCategoriesFeatureConfig | |
needs to define remoteField""") | |
} | |
if (contactSupportFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.ContactSupportFeatureConfig | |
needs to define remoteField""") | |
} | |
if (statsTrafficTabFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.StatsTrafficTabFeatureConfig | |
needs to define remoteField""") | |
} | |
if (commentsSnippetFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.CommentsSnippetFeatureConfig | |
needs to define remoteField""") | |
} | |
if (readerImprovementsFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.ReaderImprovementsFeatureConfig | |
needs to define remoteField""") | |
} | |
if (preventDuplicateNotifsFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.PreventDuplicateNotifsFeatureConfig | |
needs to define remoteField""") | |
} | |
if (qRCodeAuthFlowFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.QRCodeAuthFlowFeatureConfig | |
needs to define remoteField""") | |
} | |
if (jetpackFeatureRemovalPhaseFourConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.JetpackFeatureRemovalPhaseFourConfig | |
needs to define remoteField""") | |
} | |
if (blazeManageCampaignFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.BlazeManageCampaignFeatureConfig | |
needs to define remoteField""") | |
} | |
if (jetpackFeatureRemovalStaticPostersConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.JetpackFeatureRemovalStaticPostersConfig | |
needs to define remoteField""") | |
} | |
if (jetpackPoweredFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.JetpackPoweredFeatureConfig | |
needs to define remoteField""") | |
} | |
if (domainManagementFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.DomainManagementFeatureConfig | |
needs to define remoteField""") | |
} | |
if (jetpackFeatureRemovalPhaseTwoConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.JetpackFeatureRemovalPhaseTwoConfig | |
needs to define remoteField""") | |
} | |
if (inAppReviewsFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.InAppReviewsFeatureConfig | |
needs to define remoteField""") | |
} | |
if (jetpackLocalUserFlagsFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.JetpackLocalUserFlagsFeatureConfig | |
needs to define remoteField""") | |
} | |
if (unifiedCommentsDetailFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.UnifiedCommentsDetailFeatureConfig | |
needs to define remoteField""") | |
} | |
if (recommendTheAppFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.RecommendTheAppFeatureConfig | |
needs to define remoteField""") | |
} | |
if (siteEditorMVPFeatureConfig.remoteField == null) { | |
throw | |
IllegalArgumentException("""org.wordpress.android.util.config.SiteEditorMVPFeatureConfig | |
needs to define remoteField""") | |
} | |
} | |
} | |
// Automatically generated file. DO NOT MODIFY | |
package org.wordpress.android.util.config | |
import kotlin.Any | |
import kotlin.String | |
import kotlin.collections.Map | |
public object RemoteFeatureConfigDefaults { | |
public val remoteFeatureConfigDefaults: Map<String, Any> = mapOf( | |
"example_experiment_remote_field" to "control_group", | |
"blaze" to "false", | |
"example_remote_feature_field" to "false", | |
"jp_removal_one" to "false", | |
"jp_removal_self_hosted" to "false", | |
"jp_removal_new_users" to "false", | |
"jetpack_reader_saved_posts_remote_field" to "false", | |
"wp_individual_plugin_overlay" to "true", | |
"site_monitoring" to "false", | |
"dashboard_personalization" to "false", | |
"bloganuary_dashboard_nudge" to "true", | |
"wp_sotw_2023_nudge" to "true", | |
"plans_in_site_creation" to "false", | |
"open_web_links_with_jetpack_flow" to "false", | |
"jetpack_blogging_reminders_sync_remote_field" to "false", | |
"reader_comments_moderation_field" to "true", | |
"jp_removal_three" to "false", | |
"dynamic_dashboard_cards" to "false", | |
"jetpack_shared_login_remote_field" to "false", | |
"likes_enhancements_enabled" to "true", | |
"jetpack_powered_bottom_sheet_remote_field" to "false", | |
"seen_unseen_with_counter" to "true", | |
"mp4_composer_video_optimization_enabled" to "true", | |
"provider_sync_remote_field" to "false", | |
"manage_categories" to "true", | |
"contact_support_chatbot" to "false", | |
"stats_traffic_tab" to "false", | |
"comments_snippet_remote_field" to "true", | |
"reader_improvements" to "true", | |
"prevent_duplicate_notifs_remote_field" to "false", | |
"qrcode_auth_flow_remote_field" to "true", | |
"jp_removal_four" to "false", | |
"blaze_manage_campaigns" to "true", | |
"jp_removal_static_posters" to "false", | |
"jetpack_powered_remote_field" to "true", | |
"domain_management" to "false", | |
"jp_removal_two" to "false", | |
"in_app_reviews" to "false", | |
"jetpack_local_user_flags_remote_field" to "false", | |
"unified_comments_detail_remote_field" to "false", | |
"recommend_the_app_enabled" to "true", | |
"site_editor_mvp" to "true" | |
) | |
} | |
// Automatically generated file. DO NOT MODIFY | |
package org.wordpress.android.util.config | |
import kotlin.Any | |
import kotlin.String | |
import kotlin.collections.Map | |
public object RemoteFieldConfigDefaults { | |
public val remoteFieldConfigDefaults: Map<String, Any> = mapOf( | |
"phase_four_overlay_frequency_in_days" to "-1", | |
"codeable_get_free_estimate_url" to "https://codeable.io/partners/jetpack-scan/", | |
"phase_new_users_blog_post" to "", | |
"phase_two_blog_post" to "", | |
"blaze_non_dismissable_hash" to "step-4", | |
"blaze_completed_step_hash" to "step-5", | |
"phase_four_blog_post" to "", | |
"phase_three_blog_post" to "", | |
"wp_android_performance_monitoring_sample_rate" to "0.0", | |
"open_web_links_with_jetpack_flow_frequency" to "0", | |
"jp_deadline" to "", | |
"phase_self_hosted_blog_post" to "", | |
"wp_plugin_overlay_max_shown" to "3" | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment