UNPKG

@hestia-earth/schema

Version:
62 lines (61 loc) 1.84 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 (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); 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.actorFields = exports.Actor = exports.actorTermTermType = void 0; // auto-generated content var types_1 = require("./types"); var Term_1 = require("./Term"); /** * Contains all the TermTermType with override on the Actor. * Note: it does not contain the default TermTermType on related Blank Nodes. */ exports.actorTermTermType = { country: [ Term_1.TermTermType.region ], all: [ Term_1.TermTermType.region ] }; /** * A person or institution. */ var Actor = /** @class */ (function (_super) { __extends(Actor, _super); function Actor() { return _super !== null && _super.apply(this, arguments) || this; } return Actor; }(types_1.JSON)); exports.Actor = Actor; exports.actorFields = [ 'name', 'firstName', 'lastName', 'orcid', 'scopusID', 'primaryInstitution', 'city', 'country', 'email', 'website', 'dataPrivate', 'originalId', 'schemaVersion', 'createdAt', 'updatedAt' ];