fix: address PR review feedback (#1424)
- restore customFields on unarchive; reconcile all occupants on field-schema edits (store.ts) - serialize per-field saves + controlled inputs in TaskFieldsSection (race fixes) - fn_workflow_get includes layout; Array.isArray guards in validateCodeNodeSources - per-instance graphStepActiveContext keying; rebase in instance worktree; clear run-once memo on RETHINK - GET /api/step-parsers + registry-backed parser select (plugin parsers reachable from editor) - translate new workflowNodes/workflowFields strings across all 5 non-en locales Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -5058,6 +5058,16 @@ export function fetchTraits(projectId?: string): Promise<TraitCatalogEntry[]> {
|
||||
);
|
||||
}
|
||||
|
||||
/** Fetch the step-parser id catalog (built-ins + registered plugin parsers) for
|
||||
* the parse-steps node inspector (KTD-12). Registry-backed, read-only,
|
||||
* session-scoped. Mirrors fetchTraits. */
|
||||
export function fetchStepParsers(projectId?: string): Promise<string[]> {
|
||||
const path = withProjectId("/step-parsers", projectId);
|
||||
return dedupe(path, () =>
|
||||
api<{ parsers: Array<{ id: string }> }>(path).then((res) => res.parsers.map((p) => p.id)),
|
||||
);
|
||||
}
|
||||
|
||||
/** Fetch a single workflow definition. */
|
||||
export function fetchWorkflow(id: string, projectId?: string): Promise<import("@fusion/core").WorkflowDefinition> {
|
||||
return api<import("@fusion/core").WorkflowDefinition>(withProjectId(`/workflows/${encodeURIComponent(id)}`, projectId));
|
||||
|
||||
Reference in New Issue
Block a user