mirror of
https://github.com/signalapp/libsignal.git
synced 2026-05-01 12:07:24 +02:00
swift-format is owned by the Swift project and is generally less opinionated than swiftformat (but better at formatting to a limited line length).
20 lines
403 B
Swift
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
|
|
}
|