@contentstack/cli-variants
Version:
Variants plugin
8 lines (7 loc) • 394 B
TypeScript
/**
* function to either modify the UID or eliminate it if the attribute is not created in the target project
* @param attributeRules
* @param attributesUid - {attributesUid} attributes mapper data in format {<old-uid>: <new-uid>}
* @returns
*/
export declare const lookUpAttributes: (attributeRules: Record<string, any>[], attributesUid: Record<string, string>) => Record<string, any>[];