Chore: housekeeping

This commit is contained in:
Pieter Vander Vennet 2025-02-10 02:04:58 +01:00
parent cd9e03dd6f
commit b300fffdc5
156 changed files with 4436 additions and 1318 deletions

View file

@ -2,22 +2,21 @@
* Various tools and types to work with the community index (https://openstreetmap.community/; https://github.com/osmlab/osm-community-index)
*/
export interface CommunityResource {
/**
* A unique identifier for the resource
* "pattern": "^[-_.A-Za-z0-9]+$"
*/
id: string,
id: string
/**
* Type of community resource (thus: platform)
*/
type: string,
type: string
/**
* included and excluded locations for this item
* See location-conflation documentation for compatible values: https://github.com/rapideditor/location-conflation#readme
*/
locationSet?,
locationSet?
/** Array of ISO-639-1 (2 letter) or ISO-639-3 (3 letter) codes in lowercase
* */
@ -27,7 +26,5 @@ export interface CommunityResource {
*/
account?: string
resolved?: { url: string, name: string, description: string } & Record<string, string>
resolved?: { url: string; name: string; description: string } & Record<string, string>
}