@contentstack/cli-variants
Version:
Variants plugin
9 lines (8 loc) • 432 B
TypeScript
import { CreateExperienceInput } from '../types';
/**
* function to either modify the UID or eliminate it if the event is not created in the target project
* @param experience - experience object
* @param eventsUid - {eventsUid} events mapper data in format {<old-uid>: <new-uid>}
* @returns
*/
export declare const lookUpEvents: (experience: CreateExperienceInput, eventsUid: Record<string, string>) => CreateExperienceInput;