UNPKG

@contentstack/cli-variants

Version:

Variants plugin

17 lines (16 loc) 565 B
import { PersonalizationAdapter } from '../utils'; import { ImportConfig } from '../types'; export default class Events extends PersonalizationAdapter<ImportConfig> { readonly config: ImportConfig; private mapperDirPath; private eventMapperDirPath; private eventsUidMapperPath; private eventsUidMapper; private personalizeConfig; private eventsConfig; constructor(config: ImportConfig); /** * The function asynchronously imports events from a JSON file and creates them in the system. */ import(): Promise<void>; }