feat: show provider window and last update in monitor view

This commit is contained in:
zhi
2026-03-11 13:15:20 +00:00
parent 18b1a51f3f
commit d574258c8e

View File

@@ -10,6 +10,7 @@ interface ProviderRow {
error?: string | null
fetched_at?: string | null
reset_at?: string | null
window?: string | null
}
interface ServerRow {
@@ -173,6 +174,8 @@ expires_at=' + r.data.expires_at)
<strong>{p.provider}</strong> / {p.label} · status: {p.status}
{p.usage_pct !== null ? (' · usage: ' + p.usage_pct + '%') : ''}
{p.reset_at ? (' · reset: ' + p.reset_at) : ''}
{p.window ? (' · window: ' + p.window) : ''}
{p.fetched_at ? (' · updated: ' + p.fetched_at) : ''}
{p.error ? (' · error: ' + p.error) : ''}
</li>
))}