Skip to main content

AuditedNode

Node which provides auditing information, which can e.g. be used for the sync. When it was created and last modified, if the it is already deleted, and by who it was created and last modified. A modification is any change of a field on the node itself and a change of a relation (add or removed). A change on a related related node is not a modification.

interface AuditedNode implements BaseNode, Node {
createdAt: DateTime!
createdBy: User!
hasPermission(
permission: AllPermissionEntry
): Boolean!
id: ID!
lastModifiedAt: DateTime!
lastModifiedBy: User!
}

Fields

AuditedNode.createdAt ● DateTime! non-null scalar

The DateTime this entity was created at.

AuditedNode.createdBy ● User! non-null interface

The User who created this entity.

AuditedNode.hasPermission ● Boolean! non-null scalar

Checks if the current user has a specific permission on this Node

AuditedNode.hasPermission.permission ● AllPermissionEntry enum

The permission to check for

AuditedNode.id ● ID! non-null scalar

The unique id of this node

AuditedNode.lastModifiedAt ● DateTime! non-null scalar

The DateTime this entity was last modified at.

AuditedNode.lastModifiedBy ● User! non-null interface

The User who last modified this entity.

Interfaces

BaseNode interface

Shared extensions to the node type.

Node interface

Base class of all nodes

Member of

AuditedNodeConnection object ● AuditedNodeEdge object

Implemented by

AbstractTypeChangedEvent interface ● AddedAffectedEntityEvent object ● AddedArtefactEvent object ● AddedLabelEvent object ● AddedToPinnedIssuesEvent object ● AddedToTrackableEvent object ● Artefact object ● Assignment object ● AssignmentTypeChangedEvent object ● Body object ● Comment interface ● IncomingRelationTypeChangedEvent object ● Issue object ● IssueComment object ● IssueRelation object ● Label object ● NamedAuditedNode interface ● OutgoingRelationTypeChangedEvent object ● ParentTimelineItem interface ● PriorityChangedEvent object ● RelatedByIssueEvent object ● RelationTypeChangedEvent interface ● RemovedAffectedEntityEvent object ● RemovedArtefactEvent object ● RemovedAssignmentEvent object ● RemovedFromPinnedIssuesEvent object ● RemovedFromTrackableEvent object ● RemovedIncomingRelationEvent object ● RemovedLabelEvent object ● RemovedOutgoingRelationEvent object ● RemovedRelationEvent interface ● RemovedTemplatedFieldEvent object ● StateChangedEvent object ● TemplateChangedEvent object ● TemplatedFieldChangedEvent object ● TimelineItem interface ● TitleChangedEvent object ● TypeChangedEvent object