README
@nmi-agro/fdm-source / fdm-core/src
fdm-core/src
A library to interact with the Farm Data Model using PostgreSQL as backend
Remarks
The fdm defines the createFdmServer and FdmServerType to store, retrieve and update the Farm Data Model
Created by Nutriënten Management Instituut (www.nmi-agro.nl) Source code available at https://github.com/nmi-agro/fdm In case you find a bug, please report at https://github.com/nmi-agro/fdm/issues
Namespaces
Interfaces
- AddSoilImageAnnotationInput
- AddSoilImageInput
- AuditContext
- Cultivation
- CultivationPlan
- Fertilizer
- FertilizerApplication
- FertilizerCatalogue
- FertilizerParameterDescriptionItem
- Field
- Harvest
- Harvestable
- HarvestableAnalysis
- HarvestParametersDefault
- SoilAnalysis
- SoilImage
- SoilImageAnnotation
- UpdateSoilImageAnnotationInput
Type Aliases
- AppAmountUnit
- BaseFertilizerApplication
- CultivationCatalogue
- CurrentSoilData
- FdmAuth
- FdmServerType
- FdmType
- FertilizerParameterDescription
- FertilizerParameters
- FertilizerType
- FieldGeometry
- HarvestParameters
- invitationTypeInsert
- invitationTypeSelect
- Measure
- MeasureCatalogue
- OrganicCertification
- PrincipalId
- SoilParameterDescription
- SoilParameters
- Timeframe
Variables
- acquiringMethodOptions
- annotationTypeOptions
- bcsIndicatorOptions
- gwlClassesOptions
- MAX_INVITATIONS_PENDING_PER_TARGET
- MAX_INVITATIONS_PER_INVITER_PER_HOUR
- rateLimit
- soilTypesOptions
- visualImageTypeOptions
Functions
- acceptInvitation
- addCultivation
- addCultivationToCatalogue
- addDerogation
- addFarm
- addFertilizer
- addFertilizerApplication
- addFertilizerToCatalogue
- addField
- addHarvest
- addMeasure
- addOrganicCertification
- addSoilAnalysis
- addSoilImage
- addSoilImageAnnotation
- autoAcceptInvitationsForNewUser
- cancelInvitationForFarm
- checkPermission
- createDisplayUsername
- createFdmAuth
- createFdmServer
- createInvitation
- declineInvitation
- determineIfFieldIsBuffer
- disableCultivationCatalogue
- disableFertilizerCatalogue
- disableMeasureCatalogue
- enableCultivationCatalogue
- enableFertilizerCatalogue
- enableMeasureCatalogue
- fromKgPerHa
- getCachedCalculation
- getCultivation
- getCultivationPlan
- getCultivations
- getCultivationsForFarm
- getCultivationsFromCatalogue
- getCultivationsFromCatalogues
- getCurrentSoilData
- getCurrentSoilDataForFarm
- getDefaultDatesOfCultivation
- getDefaultsForHarvestParameters
- getEnabledCultivationCatalogues
- getEnabledCultivationCataloguesForFarms
- getEnabledFertilizerCatalogues
- getEnabledFertilizerCataloguesForFarms
- getEnabledMeasureCatalogues
- getFarm
- getFarms
- getFertilizer
- getFertilizerApplication
- getFertilizerApplications
- getFertilizerApplicationsForFarm
- getFertilizerParametersDescription
- getFertilizers
- getFertilizersFromCatalogue
- getFertilizersFromCatalogues
- getField
- getFields
- getGrazingIntention
- getGrazingIntentions
- getHarvest
- getHarvestableTypeOfCultivation
- getHarvests
- getHarvestsForFarm
- getMeasure
- getMeasures
- getMeasuresForFarm
- getMeasuresFromCatalogue
- getOrganicCertification
- getParametersForHarvestCat
- getPrincipal
- getPrincipals
- getSoilAnalyses
- getSoilAnalysesForFarm
- getSoilAnalysis
- getSoilImages
- getSoilParametersDescription
- grantRoleToFarm
- isAllowedToDeleteFarm
- isAllowedToShareFarm
- isCultivationCatalogueEnabled
- isDerogationGrantedForYear
- isFertilizerCatalogueEnabled
- isMeasureCatalogueEnabled
- isOrganicCertificationValid
- isValidSkalNumber
- isValidTracesNumber
- listAvailableAcquiringMethods
- listDerogations
- listOrganicCertifications
- listPendingInvitationsForFarm
- listPendingInvitationsForPrincipal
- listPendingInvitationsForUser
- listPrincipalsForFarm
- lookupPrincipal
- removeCultivation
- removeDerogation
- removeFarm
- removeFertilizer
- removeFertilizerApplication
- removeField
- removeGrazingIntention
- removeHarvest
- removeMeasure
- removeOrganicCertification
- removeSoilAnalysis
- removeSoilImage
- removeSoilImageAnnotation
- revokePrincipalFromFarm
- runMigration
- setCachedCalculation
- setCalculationError
- setGrazingIntention
- syncCatalogues
- syncMeasuresCatalogueArray
- toKgPerHa
- updateCultivation
- updateFarm
- updateFertilizerApplication
- updateFertilizerFromCatalogue
- updateField
- updateHarvest
- updateMeasure
- updateRoleOfInvitationForFarm
- updateRoleOfPrincipalAtFarm
- updateSoilAnalysis
- updateSoilImageAnnotation
- updateUserProfile
- withAuditContext
- withCalculationCache
- writeAuditEntry