Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Foundation
import Yosemite

/// Main View Model for the Analytics Hub.
///
Expand Down Expand Up @@ -27,4 +28,14 @@ final class AnalyticsHubViewModel: ObservableObject {
trailingValue: "$57,99",
trailingDelta: "-16%",
trailingDeltaColor: .withColorStudio(.red, shade: .shade40))

// MARK: Private data

/// Order stats for the current selected time period
///
@Published private var currentOrderStats: OrderStatsV4? = nil

/// Order stats for the previous time period (for comparison)
///
@Published private var previousOrderStats: OrderStatsV4? = nil
}