fix: build errors and merging projects and homepage
This commit is contained in:
12
src/lib/availability.ts
Normal file
12
src/lib/availability.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
// how a pokemon can be obtained in a game. no pokemon_game_entry row at all
|
||||
// means the pokemon doesn't exist in that game (e.g. a gen 2 mon in gen 1).
|
||||
// Shared between the db schema and the client, which receives availability as
|
||||
// an index into this array to keep the page payload small.
|
||||
export const availabilityValues = [
|
||||
'catchable',
|
||||
'trade_only',
|
||||
'transfer_only',
|
||||
'event_only'
|
||||
] as const;
|
||||
|
||||
export type Availability = (typeof availabilityValues)[number];
|
||||
Reference in New Issue
Block a user