Skip to content

Commit

Permalink
[#46] - Interface nedded to pokemon game
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanson25 committed Oct 10, 2024
1 parent 429669a commit 157ba47
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/models/pokemonGame.model.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
export enum GameStatus {
Playing = 'playing',
Won = 'won',
Lost = 'lost',
}

export interface PokemonListResponse {
count: number;
next: string;
previous: null;
results: Result[];
}

export interface Result {
name: string;
url: string;
}

export interface Pokemon {
id: number;
name: string;
}

0 comments on commit 157ba47

Please sign in to comment.