udpated protocols

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2022-07-28 18:07:02 -05:00
parent 01083bd8c8
commit 74cbd6a2fe
2 changed files with 2 additions and 3 deletions

View File

@ -8,7 +8,6 @@
import Foundation
public protocol FormFieldable {
associatedtype ValueType
var inputId: String? { get set }
var value: ValueType? { get set }
var value: AnyHashable? { get set }
}

View File

@ -9,6 +9,6 @@ import Foundation
public protocol Modelable {
associatedtype ModelType
var model: ModelType? { get set }
var model: ModelType { get set }
func set(with model: ModelType)
}