GitBrowser
Slopper
mainyoutube
/src/Api/JobStatus.cs
Name Message Date
📁 Properties Create API 8 days ago
📁 YouTubeAuth UI for YouTube upload 1 day ago
📄 Api.csproj Upload the latest clip to YouTube 3 days ago
📄 ApiEndpoints.cs Upload to YouTube in a job 1 day ago
📄 appsettings.Development.json Delayed clip publishing 1 day ago
📄 appsettings.json Only look for text based subtitles 6 days ago
📄 CleanupJob.cs Fix cron expression for cleanup job 1 day ago
📄 ClipGenerationJob.cs Job for removing "old" clips 4 days ago
📄 JobStatus.cs Upload to YouTube in a job 1 day ago
📄 OpenTelemetryExtensions.cs Enable AI OTel 6 days ago
📄 packages.lock.json Upload the latest clip to YouTube 3 days ago
📄 Program.cs Enable disabled API features 1 day ago
📄 Upload.cs Delayed clip publishing 1 day ago
📄 UploadJob.cs Upload to YouTube in a job 1 day ago
📄 YouTubeApiEndpoints.cs Upload to YouTube in a job 1 day ago
📄 src/Api/JobStatus.cs
1 2 3 4 5 6 7 8 9 10
using System;
using System.Text.Json.Serialization;

namespace Slopper.Api;

public sealed record JobStatus(
    bool IsRunning,
    [property: JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] DateTimeOffset? NextScheduledRun = null
);