File tree Expand file tree Collapse file tree 3 files changed +39
-0
lines changed
Expand file tree Collapse file tree 3 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+
2+ export class AddAppealMessageDto {
3+
4+ /** The message content */
5+ message : string ;
6+
7+ /** Whether the message is internal or not */
8+ is_internal : boolean ;
9+ }
Original file line number Diff line number Diff line change 1+ import { JusticeAppealType } from '~/constants/JusticeAppeal' ;
2+
3+ export class CreateJusticeAppealDto {
4+
5+ /** The ID of the issued strike that is being appealed */
6+ issued_strike_id : number ;
7+
8+ /** The message of the appeal */
9+ message : string ;
10+
11+ /** The type of the appeal */
12+ appeal_type : JusticeAppealType ;
13+ }
Original file line number Diff line number Diff line change 1+ export enum JusticeMessageType {
2+ APPEALER = 'appealer' ,
3+ JUSTICE = 'justice' ,
4+ LEADER = 'leader' ,
5+ }
6+
7+ export enum JusticeAppealType {
8+ STRIKE = 'strike' ,
9+ BAN = 'ban' ,
10+ }
11+
12+ export enum JusticeAppealStatus {
13+ UNDER_REVIEW = 'under_review' ,
14+ UPHELD = 'upheld' ,
15+ OVERTURNED = 'overturned' ,
16+ REISSUED = 'reissued' ,
17+ }
You can’t perform that action at this time.
0 commit comments