chore: clean up backend code, fix most inspections
This commit is contained in:
parent
49b2902d6d
commit
11257ae069
21 changed files with 86 additions and 27 deletions
|
@ -14,6 +14,7 @@
|
|||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
// ReSharper disable NotAccessedPositionalProperty.Global
|
||||
// ReSharper disable UnusedAutoPropertyAccessor.Global
|
||||
using Foxnouns.Backend.Database;
|
||||
using Foxnouns.Backend.Utils;
|
||||
|
||||
|
@ -23,8 +24,6 @@ public record PrideFlagResponse(Snowflake Id, string? ImageUrl, string Name, str
|
|||
|
||||
public record CreateFlagRequest(string Name, string Image, string? Description);
|
||||
|
||||
public record CreateFlagResponse(Snowflake Id, string Name, string? Description);
|
||||
|
||||
public class UpdateFlagRequest : PatchRequest
|
||||
{
|
||||
public string? Name { get; init; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue