Open-Earth-Foundation / CityCatalyst

Open Source carbon accounting for cities
GNU Affero General Public License v3.0
19 stars 5 forks source link

Inventory Backend v2 - Rise of the ActivityValue #487

Closed lemilonkh closed 1 month ago

lemilonkh commented 1 month ago

Adds the ActivityValue table that is located on a new level between InventoryValue and GasValue now. This allows recording separate data for each activity inside of a SubSector + Scope (InventoryValue), so they can be tracked in compliance with the GPC.

Adds the following API routes:

The id parameter is ActivityValue.id in all of these cases.

Todo: