mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-16 11:22:34 +01:00
22 lines
413 B
Swift
22 lines
413 B
Swift
//
|
|
// AccountCreateFeedResult.swift
|
|
// AccountTests
|
|
//
|
|
// Created by Maurice Parker on 5/8/19.
|
|
// Copyright © 2019 Ranchero Software, LLC. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public enum AccountCreateFeedResult {
|
|
case created(Feed)
|
|
case multipleChoice([AccountCreateFeedChoice])
|
|
case alreadySubscribed
|
|
case notFound
|
|
}
|
|
|
|
public struct AccountCreateFeedChoice {
|
|
let name: String
|
|
let url: String
|
|
}
|