using FsToolbox.Cli.Tasks;
namespace FsToolbox.Cli
{
public partial class CustomTasks
{
#region Record AldiMember
///
/// Aggregates store and member information for ALDI membership analysis.
///
/// The store participating in the membership relation.
/// The member associated with the store.
private record AldiMember(RegionTasks.Store Store, StoreTasks.Member Member);
#endregion
#region Record StoreLogIntervalEntry
///
/// Aggregates store log entry with computed time difference versus calendar interval.
///
/// The store for which the log entry applies.
/// The store log entry.
/// Seconds from performedAt to referenceDate.
/// Calendar interval in seconds.
/// Indicates whether the difference exceeds the calendar interval.
private record StoreLogIntervalEntry(RegionTasks.Store Store, StoreTasks.StoreLogEntry Entry, double SecondsDifference, int CalendarIntervalSeconds, bool ExceedsInterval);
#endregion
#region Record StoreLogProfileEntry
///
/// Aggregates store log information by profile and store.
///
/// The foodsaver profile that performed the action.
/// The store for which the log entry applies.
/// The log entry date reference.
private record StoreLogProfileEntry(StoreTasks.FoodsaverProfile Profile, RegionTasks.Store Store, DateTime? DateReference, DateTime? PerformedAt);
#endregion
}
}