Skip to main content

Interface: AuthoredEntityContext

Graph authoring status for an entity.

Properties

PropertyTypeDescription

canDelete

undefined | boolean

Whether its allowed to delete the entity.

canEdit

undefined | boolean

Whether its allowed to change the entity data.

editedIri?

ElementIri

The new IRI if entity IRI has changed in the entity data, otherwise undefined.

onDelete

() => void

Handler to delete the entity.

onEdit

(target: Element) => void

Handler to begin editing the entity data from the UI.