AppRoute

sealed interface AppRoute(source)

Defines the AppRoute contract for the SDAI presentation layer.

Author

Dmitriy Moroz

Inheritors

Types

Link copied to clipboard

Provides the ConfigurationLoader singleton used by the SDAI presentation layer.

Link copied to clipboard
data object Debug : AppRoute

Provides the Debug singleton used by the SDAI presentation layer.

Link copied to clipboard
data object Donate : AppRoute

Provides the Donate singleton used by the SDAI presentation layer.

Link copied to clipboard
data object Gallery : AppRoute

Provides the Gallery singleton used by the SDAI presentation layer.

Link copied to clipboard
data class GalleryDetail(val itemId: Long) : AppRoute

Carries GalleryDetail data through the SDAI presentation layer.

Link copied to clipboard
data object History : AppRoute

Provides the History singleton used by the SDAI presentation layer.

Link copied to clipboard
data object Home : AppRoute

Provides the Home singleton used by the SDAI presentation layer.

Link copied to clipboard
data object ImageInPaint : AppRoute

Provides the ImageInPaint singleton used by the SDAI presentation layer.

Link copied to clipboard
data object ImageToImage : AppRoute

Provides the ImageToImage singleton used by the SDAI presentation layer.

Link copied to clipboard
data object Logger : AppRoute

Provides the Logger singleton used by the SDAI presentation layer.

Link copied to clipboard
data class OnBoarding(val source: LaunchSource = LaunchSource.SPLASH) : AppRoute

Carries OnBoarding data through the SDAI presentation layer.

Link copied to clipboard
data class Report(val itemId: Long) : AppRoute

Carries Report data through the SDAI presentation layer.

Link copied to clipboard
data object Settings : AppRoute

Provides the Settings singleton used by the SDAI presentation layer.

Link copied to clipboard
data class Setup(val source: LaunchSource = LaunchSource.SPLASH) : AppRoute

Carries Setup data through the SDAI presentation layer.

Link copied to clipboard
data object Splash : AppRoute

Provides the Splash singleton used by the SDAI presentation layer.

Link copied to clipboard
data object TextToImage : AppRoute

Provides the TextToImage singleton used by the SDAI presentation layer.

Link copied to clipboard
data object WebUi : AppRoute

Provides the WebUi singleton used by the SDAI presentation layer.

Functions

Link copied to clipboard

Executes the asHomeTabRoute step in the SDAI presentation layer.

Link copied to clipboard

Executes the canFallBackToTextToImage step in the SDAI presentation layer.

Link copied to clipboard

Executes the isHomeRoute step in the SDAI presentation layer.