From da4b76f499458800972377a6763fb4ff0e2164c0 Mon Sep 17 00:00:00 2001 From: XShine555 Date: Tue, 24 Mar 2026 14:45:04 +0100 Subject: [PATCH] Changes --- .../MassTransit/Logs/DownloadFileFromBucketLog.cs | 7 +++++++ .../MassTransit/Logs/GenerateAudioWorkflowPathsLog.cs | 4 ++++ .../MassTransit/Logs/GeneratePictureWorkflowPathsLog.cs | 4 ++++ Infrastructure/MassTransit/Logs/ResizePictureLog.cs | 4 ++++ Infrastructure/MassTransit/Logs/TranscodeDashAudioLog.cs | 4 ++++ .../MassTransit/Logs/TransferFilesToBucketLog.cs | 4 ++++ .../MassTransit/Logs/UpdatePlayListPictureLog.cs | 8 ++++++++ Infrastructure/MassTransit/Logs/UpdateTrackPictureLog.cs | 8 ++++++++ 8 files changed, 43 insertions(+) create mode 100644 Infrastructure/MassTransit/Logs/DownloadFileFromBucketLog.cs create mode 100644 Infrastructure/MassTransit/Logs/GenerateAudioWorkflowPathsLog.cs create mode 100644 Infrastructure/MassTransit/Logs/GeneratePictureWorkflowPathsLog.cs create mode 100644 Infrastructure/MassTransit/Logs/ResizePictureLog.cs create mode 100644 Infrastructure/MassTransit/Logs/TranscodeDashAudioLog.cs create mode 100644 Infrastructure/MassTransit/Logs/TransferFilesToBucketLog.cs create mode 100644 Infrastructure/MassTransit/Logs/UpdatePlayListPictureLog.cs create mode 100644 Infrastructure/MassTransit/Logs/UpdateTrackPictureLog.cs diff --git a/Infrastructure/MassTransit/Logs/DownloadFileFromBucketLog.cs b/Infrastructure/MassTransit/Logs/DownloadFileFromBucketLog.cs new file mode 100644 index 0000000..8b383f6 --- /dev/null +++ b/Infrastructure/MassTransit/Logs/DownloadFileFromBucketLog.cs @@ -0,0 +1,7 @@ +namespace Musify.Infrastructure.Messaging.Activities.Logs +{ + public record DownloadFileFromBucketLog( + string BucketName, + string KeyName, + string DestinationFilePath); +} \ No newline at end of file diff --git a/Infrastructure/MassTransit/Logs/GenerateAudioWorkflowPathsLog.cs b/Infrastructure/MassTransit/Logs/GenerateAudioWorkflowPathsLog.cs new file mode 100644 index 0000000..c012bd9 --- /dev/null +++ b/Infrastructure/MassTransit/Logs/GenerateAudioWorkflowPathsLog.cs @@ -0,0 +1,4 @@ +namespace Musify.Infrastructure.Messaging.Activities.Logs +{ + public record GenerateAudioWorkflowPathsLog(string WorkingDirectory); +} diff --git a/Infrastructure/MassTransit/Logs/GeneratePictureWorkflowPathsLog.cs b/Infrastructure/MassTransit/Logs/GeneratePictureWorkflowPathsLog.cs new file mode 100644 index 0000000..0bd6f43 --- /dev/null +++ b/Infrastructure/MassTransit/Logs/GeneratePictureWorkflowPathsLog.cs @@ -0,0 +1,4 @@ +namespace Musify.Infrastructure.Messaging.Activities.Logs +{ + public record GeneratePictureWorkflowPathsLog(string WorkingDirectory); +} diff --git a/Infrastructure/MassTransit/Logs/ResizePictureLog.cs b/Infrastructure/MassTransit/Logs/ResizePictureLog.cs new file mode 100644 index 0000000..053a4dd --- /dev/null +++ b/Infrastructure/MassTransit/Logs/ResizePictureLog.cs @@ -0,0 +1,4 @@ +namespace Musify.Infrastructure.Messaging.Activities.Logs +{ + public record ResizePictureLog(string DestinationFilePath); +} diff --git a/Infrastructure/MassTransit/Logs/TranscodeDashAudioLog.cs b/Infrastructure/MassTransit/Logs/TranscodeDashAudioLog.cs new file mode 100644 index 0000000..2345392 --- /dev/null +++ b/Infrastructure/MassTransit/Logs/TranscodeDashAudioLog.cs @@ -0,0 +1,4 @@ +namespace Musify.Infrastructure.Messaging.Activities.Logs +{ + public record TranscodeDashAudioLog(string WorkingDirectory); +} \ No newline at end of file diff --git a/Infrastructure/MassTransit/Logs/TransferFilesToBucketLog.cs b/Infrastructure/MassTransit/Logs/TransferFilesToBucketLog.cs new file mode 100644 index 0000000..c4f59af --- /dev/null +++ b/Infrastructure/MassTransit/Logs/TransferFilesToBucketLog.cs @@ -0,0 +1,4 @@ +namespace Musify.Infrastructure.Messaging.Activities.Logs +{ + public record TransferFilesToBucketLog(string DestinationBucketName, string[] UploadedKeys); +} diff --git a/Infrastructure/MassTransit/Logs/UpdatePlayListPictureLog.cs b/Infrastructure/MassTransit/Logs/UpdatePlayListPictureLog.cs new file mode 100644 index 0000000..b36e487 --- /dev/null +++ b/Infrastructure/MassTransit/Logs/UpdatePlayListPictureLog.cs @@ -0,0 +1,8 @@ +namespace Musify.Infrastructure.Messaging.Activities.Logs +{ + public record UpdatePlayListPictureLog( + Guid PlayListId, + string? PreviousSmallPictureKeyName, + string? PreviousMediumPictureKeyName, + string? PreviousLargePictureKeyName); +} diff --git a/Infrastructure/MassTransit/Logs/UpdateTrackPictureLog.cs b/Infrastructure/MassTransit/Logs/UpdateTrackPictureLog.cs new file mode 100644 index 0000000..0a9da77 --- /dev/null +++ b/Infrastructure/MassTransit/Logs/UpdateTrackPictureLog.cs @@ -0,0 +1,8 @@ +namespace Musify.Infrastructure.Messaging.Activities.Logs +{ + public record UpdateTrackPictureLog( + Guid TrackId, + string? PreviousSmallPictureKeyName, + string? PreviousMediumPictureKeyName, + string? PreviousLargePictureKeyName); +}