🚨 Announcing Vendure v2 Beta

ImportExportOptions

ImportExportOptions

Options related to importing & exporting data.

Signature

interface ImportExportOptions {
  importAssetsDir?: string;
  assetImportStrategy?: AssetImportStrategy;
}

Members

importAssetsDir

property
type:
string
default:
__dirname
The directory in which assets to be imported are located.

assetImportStrategy

property
v1.7.0
This strategy determines how asset files get imported based on the path given in the import CSV or via the AssetImporter getAssets() method.