-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUserPreferencesRepository.swift
More file actions
33 lines (25 loc) · 1.04 KB
/
UserPreferencesRepository.swift
File metadata and controls
33 lines (25 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//
// UserPreferencesRepository.swift
// DevLog
//
// Created by 최윤진 on 2/25/26.
//
import Foundation
import Combine
protocol UserPreferencesRepository {
var systemThemePublisher: AnyPublisher<SystemTheme, Never> { get }
func systemTheme() -> SystemTheme
func setSystemTheme(_ theme: SystemTheme)
func recentSearchQueries() -> [String]
func setRecentSearchQueries(_ queries: [String])
func pushNotificationSortOrder() -> PushNotificationQuery.SortOrder
func setPushNotificationSortOrder(_ order: PushNotificationQuery.SortOrder)
func pushNotificationTimeFilter() -> PushNotificationQuery.TimeFilter
func setPushNotificationTimeFilter(_ filter: PushNotificationQuery.TimeFilter)
func pushNotificationUnreadOnly() -> Bool
func setPushNotificationUnreadOnly(_ value: Bool)
func profileHeatmapActivityTypes() -> [String]
func setProfileHeatmapActivityTypes(_ activityTypes: [String])
func todayDisplayOptions() -> TodayDisplayOptions
func setTodayDisplayOptions(_ options: TodayDisplayOptions)
}