Iceshrimp.NET/Iceshrimp.Backend/Core/Configuration/Enums.cs
Laura Hausmann c07bb35548
[backend/drive] Refactor ImageProcessor into a modular system
This commit lays the groundwork for a user-configurable image processing pipeline. It has exactly the same behavior as the old ImageProcessor, just modular & compartmentalized. It also adds support for AVIF & JXL encoding, though no code paths call it just yet.
2024-08-12 03:21:03 +02:00

45 lines
No EOL
602 B
C#

namespace Iceshrimp.Backend.Core.Configuration;
public static class Enums
{
public enum FederationMode
{
BlockList = 0,
AllowList = 1
}
public enum FileStorage
{
Local = 0,
ObjectStorage = 1
}
public enum ImageProcessor
{
None = 0,
ImageSharp = 1,
LibVips = 2
}
public enum ItemVisibility
{
Hide = 0,
Registered = 1,
Public = 2
}
public enum PublicPreview
{
Lockdown = 0,
RestrictedNoMedia = 1,
Restricted = 2,
Public = 3
}
public enum Registrations
{
Closed = 0,
Invite = 1,
Open = 2
}
}