Skip to content

Commit

Permalink
feat: ユーザーをプレイヤーにアップグレードするIFを定義
Browse files Browse the repository at this point in the history
  • Loading branch information
CornerSyrup committed Jun 21, 2022
1 parent 7a7999b commit 1206977
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions infrastructure/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ export interface IAccountRepository {
setLastLoginAttempt(timestamp: number): void;
setLastLogin(timestamp: number): void;
registerNewUser(user: User): void;
upgradeUserToPlayer(user: User, player: Player): Promise<void>;
unregisterUser(id: Identifier): Promise<void>;
unregisterPlayer(id: Identifier): Promise<void>;
}

0 comments on commit 1206977

Please sign in to comment.