2022-01-27 14:23:39 +01:00
|
|
|
//
|
|
|
|
// PollItem.swift
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// Created by MainasuK on 2022-1-12.
|
|
|
|
//
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
import CoreData
|
2022-01-28 05:09:28 +01:00
|
|
|
import CoreDataStack
|
2023-11-10 11:32:02 +01:00
|
|
|
import MastodonSDK
|
2022-01-27 14:23:39 +01:00
|
|
|
|
|
|
|
public enum PollItem: Hashable {
|
|
|
|
case option(record: ManagedObjectRecord<PollOption>)
|
2023-11-10 11:32:02 +01:00
|
|
|
case history(option: Mastodon.Entity.StatusEdit.Poll.Option)
|
2022-01-27 14:23:39 +01:00
|
|
|
}
|