WIP - Complete App refactoring
This commit is contained in:
@@ -6,3 +6,13 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
|
||||
protocol CookbookApiRecipe {
|
||||
func toRecipeStub() -> RecipeStub
|
||||
}
|
||||
|
||||
protocol CookbookApiRecipeDetail: Codable {
|
||||
func toRecipe() -> Recipe
|
||||
static func fromRecipe(_ recipe: Recipe) -> CookbookApiRecipeDetail
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user