mirror of
https://github.com/morluto/rea.git
synced 2026-11-04 22:06:10 +00:00
refactor(javascript): unify application workflow ownership
This commit is contained in:
1 parent
74ed67da7f
commit
da9a580a0d
18 files changed
+385
-315
No files matched your search
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user