mirror of
https://github.com/metabolist/metatext.git
synced 2024-06-02 06:01:12 +00:00
25 lines
651 B
Swift
25 lines
651 B
Swift
// Copyright © 2020 Metabolist. All rights reserved.
|
|
|
|
import Foundation
|
|
import Mastodon
|
|
import ServiceLayer
|
|
|
|
public enum CollectionItemEvent {
|
|
case ignorableOutput
|
|
case refresh
|
|
case navigation(Navigation)
|
|
case attachment(AttachmentViewModel, StatusViewModel)
|
|
case compose(inReplyTo: StatusViewModel?, redraft: Status?)
|
|
case confirmDelete(StatusViewModel, redraft: Bool)
|
|
case report(ReportViewModel)
|
|
case share(URL)
|
|
case accountListEdit(AccountViewModel, AccountListEdit)
|
|
}
|
|
|
|
public extension CollectionItemEvent {
|
|
enum AccountListEdit {
|
|
case acceptFollowRequest
|
|
case rejectFollowRequest
|
|
}
|
|
}
|