places: a description the community shared is credited to the TREK community

A community description laid over OSM details or an index row showed up as
OpenStreetMap under ODbL, or as the place's own website. It now has a source of
its own, community, credited as TREK Community under CC BY 4.0, like the
service publishes it.
This commit is contained in:
Maurice
2026-10-30 22:28:15 +01:00
parent 7f2a3b6039
commit ce5ec7132f
6 changed files with 41 additions and 2 deletions
+2
View File
@@ -185,6 +185,8 @@ export const placeDescriptionSourceSchema = z.enum([
'wikipedia',
/** Quoted from the place's own site, via the TREK Places API. */
'website',
/** Written by a TREK user, shared by an installation and checked before it was published. */
'community',
]);
export type PlaceDescriptionSource = z.infer<typeof placeDescriptionSourceSchema>;