refactor: make provisioning own instance lifecycle operations

This commit is contained in:
2026-09-27 14:45:00 -04:00
parent cfed584614
commit df265d1900
44 changed files with 1791 additions and 1609 deletions
+2 -1
View File
@@ -24,7 +24,7 @@
interface ServerRow {
deployment_id: string; server: string; files_changed: number;
restart_state: string; players: number | null;
checked_at: string | null; restarted_at: string | null;
checked_at: string | null; restarted_at: string | null; provisioning_id: string | null;
attempts: number; error: string | null;
}
interface Detail {
@@ -148,6 +148,7 @@
</div>
<div class="srv-r">
<StatusBadge state={s.restart_state} />
{#if s.provisioning_id}<a href="/provisioning/{encodeURIComponent(s.provisioning_id)}">View provisioning</a>{/if}
{#if s.players !== null && s.players > 0}
<span class="players">{s.players} players at last check</span>
{/if}