UNPKG

@contentstack/cli-variants

Version:

Variants plugin

17 lines (16 loc) 582 B
import { PersonalizationAdapter } from '../utils'; import { ImportConfig } from '../types'; export default class Attribute extends PersonalizationAdapter<ImportConfig> { readonly config: ImportConfig; private mapperDirPath; private attrMapperDirPath; private attributesUidMapperPath; private attributesUidMapper; private personalizeConfig; private attributeConfig; constructor(config: ImportConfig); /** * The function asynchronously imports attributes from a JSON file and creates them in the system. */ import(): Promise<void>; }