This PR contains the work done to implement the `FeedItemCoordinator` coordinator in the `Feed` framework. Reviewed-on: #17 Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
32 lines
479 B
Swift
32 lines
479 B
Swift
//
|
|
// Review.swift
|
|
// ReviewsFeed
|
|
//
|
|
// Created by Dmitrii Ivanov on 21/07/2020.
|
|
// Copyright © 2020 ING. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public struct Review {
|
|
|
|
// MARK: Constants
|
|
let author: String
|
|
let comment: String
|
|
let id: Int
|
|
let rating: Rating
|
|
let title: String
|
|
|
|
}
|
|
|
|
// MARK: - Structs
|
|
extension Review {
|
|
struct Rating {
|
|
|
|
// MARK: Constants
|
|
let stars: Int
|
|
let appVersion: String
|
|
|
|
}
|
|
}
|