@hestia-earth/schema
Version:
Hestia Schema
45 lines (44 loc) • 1.83 kB
JavaScript
;
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.Transformation = exports.transformationTermTermType = void 0;
// auto-generated content
var types_1 = require("./types");
var Term_1 = require("./Term");
/**
* Contains all the TermTermType with override on the Transformation.
* Note: it does not contain the default TermTermType on related Blank Nodes.
*/
exports.transformationTermTermType = {
term: [
Term_1.TermTermType.excretaManagement,
Term_1.TermTermType.operation
],
all: [
Term_1.TermTermType.excretaManagement,
Term_1.TermTermType.operation
]
};
/**
* The Transformation of one [Product] to a new Product in the same [Cycle]. This is useful for representing processes such as excreta management, grain drying, or crop grading. Multiple Transformations can be chained together using the [previousTransformationTerm](#previousTransformationTerm) field.
*/
var Transformation = /** @class */ (function (_super) {
__extends(Transformation, _super);
function Transformation() {
return _super !== null && _super.apply(this, arguments) || this;
}
return Transformation;
}(types_1.JSON));
exports.Transformation = Transformation;