Files
libsignal/swift/Sources/LibSignalClient/zkgroup/BackupLevel.swift
Jordan Rose 9e13263581 Switch to swift-format for formatting instead of swiftformat
swift-format is owned by the Swift project and is generally less
opinionated than swiftformat (but better at formatting to a limited
line length).
2025-06-25 11:24:57 -07:00

20 lines
403 B
Swift

//
// Copyright 2024 Signal Messenger, LLC.
// SPDX-License-Identifier: AGPL-3.0-only
//
import Foundation
import SignalFfi
public enum BackupLevel: UInt8, Sendable {
// This must match the Rust version of the enum.
case free = 200
case paid = 201
}
public enum BackupCredentialType: UInt8 {
// This must match the Rust version of the enum.
case messages = 1
case media = 2
}