Skip to content

BeechCMS


BeechCMS / @beechcms/core / checkFormatCompatibility

Function: checkFormatCompatibility() ​

checkFormatCompatibility(seed, format): FormatCompatibility

The single authority on "may this seed be transferred in this format?", shared by the export endpoint and the import endpoint so the two can never disagree. NDJSON is universal; CSV requires a flat seed.

Parameters ​

seed ​

Seed

format ​

TransferFormat

Returns ​

FormatCompatibility