690503:0135 Update workflow #01
This commit is contained in:
@@ -77,3 +77,11 @@ export const useGetAvailableActions = () => {
|
||||
mutationFn: (data: GetAvailableActionsDto) => workflowEngineService.getAvailableActions(data),
|
||||
});
|
||||
};
|
||||
|
||||
// FR-025: Inline DSL validation (POST /workflow-engine/definitions/validate)
|
||||
export const useValidateDsl = () => {
|
||||
return useMutation({
|
||||
mutationFn: (dsl: Record<string, unknown>) =>
|
||||
workflowEngineService.validateDsl(dsl),
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user