Some checks failed
Test and deploy staging / staging (push) Has been cancelled
14 lines
487 B
TypeScript
14 lines
487 B
TypeScript
// 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',
|
|
'unknown'
|
|
] as const;
|
|
|
|
export type Availability = (typeof availabilityValues)[number];
|