A WIP iOS app for Mastodon and Pleroma.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

XCBActionType.swift 506B

1234567891011121314151617181920212223242526272829
  1. //
  2. // XCBActionType.swift
  3. // Tusker
  4. //
  5. // Created by Shadowfacts on 9/23/18.
  6. // Copyright © 2018 Shadowfacts. All rights reserved.
  7. //
  8. import Foundation
  9. enum XCBActionType: String {
  10. // Statuses
  11. case showStatus
  12. case postStatus
  13. case getStatus
  14. case favoriteStatus
  15. case reblogStatus
  16. // Accounts
  17. case showAccount
  18. case getAccount
  19. case getCurrentUser
  20. case followUser
  21. // Search
  22. case search
  23. var path: String {
  24. return "/\(rawValue)"
  25. }
  26. }