3ad7a9ac94
- Add logic function as step - Rename previous one as Code <img width="494" height="573" alt="Capture d’écran 2026-01-28 à 16 15 29" src="https://github.com/user-attachments/assets/82f7e720-20da-4926-b5bc-94a33cd1f53a" /> <img width="494" height="264" alt="Capture d’écran 2026-01-28 à 16 15 39" src="https://github.com/user-attachments/assets/a0444ae9-8c50-418d-8c5f-68c4da08fce7" /> <img width="494" height="264" alt="Capture d’écran 2026-01-28 à 16 15 58" src="https://github.com/user-attachments/assets/3025db09-4e59-421e-8dc5-f3a7a7326554" /> --------- Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
10 lines
388 B
TypeScript
10 lines
388 B
TypeScript
import { z } from 'zod';
|
|
import { baseWorkflowActionSchema } from './base-workflow-action-schema';
|
|
import { workflowLogicFunctionActionSettingsSchema } from './logic-function-action-settings-schema';
|
|
|
|
export const workflowLogicFunctionActionSchema =
|
|
baseWorkflowActionSchema.extend({
|
|
type: z.literal('LOGIC_FUNCTION'),
|
|
settings: workflowLogicFunctionActionSettingsSchema,
|
|
});
|