UNPKG

@hestia-earth/schema

Version:
43 lines (42 loc) 2.23 kB
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); Object.defineProperty(exports, "__esModule", { value: true }); exports.Cycle = exports.CycleFunctionalUnit = exports.CycleStartDateDefinition = void 0; // auto-generated content var types_1 = require("./types"); var CycleStartDateDefinition; (function (CycleStartDateDefinition) { CycleStartDateDefinition["harvest of previous crop"] = "harvest of previous crop"; CycleStartDateDefinition["soil preparation date"] = "soil preparation date"; CycleStartDateDefinition["sowing date"] = "sowing date"; CycleStartDateDefinition["start of year"] = "start of year"; CycleStartDateDefinition["stocking date"] = "stocking date"; })(CycleStartDateDefinition = exports.CycleStartDateDefinition || (exports.CycleStartDateDefinition = {})); var CycleFunctionalUnit; (function (CycleFunctionalUnit) { CycleFunctionalUnit["1 ha"] = "1 ha"; CycleFunctionalUnit["relative"] = "relative"; })(CycleFunctionalUnit = exports.CycleFunctionalUnit || (exports.CycleFunctionalUnit = {})); /** * The [Inputs](./Input), [Emissions](./Emission), [Products](./Product), and [Practices](./Practice) created or used during a period. A Cycle also includes a [Completeness] assessment, describing how complete the Inputs and Products data are, and [Transformations](./Transformation), which allow Products to be transformed into new Products in the same Cycle. A Cycle occurs on a [Site]. */ var Cycle = /** @class */ (function (_super) { __extends(Cycle, _super); function Cycle() { return _super !== null && _super.apply(this, arguments) || this; } return Cycle; }(types_1.JSON)); exports.Cycle = Cycle;