Created
May 28, 2024 09:08
-
-
Save mohanmanu484/30e631a6984e97446d57317860fb58db to your computer and use it in GitHub Desktop.
This file contains hidden or 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
interface LoginGraph { | |
@Route( | |
screenName = "LoginScreen", | |
route = "login/{id}", | |
deeplinks = [ | |
"share.market://app/login/{id}", | |
"https://example.com/login/{id}" | |
] | |
) | |
fun getLoginRoute( | |
@Path("id") id: Int, | |
@Query("isAdmin") isAdmin: Boolean = false | |
) | |
@Route( | |
screenName = "BuySellScreen", | |
route = "orders/{pprefId}?isModifyFlow={isModifyFlow}&orderId={orderId}", | |
useRouteAsDefaultDeeplink = true | |
) | |
fun getBuySellRoute( | |
@Path("pprefId") id: String, | |
@Query("isModifyFlow") isModifyFlow: Boolean = false, | |
@Query("orderId") orderId: String? = null | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment