mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
feat: paste cleanup service; sveltekit frontend; paste editing; paste metadata modifying
refactor: rename SharpbinV3 -> SharpbinV3.Server; run cleanup
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
namespace SharpbinV3.DTOs
|
||||
namespace SharpbinV3.Server.DTOs
|
||||
{
|
||||
public class JWTResult
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace SharpbinV3.DTOs
|
||||
namespace SharpbinV3.Server.DTOs
|
||||
{
|
||||
public class LoginRequest
|
||||
{
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace SharpbinV3.Server.DTOs
|
||||
{
|
||||
public class PasteMetadataUpdateRequest
|
||||
{
|
||||
[StringLength(500)]
|
||||
public string? Title { get; set; }
|
||||
public string? Syntax { get; set; }
|
||||
public int? Visibility { get; set; }
|
||||
public long? ExpiresAt { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace SharpbinV3.DTOs
|
||||
namespace SharpbinV3.Server.DTOs
|
||||
{
|
||||
public class RefreshTokenRequest
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace SharpbinV3.DTOs
|
||||
namespace SharpbinV3.Server.DTOs
|
||||
{
|
||||
public class RegisterRequest
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user