UNPKG

@commercetools/sync-actions

Version:

Build API update actions for the commercetools platform.

17 lines (16 loc) 509 B
import { Delta, Order, SyncActionConfig } from '../utils/types'; export declare const baseActionsList: { action: string; key: string; }[]; export declare const referenceActionsList: { action: string; key: string; }[]; export declare function actionsMapBase(diff: Delta, oldObj: Order, newObj: Order, config?: SyncActionConfig): { [x: string]: any; action: string; }[]; export declare function actionsMapReferences(diff: Delta, oldObj: Order, newObj: Order): { action: string; }[];