-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify and unify manifest reading implementation
No need for a separate Manifest class, just extend the existing SponsorLink class.
- Loading branch information
Showing
8 changed files
with
215 additions
and
241 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 was deleted.
Oops, something went wrong.
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,26 @@ | ||
// <autogenerated /> | ||
#nullable enable | ||
namespace Devlooped.Sponsors; | ||
|
||
/// <summary> | ||
/// The resulting status from validation. | ||
/// </summary> | ||
public enum ManifestStatus | ||
{ | ||
/// <summary> | ||
/// The manifest couldn't be read at all. | ||
/// </summary> | ||
Unknown, | ||
/// <summary> | ||
/// The manifest was read and is valid (not expired and properly signed). | ||
/// </summary> | ||
Valid, | ||
/// <summary> | ||
/// The manifest was read but has expired. | ||
/// </summary> | ||
Expired, | ||
/// <summary> | ||
/// The manifest was read, but its signature is invalid. | ||
/// </summary> | ||
Invalid, | ||
} |
Oops, something went wrong.