This update adds a compression feature for workflow state data to reduce storage needs. A compression strategy resolver, None and GZip strategies have been implemented. Migration scripts were also updated, and a superfluous file(s) were removed.
24 lines
717 B
C#
24 lines
717 B
C#
using Elsa.Workflows.Management.Models;
|
|
|
|
namespace Elsa.Workflows.Management.Options;
|
|
|
|
/// <summary>
|
|
/// Options for the management module.
|
|
/// </summary>
|
|
public class ManagementOptions
|
|
{
|
|
/// <summary>
|
|
/// A collection of activity types that are available to the system.
|
|
/// </summary>
|
|
public HashSet<Type> ActivityTypes { get; set; } = new();
|
|
|
|
/// <summary>
|
|
/// A collection of types that are available to the system as variable types.
|
|
/// </summary>
|
|
public HashSet<VariableDescriptor> VariableDescriptors { get; set; } = new();
|
|
|
|
/// <summary>
|
|
/// The format to use for compressing workflow state.
|
|
/// </summary>
|
|
public string? CompressionAlgorithm { get; set; }
|
|
} |