Skip to content

Commit

Permalink
mini
Browse files Browse the repository at this point in the history
  • Loading branch information
steinho committed Oct 2, 2024
1 parent 9350357 commit 85f6b40
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2,814 deletions.
9 changes: 5 additions & 4 deletions Prod.Api/Models/FilteredAssessments.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Collections.Generic;
using Prod.Domain;

namespace Prod.Api.Models
Expand All @@ -13,6 +10,10 @@ public class FilteredAssessments
public int TotalCount { get; set; }
public List<Facet> Facets { get; set; }
}

/// <summary>
/// represent facets/counts of elements when filtering data
/// </summary>
public class Facet
{
public string Name { get; set; }
Expand Down
10 changes: 10 additions & 0 deletions Prod.Api/Models/IndexFilter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,29 @@ public class Progress
{
}

/// <summary>
/// Filter on current assessments
/// </summary>
public class Current
{
public string[] Category { get; set; } = Array.Empty<string>();
public string[] Criteria { get; set; } = Array.Empty<string>();
public string[] Status { get; set; } = Array.Empty<string>();
}

/// <summary>
/// Previous assessment filter properties
/// </summary>
public class History
{
public string[] Category { get; set; } = Array.Empty<string>();
public string[] Criteria { get; set; } = Array.Empty<string>();
public string[] Status { get; set; } = Array.Empty<string>();
}

/// <summary>
/// horizon scanning filter properties
/// </summary>
public class Horizon
{
public string[] NR2018 { get; set; } = Array.Empty<string>();
Expand Down
Loading

0 comments on commit 85f6b40

Please sign in to comment.