refactor(javascript): unify application workflow ownership

This commit is contained in:
morluto committed 2026-10-23 09:07:43 +08:00
1 parent 74ed67da7f
commit da9a580a0d
18 files changed
+385 -315

No files matched your search

+5 -2
View File
@@ -53,12 +53,15 @@ export const registerSourceToBundleCommand = (
resources,
);
if (!reference.ok) return reference;
const { compareSourceToBundleEvidenceValidated } =
const { compareSourceToBundleEvidence } =
await import("../application/javascript/JavaScriptApplicationWorkflowService.js");
return compareSourceToBundleEvidenceValidated({
const compared = compareSourceToBundleEvidence({
...reference.value,
application: parsed.data.application,
});
return compared.ok
? { ok: true, value: compared.value.evidence }
: compared;
},
resources,
"javascript-application-workflow",