mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-08-06 02:21:42 +00:00
Refactor of caching & data storage part 4 #118
This commit is contained in:
@@ -796,7 +796,7 @@ components:
|
||||
- HEMA
|
||||
- WCA
|
||||
- MOTA
|
||||
- SiOTA
|
||||
- SIOTA
|
||||
- ARLHS
|
||||
- ILLW
|
||||
- ZLOTA
|
||||
@@ -1742,6 +1742,10 @@ components:
|
||||
The last time at which this provider received data, UTC seconds since UNIX epoch. If this
|
||||
is zero, the provider has never updated.
|
||||
example: 1759579508
|
||||
reference_count:
|
||||
type: number
|
||||
description: The number of references fetched using this provider.
|
||||
example: 1234
|
||||
|
||||
SpotList:
|
||||
type: array
|
||||
|
||||
@@ -46,6 +46,7 @@ function loadStatus() {
|
||||
<div class="col"><strong>${p["sig_name"]}</strong></div>
|
||||
<div class="col">Status: ${p["status"]}</div>
|
||||
<div class="col">Last updated: ${(p["enabled"] && p["last_updated"] > 0) ? moment.unix(p["last_updated"]).utc().fromNow() : "N/A"}</div>
|
||||
<div class="col">Reference count: ${(p["enabled"] && p["reference_count"] > 0) ? p["reference_count"] : "N/A"}</div>
|
||||
</div>`);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user