Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moves miscellaneous types to the models package #192

Merged
merged 42 commits into from
Sep 13, 2024
Merged

Conversation

JayShortway
Copy link
Member

  • Moves miscellaneous types to the models package, within the :models module.
  • Adds deprecated type aliases in the original package, in the :core module.

This should be a source compatible change, but unfortunately not binary compatible.

This is one of the steps needed to address #185. This is part of a stack of PRs.

@JayShortway JayShortway marked this pull request as ready for review September 12, 2024 11:01
@JayShortway JayShortway requested a review from a team September 12, 2024 11:01
# Conflicts:
#	apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/PurchasesCommonAPI.kt
#	core/api/core.api
#	core/api/core.klib.api
#	core/src/androidMain/kotlin/com/revenuecat/purchases/kmp/Purchases.android.kt
#	core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/MovedModels.kt
#	core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/Purchases.kt
#	core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/PurchasesConfiguration.kt
#	core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/ktx/Coroutines.kt
#	core/src/iosMain/kotlin/com/revenuecat/purchases/kmp/Purchases.ios.kt
#	either/api/either.klib.api
#	either/src/commonMain/kotlin/com/revenuecat/purchases/kmp/either/Either.kt
#	models/api/models.api
#	models/api/models.klib.api
#	result/api/result.klib.api
#	result/src/commonMain/kotlin/com/revenuecat/purchases/kmp/result/Result.kt
# Conflicts:
#	apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/PaywallListenerAPI.kt
#	composeApp/src/commonMain/kotlin/com/revenuecat/purchases/kmp/sample/MainScreen.kt
#	composeApp/src/commonMain/kotlin/com/revenuecat/purchases/kmp/sample/rememberLoggingPaywallListener.kt
#	core/api/core.klib.api
#	core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/MovedModels.kt
#	core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/Purchases.kt
#	core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/ktx/Coroutines.kt
#	core/src/iosMain/kotlin/com/revenuecat/purchases/kmp/Purchases.ios.kt
#	either/api/either.klib.api
#	either/src/commonMain/kotlin/com/revenuecat/purchases/kmp/either/Either.kt
#	models/api/models.api
#	models/api/models.klib.api
#	result/api/result.klib.api
#	result/src/commonMain/kotlin/com/revenuecat/purchases/kmp/result/Result.kt
#	revenuecatui/api/revenuecatui.api
#	revenuecatui/api/revenuecatui.klib.api
#	revenuecatui/src/commonMain/kotlin/com/revenuecat/purchases/kmp/ui/revenuecatui/PaywallListener.kt
# Conflicts:
#	apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/PaywallListenerAPI.kt
#	apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/PurchasesCommonAPI.kt
#	composeApp/src/commonMain/kotlin/com/revenuecat/purchases/kmp/sample/MainScreen.kt
#	composeApp/src/commonMain/kotlin/com/revenuecat/purchases/kmp/sample/rememberLoggingPaywallListener.kt
#	core/api/core.klib.api
#	core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/ktx/Coroutines.kt
#	either/api/either.klib.api
#	either/src/commonMain/kotlin/com/revenuecat/purchases/kmp/either/Either.kt
#	models/api/models.klib.api
#	result/src/commonMain/kotlin/com/revenuecat/purchases/kmp/result/Result.kt
#	revenuecatui/api/revenuecatui.api
#	revenuecatui/api/revenuecatui.klib.api
#	revenuecatui/src/commonMain/kotlin/com/revenuecat/purchases/kmp/ui/revenuecatui/PaywallListener.kt
Base automatically changed from models-errors to main September 13, 2024 14:11
# Conflicts:
#	apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/PurchasesCommonAPI.kt
#	core/api/core.klib.api
#	core/src/androidMain/kotlin/com/revenuecat/purchases/kmp/Purchases.android.kt
#	core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/MovedModels.kt
#	core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/Purchases.kt
#	core/src/iosMain/kotlin/com/revenuecat/purchases/kmp/Purchases.ios.kt
#	models/api/models.api
#	models/api/models.klib.api
@JayShortway JayShortway merged commit e99236b into main Sep 13, 2024
6 checks passed
@JayShortway JayShortway deleted the models-misc branch September 13, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants