UNPKG

@commercetools/sync-actions

Version:

Build API update actions for the commercetools platform.

3 lines (2 loc) 199 B
import { ActionGroup, UpdateAction } from './types'; export default function createMapActionGroup(actionGroups?: Array<ActionGroup>): (type: string, fn: () => Array<UpdateAction>) => UpdateAction[];