mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
UI - Added desktop notifications API
This commit is contained in:
1 parent
883fccef7b
commit
30c4314f1d
15 files changed
+217
-42
No files matched your search
@@ -1,4 +1,5 @@
|
||||
using Newtonsoft.Json;
|
||||
using System.Globalization;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Artemis.Core.Services.Core
|
||||
{
|
||||
@@ -10,22 +11,32 @@ namespace Artemis.Core.Services.Core
|
||||
/// <summary>
|
||||
/// Gets the unique ID of this build
|
||||
/// </summary>
|
||||
[JsonProperty]
|
||||
public int BuildId { get; internal set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the build number. This contains the date and the build count for that day.
|
||||
/// <example>Per example 20210108.4</example>
|
||||
/// <para>Per example <c>20210108.4</c></para>
|
||||
/// </summary>
|
||||
[JsonProperty]
|
||||
public double BuildNumber { get; internal set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the build number formatted as a string. This contains the date and the build count for that day.
|
||||
/// <para>Per example <c>20210108.4</c></para>
|
||||
/// </summary>
|
||||
public string BuildNumberDisplay => BuildNumber.ToString(CultureInfo.InvariantCulture);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the branch of the triggering repo the build was created for.
|
||||
/// </summary>
|
||||
[JsonProperty]
|
||||
public string SourceBranch { get; internal set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the commit ID used to create this build
|
||||
/// </summary>
|
||||
[JsonProperty]
|
||||
public string SourceVersion { get; internal set; } = null!;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user