feat: 引入共享会话状态与未登录占位组件

This commit is contained in:
AndyChen1024
2026-09-09 22:15:46 +08:00
parent c80fb31eb1
commit c41c04ff23
4 changed files with 72 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
package com.mingyuan.android_client.core.domain.repository
import kotlinx.coroutines.flow.Flow
interface SessionRepository {
val isLoggedIn: Flow<Boolean>
suspend fun login()
suspend fun logout()
}