Add editorconfig and analyzers, format backend code

This commit is contained in:
2026-09-24 04:54:17 +02:00
parent 87c3f97529
commit c8fe28b07b
367 changed files with 12179 additions and 12459 deletions
@@ -1,5 +1,4 @@
namespace Musify.Infrastructure.MassTransit.Arguments
{
public record ConsumeUploadIntentsArguments(
Guid[] IntentIds);
}
namespace Musify.Infrastructure.MassTransit.Arguments;
public record ConsumeUploadIntentsArguments(
Guid[] IntentIds);
@@ -1,8 +1,7 @@
namespace Musify.Infrastructure.MassTransit.Arguments
{
public record CopyFileInBucketArguments(
string SourceBucket,
string SourceKey,
string DestinationBucket,
string DestinationKey);
}
namespace Musify.Infrastructure.MassTransit.Arguments;
public record CopyFileInBucketArguments(
string SourceBucket,
string SourceKey,
string DestinationBucket,
string DestinationKey);
@@ -1,5 +1,4 @@
namespace Musify.Infrastructure.MassTransit.Arguments
{
internal record DeletePlayListFromDbArguments(
Guid PlayListId);
}
namespace Musify.Infrastructure.MassTransit.Arguments;
internal record DeletePlayListFromDbArguments(
Guid PlayListId);
@@ -1,5 +1,4 @@
namespace Musify.Infrastructure.MassTransit.Arguments
{
internal record DeleteTrackFromDbArguments(
Guid TrackId);
}
namespace Musify.Infrastructure.MassTransit.Arguments;
internal record DeleteTrackFromDbArguments(
Guid TrackId);
@@ -1,7 +1,6 @@
namespace Musify.Infrastructure.MassTransit.Arguments
{
public record DownloadFileFromBucketArguments(
string Bucket,
string Key,
string DestinationFilePathVariable);
}
namespace Musify.Infrastructure.MassTransit.Arguments;
public record DownloadFileFromBucketArguments(
string Bucket,
string Key,
string DestinationFilePathVariable);
@@ -1,6 +1,5 @@
namespace Musify.Infrastructure.MassTransit.Arguments
{
public record DownloadFileFromUrlArguments(
string SourceUrl,
string DestinationFilePathVariable);
}
namespace Musify.Infrastructure.MassTransit.Arguments;
public record DownloadFileFromUrlArguments(
string SourceUrl,
string DestinationFilePathVariable);
@@ -1,7 +1,6 @@
namespace Musify.Infrastructure.MassTransit.Arguments
{
public record GenerateAudioWorkflowPathsArguments(
Guid TrackId,
string TemporaryRootDirectory,
string SourceKey);
}
namespace Musify.Infrastructure.MassTransit.Arguments;
public record GenerateAudioWorkflowPathsArguments(
Guid TrackId,
string TemporaryRootDirectory,
string SourceKey);
@@ -1,6 +1,5 @@
namespace Musify.Infrastructure.MassTransit.Arguments
{
public record GeneratePictureWorkflowPathsArguments(
string TemporaryRootDirectory,
string SourceKey);
}
namespace Musify.Infrastructure.MassTransit.Arguments;
public record GeneratePictureWorkflowPathsArguments(
string TemporaryRootDirectory,
string SourceKey);
@@ -1,4 +1,3 @@
namespace Musify.Infrastructure.MassTransit.Arguments
{
public record MarkAlbumAsFailedArguments(Guid AlbumId);
}
namespace Musify.Infrastructure.MassTransit.Arguments;
public record MarkAlbumAsFailedArguments(Guid AlbumId);
@@ -1,4 +1,3 @@
namespace Musify.Infrastructure.MassTransit.Arguments
{
public record MarkPlayListAsFailedArguments(Guid PlayListId);
}
namespace Musify.Infrastructure.MassTransit.Arguments;
public record MarkPlayListAsFailedArguments(Guid PlayListId);
@@ -1,5 +1,4 @@
namespace Musify.Infrastructure.MassTransit.Arguments
{
internal record MarkPlayListAsRemovingArguments(
Guid PlayListId);
}
namespace Musify.Infrastructure.MassTransit.Arguments;
internal record MarkPlayListAsRemovingArguments(
Guid PlayListId);
@@ -1,4 +1,3 @@
namespace Musify.Infrastructure.MassTransit.Arguments
{
public record MarkTrackAsFailedArguments(Guid TrackId);
}
namespace Musify.Infrastructure.MassTransit.Arguments;
public record MarkTrackAsFailedArguments(Guid TrackId);
@@ -1,5 +1,4 @@
namespace Musify.Infrastructure.MassTransit.Arguments
{
internal record MarkTrackAsRemovingArguments(
Guid TrackId);
}
namespace Musify.Infrastructure.MassTransit.Arguments;
internal record MarkTrackAsRemovingArguments(
Guid TrackId);
@@ -1,12 +1,11 @@
using Musify.Application.Shared;
namespace Musify.Infrastructure.MassTransit.Arguments
{
public record PublishAlbumPictureProcessingEventArguments(
Guid AlbumId,
string Bucket,
string FinalPictureKey,
ImageSize Small,
ImageSize Medium,
ImageSize Large);
}
namespace Musify.Infrastructure.MassTransit.Arguments;
public record PublishAlbumPictureProcessingEventArguments(
Guid AlbumId,
string Bucket,
string FinalPictureKey,
ImageSize Small,
ImageSize Medium,
ImageSize Large);
@@ -1,12 +1,11 @@
using Musify.Application.Shared;
namespace Musify.Infrastructure.MassTransit.Arguments
{
public record PublishPlayListPictureProcessingEventArguments(
Guid PlayListId,
string Bucket,
string FinalPictureKey,
ImageSize Small,
ImageSize Medium,
ImageSize Large);
}
namespace Musify.Infrastructure.MassTransit.Arguments;
public record PublishPlayListPictureProcessingEventArguments(
Guid PlayListId,
string Bucket,
string FinalPictureKey,
ImageSize Small,
ImageSize Medium,
ImageSize Large);
@@ -1,14 +1,13 @@
using Musify.Application.Shared;
namespace Musify.Infrastructure.MassTransit.Arguments
{
public record PublishTrackProcessingEventsArguments(
Guid TrackId,
string Bucket,
string FinalPictureKey,
string FinalAudioKey,
string AudioDestinationFolderKey,
ImageSize Small,
ImageSize Medium,
ImageSize Large);
}
namespace Musify.Infrastructure.MassTransit.Arguments;
public record PublishTrackProcessingEventsArguments(
Guid TrackId,
string Bucket,
string FinalPictureKey,
string FinalAudioKey,
string AudioDestinationFolderKey,
ImageSize Small,
ImageSize Medium,
ImageSize Large);
@@ -1,6 +1,5 @@
namespace Musify.Infrastructure.MassTransit.Arguments
{
public record RemoveFileFromBucketArguments(
string Bucket,
string Key);
}
namespace Musify.Infrastructure.MassTransit.Arguments;
public record RemoveFileFromBucketArguments(
string Bucket,
string Key);
@@ -1,8 +1,7 @@
namespace Musify.Infrastructure.MassTransit.Arguments
{
public record ResizePictureLocalArguments(
string SourceFilePathVariable,
string DestinationFilePathVariable,
int Width,
int Height);
}
namespace Musify.Infrastructure.MassTransit.Arguments;
public record ResizePictureLocalArguments(
string SourceFilePathVariable,
string DestinationFilePathVariable,
int Width,
int Height);
@@ -1,7 +1,6 @@
namespace Musify.Infrastructure.MassTransit.Arguments
{
public record TranscodeAudioArguments(
Guid TrackId,
string SourceFilePathVariable,
string WorkingDirectoryVariable);
}
namespace Musify.Infrastructure.MassTransit.Arguments;
public record TranscodeAudioArguments(
Guid TrackId,
string SourceFilePathVariable,
string WorkingDirectoryVariable);
@@ -1,7 +1,6 @@
namespace Musify.Infrastructure.MassTransit.Arguments
{
public record TransferFilesToBucketArguments(
string DestinationBucket,
string SourceDirectoryVariable,
string DestinationKey);
}
namespace Musify.Infrastructure.MassTransit.Arguments;
public record TransferFilesToBucketArguments(
string DestinationBucket,
string SourceDirectoryVariable,
string DestinationKey);
@@ -1,9 +1,8 @@
namespace Musify.Infrastructure.MassTransit.Arguments
{
public record UpdateAlbumPictureArguments(
Guid AlbumId,
string OriginalPictureKey,
string SmallPictureVariable,
string MediumPictureVariable,
string LargePictureVariable);
}
namespace Musify.Infrastructure.MassTransit.Arguments;
public record UpdateAlbumPictureArguments(
Guid AlbumId,
string OriginalPictureKey,
string SmallPictureVariable,
string MediumPictureVariable,
string LargePictureVariable);
@@ -1,9 +1,8 @@
namespace Musify.Infrastructure.MassTransit.Arguments
{
public record UpdatePlayListPictureArguments(
Guid PlayListId,
string OriginalPictureKey,
string SmallPictureVariable,
string MediumPictureVariable,
string LargePictureVariable);
}
namespace Musify.Infrastructure.MassTransit.Arguments;
public record UpdatePlayListPictureArguments(
Guid PlayListId,
string OriginalPictureKey,
string SmallPictureVariable,
string MediumPictureVariable,
string LargePictureVariable);
@@ -1,7 +1,6 @@
namespace Musify.Infrastructure.MassTransit.Arguments
{
public record UpdateTrackAudioArguments(
Guid TrackId,
string AudioFolderKey,
string DurationSecondsVariable);
}
namespace Musify.Infrastructure.MassTransit.Arguments;
public record UpdateTrackAudioArguments(
Guid TrackId,
string AudioFolderKey,
string DurationSecondsVariable);
@@ -1,9 +1,8 @@
namespace Musify.Infrastructure.MassTransit.Arguments
{
public record UpdateTrackPictureArguments(
Guid TrackId,
string OriginalPictureKey,
string SmallPictureVariable,
string MediumPictureVariable,
string LargePictureVariable);
}
namespace Musify.Infrastructure.MassTransit.Arguments;
public record UpdateTrackPictureArguments(
Guid TrackId,
string OriginalPictureKey,
string SmallPictureVariable,
string MediumPictureVariable,
string LargePictureVariable);
@@ -1,7 +1,6 @@
namespace Musify.Infrastructure.MassTransit.Arguments
{
public record UploadFileToBucketArguments(
string FilePathVariable,
string DestinationBucket,
string DestinationRoute);
}
namespace Musify.Infrastructure.MassTransit.Arguments;
public record UploadFileToBucketArguments(
string FilePathVariable,
string DestinationBucket,
string DestinationRoute);