Docs: finish creating the overview of all online services

This commit is contained in:
Pieter Vander Vennet 2025-06-29 22:42:28 +02:00
parent e9209f6b7c
commit 2361fe5e83
17 changed files with 177 additions and 94 deletions

View file

@ -1,5 +1,6 @@
import Constants from "../Models/Constants"
import { SpecialVisualizationState } from "../UI/SpecialVisualization"
import { ServerSourceInfo } from "../Models/SourceOverview"
export interface MaprouletteTask {
name: string
@ -21,7 +22,15 @@ export type MaprouletteStatus = (typeof maprouletteStatus)[number]
export default class Maproulette {
public static readonly defaultEndpoint = "https://maproulette.org/api/v2"
public static readonly defaultEndpointInfo: ServerSourceInfo = {
url: Maproulette.defaultEndpoint,
trigger: ["specific_theme"],
category: "feature",
description: "[MapRoulette](https://wiki.openstreetmap.org/wiki/MapRoulette) is a platform where tasks can be submitted, where every task contains some data about something that should be improved in OpenStreetMap. The intent is that those 'tasks' are solved by the community, effectively working as big, shared 'todo'-list. MapComplete can display such tasks and mark them solved. This is most often done to run an import of data.",
openData: true,
sourceAvailable: true,
selfhostable: true
}
public static readonly STATUS_OPEN = 0
public static readonly STATUS_FIXED = 1
public static readonly STATUS_FALSE_POSITIVE = 2