UNPKG

grafo-client

Version:

Grafo Client API Library

1 lines 853 B
const MappingStatusLevel=Object.freeze({SUCCESS:0,INFO:1,WARNING:2,ERROR:3,SEVERE:4}),MappingLevelDetail=Object.freeze({IRI_HAS_NO_MATCHING_GRAFO_ENTITY:{code:101,messageTemplate:"Iri {iri} does not have a matching entity in Grafo"},ATTRIBUTE_PARENT_ENTITY_NOT_FOUND:{code:201,messageTemplate:"Entity Iri {iri} mapped to attribute {id} does not have a parent entity"},INVALID_ENITITY_ID:{code:202,messageTemplate:"Entity with Iri {iri} does not have a recognisable entity in Grafo"},SOMETHING_WENT_WRONG:{code:301,messageTemplate:"Something went wrong!! There was an error while importing mapping for entity with iri {iri}"},DELETE_ERROR:{code:302,messageTemplate:"Something went wrong!! There was an error while deleting mapping for entity with iri {iri}"}});module.exports={MappingStatusLevel:MappingStatusLevel,MappingLevelDetail:MappingLevelDetail};