This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
// 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).
|
||||
// How a Pokémon can be obtained in a game. Missing rows mean no source record;
|
||||
// they do not prove absence. Unknown rows establish presence, not availability.
|
||||
// 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'
|
||||
'event_only',
|
||||
'unknown'
|
||||
] as const;
|
||||
|
||||
export type Availability = (typeof availabilityValues)[number];
|
||||
|
||||
Reference in New Issue
Block a user