[FA-misc] Reporting service now has a status page on the frontend
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using FictionArchive.Common.Enums;
|
||||
using HotChocolate.Data;
|
||||
using NodaTime;
|
||||
|
||||
namespace FictionArchive.Service.ReportingService.Models.DTOs;
|
||||
|
||||
public class JobDto
|
||||
{
|
||||
public Guid Id { get; init; }
|
||||
public Instant CreatedTime { get; init; }
|
||||
public Instant LastUpdatedTime { get; init; }
|
||||
public Guid? ParentJobId { get; init; }
|
||||
public required string JobType { get; init; }
|
||||
public required string DisplayName { get; init; }
|
||||
public JobStatus Status { get; init; }
|
||||
public string? ErrorMessage { get; init; }
|
||||
public Dictionary<string, string>? Metadata { get; init; }
|
||||
public IEnumerable<JobDto>? ChildJobs { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user