syncMeasuresCatalogueArray
@nmi-agro/fdm-source / fdm-core/src / syncMeasuresCatalogueArray
Function: syncMeasuresCatalogueArray()
syncMeasuresCatalogueArray(
fdm,measures):Promise<void>
Defined in: fdm-core/src/catalogues.ts:807
Synchronizes the measures catalogue with the provided array of catalogue items.
Public so that tests and custom data injection can call it directly without a live API key. Mirrors syncFertilizerCatalogueArray.
Parameters
fdm
PgDatabase
The FDM instance providing the connection to the database.
measures
CatalogueMeasure
Array of catalogue items (in pandex naming convention from fdm-data).
Returns
Promise<void>