67 lines
1,019 B
C#
67 lines
1,019 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace TheCr3w.Shared.Models;
|
|
|
|
[JsonConverter(typeof(JsonStringEnumConverter))]
|
|
public enum PlatformType
|
|
{
|
|
Android,
|
|
Windows
|
|
}
|
|
|
|
[JsonConverter(typeof(JsonStringEnumConverter))]
|
|
public enum ArchitectureType
|
|
{
|
|
Arm64V8a,
|
|
ArmeabiV7a,
|
|
X86_64,
|
|
X86,
|
|
Arm64,
|
|
Universal
|
|
}
|
|
|
|
[JsonConverter(typeof(JsonStringEnumConverter))]
|
|
public enum ReleaseChannel
|
|
{
|
|
Stable,
|
|
Beta,
|
|
Nightly
|
|
}
|
|
|
|
[JsonConverter(typeof(JsonStringEnumConverter))]
|
|
public enum ReleaseStatus
|
|
{
|
|
Draft,
|
|
Published,
|
|
Revoked
|
|
}
|
|
|
|
[JsonConverter(typeof(JsonStringEnumConverter))]
|
|
public enum DeploymentEnvironment
|
|
{
|
|
Development,
|
|
Staging,
|
|
Production
|
|
}
|
|
|
|
[JsonConverter(typeof(JsonStringEnumConverter))]
|
|
public enum DeploymentStatus
|
|
{
|
|
Queued,
|
|
Pulling,
|
|
Starting,
|
|
Migrating,
|
|
Healthcheck,
|
|
Healthy,
|
|
Failed,
|
|
RollingBack,
|
|
RolledBack
|
|
}
|
|
|
|
[JsonConverter(typeof(JsonStringEnumConverter))]
|
|
public enum SyncProtocol
|
|
{
|
|
Sftp,
|
|
Ftps,
|
|
Ftp
|
|
}
|