Tusker/Tusker/XCallbackURL/XCBActionType.swift

30 lines
506 B
Swift
Raw Normal View History

//
// XCBActionType.swift
// Tusker
//
// Created by Shadowfacts on 9/23/18.
// Copyright © 2018 Shadowfacts. All rights reserved.
//
import Foundation
enum XCBActionType: String {
2018-09-24 02:16:25 +00:00
// Statuses
case showStatus
case postStatus
2018-09-26 01:13:51 +00:00
case getStatus
2018-09-24 02:16:25 +00:00
case favoriteStatus
2018-09-24 23:56:27 +00:00
case reblogStatus
2018-09-24 02:16:25 +00:00
// Accounts
case showAccount
2018-09-26 01:20:34 +00:00
case getAccount
case getCurrentUser
2018-09-24 18:41:28 +00:00
case followUser
2019-09-15 22:12:49 +00:00
// Search
case search
var path: String {
return "/\(rawValue)"
}
}