Use of Server Components for easier Data fetching + start use of v2 API
This commit is contained in:
parent
49ceda5575
commit
f23c9dc0f1
6 changed files with 195 additions and 5 deletions
types
|
@ -64,3 +64,14 @@ export enum Species {
|
|||
Toxoid = 11,
|
||||
Machine = 12,
|
||||
}
|
||||
|
||||
export type Game = {
|
||||
id: number,
|
||||
name: string
|
||||
}
|
||||
|
||||
export type GameGroup = {
|
||||
id: number,
|
||||
game_id: number,
|
||||
name: string
|
||||
}
|
||||
|
|
Reference in a new issue