Ecohackerfarm / powerplant

Optimize and assist planning your garden
Other
85 stars 21 forks source link

Create modules for managing Crop and PracticalplantsCrop types #89

Open petteripitkanen opened 5 years ago

petteripitkanen commented 5 years ago

For cleaning up the code and working towards practicalplants integration, create module shared/crop.js for operating on the Crop type, and module shared/practicalplants.js for operating on PracticalplantsCrop type. PracticalplantsCrop module contains functions for converting to the powerplant Crop type, and it should be separated from the static practicalplants data and the file system.