Phase 2.3: Workflow Editor API & Event Communication
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3538892. -->
Reported by: [d34dman](https://www.drupal.org/user/751698)
>>>
<p>
In this phase, we define the primary communication layer between the Svelte-based workflow editor and Drupal.<br>
The main focus will be a JavaScript event-driven API to handle node interactions, workflow changes,<br>
and execution triggers. REST/JSON:API endpoints will be optional and secondary to the in-browser event system.
</p>
<h4>Deliverable</h4>
<ul>
<li>Fully defined JavaScript event-driven API for workflow lifecycle.</li>
<li>Optional REST endpoints for persistence and execution.</li>
<li>Autosave and execution capabilities wired into the event bus.</li>
<li>Editor able to function offline or without immediate backend integration.</li>
</ul>
issue