Skip to content

Commit

Permalink
Merge branch 'develop' into feat/#22
Browse files Browse the repository at this point in the history
  • Loading branch information
holmir97 authored Sep 6, 2021
2 parents 7bee107 + 484ce49 commit 616c8dd
Show file tree
Hide file tree
Showing 20 changed files with 795 additions and 584 deletions.
25 changes: 6 additions & 19 deletions src/DTO/adminDTO.ts
Original file line number Diff line number Diff line change
@@ -1,31 +1,18 @@
namespace adminDTO {
export interface IAdmin {
title: String;
registerStartDT: Date;
registerEndDT: Date;
challengeStartDT: Date;
challengeEndDT: Date;
generation: Number;
limitNum: Number;
img: string;
createdDT: Date;
applyNum: Number;
}

interface Admin {
export interface adminResDetailDTO {
registerStartDT: Date;
registerEndDT: Date;
challengeStartDT: Date;
challengeEndDT: Date;
generation: number;
createdDT: Date;
createdAT?: Date;
applyNum: number;
participants: number;
postNum: number;
img: string;
participants?: number;
postNum?: number;
img?: string;
}
export interface adminResDTO {
offsetAdmin: Admin[];
offsetAdmin: adminResDetailDTO[];
totalAdminNum?: number;
}

Expand Down
18 changes: 18 additions & 0 deletions src/DTO/authDTO.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,24 @@ namespace authDTO {
email: string;
password: string;
}

export interface emailReqDTO {
email: string;
}

export interface codeReqDTO {
email: string;
emailCode: string;
}

export interface codeResDTO {
isOkay: boolean;
}

export interface passwordReqDTO {
email: string;
password: string;
}
}

export default authDTO;
Loading

0 comments on commit 616c8dd

Please sign in to comment.