Skip to content

The open alternative to Salesforce, designed for AI.

368 B
Raw Blame
import {
  type HeadlessCommandContextApi,
  type HeadlessTriggerWorkflowVersionCommandContextApi,
} from '@/command-menu-item/engine-command/types/HeadlessCommandContextApi';

export const isHeadlessTriggerWorkflowVersionCommandContextApi = (
  state: HeadlessCommandContextApi,
): state is HeadlessTriggerWorkflowVersionCommandContextApi =>
  'workflowId' in state;