1
0
mirror of https://github.com/mastodon/mastodon-ios.git synced 2024-12-17 11:19:54 +01:00

chore: Remove unused code

This commit is contained in:
Marcus Kida 2022-12-13 07:07:56 +01:00
parent 110a89f499
commit 903d789b53
No known key found for this signature in database
GPG Key ID: 19FF64E08013CA40

View File

@ -106,53 +106,3 @@ extension Mastodon.Entity.V2.Instance {
public let url: String?
}
}
//extension Mastodon.Entity.V2.Instance {
// public struct Statuses: Codable {
// public let maxCharacters: Int
// public let maxMediaAttachments: Int
// public let charactersReservedPerURL: Int
//
// enum CodingKeys: String, CodingKey {
// case maxCharacters = "max_characters"
// case maxMediaAttachments = "max_media_attachments"
// case charactersReservedPerURL = "characters_reserved_per_url"
// }
// }
//
// public struct MediaAttachments: Codable {
// public let supportedMIMETypes: [String]
// public let imageSizeLimit: Int
// public let imageMatrixLimit: Int
// public let videoSizeLimit: Int
// public let videoFrameRateLimit: Int
// public let videoMatrixLimit: Int
//
// enum CodingKeys: String, CodingKey {
// case supportedMIMETypes = "supported_mime_types"
// case imageSizeLimit = "image_size_limit"
// case imageMatrixLimit = "image_matrix_limit"
// case videoSizeLimit = "video_size_limit"
// case videoFrameRateLimit = "video_frame_rate_limit"
// case videoMatrixLimit = "video_matrix_limit"
// }
// }
//
// public struct Polls: Codable {
// public let maxOptions: Int
// public let maxCharactersPerOption: Int
// public let minExpiration: Int
// public let maxExpiration: Int
//
// enum CodingKeys: String, CodingKey {
// case maxOptions = "max_options"
// case maxCharactersPerOption = "max_characters_per_option"
// case minExpiration = "min_expiration"
// case maxExpiration = "max_expiration"
// }
// }
//
// public struct Translation: Codable {
// public let enabled: Bool
// }
//}