14 lines
620 B
TypeScript
14 lines
620 B
TypeScript
import type { Meditation } from './types';
|
|
import { desertSunrise } from './desert-sunrise';
|
|
import { mediterraneanCoast } from './mediterranean-coast';
|
|
import { northernCabin } from './northern-cabin';
|
|
import { ringedPlanet } from './ringed-planet';
|
|
import { theReef } from './the-reef';
|
|
|
|
/** Every meditation listed on the main menu, in display order. Add new ones here. */
|
|
export const meditations: readonly Meditation[] = [northernCabin, mediterraneanCoast, theReef, ringedPlanet, desertSunrise];
|
|
|
|
export function findMeditation(id: string): Meditation | undefined {
|
|
return meditations.find((m) => m.id === id);
|
|
}
|