feat: expand intelligent investigation workspace
Generic Container CI/CD / test-build-publish (push) Successful in 1m52s
Frontend CI/CD / build-test-publish-and-deploy (push) Successful in 1m52s

This commit is contained in:
2026-10-30 17:30:19 +08:00
parent ddd03dbff6
commit c0e4231b83
223 changed files with 13155 additions and 5304 deletions
@@ -256,8 +256,9 @@ function isManagedResult(value: unknown): value is PeripheralWorkOrder | Periphe
const item = value as Record<string, unknown>;
if (item.deleted === true) return typeof item.resource_id === "string" &&
(item.resource_type === "work_order" || item.resource_type === "test_data_record");
return (typeof item.work_order_id === "string" || typeof item.record_id === "string") &&
typeof item.revision === "number" && item.origin === "synthetic";
if (typeof item.revision !== "number") return false;
if (typeof item.work_order_id === "string") return item.origin === "system_data";
return typeof item.record_id === "string" && item.origin === "synthetic";
}
export class PeripheralSampleError extends Error {