Skip to main content

DynaComputeInput

@nmi-agro/fdm-source


@nmi-agro/fdm-source / fdm-calculator/src / DynaComputeInput

Interface: DynaComputeInput

Defined in: fdm-calculator/src/mineralization/types.d.ts:222

Input bundle passed to the cached getDyna function. The caller (app server layer) is responsible for fetching all required FDM data and building the requestBody via buildDynaRequest.

Properties

b_id

b_id: string

Defined in: fdm-calculator/src/mineralization/types.d.ts:224

FDM field identifier — included in the result and used as part of the cache key


cacheDate

cacheDate: string

Defined in: fdm-calculator/src/mineralization/types.d.ts:232

Current date (YYYY-MM-DD) used for cache invalidation.


nmiApiKey

nmiApiKey: string

Defined in: fdm-calculator/src/mineralization/types.d.ts:226

NMI API bearer token — redacted from the cache key hash


requestBody

requestBody: Record<string, unknown>

Defined in: fdm-calculator/src/mineralization/types.d.ts:228

Fully-formed request body for POST /bemestingsplan/dyna