mirror of
https://github.com/Livinglist/Hacki.git
synced 2025-08-06 09:40:59 +08:00
22 lines
453 B
Swift
22 lines
453 B
Swift
import AppIntents
|
|
|
|
enum StorySource: String, AppEnum {
|
|
case top
|
|
case best
|
|
case new
|
|
case ask
|
|
case show
|
|
case job
|
|
|
|
static var typeDisplayRepresentation: TypeDisplayRepresentation = "Story Source"
|
|
|
|
static var caseDisplayRepresentations: [StorySource : DisplayRepresentation] = [
|
|
.top: "Top",
|
|
.best: "Best",
|
|
.new: "New",
|
|
.ask: "Ask",
|
|
.show: "Show",
|
|
.job: "Jobs"
|
|
]
|
|
}
|