Dactyloidae/mobile/ios/ReadingList/ReadingListUtils.swift
2026-06-26 21:04:09 -07:00

16 lines
578 B
Swift

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
import Foundation
public typealias ReadingListRecordId = Int64
public typealias ReadingListTimestamp = Int64
func ReadingListNow() -> ReadingListTimestamp {
return ReadingListTimestamp(Date.timeIntervalSinceReferenceDate * 1000.0)
}
let ReadingListDefaultUnread: Bool = true
let ReadingListDefaultFavorite: Bool = false
let ReadingListDefaultArchived: Bool = false