Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jas-valgotar committed Dec 18, 2024
1 parent 6c0131b commit abc6e9e
Showing 1 changed file with 26 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ public abstract class TableDelegationInfo
// Used to indicate whether this table has selectable columns
public SelectionRestrictions SelectionRestriction { get; init; }

public SummarizeRestrictions SummarizeRestriction { get; init; }

// Defines ungroupable columns
public GroupRestrictions GroupRestriction { get; init; }

Expand Down Expand Up @@ -262,6 +264,30 @@ public SelectionRestrictions()
}
}

public sealed class SummarizeRestrictions
{
/// <summary>
/// List of properties that can not be summarized.
/// </summary>
public ICollection<string> NonSummarizableProperties { get; init; }

public ICollection<SummarizeMethod> NotSupportedSummarizeMethods { get; init; }

public SummarizeRestrictions()
{
}
}

public enum SummarizeMethod
{
None,
Sum,
Average,
Min,
Max,
Count,
}

public sealed class FilterRestrictions
{
// List of required properties
Expand Down

0 comments on commit abc6e9e

Please sign in to comment.