Skip to content

Commit

Permalink
feat: 認証用のAPIインタフェースを定義
Browse files Browse the repository at this point in the history
  • Loading branch information
CornerSyrup committed Jun 21, 2022
1 parent 28af5ce commit 7a7999b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions application/Auth.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
export interface SignInRequest {
email: string;
password: string;
}

export interface SignInResponse {
succeed: boolean;
error?: string;
}

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

export interface SignUpResponse {
succeed: boolean;
error?: string;
}

0 comments on commit 7a7999b

Please sign in to comment.