Files
Morgan Pretty 592eb348ab Fixed a number of bugs, some code cleanup, resolved some TODOs
• Wired up the dev settings
• Update logic to use an ed25519 key for the FileServer instead of an x25519 one
• Updated the ReuploadUserDisplayPictureJob to wait for the first poll to succeed before running (to reduce config conflict issues)
• Fixed a bug with the FileServer extend API call
2025-10-09 10:23:13 +11:00

18 lines
487 B
Swift

// Copyright © 2025 Rangeproof Pty Ltd. All rights reserved.
import Foundation
public extension Network.FileServer {
struct ExtendExpirationResponse: Codable {
public let size: Int
public let uploaded: TimeInterval
public let expires: TimeInterval
public init(size: Int, uploaded: TimeInterval, expires: TimeInterval) {
self.size = size
self.uploaded = uploaded
self.expires = expires
}
}
}