-
-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2644 from wabbajack-tools/search-index-cleanup
Clean up the SearchIndex validation code I wrote last night a bit, add it to WabbajackClient
- Loading branch information
Showing
3 changed files
with
29 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace Wabbajack.DTOs; | ||
|
||
public class SearchIndex | ||
{ | ||
/// <summary> | ||
/// All unique mods across all modlists | ||
/// </summary> | ||
public HashSet<string> AllMods { get; set; } | ||
|
||
/// <summary> | ||
/// All mods included per modlist (key: machineURL) | ||
/// </summary> | ||
public Dictionary<string, HashSet<string>> ModsPerList { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters