refactor: remove legacy workspace UI state

This commit is contained in:
2026-08-10 22:56:00 +02:00
parent fc19b0d67c
commit 90684c3280
12 changed files with 283 additions and 130 deletions
+2 -5
View File
@@ -23,12 +23,9 @@ export function canonicalWorkspaceFixture(
};
}
export function workspaceRevisionFixture(
id: string,
state: WorkspaceRevision["state"] = "operational",
): WorkspaceRevision {
export function workspaceRevisionFixture(id: string): WorkspaceRevision {
return {
id, commit: "a".repeat(40), blob: "b".repeat(40),
snapshotPath: `/snapshots/${"a".repeat(40)}/${id}.yaml`, state,
snapshotPath: `/snapshots/${"a".repeat(40)}/${id}.yaml`,
};
}