Add official source edition probes
This commit is contained in:
@@ -709,6 +709,52 @@ export interface SourceFreshnessReport {
|
||||
limitations: string[]
|
||||
}
|
||||
|
||||
export type SourceCatalogProbeStatus = 'available' | 'degraded' | 'unavailable' | 'disabled'
|
||||
export type SourceCatalogComparisonStatus = 'same' | 'different' | 'not_comparable' | 'no_local_data' | 'unavailable'
|
||||
|
||||
export interface SourceCatalogProbeItem {
|
||||
source_name: string
|
||||
display_name: string
|
||||
service_type: 'WFS' | 'WMS'
|
||||
endpoint_url: string
|
||||
status: SourceCatalogProbeStatus
|
||||
reachable: boolean
|
||||
checked_at: string
|
||||
cached: boolean
|
||||
expected_layers: string[]
|
||||
matched_layers: string[]
|
||||
missing_layers: string[]
|
||||
advertised_layer_count: number
|
||||
metadata_url?: string | null
|
||||
metadata_identifier?: string | null
|
||||
remote_title?: string | null
|
||||
remote_version?: string | null
|
||||
remote_modified_at?: string | null
|
||||
remote_published_at?: string | null
|
||||
local_source_version?: string | null
|
||||
comparison_status: SourceCatalogComparisonStatus
|
||||
capabilities_sha256?: string | null
|
||||
capabilities_etag?: string | null
|
||||
capabilities_last_modified_at?: string | null
|
||||
message: string
|
||||
error_code?: string | null
|
||||
}
|
||||
|
||||
export interface SourceCatalogProbeReport {
|
||||
project_id: string
|
||||
generated_at: string
|
||||
summary: {
|
||||
provider_count: number
|
||||
available_count: number
|
||||
degraded_count: number
|
||||
unavailable_count: number
|
||||
disabled_count: number
|
||||
different_version_count: number
|
||||
}
|
||||
items: SourceCatalogProbeItem[]
|
||||
limitations: string[]
|
||||
}
|
||||
|
||||
export interface GeojsonEnvelopeResponse {
|
||||
data: object
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user