Add CustomTaskSettings and RosinenStoreMemberReport configuration to AppSettings and appsettings.example.json

This commit is contained in:
troogs
2026-02-17 10:38:39 +01:00
parent 5b462d3898
commit 8a9951335a
2 changed files with 43 additions and 0 deletions

View File

@@ -19,6 +19,11 @@ namespace FsToolbox.Cli.Helper
/// </summary>
public CredentialsSettings Credentials { get; init; } = new();
/// <summary>
/// Gets settings related to custom tasks.
/// </summary>
public CustomTaskSettings CustomTasks { get; init; } = new();
#endregion
}
@@ -62,6 +67,36 @@ namespace FsToolbox.Cli.Helper
#endregion
}
/// <summary>
/// Contains configuration for custom task execution.
/// </summary>
public class CustomTaskSettings
{
#region Public Properties
/// <summary>
/// Configuration for generating the Rosinen store member report.
/// </summary>
public RosinenStoreMemberReportSettings RosinenStoreMemberReport { get; init; } = new();
#endregion
}
/// <summary>
/// Contains store IDs used by the Rosinen member report task.
/// </summary>
public class RosinenStoreMemberReportSettings
{
#region Public Properties
/// <summary>
/// Store IDs that should be queried for member reports.
/// </summary>
public List<int> StoreIds { get; init; } = [];
#endregion
}
/// <summary>
/// Provides access to the current application settings loaded from configuration.
/// </summary>