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