@knora/api
Version:
JavaScript library that handles API requests to Knora
143 lines • 12.7 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var Constants = /** @class */ (function () {
function Constants() {
}
Constants.KnoraApi = "http://api.knora.org";
Constants.KnoraApiV2 = Constants.KnoraApi + "/ontology/knora-api/v2";
Constants.Delimiter = "#";
Constants.IsResourceClass = Constants.KnoraApiV2 + Constants.Delimiter + "isResourceClass";
Constants.IsStandoffClass = Constants.KnoraApiV2 + Constants.Delimiter + "isStandoffClass";
Constants.IsResourceProperty = Constants.KnoraApiV2 + Constants.Delimiter + "isResourceProperty";
Constants.ObjectType = Constants.KnoraApiV2 + Constants.Delimiter + "objectType";
Constants.SubjectType = Constants.KnoraApiV2 + Constants.Delimiter + "subjectType";
Constants.IsLinkProperty = Constants.KnoraApiV2 + Constants.Delimiter + "isLinkProperty";
Constants.IsLinkValueProperty = Constants.KnoraApiV2 + Constants.Delimiter + "isLinkValueProperty";
Constants.IsEditable = Constants.KnoraApiV2 + Constants.Delimiter + "isEditable";
Constants.IsInherited = Constants.KnoraApiV2 + Constants.Delimiter + "isInherited";
Constants.CanBeInstantiated = Constants.KnoraApiV2 + Constants.Delimiter + "canBeInstantiated";
Constants.StandoffOntology = Constants.KnoraApi + "/ontology/standoff/v2";
Constants.XMLToStandoffMapping = Constants.KnoraApiV2 + Constants.Delimiter + "XMLToStandoffMapping";
Constants.Resource = Constants.KnoraApiV2 + Constants.Delimiter + "Resource";
Constants.ResourceIcon = Constants.KnoraApiV2 + Constants.Delimiter + "ResourceIcon";
Constants.ForbiddenResource = Constants.KnoraApiV2 + Constants.Delimiter + "ForbiddenResource";
Constants.BooleanValue = Constants.KnoraApiV2 + Constants.Delimiter + "BooleanValue";
Constants.ColorValue = Constants.KnoraApiV2 + Constants.Delimiter + "ColorValue";
Constants.GeonameValue = Constants.KnoraApiV2 + Constants.Delimiter + "GeonameValue";
Constants.DateValue = Constants.KnoraApiV2 + Constants.Delimiter + "DateValue";
Constants.IntValue = Constants.KnoraApiV2 + Constants.Delimiter + "IntValue";
Constants.DecimalValue = Constants.KnoraApiV2 + Constants.Delimiter + "DecimalValue";
Constants.IntervalValue = Constants.KnoraApiV2 + Constants.Delimiter + "IntervalValue";
Constants.ListValue = Constants.KnoraApiV2 + Constants.Delimiter + "ListValue";
Constants.ListNode = Constants.KnoraApiV2 + Constants.Delimiter + "ListNode";
Constants.TextValue = Constants.KnoraApiV2 + Constants.Delimiter + "TextValue";
Constants.LinkValue = Constants.KnoraApiV2 + Constants.Delimiter + "LinkValue";
Constants.UriValue = Constants.KnoraApiV2 + Constants.Delimiter + "UriValue";
Constants.GeomValue = Constants.KnoraApiV2 + Constants.Delimiter + "GeomValue";
Constants.FileValue = Constants.KnoraApiV2 + Constants.Delimiter + "FileValue";
Constants.AudioFileValue = Constants.KnoraApiV2 + Constants.Delimiter + "AudioFileValue";
Constants.DDDFileValue = Constants.KnoraApiV2 + Constants.Delimiter + "DDDFileValue";
Constants.DocumentFileValue = Constants.KnoraApiV2 + Constants.Delimiter + "DocumentFileValue";
Constants.StillImageFileValue = Constants.KnoraApiV2 + Constants.Delimiter + "StillImageFileValue";
Constants.MovingImageFileValue = Constants.KnoraApiV2 + Constants.Delimiter + "MovingImageFileValue";
Constants.TextFileValue = Constants.KnoraApiV2 + Constants.Delimiter + "TextFileValue";
Constants.IsRootNode = Constants.KnoraApiV2 + Constants.Delimiter + "isRootNode";
Constants.HasRootNode = Constants.KnoraApiV2 + Constants.Delimiter + "hasRootNode";
Constants.HasSubListNode = Constants.KnoraApiV2 + Constants.Delimiter + "hasSubListNode";
Constants.HasStillImageFileValue = Constants.KnoraApiV2 + Constants.Delimiter + "hasStillImageFileValue";
Constants.HasTextFileValue = Constants.KnoraApiV2 + Constants.Delimiter + "hasTextFileValue";
Constants.HasMovingImageFileValue = Constants.KnoraApiV2 + Constants.Delimiter + "hasMovingImageFileValue";
Constants.HasDocumentFileValue = Constants.KnoraApiV2 + Constants.Delimiter + "hasDocumentFileValue";
Constants.HasDDDFileValue = Constants.KnoraApiV2 + Constants.Delimiter + "hasDDDFileValue";
Constants.HasAudioFileValue = Constants.KnoraApiV2 + Constants.Delimiter + "hasAudioFileValue";
Constants.HasGeometry = Constants.KnoraApiV2 + Constants.Delimiter + "hasGeometry";
Constants.AttachedToProject = Constants.KnoraApiV2 + Constants.Delimiter + "attachedToProject";
Constants.AttachedToUser = Constants.KnoraApiV2 + Constants.Delimiter + "attachedToUser";
Constants.ArkUrl = Constants.KnoraApiV2 + Constants.Delimiter + "arkUrl";
Constants.VersionArkUrl = Constants.KnoraApiV2 + Constants.Delimiter + "versionArkUrl";
Constants.CreationDate = Constants.KnoraApiV2 + Constants.Delimiter + "creationDate";
Constants.ValueCreationDate = Constants.KnoraApiV2 + Constants.Delimiter + "valueCreationDate";
Constants.ValueHasUUID = Constants.KnoraApiV2 + Constants.Delimiter + "valueHasUUID";
Constants.LastModificationDate = Constants.KnoraApiV2 + Constants.Delimiter + "lastModificationDate";
Constants.NewModificationDate = Constants.KnoraApiV2 + Constants.Delimiter + "newModificationDate";
Constants.HasPermissions = Constants.KnoraApiV2 + Constants.Delimiter + "hasPermissions";
Constants.UserHasPermission = Constants.KnoraApiV2 + Constants.Delimiter + "userHasPermission";
Constants.BooleanValueAsBoolean = Constants.KnoraApiV2 + Constants.Delimiter + "booleanValueAsBoolean";
Constants.ColorValueAsColor = Constants.KnoraApiV2 + Constants.Delimiter + "colorValueAsColor";
Constants.GeonameValueAsGeonameCode = Constants.KnoraApiV2 + Constants.Delimiter + "geonameValueAsGeonameCode";
Constants.DateValueHasCalendar = Constants.KnoraApiV2 + Constants.Delimiter + "dateValueHasCalendar";
Constants.DateValueHasEndDay = Constants.KnoraApiV2 + Constants.Delimiter + "dateValueHasEndDay";
Constants.DateValueHasEndEra = Constants.KnoraApiV2 + Constants.Delimiter + "dateValueHasEndEra";
Constants.DateValueHasEndMonth = Constants.KnoraApiV2 + Constants.Delimiter + "dateValueHasEndMonth";
Constants.DateValueHasEndYear = Constants.KnoraApiV2 + Constants.Delimiter + "dateValueHasEndYear";
Constants.DateValueHasStartDay = Constants.KnoraApiV2 + Constants.Delimiter + "dateValueHasStartDay";
Constants.DateValueHasStartEra = Constants.KnoraApiV2 + Constants.Delimiter + "dateValueHasStartEra";
Constants.DateValueHasStartMonth = Constants.KnoraApiV2 + Constants.Delimiter + "dateValueHasStartMonth";
Constants.DateValueHasStartYear = Constants.KnoraApiV2 + Constants.Delimiter + "dateValueHasStartYear";
Constants.IntValueAsInt = Constants.KnoraApiV2 + Constants.Delimiter + "intValueAsInt";
Constants.DecimalValueAsDecimal = Constants.KnoraApiV2 + Constants.Delimiter + "decimalValueAsDecimal";
Constants.IntervalValueHasStart = Constants.KnoraApiV2 + Constants.Delimiter + "intervalValueHasStart";
Constants.IntervalValueHasEnd = Constants.KnoraApiV2 + Constants.Delimiter + "intervalValueHasEnd";
Constants.ListValueAsListNode = Constants.KnoraApiV2 + Constants.Delimiter + "listValueAsListNode";
Constants.ValueAsString = Constants.KnoraApiV2 + Constants.Delimiter + "valueAsString";
Constants.TextValueAsXml = Constants.KnoraApiV2 + Constants.Delimiter + "textValueAsXml";
Constants.TextValueHasMapping = Constants.KnoraApiV2 + Constants.Delimiter + "textValueHasMapping";
Constants.TextValueAsHtml = Constants.KnoraApiV2 + Constants.Delimiter + "textValueAsHtml";
Constants.LinkValueHasTarget = Constants.KnoraApiV2 + Constants.Delimiter + "linkValueHasTarget";
Constants.LinkValueHasTargetIri = Constants.KnoraApiV2 + Constants.Delimiter + "linkValueHasTargetIri";
Constants.LinkValueHasSource = Constants.KnoraApiV2 + Constants.Delimiter + "linkValueHasSource";
Constants.LinkValueHasSourceIri = Constants.KnoraApiV2 + Constants.Delimiter + "linkValueHasSourceIri";
Constants.UriValueAsUri = Constants.KnoraApiV2 + Constants.Delimiter + "uriValueAsUri";
Constants.GeometryValueAsGeometry = Constants.KnoraApiV2 + Constants.Delimiter + "geometryValueAsGeometry";
Constants.StillImageFileValueHasDimX = Constants.KnoraApiV2 + Constants.Delimiter + "stillImageFileValueHasDimX";
Constants.StillImageFileValueHasDimY = Constants.KnoraApiV2 + Constants.Delimiter + "stillImageFileValueHasDimY";
Constants.StillImageFileValueHasIIIFBaseUrl = Constants.KnoraApiV2 + Constants.Delimiter + "stillImageFileValueHasIIIFBaseUrl";
Constants.AudioFileValueHasDuration = Constants.KnoraApiV2 + Constants.Delimiter + "audioFileValueHasDuration";
Constants.MovingImageFileValueHasDimX = Constants.KnoraApiV2 + Constants.Delimiter + "movingImageFileValueHasDimX";
Constants.MovingImageFileValueHasDimY = Constants.KnoraApiV2 + Constants.Delimiter + "movingImageFileValueHasDimY";
Constants.MovingImageFileValueHasDuration = Constants.KnoraApiV2 + Constants.Delimiter + "movingImageFileValueHasDuration";
Constants.MovingImageFileValueHasFps = Constants.KnoraApiV2 + Constants.Delimiter + "movingImageFileValueHasFps";
Constants.FileValueHasFilename = Constants.KnoraApiV2 + Constants.Delimiter + "fileValueHasFilename";
Constants.FileValueAsUrl = Constants.KnoraApiV2 + Constants.Delimiter + "fileValueAsUrl";
Constants.ValueHasComment = Constants.KnoraApiV2 + Constants.Delimiter + "valueHasComment";
Constants.DeleteComment = Constants.KnoraApiV2 + Constants.Delimiter + "deleteComment";
Constants.Result = Constants.KnoraApiV2 + Constants.Delimiter + "result";
Constants.KnoraAdmin = "http://www.knora.org/ontology/knora-admin";
Constants.DefaultSharedOntologyIRI = Constants.KnoraAdmin + Constants.Delimiter + "DefaultSharedOntologiesProject";
Constants.SystemProjectIRI = Constants.KnoraAdmin + Constants.Delimiter + "SystemProject";
Constants.SystemAdminGroupIRI = Constants.KnoraAdmin + Constants.Delimiter + "SystemAdmin";
Constants.ProjectAdminGroupIRI = Constants.KnoraAdmin + Constants.Delimiter + "ProjectAdmin";
Constants.ProjectMemberGroupIRI = Constants.KnoraAdmin + Constants.Delimiter + "ProjectMember";
Constants.SalsahGui = "http://api.knora.org/ontology/salsah-gui/v2";
Constants.GuiAttribute = Constants.SalsahGui + Constants.Delimiter + "guiAttribute";
Constants.GuiOrder = Constants.SalsahGui + Constants.Delimiter + "guiOrder";
Constants.GuiElement = Constants.SalsahGui + Constants.Delimiter + "guiElement";
Constants.Owl = "http://www.w3.org/2002/07/owl";
Constants.Class = Constants.Owl + Constants.Delimiter + "Class";
Constants.Restriction = Constants.Owl + Constants.Delimiter + "Restriction";
Constants.MaxCardinality = Constants.Owl + Constants.Delimiter + "maxCardinality";
Constants.MinCardinality = Constants.Owl + Constants.Delimiter + "minCardinality";
Constants.Cardinality = Constants.Owl + Constants.Delimiter + "cardinality";
Constants.OnProperty = Constants.Owl + Constants.Delimiter + "onProperty";
Constants.DataTypeProperty = Constants.Owl + Constants.Delimiter + "DatatypeProperty";
Constants.ObjectProperty = Constants.Owl + Constants.Delimiter + "ObjectProperty";
Constants.AnnotationProperty = Constants.Owl + Constants.Delimiter + "AnnotationProperty";
Constants.Rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns";
Constants.RdfProperty = Constants.Rdf + Constants.Delimiter + "Property";
Constants.Rdfs = "http://www.w3.org/2000/01/rdf-schema";
Constants.SubClassOf = Constants.Rdfs + Constants.Delimiter + "subClassOf";
Constants.Comment = Constants.Rdfs + Constants.Delimiter + "comment";
Constants.Label = Constants.Rdfs + Constants.Delimiter + "label";
Constants.SubPropertyOf = Constants.Rdfs + Constants.Delimiter + "subPropertyOf";
Constants.Xsd = "http://www.w3.org/2001/XMLSchema";
Constants.XsdAnyUri = Constants.Xsd + Constants.Delimiter + "anyURI";
Constants.XsdString = Constants.Xsd + Constants.Delimiter + "string";
Constants.XsdBoolean = Constants.Xsd + Constants.Delimiter + "boolean";
Constants.XsdDecimal = Constants.Xsd + Constants.Delimiter + "decimal";
Constants.XsdInteger = Constants.Xsd + Constants.Delimiter + "integer";
Constants.dateTimeStamp = Constants.Xsd + Constants.Delimiter + "dateTimeStamp";
Constants.SchemaNumberOfItems = "http://schema.org/numberOfItems";
return Constants;
}());
exports.Constants = Constants;
//# sourceMappingURL=Constants.js.map