Files
ios-client/IosClientKit/Sources/CoreDomain/HomeRepository.swift
2026-09-15 14:35:52 +08:00

10 lines
329 B
Swift
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import CoreModel
/// Home 数据仓库协议(定义在 domain 层,实现放 CoreRepository)。
public protocol HomeRepository: Sendable {
/// 已登录首页。
func observeHome() -> AsyncThrowingStream<HomeData, Error>
/// 游客首页。
func observeGuestHome() -> AsyncThrowingStream<HomeData, Error>
}