Tusker/Pachyderm/Model/StatusContentType.swift

18 lines
334 B
Swift

//
// StatusContentType.swift
// Pachyderm
//
// Created by Shadowfacts on 1/12/19.
// Copyright © 2019 Shadowfacts. All rights reserved.
//
import Foundation
public enum StatusContentType: String, Codable, CaseIterable {
case plain, markdown, html
var mimeType: String {
return "text/" + rawValue
}
}