mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-05 18:48:41 +00:00
this is a LOT, i should've commited in stages but oh well, from what i can remember:
- paste interactions (reactions)
- comments
- comment interactions (reactions)
- rich text editor
- move all report apis into report controller
- rename size to sizeStored
- rename trueSize to originalSize
- fixed compression on paste compression
- implemented compression threshold
- use longs instead of ints where possible in the entities
- improve record view + remove redundant check for existing view
18 lines
571 B
C#
18 lines
571 B
C#
using SharpbinV3.Server.Data.Entities;
|
|
|
|
namespace SharpbinV3.Server.DTOs.Report
|
|
{
|
|
public sealed record ReportQuery
|
|
{
|
|
public Guid? ReporterUUID { get; init; }
|
|
public Guid? UserUUID { get; init; }
|
|
public long? PastePID { get; init; }
|
|
public string? PasteId { get; init; }
|
|
public ReportTargetType? TargetType { get; init; }
|
|
public ReportType? Type { get; init; }
|
|
public ReportStatus? Status { get; init; }
|
|
public int Page { get; init; } = 1;
|
|
public int PageSize { get; init; } = 20;
|
|
}
|
|
}
|