UNPKG

@hestia-earth/schema

Version:
71 lines (70 loc) 3.04 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.Infrastructure = exports.infrastructureTermTermType = exports.InfrastructureOwnershipStatus = void 0; // auto-generated content var types_1 = require("./types"); var Term_1 = require("./Term"); var InfrastructureOwnershipStatus; (function (InfrastructureOwnershipStatus) { InfrastructureOwnershipStatus["borrowed"] = "borrowed"; InfrastructureOwnershipStatus["owned"] = "owned"; InfrastructureOwnershipStatus["rented"] = "rented"; })(InfrastructureOwnershipStatus = exports.InfrastructureOwnershipStatus || (exports.InfrastructureOwnershipStatus = {})); /** * Contains all the TermTermType with override on the Infrastructure. * Note: it does not contain the default TermTermType on related Blank Nodes. */ exports.infrastructureTermTermType = { term: [ Term_1.TermTermType.building, Term_1.TermTermType.cropProtection, Term_1.TermTermType.cropSupport, Term_1.TermTermType.irrigation, Term_1.TermTermType.machinery ], inputs: { term: [ Term_1.TermTermType.electricity, Term_1.TermTermType.fuel, Term_1.TermTermType.material, Term_1.TermTermType.other, Term_1.TermTermType.transport, Term_1.TermTermType.water ] }, all: [ Term_1.TermTermType.building, Term_1.TermTermType.cropProtection, Term_1.TermTermType.cropSupport, Term_1.TermTermType.irrigation, Term_1.TermTermType.machinery, Term_1.TermTermType.electricity, Term_1.TermTermType.fuel, Term_1.TermTermType.material, Term_1.TermTermType.other, Term_1.TermTermType.transport, Term_1.TermTermType.water ] }; /** * A physical item on a [Site]. Default data for the [Inputs](./Input) required to create the Infrastructure are available by selecting a type of Infrastructure from the [Glossary of Terms](/glossary). Infrastructure is amortized over [Cycles](./Cycle) and the becomes an [Input] and terms for this are available in the [Glossary](/glossary?termType=material). */ var Infrastructure = /** @class */ (function (_super) { __extends(Infrastructure, _super); function Infrastructure() { return _super !== null && _super.apply(this, arguments) || this; } return Infrastructure; }(types_1.JSON)); exports.Infrastructure = Infrastructure;