16 lines
252 B
Swift
16 lines
252 B
Swift
struct RostersState: Stateable {
|
|
var rosters: [Roster]
|
|
|
|
var newAddedRosterJid: String?
|
|
var newAddedRosterError: String?
|
|
|
|
var deleteRosterError: String?
|
|
}
|
|
|
|
// MARK: Init
|
|
extension RostersState {
|
|
init() {
|
|
rosters = []
|
|
}
|
|
}
|