Skip to main content

TypeAlias.ImportMapperType

type ImportMapperType = ObjectEnum<typeof ImportMapperType>;

Source type of an import mapper, deciding how the data to import is obtained.

  • file: the data is uploaded manually (JSON/CSV) at import time; the mapper carries no url/cronFrequency. Default for every pre-existing mapper.
  • url: the data is fetched automatically from url on a recurring schedule defined by cronFrequency (CRON import). Both fields are required.