mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-22 13:10:29 +00:00
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:
@@ -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>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user