runs/[id].vue

Page to display the information page for a single run (nav-item: None, only accessible from links).
Info: The attendees list is emitted by the HeroRun and can be directly used from there.
Info: The [id] is the runDate in YYYY-MM-DD format
Used Components
Functions
getImages
Load the thumbnail images and the link to the Album of the run by querying the Piwigo API. The search uses the pwg.images.search endpoint querying the f_min_date_created and f_max_date_created parameters. run_date is used assuming that all related images are taken / created on the day of the respective run
Parameters:
startDate: (run_date) in YYYY-MM-DD format
piwigoLogin
Helper function to login to Piwigo API
getGalleryLink
Helper function to identify the link to the Album of the run. A single image is queried from the pwg.images.getInfo endpoint and category / album of this image assuming that all images of a run are in the same folder
Parameters:
imageId: of an image from withcreation_date=run_date
isValidWednesday
Checks if the given string is date string and a valid Wednesday in the format YYYY-MM-DD
Parameters:
dateString: - The date string to check
