feat: show provider window and last update in monitor view
This commit is contained in:
@@ -10,6 +10,7 @@ interface ProviderRow {
|
|||||||
error?: string | null
|
error?: string | null
|
||||||
fetched_at?: string | null
|
fetched_at?: string | null
|
||||||
reset_at?: string | null
|
reset_at?: string | null
|
||||||
|
window?: string | null
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ServerRow {
|
interface ServerRow {
|
||||||
@@ -173,6 +174,8 @@ expires_at=' + r.data.expires_at)
|
|||||||
<strong>{p.provider}</strong> / {p.label} · status: {p.status}
|
<strong>{p.provider}</strong> / {p.label} · status: {p.status}
|
||||||
{p.usage_pct !== null ? (' · usage: ' + p.usage_pct + '%') : ''}
|
{p.usage_pct !== null ? (' · usage: ' + p.usage_pct + '%') : ''}
|
||||||
{p.reset_at ? (' · reset: ' + p.reset_at) : ''}
|
{p.reset_at ? (' · reset: ' + p.reset_at) : ''}
|
||||||
|
{p.window ? (' · window: ' + p.window) : ''}
|
||||||
|
{p.fetched_at ? (' · updated: ' + p.fetched_at) : ''}
|
||||||
{p.error ? (' · error: ' + p.error) : ''}
|
{p.error ? (' · error: ' + p.error) : ''}
|
||||||
</li>
|
</li>
|
||||||
))}
|
))}
|
||||||
|
|||||||
Reference in New Issue
Block a user