-
Declaration
Swift
let request: Request
-
Declaration
Swift
func getHeader(_ userID: UUID) throws -> UserHeader
-
Declaration
Swift
func getHeader(_ username: String) -> UserHeader?
-
Declaration
Swift
func getHeaders(fromDate: Date, forUser: User) throws -> [UserHeader]
-
Declaration
Swift
func getHeaders<IDs>(_ userIDs: IDs) -> [UserHeader] where IDs : Collection, IDs.Element == UUID
-
Declaration
Swift
func getHeaders<Names>(usernames: Names) -> [UserHeader] where Names : Collection, Names.Element == String
-
Declaration
Swift
func getBlocks(_ user: User) throws -> Set<UUID>
-
Declaration
Swift
func getBlocks(_ userUUID: UUID) -> Set<UUID>
-
Declaration
Swift
func getUser(_ user: User) throws -> UserCacheData
-
Declaration
Swift
public func getUser(_ userUUID: UUID) -> UserCacheData?
-
Declaration
Swift
public func getUser(username: String) -> UserCacheData?
-
Declaration
Swift
public func getUser(token: String) -> UserCacheData?
-
Declaration
Swift
func getUsers<IDs>(_ userIDs: IDs) -> [UserCacheData] where IDs : Collection, IDs.Element == UUID
-
Declaration
Swift
func getUsers<Names>(usernames: Names) -> [UserCacheData] where Names : Collection, Names.Element == String
-
Declaration
Swift
func allUsersWithAccessLevel(_ level: UserAccessLevel) -> [UserCacheData]
-
updateUser(_:
Asynchronous) Declaration
Swift
@discardableResult public func updateUser(_ userUUID: UUID) async throws -> UserCacheData
-
updateUsers(_:
Asynchronous) Declaration
Swift
public func updateUsers(_ uuids: [UUID]) async throws
-
getUpdatedUserCacheData(_:
Asynchronous) Declaration
Swift
private func getUpdatedUserCacheData(_ userID: UUID) async throws -> UserCacheData