Refactor app architecture and clean local artifacts
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
namespace Backend.Contracts;
|
||||
|
||||
public sealed record NominationEntryRequest(
|
||||
string Name,
|
||||
string StreamUrl);
|
||||
|
||||
public sealed record CreateNominationRequest(
|
||||
int Year,
|
||||
int CategoryId,
|
||||
string TwitchUserId,
|
||||
string[]? Nominees,
|
||||
NominationEntryRequest[]? Nominations);
|
||||
|
||||
public sealed record VoteEntryRequest(
|
||||
int CategoryId,
|
||||
int CandidateId);
|
||||
|
||||
public sealed record CreateVoteRequest(
|
||||
int SeasonId,
|
||||
string TwitchUserId,
|
||||
VoteEntryRequest[] Entries);
|
||||
|
||||
public sealed record CreateClipRequest(
|
||||
int Year,
|
||||
int? CategoryId,
|
||||
int? CandidateId,
|
||||
string TwitchUserId,
|
||||
string ClipUrl,
|
||||
string Title,
|
||||
string Creator);
|
||||
Reference in New Issue
Block a user